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"
] | ### Feature request
Currently when we initialize an agent we can only pass one llm which is responsible for both tool selection and chatting. There should be a feature that would allows us to define seperate llms for tool selection and chatting respectively.
### Motivation
It has been observed that text llms are be... | Separate LLMs for Tool Selection and Chatting in Agent Initialization | https://api.github.com/repos/langchain-ai/langchain/issues/8855/comments | 1 | 2023-08-07T07:38:07Z | 2023-11-13T16:06:11Z | https://github.com/langchain-ai/langchain/issues/8855 | 1,838,870,679 | 8,855 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello! I am trying to use LangSmith to test my LLM. I've created a dataset, but I'm confused, as this dataset doesn't seem to work even though I am using `StuffDocumentsChain` in testing (I think) the same way I'm using it in production. Here's how I call it in production:
```
docs_c... | Issue: Having trouble passing question with LangSmith | https://api.github.com/repos/langchain-ai/langchain/issues/8854/comments | 1 | 2023-08-07T07:08:48Z | 2023-08-08T03:07:45Z | https://github.com/langchain-ai/langchain/issues/8854 | 1,838,826,396 | 8,854 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi there, I am recently using Langchain to build my toy chatbot. I used both **Qdrant** cloud storage and local storage for test. However, when I am using local storage for **vector_store** and **search_kwargs**, everything is good. But, when I switch to the Qdrant cloud storage, the r... | Issue: AssertionError: Unknown arguments: ['fetch_k', 'maximal_marginal_relevance'] when specifyig search_kwargs ini from_llm() function call | https://api.github.com/repos/langchain-ai/langchain/issues/8852/comments | 1 | 2023-08-07T06:33:40Z | 2023-08-07T16:20:46Z | https://github.com/langchain-ai/langchain/issues/8852 | 1,838,777,588 | 8,852 |
[
"hwchase17",
"langchain"
] | ### Feature request
```
from langchain.indexes import GraphIndexCreator
from langchain.graphs.networkx_graph import KnowledgeTriple
index_creator = GraphIndexCreator(llm=llm)
graph = index_creator.from_text('text to RDF')
graph.add_triple(KnowledgeTriple('aaa', '10', 'bbb'))
graph.add_triple(KnowledgeTriple('c... | Visualize the Networkx Entity Graph created via the GraphIndexCreator class using pyvis/matplotlib | https://api.github.com/repos/langchain-ai/langchain/issues/8851/comments | 2 | 2023-08-07T06:20:54Z | 2023-11-13T16:06:16Z | https://github.com/langchain-ai/langchain/issues/8851 | 1,838,761,710 | 8,851 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
This is more like a question than feature request.
Google Vertex AI has support for some task specific models which are specially trained for certain action.
I know Langchain has support for LLM based models in general but do you ever plan to integrate these task specific models in ... | Issue: Support for Custom VertexAI models | https://api.github.com/repos/langchain-ai/langchain/issues/8850/comments | 1 | 2023-08-07T05:22:00Z | 2023-11-13T16:06:20Z | https://github.com/langchain-ai/langchain/issues/8850 | 1,838,703,116 | 8,850 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: `0.0.254`
Python version: `3.10.2`
Elasticsearch version: `7.17.0`
System Version: macOS 13.4 (22F66)
Model Name: MacBook Pro
Model Identifier: Mac14,10
Chip: Apple M2 Pro
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 32 GB
### Who can help?
@agol... | RequestError: RequestError(400, 'search_phase_execution_exception...) with ElasticSearch as Vector store when querying | https://api.github.com/repos/langchain-ai/langchain/issues/8849/comments | 11 | 2023-08-07T04:58:11Z | 2024-03-13T19:57:19Z | https://github.com/langchain-ai/langchain/issues/8849 | 1,838,682,846 | 8,849 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
currently,
im using openAI GPT3.5 for models and chroma DB to save vector.
i have some pdf documents which is have 2000 total pages. the pages will increase about 100 pages every day.
and at the end, the total target page that must be inputed is around 20.000 pages.
i have 2 qu... | Issue: ChromaDB document and token openAI limitations | https://api.github.com/repos/langchain-ai/langchain/issues/8846/comments | 2 | 2023-08-07T03:48:48Z | 2023-11-13T16:06:25Z | https://github.com/langchain-ai/langchain/issues/8846 | 1,838,622,804 | 8,846 |
[
"hwchase17",
"langchain"
] | langchain==0.0.20
from langchain.schema import messages_to_dict
----> 1 from langchain.schema import messages_to_dict
ModuleNotFoundError: No module named 'langchain.schema' | ModuleNotFoundError: No module named 'langchain.schema' | https://api.github.com/repos/langchain-ai/langchain/issues/8843/comments | 4 | 2023-08-07T02:25:35Z | 2023-11-13T16:06:30Z | https://github.com/langchain-ai/langchain/issues/8843 | 1,838,563,345 | 8,843 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.253
Python:3.11
### Who can help?
@agola11 @hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selecto... | TypeError Due to Duplicate 'auth' Argument in aiohttp Request when provide header to APIChain | https://api.github.com/repos/langchain-ai/langchain/issues/8842/comments | 2 | 2023-08-06T23:55:31Z | 2023-09-25T09:40:35Z | https://github.com/langchain-ai/langchain/issues/8842 | 1,838,467,546 | 8,842 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: `0.0.240`
Python version: `3.10.2`
Elasticsearch version: `7.17.0`
System Version: macOS 13.4 (22F66)
Model Name: MacBook Pro
Model Identifier: Mac14,10
Chip: Apple M2 Pro
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 32 GB
### Who can help?
@hwch... | RecursionError: maximum recursion depth exceeded with ElasticVectorSearch during RetrievalQA | https://api.github.com/repos/langchain-ai/langchain/issues/8836/comments | 2 | 2023-08-06T19:28:17Z | 2023-08-06T21:40:49Z | https://github.com/langchain-ai/langchain/issues/8836 | 1,838,335,052 | 8,836 |
[
"hwchase17",
"langchain"
] | I initialized the tool and agent as following:
```
llm = ChatOpenAI(
openai_api_key=OPENAI_API_KEY,
model_name = 'gpt-3.5-turbo',
temperature=0.0,
)
conversational_memory = ConversationBufferWindowMemory(
memory_key='chat_history',
k=6,
return_messages=True
)
qa = RetrievalQA.f... | Agent using tool when it's not needed | https://api.github.com/repos/langchain-ai/langchain/issues/8827/comments | 11 | 2023-08-06T16:17:01Z | 2024-05-13T11:03:47Z | https://github.com/langchain-ai/langchain/issues/8827 | 1,838,264,689 | 8,827 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want to offer to change refine prompts to make a summary more correct.
### Motivation
In some cased (I can't say when exactly, but one time per 10-20) I saw that refine LLM added some additional text for summary.
Example:
> Since the provided context does not add any relevant information to... | Refine prompt modification | https://api.github.com/repos/langchain-ai/langchain/issues/8824/comments | 5 | 2023-08-06T15:25:06Z | 2024-05-13T16:07:49Z | https://github.com/langchain-ai/langchain/issues/8824 | 1,838,248,487 | 8,824 |
[
"hwchase17",
"langchain"
] | I am trying to utilize Python Repl Tool in langchain with a CSV file and send me the answer based on the CSV file content. The problem is that it gets the action_input step of writing the code to execute right. However, it fails to answer because it couldn't determine the dataframe it should run the code on.
For exa... | How to pass a CSV file or a dataframe to Pandas REPL tool in Langchain? | https://api.github.com/repos/langchain-ai/langchain/issues/8821/comments | 3 | 2023-08-06T12:26:01Z | 2023-11-14T16:06:09Z | https://github.com/langchain-ai/langchain/issues/8821 | 1,838,189,640 | 8,821 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
guys if not already logged.. I had to uninstall unstructured module and back it off to lower ver. 0.7.12. python3 -m pip install unstructured==0.7.12
### Suggestion:
maybe this needs attention ? | Issue: Unstructured module nees backing off to lower ver. 0.7.12 seems ok | https://api.github.com/repos/langchain-ai/langchain/issues/8819/comments | 1 | 2023-08-06T11:45:44Z | 2023-11-12T16:05:44Z | https://github.com/langchain-ai/langchain/issues/8819 | 1,838,174,943 | 8,819 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How to handle such scenarios if the current asked questions is totally a new question and does not have relation with previous chat history . The standalone question would probably be non-sense, as it's semantic is twisted by the chat history.
`OPENAI_API_KEY=xxxxxx
OPENAI_API_BASE=h... | Issue: Conversation retreival chain : if current question is not at all related to prevoius chat history | https://api.github.com/repos/langchain-ai/langchain/issues/8818/comments | 8 | 2023-08-06T11:42:41Z | 2024-02-19T16:09:06Z | https://github.com/langchain-ai/langchain/issues/8818 | 1,838,174,041 | 8,818 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Can't find the way to deal with the 'maximum context length' error from OpenAI. Any way to catch it within langchain?
### Suggestion:
Add a error handler? | How to catch 'maximum context length' error | https://api.github.com/repos/langchain-ai/langchain/issues/8817/comments | 2 | 2023-08-06T08:08:29Z | 2023-11-12T16:05:50Z | https://github.com/langchain-ai/langchain/issues/8817 | 1,838,102,702 | 8,817 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've updated the code but very strange it doesn't find a good response. When I print(response["answer"]) I get that there is no text to give to the query I put. Even if it gets information from the internet and the Document on the list seems good structured. Here the code:
`
... | How to make a Chatbot responde based on custom data and from the internet? | https://api.github.com/repos/langchain-ai/langchain/issues/8816/comments | 2 | 2023-08-06T07:22:44Z | 2023-11-12T16:05:54Z | https://github.com/langchain-ai/langchain/issues/8816 | 1,838,088,521 | 8,816 |
[
"hwchase17",
"langchain"
] | ### System Info
version 0.0.253
Running on a Jupyter Notebook in Google Colab
### 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 / Promp... | Object of type AgentAction is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/8815/comments | 2 | 2023-08-06T07:11:26Z | 2023-08-06T09:06:42Z | https://github.com/langchain-ai/langchain/issues/8815 | 1,838,084,628 | 8,815 |
[
"hwchase17",
"langchain"
] | I have three metadata: vehicle, color and city.
I want to retrieve chunks with filter -> vehicle = car, color = red and city = NY
All these conditions should be met in the retrieved chunks.
How can I do that?
results = db.get_relevant_documents(
query=query,
filter={"vehicle": ... | How to pass multiple filters in db.get_relevant_documents() | https://api.github.com/repos/langchain-ai/langchain/issues/8802/comments | 2 | 2023-08-05T20:03:46Z | 2023-11-12T16:05:59Z | https://github.com/langchain-ai/langchain/issues/8802 | 1,837,920,794 | 8,802 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Bedrock can't seem to load my credentials when used within a Lambda function. My AWS credentials were set up in my local environment using environment variables. When I use the bedrock class directly, it is able to load my credentials and my code runs smoothly. Here is the RetrievalQA ... | Issue: Amazon Bedrock can't load my credentials when called from a Lambda function | https://api.github.com/repos/langchain-ai/langchain/issues/8800/comments | 22 | 2023-08-05T18:57:43Z | 2024-02-15T16:10:51Z | https://github.com/langchain-ai/langchain/issues/8800 | 1,837,898,928 | 8,800 |
[
"hwchase17",
"langchain"
] | ### System Info
BSHTMLLoader not working for urls
````
from langchain.document_loaders import BSHTMLLoader
url = "https://www.google.com"
loader = BSHTMLLoader({"url": url})
doc = loader.load()
````
I tried this one also not working
````
from langchain.document_loaders import BSHTMLLoader
url ... | BSHTMLLoader not working for urls | https://api.github.com/repos/langchain-ai/langchain/issues/8795/comments | 2 | 2023-08-05T14:41:28Z | 2023-08-06T11:42:45Z | https://github.com/langchain-ai/langchain/issues/8795 | 1,837,792,197 | 8,795 |
[
"hwchase17",
"langchain"
] | ### System Info
Traceback:
docsearch.similarity_search(
File "/usr/local/lib/python3.9/site-packages/langchain/vectorstores/pinecone.py", line 162, in similarity_search
docs_and_scores = self.similarity_search_with_score(
File "/usr/local/lib/python3.9/site-packages/langchain/vectorstores/pinecone.py", ... | File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for Document" | https://api.github.com/repos/langchain-ai/langchain/issues/8794/comments | 6 | 2023-08-05T13:36:08Z | 2024-06-08T16:07:15Z | https://github.com/langchain-ai/langchain/issues/8794 | 1,837,765,386 | 8,794 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add option to directly set input language for OpenAIWhisperParserLocal (in case incorrect autodetection (language="french", task = "transcribe") and optionally use translation mode of the whisper model (language="french", task = "translate")
### Motivation
I encountered situations where audio is... | Add option to directly set input language for OpenAIWhisperParserLocal | https://api.github.com/repos/langchain-ai/langchain/issues/8792/comments | 1 | 2023-08-05T11:36:13Z | 2023-11-11T16:05:21Z | https://github.com/langchain-ai/langchain/issues/8792 | 1,837,713,670 | 8,792 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I want achive SQL Database Agent, by using that I want to retrive data from the database and execute queries.
So for that I have tried,
```
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql... | Issue: AzureOpenAI connection with SQL Database | https://api.github.com/repos/langchain-ai/langchain/issues/8790/comments | 1 | 2023-08-05T08:30:33Z | 2023-11-11T16:05:26Z | https://github.com/langchain-ai/langchain/issues/8790 | 1,837,647,295 | 8,790 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.250
Python=3.11.4
### Who can help?
@agola @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | "n" hyperparmeter doesn't work in ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/8789/comments | 1 | 2023-08-05T08:26:14Z | 2023-08-07T13:40:06Z | https://github.com/langchain-ai/langchain/issues/8789 | 1,837,646,215 | 8,789 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi!
While using Llama cpp in LangChain, I am trying to load the "llama-2-70b-chat" model. The code I am using is:
n_gpu_layers = 40 # Change this value based on your model and your GPU VRAM pool.
n_batch = 512 # Should be between 1 and n_ctx, consider the amount of VRAM in your GPU.
cal... | Error while loading the Llama 2 70B chat model | https://api.github.com/repos/langchain-ai/langchain/issues/8788/comments | 2 | 2023-08-05T07:59:48Z | 2023-11-15T16:07:07Z | https://github.com/langchain-ai/langchain/issues/8788 | 1,837,636,776 | 8,788 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.252
python: 3.10.12
@agola11
### Who can help?
@agola11 please take a look,
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pr... | RetrievalQA.from_chain_type: callbacks are not called for all nested chains | https://api.github.com/repos/langchain-ai/langchain/issues/8786/comments | 1 | 2023-08-05T06:43:10Z | 2023-11-11T16:05:36Z | https://github.com/langchain-ai/langchain/issues/8786 | 1,837,609,787 | 8,786 |
[
"hwchase17",
"langchain"
] | ### Feature request
if possible to provide NLTK tokenizer alternative options? such as spaCy, openNLP...
### Motivation
NLTK issues:
```
Resource averaged_perceptron_tagger not found.
Please use the NLTK Downloader to obtain the resource:
>>> import nltk
>>> nltk.download('averaged_perceptron_tagger')
... | NLTK alternatives option | https://api.github.com/repos/langchain-ai/langchain/issues/8782/comments | 2 | 2023-08-05T02:22:42Z | 2023-08-07T00:40:13Z | https://github.com/langchain-ai/langchain/issues/8782 | 1,837,527,287 | 8,782 |
[
"hwchase17",
"langchain"
] | ### System Info
i'm using newest langchain, python 3
so i try agent but got inconsistent answer, this is the output

the true answer is "Jalan lori tidak termasuk jalan umum". i tr... | inconsistent agent answer | https://api.github.com/repos/langchain-ai/langchain/issues/8780/comments | 4 | 2023-08-05T00:19:15Z | 2023-11-13T16:06:51Z | https://github.com/langchain-ai/langchain/issues/8780 | 1,837,465,382 | 8,780 |
[
"hwchase17",
"langchain"
] | ### System Info
Platform: Apple M1 Pro
Python version: Python 3.9.6
Dependencies:
aiohttp==3.8.5
aiosignal==1.3.1
anyio==3.7.1
async-timeout==4.0.2
atlassian-python-api==3.40.0
attrs==23.1.0
backoff==2.2.1
beautifulsoup4==4.12.2
blobfile==2.0.2
certifi==2023.7.22
charset-normalizer==3.2.0
chroma-hnsw... | OpenAIEmbeddings error trying to load chroma from Confluence | https://api.github.com/repos/langchain-ai/langchain/issues/8777/comments | 1 | 2023-08-04T22:33:52Z | 2023-08-06T09:36:55Z | https://github.com/langchain-ai/langchain/issues/8777 | 1,837,409,860 | 8,777 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest versions of langchain at the current time.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | Just install Langchain and getting Import error from typing extensions | https://api.github.com/repos/langchain-ai/langchain/issues/8775/comments | 3 | 2023-08-04T21:09:37Z | 2023-11-10T16:05:47Z | https://github.com/langchain-ai/langchain/issues/8775 | 1,837,350,467 | 8,775 |
[
"hwchase17",
"langchain"
] | ### System Info
I am used langchain to get a text embedding with the next code:
```
from langchain.embeddings import LlamaCppEmbeddings
llama = LlamaCppEmbeddings(model_path="/alloc/data/fury_mld-nlp-search/ggml-model-q4_0.bin",n_gpu_layers=None)
embedding= llama.embed_documents(["Thi is a text"])
```
The prob... | LlamaCppEmbeddings does not work with n_gpu_layers | https://api.github.com/repos/langchain-ai/langchain/issues/8766/comments | 2 | 2023-08-04T16:52:30Z | 2023-11-10T16:05:52Z | https://github.com/langchain-ai/langchain/issues/8766 | 1,837,073,191 | 8,766 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello,
I am trying to use PlanAndExecute Agent... and getting error langchain.tools.base.ToolException: Too many arguments to single-input.
I am using SQLDatabaseToolkit & a custom tool .
Let me know if i need to modify in the below code...
```
toolkit = SQLDatabaseToolkit(db=db... | PlanAndExecute Agent Error: langchain.tools.base.ToolException: Too many arguments to single-input | https://api.github.com/repos/langchain-ai/langchain/issues/8764/comments | 1 | 2023-08-04T16:10:24Z | 2023-11-10T16:05:56Z | https://github.com/langchain-ai/langchain/issues/8764 | 1,837,018,787 | 8,764 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.251
Python 3.10.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | ValueError: Received invalid destination chain name for MultiRetrievalQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/8757/comments | 2 | 2023-08-04T14:06:30Z | 2023-11-10T16:06:02Z | https://github.com/langchain-ai/langchain/issues/8757 | 1,836,813,439 | 8,757 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello I'm trying to do retrivalQA over pdf file. LLM returns correct answer but later it starts ask questions to itself. Is anyone else facing this issue before and know how to solve it? here is sample answer `{'query': '### Human: Zagraniczne inwestycje bezpośrednie w Polsce \n### Assis... | RetrivalQA LLM asks question to itself | https://api.github.com/repos/langchain-ai/langchain/issues/8756/comments | 3 | 2023-08-04T13:50:00Z | 2023-12-12T07:13:28Z | https://github.com/langchain-ai/langchain/issues/8756 | 1,836,784,253 | 8,756 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.251
Python 3.11.4
Docker image: tiangolo/uvicorn-gunicorn-fastapi:python3.11
### Who can help?
@eyurtsev not sure if this is an issue in GoogleDriveLoader or our brain and how to authenticate
### Information
- [X] The official example notebooks/scripts
... | Error trying to use a service account with GoogleDriveLoader | https://api.github.com/repos/langchain-ai/langchain/issues/8755/comments | 3 | 2023-08-04T13:08:58Z | 2023-08-07T10:23:40Z | https://github.com/langchain-ai/langchain/issues/8755 | 1,836,718,401 | 8,755 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.216
langchainplus-sdk==0.0.21
python 3.10.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | ImportError: cannot import name 'LangChainPlusClient' from 'langchainplus_sdk' | https://api.github.com/repos/langchain-ai/langchain/issues/8754/comments | 3 | 2023-08-04T12:45:35Z | 2023-08-08T13:47:29Z | https://github.com/langchain-ai/langchain/issues/8754 | 1,836,684,118 | 8,754 |
[
"hwchase17",
"langchain"
] | ### System Info
I've checked the langchain versions >=0.0.247 up to 0.0.251.
### Who can help?
What happened to all the experimental stuff?
@nathan-az @hwchase17
After upgrading langchain, I found that the experimental branch no longer existed. There's a lot of stuff moved from experimental to the libs/experim... | PlanAndExecute chain disappeared? | https://api.github.com/repos/langchain-ai/langchain/issues/8749/comments | 3 | 2023-08-04T09:31:08Z | 2023-08-04T14:21:02Z | https://github.com/langchain-ai/langchain/issues/8749 | 1,836,400,009 | 8,749 |
[
"hwchase17",
"langchain"
] | ### System Info
- **Langchain** (v. 0.0.244)
- **Python** (v. 3.11.4)
- **Opensearch** (latest version - v.2.9) running on Docker Container (v. 4.21.0)
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/... | Memory is not implemented correctly in non-indexed data | https://api.github.com/repos/langchain-ai/langchain/issues/8748/comments | 2 | 2023-08-04T09:25:30Z | 2023-11-22T06:29:46Z | https://github.com/langchain-ai/langchain/issues/8748 | 1,836,391,752 | 8,748 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hey, my agent won't recognize any chat history. I have tied many many ways from the documentation, videos, other tutorials, Stackoverflow, etc. I cant find out a way how it works for my setup:
I have tried with different types of memory:
`memory = ConversationBufferWindowMemory(mem... | Agent does not recognize chat history (Missing some input keys: {'chat_history'}) | https://api.github.com/repos/langchain-ai/langchain/issues/8746/comments | 8 | 2023-08-04T09:14:34Z | 2023-12-02T16:06:37Z | https://github.com/langchain-ai/langchain/issues/8746 | 1,836,375,238 | 8,746 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Implementing langchain, Running my custom code, it returns “segmentation fault”.
### Suggestion:
_No response_ | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8745/comments | 2 | 2023-08-04T08:40:42Z | 2023-08-04T22:50:21Z | https://github.com/langchain-ai/langchain/issues/8745 | 1,836,327,124 | 8,745 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm using `load_qa_with_sources_chain` to support the ability to return sources in a Q&A on a document, but is there a way for it to get all of the content associated with a source from the retriever to do a comprehensive summary? Also I'm using `ConversationSummaryBufferMemory` and `R... | Issue: About DocumentationQ&A and ConversationSummaryBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/8743/comments | 1 | 2023-08-04T07:07:51Z | 2023-08-09T08:49:39Z | https://github.com/langchain-ai/langchain/issues/8743 | 1,836,192,920 | 8,743 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want to batch extract the PDF in line with the description of the text paragraphs (for each PDF to ask dozens of questions to extract information). I now cycle through the **RetrievalQA.from_chain_type** function for batch extraction found that each PDF extraction process only the firs... | Issue: RetrievalQA.from_chain_type | https://api.github.com/repos/langchain-ai/langchain/issues/8741/comments | 2 | 2023-08-04T06:00:02Z | 2023-11-10T16:06:16Z | https://github.com/langchain-ai/langchain/issues/8741 | 1,836,118,823 | 8,741 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.

### Suggestion:
_No response_ | Issue: i'm trying to translate the Final Answer, but i found the Final Answer is incomplete,like blow: | https://api.github.com/repos/langchain-ai/langchain/issues/8737/comments | 2 | 2023-08-04T05:26:48Z | 2023-11-10T16:06:22Z | https://github.com/langchain-ai/langchain/issues/8737 | 1,836,088,658 | 8,737 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.250
python: 3.11.4
windows: 10
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | Insert split text to milvus error. | https://api.github.com/repos/langchain-ai/langchain/issues/8734/comments | 1 | 2023-08-04T03:17:08Z | 2023-11-10T16:06:27Z | https://github.com/langchain-ai/langchain/issues/8734 | 1,835,998,619 | 8,734 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
We are looking to add an intermediate layer between langchain and azure openai calls so that all requests pass through our custom api instead of azure openai.
The request body and url parameters are slightly different
Is there any recommended way of accomplishing this wit... | ssue: How to add a intermediate layer between langchain and azure openai<Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8731/comments | 2 | 2023-08-04T01:56:15Z | 2023-11-10T16:06:32Z | https://github.com/langchain-ai/langchain/issues/8731 | 1,835,947,227 | 8,731 |
[
"hwchase17",
"langchain"
] | ### Feature request
can we please get vllm support for faster inference
### Motivation
faster inference speed compared to using hugging face pipeline
### Your contribution
n/a | VLLM | https://api.github.com/repos/langchain-ai/langchain/issues/8729/comments | 0 | 2023-08-04T00:45:38Z | 2023-08-07T14:32:04Z | https://github.com/langchain-ai/langchain/issues/8729 | 1,835,904,748 | 8,729 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
class MyCallbackHandler(BaseCallbackHandler):
def __init__(self,new_payload : Dict):
self.user_id = new_payload["user_id"]
self.session_id = new_payload["session_id"]
self.message_id = new_payload["message_id"]
self.status = "processing"
... | Streaming issue regarding pusher | https://api.github.com/repos/langchain-ai/langchain/issues/8728/comments | 6 | 2023-08-04T00:41:55Z | 2023-11-03T16:03:52Z | https://github.com/langchain-ai/langchain/issues/8728 | 1,835,902,620 | 8,728 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10.12
langchain 0.0.233
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | on_llm_start callback doesn't change the prompts sent to LLM | https://api.github.com/repos/langchain-ai/langchain/issues/8725/comments | 16 | 2023-08-03T23:27:07Z | 2024-04-16T00:07:29Z | https://github.com/langchain-ai/langchain/issues/8725 | 1,835,850,908 | 8,725 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu
### 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 Loaders
- ... | ERROR: langchain 0.0.251 has requirement pydantic<2,>=1, but you'll have pydantic 2.1.1 which is incompatible. | https://api.github.com/repos/langchain-ai/langchain/issues/8724/comments | 5 | 2023-08-03T23:05:18Z | 2023-12-31T13:29:37Z | https://github.com/langchain-ai/langchain/issues/8724 | 1,835,836,430 | 8,724 |
[
"hwchase17",
"langchain"
] | With the new Chroma version introducing EphemeralClient and PersistentClient objects, I believe the LangChain integration should be updated to properly handle this.
Below is the relevant code, I believe, where this should be done in the Chroma constructor (chroma.py)
```python
elif persist_directory:... | ChromaDB integration should properly handle the new Ephemeral/Persistent client objects in recent Chroma version. | https://api.github.com/repos/langchain-ai/langchain/issues/8719/comments | 2 | 2023-08-03T21:17:48Z | 2023-08-04T13:58:17Z | https://github.com/langchain-ai/langchain/issues/8719 | 1,835,747,652 | 8,719 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi,
During work with Hermes, Beluga and Wizardlm and MRKL agent i have noticed that the model often get confused with the action and action input.
The model might decide on using the correct tool, however in the MRKL format
```
Question: the input question you must answer
Thought: you s... | MRKL agent: Rename Action and Action Input to Tool and Tool Input | https://api.github.com/repos/langchain-ai/langchain/issues/8717/comments | 2 | 2023-08-03T19:56:07Z | 2023-11-10T16:06:42Z | https://github.com/langchain-ai/langchain/issues/8717 | 1,835,652,884 | 8,717 |
[
"hwchase17",
"langchain"
] | ### System Info
I have been running this code for weeks, and today it looks like something changed to break it. I'm using the following code snippets...
from langchain.document_loaders import DirectoryLoader
...
loader = DirectoryLoader(directory_path, glob='**/*.pdf')
documents = loader.load()
This is the er... | Getting NameError: name 'partition_pdf' is not defined when running "documents = loader.load()" | https://api.github.com/repos/langchain-ai/langchain/issues/8714/comments | 30 | 2023-08-03T19:40:00Z | 2024-06-29T16:06:17Z | https://github.com/langchain-ai/langchain/issues/8714 | 1,835,633,568 | 8,714 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.251 pydantic-1.10.12
python 3.9
AWS Linux 6.1.38-59.109.amzn2023.x86_64
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts /... | Cryptic error message trying to load NGramOverlapSelector | https://api.github.com/repos/langchain-ai/langchain/issues/8711/comments | 3 | 2023-08-03T18:38:20Z | 2023-11-10T16:06:47Z | https://github.com/langchain-ai/langchain/issues/8711 | 1,835,546,057 | 8,711 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm having an issue with providing the LLMChain class with multiple variables when I provide it with a memory object. It works fine when I don't have memory attached to it. I followed the example given in this document: [LLM Chain Multiple Inputs](https://python.langchain.com/docs/modu... | Issue: Issue providing LLMChain with multiple variables when memory is used | https://api.github.com/repos/langchain-ai/langchain/issues/8710/comments | 7 | 2023-08-03T18:24:14Z | 2023-12-20T16:07:01Z | https://github.com/langchain-ai/langchain/issues/8710 | 1,835,528,046 | 8,710 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would be great to be able to pass in configuration info to the `Embeddings` from the `GTP4AllEmbeddings()` constructor in the same manner as the `GPT4All()` constructor. For example. To be able to turn of allow_download, model, etc..
`embeddings = GPT4AllEmbeddings(allow_download=False)`
###... | Allow GPT4AllEmbeddings() constructor to be configured | https://api.github.com/repos/langchain-ai/langchain/issues/8708/comments | 7 | 2023-08-03T17:30:19Z | 2024-05-30T02:09:57Z | https://github.com/langchain-ai/langchain/issues/8708 | 1,835,460,289 | 8,708 |
[
"hwchase17",
"langchain"
] | ### System Info
OS: Linux Mint 21.2 Cinnamon
Python 3.10
LangChain v0.0.251
### 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 S... | ValueError: ChatAgent does not support multi-input tool do_my_job. with a non-argaument function | https://api.github.com/repos/langchain-ai/langchain/issues/8695/comments | 3 | 2023-08-03T14:51:14Z | 2023-11-10T16:06:51Z | https://github.com/langchain-ai/langchain/issues/8695 | 1,835,222,913 | 8,695 |
[
"hwchase17",
"langchain"
] | ### System Info
ubuntu
[v0.0.250](https://github.com/langchain-ai/langchain/releases/tag/v0.0.250)
### Who can help?
@hwchase17 @agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [... | Continuing LLM response parsing problems after 250(251) | https://api.github.com/repos/langchain-ai/langchain/issues/8691/comments | 9 | 2023-08-03T13:39:39Z | 2023-12-14T16:22:26Z | https://github.com/langchain-ai/langchain/issues/8691 | 1,835,088,585 | 8,691 |
[
"hwchase17",
"langchain"
] |
**System Info**
python=3.10.8
langchain = 0.0.250
openai=0.27.8
**Information**
The official example notebooks/scripts
The error occurs when I run the official example:
https://python.langchain.com/docs/integrations/text_embedding/azureopenai
I use the azure open, and the code are shown in follow... | text_embedding with OpenAIEmbeddings cannot work | https://api.github.com/repos/langchain-ai/langchain/issues/8687/comments | 4 | 2023-08-03T12:34:16Z | 2023-11-17T16:06:24Z | https://github.com/langchain-ai/langchain/issues/8687 | 1,834,976,029 | 8,687 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.250
langchainplus-sdk 0.0.20
Python 3.8.10
### 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... | AttributeError: module 'cohere' has no attribute 'AsyncClient' | https://api.github.com/repos/langchain-ai/langchain/issues/8686/comments | 2 | 2023-08-03T12:30:40Z | 2023-11-09T16:12:29Z | https://github.com/langchain-ai/langchain/issues/8686 | 1,834,970,426 | 8,686 |
[
"hwchase17",
"langchain"
] | ### System Info
I am currently working with the Langchain platform and I've encountered an issue during the integration of ConstitutionalChain with the existing retrievalQaChain.
In my implementation, I've used retrievalQaChain with a custom prompt and Vecatra as the retriever. My system is hosted on Vercel and I... | Issue with Langchain: Error When Implementing ConstitutionalChain with RetrievalQaChain and Vecatra | https://api.github.com/repos/langchain-ai/langchain/issues/8681/comments | 2 | 2023-08-03T10:53:12Z | 2023-11-09T16:07:31Z | https://github.com/langchain-ai/langchain/issues/8681 | 1,834,819,131 | 8,681 |
[
"hwchase17",
"langchain"
] | ### System Info
There seems to be a circular import problem introduced with `langsmith` dependency.
I believe so, because this problem is constantly appearing in the `langchain` versions that do include `langsmith` dependency, and for example `0.0.230` seems to be ok (I don't see that one including `langsmith` as... | LangChain 0.0.250 circular import bug, possibly LangSmith related | https://api.github.com/repos/langchain-ai/langchain/issues/8680/comments | 2 | 2023-08-03T10:21:15Z | 2023-08-03T19:40:14Z | https://github.com/langchain-ai/langchain/issues/8680 | 1,834,771,152 | 8,680 |
[
"hwchase17",
"langchain"
] | ### System Info
Related [Stackoverflow](https://stackoverflow.com/questions/76414862/how-do-you-catch-the-duplicate-id-error-when-using-langchain-vectorstores-chroma) post. Is there any way to avoid duplicated IDs and only insert new ones.
@agola11
### Who can help?
_No response_
### Information
- [X] The offici... | Handle duplicate IDs error when using langchain.vectorstores.Chroma.from_documents | https://api.github.com/repos/langchain-ai/langchain/issues/8679/comments | 1 | 2023-08-03T09:07:10Z | 2023-11-14T16:07:04Z | https://github.com/langchain-ai/langchain/issues/8679 | 1,834,615,597 | 8,679 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.250
Experiencing error when importing Html2TextTransformer
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[79], line 1
----> 1 from langchain.utils.math import cosine_si... | Unable to import Html2TextTransformer from langchain.document_transformers | https://api.github.com/repos/langchain-ai/langchain/issues/8678/comments | 2 | 2023-08-03T08:47:29Z | 2023-11-09T16:10:19Z | https://github.com/langchain-ai/langchain/issues/8678 | 1,834,583,165 | 8,678 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/integrations/retrievers/merger_retriever
https://python.langchain.com/docs/modules/data_connection/retrievers/ensemble
seems like the same.
Both task a list of exist retriever and MERGE the output together.
### Idea or request for conten... | DOC: What is the difference between LOTR(Merger Retriever) and Ensemble Retriever | https://api.github.com/repos/langchain-ai/langchain/issues/8677/comments | 1 | 2023-08-03T08:44:25Z | 2023-08-07T10:08:04Z | https://github.com/langchain-ai/langchain/issues/8677 | 1,834,575,870 | 8,677 |
[
"hwchase17",
"langchain"
] | combine agents &vector stores - https://python.langchain.com/docs/modules/agents/how_to/agent_vectorstore
vectorstore agent - https://python.langchain.com/docs/integrations/toolkits/vectorstore
what is the diffeence between these two? | what is the difference between the combine agents &vector stores and vectorstore agent? | https://api.github.com/repos/langchain-ai/langchain/issues/8676/comments | 3 | 2023-08-03T08:40:56Z | 2023-11-15T16:07:22Z | https://github.com/langchain-ai/langchain/issues/8676 | 1,834,568,374 | 8,676 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi guys, I wanted to ask you does anyone know where is the problem with this because Im getting an error: (Failed to calculate number of tokens, falling back to approximate count) after trying to make a request to open ai by using langchain and sql database connection. On the request I can see that the... | Failed to calculate number of tokens, falling back to approximate count | https://api.github.com/repos/langchain-ai/langchain/issues/8675/comments | 5 | 2023-08-03T08:17:16Z | 2023-11-12T16:06:29Z | https://github.com/langchain-ai/langchain/issues/8675 | 1,834,529,804 | 8,675 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I learn the langchain lessions, and found some error while running the jupyter code at
`https://learn.deeplearning.ai/langchain/lesson/4/chains`,
precisily, MULTI_PROMPT_ROUTER_TEMPLATE is not working well in the first run,
1)It raise the folloing error,
```
OutputParserException: ... | RunError of langchain's tutorial in deeplearning.ai, L3-Chains | https://api.github.com/repos/langchain-ai/langchain/issues/8674/comments | 5 | 2023-08-03T07:58:27Z | 2024-07-23T20:25:09Z | https://github.com/langchain-ai/langchain/issues/8674 | 1,834,500,944 | 8,674 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
What does langchain's logo mean
### Suggestion:
_No response_ | What does langchain's logo mean | https://api.github.com/repos/langchain-ai/langchain/issues/8673/comments | 3 | 2023-08-03T07:17:23Z | 2023-12-02T07:37:01Z | https://github.com/langchain-ai/langchain/issues/8673 | 1,834,440,509 | 8,673 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, I'm trying to interact with HuggingFace model (NumbersStation/nsql-llama-2-7B) using manifest but when I try to to send it a prompt I'm getting the following error from the model:
`The following 'model_kwargs' are not used by the model: ['token_type_ids'] (note: typos in the generate arguments wil... | Getting model args exception while using ManifestWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/8672/comments | 2 | 2023-08-03T07:07:08Z | 2023-11-09T16:12:42Z | https://github.com/langchain-ai/langchain/issues/8672 | 1,834,425,326 | 8,672 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I just want to set chat history for different user in ConversationBufferMemory, user can only get his own chathistory
this is my code:
**embeddings = OpenAIEmbeddings(model="text-embedding-ada-002", chunk_size=1000)
docsearch = Chroma.from_documents(split_docs, embeddings... | how to set chat_history for different user | https://api.github.com/repos/langchain-ai/langchain/issues/8671/comments | 4 | 2023-08-03T07:06:27Z | 2023-11-30T08:19:42Z | https://github.com/langchain-ai/langchain/issues/8671 | 1,834,424,379 | 8,671 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to send emails using the `ZapierNLAWrapper`. Though it shows emails have been sent successfully, I could not find sent emails in gmail.
```
from langchain.chains import TransformChain
from langchain.tools.zapier.tool import ZapierNLARunAction
from langchain.utilities.za... | Issue: < Emails are not being sent though it shows emails sent successfully > | https://api.github.com/repos/langchain-ai/langchain/issues/8667/comments | 1 | 2023-08-03T06:18:56Z | 2023-08-03T09:44:12Z | https://github.com/langchain-ai/langchain/issues/8667 | 1,834,353,463 | 8,667 |
[
"hwchase17",
"langchain"
] | ### Feature request
I'm writing to propose the integration of Redis Cache support for ChatModels within Langchain. Chat functionality is an essential and perhaps the most common scenario in many applications. Enhancing Langchain with Redis Cache support for ChatModels can bring about the following benefits.
### ... | Redis Cache to support ChatModel | https://api.github.com/repos/langchain-ai/langchain/issues/8666/comments | 3 | 2023-08-03T05:50:39Z | 2024-04-26T15:14:01Z | https://github.com/langchain-ai/langchain/issues/8666 | 1,834,321,052 | 8,666 |
[
"hwchase17",
"langchain"
] | ### System Info
* python3.9
* langchain 0.0242
### 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 / Prompt Selectors
- [ ]... | ClickHouse VectorStore score_threshold not working. | https://api.github.com/repos/langchain-ai/langchain/issues/8664/comments | 2 | 2023-08-03T04:44:00Z | 2023-11-03T02:35:28Z | https://github.com/langchain-ai/langchain/issues/8664 | 1,834,261,445 | 8,664 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.10
langchain 0.0.249
### 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
-... | Use FAISS {"distance_strategy":"MAX_INNER_PRODUCT"} Not work! | https://api.github.com/repos/langchain-ai/langchain/issues/8662/comments | 2 | 2023-08-03T03:57:32Z | 2023-08-03T06:53:06Z | https://github.com/langchain-ai/langchain/issues/8662 | 1,834,227,144 | 8,662 |
[
"hwchase17",
"langchain"
] | ### System Info
```
llama_print_timings: load time = 127.16 ms
llama_print_timings: sample time = 0.00 ms / 1 runs ( 0.00 ms per token, inf tokens per second)
llama_print_timings: prompt eval time = 1753.93 ms / 237 tokens ( 7.40 ms per token, 135.13 tokens per second)
llama... | LlamaCppEmbeddings Error `type == GGML_TYPE_F16` | https://api.github.com/repos/langchain-ai/langchain/issues/8660/comments | 3 | 2023-08-03T03:15:23Z | 2023-11-09T16:13:07Z | https://github.com/langchain-ai/langchain/issues/8660 | 1,834,199,574 | 8,660 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
```
# need to use GPT-4 here as GPT-3.5 does not understand, however hard you insist, that
# it should use the calculator to perform the final calculation
llm = ChatOpenAI(temperature=0, model="gpt-4")
```
This docs say that it need gpt -4,are there other models that can ... | DOC: <Running Agent as an Iterator>' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8656/comments | 1 | 2023-08-03T01:19:51Z | 2023-11-09T16:11:04Z | https://github.com/langchain-ai/langchain/issues/8656 | 1,834,120,844 | 8,656 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The documentation links seems to be broken, the Agents Use-cases links are no longer working and giving "Page Not Found".
Example Links - https://python.langchain.com/docs/use_cases/autonomous_agents/baby_agi_with_agent.html
### Idea or request for content:
_No response_ | DOC: Agent Usecase Links are broken | https://api.github.com/repos/langchain-ai/langchain/issues/8649/comments | 1 | 2023-08-02T22:11:00Z | 2023-11-08T16:06:39Z | https://github.com/langchain-ai/langchain/issues/8649 | 1,833,968,332 | 8,649 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Following is the link of langchain documents. In this I need to integrate OPENAI_FUNCTIONS
https://python.langchain.com/docs/modules/agents/how_to/custom_llm_chat_agent
### Suggestion:
_No response_ | Integrate OPENAI_FUNCTIONS in Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8648/comments | 1 | 2023-08-02T22:02:54Z | 2023-11-08T16:06:44Z | https://github.com/langchain-ai/langchain/issues/8648 | 1,833,961,567 | 8,648 |
[
"hwchase17",
"langchain"
] | ### Feature request
An implementation of a `FakeEmbeddingModel` that generates identical vectors given identical input texts.
### Motivation
Currently langchain has a `FakeEmbedding` model that generates a vector of random numbers, that is irrelevant to the content that needs to be embedded.
This model is pretty... | Deterministic fake embedding model | https://api.github.com/repos/langchain-ai/langchain/issues/8644/comments | 2 | 2023-08-02T18:36:33Z | 2023-08-04T17:51:01Z | https://github.com/langchain-ai/langchain/issues/8644 | 1,833,717,208 | 8,644 |
[
"hwchase17",
"langchain"
] | ### Feature request
Current GraphQL Tool is very static https://python.langchain.com/docs/modules/agents/tools/integrations/graphql, one has to set up graphql url, headers etc at the time of configuring the tool.
This tool should follow [Request*Tool](https://github.com/hwchase17/langchain/blob/2b3da522eb866cb79dfd... | GraphQL Execution Tool should support URL/headers as input at runtime | https://api.github.com/repos/langchain-ai/langchain/issues/8638/comments | 2 | 2023-08-02T17:02:44Z | 2023-11-08T16:06:50Z | https://github.com/langchain-ai/langchain/issues/8638 | 1,833,584,670 | 8,638 |
[
"hwchase17",
"langchain"
] | ### Feature request
When connecting to ChatGPT API, it is possible to get responses by the chatbot as "As an AI model...", which ruins the chatbot experience on your application.
A way to filter this and generate a default response might be better.
### Motivation
For applications using OpenAI API, this would enab... | Catch and Filter OpenAI "As an AI model" responses | https://api.github.com/repos/langchain-ai/langchain/issues/8637/comments | 6 | 2023-08-02T16:50:53Z | 2024-02-12T16:16:29Z | https://github.com/langchain-ai/langchain/issues/8637 | 1,833,568,563 | 8,637 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be great if there was an explicit way to support parallel upserts in the `Pinecone` vectorstore wrapper. This could either be done by altering the existing `add_texts` method or adding a new "async" equivalent.
### Motivation
The native Pinecone client supports [parallel upsert](ht... | Support parallel upserts in Pinecone | https://api.github.com/repos/langchain-ai/langchain/issues/8635/comments | 1 | 2023-08-02T15:54:23Z | 2023-09-05T14:59:11Z | https://github.com/langchain-ai/langchain/issues/8635 | 1,833,455,388 | 8,635 |
[
"hwchase17",
"langchain"
] | ### System Info
OS: Windows
Name: langchain
Version: 0.0.249
Python 3.11.2
### Who can help?
@hw
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | Pubmed needs to be called with "pupo | https://api.github.com/repos/langchain-ai/langchain/issues/8631/comments | 2 | 2023-08-02T14:22:29Z | 2023-11-08T16:06:55Z | https://github.com/langchain-ai/langchain/issues/8631 | 1,833,291,208 | 8,631 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi!
How to make a Chatbot that uses its own data access to the internet to get more info (like new updated)? I've tried and searched everywhere but can't make it work.
Here the code:
`
from langchain.chains import ConversationalRetrievalChain
... | How to connect a Chatbot that has its own data but has also access to internet for search? | https://api.github.com/repos/langchain-ai/langchain/issues/8625/comments | 9 | 2023-08-02T11:32:47Z | 2024-07-25T13:33:09Z | https://github.com/langchain-ai/langchain/issues/8625 | 1,833,002,315 | 8,625 |
[
"hwchase17",
"langchain"
] | ### Feature request
When I use RetrievalQA, I need to add and reorder the content retrieved by retriever
```
qa = RetrievalQA.from_chain_type(llm=chat,
chain_type="stuff",
retriever=docsearch.as_retriever(search_kwargs={"k": 2}),
... | How to create a custom retriever | https://api.github.com/repos/langchain-ai/langchain/issues/8623/comments | 12 | 2023-08-02T10:30:14Z | 2024-04-02T09:29:33Z | https://github.com/langchain-ai/langchain/issues/8623 | 1,832,908,335 | 8,623 |
[
"hwchase17",
"langchain"
] | ### System Info
The class `MarkdownHeaderTextSplitter` is not a `TextSplitter`, and must implements all the corresponding methods.
```
class MarkdownHeaderTextSplitter:
...
```
@hwchase17 @eyurtsev
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own mo... | MarkdownHeaderTextSplitter is not a TextSplitter | https://api.github.com/repos/langchain-ai/langchain/issues/8620/comments | 6 | 2023-08-02T08:06:38Z | 2023-11-10T07:39:18Z | https://github.com/langchain-ai/langchain/issues/8620 | 1,832,660,433 | 8,620 |
[
"hwchase17",
"langchain"
] | ### Feature request
Recently Microsoft have announced their [first iteration of running Llama using Onnx format](https://github.com/microsoft/Llama-2-Onnx/tree/main). Hence it will be awesome if LangChain comes up with an early support for Onnx runtime models.
### Motivation
There are two reasons for this.
... | Langchain Support for Onnx Llama | https://api.github.com/repos/langchain-ai/langchain/issues/8619/comments | 5 | 2023-08-02T08:03:06Z | 2024-03-13T19:56:57Z | https://github.com/langchain-ai/langchain/issues/8619 | 1,832,655,316 | 8,619 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.249
Python 3.11.2
### 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
... | AgentType.OPENAI_FUNCTIONS did not work | https://api.github.com/repos/langchain-ai/langchain/issues/8618/comments | 2 | 2023-08-02T07:02:13Z | 2023-11-08T16:07:05Z | https://github.com/langchain-ai/langchain/issues/8618 | 1,832,564,675 | 8,618 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.246
python: 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | Invalid model when use chain | https://api.github.com/repos/langchain-ai/langchain/issues/8613/comments | 0 | 2023-08-02T05:17:12Z | 2023-08-02T07:13:12Z | https://github.com/langchain-ai/langchain/issues/8613 | 1,832,449,850 | 8,613 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am following the instruction from this doc:
DOC: Structure answers with OpenAI functions
-https://python.langchain.com/docs/use_cases/question_answering/integrations/openai_functions_retrieval_qa
But this gives some error.
# Code
```python
from langchain.chains impo... | InvalidRequestError: Unrecognized request arguments supplied: function_call, functions | https://api.github.com/repos/langchain-ai/langchain/issues/8593/comments | 20 | 2023-08-01T19:06:48Z | 2024-04-30T16:31:10Z | https://github.com/langchain-ai/langchain/issues/8593 | 1,831,864,866 | 8,593 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello there,
I am currently attempting to add combined memory to ConversationalRetrievalChain (CRC). However, I am unsure if combined memory is compatible with CRC. I have made a few modifications, but unfortunately, I have encountered errors preventing it from running properly. I ... | Missing some input keys: {'input'} when using Combined memory and ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/8590/comments | 4 | 2023-08-01T18:08:07Z | 2023-11-08T16:07:09Z | https://github.com/langchain-ai/langchain/issues/8590 | 1,831,784,534 | 8,590 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = "^0.0.248"
### 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 / Prompt Selectors
-... | GPTCache implementation isnt working with ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/8584/comments | 3 | 2023-08-01T14:51:37Z | 2023-12-04T16:06:03Z | https://github.com/langchain-ai/langchain/issues/8584 | 1,831,458,479 | 8,584 |
[
"hwchase17",
"langchain"
] | ### System Info
Verified in dockerimage python:3.9
### 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 / Prompt Selectors
- [ ] Outpu... | Cannot create "n" responses | https://api.github.com/repos/langchain-ai/langchain/issues/8581/comments | 4 | 2023-08-01T13:55:11Z | 2023-08-02T16:36:44Z | https://github.com/langchain-ai/langchain/issues/8581 | 1,831,347,798 | 8,581 |
[
"hwchase17",
"langchain"
] | ### Feature request
`ConversationSummaryMemory` and `ConversationSummaryBufferMemory` can be used as memory within async conversational chains, but they themselves are fully blocking. In particular, `Chain.acall()` is async, but it calls `Chain.prep_outputs()`, which calls `self.memory.save_context()`. In the case of ... | Need support for async memory, especially for ConversationSummaryMemory and ConversationSummaryBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/8580/comments | 7 | 2023-08-01T13:32:50Z | 2023-11-07T22:50:05Z | https://github.com/langchain-ai/langchain/issues/8580 | 1,831,301,181 | 8,580 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi everyone,
I'm having trouble working with the agent structure in Langchain.
I would like to have an agent that has memory and can return intermediate steps.
However It doesn't work, when I make an agent executor, the return_intermediate_steps=True makes it crash as the memory can... | Issue: Agent with memory and intermediate steps | https://api.github.com/repos/langchain-ai/langchain/issues/8579/comments | 7 | 2023-08-01T13:22:18Z | 2024-02-13T05:59:52Z | https://github.com/langchain-ai/langchain/issues/8579 | 1,831,277,961 | 8,579 |
[
"hwchase17",
"langchain"
] | ### System Info
### langchain Version **0.0.249**
### Python Version **3.8**
### Other notes
Using this on notebook in Azure Synapse Studio
### Error
```
When import happening getting bellow error message
TypeError Traceback (most recent call last)
/tmp/ipykernel_17180/7228... | multiple bases have instance lay-out conflict on HumanMessageChunk class on langchain 0.0.249 | https://api.github.com/repos/langchain-ai/langchain/issues/8577/comments | 24 | 2023-08-01T12:08:08Z | 2024-08-08T16:06:49Z | https://github.com/langchain-ai/langchain/issues/8577 | 1,831,132,425 | 8,577 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
This repo was split up between the core package and some experimental package. While this is a good idea, it's kinda odd to have both packages in the same repo. Even further you're releasing versions for both of these packages within the same repo. So 5 days ago there was a 0.0.5 release... | Issue: Structure of this repo is confusing | https://api.github.com/repos/langchain-ai/langchain/issues/8572/comments | 1 | 2023-08-01T08:48:57Z | 2023-11-07T16:05:58Z | https://github.com/langchain-ai/langchain/issues/8572 | 1,830,771,603 | 8,572 |
[
"hwchase17",
"langchain"
] | ### Feature request
Enhance the retrieval callback hooks to include:
- document IDs from the underlying vector store
- document embeddings used during retrieval
### Motivation
I want to build a callback handler that enables LangChain users to visualize their data in [Phoenix](https://github.com/Arize-ai/phoenix), ... | Enhance retrieval callback hooks to capture retrieved document IDs and embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/8569/comments | 4 | 2023-08-01T07:44:33Z | 2024-02-13T16:14:38Z | https://github.com/langchain-ai/langchain/issues/8569 | 1,830,662,153 | 8,569 |
[
"hwchase17",
"langchain"
] | ### Feature request
Make cosine similarity (or other retrieval metric, e.g., Euclidean distance) between query and retrieved documents available at the `retriever` callback hook.
Currently, these scores are computed during retrieval and are discarded before they become available to the retrieval callback hook:
... | Enhance retrieval callback hooks to include information on cosine similarity scores or other retrieval metrics | https://api.github.com/repos/langchain-ai/langchain/issues/8567/comments | 6 | 2023-08-01T07:18:29Z | 2024-06-01T00:07:32Z | https://github.com/langchain-ai/langchain/issues/8567 | 1,830,623,474 | 8,567 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.