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 I have used the SemanticSimilarityExampleSelector and created a prompt. When I try to pass this to agent it fails saying: **ValueError: Saving an example selector is not currently supported** ![image](https://github.com/langchain-ai/langchain/assets/75229326/81a38ed5-b2d2-4756-ae30-e89e41c6a734) ...
Issue with Few Short prompt when passed to agent
https://api.github.com/repos/langchain-ai/langchain/issues/10336/comments
37
2023-09-07T17:11:20Z
2024-02-15T16:09:55Z
https://github.com/langchain-ai/langchain/issues/10336
1,886,296,572
10,336
[ "hwchase17", "langchain" ]
### System Info There are a few differences between the PineconeHybridSearchRetriever and base Pinecone retriever making it difficult to switch to the former. @hw You can pass search_kwargs to pinecone index.as_retriver(search_kwargs:{filter: 'value'}) because it inherits from base VectorStore which has the as_retri...
PineconeHynridSearchRetriever missing several args and not returning ids of vectors when adding texts
https://api.github.com/repos/langchain-ai/langchain/issues/10333/comments
5
2023-09-07T16:19:08Z
2024-05-10T13:39:00Z
https://github.com/langchain-ai/langchain/issues/10333
1,886,206,628
10,333
[ "hwchase17", "langchain" ]
### System Info Got no system info to share. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers -...
Response is sometimes in different language
https://api.github.com/repos/langchain-ai/langchain/issues/10329/comments
1
2023-09-07T14:13:38Z
2023-12-14T16:05:03Z
https://github.com/langchain-ai/langchain/issues/10329
1,885,991,150
10,329
[ "hwchase17", "langchain" ]
### System Info Running SQLDatabaseChain with LangChain version 0.0.271 and SQLite return records that does not match the query. Using SQLDatabaseChain with verbose set to true I am getting these in the console: ```sql SQLQuery:SELECT id, sale_type, sold_date, property_type, address, city, state_or_province, zip...
Running SQLDatabaseChain return records that does not match the query
https://api.github.com/repos/langchain-ai/langchain/issues/10325/comments
7
2023-09-07T11:33:14Z
2024-02-29T10:19:39Z
https://github.com/langchain-ai/langchain/issues/10325
1,885,710,571
10,325
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have pdf which has more than 2000 pages. file read successfully, but vector db was not created and getting this error. please suggest any solution. **complete error:** embeddings results = cur.execute(sql, params).fetchall() sqlite3.OperationalError: too many SQL variables ...
sqlite3.OperationalError: too many SQL variables
https://api.github.com/repos/langchain-ai/langchain/issues/10321/comments
6
2023-09-07T09:11:01Z
2023-12-14T16:05:07Z
https://github.com/langchain-ai/langchain/issues/10321
1,885,452,004
10,321
[ "hwchase17", "langchain" ]
### System Info I have created a LLama 7b model and in Databricks i have used model serving options. When i test model it works in databricks, but when i use the same model to connect with Langchain i get this error. this works in Databricks model endpoint: Json input: { "dataframe_split": { "columns": ...
Langchain doesnt work with Databricks Model serving asking generate (str type expected (type=type_error.str)
https://api.github.com/repos/langchain-ai/langchain/issues/10318/comments
12
2023-09-07T08:28:28Z
2024-06-25T03:05:42Z
https://github.com/langchain-ai/langchain/issues/10318
1,885,373,063
10,318
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am writing a ConversationalRetrievalChain with a question_generator_chain. When writing a prompt for condensing the chat_history, I found it doesn't work well with the whole {chat_history}. I guess if I only give all questions asked by "human:", it will perform better. But I don't kn...
Issue: How to customize the question_generator_chain in ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/10317/comments
2
2023-09-07T08:25:40Z
2023-12-08T04:55:32Z
https://github.com/langchain-ai/langchain/issues/10317
1,885,368,696
10,317
[ "hwchase17", "langchain" ]
### System Info hi, I am unable to stream the final answer from llm chain to chianlit UI. langchain==0.0.218 Python 3.9.16 here are the details: https://github.com/Chainlit/chainlit/issues/313 is this implemented? - https://github.com/langchain-ai/langchain/pull/1222/ ### Who can help? _No response_ ##...
Final answer streaming problem
https://api.github.com/repos/langchain-ai/langchain/issues/10316/comments
21
2023-09-07T07:14:40Z
2024-08-09T16:07:47Z
https://github.com/langchain-ai/langchain/issues/10316
1,885,260,192
10,316
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to create a callback handler to monitor all tokens in all intermediate steps and output catch and return when the response has "AI:". How can I achieve that using the following custom callback handler? ``` import sys from typing import Any, Dict, List, Optional ...
Issue: CustomCallBackHandlers for catch all intermediate steps
https://api.github.com/repos/langchain-ai/langchain/issues/10315/comments
2
2023-09-07T06:57:57Z
2023-12-14T16:05:12Z
https://github.com/langchain-ai/langchain/issues/10315
1,885,236,282
10,315
[ "hwchase17", "langchain" ]
### System Info Apple Macbook M1 Pro python: 3.11.2 langchain: 0.0.283 pydantic: 2.3.0 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] P...
Langchain Quickstart is not working for me
https://api.github.com/repos/langchain-ai/langchain/issues/10314/comments
2
2023-09-07T06:38:07Z
2023-09-09T21:29:36Z
https://github.com/langchain-ai/langchain/issues/10314
1,885,210,992
10,314
[ "hwchase17", "langchain" ]
### System Info jupyter notebook, RTX 3090 ### Who can help? @agola11 @hwchase17 @ey ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
apply embeddings to pandas dataframe
https://api.github.com/repos/langchain-ai/langchain/issues/10313/comments
7
2023-09-07T06:02:33Z
2023-12-14T16:05:18Z
https://github.com/langchain-ai/langchain/issues/10313
1,885,171,818
10,313
[ "hwchase17", "langchain" ]
### Issue with current documentation: When I am using a tool with `return_direct = True` , the observation step will provide the answer. Is there a way to stream that observation from the intermediate steps using callbacks. I found no information regarding this. It is much appreciated if we can add something regard...
DOC: <Observation Streaming Using Call Back>
https://api.github.com/repos/langchain-ai/langchain/issues/10312/comments
4
2023-09-07T04:57:35Z
2023-12-30T18:21:43Z
https://github.com/langchain-ai/langchain/issues/10312
1,885,116,454
10,312
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When working with the `CONVERSATIONAL_REACT_DESCRIPTION`, I found Observation was capped out when passing to the action input. For example I have retrieved a JsonArray by using a structured tool but when the agent passes it to the final tool jsonArray was capped out. Can I handle it? ##...
Issue: Obeservation is capping out when passing to Action Input [CONVERSATIONAL_REACT_DESCRIPTION]
https://api.github.com/repos/langchain-ai/langchain/issues/10311/comments
2
2023-09-07T04:34:10Z
2023-12-14T16:05:27Z
https://github.com/langchain-ai/langchain/issues/10311
1,885,097,882
10,311
[ "hwchase17", "langchain" ]
### Issue with current documentation: I wasn't able to find any information related to the customization of Action Input and Final Answer customization. It is much-appreciated if the documentation can provide some info regarding that as well. ### Idea or request for content: _No response_
DOC: Action Input and Final Answer
https://api.github.com/repos/langchain-ai/langchain/issues/10310/comments
2
2023-09-07T04:03:13Z
2023-09-15T03:15:07Z
https://github.com/langchain-ai/langchain/issues/10310
1,885,075,993
10,310
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. my test code ``` import unittest from langchain.chat_models import ErnieBotChat from langchain.schema import ( HumanMessage ) class TestErnieBotCase(unittest.TestCase): def test_ernie_bot(self): chat_llm = ErnieBotChat( ernie_client_id="xxx", ...
Errors about ErnieBotChat
https://api.github.com/repos/langchain-ai/langchain/issues/10309/comments
2
2023-09-07T03:46:18Z
2023-09-07T04:09:47Z
https://github.com/langchain-ai/langchain/issues/10309
1,885,064,287
10,309
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Langchain pandas agents (create_pandas_dataframe_agent ) is hard to work with llama models. (the same scripts work well with gpt3.5.) I am trying to use local model Vicuna 13b v1.5 (LLaMa2 based) to create a local Question&Answer system. it works well dealing with doc QAs. but it do...
Issue: create_pandas_dataframe_agent is hard to work with llama models
https://api.github.com/repos/langchain-ai/langchain/issues/10308/comments
16
2023-09-07T03:36:15Z
2024-06-28T16:05:13Z
https://github.com/langchain-ai/langchain/issues/10308
1,885,057,548
10,308
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.281 boto3==1.28.41 ```python s3 = boto3.resource( "s3", region_name=self.region_name, api_version=self.api_version, use_ssl=self.use_ssl, verify=self.verify, endpoint_url=self.endpoint_url, ...
`langchain/document_loaders/s3_directory.py` S3DirectoryLoader has 3 bugs
https://api.github.com/repos/langchain-ai/langchain/issues/10294/comments
2
2023-09-06T16:20:11Z
2023-12-14T16:05:33Z
https://github.com/langchain-ai/langchain/issues/10294
1,884,353,219
10,294
[ "hwchase17", "langchain" ]
### Discussed in https://github.com/langchain-ai/langchain/discussions/10068 <div type='discussions-op-text'> <sup>Originally posted by **aMahanna** August 31, 2023</sup> Hi! Python version used: `3.10` Virtual Environment Tool used: `venv` I am trying to understand why `pip install langchain[all]` is ins...
using `pip install langchain[all]` in a `venv` installs langchain 0.0.74
https://api.github.com/repos/langchain-ai/langchain/issues/10285/comments
1
2023-09-06T12:53:05Z
2023-09-26T19:17:13Z
https://github.com/langchain-ai/langchain/issues/10285
1,883,953,869
10,285
[ "hwchase17", "langchain" ]
### Feature request Currently there isn't any feature which we can use to actually manipulate/change and save the data frame. **Examples:** If I say rename columns to Column1, Column2, Column3. Make new column named as [Column4] having data concatenated from Column1 and Column2 It should actually perform the ...
[create_csv_agent] Change dataframe as according to the prompt, and also save when required
https://api.github.com/repos/langchain-ai/langchain/issues/10281/comments
2
2023-09-06T10:51:41Z
2024-02-08T16:25:01Z
https://github.com/langchain-ai/langchain/issues/10281
1,883,753,627
10,281
[ "hwchase17", "langchain" ]
### System Info I am running this code and getting below errro - Code: from langchain.agents import load_tools, tool, Tool, AgentType, initialize_agent from langchain.llms import AzureOpenAI from langchain import LLMMathChain llm = AzureOpenAI(deployment_name=deployment_name, model_name=model_name, temperatu...
Unable to Parse Final Answer through mrkl.output_parser
https://api.github.com/repos/langchain-ai/langchain/issues/10278/comments
1
2023-09-06T08:37:38Z
2023-12-13T16:05:33Z
https://github.com/langchain-ai/langchain/issues/10278
1,883,529,921
10,278
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Where given a question in a natural language it has to convert to sql query and then operate on the sql data base then has to return the answer. Here I want to catch sql query generated and also the reponse to the question Earlier I did by using SQLDatabaseChain But now I couldn't fin...
query database using natural language
https://api.github.com/repos/langchain-ai/langchain/issues/10277/comments
21
2023-09-06T08:16:51Z
2023-12-13T16:05:39Z
https://github.com/langchain-ai/langchain/issues/10277
1,883,494,749
10,277
[ "hwchase17", "langchain" ]
GPU usage doesn't change and my Local Llama model only runs under CPU ``I'm running a local llama 2 7b model(hugging face bloke model), on my local machine, everything works fine, except that only cpu works and GPU usage remains 0 throughout. I've included n_gpu_layers and other such options, but gpu just doesn't wo...
GPU usage 0 even with n_gpu_layers.
https://api.github.com/repos/langchain-ai/langchain/issues/10276/comments
4
2023-09-06T07:56:48Z
2024-03-23T16:05:21Z
https://github.com/langchain-ai/langchain/issues/10276
1,883,463,052
10,276
[ "hwchase17", "langchain" ]
### System Info npm --version 8.19.4 The langchain it's trying to install is 0.0.144 I think it's because chromadb recently released 1.5.7 and 1.5.8 which added a (conflicting) dep on cohere-ai. Pinning chromadb 1.5.6 works, but that's hardly satisfying. ### Who can help? _No response_ ### Information - [ ]...
langchain cannot be installed in a new project
https://api.github.com/repos/langchain-ai/langchain/issues/10274/comments
3
2023-09-06T06:53:40Z
2023-09-25T14:34:05Z
https://github.com/langchain-ai/langchain/issues/10274
1,883,364,481
10,274
[ "hwchase17", "langchain" ]
### Issue with current documentation: [This](https://python.langchain.com/docs/modules/chains/how_to/call_methods#:~:text=See%20an%20example%20here.) link is not working. <img width="1228" alt="image" src="https://github.com/langchain-ai/langchain/assets/84584929/19a6f523-8584-4338-80e0-ffe78c51714a"> ### Idea ...
DOC: One link in Chain->Diff cll methods is not working
https://api.github.com/repos/langchain-ai/langchain/issues/10272/comments
2
2023-09-06T04:25:53Z
2023-12-13T16:05:43Z
https://github.com/langchain-ai/langchain/issues/10272
1,883,176,962
10,272
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Where given a question in a natural language it has to convert to sql query and then operate on the sql data base then has to return the answer. Earlier I did by using **SQLDatabaseChain** But now I couldn't find this in your document. So what are all supported here for my use case? ...
Query data base using natural language
https://api.github.com/repos/langchain-ai/langchain/issues/10270/comments
1
2023-09-06T03:55:29Z
2023-09-06T08:44:16Z
https://github.com/langchain-ai/langchain/issues/10270
1,883,141,864
10,270
[ "hwchase17", "langchain" ]
### System Info Our startup using this line all across out scripts. `HuggingFaceBgeEmbeddings(model_name="BAAI/bge-large-en")` Today, someone updated langchain, everything has stopped, please help!! ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modi...
Our whole business is down. please help!! HuggingFaceBgeEmbeddings(model_name="BAAI/bge-large-en")
https://api.github.com/repos/langchain-ai/langchain/issues/10268/comments
5
2023-09-06T03:31:13Z
2024-01-30T00:48:34Z
https://github.com/langchain-ai/langchain/issues/10268
1,883,115,087
10,268
[ "hwchase17", "langchain" ]
### System Info Since we updated to the latest langchain we are also getting this issue. We are a startup, just launched, updated yesterday now all our apps don't work. First customer annoyed. **Please, please help!** Name: langchain Version: 0.0.281 ` data_state_nsw_legisation_index_instance = FAISS....
ModuleNotFoundError: No module named 'langchain.schema.document'; 'langchain.schema' is not a package
https://api.github.com/repos/langchain-ai/langchain/issues/10266/comments
4
2023-09-06T02:53:08Z
2023-12-14T16:05:38Z
https://github.com/langchain-ai/langchain/issues/10266
1,883,078,790
10,266
[ "hwchase17", "langchain" ]
### System Info Yesterday is works, someone accidentally update langchain now the whole platform is down. We built the whole platform using his code all over the place. Now nothing works. We have around 50 models. All our models are build like this and we just went live as a startup. **We are scrabbling here ...
HuggingFaceBgeEmbeddings Error, Please help!
https://api.github.com/repos/langchain-ai/langchain/issues/10263/comments
6
2023-09-06T02:42:31Z
2023-12-18T23:47:49Z
https://github.com/langchain-ai/langchain/issues/10263
1,883,067,486
10,263
[ "hwchase17", "langchain" ]
### System Info For some reason SystemMessage does not work for me (agent ignores it). Here is my code: ``` system_message = SystemMessage(content="write response in uppercase") agent_kwargs = { "system_message": system_message, } agent_func = create_pandas_dataframe_agent( llm, df, verbos...
SystemMessage in create_pandas_dataframe_agent
https://api.github.com/repos/langchain-ai/langchain/issues/10256/comments
5
2023-09-05T22:30:56Z
2024-02-13T16:12:47Z
https://github.com/langchain-ai/langchain/issues/10256
1,882,809,906
10,256
[ "hwchase17", "langchain" ]
### Feature request Azure Cognitive Search already has [hybrid search functionality](https://python.langchain.com/docs/integrations/vectorstores/azuresearch#perform-a-hybrid-search) and it makes sense to add support of SelfQueryRetriever as well ### Motivation Azure Cognitive Search is production ready solution. ...
Add Support of Azure Cognitive Search for SelfQueryRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/10254/comments
4
2023-09-05T21:30:47Z
2024-06-25T06:25:08Z
https://github.com/langchain-ai/langchain/issues/10254
1,882,750,331
10,254
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.281, pydantic 1.10.9, gpt4all 1.0.9, Linux Gardua(Arch), Python 3.11.5 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Pro...
Error when Instantiating GPT4AllEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/10251/comments
2
2023-09-05T19:44:51Z
2023-11-19T20:42:12Z
https://github.com/langchain-ai/langchain/issues/10251
1,882,619,158
10,251
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. PyYAML has [known issues](https://github.com/yaml/pyyaml/issues/724) with version 5.4.1 and several other libraries are rolling back requirements to allow compatibility. ### Suggestion: Lower requirement to allow PyYAML 5.3.1
Issue: Lower requirements for PyYAML to 5.3.1 due to Cython bug
https://api.github.com/repos/langchain-ai/langchain/issues/10243/comments
0
2023-09-05T17:33:43Z
2023-09-18T15:13:05Z
https://github.com/langchain-ai/langchain/issues/10243
1,882,449,770
10,243
[ "hwchase17", "langchain" ]
### System Info ``` langchain[qdrant]==0.0.281 qdrant-client==1.4.0 ``` Qdrant server v1.4.1 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts /...
Error message when using force_recreate on Qdrant
https://api.github.com/repos/langchain-ai/langchain/issues/10241/comments
2
2023-09-05T17:12:31Z
2023-12-13T16:05:58Z
https://github.com/langchain-ai/langchain/issues/10241
1,882,418,290
10,241
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using Opensearch as vector database in langchain to store the documents and using tools to integrate it with agent to look for the information when we pass any query and to use GPT model to get the enhanced response. I am facing tool not valid issue while running the code. Any su...
[tool_name] is not a valid tool, try one of [tool_name]
https://api.github.com/repos/langchain-ai/langchain/issues/10240/comments
6
2023-09-05T16:58:01Z
2024-07-10T16:05:16Z
https://github.com/langchain-ai/langchain/issues/10240
1,882,397,741
10,240
[ "hwchase17", "langchain" ]
### System Info Hello team, I'm currently facing an issue while trying to use VespaRetriever within the context of langchain: '0.0.281' . Vespa has been successfully deployed on my local environment, and queries are functioning correctly ``` from langchain.retrievers.vespa_retriever import VespaRetriever ves...
ConfigError: Field 'app' Not Yet Prepared with ForwardRef Error When Initializing VespaRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/10235/comments
3
2023-09-05T15:07:29Z
2023-09-14T07:18:23Z
https://github.com/langchain-ai/langchain/issues/10235
1,882,171,470
10,235
[ "hwchase17", "langchain" ]
### Feature request Add WatsonX (IBM) connector for LLM ### Motivation Working at IBM, I think it could be great to have it integrated to easily use langchain with Watsonx ### Your contribution I have implemented and tested a small connector for watsonX
WatsonX LLM support
https://api.github.com/repos/langchain-ai/langchain/issues/10232/comments
1
2023-09-05T14:07:32Z
2023-09-05T15:48:37Z
https://github.com/langchain-ai/langchain/issues/10232
1,882,060,479
10,232
[ "hwchase17", "langchain" ]
### System Info All latest versions ### Who can help? @agola ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers ...
Language parameter in OpoenAI() is not working anymore!
https://api.github.com/repos/langchain-ai/langchain/issues/10230/comments
6
2023-09-05T13:56:32Z
2023-12-18T23:47:53Z
https://github.com/langchain-ai/langchain/issues/10230
1,882,039,161
10,230
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Trying to load the llama 2 7b model which is in D drive, but I'm constantly getting errors. This is my code ` from langchain.llms import LlamaCpp from langchain import PromptTemplate, LLMChain from langchain.callbacks.manager import CallbackManager from langchain.callbacks.st...
pydantic.v1.error_wrappers.ValidationError: 1 validation error for LlamaCpp __root__ Could not load Llama model from path: D:\model.safetensors. Received error (type=value_error)
https://api.github.com/repos/langchain-ai/langchain/issues/10226/comments
7
2023-09-05T11:56:03Z
2024-07-26T16:05:33Z
https://github.com/langchain-ai/langchain/issues/10226
1,881,825,625
10,226
[ "hwchase17", "langchain" ]
### System Info OS: Ubuntu 22.04.3 LTS SQLAlchemy==1.4.49 langchain==0.0.281 ### 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 / P...
create_sql_agent has incorrect behaviour when it queries agaisnt Google BigQuery
https://api.github.com/repos/langchain-ai/langchain/issues/10225/comments
8
2023-09-05T11:35:05Z
2023-12-19T00:48:43Z
https://github.com/langchain-ai/langchain/issues/10225
1,881,790,415
10,225
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there a feature in langchain through which we can load multiple CSVs with different headers?? Right now in CSVLoader we can upload only single CSV. ### Suggestion: _No response_
Issue: How can we load multiple CSVs
https://api.github.com/repos/langchain-ai/langchain/issues/10224/comments
2
2023-09-05T11:32:25Z
2023-12-13T16:06:13Z
https://github.com/langchain-ai/langchain/issues/10224
1,881,785,169
10,224
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. What is the difference between Pandas Data frame agent, CSV agent and SQL Agent? Can you brief each and when to use ? ### Suggestion: _No response_
What is the difference between Pandas Data frame agent, CSV agent and SQL Agent?
https://api.github.com/repos/langchain-ai/langchain/issues/10223/comments
5
2023-09-05T11:30:53Z
2024-03-14T08:10:36Z
https://github.com/langchain-ai/langchain/issues/10223
1,881,782,758
10,223
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm trying to run the local llama 2-7b version. I've installed llama-cpp-python and all other requirements. When I run the code I constantly get the error which says Here is my code ` from langchain.llms import LlamaCpp from langchain import PromptTemplate, LLMChain from langc...
from ._pydantic_core import ( ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
https://api.github.com/repos/langchain-ai/langchain/issues/10222/comments
1
2023-09-05T11:26:34Z
2023-09-05T11:54:29Z
https://github.com/langchain-ai/langchain/issues/10222
1,881,774,642
10,222
[ "hwchase17", "langchain" ]
### System Info windows ### 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 -...
Please add support URL parse for BaijiaHao
https://api.github.com/repos/langchain-ai/langchain/issues/10219/comments
3
2023-09-05T09:04:40Z
2023-12-13T16:06:23Z
https://github.com/langchain-ai/langchain/issues/10219
1,881,536,484
10,219
[ "hwchase17", "langchain" ]
### System Info Python : v3.10.10 Langchain : v0.0.281 Elasticsearch : v8.9.0 ### 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...
Error failed to index when using ElasticsearchStore.from_documents
https://api.github.com/repos/langchain-ai/langchain/issues/10218/comments
19
2023-09-05T07:59:38Z
2024-06-21T03:08:10Z
https://github.com/langchain-ai/langchain/issues/10218
1,881,424,933
10,218
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. class AzureMLEndpointClient(object): """AzureML Managed Endpoint client.""" def __init__( self, endpoint_url: str, endpoint_api_key: str, deployment_name: str = "" ) -> None: """Initialize the class.""" if not endpoint_api_key or not endpoint_u...
Issue: Timeout parameter in the AzureMLEndpointClient cannot be modified
https://api.github.com/repos/langchain-ai/langchain/issues/10217/comments
2
2023-09-05T07:49:27Z
2023-12-13T16:06:28Z
https://github.com/langchain-ai/langchain/issues/10217
1,881,407,285
10,217
[ "hwchase17", "langchain" ]
### System Info LangChain version:0.0271 python version:3.9 transformers:4.30.2 linux ### 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 Templat...
Errors about ErnieBotChat using agent
https://api.github.com/repos/langchain-ai/langchain/issues/10215/comments
2
2023-09-05T07:28:55Z
2023-12-13T16:06:33Z
https://github.com/langchain-ai/langchain/issues/10215
1,881,374,483
10,215
[ "hwchase17", "langchain" ]
### System Info Kaggle notebook ### Who can help? @agola11 @hw ### 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 Lo...
Pydantic issue
https://api.github.com/repos/langchain-ai/langchain/issues/10210/comments
3
2023-09-05T05:21:26Z
2023-09-05T06:14:19Z
https://github.com/langchain-ai/langchain/issues/10210
1,881,211,959
10,210
[ "hwchase17", "langchain" ]
### System Info 0.0.274 ### 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 - [ ]...
langchain/vectorstores/milvus.py _load function need timeout parameter
https://api.github.com/repos/langchain-ai/langchain/issues/10207/comments
4
2023-09-05T03:46:17Z
2024-02-08T04:20:22Z
https://github.com/langchain-ai/langchain/issues/10207
1,881,133,733
10,207
[ "hwchase17", "langchain" ]
I have the following code (see below). I have two prompts. One works ok (p1), and the other (p2) throws following error (complete error below): `OutputParserException: Could not parse LLM output: I don't know how to answer the question because I don't have access to the casos_perfilados_P2 table.` `p1 : Seleccion...
Issue: SQLDatabaseToolkit inconsistency
https://api.github.com/repos/langchain-ai/langchain/issues/10205/comments
4
2023-09-05T02:15:33Z
2023-12-07T02:53:55Z
https://github.com/langchain-ai/langchain/issues/10205
1,881,063,737
10,205
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.281 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Pars...
create_extraction_chain does not work with other LLMs? Replicate models fails to load
https://api.github.com/repos/langchain-ai/langchain/issues/10201/comments
24
2023-09-05T00:08:26Z
2024-05-06T07:34:01Z
https://github.com/langchain-ai/langchain/issues/10201
1,880,981,812
10,201
[ "hwchase17", "langchain" ]
### System Info 0.0.274 ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outp...
How to develop an efficient question answering solution acting as a customer assistant based on RAG or Fine tuning?
https://api.github.com/repos/langchain-ai/langchain/issues/10188/comments
4
2023-09-04T15:44:40Z
2024-02-10T16:18:02Z
https://github.com/langchain-ai/langchain/issues/10188
1,880,533,324
10,188
[ "hwchase17", "langchain" ]
### Feature request Adopt [Classy-fire](https://github.com/microsoft/classy-fire) ### Motivation See above link on benefits of the approach ### Your contribution Can adapt classy-fire for easier integration as requested
Adopt Microsoft's Classy-fire classification approach
https://api.github.com/repos/langchain-ai/langchain/issues/10187/comments
3
2023-09-04T14:28:14Z
2023-12-13T16:06:43Z
https://github.com/langchain-ai/langchain/issues/10187
1,880,407,689
10,187
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. After PR [#8612](https://github.com/langchain-ai/langchain/pull/8612), access to [RedisVectorStoreRetriever](https://github.com/langchain-ai/langchain/blob/27944cb611ee8face34fbe764c83e37841f96eb7/libs/langchain/langchain/vectorstores/redis/base.py#L1293) has been removed ### Suggestion...
Issue: RedisVectorStoreRetriever not accessible
https://api.github.com/repos/langchain-ai/langchain/issues/10186/comments
4
2023-09-04T14:21:34Z
2023-09-12T22:29:54Z
https://github.com/langchain-ai/langchain/issues/10186
1,880,395,414
10,186
[ "hwchase17", "langchain" ]
I think it'd better if there was a flag in the ConversationalRetreivalQAChain() where we can choose to not select the chain of question rephrasing before generation. Can this be considered as an issue and dealt with accordingly? _Originally posted by @AshminJayson in https://github.com/langchain-ai/lan...
Add option to disable question augmentation in ConversationalRetrievalQAChain
https://api.github.com/repos/langchain-ai/langchain/issues/10185/comments
1
2023-09-04T14:11:55Z
2023-12-11T16:04:43Z
https://github.com/langchain-ai/langchain/issues/10185
1,880,378,119
10,185
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. #1. Open terminal, install bedrock specific version boto3 SDK,langchain curl -sS https://d2eo22ngex1n9g.cloudfront.net/Documentation/SDK/bedrock-python-sdk.zip > sdk.zip sudo yum install unzip -y unzip sdk.zip -d sdk pip install --no-build-isolation --force-reinstall ./sdk/awscli-*-...
Issue: How to configure Amazon SageMaker endpoint
https://api.github.com/repos/langchain-ai/langchain/issues/10184/comments
3
2023-09-04T14:11:27Z
2023-12-25T16:08:45Z
https://github.com/langchain-ai/langchain/issues/10184
1,880,377,259
10,184
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. how to configure Amazon Bedrock step by step: Answers: #1. Open terminal, install bedrock specific version boto3 SDK,langchain curl -sS https://d2eo22ngex1n9g.cloudfront.net/Documentation/SDK/bedrock-python-sdk.zip > sdk.zip sudo yum install unzip -y unzip sdk.zip -d sdk pip insta...
Issue: how to configure Amazon Bedrock
https://api.github.com/repos/langchain-ai/langchain/issues/10182/comments
3
2023-09-04T14:09:32Z
2023-12-13T16:06:47Z
https://github.com/langchain-ai/langchain/issues/10182
1,880,373,791
10,182
[ "hwchase17", "langchain" ]
### System Info torch = "2.0.1" transformers = "4.31.0" langchain= "0.0.251" kor= "0.13.0" openai= "0.27.8" pydantic= "1.10.8" python_version = "3.9" ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/...
Multiple bases have instance lay-out conflict
https://api.github.com/repos/langchain-ai/langchain/issues/10179/comments
7
2023-09-04T12:03:49Z
2023-12-06T08:21:24Z
https://github.com/langchain-ai/langchain/issues/10179
1,880,134,640
10,179
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.279 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Ou...
An error occurred: not enough values to unpack (expected 2, got 1)
https://api.github.com/repos/langchain-ai/langchain/issues/10178/comments
2
2023-09-04T11:59:08Z
2023-12-11T16:04:53Z
https://github.com/langchain-ai/langchain/issues/10178
1,880,127,009
10,178
[ "hwchase17", "langchain" ]
### System Info - LangChain: 0.0.279 - Python: 3.11.4 - Platform: Linux and MacOS ### 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 / Pr...
ChatMessageChunk concat error
https://api.github.com/repos/langchain-ai/langchain/issues/10173/comments
0
2023-09-04T08:22:02Z
2023-10-27T02:15:23Z
https://github.com/langchain-ai/langchain/issues/10173
1,879,764,637
10,173
[ "hwchase17", "langchain" ]
### System Info ``` url = "https://www.wsj.com" loader = RecursiveUrlLoader(url=url, max_depth=2, extractor=lambda x: Soup(x, "html.parser").text) docs = loader.load() ``` Docs don't have any data related to `url`. The problem is related to DFS in the codebase. It doesn't handle the root case. ### Who can ...
RecursiveUrlLoader doesn't include root URL content
https://api.github.com/repos/langchain-ai/langchain/issues/10172/comments
2
2023-09-04T08:12:04Z
2023-12-11T16:04:58Z
https://github.com/langchain-ai/langchain/issues/10172
1,879,747,922
10,172
[ "hwchase17", "langchain" ]
HI team, I am using get_openai_callback to fetch the total token usage for agent. Is there any idea to get the token usage for each tool? Thanks
Can I get the token usage for each tool in agent?
https://api.github.com/repos/langchain-ai/langchain/issues/10170/comments
4
2023-09-04T07:47:46Z
2024-04-29T14:32:04Z
https://github.com/langchain-ai/langchain/issues/10170
1,879,709,967
10,170
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I would like to output the answer in a specific language (e.g. chinese) when I am using agent. But when I tried to do that with the code below, it gives me an error ```OutputParserException: Could not parse LLM output:``` ``` # retrieval qa chain qa = RetrievalQA.from_chain_type( ...
How can I append suffix to the prompt when I am using agents to control the output language
https://api.github.com/repos/langchain-ai/langchain/issues/10161/comments
2
2023-09-04T04:09:02Z
2023-12-11T16:05:08Z
https://github.com/langchain-ai/langchain/issues/10161
1,879,470,162
10,161
[ "hwchase17", "langchain" ]
### System Info Windows 10 langchain 0.0.279 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
HuggingFaceBgeEmbeddings error
https://api.github.com/repos/langchain-ai/langchain/issues/10159/comments
2
2023-09-04T02:12:44Z
2023-09-04T02:26:11Z
https://github.com/langchain-ai/langchain/issues/10159
1,879,386,202
10,159
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
why not found ernie bot from baidu in llms package? Thanks
https://api.github.com/repos/langchain-ai/langchain/issues/10150/comments
2
2023-09-03T15:08:29Z
2023-09-04T02:48:52Z
https://github.com/langchain-ai/langchain/issues/10150
1,879,131,847
10,150
[ "hwchase17", "langchain" ]
How can I stream the OpenAI response in DRF?
Issue: DRF response streaming
https://api.github.com/repos/langchain-ai/langchain/issues/10143/comments
3
2023-09-03T09:47:09Z
2024-03-16T16:04:31Z
https://github.com/langchain-ai/langchain/issues/10143
1,879,029,116
10,143
[ "hwchase17", "langchain" ]
### Feature request [Graph Of Thoughts](https://arxiv.org/pdf/2308.09687.pdf) looks promising. It is possible to implement it with LangChain? ### Motivation More performant prompt technique ### Your contribution I can help with documentation.
Graph Of Thoughts
https://api.github.com/repos/langchain-ai/langchain/issues/10137/comments
5
2023-09-02T23:14:01Z
2024-01-30T16:17:48Z
https://github.com/langchain-ai/langchain/issues/10137
1,878,874,363
10,137
[ "hwchase17", "langchain" ]
### System Info Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Ve...
Connection Timeout and Max Retries Exceeded in HTTPS Request
https://api.github.com/repos/langchain-ai/langchain/issues/10135/comments
1
2023-09-02T22:18:19Z
2023-09-03T19:47:46Z
https://github.com/langchain-ai/langchain/issues/10135
1,878,862,756
10,135
[ "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 - [X] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - ...
ConversationalRetrievalChain doesn't work with Azure OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/10128/comments
4
2023-09-02T15:34:17Z
2024-02-18T23:59:07Z
https://github.com/langchain-ai/langchain/issues/10128
1,878,736,357
10,128
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.279 / Langchain experimental 0.0.12/ Python 3.10 ### 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 ...
ModuleNotFoundError: No module named 'langchain_experimental.data_anonymizer'
https://api.github.com/repos/langchain-ai/langchain/issues/10126/comments
8
2023-09-02T14:16:42Z
2024-02-13T05:16:02Z
https://github.com/langchain-ai/langchain/issues/10126
1,878,707,467
10,126
[ "hwchase17", "langchain" ]
### Feature request With the new announced [support for Streaming in SageMaker Endpoints](https://aws.amazon.com/blogs/machine-learning/elevating-the-generative-ai-experience-introducing-streaming-support-in-amazon-sagemaker-hosting/), Langchain can add a Streaming capability to the `SagemakerEndpoint` class. We ...
SageMaker Endpoints with Streaming Capability
https://api.github.com/repos/langchain-ai/langchain/issues/10125/comments
3
2023-09-02T13:37:32Z
2024-02-13T16:12:54Z
https://github.com/langchain-ai/langchain/issues/10125
1,878,693,225
10,125
[ "hwchase17", "langchain" ]
### Feature request **Issue Description:** I would like to propose the addition of a new Agent called something like 'ConverseUntilAnswered.' This new agent would engage in multi-step interactions with users to obtain an answer according to a required schema, and self-terminate when an answer is obtained. **...
Proposal for 'ConverseUntilAnswered' Agent
https://api.github.com/repos/langchain-ai/langchain/issues/10122/comments
2
2023-09-02T08:56:43Z
2023-12-09T16:04:16Z
https://github.com/langchain-ai/langchain/issues/10122
1,878,495,416
10,122
[ "hwchase17", "langchain" ]
### Issue with current documentation: There is no documentation about the `SQLRecordManager` in the [langchain.indexes.base.RecordManager](https://api.python.langchain.com/en/latest/indexes/langchain.indexes.base.RecordManager.html#langchain.indexes.base.RecordManager) documentation, although is used in an indexing ex...
DOC: Inexistent API documentation about SQLRecordManager
https://api.github.com/repos/langchain-ai/langchain/issues/10120/comments
2
2023-09-02T02:38:30Z
2023-12-30T16:06:39Z
https://github.com/langchain-ai/langchain/issues/10120
1,878,286,644
10,120
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.276 Python version: 3.11.2 Platform: x86_64 Debian 12.2.0-14 Weaviate as vectorstore SQLite for document index ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Ch...
Indexing deletion modes not working
https://api.github.com/repos/langchain-ai/langchain/issues/10118/comments
3
2023-09-02T02:31:04Z
2023-12-09T16:04:21Z
https://github.com/langchain-ai/langchain/issues/10118
1,878,277,419
10,118
[ "hwchase17", "langchain" ]
### System Info ```sh pydantic==2.3.0 langchain==0.0.279 ``` ### Who can help? @agola11 , @hwchase17: Having trouble learning how to have LLMs as attributes in pydantic2. I keep getting this confusing error which I cannot troubleshoot. ### Information - [ ] The official example notebooks/scripts - [X] My own m...
Cannot have models with BaseLanguageModel in pydantic 2: TypeError: BaseModel.validate() takes 2 positional arguments but 3 were given
https://api.github.com/repos/langchain-ai/langchain/issues/10112/comments
3
2023-09-01T22:33:12Z
2023-11-16T14:53:22Z
https://github.com/langchain-ai/langchain/issues/10112
1,878,116,654
10,112
[ "hwchase17", "langchain" ]
### System Info ``` File Python\Python39\site-packages\langchain\vectorstores\pinecone.py:301, in Pinecone.max_marginal_relevance_search(self, query, k, fetch_k, lambda_mult, filter, namespace, **kwargs) 284 """Return docs selected using the maximal marginal relevance. 285 286 Maximal marginal relev...
Got ValidationError when searching a content does not exist in the Pinecone vector store using Langchain Pinecone connection
https://api.github.com/repos/langchain-ai/langchain/issues/10111/comments
3
2023-09-01T22:05:26Z
2023-12-18T23:48:02Z
https://github.com/langchain-ai/langchain/issues/10111
1,878,096,535
10,111
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.277 Python 3.9 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] ...
Using SQLDatabase with Llama 2 for snowflake connection, i get ProgramingError
https://api.github.com/repos/langchain-ai/langchain/issues/10106/comments
2
2023-09-01T19:03:24Z
2023-12-08T16:04:15Z
https://github.com/langchain-ai/langchain/issues/10106
1,877,924,878
10,106
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have created an agent using ConversationalChatAgent which uses custom tools (CoversationRetrievalQA based) to answer users questions. When determining which tool to use the agent is sometimes stripping the question to single word. For example question like `What is XYZ?` is reduced to...
Issue: ConversationalChatAgent reduces the user question question to single word action_input when parsing
https://api.github.com/repos/langchain-ai/langchain/issues/10100/comments
2
2023-09-01T17:01:58Z
2023-12-08T16:04:20Z
https://github.com/langchain-ai/langchain/issues/10100
1,877,764,117
10,100
[ "hwchase17", "langchain" ]
### System Info python 3.9 langchain 0.0.250 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] ...
Parsing intermediate steps: Object of type AgentAction is not JSON serializable
https://api.github.com/repos/langchain-ai/langchain/issues/10099/comments
3
2023-09-01T16:30:39Z
2023-12-18T23:48:07Z
https://github.com/langchain-ai/langchain/issues/10099
1,877,718,213
10,099
[ "hwchase17", "langchain" ]
### System Info I have 2000 document present at my opensearch index, i have filter out the 2 documents present from this opensearch index and added to newly created index. After that i am trying to use vector_db.similarity_search(request.query,k=2) on the newly created index, its returning me empty list. below are t...
vector_db.similarity_search(request.query,k=2) Not working with the opensearch index
https://api.github.com/repos/langchain-ai/langchain/issues/10089/comments
6
2023-09-01T10:37:55Z
2023-12-11T16:05:23Z
https://github.com/langchain-ai/langchain/issues/10089
1,877,181,409
10,089
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.278. I try to publish a pull request in the project experimental. I must update the dependencies of langchain, but I receive a lot of errors. See [here](https://github.com/langchain-ai/langchain/actions/runs/6047844508/job/16412056269?pr=7278), outside of my code. ### Who can help? ...
autonomous_agents : poetry run mypy . with experimental fails with langchain version 0.0.278
https://api.github.com/repos/langchain-ai/langchain/issues/10088/comments
3
2023-09-01T09:51:26Z
2023-09-19T08:28:37Z
https://github.com/langchain-ai/langchain/issues/10088
1,877,113,181
10,088
[ "hwchase17", "langchain" ]
### System Info LangChain: 0.0.278 python: 3.10 windows10 ### 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 Se...
When I call the 'loader()' function of AsyncHtmlLoader, I receive an 'Event loop is closed' error after it completes execution.
https://api.github.com/repos/langchain-ai/langchain/issues/10086/comments
2
2023-09-01T08:31:58Z
2023-12-08T16:04:30Z
https://github.com/langchain-ai/langchain/issues/10086
1,876,993,301
10,086
[ "hwchase17", "langchain" ]
``` text = "foo _bar_ baz_ 123" separator = "_" text_splitter = CharacterTextSplitter( chunk_size=4, chunk_overlap=0, separator="_", keep_separator=True, ) print(text_splitter.split_text(text)) ``` RETURNS: `['foo', '_bar', '_ baz', '_ 123']` EXPECTED: `['foo ', '_bar', '_ baz', '_ 123...
Text splitting with keep_separator is True still removes any whitespace, even if separator is whitespace
https://api.github.com/repos/langchain-ai/langchain/issues/10085/comments
4
2023-09-01T08:14:34Z
2023-09-08T02:01:40Z
https://github.com/langchain-ai/langchain/issues/10085
1,876,967,752
10,085
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using chroma db as retriever in ConversationalRetrievalChain, but the parameter "where_document" does not work. ```python search_kwargs = { "k": k, "filter": filter, "where_document": {"$contains": "1000001"} } retriever = vectordb.as_retriever( search_kwargs...
Issue: chroma retriever where_document parameter passed in search_kwargs is invalid
https://api.github.com/repos/langchain-ai/langchain/issues/10082/comments
3
2023-09-01T07:52:13Z
2024-03-17T16:04:11Z
https://github.com/langchain-ai/langchain/issues/10082
1,876,932,057
10,082
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have uploaded my files to Vectara and would love to query the corpus now with langchain. However I can only find examples of how to upload documents and then directly query them. I would like to avoid uploading the documents all the time and just straight query the existing corpus . Is...
Vectara query a already uploaded Corpus
https://api.github.com/repos/langchain-ai/langchain/issues/10081/comments
1
2023-09-01T07:50:13Z
2023-12-08T16:04:35Z
https://github.com/langchain-ai/langchain/issues/10081
1,876,929,360
10,081
[ "hwchase17", "langchain" ]
[code pointer](https://github.com/langchain-ai/langchain/blob/74fcfed4e2bdd186c2869a07008175a9b66b1ed4/libs/langchain/langchain/tools/base.py#L588C16-L588C16) In `langchain.tools.base`, change ```python Class StructuredTool(BaseTool): """Tool that can operate on any number of inputs.""" description: s...
StructuredTool ainvoke isn't await parent class ainvoke
https://api.github.com/repos/langchain-ai/langchain/issues/10080/comments
0
2023-09-01T07:36:50Z
2023-09-08T02:54:54Z
https://github.com/langchain-ai/langchain/issues/10080
1,876,911,576
10,080
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I need to use Python REPL tool to take data frame and user query and answer based on the data frame. ### Suggestion: _No response_
how to use PythonREPL tool to take dataframe and query
https://api.github.com/repos/langchain-ai/langchain/issues/10079/comments
3
2023-09-01T05:51:51Z
2023-12-08T16:04:40Z
https://github.com/langchain-ai/langchain/issues/10079
1,876,788,507
10,079
[ "hwchase17", "langchain" ]
### System Info the memories are pruned after saving using .pop(0). However, db-backed histories read messages and copies into list each turn. This makes it so that the actual db does not change at every turn, and so max_token_limit parameter gets ignored and the memory prints out the entire conversation for history. ...
ConversationTokenBufferMemory and ConversationSummaryBufferMemory does not work with db-backed histories
https://api.github.com/repos/langchain-ai/langchain/issues/10078/comments
3
2023-09-01T05:28:56Z
2024-02-12T16:14:29Z
https://github.com/langchain-ai/langchain/issues/10078
1,876,763,580
10,078
[ "hwchase17", "langchain" ]
### System Info On the elasticsearch authentication, you have implemented it this way on the elasticsearch.py file found in the vectorstores folder ```py if api_key: connection_params["api_key"] = api_key elif username and password: connection_params["basic_auth"] = (username, pa...
ElasticSearch authentication
https://api.github.com/repos/langchain-ai/langchain/issues/10077/comments
2
2023-09-01T05:07:53Z
2023-12-08T16:04:45Z
https://github.com/langchain-ai/langchain/issues/10077
1,876,736,736
10,077
[ "hwchase17", "langchain" ]
### System Info Langchain version: `0.0278` Python: `3.10` Runpod version: `1.2.0` I'm experiencing some issues when running Runpod (TGI gpu cloud) and langchain, primarily when I try to run the chain. For reference, I'm using TheBloke/VicUnlocked-30B-LoRA-GPTQ model in TGI on Runpod A4500 GPU cloud. I initia...
Receiving a unclear KeyError: 'error' when using Langchain HuggingFaceTextInference on Runpod GPU
https://api.github.com/repos/langchain-ai/langchain/issues/10072/comments
2
2023-09-01T00:24:57Z
2023-12-08T16:04:50Z
https://github.com/langchain-ai/langchain/issues/10072
1,876,474,014
10,072
[ "hwchase17", "langchain" ]
### System Info ### Error I am using **Supabase Vector Store**: ```python embeddings = OpenAIEmbeddings() vectorstore_public = SupabaseVectorStore( client=supabase_client, embedding=embeddings, table_name="documents", query_name="match_documents", ) ``` And crawli...
SupabaseVectorStore: Error thrown when calling similarity_search_by_vector_with_relevance_scores
https://api.github.com/repos/langchain-ai/langchain/issues/10065/comments
6
2023-08-31T18:18:02Z
2023-12-07T16:05:15Z
https://github.com/langchain-ai/langchain/issues/10065
1,876,055,791
10,065
[ "hwchase17", "langchain" ]
### Feature request Implement Self Query retriever to Redis vector stores. ### Motivation I was trying the different retrievers for my project (AI chatbot that answers various human resources and labor law questions based on a dataset built from complete local labor legislation, company handbooks, job descriptions a...
Add SelfQueryRetriever support for Redis Vector Stores
https://api.github.com/repos/langchain-ai/langchain/issues/10064/comments
1
2023-08-31T18:17:38Z
2023-09-12T22:30:38Z
https://github.com/langchain-ai/langchain/issues/10064
1,876,055,216
10,064
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.276 Windows Python 3.11.4 I create a custom llm just like in the tutorial but when i use it on a mkrl agent it does not return to the agent the custom response. I printed insided my agent and it is called and returns the correct answer, but the agent in the end of line does not get...
CustomLLM when called inside agent does not return custom behaviour
https://api.github.com/repos/langchain-ai/langchain/issues/10061/comments
2
2023-08-31T17:53:26Z
2023-12-07T16:05:20Z
https://github.com/langchain-ai/langchain/issues/10061
1,876,017,939
10,061
[ "hwchase17", "langchain" ]
### System Info Langchain version -- 0.0.277 python verion -- 3.8.8 window platform ### Who can help? @hwchase17 @agola11 Hi I am not able to run any of the langchain syntex on my windows laptop. For example if I just run from **langchain.llms import OpenAI** I get the below error message. Can you please he...
TypeError: multiple bases have instance lay-out conflict
https://api.github.com/repos/langchain-ai/langchain/issues/10060/comments
6
2023-08-31T17:02:38Z
2023-12-11T16:05:28Z
https://github.com/langchain-ai/langchain/issues/10060
1,875,918,071
10,060
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.276 Python version: 3.11.2 Platform: x86_64 Debian 12.2.0-14 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Pro...
max_marginal_relevance_search not implemented in Redis
https://api.github.com/repos/langchain-ai/langchain/issues/10059/comments
4
2023-08-31T16:34:30Z
2023-09-12T22:31:16Z
https://github.com/langchain-ai/langchain/issues/10059
1,875,877,282
10,059
[ "hwchase17", "langchain" ]
### System Info Given a string resembling a JSON-string array, such as I'm often getting from LLM completions, I'm trying to convert the string to a Python list of strings. I'm finding the the `PydanticOutputParser` is throwing an error when plain old `json.loads` with `strict=False` is doing fine. ### Who can help? ...
PydanticOutputParser failing to parse basic string into JSON
https://api.github.com/repos/langchain-ai/langchain/issues/10057/comments
7
2023-08-31T16:12:05Z
2024-04-10T16:14:50Z
https://github.com/langchain-ai/langchain/issues/10057
1,875,844,490
10,057
[ "hwchase17", "langchain" ]
### System Info 0.0.272, linux, python 3.11.2 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers -...
StreamingStdOutCallbackHandler().on_llm_start isn't called since version 0.0.272 (0.0.271 still works)
https://api.github.com/repos/langchain-ai/langchain/issues/10054/comments
6
2023-08-31T15:30:31Z
2024-08-07T19:33:12Z
https://github.com/langchain-ai/langchain/issues/10054
1,875,770,074
10,054
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.249 Windows Python 3.11.4 ### 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 - [ ] Outp...
langchain.vectorstores.MatchingEngine.from_components() throws InvalidArgument exception
https://api.github.com/repos/langchain-ai/langchain/issues/10050/comments
4
2023-08-31T14:01:53Z
2024-01-30T00:41:11Z
https://github.com/langchain-ai/langchain/issues/10050
1,875,605,668
10,050
[ "hwchase17", "langchain" ]
### System Info Python Version: 3.11.4 (main, Jul 5 2023, 08:40:20) [Clang 14.0.6 ] Langchain Version: 0.0.273 Jupyter Notebook Version: 5.3.0 ### Who can help? @hwchase17 @agola ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat...
`create_pandas_dataframe_agent` does not pass the `handle_parsing_error` variable into the underlying Agent.
https://api.github.com/repos/langchain-ai/langchain/issues/10045/comments
6
2023-08-31T11:53:16Z
2023-09-03T21:31:02Z
https://github.com/langchain-ai/langchain/issues/10045
1,875,375,970
10,045
[ "hwchase17", "langchain" ]
### System Info `langchain` - 0.0.267 `openai` - 0.27.7 MacOS 13.4.1 (22F82) ### 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 / Promp...
Getting invalid URL post after updating langchain from 0.0.200 to 0.0.267
https://api.github.com/repos/langchain-ai/langchain/issues/10044/comments
2
2023-08-31T11:17:31Z
2023-12-07T16:05:30Z
https://github.com/langchain-ai/langchain/issues/10044
1,875,323,135
10,044
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm using function calls to obtain and process data. I have two classes designed as follows: ```python class GetDataInput: user_input: str = Field(description="User input") class ProcessDataInput: data_url: str = Field(description="Link to the data") ``` Moreover, I'...
Function calling use the wrong context
https://api.github.com/repos/langchain-ai/langchain/issues/10040/comments
4
2023-08-31T10:12:09Z
2023-12-07T16:05:35Z
https://github.com/langchain-ai/langchain/issues/10040
1,875,216,407
10,040