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" ]
1. Dark mode by default would be great 2. A theme that uses black instead of dark grey (for OLED screens) would also be appreciated I'm sure there are others here who read the new additions to docs before bed lol
Petition for docs to be dark mode by default
https://api.github.com/repos/langchain-ai/langchain/issues/7965/comments
1
2023-07-19T21:48:22Z
2023-08-08T20:10:36Z
https://github.com/langchain-ai/langchain/issues/7965
1,812,781,032
7,965
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, Not sure if someone is facting this "issue" or is something wrong I'm doing. So far .. I read, GPT 3.5 turbo and later should be used with "chat_models" instead of "models". While testing the "summary" chaing (map_reduce). I noticed that using "model" llm it does indeed run in pa...
Issue: [Azure] Summary chain with chat 3.5 turbo - Not being parallelized
https://api.github.com/repos/langchain-ai/langchain/issues/7964/comments
2
2023-07-19T21:34:45Z
2023-10-25T16:05:41Z
https://github.com/langchain-ai/langchain/issues/7964
1,812,765,599
7,964
[ "hwchase17", "langchain" ]
### System Info openai==0.27.7 langchain==0.0.237 chromadb==0.4.2 Platform: Windows 11 Python Version: 3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embeddin...
Embedding Seems Unsuccessful for Chroma + OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/7963/comments
6
2023-07-19T21:33:31Z
2023-08-22T09:48:08Z
https://github.com/langchain-ai/langchain/issues/7963
1,812,764,337
7,963
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.237 python 3.10 ### 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 -...
AgentType.OPENAI_MULTI_FUNCTIONS with FAISS VectorStore results with "ToolException('Too many arguments to single-input" error
https://api.github.com/repos/langchain-ai/langchain/issues/7958/comments
1
2023-07-19T20:43:20Z
2023-10-25T16:05:46Z
https://github.com/langchain-ai/langchain/issues/7958
1,812,700,556
7,958
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.234 Python 3.10.9 aiohttp 3.8.4 Getting the following error when running an agent in async with agent.arun('Get time in Salta of Argentina') with a requests_get tool. [tool/start] [1:chain:AgentExecutor > 7:tool:requests_get] Entering Tool run with input: "http://worldtimeapi.org...
TypeError("aiohttp.client.ClientSession.request() got multiple values for keyword argument 'auth'" with arun and requests_get tool on an agent
https://api.github.com/repos/langchain-ai/langchain/issues/7953/comments
1
2023-07-19T18:32:02Z
2023-10-25T16:05:51Z
https://github.com/langchain-ai/langchain/issues/7953
1,812,505,753
7,953
[ "hwchase17", "langchain" ]
### Feature request I'm getting this back from my LLM: Observation: Use Search is not a valid tool, try another one. Obviously the LLM would like to use the search tool, but didn't request it just right. It seems LangChain has been thoroughly tested with OpenAI, but not so much other models. Which is totally und...
Ability to translate/interpret LLM tool requests
https://api.github.com/repos/langchain-ai/langchain/issues/7949/comments
1
2023-07-19T17:39:47Z
2023-10-25T16:05:56Z
https://github.com/langchain-ai/langchain/issues/7949
1,812,411,168
7,949
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hello every one! I am following the tutorial of [OpenAI function Agent ](https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent). I downloaded the chinook database in MySQL , I made the connection successfully and got good answers from this...
OpenAI functions Agent is not working with SQLDatabaseChain.
https://api.github.com/repos/langchain-ai/langchain/issues/7946/comments
2
2023-07-19T17:01:47Z
2023-10-25T16:06:01Z
https://github.com/langchain-ai/langchain/issues/7946
1,812,350,601
7,946
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.236 ### Who can help? @eyurtsev When attempting to load a JSON file from S3, I encounter the following error: `An error occurred: Json schema does not match the Unstructured schema` Don't know if it is related to https://github.com/hwchase17/langchain/issues/2222 ### Information...
Error when loading JSON file using S3FileLoader
https://api.github.com/repos/langchain-ai/langchain/issues/7944/comments
3
2023-07-19T16:06:55Z
2023-11-12T10:43:32Z
https://github.com/langchain-ai/langchain/issues/7944
1,812,263,812
7,944
[ "hwchase17", "langchain" ]
### Issue with current documentation: We don't have enough documentation Conversational chain and found only documentation relates conversational retrieval chain. We are looking for separating the retriever functionality. Please provide some examples on passing context (lang chain documents ) to conversational chain ...
DOC: Passing Context to Conversational Chain
https://api.github.com/repos/langchain-ai/langchain/issues/7936/comments
4
2023-07-19T13:25:19Z
2024-03-30T12:30:15Z
https://github.com/langchain-ai/langchain/issues/7936
1,811,944,924
7,936
[ "hwchase17", "langchain" ]
### System Info Langchain v0.0.235 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Out...
"create_structured_output_chain" creates awful schema, deteriorates performance and should be fixed or removed
https://api.github.com/repos/langchain-ai/langchain/issues/7935/comments
3
2023-07-19T10:50:29Z
2023-11-08T16:17:23Z
https://github.com/langchain-ai/langchain/issues/7935
1,811,689,381
7,935
[ "hwchase17", "langchain" ]
### System Info I run my code in google colab. [this is link to code.](https://colab.research.google.com/drive/1vqTz68WVT7qCGpDSahROztCUphmXy9xI?usp=sharing) processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 79 model name : Intel(R) Xeon(R) CPU @ 2.20GHz stepping : 0 microcode : 0xffffffff cpu M...
ImportError: cannot import name 'ChatMessage' from 'vertexai.language_models' (/usr/local/lib/python3.10/dist-packages/vertexai/language_models/__init__.py)
https://api.github.com/repos/langchain-ai/langchain/issues/7932/comments
3
2023-07-19T10:17:30Z
2023-11-08T21:53:02Z
https://github.com/langchain-ai/langchain/issues/7932
1,811,635,089
7,932
[ "hwchase17", "langchain" ]
### System Info LangChain Version- 0.0.235, Windows, Python Version-3.9.16 As per below source code of SQLDatabase, before executing any sql query, connection.exec_driver_sql(f"SET search_path TO {self._schema}") is executed for all database except 'snowflake' and 'bigquery'. if self._schema is not None: ...
SET search_path TO {self._schema} is executing by SQLDatabase for all databases except 'snowflake' and 'bigquery'.
https://api.github.com/repos/langchain-ai/langchain/issues/7928/comments
4
2023-07-19T08:42:23Z
2023-12-13T16:08:13Z
https://github.com/langchain-ai/langchain/issues/7928
1,811,463,298
7,928
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. when I use langchain.agents,the parameter llm can only use OpenAI or other large language model ? ### Suggestion: _No response_
llm can only use OpenAI?
https://api.github.com/repos/langchain-ai/langchain/issues/7926/comments
4
2023-07-19T07:49:20Z
2023-10-26T16:05:48Z
https://github.com/langchain-ai/langchain/issues/7926
1,811,368,550
7,926
[ "hwchase17", "langchain" ]
### System Info Bedrock Embeddings doesn't have support for modifying the endpoint_url, the LLMs one have. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts ...
Bedrock Embeddings: Add support for endpoint_url
https://api.github.com/repos/langchain-ai/langchain/issues/7925/comments
2
2023-07-19T07:27:08Z
2023-10-25T16:06:16Z
https://github.com/langchain-ai/langchain/issues/7925
1,811,334,507
7,925
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi I've tried doing the search functionalities using pymilvus and everything works perfectly fine doing similarity search, i am able to get the most relevant documents. However, when i try using the same credentials and parameters on Langchain.vectorstore.Milvus i am unable to replicate ...
Issue: Cannot replicate search function on Langchain Milvus
https://api.github.com/repos/langchain-ai/langchain/issues/7924/comments
2
2023-07-19T07:06:55Z
2023-10-25T16:06:22Z
https://github.com/langchain-ai/langchain/issues/7924
1,811,300,473
7,924
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.216 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [...
InvalidRequestError: Resource not found. when running pandas_dataframe_agent over AzureOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/7923/comments
3
2023-07-19T06:44:17Z
2023-10-30T12:05:13Z
https://github.com/langchain-ai/langchain/issues/7923
1,811,270,099
7,923
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, Here is how i have initilized conversation memory memory = ConversationSummaryBufferMemory(llm=llm_model,memory_key="chat_history",return_messages=True,max_token_limit=500) Here is how I have used ConversationalRetrievalChain chain=ConversationalRetrievalChain.from_llm(llm_model...
Issue: Not getting good chat results on enabling Coversation Memory in langchain
https://api.github.com/repos/langchain-ai/langchain/issues/7921/comments
10
2023-07-19T05:47:22Z
2023-10-27T16:06:29Z
https://github.com/langchain-ai/langchain/issues/7921
1,811,200,154
7,921
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Implementing _similarity_search_with_relevance_scores on PGVector so users can set "search_type" to "similarity_score_threshold" without raising NotImplementedError. ``` retriever = pgvector.as_retriever(search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.7}) ...
Implementing search threshold on PGVector
https://api.github.com/repos/langchain-ai/langchain/issues/7905/comments
1
2023-07-18T20:27:50Z
2023-07-18T20:29:07Z
https://github.com/langchain-ai/langchain/issues/7905
1,810,665,965
7,905
[ "hwchase17", "langchain" ]
### Feature request It would be nice if HuggingFaceHub models could be called in async mode (concurrently), as currently supported by Anthropic and OpenAI models. ### Motivation I wanted to compare performance of some models in a bunch of tasks. I was comparing Anthropic and OpenAI models, and when I tried using a H...
Async calls for HuggingFaceHub
https://api.github.com/repos/langchain-ai/langchain/issues/7902/comments
6
2023-07-18T19:59:17Z
2023-11-15T16:08:10Z
https://github.com/langchain-ai/langchain/issues/7902
1,810,625,788
7,902
[ "hwchase17", "langchain" ]
### System Info Langhain v0.0.235 Python v3.11 ### Who can help? @agola11 @hw ### 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 Parsers -...
ChatOpenAI needs usage field that Google PaLM 2 Bison doesn't provide
https://api.github.com/repos/langchain-ai/langchain/issues/7900/comments
2
2023-07-18T19:25:22Z
2023-09-22T07:58:21Z
https://github.com/langchain-ai/langchain/issues/7900
1,810,580,170
7,900
[ "hwchase17", "langchain" ]
### System Info Occasional error out of CSV agent with JSON parsing error. Typically occurs when prompting a multi step task, but some multi step tasks are handled fine. Even in the same multi step task, depending on the wording of the prompt it can be run successfully but with different wording will error out. H...
CSV Agent JSON Parsing Errors
https://api.github.com/repos/langchain-ai/langchain/issues/7897/comments
7
2023-07-18T18:13:05Z
2024-02-13T16:15:08Z
https://github.com/langchain-ai/langchain/issues/7897
1,810,454,689
7,897
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I'm updating my code to use the new OpenAI function calling structure. Requirements: - New messages saved in DynamoDB together with past messages for a user - Custom prompt : 10 last messages from DynamoDB memory of the user - Function calling ### Past code The `create...
Issue: OpenAI Function Agent with custom prompt from memory
https://api.github.com/repos/langchain-ai/langchain/issues/7896/comments
2
2023-07-18T18:07:22Z
2023-07-18T21:27:03Z
https://github.com/langchain-ai/langchain/issues/7896
1,810,447,563
7,896
[ "hwchase17", "langchain" ]
### System Info Mac OS Versions: Python 3.8.15 Package | Version -----------------------|-------- aiohttp | 3.8.4 aiosignal | 1.3.1 async-timeout | 4.0.2 attrs |23.1.0 certifi |2023.5.7 charset-normalizer | 3.2.0 d...
Pydantic exception when creating GPT4All model
https://api.github.com/repos/langchain-ai/langchain/issues/7895/comments
2
2023-07-18T18:01:23Z
2023-10-24T16:05:43Z
https://github.com/langchain-ai/langchain/issues/7895
1,810,440,214
7,895
[ "hwchase17", "langchain" ]
### System Info Langchain version - 0.0.235 Python version - 3.10 ### 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 - ...
StructuredChatAgent uses SQLDatabaseToolkit tools in wrong order
https://api.github.com/repos/langchain-ai/langchain/issues/7889/comments
6
2023-07-18T16:20:09Z
2024-06-10T17:12:36Z
https://github.com/langchain-ai/langchain/issues/7889
1,810,278,050
7,889
[ "hwchase17", "langchain" ]
### System Info - Python 3.9.13 - langchain-0.0.235-py3-none-any.whl - chromadb-0.4.0-py3-none-any.whl ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts ...
ChromaDB 0.4+ is no longer compatible with client config
https://api.github.com/repos/langchain-ai/langchain/issues/7887/comments
51
2023-07-18T15:56:56Z
2024-02-16T16:09:33Z
https://github.com/langchain-ai/langchain/issues/7887
1,810,236,515
7,887
[ "hwchase17", "langchain" ]
### Feature request When entering the embed text in the database like pgvector, I would like to encrypt the raw text with KMS Key or any such encryption and use raw text for generating embedding ### Motivation Security ### Your contribution N/A
Encryption Key support
https://api.github.com/repos/langchain-ai/langchain/issues/7886/comments
3
2023-07-18T15:49:30Z
2023-12-25T16:09:34Z
https://github.com/langchain-ai/langchain/issues/7886
1,810,223,070
7,886
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. what is the difference between a conversationChain and a conversationalRetrieval chain. I had originially assumed that the conversational retrieval chain would be able to take in documents, input, and memory (which I have gotten to successfully work) and was under the assumption that the...
Difference between ConversationChain and ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/7885/comments
3
2023-07-18T15:39:20Z
2023-11-16T13:39:15Z
https://github.com/langchain-ai/langchain/issues/7885
1,810,202,518
7,885
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When using the python_repl tool with the ZeroShotAgent, I keep getting the following error: `Observation: SyntaxError('invalid syntax', ('<string>', 2, 1, '%matplotlib inline\n')) Thought:` The agent keeps looping over and over since it does not understand the issue with the magic comm...
Inconsistent behaviour with the 'python_repl' tool and the ZeroShotAgent
https://api.github.com/repos/langchain-ai/langchain/issues/7882/comments
2
2023-07-18T14:12:21Z
2023-10-24T16:05:53Z
https://github.com/langchain-ai/langchain/issues/7882
1,810,022,800
7,882
[ "hwchase17", "langchain" ]
### Feature request I think it'd be a good idea to have Langchain integrated into the fast healthcare interoperability resource (FHIR) API. Integrating chatting techniques with FHIR and having the ability to interact with ChatOpenAI would give FHIR more visibility, versatility, and adaptability in terms of use cases i...
Integrating Langchain to FHIR API
https://api.github.com/repos/langchain-ai/langchain/issues/7881/comments
11
2023-07-18T13:24:11Z
2024-05-18T23:26:45Z
https://github.com/langchain-ai/langchain/issues/7881
1,809,932,575
7,881
[ "hwchase17", "langchain" ]
### System Info I am using the following codes to get api call: user_query = prompt.format_prompt(user_prompt=input_text) user_query_output = chat_model(user_query.to_messages()) I am using Django and since it takes some time to get response the entire page freezes. Is there anyway to ...
showing progress or message under process
https://api.github.com/repos/langchain-ai/langchain/issues/7879/comments
9
2023-07-18T10:58:52Z
2023-10-26T16:05:59Z
https://github.com/langchain-ai/langchain/issues/7879
1,809,693,903
7,879
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.219 python 3.9 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ...
openai.error.InvalidRequestError: The completion operation does not work with the specified model, gpt-4. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.
https://api.github.com/repos/langchain-ai/langchain/issues/7878/comments
2
2023-07-18T10:01:28Z
2023-07-19T04:44:19Z
https://github.com/langchain-ai/langchain/issues/7878
1,809,601,350
7,878
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I came to know that we can do the document question answering in langchain in different ways. One way is - using **load_qa_chain** Also it seems there are two ways to use **load_qa_chain** 1) with **run()** ``` from langchain.chains.question_answering import load_qa_chain cha...
Difference between chain() and chain.run()
https://api.github.com/repos/langchain-ai/langchain/issues/7876/comments
6
2023-07-18T09:02:23Z
2024-01-14T19:04:13Z
https://github.com/langchain-ai/langchain/issues/7876
1,809,494,390
7,876
[ "hwchase17", "langchain" ]
### Feature request The current Telegram loader is not very flexible. For example: ``` async for message in client.iter_messages(self.chat_entity): ``` Here are the arguments available in the api ``` def iter_messages( self: 'TelegramClient', entity: 'hints.EntityLike', ...
Refactoring telegram loader
https://api.github.com/repos/langchain-ai/langchain/issues/7873/comments
2
2023-07-18T07:55:37Z
2023-10-24T16:06:13Z
https://github.com/langchain-ai/langchain/issues/7873
1,809,372,101
7,873
[ "hwchase17", "langchain" ]
### System Info Running on Colab. ### 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 - [ ] Document...
OperationalError with docsearch
https://api.github.com/repos/langchain-ai/langchain/issues/7872/comments
8
2023-07-18T07:40:27Z
2023-10-24T16:06:18Z
https://github.com/langchain-ai/langchain/issues/7872
1,809,342,516
7,872
[ "hwchase17", "langchain" ]
**When i try to use Multiprompt chain getting the below error. Any Suggestions for Solving this Issue??** ValidationError: 16 validation errors for MultiPromptChain destination_chains -> list -> database extra fields not permitted (type=value_error.extra) destination_chains -> list -> input_key extra fields...
Can't use SQLdatabasechain with Multipromptchain
https://api.github.com/repos/langchain-ai/langchain/issues/7869/comments
2
2023-07-18T05:25:09Z
2023-10-24T16:06:23Z
https://github.com/langchain-ai/langchain/issues/7869
1,809,140,912
7,869
[ "hwchase17", "langchain" ]
### System Info latest ### 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 - ...
Chroma vectorstore add_texts() method does not return ids when there is a metadatas argument
https://api.github.com/repos/langchain-ai/langchain/issues/7865/comments
0
2023-07-18T03:42:15Z
2023-07-28T23:17:32Z
https://github.com/langchain-ai/langchain/issues/7865
1,809,020,813
7,865
[ "hwchase17", "langchain" ]
### Feature request The WeaviateHybridSearchRetriever does not currently have an option to retrieve scores and explanations. The lack of this feature limits the usability of the retriever, as users cannot gain insights into the scoring logic behind the search results. The feature to retrieve scores and explanations, a...
WeaviateHybridSearchRetriever has no option to retrieve scores and explanations
https://api.github.com/repos/langchain-ai/langchain/issues/7855/comments
2
2023-07-17T20:38:13Z
2023-07-18T19:50:18Z
https://github.com/langchain-ai/langchain/issues/7855
1,808,588,557
7,855
[ "hwchase17", "langchain" ]
### System Info Langchain version 0.0.226 M1 Mac Python 3.11.3 ### Who can help? @hwchase17 @mmz-001 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates...
Strange chunks coming out of CharacterTextSplitter starting in version 0.0.226
https://api.github.com/repos/langchain-ai/langchain/issues/7854/comments
6
2023-07-17T19:53:47Z
2023-10-26T16:06:03Z
https://github.com/langchain-ai/langchain/issues/7854
1,808,509,106
7,854
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.232 Python version: 3.10.8 Platform: Windows 11, VS Code For following usage of WeaviateHybridSearchRetriever - `w_url = os.environ["WEAVIATE_URL"]` `api_key_w= weaviate.AuthApiKey(api_key=os.environ["WEAVIATE_API_KEY"])` `wclient = weaviate.Client(url=w_url,...
Error while creating WeaviateHybridSearchRetriever instance
https://api.github.com/repos/langchain-ai/langchain/issues/7851/comments
3
2023-07-17T18:49:19Z
2024-02-07T16:28:43Z
https://github.com/langchain-ai/langchain/issues/7851
1,808,378,977
7,851
[ "hwchase17", "langchain" ]
### Issue with current documentation: I think there is lacking documentation on the multitude of chains regarding QA and retrieval. There is: - [retrieval_qa](https://github.com/hwchase17/langchain/tree/master/langchain/chains/retrieval_qa) - [question_answering](https://github.com/hwchase17/langchain/tree/mast...
DOC: What is the difference between the various QA chains?
https://api.github.com/repos/langchain-ai/langchain/issues/7845/comments
2
2023-07-17T16:45:46Z
2023-11-03T16:06:52Z
https://github.com/langchain-ai/langchain/issues/7845
1,808,165,032
7,845
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.234, windows 10, azure-identity==1.13.0, Python 3.11.4 ### Who can help? I manage to create an index in Azure Cognitive Search with _id_, _content_, _vector_content_ and _metadata_ fields. I check that docs and chunks are not nulls. I'm getting and error when querying the vecto...
InvalidVectorQuery error when using AzureSearch with vector db
https://api.github.com/repos/langchain-ai/langchain/issues/7841/comments
7
2023-07-17T15:46:42Z
2023-11-15T16:07:13Z
https://github.com/langchain-ai/langchain/issues/7841
1,808,066,576
7,841
[ "hwchase17", "langchain" ]
### System Info ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/output_parsers/json.py:32 │ │ in parse_and_check_json_markdown ...
Self Query Retriever with Google Flan T5 models issue
https://api.github.com/repos/langchain-ai/langchain/issues/7839/comments
3
2023-07-17T14:54:36Z
2023-11-03T18:01:40Z
https://github.com/langchain-ai/langchain/issues/7839
1,807,967,519
7,839
[ "hwchase17", "langchain" ]
### System Info MacOS: Ventura 13.4 langchain: 0.0.234 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pars...
BaseRetriever: Latest langchain update is breaking the implementation of extended classes
https://api.github.com/repos/langchain-ai/langchain/issues/7835/comments
7
2023-07-17T14:28:52Z
2023-11-24T16:07:44Z
https://github.com/langchain-ai/langchain/issues/7835
1,807,916,214
7,835
[ "hwchase17", "langchain" ]
### Feature request ConversationalRetrievalChain is implementing in the **_call()** method the following behavior: ``` if chat_history_str: callbacks = _run_manager.get_child() new_question = self.question_generator.run( question=question, chat_history=chat_history_str, callbacks=callbacks ...
ConversationalRetrievalChain: Add parameter for not invoking self.question_generator.run()
https://api.github.com/repos/langchain-ai/langchain/issues/7834/comments
1
2023-07-17T14:23:37Z
2023-10-23T16:06:22Z
https://github.com/langchain-ai/langchain/issues/7834
1,807,906,358
7,834
[ "hwchase17", "langchain" ]
### System Info ![Screenshot 2023-07-17 184319](https://github.com/hwchase17/langchain/assets/90586668/e454e70a-66da-40bd-b3c7-92d26caeccea) ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] L...
raise AttributeError(name) from None AttributeError: OPENAI_FUNCTIONS
https://api.github.com/repos/langchain-ai/langchain/issues/7833/comments
5
2023-07-17T13:04:07Z
2023-07-24T22:40:56Z
https://github.com/langchain-ai/langchain/issues/7833
1,807,743,134
7,833
[ "hwchase17", "langchain" ]
### System Info Using requirements: * langchain==0.0.234 * weaviate-client==3.22.1 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Pro...
Weaviate MMR Search fails with too high fetch_k parameter
https://api.github.com/repos/langchain-ai/langchain/issues/7829/comments
3
2023-07-17T12:26:21Z
2023-10-23T16:06:27Z
https://github.com/langchain-ai/langchain/issues/7829
1,807,668,123
7,829
[ "hwchase17", "langchain" ]
### System Info I have a use case where I ask an AI agent to check if an article adheres to certain guidelines in documents. However, the recent changes in the BaseConversationalRetrievalChain _call function are causing issues. The process of requesting information from OpenAI can be divided into two steps. In Step...
Rephrased question causing issues
https://api.github.com/repos/langchain-ai/langchain/issues/7828/comments
3
2023-07-17T10:37:53Z
2024-01-30T04:37:03Z
https://github.com/langchain-ai/langchain/issues/7828
1,807,476,168
7,828
[ "hwchase17", "langchain" ]
### System Info vector_store = Milvus.from_documents( text, embedding=das_embedding, connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT} ) ValueError: status_code: 400 code: InvalidParameter message: batch size is invalid, it should not be larger than 10.: payload.input.contents ...
Chroma and Milvus be larger than 10
https://api.github.com/repos/langchain-ai/langchain/issues/7827/comments
1
2023-07-17T10:15:14Z
2023-10-23T16:06:37Z
https://github.com/langchain-ai/langchain/issues/7827
1,807,441,167
7,827
[ "hwchase17", "langchain" ]
### System Info OS: Ubuntu 22.04 Docker version: Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3 VSCode: 1.69.0 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Model...
Cannot set up dev container because of Poetry solving dependencies forever
https://api.github.com/repos/langchain-ai/langchain/issues/7825/comments
13
2023-07-17T08:08:53Z
2024-03-13T19:56:40Z
https://github.com/langchain-ai/langchain/issues/7825
1,807,226,559
7,825
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using below chain. I want to use multiple categories in the filters. My logic is to bring the results from category=c1 OR category=c2 OR category=c3. How can we modify below code the achieve the objective `chain = ConversationalRetrievalChain.from_llm(OpenAI(temperature=0), retr...
How to use multiple tags in metadata filtering
https://api.github.com/repos/langchain-ai/langchain/issues/7824/comments
7
2023-07-17T08:03:05Z
2024-02-15T16:11:05Z
https://github.com/langchain-ai/langchain/issues/7824
1,807,216,493
7,824
[ "hwchase17", "langchain" ]
### Issue with current documentation: ``` # We're using the default `documents` table here. You can modify this by passing in a `table_name` argument to the `from_documents` method. vector_store = SupabaseVectorStore.from_documents(docs, embeddings, client=supabase) ``` ### Idea or request for content: throw erro...
DOC: SupabaseVectorStore.from_documents read operation timed out.
https://api.github.com/repos/langchain-ai/langchain/issues/7823/comments
2
2023-07-17T06:49:38Z
2023-07-24T22:51:06Z
https://github.com/langchain-ai/langchain/issues/7823
1,807,105,415
7,823
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/azuresearch ### Idea or request for content: Can anyone explain more about how to create the index? If your run the example you get: `ResourceNotFoundError: () The index 'langchain-vector-demo...
DOC: Azure Cognitive Search Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/7816/comments
1
2023-07-17T04:51:13Z
2023-10-23T16:06:41Z
https://github.com/langchain-ai/langchain/issues/7816
1,806,955,881
7,816
[ "hwchase17", "langchain" ]
### System Info ... ### 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 - [ ] Doc...
Azure Cognitive Search
https://api.github.com/repos/langchain-ai/langchain/issues/7813/comments
10
2023-07-17T03:50:56Z
2024-07-05T20:56:31Z
https://github.com/langchain-ai/langchain/issues/7813
1,806,896,033
7,813
[ "hwchase17", "langchain" ]
### System Info 0.0.234 MacOS Big Sur ### 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 - [ ] Docu...
vectorstores Chroma client_settings anonymized_telemetry=False dont work
https://api.github.com/repos/langchain-ai/langchain/issues/7804/comments
8
2023-07-16T23:24:48Z
2024-07-28T16:05:14Z
https://github.com/langchain-ai/langchain/issues/7804
1,806,754,191
7,804
[ "hwchase17", "langchain" ]
### System Info Langchain Version 0.0.233 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] ...
Confluence loader usage of id causes a conflict with Weaviate
https://api.github.com/repos/langchain-ai/langchain/issues/7803/comments
5
2023-07-16T23:19:43Z
2023-10-21T16:40:00Z
https://github.com/langchain-ai/langchain/issues/7803
1,806,752,958
7,803
[ "hwchase17", "langchain" ]
### System Info This is on `Python 3.10.6`, on a clean virtual env, on `Ubuntu 22.04` server w/o any GPU installed. On the other hand, `pip install langchain[llms]` installs without problem. Here is the output of `pip install langchain[all]`, for langchain==0.0.234 [1.txt](https://github.com/hwchase17/langchai...
pip install langchain[all] takes forever to resove dependencies
https://api.github.com/repos/langchain-ai/langchain/issues/7798/comments
7
2023-07-16T17:04:10Z
2024-03-18T16:05:04Z
https://github.com/langchain-ai/langchain/issues/7798
1,806,652,138
7,798
[ "hwchase17", "langchain" ]
### System Info MAC OS M2 langchain: 0.0.234 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers -...
MultiQueryRetriever.from_llm has abandon param type BaseLLM
https://api.github.com/repos/langchain-ai/langchain/issues/7791/comments
2
2023-07-16T14:11:08Z
2023-10-22T16:06:06Z
https://github.com/langchain-ai/langchain/issues/7791
1,806,596,774
7,791
[ "hwchase17", "langchain" ]
### System Info Python 3.9.6 langchain==0.0.229 MacOS on Apple M2 hardware ### 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 Se...
HuggingFaceEndpoint returns truncated answer (could this be just a first chunk of a larger reply?)
https://api.github.com/repos/langchain-ai/langchain/issues/7790/comments
1
2023-07-16T13:18:48Z
2023-10-22T16:06:11Z
https://github.com/langchain-ai/langchain/issues/7790
1,806,579,479
7,790
[ "hwchase17", "langchain" ]
### System Info Issue: I'm experiencing an issue while trying to apply the `frequencyPenalty` parameter to the `ChatOpenAI` class in my Flask server setup. I'm running a Flask server that handles a POST query and returns a streaming response from GPT using LlamaIndex. When I attempt to apply the `frequencyPena...
Unable to Apply frequencyPenalty Parameter to ChatOpenAI Class
https://api.github.com/repos/langchain-ai/langchain/issues/7788/comments
2
2023-07-16T12:52:03Z
2023-10-30T16:05:43Z
https://github.com/langchain-ai/langchain/issues/7788
1,806,570,994
7,788
[ "hwchase17", "langchain" ]
### Feature request In AmazonKendraRetriever, user should have access to a page_content formatter in order to format a Kendra ResultItem as desired, e.g. by combining all sorts of possible document attributes with the title and excerpt of the item. Currently, the [AmazonKendraRetriever](https://github.com/hwchase...
In AmazonKendraRetriever, user should have access to a page_content formatter in order to format the Kendra ResultItem as desired
https://api.github.com/repos/langchain-ai/langchain/issues/7787/comments
3
2023-07-16T12:42:17Z
2023-10-26T16:06:14Z
https://github.com/langchain-ai/langchain/issues/7787
1,806,568,070
7,787
[ "hwchase17", "langchain" ]
### System Info Python 3.9.6 langchain==0.0.229 MacOS on Apple M2 hardware ### 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 Se...
HuggingFaceEndpoint returns empty string in "text-generation" mode with prompt template
https://api.github.com/repos/langchain-ai/langchain/issues/7786/comments
1
2023-07-16T12:15:34Z
2023-10-22T16:06:21Z
https://github.com/langchain-ai/langchain/issues/7786
1,806,559,631
7,786
[ "hwchase17", "langchain" ]
### System Info Python 3.9.6 langchain==0.0.229 MacOS on Apple M2 hardware ### 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 Se...
streaming support for LLM, from HuggingFaceEndpoint
https://api.github.com/repos/langchain-ai/langchain/issues/7785/comments
6
2023-07-16T12:04:36Z
2024-01-08T06:49:06Z
https://github.com/langchain-ai/langchain/issues/7785
1,806,556,360
7,785
[ "hwchase17", "langchain" ]
### Feature request I want to integrate the MPT style code LLM, ReplitLM from Replit into the langchain. ### Motivation I want a code LLM in langchain, as ReplitLM has been continuously providing good results either fine tuned or not. I was working on a project for analyzing complex code patterns and structures b...
ReplitLM Model_addition_in_langchain
https://api.github.com/repos/langchain-ai/langchain/issues/7784/comments
3
2023-07-16T11:36:07Z
2023-10-22T16:06:26Z
https://github.com/langchain-ai/langchain/issues/7784
1,806,548,419
7,784
[ "hwchase17", "langchain" ]
### System Info - LangChain version: 0.0.234 - Platform: Local and AWS ECS - Python version: 3.9 ### Who can help? @3coins ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Pro...
In the AmazonKendraRetriever, the Document page_content is empty for ResultItem with Type ANSWER when using the Query API
https://api.github.com/repos/langchain-ai/langchain/issues/7782/comments
1
2023-07-16T11:11:02Z
2023-07-19T01:46:28Z
https://github.com/langchain-ai/langchain/issues/7782
1,806,541,487
7,782
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The KNNRetriever calculates the cosine similarity of documents and retrieves the top 'n' documents. Its behavior is identical to `FAISS.similarity_search(query)`. What is the rationale behind creating a separate KNNRetriever? ### Suggestion: Remove the KNNRetriever module.
Issue: Why is the KNNRetriever existed?
https://api.github.com/repos/langchain-ai/langchain/issues/7780/comments
1
2023-07-16T08:38:23Z
2023-10-22T16:06:31Z
https://github.com/langchain-ai/langchain/issues/7780
1,806,498,956
7,780
[ "hwchase17", "langchain" ]
### System Info Python 3.8.10 gpt4all==1.0.5 langchain==0.0.234 pydantic==1.10.11 pydantic-core==2.3.0 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prom...
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
https://api.github.com/repos/langchain-ai/langchain/issues/7778/comments
6
2023-07-16T07:53:03Z
2023-09-13T09:48:21Z
https://github.com/langchain-ai/langchain/issues/7778
1,806,486,875
7,778
[ "hwchase17", "langchain" ]
### System Info Langchain Version: 0.0.207 ### Who can help? Is there a way to get the whole output with Output Parser or OpenAI function calling? I have a simple prompt where I get the LLM to output responses to a set of questions, and I would like to get a structured response that separates the question numbe...
Capturing all content from Output Parser / OpenAI Function Calling
https://api.github.com/repos/langchain-ai/langchain/issues/7770/comments
2
2023-07-16T02:27:58Z
2023-10-22T16:06:37Z
https://github.com/langchain-ai/langchain/issues/7770
1,806,402,879
7,770
[ "hwchase17", "langchain" ]
### Feature request I want to be able to use Google Palm (bison) as the underlying LLM for agents. Currently I'm using chatGPT, but I also want to experiment how Google Palm performs with tool-picking. I have API access to I can experiment with it. ### Motivation I propose Google's Palm because I've anecdotally see...
Google Palm 2 as underlying LLM for Agent
https://api.github.com/repos/langchain-ai/langchain/issues/7763/comments
3
2023-07-15T20:08:33Z
2024-01-30T00:48:46Z
https://github.com/langchain-ai/langchain/issues/7763
1,806,311,364
7,763
[ "hwchase17", "langchain" ]
### System Info **System Information** System: `Linux` OS: `Pop OS` Langchain version: `0.0.232` Python version: `3.9.17` gpt4all version: used for both version `1.0.1` and version `1.0.3`. ### Who can help? Models: @hwchase17 Streaming Callbacks: @agola11 ### Information - [X] The offi...
Streaming does not work using streaming callbacks for gpt4all model
https://api.github.com/repos/langchain-ai/langchain/issues/7747/comments
8
2023-07-15T05:47:15Z
2024-05-12T04:10:32Z
https://github.com/langchain-ai/langchain/issues/7747
1,805,914,594
7,747
[ "hwchase17", "langchain" ]
### Issue with current documentation: ``` pip install arxiv from langchain.chat_models import ChatOpenAI from langchain.agents import load_tools, initialize_agent, AgentType ``` ``` llm = ChatOpenAI(temperature=0.0) tools = load_tools( ["arxiv"], ) ``` ``` agent_chain = initialize_agent( too...
DOC: Arxiv API Tool code snippet very instable and produces very often an OutputParserException
https://api.github.com/repos/langchain-ai/langchain/issues/7742/comments
2
2023-07-15T00:46:11Z
2023-10-21T16:06:35Z
https://github.com/langchain-ai/langchain/issues/7742
1,805,766,414
7,742
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. According to [here](https://python.langchain.com/docs/modules/chains/how_to/call_methods), all subclass inherited from the Chain class will have the `__call__()` and the `run()` methods to launch the chain. And according to the [LLMChain API](https://api.python.langchain.com/en/latest/...
Issue: Chain call methods are confusing (LLMChain vs SimpleSequentialChain)
https://api.github.com/repos/langchain-ai/langchain/issues/7738/comments
2
2023-07-14T23:21:30Z
2023-12-13T16:08:18Z
https://github.com/langchain-ai/langchain/issues/7738
1,805,711,794
7,738
[ "hwchase17", "langchain" ]
### System Info Hi. I wanted to deploy application with Langchain but I am unable to pass security scans because of the following vulnerabilities: [CVE-2023-36258](https://nvd.nist.gov/vuln/detail/CVE-2023-36258) [CVE-2023-34540](https://nvd.nist.gov/vuln/detail/CVE-2023-34540) [CVE-2023-34541](https://n...
Vulnerabilities: CVE-2023-36258, CVE-2023-3454, CVE-2023-34541, CVE-2023-36188, CVE-2023-36189
https://api.github.com/repos/langchain-ai/langchain/issues/7736/comments
2
2023-07-14T22:32:45Z
2024-03-13T16:12:30Z
https://github.com/langchain-ai/langchain/issues/7736
1,805,666,654
7,736
[ "hwchase17", "langchain" ]
### System Info ``` langchain==0.0.228 langchain/utilities/wikipedia.py ``` The run method does not call the language change before execution, so it always runs with lang="en" ``` def run(self, query: str) -> str: """Run Wikipedia search and get page summaries.""" #defin...
WIKIPEDIA Language setting not applied in run method
https://api.github.com/repos/langchain-ai/langchain/issues/7733/comments
5
2023-07-14T21:14:07Z
2024-07-18T21:12:34Z
https://github.com/langchain-ai/langchain/issues/7733
1,805,591,388
7,733
[ "hwchase17", "langchain" ]
### System Info infra - sagemaker model - model deployed with `HuggingFaceModel(...).deploy()` langchain version - v0.0.233 chain types used - RetrievalQA, load_qa_chain I have a huggingface model deployed behind a sagemaker endpoint which produces outputs as expected when run prediction against it directly. H...
SagemakerEndpoint model doesn't return full output..only when prompted with langchain
https://api.github.com/repos/langchain-ai/langchain/issues/7731/comments
8
2023-07-14T20:56:40Z
2023-10-31T16:06:15Z
https://github.com/langchain-ai/langchain/issues/7731
1,805,568,405
7,731
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I've set "langchain.debug=True"; however, it does not work for the DirectoryLoader. I have a notebook that tried to load a dozen or more PDFs, and typically, at least one of the files fails (see attached). I looked at the code, and as far as I can tell, there is no trace or debug feature...
Issue: Need a trace or debug feature in Lanchain DirectoryLoader
https://api.github.com/repos/langchain-ai/langchain/issues/7725/comments
3
2023-07-14T18:45:13Z
2024-03-17T02:32:53Z
https://github.com/langchain-ai/langchain/issues/7725
1,805,363,097
7,725
[ "hwchase17", "langchain" ]
### Issue with current documentation: In the Tools\How to\Defining Custom Tools\Handling Tool Errors, it seems that the ToolException import has not been updated to the latest module architecture. (langchain**0.0.233) ``` from langchain.schema import ToolException from langchain import SerpAPIWrapper from lang...
DOC: Tools\How to\Defining Custom Tools\Handling Tool Errors Import error with ToolException
https://api.github.com/repos/langchain-ai/langchain/issues/7723/comments
1
2023-07-14T17:55:24Z
2023-07-14T18:03:04Z
https://github.com/langchain-ai/langchain/issues/7723
1,805,271,455
7,723
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.232 python==3.8.16 M1 mac ### Who can help? @hwchase17 @ago The way that cache is stored in redis is like > HGET key_name "metadata" "{\"llm_string\": \"{\\\"lc\\\": 1, \\\"type\\\": \\\"constructor\\\", \\\"id\\\": [\\\"langchain\\\", \\\"chat_models\\\", \\\"openai\\\", \\\"...
Crash occurs when using RedisSemanticCache() as a cache
https://api.github.com/repos/langchain-ai/langchain/issues/7722/comments
15
2023-07-14T17:38:09Z
2023-11-09T16:14:10Z
https://github.com/langchain-ai/langchain/issues/7722
1,805,240,806
7,722
[ "hwchase17", "langchain" ]
### Issue with current documentation: The [Handling Tool Errors section](https://python.langchain.com/docs/modules/agents/tools/how_to/custom_tools#handling-tool-errors) on Defining Custom Tools page has following line as part of the first code cell: ```py from langchain.schema import ToolException ``` When ru...
DOC: `ToolException` cannot be imported as mentioned on "Defining Custom Tools" page - Python
https://api.github.com/repos/langchain-ai/langchain/issues/7720/comments
1
2023-07-14T17:07:16Z
2023-07-18T17:08:04Z
https://github.com/langchain-ai/langchain/issues/7720
1,805,198,960
7,720
[ "hwchase17", "langchain" ]
### System Info Using Lanchain version .233 currently, and each time I make an update and run tests on my project, pip-audit is returning an additional vulnerability. I use Gitlab for the project and I am adding commands to ignore these vulnerabilities in gitlab-ci.yml, but currently the command looks like: `- pip-...
pip-audit detects numerous vulnerabilities
https://api.github.com/repos/langchain-ai/langchain/issues/7716/comments
2
2023-07-14T16:18:48Z
2023-10-21T16:06:50Z
https://github.com/langchain-ai/langchain/issues/7716
1,805,134,985
7,716
[ "hwchase17", "langchain" ]
### Feature request we have the `@tool` decorator and the `Tool.from_function` function. But they are (or seem to me) inconsistent. The kwargs `handle_tool_error` and `return_direct` are only available in `Tool.from_function` . Shouldn't be available in both? Shouldn't be `@tool` just a mirror of `Tool.from...
handle_tool_error in @tool decorator
https://api.github.com/repos/langchain-ai/langchain/issues/7715/comments
6
2023-07-14T16:08:06Z
2024-06-21T01:05:05Z
https://github.com/langchain-ai/langchain/issues/7715
1,805,120,391
7,715
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there way to Persist Conversation Knowledge Graph Memory to disk or remote storage ### Suggestion: _No response_
Persist Conversation Knowledge Graph Memory to disk or remote storage
https://api.github.com/repos/langchain-ai/langchain/issues/7713/comments
5
2023-07-14T15:23:52Z
2023-12-06T17:45:01Z
https://github.com/langchain-ai/langchain/issues/7713
1,805,062,211
7,713
[ "hwchase17", "langchain" ]
### System Info Lancghain version 0.0.233. The arguments Client as well as async_client are ignored since they are set in the pydantic [root_validator ](https://github.com/hwchase17/langchain/blame/master/langchain/llms/huggingface_text_gen_inference.py#L104). ### Who can help? _No response_ ### Information -...
Client argument ignored in HuggingFaceTextGenInference constructor
https://api.github.com/repos/langchain-ai/langchain/issues/7711/comments
4
2023-07-14T15:08:14Z
2024-02-07T16:28:48Z
https://github.com/langchain-ai/langchain/issues/7711
1,805,040,120
7,711
[ "hwchase17", "langchain" ]
### System Info I keep getting an error 'Could not parse LLM output' when using the create_pandas_dataframe_agent with Vicuna 13B as the LLM. Any solution to this? ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - ...
Could not parse LLM output when using 'create_pandas_dataframe_agent' with open source models (any model other than OpenAI models)
https://api.github.com/repos/langchain-ai/langchain/issues/7709/comments
7
2023-07-14T14:44:30Z
2024-02-13T16:15:24Z
https://github.com/langchain-ai/langchain/issues/7709
1,805,005,018
7,709
[ "hwchase17", "langchain" ]
### Feature request Please Create Geo-Argentina in Discord ### Motivation I want to network with people nearby ### Your contribution No
Please Create Geo-Argentina in Discord
https://api.github.com/repos/langchain-ai/langchain/issues/7703/comments
1
2023-07-14T12:59:51Z
2023-07-14T18:42:11Z
https://github.com/langchain-ai/langchain/issues/7703
1,804,844,163
7,703
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.219 Python3.9 ### 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 - [X] Prompts / Prompt Templates / Prompt Selectors - [X]...
Getting unwanted/irrelevant/out of context results in document question answering
https://api.github.com/repos/langchain-ai/langchain/issues/7702/comments
8
2023-07-14T12:38:13Z
2023-12-19T16:23:01Z
https://github.com/langchain-ai/langchain/issues/7702
1,804,812,396
7,702
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.232 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 / Prompt Templates / ...
Prompt injection which leads to arbitrary code execution
https://api.github.com/repos/langchain-ai/langchain/issues/7700/comments
5
2023-07-14T10:11:00Z
2023-10-27T19:17:54Z
https://github.com/langchain-ai/langchain/issues/7700
1,804,604,289
7,700
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Here is an (incomplete) modification of the documentation for using `CombinedMemory`, but with `VectorStoreRetrieverMemory` instead of `ConversationSummaryMemory`. ```python from langchain.llms import OpenAI from langchain.prompts import PromptTemplate from langchain.chains impor...
Issue: Cannot use CombinedMemory with VectorStoreRetrieverMemory and ConversationTokenBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/7695/comments
10
2023-07-14T06:05:24Z
2023-08-03T15:00:56Z
https://github.com/langchain-ai/langchain/issues/7695
1,804,243,856
7,695
[ "hwchase17", "langchain" ]
### System Info ### my python code from langchain import OpenAI, SQLDatabase, SQLDatabaseChain from langchain.chains import SQLDatabaseSequentialChain db = SQLDatabase.from_uri("clickhouse://xx:xx@ip/db", include_tables=include_tables, custom_table_info=custo...
SQLDatabaseChain runs under the GPT4 model and reports an error
https://api.github.com/repos/langchain-ai/langchain/issues/7691/comments
11
2023-07-14T02:40:44Z
2024-06-03T14:22:05Z
https://github.com/langchain-ai/langchain/issues/7691
1,804,055,036
7,691
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.232 Google Colab ### 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...
Executor calling CustomTool with no parameter needed insists to call the tool with a parameter coming from nowhere
https://api.github.com/repos/langchain-ai/langchain/issues/7685/comments
3
2023-07-13T23:08:19Z
2024-07-01T22:06:48Z
https://github.com/langchain-ai/langchain/issues/7685
1,803,880,410
7,685
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi! I have some problem with the `NotebookLoader` loader: I'm trying to access my repo and detect all of the `.ipynb` files, and then load them to the LLM Chain I'm implementing using LangChain. The repo can be viewed [here](https://github.com/eilone/RepoReader/tree/eilon-br) ```...
Issue: Can't use NotebookLoader to load ipynb files generically
https://api.github.com/repos/langchain-ai/langchain/issues/7671/comments
3
2023-07-13T17:36:30Z
2023-10-19T16:05:13Z
https://github.com/langchain-ai/langchain/issues/7671
1,803,479,936
7,671
[ "hwchase17", "langchain" ]
### System Info langchain=0.0.230 ### Who can help? @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 - [ ] Document ...
ArxivRetriever should return a metadata Sources field
https://api.github.com/repos/langchain-ai/langchain/issues/7666/comments
3
2023-07-13T15:46:48Z
2023-10-21T16:06:55Z
https://github.com/langchain-ai/langchain/issues/7666
1,803,303,718
7,666
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hello, I was looking into the LangChain `text_splitter` documentation and found that Python documentation for this section is down https://python.langchain.com/docs/modules/data_connection/text_splitters.html. Thank you for checking it! ### Idea or request for content: _No resp...
DOC: Text Splitter Python Doc down webpage
https://api.github.com/repos/langchain-ai/langchain/issues/7665/comments
4
2023-07-13T15:17:41Z
2023-10-15T22:30:26Z
https://github.com/langchain-ai/langchain/issues/7665
1,803,252,587
7,665
[ "hwchase17", "langchain" ]
### Feature request Hello, and thanks for this fantastic library!! In pyproject.toml, the Pydantic library [is pinned to version 1.x](https://github.com/hwchase17/langchain/blob/master/pyproject.toml#L15) I'd like to unpin that dependency by changing `^1` to `>=1`. ### Motivation Pydantic 2.0.2 is appar...
Uncap pydantic dependency (allow pydantic 2.x)
https://api.github.com/repos/langchain-ai/langchain/issues/7663/comments
11
2023-07-13T14:59:49Z
2024-02-08T17:41:20Z
https://github.com/langchain-ai/langchain/issues/7663
1,803,218,927
7,663
[ "hwchase17", "langchain" ]
### Issue with current documentation: I'd like to pass in documents to a chain created from `load_qa_with_sources_chain` that are the results of `compression_retriever.get_relevant_documents(user_query)`. It's not clear from the documentation whether this is possible, and, if so, how to accomplish it. ### Idea or re...
DOC: ContextualCompressionRetriever - is it possible to retain sources
https://api.github.com/repos/langchain-ai/langchain/issues/7661/comments
3
2023-07-13T14:06:40Z
2023-09-05T12:24:39Z
https://github.com/langchain-ai/langchain/issues/7661
1,803,109,618
7,661
[ "hwchase17", "langchain" ]
### System Info Version: 0.0.201 ``` llm = ChatVertexAI(temperature=0) qa_chain_mr = RetrievalQA.from_chain_type( llm, retriever=vectordb.as_retriever(), chain_type="refine" ) result = qa_chain_mr({"query": question}) result["result"] ``` Error: ---------------------------------------------------...
RetrievalQA.from_chain_type not working fine for chain_type="refine" when using ChatVertexAI
https://api.github.com/repos/langchain-ai/langchain/issues/7658/comments
1
2023-07-13T13:41:26Z
2023-10-19T16:05:23Z
https://github.com/langchain-ai/langchain/issues/7658
1,803,060,313
7,658
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a case,that there are many tools to be used, so i can't put them all in prompt, is there any good ideas, retrievers, to filtrate the tools? and i have try the embedding, vector_store ,but it can not filtrate all tools i need, and it can't filtrate the tools which are Indirec...
Issue: Tool many tools, and the embedding can not filter all tools i need, is there any good ideas?
https://api.github.com/repos/langchain-ai/langchain/issues/7657/comments
1
2023-07-13T13:30:49Z
2023-10-19T16:05:28Z
https://github.com/langchain-ai/langchain/issues/7657
1,803,037,316
7,657
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. File "/home/ajay/anaconda3/envs/andy/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script exec(code, module.__dict__) File "/home/ajay/MeetsMeta/scripts/streamlit.py", line 72, in <module> msg = {"role": "assistant", "content":...
Could not parse LLM output: `AI: Alright, if you have any other questions in the future, feel free to ask. Enjoy your day!`
https://api.github.com/repos/langchain-ai/langchain/issues/7655/comments
3
2023-07-13T13:07:52Z
2023-11-29T16:08:55Z
https://github.com/langchain-ai/langchain/issues/7655
1,802,991,660
7,655
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. - Azure/OpenAI API has a user (Optional) parameter. - Create chat completion - https://platform.openai.com/docs/api-reference/chat/create#chat/create-user - https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#completions - Create embeddings - ...
Set OpenAIEmbeddings parameters, not explicitly specified
https://api.github.com/repos/langchain-ai/langchain/issues/7654/comments
2
2023-07-13T12:59:32Z
2023-07-20T12:32:49Z
https://github.com/langchain-ai/langchain/issues/7654
1,802,976,205
7,654
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.231 Python version: 3.10.11 Bug: There is an issue when clearing LLM cache for SQL Alchemy based caches. langchain.llm_cache.clear() does not clear the cache for SQLite LLM cache. Reason: it doesn't commit the deletion database change. The deletion doesn't take effect...
SQLite LLM cache clear does not take effect
https://api.github.com/repos/langchain-ai/langchain/issues/7652/comments
0
2023-07-13T12:36:48Z
2023-07-13T13:39:06Z
https://github.com/langchain-ai/langchain/issues/7652
1,802,933,301
7,652
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.229 text-generation==0.6.0 Python 3.10.12 ### 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 / Pr...
HuggingFaceTextGenInference: required fields not permitted, e.g. 'truncate'
https://api.github.com/repos/langchain-ai/langchain/issues/7650/comments
1
2023-07-13T11:30:42Z
2023-07-14T20:23:58Z
https://github.com/langchain-ai/langchain/issues/7650
1,802,820,438
7,650