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
[ "langchain-ai", "langchain" ]
### System Info python = "^3.8.10" langchain = "^0.0.336" google-cloud-aiplatform = "^1.36.3" ### Who can help? @hwchase17 @agol ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt...
Changed import of VertexAI
https://api.github.com/repos/langchain-ai/langchain/issues/13606/comments
3
2023-11-20T12:55:25Z
2024-02-26T16:05:58Z
https://github.com/langchain-ai/langchain/issues/13606
2,002,142,951
13,606
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I've created a multi-level directory vector store using Faiss. How can I retrieve all indices within one or multiple subdirectories? ### Suggestion: _No response_
Issue: retrieve multi index from vector store using Faiss in Langchain
https://api.github.com/repos/langchain-ai/langchain/issues/13605/comments
2
2023-11-20T12:47:43Z
2023-11-21T14:58:27Z
https://github.com/langchain-ai/langchain/issues/13605
2,002,129,643
13,605
[ "langchain-ai", "langchain" ]
### System Info LangChain 0.0.338 Python 3.11.5 ### 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 - ...
Structured tools not able to pass structured data to each other
https://api.github.com/repos/langchain-ai/langchain/issues/13602/comments
12
2023-11-20T10:21:21Z
2024-02-26T16:06:04Z
https://github.com/langchain-ai/langchain/issues/13602
2,001,851,127
13,602
[ "langchain-ai", "langchain" ]
### System Info Langchain==0.0.338 python==3.8.1 neo4j latest this is the error: --------------------------------------------------------------------------- ConfigurationError Traceback (most recent call last) [/Users/m1/Desktop/LangChain/Untitled.ipynb](https://file+.vscode-resource.v...
Neo4j - ConfigurationError: username not supported in the URI
https://api.github.com/repos/langchain-ai/langchain/issues/13601/comments
5
2023-11-20T10:21:02Z
2024-02-26T16:06:08Z
https://github.com/langchain-ai/langchain/issues/13601
2,001,850,563
13,601
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'd like to make `ConversationSummaryMemory` is filled with the previous questions and answers for a specific conversation from an SQLite database so I can have my agent already aware of previous conversation with the user. Here's my current code: ```py import os import sys from...
Issue: Filling `ConversationSummaryMemory` with existing conversation from an SQLite database
https://api.github.com/repos/langchain-ai/langchain/issues/13599/comments
17
2023-11-20T08:52:20Z
2023-11-30T03:27:24Z
https://github.com/langchain-ai/langchain/issues/13599
2,001,666,284
13,599
[ "langchain-ai", "langchain" ]
### Feature request add support for other multimodal models like Llava, Fuyu, Bakllava... This would help with RAG, where documents have non text data. ### Motivation I have a lot of tables and images to proccess in PDFs when doing RAG, and right now this is not ideal. ### Your contribution no time :(
add multimodal support
https://api.github.com/repos/langchain-ai/langchain/issues/13597/comments
3
2023-11-20T07:00:43Z
2024-02-26T16:06:13Z
https://github.com/langchain-ai/langchain/issues/13597
2,001,501,651
13,597
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am using Qdrant as my vector store, and now, every time I use 'max_marginal_relevance_search' with a fix k parameter. It will always return the same documents. How to add some randomness? So it will return something different(Still within the score_threshold) each time. Here is my samp...
Issue: How to add randomness when using max_marginal_relevance_search with Qdrant
https://api.github.com/repos/langchain-ai/langchain/issues/13596/comments
3
2023-11-20T06:38:24Z
2024-02-26T16:06:18Z
https://github.com/langchain-ai/langchain/issues/13596
2,001,474,706
13,596
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.266 ### Who can help? @eyurtsev @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
[SelfQueryRetriever] Generated Query Mismatched Timestamp Type
https://api.github.com/repos/langchain-ai/langchain/issues/13593/comments
3
2023-11-20T04:16:00Z
2024-04-30T16:22:56Z
https://github.com/langchain-ai/langchain/issues/13593
2,001,330,836
13,593
[ "langchain-ai", "langchain" ]
### Feature request Ability to use guidance. https://github.com/guidance-ai/guidance ### Motivation Not related to a problem. ### Your contribution Not sure yet but I can look into it if it is something the community considers.
Support for Guidance
https://api.github.com/repos/langchain-ai/langchain/issues/13590/comments
3
2023-11-20T03:54:37Z
2024-02-26T16:06:23Z
https://github.com/langchain-ai/langchain/issues/13590
2,001,313,070
13,590
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I know I can generate a python dictionary output using StructuredOutputParser like { "a":1, "b":2, "c":3}. However, I would like to generate a nested dic like { "a":1, "b":2, "c":{"d":4, "e":5}} How can I do it? ### Suggestion: _No response_
Issue: can i generate a nested dic output
https://api.github.com/repos/langchain-ai/langchain/issues/13589/comments
3
2023-11-20T03:10:22Z
2024-02-26T16:06:27Z
https://github.com/langchain-ai/langchain/issues/13589
2,001,278,123
13,589
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I'm using a conversationchain that contains memory. It is defined as: llm = ChatOpenAI(temperature=0.0, model=llm_model) memory = ConversationBufferMemory() conversation = ConversationChain( llm=llm, memory = memory, verbose=True ) I know I can access the current...
Issue: can i access memory buffer through chain?
https://api.github.com/repos/langchain-ai/langchain/issues/13584/comments
5
2023-11-19T21:31:23Z
2024-02-25T16:05:02Z
https://github.com/langchain-ai/langchain/issues/13584
2,001,045,763
13,584
[ "langchain-ai", "langchain" ]
### System Info Linux 20.04 LTS Python 3.6 ### Who can help? @hwchase17 seems like this got introduced on 2023-11-16 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Template...
The tracing on_llm_error() implementation calls _on_chain_error(), not _on_llm_error()
https://api.github.com/repos/langchain-ai/langchain/issues/13580/comments
3
2023-11-19T19:21:07Z
2024-02-28T16:07:56Z
https://github.com/langchain-ai/langchain/issues/13580
2,000,998,966
13,580
[ "langchain-ai", "langchain" ]
### System Info Mac M1 ### Who can help? @eyurtsev Here: https://github.com/langchain-ai/langchain/blob/78a1f4b264fbdca263a4f8873b980eaadb8912a7/libs/langchain/langchain/document_loaders/confluence.py#L284 We start adding the "max_pages" first pages to the "docs" list that will be the output of loader.load....
Confluence loader fails to retrieve specific pages when 'pages_ids' is given
https://api.github.com/repos/langchain-ai/langchain/issues/13579/comments
5
2023-11-19T18:54:14Z
2024-02-26T16:06:38Z
https://github.com/langchain-ai/langchain/issues/13579
2,000,989,464
13,579
[ "langchain-ai", "langchain" ]
I am having a wonderful time with my code, but after changing my template it now fails before I even get to give my input. Baffling! all the required imports are not shown here nor is all the prompt text (containing no special characters) template = '''Your task is to extract the relationships between terms i...
ConversationChain failure after changing template text
https://api.github.com/repos/langchain-ai/langchain/issues/13578/comments
6
2023-11-19T16:56:45Z
2023-11-20T13:28:40Z
https://github.com/langchain-ai/langchain/issues/13578
2,000,941,147
13,578
[ "langchain-ai", "langchain" ]
### Feature request The feature request I am proposing involves the implementation of hybrid search, specifically using the Reciprocal Rank Fusion (RRF) method, in LangChain through the integration of OpenSearch's vector store. This would enable the combination of keyword and similarity search. Currently, LangChain...
Implementing Hybrid Search (RRF) in LangChain Using OpenSearch Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/13574/comments
13
2023-11-19T13:59:02Z
2024-04-05T23:00:07Z
https://github.com/langchain-ai/langchain/issues/13574
2,000,862,839
13,574
[ "langchain-ai", "langchain" ]
### System Info Using langchain 0.0.337 python, FastAPI. When I use openai up through 0.28.1 it works fine. Upgrading to 1.0.0 or above results in the following error (when I try to use ChatOpenAI from langchain.chat_models): "ImportError: Could not import openai python package. Please install it with `pip insta...
Upgrading to OpenAI Python 1.0+ = ImportError: Could not import openai python package.
https://api.github.com/repos/langchain-ai/langchain/issues/13567/comments
4
2023-11-18T22:04:33Z
2023-11-21T00:39:08Z
https://github.com/langchain-ai/langchain/issues/13567
2,000,596,810
13,567
[ "langchain-ai", "langchain" ]
### System Info ``` poetry show langchain name : langchain version : 0.0.259 description : Building applications with LLMs through composability dependencies - aiohttp >=3.8.3,<4.0.0 - async-timeo...
from_llm_and_api_docs fails on gpt-4-1106-preview
https://api.github.com/repos/langchain-ai/langchain/issues/13566/comments
3
2023-11-18T22:02:27Z
2024-02-26T16:06:42Z
https://github.com/langchain-ai/langchain/issues/13566
2,000,596,258
13,566
[ "langchain-ai", "langchain" ]
### System Info Facing this error while executing the langchain code. ``` pydantic.error_wrappers.ValidationError: 1 validation error for RetrievalQA separators extra fields not permitted (type=value_error.extra) ``` Code for retrivalQA def retrieval_qa_chain(llm, prompt, retriever): qa_chain = Retriev...
pydantic.error_wrappers.ValidationError: 1 validation error for RetrievalQA separators extra fields not permitted (type=value_error.extra)
https://api.github.com/repos/langchain-ai/langchain/issues/13565/comments
3
2023-11-18T21:06:02Z
2024-02-24T16:05:13Z
https://github.com/langchain-ai/langchain/issues/13565
2,000,580,109
13,565
[ "langchain-ai", "langchain" ]
### System Info LangChain Version: 0.0.337 Python: 3.10 ### Who can help? @hwchase17 Note: I am facing this issue with Weaviate, when I use the Chroma Vector Store it's working fine. I am trying to use "Weaviate Vector DB" with ParentDocumentRetriever and I am getting this error during the pipeline: ...
Bug: Weaviate raise doc_id error using with ParentDocumentRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/13563/comments
2
2023-11-18T18:09:56Z
2023-11-18T18:33:42Z
https://github.com/langchain-ai/langchain/issues/13563
2,000,522,960
13,563
[ "langchain-ai", "langchain" ]
### Feature request Hi, the new Cohere embedding models are now available on Amazon Bedrock. How can we use them for their reranking capability (instead of just embedding via BedrockEmbedding class) ### Motivation These models perform well for reranking
BedrockRerank using newly available Cohere embedding model
https://api.github.com/repos/langchain-ai/langchain/issues/13562/comments
10
2023-11-18T17:51:30Z
2024-05-25T20:47:11Z
https://github.com/langchain-ai/langchain/issues/13562
2,000,516,549
13,562
[ "langchain-ai", "langchain" ]
### System Info Hi there, I have a LangChain app at https://huggingface.co/spaces/bstraehle/openai-llm-rag/blob/main/app.py. Using the latest release 0.0.337 produces the error below. Pinning the library to release 0.0.336 works as expected. :blue_heart: LangChain, thanks! Bernd --- Traceback (most r...
Release 0.0.337 breaks MongoDBAtlasVectorSearch.from_connection_string?
https://api.github.com/repos/langchain-ai/langchain/issues/13560/comments
7
2023-11-18T16:43:18Z
2023-11-28T14:54:05Z
https://github.com/langchain-ai/langchain/issues/13560
2,000,493,292
13,560
[ "langchain-ai", "langchain" ]
Im building an embedded chatbot using langchain and openai its working fine but the issue is that the responses takes around 15-25 seconds and i tried to use the time library to know which line is taking this much `import os import sys from langchain.chains import ConversationalRetrievalChain from langchain.chat_...
Response taking way to long
https://api.github.com/repos/langchain-ai/langchain/issues/13558/comments
4
2023-11-18T15:01:10Z
2024-02-25T16:05:22Z
https://github.com/langchain-ai/langchain/issues/13558
2,000,456,203
13,558
[ "langchain-ai", "langchain" ]
### System Info Bumped into HTTPError when using DuckDuckGo search wrapper in an agent, currently using `langchain==0.0.336`. Here's the snippet of the traceback as below. ``` File "/path/to/venv/lib/python3.10/site-packages/langchain/utilities/duckduckgo_search.py", line 64, in run snippets = self.get_sn...
Adding DuckDuckGo search HTTPError handling
https://api.github.com/repos/langchain-ai/langchain/issues/13556/comments
8
2023-11-18T13:58:54Z
2024-02-24T16:05:22Z
https://github.com/langchain-ai/langchain/issues/13556
2,000,431,479
13,556
[ "langchain-ai", "langchain" ]
### Issue with current documentation: How to update the template and packages of an app created from a template? I checked: https://github.com/langchain-ai/langchain/tree/master/templates and a couple of templates' README.mds, but this info is missing and it's not obvious for us citizen devs. I supposed it should ...
DOC: add info about how to update the template and the packages of an app created from a template
https://api.github.com/repos/langchain-ai/langchain/issues/13551/comments
5
2023-11-18T10:44:59Z
2024-02-24T16:05:27Z
https://github.com/langchain-ai/langchain/issues/13551
2,000,367,453
13,551
[ "langchain-ai", "langchain" ]
### System Info LangChain: 0.0.336 Python: 3.11.6 OS: Microsoft Windows [Version 10.0.19045.3693] ### 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 / Promp...
AIMessage in output of Qianfan with streaming enabled may lose info about 'additional_kwargs', which causes 'function_call', 'token_usage' info lost.
https://api.github.com/repos/langchain-ai/langchain/issues/13548/comments
6
2023-11-18T03:19:52Z
2024-02-25T16:05:27Z
https://github.com/langchain-ai/langchain/issues/13548
2,000,187,192
13,548
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Here is my code: """For basic init and call""" import os import qianfan from langchain.chat_models import QianfanChatEndpoint from langchain.chat_models.base import HumanMessage os.environ["QIANFAN_AK"] = "myak" os.environ["QIANFAN_SK"] = "mysk" chat = QianfanChatEndpoint( ...
Issue: When using Qianfan chat model and enabling streaming, get ValueError
https://api.github.com/repos/langchain-ai/langchain/issues/13546/comments
4
2023-11-18T02:49:13Z
2024-03-13T19:55:40Z
https://github.com/langchain-ai/langchain/issues/13546
2,000,175,679
13,546
[ "langchain-ai", "langchain" ]
### System Info LangChain version: 0.0.337 Python version: 3.10.13 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors -...
New update broke embeddings models
https://api.github.com/repos/langchain-ai/langchain/issues/13539/comments
3
2023-11-17T21:47:33Z
2023-11-18T20:07:42Z
https://github.com/langchain-ai/langchain/issues/13539
1,999,979,607
13,539
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Why does the below code complain that extra_instructions is a missing key, even though it's learning included in input_variables=["context", "question", "extra_instructions"]? Any help is greatly appreciated. vectorstore = Chroma( collection_name=collection_name, ...
Issue: Missing some input keys in langchain even when it's present - unclear how prompt args are treated
https://api.github.com/repos/langchain-ai/langchain/issues/13536/comments
3
2023-11-17T21:00:10Z
2024-02-23T16:05:27Z
https://github.com/langchain-ai/langchain/issues/13536
1,999,921,377
13,536
[ "langchain-ai", "langchain" ]
### System Info python==3.10.13 langchain==0.0.336 pydantic==1.10.13 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - ...
OpenAI Functions Extraction Chain not returning a list
https://api.github.com/repos/langchain-ai/langchain/issues/13533/comments
6
2023-11-17T20:18:52Z
2024-04-15T16:42:30Z
https://github.com/langchain-ai/langchain/issues/13533
1,999,863,087
13,533
[ "langchain-ai", "langchain" ]
### System Info - Python 3.11.5 - google-ai-generativelanguage==0.3.3 - langchain==0.0.336 ### 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 Templ...
Output parser fails with index out of range error but doesn't give actual fail reason in case of GooglePalm
https://api.github.com/repos/langchain-ai/langchain/issues/13532/comments
3
2023-11-17T20:02:52Z
2024-02-23T16:05:32Z
https://github.com/langchain-ai/langchain/issues/13532
1,999,837,560
13,532
[ "langchain-ai", "langchain" ]
### Feature request I would be very nice to be able to build something similar to RAG, but for checking an assumption quality against a knowledge base. ### Motivation Currently, RAG allows a semantic search but does not help when it comes to evaluating the quality of a user input, based on your vector db. The poi...
RAG but for fact checking
https://api.github.com/repos/langchain-ai/langchain/issues/13526/comments
5
2023-11-17T17:31:41Z
2024-02-24T16:05:37Z
https://github.com/langchain-ai/langchain/issues/13526
1,999,617,934
13,526
[ "langchain-ai", "langchain" ]
### System Info langchain == 0.0.336 python == 3.9.6 ### Who can help? @hwchase17 @eyu ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
YoutubeLoader translation not working
https://api.github.com/repos/langchain-ai/langchain/issues/13523/comments
6
2023-11-17T16:32:37Z
2024-02-19T18:30:42Z
https://github.com/langchain-ai/langchain/issues/13523
1,999,507,481
13,523
[ "langchain-ai", "langchain" ]
Hello, ### System Info Langchain Version: 0.0.336 OS: Windows ### Who can help? No response ### Information - [x] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [x] Prompts / Prompt Templates / Prompt Selectors - [x] Vector...
Extract SQL information and execute
https://api.github.com/repos/langchain-ai/langchain/issues/13519/comments
7
2023-11-17T15:27:24Z
2024-02-24T16:05:42Z
https://github.com/langchain-ai/langchain/issues/13519
1,999,384,822
13,519
[ "langchain-ai", "langchain" ]
### System Info aiohttp==3.8.4 aiosignal==1.3.1 altair==5.0.1 annotated-types==0.6.0 anyio==3.7.1 asgiref==3.7.2 async-timeout==4.0.2 attrs==23.1.0 backoff==2.2.1 blinker==1.6.2 cachetools==5.3.1 certifi==2023.5.7 cffi==1.15.1 chardet==5.1.0 charset-normalizer==3.2.0 click==8.1.5 clickhouse-connect==0....
VectorStoreRetrieverMemory doesn't work with AgentExecutor
https://api.github.com/repos/langchain-ai/langchain/issues/13516/comments
4
2023-11-17T14:08:19Z
2024-02-23T16:05:47Z
https://github.com/langchain-ai/langchain/issues/13516
1,999,219,108
13,516
[ "langchain-ai", "langchain" ]
### Feature request I see the current SQLiteCache is storing the entire prompt message in the SQLite db. It would be more efficient to just hash the prompt and store this as the key for cache lookup. ### Motivation My prompt messages are often lengthy and I want to optimize the storage requirements of the Cache. ...
SQLiteCache - store only the hash of the prompt as key instead of the entire prompt
https://api.github.com/repos/langchain-ai/langchain/issues/13513/comments
3
2023-11-17T12:40:31Z
2024-02-23T16:05:52Z
https://github.com/langchain-ai/langchain/issues/13513
1,999,036,428
13,513
[ "langchain-ai", "langchain" ]
### System Info I am facing an issue using `MarkdownHeaderTextSplitter` class and, after looking at the code, I noticed that the problem might be present in several Text Splitters and I did not find any issue on this, so I create a new one. I am trying to use `MarkdownHeaderTextSplitter` regarding the `TextSplitter...
Text splitters inhéritance
https://api.github.com/repos/langchain-ai/langchain/issues/13510/comments
3
2023-11-17T10:20:27Z
2024-03-18T16:06:44Z
https://github.com/langchain-ai/langchain/issues/13510
1,998,763,281
13,510
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I am trying claude-2 model using the ChatAnthropic library and iterating over my data to call the model end for predictions. Since it's a chain of input, I am using StuffDocumentsChain. I am facing two issues currently. 1. CLOSE_WAIT error after the connection is established with cl...
Issue: Getting CLOSE_WAIT and too many files open error using ChatAnthropic and StuffDocumentsChain
https://api.github.com/repos/langchain-ai/langchain/issues/13509/comments
12
2023-11-17T10:05:35Z
2024-06-24T16:07:27Z
https://github.com/langchain-ai/langchain/issues/13509
1,998,738,328
13,509
[ "langchain-ai", "langchain" ]
### System Info Python 3.9 langchain 0.0.336 openai 1.3.2 pandas 2.1.3 ### Who can help? @EYU ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - ...
VLLMOpenAI -- create() got an unexpected keyword argument 'api_key'
https://api.github.com/repos/langchain-ai/langchain/issues/13507/comments
3
2023-11-17T08:56:07Z
2023-11-20T01:49:57Z
https://github.com/langchain-ai/langchain/issues/13507
1,998,591,711
13,507
[ "langchain-ai", "langchain" ]
### System Info I was using 0.0.182-rc.1 and I tried upgrading to the latest, 0.0.192 But I'm still getting the error. Please note: everything was working fine before, I have made no changes. Did openai change something? Not sure what is going on here but it looks like its from openai side. If so how do I fix this...
Sudden failure to initialize
https://api.github.com/repos/langchain-ai/langchain/issues/13505/comments
3
2023-11-17T07:42:15Z
2024-02-23T16:05:57Z
https://github.com/langchain-ai/langchain/issues/13505
1,998,469,952
13,505
[ "langchain-ai", "langchain" ]
### System Info Location: langchain/lllms/base.py I think there's a hidden error in a 'generate' method. (line 554) Inside of the second 'if' statement, it calls the index of callbacks that may cause the potential error. `Callbacks` is an object of `CallbackManager`, which is not iterable, so it can not be call...
Found Potential Bug! (langchain > llm > base.py)
https://api.github.com/repos/langchain-ai/langchain/issues/13504/comments
4
2023-11-17T07:05:15Z
2024-02-26T16:06:48Z
https://github.com/langchain-ai/langchain/issues/13504
1,998,415,070
13,504
[ "langchain-ai", "langchain" ]
### Feature request can you add memory for RetrievalQA.from_chain_type(). I haven't seen any implementation of memory for this kind of RAG chain. It would be nice to have memory and ask questions in context. ### Motivation I just can't get any memory to work with RetrievalQA.from_chain_type(). ### Your contribution...
implement memory for RetrievalQA.from_chain_type()
https://api.github.com/repos/langchain-ai/langchain/issues/13503/comments
3
2023-11-17T06:52:41Z
2024-02-23T16:06:07Z
https://github.com/langchain-ai/langchain/issues/13503
1,998,400,060
13,503
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. **Description:** The Redistext search feature in Redis Vector Store functions well with a small number of indexed documents (20-30). However, when the quantity of indexed documents exceeds 400-500, the performance degrades noticeably. Some keys are missed during the Redistext search, an...
Why does Redis vector store misses some keys in redistext search. although key and related details exists in index.Issue
https://api.github.com/repos/langchain-ai/langchain/issues/13500/comments
3
2023-11-17T05:05:26Z
2024-02-23T16:06:12Z
https://github.com/langchain-ai/langchain/issues/13500
1,998,286,493
13,500
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I created a tool in an agent to output some data. The data contains ADMET properties and other properties. Although I have made it very clear that all properties should be kept in the tool function as well as in the output parser, I still can not get the non-ADMET properties in the final...
Output Parser not Work in an Agent Chain
https://api.github.com/repos/langchain-ai/langchain/issues/13498/comments
3
2023-11-17T03:53:58Z
2024-02-23T16:06:17Z
https://github.com/langchain-ai/langchain/issues/13498
1,998,227,516
13,498
[ "langchain-ai", "langchain" ]
### System Info When using fail, similarity_search_with_score function, the parameters filter and score_threshold together, the results will be problematic ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/...
faiss中的错误
https://api.github.com/repos/langchain-ai/langchain/issues/13497/comments
3
2023-11-17T03:29:19Z
2024-02-23T16:06:22Z
https://github.com/langchain-ai/langchain/issues/13497
1,998,208,034
13,497
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I want to create an ADMET properties prediction tool in an agent. But the result is not so good. Here is my code: def Func_Tool_XYZ(parameters): print("\n", parameters) print("触发Func_Tool_ADMET插件") print("........正在解析ADMET属性..........") data = { "SMILES": ...
Property Lost in an Agent Chain
https://api.github.com/repos/langchain-ai/langchain/issues/13495/comments
4
2023-11-17T03:09:10Z
2024-02-23T16:06:27Z
https://github.com/langchain-ai/langchain/issues/13495
1,998,187,189
13,495
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. The `make api_docs_build` command is very slow. This command builds the API Reference documentation. This command is defined in the `Makefile` ### Suggestion: _No response_
very slow make command
https://api.github.com/repos/langchain-ai/langchain/issues/13494/comments
7
2023-11-17T02:58:21Z
2024-02-09T16:47:54Z
https://github.com/langchain-ai/langchain/issues/13494
1,998,176,960
13,494
[ "langchain-ai", "langchain" ]
### System Info langchain 0.0.320 MacOS 13.14.1 Python 3.9.18 ### 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 / Promp...
Adding messages to history doesn't work with custom message types
https://api.github.com/repos/langchain-ai/langchain/issues/13493/comments
4
2023-11-17T02:23:36Z
2024-02-23T16:06:32Z
https://github.com/langchain-ai/langchain/issues/13493
1,998,146,316
13,493
[ "langchain-ai", "langchain" ]
### System Info google-cloud-aiplatform = "^1.36.4" langchain = "0.0.336" python 3.11 ``` pydantic.v1.error_wrappers.ValidationError: 1 validation error for VertexAI __root__ Unknown model publishers/google/models/chat-bison-32k; {'gs://google-cloud-aiplatform/schema/predict/instance/text_generation_1.0....
VertexAI chat-bison-32k support
https://api.github.com/repos/langchain-ai/langchain/issues/13478/comments
3
2023-11-16T20:58:24Z
2023-11-16T22:28:16Z
https://github.com/langchain-ai/langchain/issues/13478
1,997,770,078
13,478
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. The MLflowAIGateway module names should be consistent with `MLflow` (upper case ML and lowercase f): `from langchain.chat_models import ChatMLflowAIGateway` For embeddings and completions, current module names are: ``` from langchain.llms import MlflowAIGateway from langchain.embe...
Issue: minor naming discrepency of MLflowAIGateway
https://api.github.com/repos/langchain-ai/langchain/issues/13475/comments
3
2023-11-16T19:00:55Z
2024-02-22T16:06:03Z
https://github.com/langchain-ai/langchain/issues/13475
1,997,547,851
13,475
[ "langchain-ai", "langchain" ]
### System Info databricks Machine Learning Runtime: 13.3 langchain==0.0.319 python == 3.9 ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prom...
inconsistency parameter requirements for chat_models.ChatMLflowAIGateway
https://api.github.com/repos/langchain-ai/langchain/issues/13474/comments
3
2023-11-16T18:51:10Z
2024-02-22T16:06:09Z
https://github.com/langchain-ai/langchain/issues/13474
1,997,529,011
13,474
[ "langchain-ai", "langchain" ]
### System Info Version: langchain 0.0.336 Version: sqlalchemy 2.0.1 File "/Users/anonymous/code/anon/anon/utils/cache.py", line 40, in set_cache from langchain.cache import SQLiteCache File "/Users/anonymous/dotfiles/virtualenvs/aiproject/lib/python3.11/site-packages/langchain/cache.py", line 45, in <m...
ImportError: cannot import name 'Row' from 'sqlalchemy'
https://api.github.com/repos/langchain-ai/langchain/issues/13464/comments
6
2023-11-16T15:08:51Z
2024-03-18T16:06:39Z
https://github.com/langchain-ai/langchain/issues/13464
1,997,084,178
13,464
[ "langchain-ai", "langchain" ]
### System Info I am facing an issue during the testing of my chatbot, here is below i attached a screenshot which can show you the exact issue. ![image](https://github.com/langchain-ai/langchain/assets/76678681/40ecc2d1-c704-47a3-8cea-f4e6b3323700) But when i hit the api again with first small letter 'what' i...
ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/13461/comments
6
2023-11-16T13:42:31Z
2024-02-22T16:06:13Z
https://github.com/langchain-ai/langchain/issues/13461
1,996,884,066
13,461
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Wrote the following code in Google Colab but it is unable to fetch the data. Kindly help. from langchain.document_loaders.sitemap import SitemapLoader sitemap_loader = SitemapLoader(web_path="https://langchain.readthedocs.io/sitemap.xml") docs = sitemap_loader.load() print(docs) ...
Issue: Sitemap Loader not fetching
https://api.github.com/repos/langchain-ai/langchain/issues/13460/comments
7
2023-11-16T12:56:45Z
2024-05-03T06:29:38Z
https://github.com/langchain-ai/langchain/issues/13460
1,996,800,557
13,460
[ "langchain-ai", "langchain" ]
@dosu-bot 1 more question for my code thats below. This is my code: loader = PyPDFLoader(file_name) documents = loader.load() llm = ChatOpenAI(temperature = 0, model_name='gpt-3.5-turbo', callbacks=[StreamingStdOutCallbackHandler()], streaming = True) text_splitter = RecursiveCharacterTextSplitter( chunk...
Output being rephrased
https://api.github.com/repos/langchain-ai/langchain/issues/13458/comments
3
2023-11-16T12:34:29Z
2024-02-22T16:06:23Z
https://github.com/langchain-ai/langchain/issues/13458
1,996,761,493
13,458
[ "langchain-ai", "langchain" ]
@dosu-bot Below is my code and in the line " llm_response = conversation({"query": question})", what would happen if I did conversation.run or conversation.apply or conversation.batch or conversation.invoke? When I do use each of those? load_dotenv() file_name = "Admin 2.0.pdf" def print_letter_by_letter(t...
Difference between run, apply, invoke, batch
https://api.github.com/repos/langchain-ai/langchain/issues/13457/comments
7
2023-11-16T11:42:35Z
2024-04-09T16:15:50Z
https://github.com/langchain-ai/langchain/issues/13457
1,996,672,590
13,457
[ "langchain-ai", "langchain" ]
### System Info Langchain Version: 0.0.336 OS: Windows ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outpu...
Langchain SQLDatabase is not able to access table information correctly from private schema of PostgreSQL database
https://api.github.com/repos/langchain-ai/langchain/issues/13455/comments
3
2023-11-16T11:12:24Z
2024-03-17T16:05:51Z
https://github.com/langchain-ai/langchain/issues/13455
1,996,620,397
13,455
[ "langchain-ai", "langchain" ]
### System Info **System Information:** - Python: 3.10.13 - Conda: 23.3.1 - Openai: 0.28.1 - LangChain: 0.0.330 - System: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz - Platform: AWS SageMaker Notebook **Issue:** - Few hours ago everything was working fine but now all of a sudden OpenAI isn't generating J...
LangChain(OpenAI) not returning JSON format output
https://api.github.com/repos/langchain-ai/langchain/issues/13454/comments
3
2023-11-16T10:42:38Z
2024-02-18T13:34:12Z
https://github.com/langchain-ai/langchain/issues/13454
1,996,569,188
13,454
[ "langchain-ai", "langchain" ]
### Feature request Can you allow the usage of existing Open ai assistant instead of creating a new one every time when using OpenAI Runnable ### Motivation I dont want to clutter my assistant list with a bunch of clones ### Your contribution The developer should only provide the assistant ID in the Constructor f...
OpenAI Assitant
https://api.github.com/repos/langchain-ai/langchain/issues/13453/comments
10
2023-11-16T10:40:22Z
2024-03-10T06:08:22Z
https://github.com/langchain-ai/langchain/issues/13453
1,996,565,178
13,453
[ "langchain-ai", "langchain" ]
### System Info Error info: <CT_SectPr '<w:sectPr>' at 0x2c9fa6c50> is not in list ### 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 / ...
Can't load docx file with directory in content.
https://api.github.com/repos/langchain-ai/langchain/issues/13452/comments
4
2023-11-16T10:17:19Z
2024-02-22T16:06:28Z
https://github.com/langchain-ai/langchain/issues/13452
1,996,521,784
13,452
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Friends, how can I return the retrieval texts(context)? My script is as follows: ```python from langchain.document_loaders import PyPDFDirectoryLoader from langchain.embeddings import OpenAIEmbeddings from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain...
Issue: How to return retrieval texts?
https://api.github.com/repos/langchain-ai/langchain/issues/13446/comments
5
2023-11-16T08:05:09Z
2024-02-22T16:06:33Z
https://github.com/langchain-ai/langchain/issues/13446
1,996,290,256
13,446
[ "langchain-ai", "langchain" ]
### System Info python ### 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 - ...
create_csv_agent UnicodeDecodeError('utf-8' )
https://api.github.com/repos/langchain-ai/langchain/issues/13444/comments
4
2023-11-16T06:55:28Z
2024-02-22T16:06:38Z
https://github.com/langchain-ai/langchain/issues/13444
1,996,188,135
13,444
[ "langchain-ai", "langchain" ]
### System Info langchain: latest (0.0.336) ### Who can help? @hwchase17 (from git blame and from #13110) ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selec...
openai tools don't work with streaming=True
https://api.github.com/repos/langchain-ai/langchain/issues/13442/comments
6
2023-11-16T05:02:17Z
2023-12-16T07:55:17Z
https://github.com/langchain-ai/langchain/issues/13442
1,996,065,154
13,442
[ "langchain-ai", "langchain" ]
### System Info This was working fine for my previous configuration, langchain v0.0.225 chromadb v0.4.7 But now neither this is working, nor the latest version of both langchain v0.0.336 chromadb v0.4.17 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My o...
langchain.vectorstores.Chroma support for EmbeddingFunction.__call__ update of ChromaDB
https://api.github.com/repos/langchain-ai/langchain/issues/13441/comments
6
2023-11-16T04:32:31Z
2024-03-18T16:06:34Z
https://github.com/langchain-ai/langchain/issues/13441
1,996,037,409
13,441
[ "langchain-ai", "langchain" ]
### Feature request Hi Guys, Here I made a new fork to [https://github.com/MetaSLAM/CyberChain](https://github.com/MetaSLAM/CyberChain), where I would like to combine the powerful Langchain ability and GPT4 into the real-world robotic challenges. My question raised here is mainly about: 1. How can I setup th...
Request new feature for Robotic Application
https://api.github.com/repos/langchain-ai/langchain/issues/13440/comments
5
2023-11-16T04:11:33Z
2024-04-18T16:35:43Z
https://github.com/langchain-ai/langchain/issues/13440
1,996,017,598
13,440
[ "langchain-ai", "langchain" ]
### System Info langchain version: 0.0.336 mac python3.8 ### 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 - [ ] Outp...
model init ValueError
https://api.github.com/repos/langchain-ai/langchain/issues/13438/comments
3
2023-11-16T03:23:29Z
2024-02-21T09:50:32Z
https://github.com/langchain-ai/langchain/issues/13438
1,995,978,394
13,438
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.266 ### Who can help? @hwchase17 @eyurtsev ### 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 -...
[PGVector] The scores returned by 'similarity_search_with_score' are NOT proportional to the similarity
https://api.github.com/repos/langchain-ai/langchain/issues/13437/comments
5
2023-11-16T03:10:54Z
2024-02-22T16:06:43Z
https://github.com/langchain-ai/langchain/issues/13437
1,995,965,954
13,437
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I'm trying to make a chatbot using conversationchain. The prompt takes three variables, “history” from memory, user input: "input", and another variable say variable3. But it has an error “Got unexpected prompt input variables. The prompt expects ['history', 'input', 'variable3'], bu...
Issue: problem with conversationchain take multiple inputs
https://api.github.com/repos/langchain-ai/langchain/issues/13433/comments
4
2023-11-16T00:54:37Z
2024-07-19T13:57:00Z
https://github.com/langchain-ai/langchain/issues/13433
1,995,838,321
13,433
[ "langchain-ai", "langchain" ]
### Feature request Although there are many output parsers in langchain, how to custom the output in a chain agent can not find any solutions right now--yet it may be sometimes necessary. Let's say a chain agent x, the tools are Tool1, Tool2 and Tool3, if: the output of Tool2 should be customized, and no longer be ...
Custom Tool Output in a Chain
https://api.github.com/repos/langchain-ai/langchain/issues/13432/comments
2
2023-11-16T00:46:31Z
2024-02-22T16:06:48Z
https://github.com/langchain-ai/langchain/issues/13432
1,995,831,335
13,432
[ "langchain-ai", "langchain" ]
### System Info ``` langchain==0.0.335 python==3.10 ``` ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output P...
`get_openai_callback()` does not count tokens when LCEL chain used with `.stream()` method
https://api.github.com/repos/langchain-ai/langchain/issues/13430/comments
13
2023-11-16T00:05:51Z
2024-07-24T13:34:05Z
https://github.com/langchain-ai/langchain/issues/13430
1,995,786,367
13,430
[ "langchain-ai", "langchain" ]
### System Info Langchain 0.0.335 ### 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 Selectors - [ ] Output Pars...
TextGen is not raising Exception when response status code is not 200
https://api.github.com/repos/langchain-ai/langchain/issues/13416/comments
4
2023-11-15T21:01:18Z
2024-06-01T00:07:34Z
https://github.com/langchain-ai/langchain/issues/13416
1,995,562,229
13,416
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I have been learning LangChain for the last month and I have been struggling in the last week to "_guarantee_" `ConversationalRetrievalChain` only answers based on the knowledge added on embeddings. I don't know if I am missing some LangChain configuration or if it is just a matte...
Issue: Making sure `ConversationalRetrievalChain` only answer based on the retriever information
https://api.github.com/repos/langchain-ai/langchain/issues/13414/comments
9
2023-11-15T19:19:26Z
2024-05-30T06:05:59Z
https://github.com/langchain-ai/langchain/issues/13414
1,995,385,588
13,414
[ "langchain-ai", "langchain" ]
### Feature request Add IDE auto-complete to `langchain.llm` module Currently, IntelliJ-based IDEs (PyCharm) interpret an LLM model to be `typing.Any`. Below is an example for the `GPT4All` package ![image](https://github.com/langchain-ai/langchain/assets/49741340/27d699a7-d8d3-44f0-bb32-96d798a63a37) ### Mot...
IDE Support - Python Package - langchain.llms
https://api.github.com/repos/langchain-ai/langchain/issues/13411/comments
1
2023-11-15T18:14:01Z
2024-02-21T16:06:19Z
https://github.com/langchain-ai/langchain/issues/13411
1,995,289,924
13,411
[ "langchain-ai", "langchain" ]
### System Info langchain = 0.0.335 openai = 1.2.4 python = 3.11 ### 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 Selector...
Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream')
https://api.github.com/repos/langchain-ai/langchain/issues/13410/comments
14
2023-11-15T18:00:46Z
2024-05-10T16:08:15Z
https://github.com/langchain-ai/langchain/issues/13410
1,995,270,190
13,410
[ "langchain-ai", "langchain" ]
### System Info Name: langchain Version: 0.0.327 Name: chromadb Version: 0.4.8 Summary: Chroma. ### Who can help? @hwchase17 I believe the chromadb don't close the file handle during persistence making it difficult to use it on cloud services like Modal Labs. What about adding a close method or similar to make...
Persistent client open file handles
https://api.github.com/repos/langchain-ai/langchain/issues/13409/comments
3
2023-11-15T17:59:14Z
2024-02-21T16:06:24Z
https://github.com/langchain-ai/langchain/issues/13409
1,995,268,049
13,409
[ "langchain-ai", "langchain" ]
### System Info langchain on master branch ### 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 - [ ] Output Parsers - [ ]...
RunnableLambda: returned runnable called synchronously when using ainvoke
https://api.github.com/repos/langchain-ai/langchain/issues/13407/comments
2
2023-11-15T17:27:49Z
2023-11-28T11:18:27Z
https://github.com/langchain-ai/langchain/issues/13407
1,995,223,902
13,407
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi there, I am doing a research on creating a PDF reader AI which can answer users' questions based on the PDF uploaded and the prompt user entered. I got it so far with using the OpenAI package but now want's to make it more advance by using ChatOpenAI with the LangChain Schema pack...
Issue: Need Help - Implement ChatOpenAI into my LangChain Research
https://api.github.com/repos/langchain-ai/langchain/issues/13406/comments
3
2023-11-15T17:12:08Z
2023-11-28T21:44:27Z
https://github.com/langchain-ai/langchain/issues/13406
1,995,196,688
13,406
[ "langchain-ai", "langchain" ]
### Feature request Currently no support for multi-modal embeddings from VertexAI exists. However, I did stumble upon this experimental implementation of [GoogleVertexAIMultimodalEmbeddings](https://js.langchain.com/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai) in LangChain for Java...
Add support for multimodal embeddings from Google Vertex AI
https://api.github.com/repos/langchain-ai/langchain/issues/13400/comments
4
2023-11-15T15:02:35Z
2024-02-23T16:06:37Z
https://github.com/langchain-ai/langchain/issues/13400
1,994,956,885
13,400
[ "langchain-ai", "langchain" ]
### Feature request Elastic supports natively to have multiple DenseVectors in a document, which can be selected during query time / search. The langchain vector search interface enables to pass additional keyword args. But at the moment, the implementation of _search in the ElasticSearch implementation does not cons...
ElasticSearch allow for multiple vector_query_fields than default text & make it a kwarg in search functions
https://api.github.com/repos/langchain-ai/langchain/issues/13398/comments
1
2023-11-15T14:42:10Z
2024-03-13T19:57:51Z
https://github.com/langchain-ai/langchain/issues/13398
1,994,918,113
13,398
[ "langchain-ai", "langchain" ]
### System Info Not relevant. ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output...
Missing escape in `llms.utils.enforce_stop_tokens()`
https://api.github.com/repos/langchain-ai/langchain/issues/13397/comments
3
2023-11-15T14:36:39Z
2023-11-17T22:09:17Z
https://github.com/langchain-ai/langchain/issues/13397
1,994,907,050
13,397
[ "langchain-ai", "langchain" ]
### Feature request Make `Message` and/or `Memory` to support `Timestamp` ### Motivation To provide context and clarity regarding the timing of conversation. This can be helpful for reference and coordination, especially when discussing time-sensitive topics. I noticed that [one agent in opengpts](https://opengpt...
[Enhancement] Timestamp supported Message and/or Memory
https://api.github.com/repos/langchain-ai/langchain/issues/13393/comments
2
2023-11-15T13:21:24Z
2023-11-15T13:40:39Z
https://github.com/langchain-ai/langchain/issues/13393
1,994,769,118
13,393
[ "langchain-ai", "langchain" ]
### System Info Windows 11, Langchain 0.0327, Python 3.10. The Doc2txtLoader does not work for web paths, as a PermissionError occurs when self.tempfile attempts to write content to the tempfile: if not os.path.isfile(self.file_path) and self._is_valid_url(self.file_path): r = requests.ge...
Doc2txtLoader not working for web paths
https://api.github.com/repos/langchain-ai/langchain/issues/13391/comments
3
2023-11-15T10:15:47Z
2024-02-21T16:06:34Z
https://github.com/langchain-ai/langchain/issues/13391
1,994,466,938
13,391
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I'm trying to work through the streaming parameters around run_manager and callbacks. Here's a minimal setup of what I'm trying to establish ``` class MyTool(BaseTool) name: "my_extra_tool" async def _arun(self, query: str, run_manager: Optional[AsyncCallbackMan...
DOC: Clarify how to handle runs and linked calls with run_managers
https://api.github.com/repos/langchain-ai/langchain/issues/13390/comments
5
2023-11-15T09:59:55Z
2024-02-21T16:06:39Z
https://github.com/langchain-ai/langchain/issues/13390
1,994,439,783
13,390
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.321 Python: 3.10 ### 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 P...
MySQL : SQL Query generated contains enclosing single quotes leading to SQL Alchemy giving Programming Error, 1064
https://api.github.com/repos/langchain-ai/langchain/issues/13387/comments
4
2023-11-15T09:09:20Z
2023-11-15T09:51:03Z
https://github.com/langchain-ai/langchain/issues/13387
1,994,353,668
13,387
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ``` openai.proxy = { "http": "http://127.0.0.1:7890", "https": "http://127.0.0.1:7890" } callback = AsyncIteratorCallbackHandler() llm = OpenAI( openai_api_key= os.environ["OPENAI_API_KEY"], temperature=0, streaming=True, ...
Issue: <error faq() takes 1 positional argument but 2 were given>
https://api.github.com/repos/langchain-ai/langchain/issues/13383/comments
8
2023-11-15T04:05:00Z
2024-02-21T16:06:44Z
https://github.com/langchain-ai/langchain/issues/13383
1,993,997,381
13,383
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi guys, Here is the situation, I have 3 tools to use one by one. But, the outputs of which are not in the same types. Say: Tool 1: output normally, and can be further thought by GPT in the chain, Tool 2: output specially, which means the output should not be thought further by GP...
Custom Tool Output
https://api.github.com/repos/langchain-ai/langchain/issues/13382/comments
4
2023-11-15T03:27:22Z
2024-02-21T16:06:49Z
https://github.com/langchain-ai/langchain/issues/13382
1,993,967,484
13,382
[ "langchain-ai", "langchain" ]
### System Info LangChain version: Platform: WSL for Windows (Linux 983G3J3 5.15.90.1-microsoft-standard-WSL2) Python version: 3.10.6 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embed...
VertexAIModelGarden _generate method not in sync with VertexAI API
https://api.github.com/repos/langchain-ai/langchain/issues/13370/comments
8
2023-11-14T21:55:57Z
2024-03-18T16:06:29Z
https://github.com/langchain-ai/langchain/issues/13370
1,993,638,093
13,370
[ "langchain-ai", "langchain" ]
### System Info openai==1.2.4 langchain==0.0.325 llama_index==0.8.69 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt S...
module 'openai' has no attribute 'error'
https://api.github.com/repos/langchain-ai/langchain/issues/13368/comments
15
2023-11-14T20:37:27Z
2024-05-15T21:00:26Z
https://github.com/langchain-ai/langchain/issues/13368
1,993,528,820
13,368
[ "langchain-ai", "langchain" ]
### System Info after getting million embedding records in postgres, everything became ridiculously slow and postgres cpu usage went to 100% fix was simple: ``` CREATE INDEX CONCURRENTLY langchain_pg_embedding_collection_id ON langchain_pg_embedding(collection_id); CREATE INDEX CONCURRENTLY langchain_pg_collection...
PGVector don't have indices what kills postgres in production
https://api.github.com/repos/langchain-ai/langchain/issues/13365/comments
2
2023-11-14T19:38:34Z
2024-02-20T16:05:56Z
https://github.com/langchain-ai/langchain/issues/13365
1,993,436,169
13,365
[ "langchain-ai", "langchain" ]
### System Info CosmosDBHistory messages are wiping out the session of each run. Need the library to not recreate the object for the same session or else this cannot be used as chatbot which is stateless ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [...
CosmosDBHistoryMessage
https://api.github.com/repos/langchain-ai/langchain/issues/13361/comments
6
2023-11-14T18:58:13Z
2024-06-08T16:07:30Z
https://github.com/langchain-ai/langchain/issues/13361
1,993,370,326
13,361
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. notion page properties https://developers.notion.com/reference/page-property-values Current version Notion DB loader for doesn't supports following properties for metadata - `checkbox` - `email` - `number` - `select` ### Suggestion: I would like to make a PR to fix thi...
Issue: Notion DB loader for doesn't supports some properties
https://api.github.com/repos/langchain-ai/langchain/issues/13356/comments
0
2023-11-14T17:20:22Z
2023-11-15T04:31:13Z
https://github.com/langchain-ai/langchain/issues/13356
1,993,198,924
13,356
[ "langchain-ai", "langchain" ]
### Feature request Supplying a not default parameter to a model is not something that will require always showing a warning. It should be easy to suppress that specific warning. ### Motivation The logging gets full of those warnings just because you are supplying not default parameters such as "top_p", "freq...
Ability to suppress warning when supplying a "not default parameter" to OpenAI Chat Models
https://api.github.com/repos/langchain-ai/langchain/issues/13351/comments
3
2023-11-14T15:43:35Z
2024-02-20T16:06:00Z
https://github.com/langchain-ai/langchain/issues/13351
1,993,012,205
13,351
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I have my code and for the first section of it I am inputting a memory key based in the session_id as a UUID I am receiving the following error: Any idea what the issue is? > Traceback (most recent call last): > File "/Users/habuhassan004/Desktop/VIK/10x-csv-chat/llm.py", line 62,...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/13349/comments
7
2023-11-14T13:53:39Z
2024-02-20T16:06:06Z
https://github.com/langchain-ai/langchain/issues/13349
1,992,791,286
13,349
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ``` llm = ChatOpenAI( openai_api_key= os.environ["OPENAI_API_KEY"], temperature=0, streaming=True, callbacks=[AsyncIteratorCallbackHandler()] ) embeddings = OpenAIEmbeddings() loader = TextLoader("static/faq/ecommerce_faq.txt") documents = loader.load() text...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/13344/comments
4
2023-11-14T11:02:21Z
2024-02-20T16:06:11Z
https://github.com/langchain-ai/langchain/issues/13344
1,992,514,531
13,344
[ "langchain-ai", "langchain" ]
### Feature request Is there a way to autoawq support for vllm, Im 'setting quantization to 'awq' but its not working ### Motivation faster inference ### Your contribution N/A
autoawq for vllm
https://api.github.com/repos/langchain-ai/langchain/issues/13343/comments
3
2023-11-14T10:47:09Z
2024-03-13T19:57:18Z
https://github.com/langchain-ai/langchain/issues/13343
1,992,482,519
13,343
[ "langchain-ai", "langchain" ]
### System Info Langchain Version: 0.0.335 Platform: Windows 10 Python Version = 3.11.3 IDE: VS Code ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [...
PowerPoint loader crashing
https://api.github.com/repos/langchain-ai/langchain/issues/13342/comments
9
2023-11-14T10:24:09Z
2024-02-25T16:05:42Z
https://github.com/langchain-ai/langchain/issues/13342
1,992,439,429
13,342
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi all. Can anyone help to answer why there's no init function (constructor) for classes in LangChain, while Pydantic occurs everywhere. It seems hard for IDEs to jump to related codes. Is that one kind of anti-pattern of Python programming? ### Suggestion: _No response_
Why no constructor (init function) in Langchain while pydantics are everywhere?
https://api.github.com/repos/langchain-ai/langchain/issues/13340/comments
3
2023-11-14T09:14:09Z
2024-02-14T00:35:21Z
https://github.com/langchain-ai/langchain/issues/13340
1,992,311,627
13,340
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Hi all, on main website [langchain.com](https://www.langchain.com/), above the folder, to the right of hero section both boxes (python and js) point to the [python docs](https://python.langchain.com/docs/get_started/introduction). ### Idea or request for content: It's bet...
DOC: Wrong documentation link
https://api.github.com/repos/langchain-ai/langchain/issues/13336/comments
2
2023-11-14T08:10:40Z
2024-02-20T16:06:20Z
https://github.com/langchain-ai/langchain/issues/13336
1,992,202,637
13,336
[ "langchain-ai", "langchain" ]
### Feature request LangChain supports GET functions, but there is no support for POST functions. This feature request proposes the addition of POST API functionality to enhance the capabilities of LangChain. ### Motivation The motivation behind this feature request is to extend the capabilities of LangChain to hand...
Add POST API Functionality to LangChain
https://api.github.com/repos/langchain-ai/langchain/issues/13334/comments
5
2023-11-14T07:49:34Z
2024-05-03T18:24:54Z
https://github.com/langchain-ai/langchain/issues/13334
1,992,174,212
13,334
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I couldnt find any documentation on this , please help How can i stream the response from Ollama ? ### Suggestion: _No response_
Issue: <How to do streaming response from Ollama??>
https://api.github.com/repos/langchain-ai/langchain/issues/13333/comments
6
2023-11-14T06:21:20Z
2024-06-14T21:05:29Z
https://github.com/langchain-ai/langchain/issues/13333
1,992,069,370
13,333
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm trying to replicate [this example](https://python.langchain.com/docs/integrations/vectorstores/elasticsearch#basic-example) of langchain. I'm using ElasticSearch as the database to store the embedding. In the given example I have replaced `embeddings = OpenAIEmbeddings()` with `emb...
Reduce embeddings size
https://api.github.com/repos/langchain-ai/langchain/issues/13332/comments
4
2023-11-14T05:19:21Z
2024-02-26T01:10:56Z
https://github.com/langchain-ai/langchain/issues/13332
1,992,011,242
13,332