issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.209, Python 3.8.17
https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5725807
Hi, we are deploying an app in our environment to production with langchain as one of the packages.
Today, on Snyk this critical vulnerability showed up, and as a result we're blocked from deploying as ... | Critical Vulnerability Blocking Deployment | https://api.github.com/repos/langchain-ai/langchain/issues/6627/comments | 10 | 2023-06-23T03:47:23Z | 2023-08-28T21:35:45Z | https://github.com/langchain-ai/langchain/issues/6627 | 1,770,729,226 | 6,627 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.209
The recent commit #6518 provided an OpenAIMultiFunctionsAgent class.
This MultiFunctions agent fails often when using Custom Tools that worked fine with the OpenAIFunctionsAgent.
```
File "/home/gene/endpoints/app/routers/query.py", line 44, in query3
result = a... | OpenAIMultiFunctionsAgent KeyError: 'actions' on custom tools | https://api.github.com/repos/langchain-ai/langchain/issues/6624/comments | 11 | 2023-06-23T02:49:01Z | 2024-02-19T16:09:16Z | https://github.com/langchain-ai/langchain/issues/6624 | 1,770,691,161 | 6,624 |
[
"hwchase17",
"langchain"
] | ### Feature request
How can I make a toolset be dependent on some situation?
In the examples I have seen so far and from what I have been able to piece together from reading code, awhile ago (you guys work fast)... is there a way to make it so that I can only make certain tools available to an Agent at certain times ... | Variable or Conditional Toolbox | https://api.github.com/repos/langchain-ai/langchain/issues/6621/comments | 1 | 2023-06-23T01:26:22Z | 2023-09-29T16:06:14Z | https://github.com/langchain-ai/langchain/issues/6621 | 1,770,602,411 | 6,621 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Is it possible to integrate [replit-code-v1-3b](https://replicate.com/replit/replit-code-v1-3b) as an [LLM Model](https://python.langchain.com/en/latest/modules/models.html) or an [Agent](https://python.langchain.com/en/latest/modules/agents.html) with [LangChain](https://github.com/hw... | How can I implement a custom LangChain class wrapper (LLM model/Agent) for replit-code-v1-3b model? | https://api.github.com/repos/langchain-ai/langchain/issues/6620/comments | 1 | 2023-06-23T00:59:38Z | 2023-09-29T16:06:18Z | https://github.com/langchain-ai/langchain/issues/6620 | 1,770,580,833 | 6,620 |
[
"hwchase17",
"langchain"
] | For models like -> "h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v2" the generated output doesn't contain the prompt. So it is wrong to filter the first characters of the response.
https://github.com/hwchase17/langchain/blob/9d42621fa4385e519f702b7005d475781033188c/langchain/llms/huggingface_pipeline.py#L172C13-L172C64
... | Truncate HF pipeline response | https://api.github.com/repos/langchain-ai/langchain/issues/6619/comments | 1 | 2023-06-23T00:30:59Z | 2023-09-29T16:06:24Z | https://github.com/langchain-ai/langchain/issues/6619 | 1,770,563,613 | 6,619 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, Team
How can I integrate SerpAPI with custom ChatGLM model. It looks like my code is not correct and I can't find useful information from internet. Hope post here can help me to resolve this issue. Thanks in advcance.
```
import time
import logging
import requests
from t... | How can I integrate SerpAPI with custom ChatGLM model | https://api.github.com/repos/langchain-ai/langchain/issues/6618/comments | 2 | 2023-06-23T00:05:19Z | 2023-10-01T16:05:53Z | https://github.com/langchain-ai/langchain/issues/6618 | 1,770,546,185 | 6,618 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have the following BaseModel:
```python
class MainMagnetClass(BaseModel):
main_materials: List[str] = Field(description="main material")
additional_doping_elements: List[str] = Field(description="doping")
```
which can be instantiated as:
```python
instance = Py... | Dynamic fields for BaseModels in PydanticOutputParser? | https://api.github.com/repos/langchain-ai/langchain/issues/6617/comments | 5 | 2023-06-22T23:40:52Z | 2024-03-28T16:05:53Z | https://github.com/langchain-ai/langchain/issues/6617 | 1,770,528,462 | 6,617 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.209
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | ChatVertexAI Error: _ChatSessionBase.send_message() got an unexpected keyword argument 'context' | https://api.github.com/repos/langchain-ai/langchain/issues/6610/comments | 0 | 2023-06-22T20:56:38Z | 2023-06-26T17:21:02Z | https://github.com/langchain-ai/langchain/issues/6610 | 1,770,383,094 | 6,610 |
[
"hwchase17",
"langchain"
] | ### System Info
When querying with no context (emptyStore below) GPU memory goes up to 8GB and after the chain completes, GPU memory goes back down to 630MB.
When using a ChromaDB to provide vector context, GPU memory is never released. Memory usage goes up to 8GB and stays there. Once enough calls have been made, ... | RetrievalQA.from_chain_type does not release GPU memory when given ChromaDB context | https://api.github.com/repos/langchain-ai/langchain/issues/6608/comments | 9 | 2023-06-22T20:31:11Z | 2024-06-20T16:08:56Z | https://github.com/langchain-ai/langchain/issues/6608 | 1,770,352,279 | 6,608 |
[
"hwchase17",
"langchain"
] | ### System Info
Tried on Colab.
Version: [v0.0.209](https://github.com/hwchase17/langchain/releases/tag/v0.0.209)
Platform: Google Colab
Python: 3.10
### Who can help?
@hwchase17
### Information
- [x] The official example notebooks/scripts
- [x] My own modified scripts
### Related Component... | For JSON loaders - like a Figma Design - similarity does not work, and ends up with the wrong output. | https://api.github.com/repos/langchain-ai/langchain/issues/6606/comments | 1 | 2023-06-22T20:09:41Z | 2023-09-30T16:05:58Z | https://github.com/langchain-ai/langchain/issues/6606 | 1,770,326,709 | 6,606 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello,
When using AIPluginTool with ChatOpenAI
sometimes the chain call the plugin and sometimes the response is like "the user can call the url ... to get the response" . Why is it?
My code:
import os
import openai
from dotenv import load_dotenv, find_dotenv
from langchain.ch... | response does not call the plugin | https://api.github.com/repos/langchain-ai/langchain/issues/6599/comments | 2 | 2023-06-22T16:03:31Z | 2023-10-23T16:07:42Z | https://github.com/langchain-ai/langchain/issues/6599 | 1,769,997,382 | 6,599 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I need to upgrade our Langchain version due to a security issue flagged in version 0.0.27 (see https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5411357).
However, I can't do this because Langchain depends on SQLAlchemy 2.0, while we use 1.4.
1. Why is SQLALchemy 2.0 needed? It... | Issue: why SQLAlchemy 2.0 is forced? | https://api.github.com/repos/langchain-ai/langchain/issues/6597/comments | 1 | 2023-06-22T15:48:15Z | 2023-09-28T16:05:39Z | https://github.com/langchain-ai/langchain/issues/6597 | 1,769,970,133 | 6,597 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.27
Python 3.7
Amazon Linux
### Who can help?
@ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | ImportError: cannot import name 'RetrievalQAWithSourcesChain' from 'langchain.chains' | https://api.github.com/repos/langchain-ai/langchain/issues/6596/comments | 1 | 2023-06-22T15:47:32Z | 2023-06-28T16:18:28Z | https://github.com/langchain-ai/langchain/issues/6596 | 1,769,968,762 | 6,596 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
We are trying to summarize contents of some URLs using Vertex AI. Below is the code snippet
```
from langchain.llms import VertexAI
from langchain.chains.summarize import load_summarize_chain
llm = VertexAI(temperature=0.5, max_output_tokens=1024)
chain = load_summarize_chain(llm,... | Issue: Summarization using Vertex AI - returns 400 Error on certain cases | https://api.github.com/repos/langchain-ai/langchain/issues/6592/comments | 1 | 2023-06-22T14:44:12Z | 2023-06-29T12:59:38Z | https://github.com/langchain-ai/langchain/issues/6592 | 1,769,837,088 | 6,592 |
[
"hwchase17",
"langchain"
] | ### Feature request
Consider the following example:
```python
# All the dependencies being used
import openai
import os
from dotenv import load_dotenv
from langchain.chains import RetrievalQA
from langchain.document_loaders import TextLoader
from langchain.embeddings.openai import OpenAIEmbeddings
from lang... | Custom prompts for chain types that aren't "stuff" in RetrievalQA | https://api.github.com/repos/langchain-ai/langchain/issues/6590/comments | 6 | 2023-06-22T12:48:37Z | 2023-11-25T16:08:59Z | https://github.com/langchain-ai/langchain/issues/6590 | 1,769,608,656 | 6,590 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter
this function isn't to be found in the text_splitter.py file :
from langchain.text_splitter import RecursiveCharacterTextSplitter
this returns an error... | DOC: RecursiveTextSplitter function doesn't exist | https://api.github.com/repos/langchain-ai/langchain/issues/6589/comments | 3 | 2023-06-22T12:48:29Z | 2023-11-26T16:08:54Z | https://github.com/langchain-ai/langchain/issues/6589 | 1,769,608,451 | 6,589 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I haven't been able to find any documentation on a comprehensive list of pre-built tools available on Langchain, for example, there is nothing in the documentation that suggests we're able to load the "llm-math" tool?
### Idea or request for content:
It would be good to have a l... | Pre-built tool list | https://api.github.com/repos/langchain-ai/langchain/issues/6586/comments | 2 | 2023-06-22T11:29:09Z | 2023-09-28T16:05:43Z | https://github.com/langchain-ai/langchain/issues/6586 | 1,769,487,548 | 6,586 |
[
"hwchase17",
"langchain"
] | ### Feature request
The current implementation of ConversationBufferMemory lacks the capability to clear the memory history. When using the load_qa_chain function with ConversationBufferMemory and uploading the abc.pdf file for the first time, subsequent questions based on that document yield expected answers. However... | Not able to clear Conversationbuffermemory. | https://api.github.com/repos/langchain-ai/langchain/issues/6585/comments | 4 | 2023-06-22T11:23:00Z | 2023-07-17T14:42:27Z | https://github.com/langchain-ai/langchain/issues/6585 | 1,769,478,728 | 6,585 |
[
"hwchase17",
"langchain"
] | ### Feature request
Can we have create_document function for MarkdownHeaderTextSplitter to create documents based on the splits?
### Motivation
MarkdownHeaderTextSplitter only has split_text. Not sure how to get documents from the list of dict.
### Your contribution
... | Create_documents for MarkdownHeaderTextSplitter? | https://api.github.com/repos/langchain-ai/langchain/issues/6583/comments | 1 | 2023-06-22T10:26:00Z | 2023-09-02T03:34:02Z | https://github.com/langchain-ai/langchain/issues/6583 | 1,769,393,945 | 6,583 |
[
"hwchase17",
"langchain"
] | ### System Info
latest version
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Lo... | Typo | https://api.github.com/repos/langchain-ai/langchain/issues/6582/comments | 0 | 2023-06-22T09:34:08Z | 2023-06-23T21:56:55Z | https://github.com/langchain-ai/langchain/issues/6582 | 1,769,304,923 | 6,582 |
[
"hwchase17",
"langchain"
] | ### Feature request
Improve PubMedAPIWrapper to get the PubMed ID and/or DOI and/or journal information returned.
Please rename
langchain/utilities/pu**p**med.py
to
langchain/utilities/pu**b**med.py
### Motivation
A user of a chat model can ask the model to provide a link to the original literature to verify i... | Improve PubMedAPIWrapper to get the PubMed ID and/or DOI and/or journal information returned. | https://api.github.com/repos/langchain-ai/langchain/issues/6581/comments | 1 | 2023-06-22T09:30:14Z | 2023-09-28T16:05:48Z | https://github.com/langchain-ai/langchain/issues/6581 | 1,769,299,151 | 6,581 |
[
"hwchase17",
"langchain"
] | ### Feature request
You now support Hugging Face Inference endpoints, could you support also HF Models deployed in Azure ML as Managed endpoints?
It should be a similar implementation, its a REST API
### Motivation
My company would like to use Azure services only :) and many companies are like this
### Your cont... | HuggingFace Models as Azure ML Managed endpoints | https://api.github.com/repos/langchain-ai/langchain/issues/6579/comments | 2 | 2023-06-22T08:33:39Z | 2023-08-14T17:42:55Z | https://github.com/langchain-ai/langchain/issues/6579 | 1,769,210,319 | 6,579 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.207
platform ubuntu
python 3.9
### Who can help?
@hwaking @eyurtsev @tomaspiaggio
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / P... | unable to use matching engine | https://api.github.com/repos/langchain-ai/langchain/issues/6577/comments | 2 | 2023-06-22T07:26:32Z | 2023-12-06T08:17:35Z | https://github.com/langchain-ai/langchain/issues/6577 | 1,769,104,042 | 6,577 |
[
"hwchase17",
"langchain"
] | ### System Info
Version:
PyAthena[SQLAlchemy]==2.25.2
langchain==0.0.166
sqlalchemy==1.4.47
Python==3.10.10
### Who can help?
@hwchase17 @agola11 @ey
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mode... | error when creating SQLDatabase agent with Amazon Athena | https://api.github.com/repos/langchain-ai/langchain/issues/6574/comments | 1 | 2023-06-22T04:08:00Z | 2023-09-28T16:05:59Z | https://github.com/langchain-ai/langchain/issues/6574 | 1,768,892,323 | 6,574 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3
Langchain: 0.0.199
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selector... | Unable to utilize AzureCognitiveSearch retriever without error. | https://api.github.com/repos/langchain-ai/langchain/issues/6551/comments | 0 | 2023-06-21T16:43:04Z | 2023-06-27T17:14:06Z | https://github.com/langchain-ai/langchain/issues/6551 | 1,768,000,281 | 6,551 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi guys, I'm wanting to use the
llm = GPT4All(model=local_path, callbacks=callbacks, verbose=True)
and know if I can make it use the GPU instead of the CPU.
Specifically the GPT4All integration, I saw that it does not have any parameters that indicate the use of GPUs so I wanted to kn... | GPU Usage with GPT4All Integration | https://api.github.com/repos/langchain-ai/langchain/issues/6549/comments | 5 | 2023-06-21T16:04:07Z | 2024-06-08T16:07:10Z | https://github.com/langchain-ai/langchain/issues/6549 | 1,767,937,057 | 6,549 |
[
"hwchase17",
"langchain"
] | ### Feature request
Thanks so much for merging the PR to update the dev container in this repo https://github.com/hwchase17/langchain/pull/6189!
While the dev container now builds and runs successfully, it can take some time to build. One recommendation is for the LangChain team to pre-build an image.
### Moti... | Prebuild a dev container image to improve build time | https://api.github.com/repos/langchain-ai/langchain/issues/6547/comments | 3 | 2023-06-21T15:40:23Z | 2023-11-18T16:06:32Z | https://github.com/langchain-ai/langchain/issues/6547 | 1,767,891,979 | 6,547 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
In order to read all the text of an arxiv article, we want to specify the number of characters that can be read by the ArxivLoader.
Is there a way to achieve this in the current code?
### Suggestion:
If not, we will create a PR that exposes doc_content_chars_max so that it can be spec... | Set doc_content_chars_max with ArxivLoader | https://api.github.com/repos/langchain-ai/langchain/issues/6546/comments | 1 | 2023-06-21T15:07:33Z | 2023-09-27T16:05:34Z | https://github.com/langchain-ai/langchain/issues/6546 | 1,767,824,734 | 6,546 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I try to use this code:
`from langchain.agents import create_csv_agent
from langchain.llms import AzureOpenAI
agent = create_csv_agent(AzureOpenAI(temperature=0, deployment_name="text-davinci-003"), 'data.csv', sep='|', on_bad_lines='skip', verbose=True)
print(agent.run("how... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/6543/comments | 2 | 2023-06-21T14:38:16Z | 2023-10-06T16:07:09Z | https://github.com/langchain-ai/langchain/issues/6543 | 1,767,763,752 | 6,543 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I try to use the create_csv_agent from langchain.agents but I receive the ImportError that it can't be imported.
Do you have a solution for this problem?
I have installed langchain with pip
### Suggestion:
_No response_ | Issue: ImportError: cannot import name 'create_csv_agent' from 'langchain.agents' | https://api.github.com/repos/langchain-ai/langchain/issues/6539/comments | 2 | 2023-06-21T14:17:45Z | 2023-06-21T14:43:58Z | https://github.com/langchain-ai/langchain/issues/6539 | 1,767,713,412 | 6,539 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.190
boto3: 1.26.156
python: 3.11.4
Linux OS
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | S3 Directory Loader reads prefix directory as file_path | https://api.github.com/repos/langchain-ai/langchain/issues/6535/comments | 5 | 2023-06-21T14:04:53Z | 2024-01-06T10:33:02Z | https://github.com/langchain-ai/langchain/issues/6535 | 1,767,682,298 | 6,535 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`realistic_vision_tool = Tool(
name="realistic_vision_V1.4 image generating",
func=realistic_vision_v1_4, #would like to pass some params here
description="""Use when you want to generate an image of something with realistic_vision model. Input like "a dog standing on a ro... | Issue: in "Tool()" seperate the chat models input to "func" | https://api.github.com/repos/langchain-ai/langchain/issues/6534/comments | 4 | 2023-06-21T13:28:23Z | 2023-09-22T17:22:16Z | https://github.com/langchain-ai/langchain/issues/6534 | 1,767,607,552 | 6,534 |
[
"hwchase17",
"langchain"
] | ### System Info
AutoGPT on LangChain implementation has shown bugs in internal steps and file output processing phase. In particular, I noticed occasional inconsistencies within the internal processes of the AutoGPT implementation. These slight hitches, though infrequent, interrupt the seamless flow of operations. Als... | Keep retrying and writing output to local file in an unstructured way in AutoGPT implemented in LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/6533/comments | 1 | 2023-06-21T13:11:42Z | 2023-09-27T16:05:39Z | https://github.com/langchain-ai/langchain/issues/6533 | 1,767,575,817 | 6,533 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello!
First, thanks a lot for this awesome framework!
My question is: As I was trying out ConversationalRetrievalChain, I see that it has the prompt saying:
"System: Use the following pieces of context to answer the users question.
If you don't know the answer, just say that yo... | Issue: Changing Prompt (from Default) when Using ConversationalRetrievalChain? | https://api.github.com/repos/langchain-ai/langchain/issues/6530/comments | 15 | 2023-06-21T11:51:07Z | 2024-07-09T19:30:52Z | https://github.com/langchain-ai/langchain/issues/6530 | 1,767,424,154 | 6,530 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version:0.0.207
python version: 3.9.7
When I use the AzureOpenai llms of Langchain. It doesn't generate the right result according to my prompt.
But when i use the AzureOpenai of openai. It can generate the right result.
langchain's AzureOpenai:
 got an unexpected keyword argument 'verify'
... | sitemap loader : got an unexpected keyword argument 'verify' | https://api.github.com/repos/langchain-ai/langchain/issues/6521/comments | 9 | 2023-06-21T07:28:23Z | 2023-10-05T16:09:00Z | https://github.com/langchain-ai/langchain/issues/6521 | 1,766,937,478 | 6,521 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/0fce8ef178eed2a5f898f65c17179c0a01275745/langchain/output_parsers/format_instructions.py#L13
There are too many closing curly braces here: `"required": ["foo"]}}}}`.
It should only be the following: `"required": ["foo"]}}`
Happy to open a PR if agreed to fix. | Wrong number of closing curly brackets in Pydantic Format Instructions | https://api.github.com/repos/langchain-ai/langchain/issues/6517/comments | 3 | 2023-06-21T06:27:21Z | 2023-09-20T17:03:25Z | https://github.com/langchain-ai/langchain/issues/6517 | 1,766,844,221 | 6,517 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add:
Daily plan in Generative Agent.
Plan details in Generative Agent.
Update plan when interaction with others.
### Motivation
The planing is a very important part in Generative Agent.
Without plan the agent is not normal 'human'.
### Your contribution
I'm still read the code.
Maybe I'l... | Why there is no daily plan in Generative Agent? This is an important part in the party. | https://api.github.com/repos/langchain-ai/langchain/issues/6514/comments | 1 | 2023-06-21T03:03:18Z | 2023-09-27T16:05:44Z | https://github.com/langchain-ai/langchain/issues/6514 | 1,766,588,792 | 6,514 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Agent final output is not streaming output when AgentType.OPENAI_FUNCTION is specified
I am interested in AI and started programming for the first time.
I have been studying Python for 3 months now.
I am enjoying using LangChain OSS. Thank you very much!
This is my first time p... | Issue: <Agent final output is not streaming output when AgentType.OPENAI_FUNCTION is specified> | https://api.github.com/repos/langchain-ai/langchain/issues/6513/comments | 4 | 2023-06-21T02:54:11Z | 2024-03-28T16:05:48Z | https://github.com/langchain-ai/langchain/issues/6513 | 1,766,581,381 | 6,513 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
So, I've tried to create a custom callback and try to return a stream but got no luck:
```python
class MyCallbackHandler(BaseCallbackHandler):
def on_llm_new_token(self, token, **kwargs) -> None:
# print every token on a new line
yield token
llm = ChatOp... | Issue: How to return a stream in api | https://api.github.com/repos/langchain-ai/langchain/issues/6512/comments | 8 | 2023-06-21T02:18:00Z | 2024-02-22T16:08:53Z | https://github.com/langchain-ai/langchain/issues/6512 | 1,766,553,482 | 6,512 |
[
"hwchase17",
"langchain"
] | ### System Info
agent_new("What is the average age of male members?")
{'input': 'What is the average age of male members?',
'output': 'Agent stopped due to iteration limit or time limit.',
'intermediate_steps': [(AgentAction(tool='I will use the `mean()` function from pandas to calculate the average age.', to... | create_csv_agent with custom prefix prompt is not calling PythonREPL tool, reaching max iterations with no answer | https://api.github.com/repos/langchain-ai/langchain/issues/6505/comments | 3 | 2023-06-20T22:59:04Z | 2023-10-05T16:08:50Z | https://github.com/langchain-ai/langchain/issues/6505 | 1,766,316,392 | 6,505 |
[
"hwchase17",
"langchain"
] | ### Feature request
The Open AI Functions feature is uesful not only in an Agent.
I wonder if LangChain can provide a simpler wrapper for Functions feature, for example, in the ChatOpenAI Class.
### Motivation
Creating and defining an Agent is redundant if I only want to use Open AI Functions for a single call, or... | A simpler wrapper of Open AI Functions else than in an Agent | https://api.github.com/repos/langchain-ai/langchain/issues/6504/comments | 2 | 2023-06-20T22:14:03Z | 2023-09-26T16:05:03Z | https://github.com/langchain-ai/langchain/issues/6504 | 1,766,276,515 | 6,504 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
_No response_
### Idea or request for content:
_No response_ | DOC: there are no examples in the documentation on how to work with access tokens | https://api.github.com/repos/langchain-ai/langchain/issues/6502/comments | 2 | 2023-06-20T21:44:25Z | 2023-09-28T16:06:09Z | https://github.com/langchain-ai/langchain/issues/6502 | 1,766,234,152 | 6,502 |
[
"hwchase17",
"langchain"
] | I implemented langchain as a Python API, created via FASTAPI and uvicorn.
The Python API is composed of one main service and various microservices the main service call when required. These microservices are tools. I use 3 tools: web search, image generation, image description. All are long running tasks.
The m... | Issue: langchain implementation where asynchronous tools don't break the chain | https://api.github.com/repos/langchain-ai/langchain/issues/6500/comments | 2 | 2023-06-20T21:01:48Z | 2023-10-21T16:08:05Z | https://github.com/langchain-ai/langchain/issues/6500 | 1,766,146,160 | 6,500 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hello there,
**Youtube Tutorial** link given [here](https://python.langchain.com/docs/get_started/introduction#additional-resources) is not working as per expectation.
[look here](https://python.langchain.com/docs/ecosystem/youtube.html)
### Idea or request for content:... | DOC: Youtube tutorial link is not working at introduction section in documentation | https://api.github.com/repos/langchain-ai/langchain/issues/6491/comments | 0 | 2023-06-20T17:40:44Z | 2023-06-24T19:59:37Z | https://github.com/langchain-ai/langchain/issues/6491 | 1,765,860,457 | 6,491 |
[
"hwchase17",
"langchain"
] | ### System Info
I am running this code on my Mac and on a linux server
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | Pinecone add_texts function does not populate vector store as expected, repeats first text in iterable | https://api.github.com/repos/langchain-ai/langchain/issues/6485/comments | 3 | 2023-06-20T16:12:04Z | 2023-09-27T16:05:55Z | https://github.com/langchain-ai/langchain/issues/6485 | 1,765,725,729 | 6,485 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://t.co/QcsorxSzSG
https://twitter.com/LangChainAI/status/1666093323780767746
The sections in docs where the ClickHouse integration is covered (as a vector db) no longer load properly. The links (above) are broken, and you can no longer navigate to the ClickHouse sectio... | DOC: Documentation links for the ClickHouse integration is broken | https://api.github.com/repos/langchain-ai/langchain/issues/6484/comments | 4 | 2023-06-20T16:10:53Z | 2023-10-21T16:08:10Z | https://github.com/langchain-ai/langchain/issues/6484 | 1,765,724,063 | 6,484 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.205
Platform: Ubuntu 20.04 LTS
Python version: 3.10.4
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ]... | `get_relevant_documents` of Chroma retriever uses cosine distance instead of cosine similarity as similarity score | https://api.github.com/repos/langchain-ai/langchain/issues/6481/comments | 7 | 2023-06-20T15:07:26Z | 2023-11-10T16:08:42Z | https://github.com/langchain-ai/langchain/issues/6481 | 1,765,612,990 | 6,481 |
[
"hwchase17",
"langchain"
] | JSONLaoder takes a callable `metadata_func` that should supposedly allow the user to enrich the document metadata. The output of the callable however is unused and the and docs are created with the bare source/seq_num pairs.
https://github.com/hwchase17/langchain/blob/7414e9d19603c962063dd337cdcf3c3168d4b8be/langcha... | JSONLoader ignores metadata processed with `metadata_func` | https://api.github.com/repos/langchain-ai/langchain/issues/6478/comments | 7 | 2023-06-20T14:03:20Z | 2024-02-28T16:10:20Z | https://github.com/langchain-ai/langchain/issues/6478 | 1,765,483,231 | 6,478 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the documentation the tag type is string, but in the code it's a dictionary.
The proposed fix is to change the following two lines "tags (str):" to "tags (dict):".
https://github.com/hwchase17/langchain/blob/7414e9d19603c962063dd337cdcf3c3168d4b8be/langchain/callbacks/mlf... | DOC: Incorrect type for tags parameter in MLflow callback | https://api.github.com/repos/langchain-ai/langchain/issues/6472/comments | 0 | 2023-06-20T09:57:57Z | 2023-06-26T09:12:24Z | https://github.com/langchain-ai/langchain/issues/6472 | 1,765,061,934 | 6,472 |
[
"hwchase17",
"langchain"
] | ### System Info
{
"name": "server-chatgpt",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "dist/app.js",
"scripts": {
"start": "tsc & node dist/app.js",
"dev": "tsc -w & nodemon -x 'node dist/app.js || touch dist/app.js'",
"dev2": "tsc -w & pm2 start dist/app.js --wa... | pdf-parse.d.ts not found when using PDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/6471/comments | 3 | 2023-06-20T09:27:25Z | 2023-12-04T16:06:58Z | https://github.com/langchain-ai/langchain/issues/6471 | 1,765,012,048 | 6,471 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
[Text Embedding Model python Guide ](https://python.langchain.com/docs/modules/model_io/models/text_embedding.html) Seems to be broken and can't be accessed.


destination_chains -> table_format -> llm
... | Can't use SQLdatabasechain with Multipromptchain | https://api.github.com/repos/langchain-ai/langchain/issues/6444/comments | 16 | 2023-06-19T20:40:11Z | 2023-11-16T16:07:22Z | https://github.com/langchain-ai/langchain/issues/6444 | 1,764,194,908 | 6,444 |
[
"hwchase17",
"langchain"
] | ### System Info
ImportError: cannot import name 'create_citation_fuzzy_match_chain' from 'langchain.chains'
Python=3.11.4
Langchain=0.0.129
The code:
`from langchain.chains import create_citation_fuzzy_match_chain`
The error
> ImportError: cannot import name 'create_citation_fuzzy_match_chain' from 'la... | cannot import name 'create_citation_fuzzy_match_chain' from 'langchain.chains' | https://api.github.com/repos/langchain-ai/langchain/issues/6439/comments | 2 | 2023-06-19T19:00:56Z | 2023-09-25T16:04:55Z | https://github.com/langchain-ai/langchain/issues/6439 | 1,764,063,357 | 6,439 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hey i had a question which waqs bugging me ! I need to load a hugging face model for local path rather than loading it for the first time in HuggingFcaeInstructEmebddings. Can anybdoy tell me how we can do that ??
### Idea or request for content:
_No response_ | DOC : Load model from local path in HuggingFaceInstructEmebddings | https://api.github.com/repos/langchain-ai/langchain/issues/6436/comments | 2 | 2023-06-19T16:50:21Z | 2023-09-26T16:05:28Z | https://github.com/langchain-ai/langchain/issues/6436 | 1,763,879,224 | 6,436 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Issue: Is there a way to modify these default api prompts while using open api spec agent. Could someone please guide https://github.com/hwchase17/langchain/blob/master/langchain/agents/agent_toolkits/openapi/planner_prompt.py#LL6C1-L7C1
Or should I right my own custom open api spec ... | Issue: Related to open api spec agent default prompts | https://api.github.com/repos/langchain-ai/langchain/issues/6434/comments | 1 | 2023-06-19T16:41:33Z | 2023-09-25T16:05:05Z | https://github.com/langchain-ai/langchain/issues/6434 | 1,763,869,712 | 6,434 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.205, python3.10
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | ChatPromptTemplate with partial variables is giving validation error | https://api.github.com/repos/langchain-ai/langchain/issues/6431/comments | 2 | 2023-06-19T16:15:49Z | 2023-06-20T05:39:17Z | https://github.com/langchain-ai/langchain/issues/6431 | 1,763,841,708 | 6,431 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11
Langchain 201
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | Structured Tools don't work with OpenAI's new functions | https://api.github.com/repos/langchain-ai/langchain/issues/6428/comments | 1 | 2023-06-19T15:16:54Z | 2023-07-23T15:51:11Z | https://github.com/langchain-ai/langchain/issues/6428 | 1,763,751,453 | 6,428 |
[
"hwchase17",
"langchain"
] | ### Feature request
Natively a [Chromadb collection](https://github.com/chroma-core/chroma/blob/main/chromadb/api/models/Collection.py) support multiple parameters when making a get or a query on a collection, for example `where` and `ids`. For the moment the `get` method of [Chroma vector store](https://github.com/h... | Missing arguments for Chroma vector store get methods | https://api.github.com/repos/langchain-ai/langchain/issues/6422/comments | 1 | 2023-06-19T13:44:29Z | 2023-07-10T12:14:20Z | https://github.com/langchain-ai/langchain/issues/6422 | 1,763,580,005 | 6,422 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain == 0.0.205
Python == 3.10.7
openai == 0.27.8
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [x] Prompts / Prompt Templates ... | gpt-3.5-turbo-0613 is not following the instructions of agents | https://api.github.com/repos/langchain-ai/langchain/issues/6418/comments | 7 | 2023-06-19T09:21:38Z | 2023-10-06T16:07:19Z | https://github.com/langchain-ai/langchain/issues/6418 | 1,763,117,280 | 6,418 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.209
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | too many doc url invalid | https://api.github.com/repos/langchain-ai/langchain/issues/6416/comments | 5 | 2023-06-19T07:49:21Z | 2023-09-27T16:06:00Z | https://github.com/langchain-ai/langchain/issues/6416 | 1,762,955,233 | 6,416 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.204, Windoews, Python 3.9.16, SQLAlchemy 2.0.15
db = SQLDatabase.from_uri(
oracle_connection_str,
include_tables=["EVR_REGION"],
sample_rows_in_table_info=3,
)
Getting following error:
Traceback (most recent call last):
File "Z:\MHossain_OneDrive\OneDrive\ChatGPT... | Getting error when including Tables in SQLDatabase.from_uri for Oracle | https://api.github.com/repos/langchain-ai/langchain/issues/6415/comments | 10 | 2023-06-19T07:44:40Z | 2023-12-06T17:45:20Z | https://github.com/langchain-ai/langchain/issues/6415 | 1,762,948,644 | 6,415 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.204, Windoews, Python 3.9.16, SQLAlchemy 2.0.15
My Query: list products created between 01 March 2015 and 31 March 2015 and status is 4
Results From SQLDatabaseSequentialChain:
SQLQuery:The original query is correct and does not contain any of the common mistakes listed. Therefor... | SQLDatabaseSequentialChain is not submiting the SQL query with error to model to correct it. | https://api.github.com/repos/langchain-ai/langchain/issues/6414/comments | 2 | 2023-06-19T07:20:53Z | 2023-09-26T16:05:38Z | https://github.com/langchain-ai/langchain/issues/6414 | 1,762,915,859 | 6,414 |
[
"hwchase17",
"langchain"
] | ### System Info
version 0.0.205
The Makefile and make.bat was moved in docs/api_reference but the ./Makefile is not updated.
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mo... | The version 0.0.205 break the make docs_build | https://api.github.com/repos/langchain-ai/langchain/issues/6413/comments | 2 | 2023-06-19T07:01:59Z | 2023-09-01T13:23:29Z | https://github.com/langchain-ai/langchain/issues/6413 | 1,762,885,247 | 6,413 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, I try to use my comany's token as api key for initializing AzureOpenAI, but it seems like token contains an invalid number of segments, have you encountered the same problem before?
`python
# authenticate to Azure
credentials = ClientSecretCredential(const.TENANT_ID, const.SERVICE_PRINCIPAL,... | Azure OpenAI token authenticate issue. | https://api.github.com/repos/langchain-ai/langchain/issues/6412/comments | 3 | 2023-06-19T07:00:55Z | 2023-09-29T16:06:49Z | https://github.com/langchain-ai/langchain/issues/6412 | 1,762,883,196 | 6,412 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
<img width="457" alt="WeChatWorkScreenshot_18219fc9-b420-4c45-a710-ec31e27567f1" src="https://github.com/hwchase17/langchain/assets/54905519/0e524ed4-7fa4-41cf-a8d0-69399f8ac563">
@hwc
### Idea or request for content:
_No response_ | DOC: Duplicated navigation side bar of "OpenAI Functions Agent" | https://api.github.com/repos/langchain-ai/langchain/issues/6411/comments | 0 | 2023-06-19T06:22:51Z | 2023-06-25T06:08:33Z | https://github.com/langchain-ai/langchain/issues/6411 | 1,762,833,972 | 6,411 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.204, Windoews, Python 3.9.16, SQLAlchemy 2.0.15
Error:
sqlalchemy.exc.DatabaseError: (oracledb.exceptions.DatabaseError) ORA-00933: SQL command not properly ended
[SQL: SELECT * FROM evr_region;]
Details:
SQLQuery:SELECT * FROM evr_region;Traceback (most recent call last):
Fi... | Getting error when using use_query_checker=True with SQLDatabaseSequentialChain | https://api.github.com/repos/langchain-ai/langchain/issues/6407/comments | 2 | 2023-06-19T05:48:35Z | 2023-10-27T16:07:34Z | https://github.com/langchain-ai/langchain/issues/6407 | 1,762,788,409 | 6,407 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
All the example notebook links throw 404 error.
https://python.langchain.com/docs/use_cases/question_answering/
### Idea or request for content:
_No response_ | DOC: Links to example notebooks are broken. | https://api.github.com/repos/langchain-ai/langchain/issues/6406/comments | 1 | 2023-06-19T05:32:48Z | 2023-09-25T16:05:25Z | https://github.com/langchain-ai/langchain/issues/6406 | 1,762,776,181 | 6,406 |
[
"hwchase17",
"langchain"
] | ### Issue with consuming Organizarion Azure OpenAI Token
Hi everyone,
Currently I used https://github.com/hwchase17/chat-your-data for training on a sample data using my personal OpenAI Token and it works properly. But to consume it for our organization we cannot use personal OpenAI Token, instead they have a... | Issue: How to consume Organization Azure OpenAI Token | https://api.github.com/repos/langchain-ai/langchain/issues/6405/comments | 2 | 2023-06-19T05:20:53Z | 2023-11-27T17:40:55Z | https://github.com/langchain-ai/langchain/issues/6405 | 1,762,765,809 | 6,405 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
the integration component missing what actual these extensions do.
e.g. for Banana [page](https://python.langchain.com/docs/ecosystem/integrations/bananadev)
in introduction it should be given what these tools do
referring to [doc](https://python.langchain.com/docs/ecosys... | DOC: details on integration tools | https://api.github.com/repos/langchain-ai/langchain/issues/6404/comments | 2 | 2023-06-19T04:45:24Z | 2023-09-25T16:05:36Z | https://github.com/langchain-ai/langchain/issues/6404 | 1,762,719,561 | 6,404 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.204, google colab, jupyter notebook
### Who can help?
@hwchase17 @agola11 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pro... | Unable to load image data (Image caption Loader) | https://api.github.com/repos/langchain-ai/langchain/issues/6403/comments | 1 | 2023-06-19T03:58:05Z | 2023-09-25T16:05:40Z | https://github.com/langchain-ai/langchain/issues/6403 | 1,762,677,854 | 6,403 |
[
"hwchase17",
"langchain"
] | ### Feature request
About the token_max variable in the "langchain\chains\combine_documents\map_reduce.py" file.
I think the value of token_max should be related to the max_token of the model, rather than setting token_max to 3000.
### Motivation
When I was using the "gpt-3.5-turbo-16k" model, I used the map_redu... | About the token_max variable in the "langchain\chains\combine_documents\map_reduce.py" file. | https://api.github.com/repos/langchain-ai/langchain/issues/6397/comments | 2 | 2023-06-19T02:52:02Z | 2023-07-05T08:14:12Z | https://github.com/langchain-ai/langchain/issues/6397 | 1,762,629,177 | 6,397 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
While lock file is necessary for the deployment environment, having a lock file is very hard for creating new integrations, given the fast development pace of the library.
I opened this ticket serving as a discussion on possible alternative solutions to maintaining lock file:
1. Re... | lockfile: discussion | https://api.github.com/repos/langchain-ai/langchain/issues/6395/comments | 2 | 2023-06-19T02:26:54Z | 2023-09-19T16:35:29Z | https://github.com/langchain-ai/langchain/issues/6395 | 1,762,608,230 | 6,395 |
[
"hwchase17",
"langchain"
] | ### System Info
This happens to me randomly when summarizing a piece of text:
```
LangChain - Summarized Conversation:
2023-06-18 22:41:24 - User stated: favorite animal is lion, noted dual feelings of lions being cool, and choice preferred confirms-it aff ir,m no bonone=yceva=/lx dkaws Yweeg46m$. ai nAtqp=g*.... | Langchain hallucinating/includes bizarre text, likely from other users when trying to summarize text. | https://api.github.com/repos/langchain-ai/langchain/issues/6384/comments | 5 | 2023-06-18T21:51:05Z | 2023-06-19T14:13:49Z | https://github.com/langchain-ai/langchain/issues/6384 | 1,762,474,555 | 6,384 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain=0.0.2
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loa... | Neo4J schema not inferred correctly by Neo4JGraph Object | https://api.github.com/repos/langchain-ai/langchain/issues/6380/comments | 8 | 2023-06-18T19:19:04Z | 2024-02-04T22:29:24Z | https://github.com/langchain-ai/langchain/issues/6380 | 1,762,427,054 | 6,380 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello,
I am trying to connect to Deeplake to add documents but am tting the error.
ValueError: deeplake version should be = 3.6.3, but you've installed 3.6.4. Consider changing deeplake version to 3.6.3
username = "myuser"
db = DeepLake(dataset_path=f"hub://myuser/mydb", embedding_function=embe... | deeplake version should be = 3.6.3, but you've installed 3.6.4. Consider changing deeplake version to 3.6.3 | https://api.github.com/repos/langchain-ai/langchain/issues/6379/comments | 5 | 2023-06-18T18:34:14Z | 2023-09-24T16:04:24Z | https://github.com/langchain-ai/langchain/issues/6379 | 1,762,413,954 | 6,379 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am proposing an enhancement to the Langchain project that will allow the handling of concurrent requests for task workers. This proposal aims to introduce a mechanism similar to the API request parallel processor used in the OpenAI Cookbook.
The implementation should ideally manage several tas... | Support for Rate Limits with Concurrent Workers | https://api.github.com/repos/langchain-ai/langchain/issues/6374/comments | 1 | 2023-06-18T17:31:42Z | 2023-09-24T16:04:29Z | https://github.com/langchain-ai/langchain/issues/6374 | 1,762,390,208 | 6,374 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.202
Python 3.11.0
Windows 10 Pro
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | Text Chunks are 1/2 the token length specified when using split text with CharacterTextSplitter.from_tiktoken_encoder and separator=" " | https://api.github.com/repos/langchain-ai/langchain/issues/6373/comments | 6 | 2023-06-18T17:20:45Z | 2024-01-19T18:36:31Z | https://github.com/langchain-ai/langchain/issues/6373 | 1,762,386,281 | 6,373 |
[
"hwchase17",
"langchain"
] | ### Feature request
Allow tweaking with the history window / intermediate actions that are being sent to the LLM:
* Send a sliding window if N last actions
* Only send a specific snapshot (can be useful for code generation tasks - for example where the agent needs to perfect the code until it works).
### Motivation... | Sliding window of intermediate actions for agents | https://api.github.com/repos/langchain-ai/langchain/issues/6370/comments | 0 | 2023-06-18T15:56:26Z | 2023-07-13T06:09:26Z | https://github.com/langchain-ai/langchain/issues/6370 | 1,762,353,891 | 6,370 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
execute method modelname_to_contextsize had an exception~! online 546 "Unknown model: gpt-3.5-turbo-0613. Please provide a valid OpenAI model name."
source code location:langchain/llms/openai.py(BaseOpenAI.modelname_to_contextsize)
### Suggestion:
_No response_ | Issue:current not support gpt-3.5-turbo-0613 model | https://api.github.com/repos/langchain-ai/langchain/issues/6368/comments | 5 | 2023-06-18T15:05:50Z | 2023-09-25T16:05:50Z | https://github.com/langchain-ai/langchain/issues/6368 | 1,762,336,312 | 6,368 |
[
"hwchase17",
"langchain"
] | ### System Info
Python Version: 3.11
Langchain Version: 0.0.209
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | PromptLayerChatOpenAI does not support the newest function calling feature | https://api.github.com/repos/langchain-ai/langchain/issues/6365/comments | 0 | 2023-06-18T13:00:32Z | 2023-07-06T17:16:06Z | https://github.com/langchain-ai/langchain/issues/6365 | 1,762,288,032 | 6,365 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When mixing `gpt-3.5-turbo-0613`, `openai-functions` agent, and `PythonAstREPLTool` tool, GPT3.5 stops respecting the tool name and the arguments hack introduced in the OpenAIFunctionsAgent.
The error log is:
```
Could not parse tool input: {'name': 'python', 'arguments': "len(ca... | Issue: openai functions agent does not respect tools and arguments | https://api.github.com/repos/langchain-ai/langchain/issues/6364/comments | 22 | 2023-06-18T12:04:29Z | 2024-05-23T21:20:07Z | https://github.com/langchain-ai/langchain/issues/6364 | 1,762,260,577 | 6,364 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
openai.error.InvalidRequestError: The chatCompletion operation does not work with the specified model, text-embedding-ada-002. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=... | The chatCompletion operation does not work with the specified model appears when I use AzureChatOpenAI, but it does exist | https://api.github.com/repos/langchain-ai/langchain/issues/6363/comments | 4 | 2023-06-18T10:29:10Z | 2023-09-27T22:02:35Z | https://github.com/langchain-ai/langchain/issues/6363 | 1,762,226,897 | 6,363 |
[
"hwchase17",
"langchain"
] | ### Feature request
The current python client `langchain.vectorstores.redis` lacks support for RedisCluster. Handling redirection with try-expect on receiving `MOVED` error also doesn't work in this case because the code `Redis.from_documents(docs, llmembeddings, redis_url=redis_url, index_name=index_name)` internal... | Support for Redis Cluster | https://api.github.com/repos/langchain-ai/langchain/issues/6361/comments | 3 | 2023-06-18T07:01:19Z | 2023-12-19T00:50:28Z | https://github.com/langchain-ai/langchain/issues/6361 | 1,762,150,567 | 6,361 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using gpt-3.5-turbo for which the price of the tokens are as below
4K Context
0.0015/1K tokens - for input
0.002/1k tokens - output
From the call back I get the below
Cost and token usage :Tokens Used: 222
Prompt Tokens: 171
Completion Tokens: 51
Successful Requests: 1
Total Cost ... | The cost calculation of tokens for open ai models looks like is only considering output tokens | https://api.github.com/repos/langchain-ai/langchain/issues/6358/comments | 9 | 2023-06-18T04:16:15Z | 2023-09-26T01:33:41Z | https://github.com/langchain-ai/langchain/issues/6358 | 1,762,103,531 | 6,358 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The page I am referring with this issue is [Llama.cpp](https://python.langchain.com/docs/modules/model_io/models/llms/integrations/llamacpp.html). I am hoping to update the documentation regarding some windows specific instructions which others might find useful.
I've forked th... | DOC: Updating documentation relating to Models->llms->integrations->* | https://api.github.com/repos/langchain-ai/langchain/issues/6356/comments | 4 | 2023-06-18T03:04:56Z | 2023-10-05T16:09:07Z | https://github.com/langchain-ai/langchain/issues/6356 | 1,762,088,585 | 6,356 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.202, langchainplus-sdk 0.0.10, Python 3.10.11, Linux, Fedora 36
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | LLamaCPP model seems to require model parameters to be set at model creation, not invocation of chain using model | https://api.github.com/repos/langchain-ai/langchain/issues/6355/comments | 10 | 2023-06-18T01:52:46Z | 2024-01-30T00:45:55Z | https://github.com/langchain-ai/langchain/issues/6355 | 1,762,074,184 | 6,355 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose the integration of a **Docusaurus Document Loader** for the LangChain Python repository. By integrating a **[Docusaurus](https://docusaurus.io/) Document Loader**, we can extend the documentation capabilities of LangChain and provide a more comprehensive resource for developers who use Do... | Docusaurus Document Loader | https://api.github.com/repos/langchain-ai/langchain/issues/6353/comments | 6 | 2023-06-17T22:37:27Z | 2024-01-25T14:19:08Z | https://github.com/langchain-ai/langchain/issues/6353 | 1,762,019,892 | 6,353 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
HI all,
As can be seen in this screenshot

I am using pandas_df_agent, but instead of taking whole dataframe, which is around 27000 lines, it is creating itself a Sample ... | Issue: langchain pandas df agent, not taking full df in context | https://api.github.com/repos/langchain-ai/langchain/issues/6348/comments | 4 | 2023-06-17T18:16:41Z | 2024-06-04T21:26:43Z | https://github.com/langchain-ai/langchain/issues/6348 | 1,761,947,539 | 6,348 |
[
"hwchase17",
"langchain"
] | ### System Info
This is strange, since these models are with 8k and 16k context length
my code is
```
llm = ChatOpenAI(model_name="gpt-4", temperature=0)
agent_executor = create_custom_agent(
llm= llm,
tools=toolkit.get_tools()[0:1],
verbose=True,
# prefi... | getting the "This model's maximum context length is 4097 tokens" error using gpt-4 and gpt-3.5-turbo-16k model | https://api.github.com/repos/langchain-ai/langchain/issues/6347/comments | 2 | 2023-06-17T17:46:58Z | 2023-06-18T03:10:43Z | https://github.com/langchain-ai/langchain/issues/6347 | 1,761,938,639 | 6,347 |
[
"hwchase17",
"langchain"
] | ### Feature request
Implementing `_similarity_search_with_relevance_scores` on PGVector so users can set search_type to "similarity_score_threshold" without raising **NotImplementedError**.
`
retriever = pgvector.as_retriever(search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.7})
... | Supporting Similarity Search with Threshold on PGVector retriever | https://api.github.com/repos/langchain-ai/langchain/issues/6346/comments | 1 | 2023-06-17T17:31:45Z | 2023-08-23T13:44:52Z | https://github.com/langchain-ai/langchain/issues/6346 | 1,761,933,573 | 6,346 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.