issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "hwchase17", "langchain" ]
### System Info ## Description While using the Langchain application, I am frequently encountering an error that relates to rate limiting when invoking OpenAI's API. This tends to occur when I try to perform multiple translations consecutively or concurrently, causing a significant interruption to the user experience...
Langchain rate limit error while invoking OpenAI API
https://api.github.com/repos/langchain-ai/langchain/issues/6071/comments
2
2023-06-13T00:04:42Z
2023-09-20T16:08:31Z
https://github.com/langchain-ai/langchain/issues/6071
1,753,776,827
6,071
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Started a local server just to learn more about with `langchain plus start`. It says that I can generate a new api as it appears to have an endpoint in port 1984. But when I click the menu there's no **Settings** option there. --- <img width="1787" alt="Screenshot 2023-06-12 at 1...
Issue: LangChain Plus Api Key
https://api.github.com/repos/langchain-ai/langchain/issues/6059/comments
2
2023-06-12T19:35:50Z
2023-09-23T16:05:18Z
https://github.com/langchain-ai/langchain/issues/6059
1,753,439,350
6,059
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello, I am having trouble running my code due to an error that I encountered. The error message that I received is "ModuleNotFoundError: No module named 'langchain.callbacks.shared'". I am not sure how to resolve this issue and would appreciate any help or guidance. This line of c...
Issue: ModuleNotFoundError: No module named 'langchain.callbacks.shared'
https://api.github.com/repos/langchain-ai/langchain/issues/6058/comments
2
2023-06-12T18:33:04Z
2023-09-27T16:06:14Z
https://github.com/langchain-ai/langchain/issues/6058
1,753,330,704
6,058
[ "hwchase17", "langchain" ]
### System Info Python version: 3.10.11 (main, May 17 2023, 14:30:36) [Clang 14.0.6 ] pymongo 4.3.3 langchain 0.0.190 ### Who can help? @eyurtsev @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] ...
When using MongoDBAtlasVectorSearch i get KeyError: 'text' despite having the collection populated
https://api.github.com/repos/langchain-ai/langchain/issues/6055/comments
3
2023-06-12T17:58:39Z
2023-10-14T20:12:22Z
https://github.com/langchain-ai/langchain/issues/6055
1,753,265,916
6,055
[ "hwchase17", "langchain" ]
Hello, Is there a way to track progress when giving a list of inputs to a LLMChain object using tqdm for example? I didn't see any parameter that would allow me to use tqdm. I also checked if I could write a Callback for this. But the hooks doesn't seem to allow for that. Anyone managed to use some progress bar? ...
Progress bar for LLMChain
https://api.github.com/repos/langchain-ai/langchain/issues/6053/comments
7
2023-06-12T16:21:29Z
2024-07-10T16:52:55Z
https://github.com/langchain-ai/langchain/issues/6053
1,753,106,960
6,053
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.195 python 3.9 the client doesn't recognize 'MY_TABLE' and 'my_table' as the same table. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Mo...
tables names are not case insensitive in the Snowflake Client
https://api.github.com/repos/langchain-ai/langchain/issues/6052/comments
1
2023-06-12T16:01:50Z
2023-06-12T17:44:27Z
https://github.com/langchain-ai/langchain/issues/6052
1,753,074,942
6,052
[ "hwchase17", "langchain" ]
### System Info Python 3.10.6 chromadb==0.3.22 langchain==0.0.194 ### Who can help? similarity_search_with_score witn Chroma DB keeps higher score for less relevant documents. ``` embeddings = OpenAIEmbeddings( model="text-embedding-ada-002", openai_api_key = openai.api_key, chunk_size=1 ) ...
similarity_search_with_score witn Chroma DB keeps higher score for less relevant documents.
https://api.github.com/repos/langchain-ai/langchain/issues/6046/comments
3
2023-06-12T13:57:49Z
2023-12-30T08:59:06Z
https://github.com/langchain-ai/langchain/issues/6046
1,752,825,122
6,046
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am trying to load llama-ccp embeddings into a postgresql with the vector extension. The db has the vector extension installed. I am using a user that has the correct privileges to create a new table and insert the embeddings. The code runs smoothly without any errors, but the collect...
Issue: langchain + pgvector fail to create new tables in postgresql db
https://api.github.com/repos/langchain-ai/langchain/issues/6045/comments
9
2023-06-12T13:29:06Z
2024-02-05T12:55:09Z
https://github.com/langchain-ai/langchain/issues/6045
1,752,773,658
6,045
[ "hwchase17", "langchain" ]
### Feature request Langchain agent performs multiple intermediate steps before returning a response. We want to emit an event for every intermediate step during processing, so that the client-side can be updated about what's being processed at any given time. For example, if an intermediate steps involves searchi...
Emiting events during processing of intermediate steps
https://api.github.com/repos/langchain-ai/langchain/issues/6041/comments
2
2023-06-12T12:00:43Z
2023-09-18T16:07:58Z
https://github.com/langchain-ai/langchain/issues/6041
1,752,603,109
6,041
[ "hwchase17", "langchain" ]
### Feature request Make [modelname_to_contextsize](https://github.com/hwchase17/langchain/blob/289e9aeb9d122d689d68b2e77236ce3dfcd606a7/langchain/llms/openai.py#L503) as staticmethod to use it without create an object. ### Motivation While using ChatOpenAI or AzureChatOpenAI, to use modelname_to_contextsize w...
Make modelname_to_contextsize as a staticmethod to use it without create an object
https://api.github.com/repos/langchain-ai/langchain/issues/6039/comments
0
2023-06-12T10:23:07Z
2023-06-23T11:58:44Z
https://github.com/langchain-ai/langchain/issues/6039
1,752,416,131
6,039
[ "hwchase17", "langchain" ]
### System Info I followed the steps to install gpt4all based on this repo https://github.com/nomic-ai/gpt4all/tree/main/gpt4all-bindings/python I have the latest version of langchain ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scrip...
Validation error for gpt4all
https://api.github.com/repos/langchain-ai/langchain/issues/6038/comments
5
2023-06-12T09:44:27Z
2023-09-20T16:08:46Z
https://github.com/langchain-ai/langchain/issues/6038
1,752,342,167
6,038
[ "hwchase17", "langchain" ]
### Issue with current documentation: Report I am currently reading the documentation for version 0.0.197 and testing step by step. When I ran into the "agents-with-chat-models" section, I encountered a type error in the code. The specific situation is as follows: [doc link](https://python.langchain.com/en/lates...
Report:Discussion about the bug mentioned in the documentation
https://api.github.com/repos/langchain-ai/langchain/issues/6037/comments
1
2023-06-12T09:43:17Z
2023-09-15T22:13:04Z
https://github.com/langchain-ai/langchain/issues/6037
1,752,340,270
6,037
[ "hwchase17", "langchain" ]
### System Info langchain = "^0.0.197" ### 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 Parsers - [ ] Document...
TypeError("Requests.apost() missing 1 required positional argument: 'data'")
https://api.github.com/repos/langchain-ai/langchain/issues/6034/comments
3
2023-06-12T08:37:26Z
2023-09-25T09:49:03Z
https://github.com/langchain-ai/langchain/issues/6034
1,752,222,940
6,034
[ "hwchase17", "langchain" ]
### Feature request Let users easily define the value of `k`, which is the number of documents retrieved, when specifying a VectorStore. ### Motivation When working with documents, users typically need to specify VectorStore, and users may often want to define the specific number of documents being retrieved, i.e., ...
Add clearer API for defining `k` (number of documents retrieved) in VectorStore/retriever defining functions
https://api.github.com/repos/langchain-ai/langchain/issues/6033/comments
2
2023-06-12T08:24:14Z
2023-10-25T16:08:23Z
https://github.com/langchain-ai/langchain/issues/6033
1,752,197,041
6,033
[ "hwchase17", "langchain" ]
### System Info @hwchase17 @agola11 Hi. From time to time, I am getting the following error: ``` 2023-06-12 02:27:55.993 Uncaught app exception Traceback (most recent call last): File "C:\Users\v-alakubov\AppData\Local\anaconda3\envs\py311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", l...
KeyError: 'langchain' (circular import error)
https://api.github.com/repos/langchain-ai/langchain/issues/6032/comments
6
2023-06-12T07:52:33Z
2024-01-30T00:42:49Z
https://github.com/langchain-ai/langchain/issues/6032
1,752,131,402
6,032
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I keep getting this error when generating Chroma vectors. Here's my code: `from langchain.chat_models import ChatOpenAI from langchain.chains import RetrievalQA from langchain.document_loaders import GoogleDriveLoader from langchain.embeddings import OpenAIEmbeddings from langchain....
ValueError: not enough values to unpack (expected 2, got 1)
https://api.github.com/repos/langchain-ai/langchain/issues/6029/comments
9
2023-06-12T05:50:34Z
2023-09-19T16:08:44Z
https://github.com/langchain-ai/langchain/issues/6029
1,751,946,027
6,029
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.196 windows, wsl2 python 3.11.3 ### 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 - ...
LLMMathChain 'VariableNode' object has no attribute 'factorial'. Please try again with a valid numerical expression
https://api.github.com/repos/langchain-ai/langchain/issues/6028/comments
2
2023-06-12T05:42:29Z
2023-09-18T16:08:14Z
https://github.com/langchain-ai/langchain/issues/6028
1,751,938,791
6,028
[ "hwchase17", "langchain" ]
The documentation says: > It limits the Document content by doc_content_chars_max. > Set doc_content_chars_max=None if you don't want to limit the content size. But the claim type of int prevents this to be set as None: https://github.com/hwchase17/langchain/blob/289e9aeb9d122d689d68b2e77236ce3dfcd606a7...
ArxivAPIWrapper
https://api.github.com/repos/langchain-ai/langchain/issues/6027/comments
0
2023-06-12T05:30:46Z
2023-06-16T05:16:43Z
https://github.com/langchain-ai/langchain/issues/6027
1,751,928,656
6,027
[ "hwchase17", "langchain" ]
### System Info python 3.9.13 langchain (0.0.163) ### 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 Parse...
Issue : Agent Executor stops due to iteration limit or time limit.
https://api.github.com/repos/langchain-ai/langchain/issues/6025/comments
4
2023-06-12T03:48:01Z
2024-07-30T08:37:31Z
https://github.com/langchain-ai/langchain/issues/6025
1,751,831,130
6,025
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. 扫码进群,交流Chinese LLM 模型训练的问题和LLM的技术 ![1acaa4cf83de26d556929f1f6ef94ca](https://github.com/hwchase17/langchain/assets/90118245/a10bdb88-aa9c-4438-b77e-9f6fbc7b71e1)
LLM技术和训练问题的微信交流群
https://api.github.com/repos/langchain-ai/langchain/issues/6024/comments
2
2023-06-12T03:21:25Z
2023-10-12T16:08:53Z
https://github.com/langchain-ai/langchain/issues/6024
1,751,817,138
6,024
[ "hwchase17", "langchain" ]
ERROR: type should be string, got "https://github.com/hwchase17/langchain/blob/18af149e91e62b3ac7728ddea420688d41043734/langchain/text_splitter.py#L420\r\n\r\nBecause it goes from top to bottom the last chunk has the potential to be of any size and is frequently too small to be useful.\r\n\r\nI wrote a new class that is more or less a copy of the original function, but adjusts the output if if the last chunk is too small (less than 75% of chunk_size). It does this by adjusting the chunk size upwards to chunk_size = chunk_sizer + (small sized chunk / (chunks - 1)). This allows the last chunks token count to be distributed across all chunks and the end result is that there are no longer bad (small) chunks.\r\n\r\nI'm hesitant to create a PR from this because it's such a large change. I believe the correct course would be to integrate it into the main function, but because it rewrites the merge_splits function it would impact all splitters. It's also quite a bit slower than the original class because it can take a few tries to get to the write size. There are optimizations to be had.\r\n@hwchase17 \r\nhttps://github.com/ShelbyJenkins/langchain/blob/master/langchain/text_splitter.py#L793"
Last chunk output by RecursiveCharacterTextSplitter is often too small to be useful
https://api.github.com/repos/langchain-ai/langchain/issues/6019/comments
1
2023-06-12T00:39:03Z
2023-09-18T16:08:24Z
https://github.com/langchain-ai/langchain/issues/6019
1,751,680,025
6,019
[ "hwchase17", "langchain" ]
### System Info SQLDatabaseChain is appending a semicolon to created SQL. which is not liked by cx_oracle (or Oracle database by implication) - since it appends another semicolon in the end. making two semicolons in effect and causing error sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) ORA-00933: SQL com...
extra semicolon with SQLDatabaseChain when used with Oracle
https://api.github.com/repos/langchain-ai/langchain/issues/6016/comments
3
2023-06-11T22:24:31Z
2023-09-19T16:08:49Z
https://github.com/langchain-ai/langchain/issues/6016
1,751,630,974
6,016
[ "hwchase17", "langchain" ]
### Feature request Currently the PALChain does in-context learning by passing an in-context learning prompt with 8 maths problem solutions in a single large prompt. If we want the power of PALChain to increase and solve different problem types, we can't keep on adding more and more problem solutions in a single pr...
PALChain In-context-learning won't scale to multiple problem types.
https://api.github.com/repos/langchain-ai/langchain/issues/6014/comments
1
2023-06-11T22:13:42Z
2023-09-17T17:13:12Z
https://github.com/langchain-ai/langchain/issues/6014
1,751,628,136
6,014
[ "hwchase17", "langchain" ]
###Use of Output parser with LLM Chain I want to use the sequential chain of two LLm chains. The first chain is coded as below. I want to get the output of this chain as a Python list of aspects. ``` # This is an LLMChain for Aspects Extraction. examples =[ { "review": '''Improve the communication updates to...
How to use Output parser with LLM Chain
https://api.github.com/repos/langchain-ai/langchain/issues/6013/comments
10
2023-06-11T20:46:29Z
2023-10-15T16:06:38Z
https://github.com/langchain-ai/langchain/issues/6013
1,751,597,844
6,013
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Description: I am currently using the lang chain repository for my project, specifically the functionality related to similarity search. I have encountered an issue when attempting to retrieve the chunk number from the search results. To provide some context, I have already performed...
Issue with retrieving the chunk number from similarity search in lang chain
https://api.github.com/repos/langchain-ai/langchain/issues/6004/comments
3
2023-06-11T16:08:28Z
2023-11-16T16:07:26Z
https://github.com/langchain-ai/langchain/issues/6004
1,751,497,935
6,004
[ "hwchase17", "langchain" ]
### System Info Hi, I am using UnstructureUrlLoader to upload the urls into Chroma vector database but it is only uploading the html content of the url, not uploading the pdfs available on this url that's why it is not giving the answer for query related to pdf files while performing querying using RetrievalQA chai...
UnstructuredUrlLoader or SeleniumUrlLoader are not able to upload the pdf's consisting by urls.
https://api.github.com/repos/langchain-ai/langchain/issues/6000/comments
3
2023-06-11T08:55:35Z
2023-09-28T16:06:24Z
https://github.com/langchain-ai/langchain/issues/6000
1,751,329,902
6,000
[ "hwchase17", "langchain" ]
### System Info langchain version - 0.0.154 ubuntu - 18.04 ### 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 - [ ] O...
AttributeError: choice while creating python agent
https://api.github.com/repos/langchain-ai/langchain/issues/5999/comments
1
2023-06-11T06:54:03Z
2023-09-17T17:13:16Z
https://github.com/langchain-ai/langchain/issues/5999
1,751,277,196
5,999
[ "hwchase17", "langchain" ]
### System Info version = "0.0.157" ### 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 - [x] Docu...
TypeError: TextSplitter.__init__() got an unexpected keyword argument 'add_start_index'
https://api.github.com/repos/langchain-ai/langchain/issues/5998/comments
4
2023-06-11T06:33:16Z
2023-12-06T17:45:30Z
https://github.com/langchain-ai/langchain/issues/5998
1,751,271,273
5,998
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The human input tool only works with agents run from the command line. As far as I can see, it is impossible to use it when the conversation is being displayed in a web UI (or, for that matter, over any other channel). ### Suggestion: Implement a callback for handling requests for huma...
Human Input tool is not useable in production
https://api.github.com/repos/langchain-ai/langchain/issues/5996/comments
6
2023-06-11T05:52:55Z
2024-02-12T16:18:14Z
https://github.com/langchain-ai/langchain/issues/5996
1,751,260,303
5,996
[ "hwchase17", "langchain" ]
### Issue with current documentation: I know this is a pretty general question, but in my testing, the ChatGPT console (with GPT-4) is performing much better for text summarization than `ChatOpenAI(model='gpt-4')` is. Are the default settings intended to be as similar as possible, or are there other known argume...
DOC: ChatOpenAI parameters to get it to respond like ChatGPT Plus
https://api.github.com/repos/langchain-ai/langchain/issues/5995/comments
4
2023-06-11T02:42:21Z
2023-09-18T16:08:34Z
https://github.com/langchain-ai/langchain/issues/5995
1,751,205,661
5,995
[ "hwchase17", "langchain" ]
### Feature request I think it would be a nice idea to implement the langchain logic in a minimalistic way using python decorators to quickly prototype stuff. ### Motivation <img width="462" alt="Screenshot 2023-06-10 at 17 22 29" src="https://github.com/hwchase17/langchain/assets/34897716/a22aa5fd-be7a-4eaa-a...
Implement nice pythonic @decorators [see image]
https://api.github.com/repos/langchain-ai/langchain/issues/5987/comments
1
2023-06-10T15:27:35Z
2023-09-16T16:06:27Z
https://github.com/langchain-ai/langchain/issues/5987
1,751,010,738
5,987
[ "hwchase17", "langchain" ]
### System Info >>> langchain.__version__ '0.0.194' Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat...
pydantic validation error when creating a HumanMessagePromptTemplate from a PipelinePromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/5986/comments
1
2023-06-10T13:47:36Z
2023-09-17T17:13:27Z
https://github.com/langchain-ai/langchain/issues/5986
1,750,977,213
5,986
[ "hwchase17", "langchain" ]
I am trying to make a chatbot which remember the existing chat and can answer from that as well as from document. Here is what I have tried. ``` memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) qa = ConversationalRetrievalChain.from_llm( Chat...
ConversationalRetrievalChain did not look into chat histroy while making an answer
https://api.github.com/repos/langchain-ai/langchain/issues/5984/comments
1
2023-06-10T11:32:30Z
2023-06-13T01:56:12Z
https://github.com/langchain-ai/langchain/issues/5984
1,750,931,497
5,984
[ "hwchase17", "langchain" ]
### Feature request What the title says. A method in the `VectorStore` class that allows the size of the store to be retrieved. ### Motivation This could be useful for certain applications of continuous storage. ### Your contribution Happy to contribute with some guidance.
Get number of vectors in Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/5980/comments
7
2023-06-10T09:20:56Z
2024-06-16T16:07:06Z
https://github.com/langchain-ai/langchain/issues/5980
1,750,888,737
5,980
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.195 ### Who can help? @vowelparrot @hwchase17 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] ...
STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION with gpt-4 doesn't follow through the tasks, while gpt-3.5-turbo does.
https://api.github.com/repos/langchain-ai/langchain/issues/5978/comments
3
2023-06-10T07:53:02Z
2023-12-06T17:45:35Z
https://github.com/langchain-ai/langchain/issues/5978
1,750,855,665
5,978
[ "hwchase17", "langchain" ]
### System Info The current behavior of the ZapierToolkit in the LangChain tool occasionally results in the execution of tasks that the user did not specifically request. For example, when a user asks the ZapierToolkit to read the most recent email, it sometimes replies to the email even when the user did not explic...
ZapierToolkit Automatically Performing Unrequested Tasks
https://api.github.com/repos/langchain-ai/langchain/issues/5977/comments
1
2023-06-10T06:47:07Z
2023-09-16T16:06:38Z
https://github.com/langchain-ai/langchain/issues/5977
1,750,835,797
5,977
[ "hwchase17", "langchain" ]
### System Info Latest langchain & openai 0.27.5 https://python.langchain.com/en/latest/modules/agents/tools/custom_tools.html ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models...
pydantic.error_wrappers.ValidationError for args_schema
https://api.github.com/repos/langchain-ai/langchain/issues/5974/comments
4
2023-06-10T03:33:28Z
2024-02-11T16:19:26Z
https://github.com/langchain-ai/langchain/issues/5974
1,750,766,369
5,974
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I was trying to store different vectorstore to chroma with different ids like "vectorstore = Chroma.from_documents(documents, embeddings, ids="test1",)", but it keeps telling Number of embeddings 9 must match number of ids 1 and how i can erase some of vectorstore inside chroma, if i ca...
Issue: Is there some detail documents about chroma.from_documents args?
https://api.github.com/repos/langchain-ai/langchain/issues/5973/comments
3
2023-06-10T02:40:35Z
2023-09-18T16:08:39Z
https://github.com/langchain-ai/langchain/issues/5973
1,750,751,056
5,973
[ "hwchase17", "langchain" ]
### Feature request make recursivecharactersplit return start index and end index of a chunk in the original doc then user can get snnipt by `original_doc[start_index:end_index]` ### Motivation This is important info of the trunk. ### Your contribution I can not do it now, but if I have time, I will t...
Get start index and end index of a chunk in the original doc with recursivecharactersplit.
https://api.github.com/repos/langchain-ai/langchain/issues/5972/comments
3
2023-06-10T02:38:21Z
2023-09-18T16:08:43Z
https://github.com/langchain-ai/langchain/issues/5972
1,750,750,087
5,972
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm using `Unstructured` for parsing PDFs and have it installed through a docker dev container. It was working a few months ago but after I rebuilt the container for deployment, it suddenly breaks. Here's my dockerfile: ``` FROM python:3.9-slim-buster # Update package lists RUN ...
`UnstructuredPDFLoader` suddenly can't parse scanned PDFs
https://api.github.com/repos/langchain-ai/langchain/issues/5968/comments
1
2023-06-10T02:03:23Z
2023-09-16T16:06:53Z
https://github.com/langchain-ai/langchain/issues/5968
1,750,740,372
5,968
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.192, Python: 3.10 ``` from langchain.cache import SQLiteCache langchain.llm_cache = SQLiteCache(database_path='.langchain.db') from langchain.llms import OpenAI my_llm = OpenAI(model_name='text-davinci-003', temperature=0, max_tokens=1, logprobs=5) result=my_llm.gener...
SQLiteCache does not cache logprobs
https://api.github.com/repos/langchain-ai/langchain/issues/5965/comments
2
2023-06-10T00:26:29Z
2023-09-18T16:08:49Z
https://github.com/langchain-ai/langchain/issues/5965
1,750,669,192
5,965
[ "hwchase17", "langchain" ]
### Feature request Need to add proxy to GoogleSearchAPIWrapper() Perhaps using this [approach](https://github.com/googleapis/google-api-python-client/issues/1078#issuecomment-718919158) and/or this [approach](https://github.com/googleapis/google-api-python-client/issues/1260#issuecomment-802728649)? ``` impo...
Add Proxy to GoogleSearchAPIWrapper
https://api.github.com/repos/langchain-ai/langchain/issues/5964/comments
2
2023-06-09T23:38:23Z
2023-11-07T16:07:53Z
https://github.com/langchain-ai/langchain/issues/5964
1,750,638,342
5,964
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Sometimes, the agent took too long to respond, stopping it and trying again would be a good option, So, How Can I Stop and Agent? Thanks in advance. ### Suggestion: _No response_
Issue: How to stop an AgentExecutor after has been dispatched/ran.
https://api.github.com/repos/langchain-ai/langchain/issues/5963/comments
5
2023-06-09T23:01:56Z
2023-09-18T16:08:54Z
https://github.com/langchain-ai/langchain/issues/5963
1,750,591,178
5,963
[ "hwchase17", "langchain" ]
### Issue with current documentation: This is for the documentation page: https://python.langchain.com/en/latest/modules/agents/agents/examples/structured_chat.html This does not work in Jupyter or if you download it to a .py file and run it. You do get 2 different errors though. When you run this in Jupyter yo...
DOC: Documented example doesn't work
https://api.github.com/repos/langchain-ai/langchain/issues/5957/comments
15
2023-06-09T18:21:14Z
2024-02-24T13:48:27Z
https://github.com/langchain-ai/langchain/issues/5957
1,750,318,438
5,957
[ "hwchase17", "langchain" ]
### System Info langchain version = '0.0.191' elasticsearch version='(8, 8, 0)' ### Who can help? @hwchase17 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates...
BadRequestError: BadRequestError(400, 'search_phase_execution_exception', 'runtime error') using ElasticVectorSearch
https://api.github.com/repos/langchain-ai/langchain/issues/5953/comments
1
2023-06-09T17:26:11Z
2023-09-15T16:08:07Z
https://github.com/langchain-ai/langchain/issues/5953
1,750,256,739
5,953
[ "hwchase17", "langchain" ]
### Feature request There is no way to update existing vectors in the opensearch implementation for example if some existing text was changed by passing in custom ids. https://github.com/hwchase17/langchain/blob/master/langchain/vectorstores/opensearch_vector_search.py#L95 ### Motivation Pinecone implementation h...
Ability to pass in ids for opensearch docs
https://api.github.com/repos/langchain-ai/langchain/issues/5952/comments
0
2023-06-09T17:06:34Z
2023-06-26T15:58:45Z
https://github.com/langchain-ai/langchain/issues/5952
1,750,232,393
5,952
[ "hwchase17", "langchain" ]
### Feature request Add a way to pass pre-embedded texts into the VectorStore interface. Options: - Standardize the add_embeddings function that has been added to some of the implementations. e.g. ``` def add_embeddings( self, texts: List[str], embeddings: List[List[float]], ...
VectorStore add embedded texts interface
https://api.github.com/repos/langchain-ai/langchain/issues/5945/comments
7
2023-06-09T14:33:34Z
2024-02-12T16:18:19Z
https://github.com/langchain-ai/langchain/issues/5945
1,750,015,297
5,945
[ "hwchase17", "langchain" ]
### System Info I7 32 GBRAM , ASUS dynabook protege ### Who can help? @hwchase17 @agola11 @vow ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ]...
Not able to set k top documents in Chroma DB based Retriever
https://api.github.com/repos/langchain-ai/langchain/issues/5944/comments
2
2023-06-09T14:29:00Z
2023-09-27T16:06:25Z
https://github.com/langchain-ai/langchain/issues/5944
1,750,007,818
5,944
[ "hwchase17", "langchain" ]
### Feature request Hi, I'd love to request examples/documentation for how to use [Gorilla](https://github.com/ShishirPatil/gorilla#faqs) with LangChain. ### Motivation This looks like a great model to serve correct API calls. ### Your contribution 🤷🏻‍♂️
Gorilla examples
https://api.github.com/repos/langchain-ai/langchain/issues/5941/comments
4
2023-06-09T13:50:08Z
2024-02-14T00:02:23Z
https://github.com/langchain-ai/langchain/issues/5941
1,749,936,984
5,941
[ "hwchase17", "langchain" ]
### Feature request Hi, I would like to use `RetrievalQA` chain with `chain_type` equal to map only. Is it actually possible with LangChain library? When generating answer I also get logits scores for each answer, so I would be able to choose the best answer based on these logits scores. Consequently, I only need t...
Define map only for chain_type of RetrievalQA
https://api.github.com/repos/langchain-ai/langchain/issues/5935/comments
1
2023-06-09T10:43:36Z
2023-09-15T16:08:11Z
https://github.com/langchain-ai/langchain/issues/5935
1,749,644,936
5,935
[ "hwchase17", "langchain" ]
### Feature request Hi, I would like to use `RetrievalQA` chain with custom remote embeddings API. As far as I could see when searching through documentation, I couldn't find any way on how to specify the url and payload to send to the custom API in the argument of the `RetrievalQA` object. One solution would be...
Combination of RetrievalQA with custom embeddings API
https://api.github.com/repos/langchain-ai/langchain/issues/5933/comments
1
2023-06-09T10:34:32Z
2023-09-15T16:08:17Z
https://github.com/langchain-ai/langchain/issues/5933
1,749,631,612
5,933
[ "hwchase17", "langchain" ]
### System Info A4000 GPU transformer 4.30.0 langchain latest ### 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 - [...
Facing issue while trying to Stream output for QLoRa model using TextIteratorStreamer
https://api.github.com/repos/langchain-ai/langchain/issues/5932/comments
2
2023-06-09T10:27:05Z
2023-10-06T16:07:39Z
https://github.com/langchain-ai/langchain/issues/5932
1,749,619,689
5,932
[ "hwchase17", "langchain" ]
### Langchain agent error I have the following error while trying to load an llm agent and connecting to wikipedia tool, it seems that the response is generated but throws an error when trying to convert the response to the right format. Am I missing something or doing something wrong? Thank you in advanced :) ...
Langchain model using wikipedia tool fails to return response, but generates it successfully
https://api.github.com/repos/langchain-ai/langchain/issues/5928/comments
2
2023-06-09T08:18:00Z
2023-06-09T10:32:54Z
https://github.com/langchain-ai/langchain/issues/5928
1,749,387,543
5,928
[ "hwchase17", "langchain" ]
### Issue with current documentation: It's not clear in the documentation ([JS/TS](https://js.langchain.com/docs/modules/indexes/text_splitters/#:~:text=Parameters%E2%80%8B,default%20value%20is%201000%20tokens.)) if the unit of measure used for chunks is in single text characters or in tokens. It's incosistent becau...
DOC: Inconsistent unit of measure for chunk_size and chunk_overlap
https://api.github.com/repos/langchain-ai/langchain/issues/5927/comments
1
2023-06-09T07:59:37Z
2023-09-15T16:08:21Z
https://github.com/langchain-ai/langchain/issues/5927
1,749,352,605
5,927
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Guys,I found the bigger the trained file size is,i got the the lower quality question。How can i fix this? ### Suggestion: _No response_
the bigger file size,the lower quality
https://api.github.com/repos/langchain-ai/langchain/issues/5924/comments
0
2023-06-09T07:22:49Z
2023-06-09T08:10:24Z
https://github.com/langchain-ai/langchain/issues/5924
1,749,285,405
5,924
[ "hwchase17", "langchain" ]
### System Info There is no safeguard in SQLDatabaseChain to prevent a malicious user from sending a prompt such as "Drop Employee table". SQLDatabaseChain should have a facility to intercept and review the SQL before sending it to the database. Creating this separately from https://github.com/hwchase17/langch...
SQLDatabaseChain has SQL injection issue
https://api.github.com/repos/langchain-ai/langchain/issues/5923/comments
7
2023-06-09T07:19:24Z
2024-03-13T16:12:29Z
https://github.com/langchain-ai/langchain/issues/5923
1,749,279,355
5,923
[ "hwchase17", "langchain" ]
### System Info Mac M1 I've just upgraded to Langchain 0.0.194 I need to pass through a proxy, so I set HTTP_PROXY, HTTPS_PROXY, OPENAI_PROXY and REQUEST_BUNDLE_CA= for the https certificate. ``` InvalidRequestError: Unrecognized request argument supplied: proxy ``` ### Who can help? _No respons...
[proxy users] Possible regression after upgrading to 0.0.194: InvalidRequestError: Unrecognized request argument supplied: proxy
https://api.github.com/repos/langchain-ai/langchain/issues/5915/comments
2
2023-06-09T02:51:34Z
2023-06-21T04:16:05Z
https://github.com/langchain-ai/langchain/issues/5915
1,749,011,804
5,915
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'd like to have my server that uses langchain to run asynchronously, specifically, I'd like to have `await` when running `chain({})`. My understanding of this is that the server will start handling other requests made to it, and not wait for `chain({})` to finish before handling other r...
How can I make langchain run asynchronously?
https://api.github.com/repos/langchain-ai/langchain/issues/5913/comments
1
2023-06-09T02:27:09Z
2023-06-09T02:42:42Z
https://github.com/langchain-ai/langchain/issues/5913
1,748,990,134
5,913
[ "hwchase17", "langchain" ]
### System Info In Google Collab What I have installed %pip install requests==2.27.1 %pip install chromadb==<compatible version> %pip install langchain duckdb unstructured chromadb openai tiktoken MacBook M1 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ]...
chroma.from_documents AuthenticationError
https://api.github.com/repos/langchain-ai/langchain/issues/5910/comments
4
2023-06-08T23:55:36Z
2023-09-19T16:08:55Z
https://github.com/langchain-ai/langchain/issues/5910
1,748,813,751
5,910
[ "hwchase17", "langchain" ]
### Feature request I could work around the call from `load_summarize_chain` to add response in certain languages https://github.com/hwchase17/langchain/blob/master/langchain/chains/summarize/map_reduce_prompt.py The work around was something like this: ```python from langchain.prompts import PromptTemplate ...
Add desired expected language response as a function param.
https://api.github.com/repos/langchain-ai/langchain/issues/5907/comments
1
2023-06-08T22:02:13Z
2023-09-14T16:05:40Z
https://github.com/langchain-ai/langchain/issues/5907
1,748,709,596
5,907
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.194 langchainplus-sdk 0.0.6 ### 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 ...
PubmedQueryRun not working
https://api.github.com/repos/langchain-ai/langchain/issues/5906/comments
4
2023-06-08T21:55:40Z
2023-11-28T16:10:40Z
https://github.com/langchain-ai/langchain/issues/5906
1,748,703,628
5,906
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Currently, the newest version `0.0.194` is not building on conda-forge since `langchainplus-sdk` is missing. I can't add that to conda-forge, though, since I have neither found source code nor a licence file for that package - other than the PyPI release. Is `langchainplus-sdk` a str...
Issue: langchainplus-sdk dependency
https://api.github.com/repos/langchain-ai/langchain/issues/5905/comments
13
2023-06-08T21:16:55Z
2023-11-08T16:08:50Z
https://github.com/langchain-ai/langchain/issues/5905
1,748,649,765
5,905
[ "hwchase17", "langchain" ]
### Feature request As of now callbacks are provisioned for OPEN AI which gives completion tokens, prompt tokens and total cost. Similar feature is needed for VertexAI Chat Models of GCP. ### Motivation This is an important feature as this abstraction is needed for GCP ### Your contribution i can test and validat...
langchain callback support PALM2 GCP
https://api.github.com/repos/langchain-ai/langchain/issues/5904/comments
5
2023-06-08T20:55:13Z
2024-02-19T19:33:21Z
https://github.com/langchain-ai/langchain/issues/5904
1,748,622,671
5,904
[ "hwchase17", "langchain" ]
### System Info python in Azure Function, langchain 0.0.194 this code: ``` tools = [ PubmedQueryRun(), ArxivQueryRun(), ] ``` and then loading it into an agent: ``` agent_chain = initialize_agent(tools, llm, agent=AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIP...
Arxiv Tool validation error (api_wrapper field required (type=value_error.missing))
https://api.github.com/repos/langchain-ai/langchain/issues/5901/comments
3
2023-06-08T18:56:35Z
2023-06-12T01:04:25Z
https://github.com/langchain-ai/langchain/issues/5901
1,748,467,868
5,901
[ "hwchase17", "langchain" ]
when i try and run this code: from langchain import OpenAI, SQLDatabase, SQLDatabaseChain db = SQLDatabase.from_uri("sqlite:///my_data.db") llm = OpenAI(temperature=0, verbose=True) i get this error: typing.ClassVar[typing.Collection[str]] is not valid as type argument I have tested it on a snowflake conn...
SQLDatabaseChain and agent no longer working at all. Code was working for past 4 weeks. no changes made to my code and everything errored out as of this morning (6/8/24 ~11am ET). It worked flawlessly just yesterday (6/7) for a demo i gave.
https://api.github.com/repos/langchain-ai/langchain/issues/5900/comments
0
2023-06-08T18:39:26Z
2023-06-09T14:51:14Z
https://github.com/langchain-ai/langchain/issues/5900
1,748,448,821
5,900
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello everyone! I'm having trouble setting up the successful usage of a custom QA prompt template that includes input variables with my RetrievalQA.from_chain_type. This issue is similar to https://github.com/hwchase17/langchain/pull/3425 I am using LangChain v0.0.192 with FAI...
Issue: <RetrievalQA.from_chain_type with custom prompt template>
https://api.github.com/repos/langchain-ai/langchain/issues/5899/comments
3
2023-06-08T18:29:01Z
2023-12-01T16:09:49Z
https://github.com/langchain-ai/langchain/issues/5899
1,748,436,224
5,899
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. **Observation:** TokenTextSplitter processes passages smaller than specified chunk_size, and creates a lot more smaller chunks with duplicated overlaps. **Impact:** The smaller chunks with duplicated overlaps may be harmful to storage size, computation time, and it may confuse the ret...
Issue: TokenTextSplitter processes passages less than chunk_size and creates duplicate overlaps
https://api.github.com/repos/langchain-ai/langchain/issues/5897/comments
3
2023-06-08T17:59:46Z
2024-03-20T16:04:58Z
https://github.com/langchain-ai/langchain/issues/5897
1,748,401,334
5,897
[ "hwchase17", "langchain" ]
### System Info version: 0.0.194 Platform: Running in HEX notebook with python version 3.9 When trying to import KNN retriever I get the below error: "typing.ClassVar[typing.Collection[str]] is not valid as type argument" Here's my code: `from langchain.retrievers import KNNRetriever from langchain.emb...
Having issues importing KNNRetriever from Langchain
https://api.github.com/repos/langchain-ai/langchain/issues/5893/comments
1
2023-06-08T16:43:29Z
2023-09-14T16:05:45Z
https://github.com/langchain-ai/langchain/issues/5893
1,748,306,870
5,893
[ "hwchase17", "langchain" ]
Hi there, I am running LLM through custom API and have the possibility to run batch inference. However, the generate method from langchain only runs iteratively the LLM on the list of prompts. Would there be an existing method that I could use to allow batch generation on my API?
Batch generation from API
https://api.github.com/repos/langchain-ai/langchain/issues/5892/comments
5
2023-06-08T16:31:19Z
2024-01-30T23:32:53Z
https://github.com/langchain-ai/langchain/issues/5892
1,748,292,147
5,892
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello everyone! I can't successfully pass the CONDENSE_QUESTION_PROMPT to `ConversationalRetrievalChain`, while basic QA_PROMPT I can pass. I also need the CONDENSE_QUESTION_PROMPT because there I will pass the chat history, since I want to achieve a converstional chat over documents ...
Issue: ConversationalRetrievalChain - issue with passing the CONDENSE_QUESTION_PROMPT for working chat history
https://api.github.com/repos/langchain-ai/langchain/issues/5890/comments
5
2023-06-08T16:22:14Z
2023-11-06T09:36:51Z
https://github.com/langchain-ai/langchain/issues/5890
1,748,279,843
5,890
[ "hwchase17", "langchain" ]
### System Info langchain=0.0.194 python=3.11.3 ### 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 - [ ] Outpu...
When inialztion VertexAI() all passed parameters got ignored
https://api.github.com/repos/langchain-ai/langchain/issues/5889/comments
0
2023-06-08T16:06:31Z
2023-06-09T06:15:24Z
https://github.com/langchain-ai/langchain/issues/5889
1,748,233,322
5,889
[ "hwchase17", "langchain" ]
### System Info ```yaml Fedora OS 38 Podman info: bash host: arch: amd64 buildahVersion: 1.30.0 cgroupControllers: - cpu - io - memory - pids cgroupManager: systemd cgroupVersion: v2 conmon: package: conmon-2.1.7-2.fc38.x86_64 path: /usr/bin/conmon version: 'conmon vers...
Test Failure: SocketBlockedError not raised in test_pytest_config.py/test_socket_disabled
https://api.github.com/repos/langchain-ai/langchain/issues/5888/comments
1
2023-06-08T15:54:40Z
2023-09-14T16:05:51Z
https://github.com/langchain-ai/langchain/issues/5888
1,748,203,950
5,888
[ "hwchase17", "langchain" ]
### System Info I pulled random info online for the .xlsx. I used state of the union for the .txt .docx works without error .pdf works without error All data was coded using documentation here: https://python.langchain.com/en/latest/modules/indexes/document_loaders.html versions: python-3.10.11-amd64 langc...
Errors with .txt & .xlsx files.
https://api.github.com/repos/langchain-ai/langchain/issues/5883/comments
3
2023-06-08T13:12:55Z
2023-06-13T12:55:17Z
https://github.com/langchain-ai/langchain/issues/5883
1,747,873,129
5,883
[ "hwchase17", "langchain" ]
### System Info ``` langchain - 0.0.188 platform - CentOS Linux 7 python - 3.8.12 ``` ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates ...
invalid JSON object: When using SelfQueryRetriever with huggingface llm
https://api.github.com/repos/langchain-ai/langchain/issues/5882/comments
19
2023-06-08T12:57:21Z
2024-08-01T17:15:44Z
https://github.com/langchain-ai/langchain/issues/5882
1,747,845,462
5,882
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Failed to pass in an `AgentExecutor` as `chain` field in a `ConsitutionalChain` like this: ```python constitutional_chain = ConsitutionalChain.from_llm(chain = intialize_agent(<some inputs>), <other inputs>) ``` Digging into the source code, I noticed that `AgentExecutor` is a `C...
Issue: The 'chain' field of ConstitutionalChain is limited to 'LLM'
https://api.github.com/repos/langchain-ai/langchain/issues/5881/comments
2
2023-06-08T11:57:36Z
2023-11-29T16:09:55Z
https://github.com/langchain-ai/langchain/issues/5881
1,747,744,487
5,881
[ "hwchase17", "langchain" ]
### System Info python 3.10 ubuntu Ubuntu 22.04.2 LTS langchain 0.0.194 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates ...
Using GPT 4 or GPT 3.5 with SQL Database Agent throws OutputParserException: Could not parse LLM output:
https://api.github.com/repos/langchain-ai/langchain/issues/5876/comments
20
2023-06-08T09:17:15Z
2024-07-29T16:05:58Z
https://github.com/langchain-ai/langchain/issues/5876
1,747,458,645
5,876
[ "hwchase17", "langchain" ]
### System Info 0.0.191 Python 3.9 Windows 10 Enterprise ### 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 - [ ] ...
Confluence loader raises exceptions when encounering .xlsx documents , due to lack of support in the underlying library
https://api.github.com/repos/langchain-ai/langchain/issues/5875/comments
1
2023-06-08T09:10:50Z
2023-09-14T16:05:56Z
https://github.com/langchain-ai/langchain/issues/5875
1,747,446,016
5,875
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. `HypotheticalDocumentEmbedder`'s input field name depends on the prompt selected in `PROMPT_MAP`. So, it can be `QUESTION`, `Claim`, or `PASSAGE` depending on the implementation. Could we control the name of both the output and input fields? This especially plays well when working with `...
Suggestion: Control input and output fields of HypotheticalDocumentEmbedder
https://api.github.com/repos/langchain-ai/langchain/issues/5873/comments
1
2023-06-08T08:55:37Z
2023-09-14T16:06:01Z
https://github.com/langchain-ai/langchain/issues/5873
1,747,419,441
5,873
[ "hwchase17", "langchain" ]
### System Info langchain version: `0.0.194` os: `ubuntu 20.04` python: `3.9.13` ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Promp...
Prompt injection which leads to arbitrary code execution in `langchain.chains.PALChain`
https://api.github.com/repos/langchain-ai/langchain/issues/5872/comments
5
2023-06-08T08:45:37Z
2023-08-29T16:31:34Z
https://github.com/langchain-ai/langchain/issues/5872
1,747,393,600
5,872
[ "hwchase17", "langchain" ]
### System Info 0.0.191 mac os python 3.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 - [ ] Out...
why azure langchain answer question confusion
https://api.github.com/repos/langchain-ai/langchain/issues/5871/comments
2
2023-06-08T07:02:58Z
2023-06-09T00:17:24Z
https://github.com/langchain-ai/langchain/issues/5871
1,747,215,529
5,871
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. LangChain version: 0.0.163 Python 3.11.3 I am using StructuredTool to pass multiple arguments to a tool along with STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION as an agent. It does generating Action and ActionInput as: Thought:The tool has successfully queried the Patents View API ...
STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION using StructuredTool is not generating FinalAnswer
https://api.github.com/repos/langchain-ai/langchain/issues/5870/comments
7
2023-06-08T06:51:52Z
2024-02-26T16:09:09Z
https://github.com/langchain-ai/langchain/issues/5870
1,747,200,177
5,870
[ "hwchase17", "langchain" ]
### System Info langchain最新版本,python3.9.12 ### 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 - [ ]...
RuntimeError: no validator found for <enum 'Enum'>, see `arbitrary_types_allowed` in Config
https://api.github.com/repos/langchain-ai/langchain/issues/5869/comments
1
2023-06-08T05:20:53Z
2023-09-14T16:06:06Z
https://github.com/langchain-ai/langchain/issues/5869
1,747,104,428
5,869
[ "hwchase17", "langchain" ]
Where can I find documentation to use LoRa `adpter_model.bin` for `gpt4all_j model` in langchain?
Issue: How to use LoRa adpter_model.bin for gpt4all_j model in langchain?
https://api.github.com/repos/langchain-ai/langchain/issues/5868/comments
1
2023-06-08T05:03:18Z
2023-09-14T16:06:11Z
https://github.com/langchain-ai/langchain/issues/5868
1,747,086,149
5,868
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.191, openai-0.27.7, Python 3.10.11 ### 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 Selec...
Invalid response object from API: 'Unsupported data type\n' (HTTP response code was 400)
https://api.github.com/repos/langchain-ai/langchain/issues/5867/comments
2
2023-06-08T04:49:07Z
2024-07-22T07:46:22Z
https://github.com/langchain-ai/langchain/issues/5867
1,747,075,120
5,867
[ "hwchase17", "langchain" ]
### Issue with current documentation: At the top of the doc: https://python.langchain.com/en/latest/modules/agents/tools/examples/metaphor_search.html#call-the-api ``` Metaphor Search This notebook goes over how to use Metaphor search. First, you need to set up the proper API keys and environment variables. ...
DOC: Missing links int Metaphor Search documentation
https://api.github.com/repos/langchain-ai/langchain/issues/5863/comments
4
2023-06-08T03:21:21Z
2023-09-07T16:17:25Z
https://github.com/langchain-ai/langchain/issues/5863
1,747,012,888
5,863
[ "hwchase17", "langchain" ]
### System Info Langchain version 165 Python 3.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 Parser...
KeyError 'content'
https://api.github.com/repos/langchain-ai/langchain/issues/5861/comments
11
2023-06-08T03:09:03Z
2023-12-15T15:03:49Z
https://github.com/langchain-ai/langchain/issues/5861
1,747,003,990
5,861
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.193 langchainplus-sdk-0.0.4, Python 3.10.1, Windows ### Who can help? @vowelparrot @hwchase17 @agola11 ### Information - [x] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Pro...
toolkit.py in agent toolkits vectorstore has open ai implementation which restricts the usage of other LLMs. When I try to use Googlepalm, I get the open ai error.
https://api.github.com/repos/langchain-ai/langchain/issues/5859/comments
2
2023-06-07T23:06:33Z
2023-06-08T00:07:20Z
https://github.com/langchain-ai/langchain/issues/5859
1,746,806,324
5,859
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi - I built a langchain agent to solve business analytics problems. I gave it a bunch of examples in the prompt template about how to solve those problem and send it to the LLM for prompt engineering. The customize tool that I have given to the agent is called `FetchBusinessData...
Issue: What if I want the langchain agent to answer an unseen type of question with its own knowledge from its pre-trained embedding?
https://api.github.com/repos/langchain-ai/langchain/issues/5857/comments
8
2023-06-07T20:13:01Z
2023-10-31T16:06:40Z
https://github.com/langchain-ai/langchain/issues/5857
1,746,602,602
5,857
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.193 Documentation and example notebooks for text splitting show `lookup_index` as a field returned by `create_documents`. Using the base RecursiveCharacterTextSplitter or using a HuggingfaceTokenizer do not return this field. I can't tell if this is intentional and the docs are outdate...
`RecursiveCharacterTextSplitter` no longer returning `lookup_index` on `create_documents` like in documentation
https://api.github.com/repos/langchain-ai/langchain/issues/5853/comments
1
2023-06-07T18:01:59Z
2023-06-07T18:50:09Z
https://github.com/langchain-ai/langchain/issues/5853
1,746,417,783
5,853
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi i was trying to create a chatbot using LLM and langchain. It would be great if you could point me to any function or method or way to implement token streaming for my chatbot. I am developing the UI using Streamlit but I can change to gradio too. Is there any specific way to do tha...
Issue: How to do token streaming for other LLMs on Streamlit or Gradio
https://api.github.com/repos/langchain-ai/langchain/issues/5851/comments
4
2023-06-07T17:20:31Z
2023-12-03T16:06:46Z
https://github.com/langchain-ai/langchain/issues/5851
1,746,359,540
5,851
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. How can one replace the UI of an application with an LLM's chat window? The bot should be able to do everything it used to but via natural language. So the end user doesn't have to click at buttons or view options in a menu; rather, he/she should be able to tell this via simple sentences...
Issue: Can we replace the UI of an application using an LLM?
https://api.github.com/repos/langchain-ai/langchain/issues/5850/comments
3
2023-06-07T16:58:43Z
2023-09-14T16:06:17Z
https://github.com/langchain-ai/langchain/issues/5850
1,746,324,710
5,850
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there a chain, which can only retrieve relevant documents from the vector store? Or do I need to create a custom one? ### Suggestion: _No response_
Issue: Retrieval Chain
https://api.github.com/repos/langchain-ai/langchain/issues/5845/comments
4
2023-06-07T16:29:38Z
2023-09-18T16:09:04Z
https://github.com/langchain-ai/langchain/issues/5845
1,746,279,474
5,845
[ "hwchase17", "langchain" ]
### System Info from langchain.chains import APIChain ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pa...
API Chains
https://api.github.com/repos/langchain-ai/langchain/issues/5843/comments
1
2023-06-07T16:04:43Z
2023-09-13T16:06:16Z
https://github.com/langchain-ai/langchain/issues/5843
1,746,239,962
5,843
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a simple_qa_with_sources chain - it uses unstructured library for PDF parsing, OpenAI embeddings, and FAISS vector DB. It takes about 10 seconds per query over a short 1 page document. I would like to speed this up - but is this performance expected? I profiled it and got ...
Issue: How to debug langchain speed issues?
https://api.github.com/repos/langchain-ai/langchain/issues/5840/comments
3
2023-06-07T15:09:31Z
2023-10-17T16:07:04Z
https://github.com/langchain-ai/langchain/issues/5840
1,746,130,780
5,840
[ "hwchase17", "langchain" ]
### Feature request I propose having the possibility of specifying the endpoint URL to AWS in the DynamoDBChatMessageHistory, so that it is possible to target not only the AWS cloud services, but also a local installation. ### Motivation Specifying the endpoint URL, which is normally not done when addressing ...
Support for the AWS endpoint URL in the DynamoDBChatMessageHistory
https://api.github.com/repos/langchain-ai/langchain/issues/5835/comments
0
2023-06-07T14:01:56Z
2023-06-09T06:21:13Z
https://github.com/langchain-ai/langchain/issues/5835
1,745,984,951
5,835
[ "hwchase17", "langchain" ]
### System Info I want to develop a chatbot that answer questions to user based on the Pinecone vectors. And I want to save the chat history in MongoDB. The history part works well with buffer memory but gives value is not a valid dict error with MongoDB memory. Here is the Code I'm using ``` def run_openai_llm...
using MongoDBChatMessageHistory with agent and RetrievalQA throws value is not a valid dict error
https://api.github.com/repos/langchain-ai/langchain/issues/5834/comments
6
2023-06-07T13:59:57Z
2024-04-04T14:36:36Z
https://github.com/langchain-ai/langchain/issues/5834
1,745,981,002
5,834
[ "hwchase17", "langchain" ]
### System Info WSL Ubuntu 20.04 langchain 0.0.192 langchainplus-sdk 0.0.4 ### Who can help? @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Mod...
langchain-server: ModuleNotFoundError: No module named 'langchain.cli'
https://api.github.com/repos/langchain-ai/langchain/issues/5833/comments
6
2023-06-07T13:56:35Z
2023-06-13T15:37:09Z
https://github.com/langchain-ai/langchain/issues/5833
1,745,974,115
5,833
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a large text that I want to summarize using the load_summarize_chain map_reduce type. However, I found that the text is still too large after the reduce stage, exceeding the token limit. How can I generally solve this problem? Error message: A single document was so long it co...
reduce with long text
https://api.github.com/repos/langchain-ai/langchain/issues/5829/comments
1
2023-06-07T12:55:30Z
2023-09-13T16:06:23Z
https://github.com/langchain-ai/langchain/issues/5829
1,745,839,229
5,829
[ "hwchase17", "langchain" ]
### System Info When running `nox test` there is a warning about SQLalchemy MovedIn20Warning deprecated, here is the error: Happening in `langchain = "^0.0.183"` ``` .nox/test/lib/python3.10/site-packages/langchain/__init__.py:7: in <module> from langchain.cache import BaseCache .nox/test/lib/python3.10/s...
SQLalchemy MovedIn20Warning error when writing app tests that includes langchain
https://api.github.com/repos/langchain-ai/langchain/issues/5826/comments
1
2023-06-07T12:13:16Z
2023-09-13T16:06:27Z
https://github.com/langchain-ai/langchain/issues/5826
1,745,762,876
5,826
[ "hwchase17", "langchain" ]
### Feature request The WeaviateTranslator Class should allow for Comparators like GTE, GT, LT or LTE when using number/float attributes in Weaviate. ### Motivation Currently, when using the [SelfQueryRetriever with Weaviate](https://python.langchain.com/en/latest/modules/indexes/retrievers/examples/weaviate_self_qu...
Support integer/float comparators for WeaviateTranslator
https://api.github.com/repos/langchain-ai/langchain/issues/5824/comments
1
2023-06-07T09:38:21Z
2023-09-13T16:06:31Z
https://github.com/langchain-ai/langchain/issues/5824
1,745,475,416
5,824