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 langchain = 0.0.288 python = 3.8.0 ### Who can help? @hwchase17 @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Ou...
Is score return from similarity_search_with_score in Weaviate is really cosine distance?
https://api.github.com/repos/langchain-ai/langchain/issues/10581/comments
4
2023-09-14T14:14:17Z
2023-12-25T16:08:05Z
https://github.com/langchain-ai/langchain/issues/10581
1,896,670,748
10,581
[ "hwchase17", "langchain" ]
### System Info 'OS_NAME': 'DEBIAN_10' Langchain version : '0.0.288' python : 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 /...
GoogleCloudEnterpriseSearchRetriever fails to where location is "us"
https://api.github.com/repos/langchain-ai/langchain/issues/10580/comments
3
2023-09-14T13:11:37Z
2023-11-01T05:59:16Z
https://github.com/langchain-ai/langchain/issues/10580
1,896,548,466
10,580
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.285 langsmith version 0.0.28 Python version 3.11.2 ### Who can help? @hwchase17 ### Information - [X ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts ...
Document' object has no attribute '_lc_kwargs
https://api.github.com/repos/langchain-ai/langchain/issues/10579/comments
5
2023-09-14T13:04:51Z
2024-01-30T00:55:18Z
https://github.com/langchain-ai/langchain/issues/10579
1,896,536,091
10,579
[ "hwchase17", "langchain" ]
### System Info I have a question&answer over docs chatbot application, that uses the RetrievalQAWithSourcesChain and ChatPromptTemplate. In langchain version 0.0.238 it used to return sources but this seems to be broken in the releases since then. Python version: Python 3.11.4 LangChain version: 0.0.287 Example ...
The RetrievalQAWithSourcesChain doesn't return SOURCES.
https://api.github.com/repos/langchain-ai/langchain/issues/10575/comments
5
2023-09-14T10:01:45Z
2024-02-17T16:07:23Z
https://github.com/langchain-ai/langchain/issues/10575
1,896,207,622
10,575
[ "hwchase17", "langchain" ]
### System Info def parse(self, text: str) -> Union[AgentAction, AgentFinish]: if f"{self.ai_prefix}:" in text: return AgentFinish( {"output": text.split(f"{self.ai_prefix}:")[-1].strip()}, text ) regex = r"Action: (.*?)[\n]*Action Input: (.*)" ...
agent got "No I need to use a tool? No" response from llmm,which CANNOT be parsed
https://api.github.com/repos/langchain-ai/langchain/issues/10572/comments
2
2023-09-14T05:33:02Z
2023-12-15T05:47:20Z
https://github.com/langchain-ai/langchain/issues/10572
1,895,728,355
10,572
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain <img width="399" alt="WX20230914-113935@2x" src="https://github.com/langchain-ai/langchain/assets/34183928/1d61724a-152f-4ad2-8197-0dfc0fd44f98"> ### Idea or request for content: _No response_
Link in the Readme is invalid.
https://api.github.com/repos/langchain-ai/langchain/issues/10569/comments
3
2023-09-14T03:40:51Z
2023-12-27T16:05:23Z
https://github.com/langchain-ai/langchain/issues/10569
1,895,600,673
10,569
[ "hwchase17", "langchain" ]
### System Info Unresolved reference 'QianfanLLMEndpoint' Name: langchain Version: 0.0.288 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / ...
Can not use QianfanLLMEndpoint
https://api.github.com/repos/langchain-ai/langchain/issues/10567/comments
6
2023-09-14T02:32:37Z
2023-12-26T16:05:47Z
https://github.com/langchain-ai/langchain/issues/10567
1,895,548,600
10,567
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Attempting to make a google calendar agent, however it keeps making a field that should be a datetime object a string object. the prompt: ```prefix = """Date format: datetime(2023, 5, 2, 10, 0, 0) Based on this event description: "Joey birthday tomorrow at 7 pm", output a json of t...
Issue: Agent keeps using the wrong type
https://api.github.com/repos/langchain-ai/langchain/issues/10566/comments
10
2023-09-14T02:22:18Z
2023-09-27T20:09:53Z
https://github.com/langchain-ai/langchain/issues/10566
1,895,540,285
10,566
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. chain = MultiRetrievalQAChain.from_retrievers(OpenAI(), retriever_infos, verbose=True) I'm receiving this error when I try to call the above:(I'm following this doc https://python.langchain.com/docs/use_cases/question_answering/how_to/multi_retrieval_qa_router) ``` ValidationErr...
Issue: Dynamically select from multiple retrievers
https://api.github.com/repos/langchain-ai/langchain/issues/10561/comments
1
2023-09-13T21:34:13Z
2023-09-13T22:29:56Z
https://github.com/langchain-ai/langchain/issues/10561
1,895,297,545
10,561
[ "hwchase17", "langchain" ]
### Feature request Update RetrievalQA chain so that custom prompts can accept parameters other than input_documents and question. Current functionality is limited by call to StuffDocumentsChain: answer = self.combine_documents_chain.run( input_documents=docs, question=question, callbacks=_run_manager.get_ch...
RetrievalQA custom prompt to accept prompts other than context and question e.g. language for use in Sequential Chain
https://api.github.com/repos/langchain-ai/langchain/issues/10557/comments
3
2023-09-13T18:59:17Z
2024-02-11T16:14:37Z
https://github.com/langchain-ai/langchain/issues/10557
1,895,083,788
10,557
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.281 Platform: Centos ### 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 Pars...
LangChain's Chroma similarity_search return results from other db
https://api.github.com/repos/langchain-ai/langchain/issues/10555/comments
7
2023-09-13T17:42:19Z
2024-05-17T16:06:33Z
https://github.com/langchain-ai/langchain/issues/10555
1,894,977,351
10,555
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. import pandas as pd import pandas_gpt df = pd.read_csv('aisc-shapes-database-v16.0.csv', index_col=0, header=0, usecols = ["A:F"], names = [ "Type", "EDI_Std_Nomenclature", "AISC_Manual_Label", "T_F", "W", "Area"]) df.ask('what is the area of W12X12?') Need help getting thi...
Issue: Parsing issue
https://api.github.com/repos/langchain-ai/langchain/issues/10554/comments
2
2023-09-13T17:23:30Z
2023-12-20T16:05:06Z
https://github.com/langchain-ai/langchain/issues/10554
1,894,953,189
10,554
[ "hwchase17", "langchain" ]
I've been searching for a large-context LLM with a relatively low parameter count suitable for local execution on multiple T4 GPUs or a single A100. My primary goal is to summarize extensive financial reports. While I came across FinGPT v1, it seems it isn't hosted on HuggingFace. However, I did find chatglm-6b, whi...
Issue: Can I load THUDM/chatglm-6b?
https://api.github.com/repos/langchain-ai/langchain/issues/10553/comments
5
2023-09-13T16:32:12Z
2024-02-17T16:07:28Z
https://github.com/langchain-ai/langchain/issues/10553
1,894,880,317
10,553
[ "hwchase17", "langchain" ]
### Issue with current documentation: The `index` [API Reference document](https://api.python.langchain.com/en/latest/indexes/langchain.indexes._api.index.html) that is linked in the [Indexing documentation](https://python.langchain.com/docs/modules/data_connection/indexing#quickstart) returns a 404 error. ### Idea o...
DOC: inexistent documentation for index
https://api.github.com/repos/langchain-ai/langchain/issues/10552/comments
2
2023-09-13T16:04:16Z
2023-12-20T16:05:11Z
https://github.com/langchain-ai/langchain/issues/10552
1,894,837,821
10,552
[ "hwchase17", "langchain" ]
### System Info langchain_version: "0.0.287" library: "langchain" library_version: "0.0.287" platform: "Linux-6.1.0-12-amd64-x86_64-with-glibc2.36" py_implementation: "CPython" runtime: "python" runtime_version: "3.11.2" ### Who can help? _No response_ ### Information - [X] The official example notebooks/scr...
SQLRecordManager index adds documents outside existing Redis vectorstore index
https://api.github.com/repos/langchain-ai/langchain/issues/10551/comments
3
2023-09-13T15:58:42Z
2024-01-30T00:46:01Z
https://github.com/langchain-ai/langchain/issues/10551
1,894,829,054
10,551
[ "hwchase17", "langchain" ]
### Feature request MMR search_type is not implemented for Google Vertex AI Matching Engine Vector Store (new name of Matching Engine- Vector Search). I am getting the error `NotImplementedError` Below is the code that I had used `retriever = me.as_retriever( search_type="mmr", search_kwargs={ ...
MMR search_type not implemented for Google Vertex AI Matching Engine Vector Store (new name of Matching Engine- Vector Search)
https://api.github.com/repos/langchain-ai/langchain/issues/10550/comments
1
2023-09-13T15:58:41Z
2024-03-16T16:04:41Z
https://github.com/langchain-ai/langchain/issues/10550
1,894,829,007
10,550
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. # The code for my model for sentiment analysis (this works, the problem is in the next part of my code) from datasets import load_dataset,Dataset from sentence_transformers.losses import CosineSimilarityLoss from setfit import SetFitModel, SetFitTrainer, sample_dataset from transfo...
Issue: Not sure whether my transformation using the model I created was correct, as I am getting an error.
https://api.github.com/repos/langchain-ai/langchain/issues/10549/comments
5
2023-09-13T15:50:31Z
2023-12-20T16:05:16Z
https://github.com/langchain-ai/langchain/issues/10549
1,894,815,399
10,549
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. imports import langchain import os from apikey import apikey import openai from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain import OpenAI from langchain.document_loaders import UnstructuredFileLoader from langchain.text_s...
Issue: Want to get this to run, im suspecting that the csv. file is causing the problem
https://api.github.com/repos/langchain-ai/langchain/issues/10544/comments
2
2023-09-13T14:15:08Z
2023-12-20T16:05:20Z
https://github.com/langchain-ai/langchain/issues/10544
1,894,630,727
10,544
[ "hwchase17", "langchain" ]
### Feature request I want to intercept the input prompt and the output of a chain, so I added a custom callback to the chain (derived from _BaseCallbackHandler_), but the input prompt seems quite tricky to retrieve. The _on_chain_start_ method has the information hidden in the "serialized" variable, but accessin...
Get input prompt in a callback handler
https://api.github.com/repos/langchain-ai/langchain/issues/10542/comments
3
2023-09-13T13:42:49Z
2024-05-07T16:04:58Z
https://github.com/langchain-ai/langchain/issues/10542
1,894,566,864
10,542
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. While trying to load a GPTQ model through a HuggingFace Pipeline and then run an agent on it, the inference time is really slow. ``` # Load configuration from the model to avoid warnings generation_config = GenerationConfig.from_pretrained(model_name_or_path) # Create a pipeline...
Issue: Agents using GPTQ models from huggingface is really slow.
https://api.github.com/repos/langchain-ai/langchain/issues/10541/comments
2
2023-09-13T13:26:28Z
2023-12-20T16:05:26Z
https://github.com/langchain-ai/langchain/issues/10541
1,894,532,433
10,541
[ "hwchase17", "langchain" ]
### Feature request New features to support Baudu's Qianfan ### Motivation I believe that Baidu's recently launched LLM platform, Qianfan, which offers a range of APIs, will soon become widely adopted. It would be beneficial to consider incorporating features that facilitate seamless integration between Langch...
Will langchain be able to support Baidu Qianfan in the future?
https://api.github.com/repos/langchain-ai/langchain/issues/10539/comments
2
2023-09-13T12:55:51Z
2023-09-28T01:19:12Z
https://github.com/langchain-ai/langchain/issues/10539
1,894,471,329
10,539
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.287 In output_parsers there is a `SimpleJsonOutputParser` defined (json.py). This looks very reasonable for easily getting answers back in structured a format. However, the class does not work as it does not specify the method `get_format_instructions`and thus calling the parse method ...
SimpleJsonOutputParser not working
https://api.github.com/repos/langchain-ai/langchain/issues/10538/comments
2
2023-09-13T12:50:53Z
2023-12-20T16:05:31Z
https://github.com/langchain-ai/langchain/issues/10538
1,894,462,413
10,538
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there an agent toolkit for google calendar? ### Suggestion: _No response_
Issue: google calendar agent
https://api.github.com/repos/langchain-ai/langchain/issues/10536/comments
1
2023-09-13T11:46:22Z
2023-09-14T02:37:27Z
https://github.com/langchain-ai/langchain/issues/10536
1,894,354,179
10,536
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. 1. I have downloaded original LangSmith walkthrough notebook and modified it to run AzureOpenAI llm instead of OpenAI 2. After successful run of the first example I went to Langsmith, selected first LLM call and opened it in the Playground. 3. I have filled up OpenAI key and hit 'Start...
Issue: Is LangSmith playground compatible with Azure OpenAI?
https://api.github.com/repos/langchain-ai/langchain/issues/10533/comments
14
2023-09-13T10:48:45Z
2024-02-07T17:12:48Z
https://github.com/langchain-ai/langchain/issues/10533
1,894,264,876
10,533
[ "hwchase17", "langchain" ]
### System Info langchain deplopment on sagemaker ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [x] Embedding Models - [x] Prompts / Prompt Templates / Prompt Selectors - [x] Output Parser...
ValueError: Missing some input keys: {'input'}
https://api.github.com/repos/langchain-ai/langchain/issues/10531/comments
7
2023-09-13T09:36:13Z
2024-05-22T16:07:17Z
https://github.com/langchain-ai/langchain/issues/10531
1,894,137,855
10,531
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. https://python.langchain.com/docs/integrations/text_embedding/sentence_transformers is unreachable. ### Suggestion: _No response_
Can not access to url: https://python.langchain.com/docs/integrations/text_embedding/sentence_transformers
https://api.github.com/repos/langchain-ai/langchain/issues/10530/comments
3
2023-09-13T09:30:31Z
2023-12-25T16:08:20Z
https://github.com/langchain-ai/langchain/issues/10530
1,894,127,953
10,530
[ "hwchase17", "langchain" ]
hi team, In langchain agent, any recommendations to compress the content? Hoping to reduce the token usage. Setting max token was not working to reduce the token usage.
compress content when using gpt-4
https://api.github.com/repos/langchain-ai/langchain/issues/10529/comments
2
2023-09-13T09:20:29Z
2023-12-20T16:05:41Z
https://github.com/langchain-ai/langchain/issues/10529
1,894,107,226
10,529
[ "hwchase17", "langchain" ]
### Feature request As of today, if a tool crashes, the whole agent or chain crashes. From a user point-of-view, it is understandable that a specific tool is not available. ### Motivation The user experience should be maintained if a dependency is broken. Plus, catching by default tool error can enhance the so...
Handle by default `ToolException`
https://api.github.com/repos/langchain-ai/langchain/issues/10528/comments
2
2023-09-13T09:05:35Z
2024-02-06T16:30:01Z
https://github.com/langchain-ai/langchain/issues/10528
1,894,078,446
10,528
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there any way in langchain to fetch documents from multiple vectorstores, and then combine them to ask the question. ### Suggestion: _No response_
Issue: How to retrieve and search from multiple collections or directories?
https://api.github.com/repos/langchain-ai/langchain/issues/10526/comments
2
2023-09-13T07:03:24Z
2023-12-20T16:05:46Z
https://github.com/langchain-ai/langchain/issues/10526
1,893,881,183
10,526
[ "hwchase17", "langchain" ]
### System Info langchain version = 0.0.281 python = 3.11 opensearch-py = 2.3.0 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
Opensearch metadata_field and metadata_filter not working
https://api.github.com/repos/langchain-ai/langchain/issues/10524/comments
7
2023-09-13T05:51:57Z
2024-04-23T19:05:30Z
https://github.com/langchain-ai/langchain/issues/10524
1,893,792,079
10,524
[ "hwchase17", "langchain" ]
### Feature request An input for conversational chains to be able to limit their context to a set number of chats ### Motivation I am in the process of building a document analysis tool using langchain but when the chat chain becomes too long, I just get an error stating that the limit for the no of openai tokens ha...
only use past x messages
https://api.github.com/repos/langchain-ai/langchain/issues/10521/comments
2
2023-09-13T02:42:51Z
2023-12-20T16:05:51Z
https://github.com/langchain-ai/langchain/issues/10521
1,893,622,488
10,521
[ "hwchase17", "langchain" ]
hi team, I am using the Azure openai gpt4-32k as llm in langchain. I implemented openai plugin by agent, but the cost is increasing at an incredible rate. I think the agent would ask gpt4 modal to understand the plugin openapi json that make the token usage increasing. any recommendations to reduce the token usage ...
Reduce azure openai token usage
https://api.github.com/repos/langchain-ai/langchain/issues/10520/comments
2
2023-09-13T01:23:29Z
2023-12-20T16:05:56Z
https://github.com/langchain-ai/langchain/issues/10520
1,893,566,283
10,520
[ "hwchase17", "langchain" ]
### Feature request BaseStringMessagePromptTemplate.from_template supports the template_format variable, while BaseStringMessagePromptTemplate.from_template_file does not. ### Motivation All supported template formats (including Jinja2) should be supported by all template loaders equally. ### Your contribut...
Support jinja2 template format when using ChatPromptTemplate.from_template_file
https://api.github.com/repos/langchain-ai/langchain/issues/10519/comments
7
2023-09-13T01:10:23Z
2024-02-09T16:21:28Z
https://github.com/langchain-ai/langchain/issues/10519
1,893,555,356
10,519
[ "hwchase17", "langchain" ]
### System Info Device name LAPTOP-3BD5HR1V Processor AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10 GHz Installed RAM 20.0 GB (17.9 GB usable) Device ID F8ACB5C8-80FB-46C6-AE6D-33AD019A5728 Product ID 00325-82110-59554-AAOEM System type 64-bit operating system, x64-based processor Pen and touch No pen o...
APIError: HTTP code 203 from API when running from a Click CLI app on a local Windows terminal
https://api.github.com/repos/langchain-ai/langchain/issues/10511/comments
2
2023-09-12T20:33:16Z
2023-12-19T00:47:23Z
https://github.com/langchain-ai/langchain/issues/10511
1,893,219,675
10,511
[ "hwchase17", "langchain" ]
### System Info Python 3.10.12 Google Colab Elasticsearch Cloud 8.9.2 Langchain - latest ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] ...
Elasticsearch ELSER Timeout
https://api.github.com/repos/langchain-ai/langchain/issues/10506/comments
5
2023-09-12T19:32:37Z
2024-01-30T00:41:10Z
https://github.com/langchain-ai/langchain/issues/10506
1,893,131,951
10,506
[ "hwchase17", "langchain" ]
### Feature request ## Description Currently, the SQLDatabaseChain class is designed to optionally return intermediate steps taken during the SQL command generation and execution. These intermediate steps are helpful in understanding the processing flow, especially during debugging or for logging purposes. Howeve...
Enhance SQLDatabaseChain with SQL Results in Intermediate Steps Dictionary
https://api.github.com/repos/langchain-ai/langchain/issues/10500/comments
2
2023-09-12T15:11:12Z
2023-12-19T00:47:27Z
https://github.com/langchain-ai/langchain/issues/10500
1,892,729,571
10,500
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I run the code I don't get any errors but I also don't get any output in the terminal or output area either? Can you help? ![Screenshot 2023-09-12 101445](https://github.com/langchain-ai/langchain/assets/72319290/8e7ac61a-8343-409f-bb98-a2cbf7401ad7) ### Suggestion: _No respo...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/10497/comments
4
2023-09-12T14:15:52Z
2023-12-19T00:47:33Z
https://github.com/langchain-ai/langchain/issues/10497
1,892,622,763
10,497
[ "hwchase17", "langchain" ]
### System Info Langchain version = 0.0.286 Python=3.8.8 MacOs I am working on a **ReAct agent with Memory and Tools** that should stop and ask a human for input. I worked off this article in the documentation: https://python.langchain.com/docs/modules/memory/agent_with_memory On Jupyter Notebook it works w...
Observation: Human is not a valid tool, try one of [human, Search, Calculator]
https://api.github.com/repos/langchain-ai/langchain/issues/10494/comments
3
2023-09-12T13:57:04Z
2023-12-19T00:47:38Z
https://github.com/langchain-ai/langchain/issues/10494
1,892,585,572
10,494
[ "hwchase17", "langchain" ]
### System Info Using LangChain 0.0.276 Python 3.11.4 ### 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 - [ ] Output ...
FlareChain's response_chain not picking up specified LLM model
https://api.github.com/repos/langchain-ai/langchain/issues/10493/comments
9
2023-09-12T13:09:18Z
2024-01-15T16:57:52Z
https://github.com/langchain-ai/langchain/issues/10493
1,892,491,559
10,493
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am getting this error when using langchain vectorstores similarity search on local machine. `pinecone.core.client.exceptions.ApiTypeError: Invalid type for variable 'namespace'. Required value type is str and passed type was NoneType at ['namespace']`. But it is working fine on Google...
Issue: pinecone.core.client.exceptions.ApiTypeError: Invalid type for variable 'namespace'. Required value type is str and passed type was NoneType at ['namespace']
https://api.github.com/repos/langchain-ai/langchain/issues/10489/comments
2
2023-09-12T11:02:56Z
2023-09-13T06:20:43Z
https://github.com/langchain-ai/langchain/issues/10489
1,892,270,542
10,489
[ "hwchase17", "langchain" ]
### System Info Langchain:0.0.286 python:3.10.10 redis:5.0.0b4 ### Who can help? @hwc ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
Redis vector init error
https://api.github.com/repos/langchain-ai/langchain/issues/10487/comments
14
2023-09-12T09:59:40Z
2023-12-26T16:06:02Z
https://github.com/langchain-ai/langchain/issues/10487
1,892,138,220
10,487
[ "hwchase17", "langchain" ]
### Feature request Hey guys! Thanks for the great tool you've developed. LLama now supports device and so is GPT4All: https://docs.gpt4all.io/gpt4all_python.html#gpt4all.gpt4all.GPT4All.__init__ Can you guys please add the device property to the file: "langchain/llms/gpt4all.py" LN 96: ` device: Op...
Add device to GPT4All
https://api.github.com/repos/langchain-ai/langchain/issues/10486/comments
0
2023-09-12T09:02:19Z
2023-10-04T00:37:32Z
https://github.com/langchain-ai/langchain/issues/10486
1,892,030,554
10,486
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Langchain is still using the deprecated huggingface_hub `InferenceApi` in the latest version. the `InferenceApi` will be removed from version '0.19.0'. ``` /usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_deprecation.py:127: FutureWarning: '__init__' (from 'huggingface_...
Issue: Use huggingface_hub InferenceClient instead of InferenceAPI
https://api.github.com/repos/langchain-ai/langchain/issues/10483/comments
3
2023-09-12T08:37:39Z
2024-03-29T16:06:25Z
https://github.com/langchain-ai/langchain/issues/10483
1,891,974,960
10,483
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi Team, I have a fixed elasticsearch version 7.6 which i cannot upgrade. could you please share me some details about which version of langchain supports mentioned version. Problem with the latest langchain i have faced, similarity search or normal search says that KNN is not avai...
Issue: Which version of langchain supports the elasticsearch 7.6
https://api.github.com/repos/langchain-ai/langchain/issues/10481/comments
22
2023-09-12T07:49:46Z
2024-03-26T16:05:36Z
https://github.com/langchain-ai/langchain/issues/10481
1,891,889,704
10,481
[ "hwchase17", "langchain" ]
### System Info python == 3.11 langchain == 0.0.286 windows 10 ### 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 / P...
max_execution_time does not work for some queries in create_pandas_dataframe_agent
https://api.github.com/repos/langchain-ai/langchain/issues/10479/comments
3
2023-09-12T07:24:52Z
2023-12-19T00:47:52Z
https://github.com/langchain-ai/langchain/issues/10479
1,891,850,817
10,479
[ "hwchase17", "langchain" ]
### System Info ``` @router.post('/web-page') def web_page_embedding(model: WebPageEmbedding): try: data = download_page(model.page) return {'success': True} except Exception as e: return Response(str(e)) def download_page(url: str): loader = AsyncChromiumLoader(urls=[...
AsyncChromiumLoader not working with FastAPI
https://api.github.com/repos/langchain-ai/langchain/issues/10475/comments
10
2023-09-12T05:03:16Z
2024-04-04T15:35:52Z
https://github.com/langchain-ai/langchain/issues/10475
1,891,676,241
10,475
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.286 Python version: 3.11.2 Platform: MacOS Ventura 13.5.1 M1 chip Weaviate 1.21.2 as vectorstore ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ]...
Error when using Self Query Retriever with Weaviate
https://api.github.com/repos/langchain-ai/langchain/issues/10474/comments
2
2023-09-12T04:46:10Z
2023-12-19T00:47:57Z
https://github.com/langchain-ai/langchain/issues/10474
1,891,662,372
10,474
[ "hwchase17", "langchain" ]
Currently, there is no support for agents that have both: 1) Conversational history 2) Structured tool chat (functions with multiple inputs/parameters) #3700 mentions this as well but it was not resolved, `AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION` is zero_shot, and essentially has [no memory](http...
How to add structured tools / functions with multiple inputs
https://api.github.com/repos/langchain-ai/langchain/issues/10473/comments
11
2023-09-12T04:31:04Z
2024-03-18T16:05:29Z
https://github.com/langchain-ai/langchain/issues/10473
1,891,650,757
10,473
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.279 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
The exception 'Must provide a pydantic class for schema when output_parser is 'pydantic'.' is caused by the inconsistent package name of BaseModel
https://api.github.com/repos/langchain-ai/langchain/issues/10472/comments
2
2023-09-12T03:35:02Z
2023-12-19T00:48:02Z
https://github.com/langchain-ai/langchain/issues/10472
1,891,606,072
10,472
[ "hwchase17", "langchain" ]
### Feature request Currently, Unstructured loaders allow users to process elements when loading the document. This is done by applying user-specified `post_processors` to each element. These post processing functions are str -> str callables. When using Unstructured loaders, allow element processing using `(Elem...
Make entire element accessible for processing when loading with Unstructured loaders
https://api.github.com/repos/langchain-ai/langchain/issues/10471/comments
1
2023-09-12T02:02:20Z
2023-12-19T00:48:07Z
https://github.com/langchain-ai/langchain/issues/10471
1,891,540,586
10,471
[ "hwchase17", "langchain" ]
### System Info It looks like BedrockChat was removed from the chat_models/__init__.py when ChatKonko was added in this commit: https://github.com/langchain-ai/langchain/pull/10267/commits/280c1e465c4b89c6313fcc2c0679e3756b8566f9#diff-04148cb9262d722a69b81a119e1f8120515532263a1807239f60f00d9ff2a755 I'm guessing thi...
BedrockChat model mistakenly removed in latest version?
https://api.github.com/repos/langchain-ai/langchain/issues/10468/comments
4
2023-09-12T00:32:49Z
2023-10-03T19:51:12Z
https://github.com/langchain-ai/langchain/issues/10468
1,891,477,538
10,468
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi. I've a vectorstore which has embeddings from chunks of documents. I've used FAISS to create my vector_db. As metadata I've 'document_id', 'chunk_id', 'source'. But now I want to run a summarizer to extract a summary for each document_id and put it as a new metadata for each chu...
Issue: Add new metadata to document_ids already saved in vectorstore (FAISS)
https://api.github.com/repos/langchain-ai/langchain/issues/10463/comments
3
2023-09-11T20:55:58Z
2023-12-19T00:48:13Z
https://github.com/langchain-ai/langchain/issues/10463
1,891,252,685
10,463
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.286 Python version: 3.11.2 Platform: x86_64 Debian 12.2.0-14 Weaviate 1.21.2 as vectorstore ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embe...
User Warning when using Self Query Retriever with Weaviate
https://api.github.com/repos/langchain-ai/langchain/issues/10462/comments
2
2023-09-11T20:04:55Z
2023-12-18T23:45:57Z
https://github.com/langchain-ai/langchain/issues/10462
1,891,181,081
10,462
[ "hwchase17", "langchain" ]
I am trying to trace my LangChain runs by using LangChain Tracing Native Support on my local host, I created a session named agent_workflow and tried to receive the runs on it but it didn't work. The problem is that whenever I run the RetrievalQA chain it gives me the following error: `Error in LangChainTracerV1.on...
Issue: Error in LangChainTracerV1.on_chain_end callback: Unknown run type:
https://api.github.com/repos/langchain-ai/langchain/issues/10460/comments
5
2023-09-11T19:17:54Z
2023-12-20T16:06:11Z
https://github.com/langchain-ai/langchain/issues/10460
1,891,117,462
10,460
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The following raises a `ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: Malformed input request: expected maximum item count: 1, found: 2, please reformat your input and try again.`: ``` from langchain.chains import ConversationCha...
Issue: Cannot pass more than one stop sequence to AI21 Bedrock model
https://api.github.com/repos/langchain-ai/langchain/issues/10456/comments
2
2023-09-11T17:07:23Z
2023-12-18T23:46:09Z
https://github.com/langchain-ai/langchain/issues/10456
1,890,923,908
10,456
[ "hwchase17", "langchain" ]
### Feature request While other model parameters for Anthropic are provided as class variables, `stop_sequence` does not for `_AnthropicCommon` class, so you can only send `stop` in the `generate` call. And `generate` manually adds the stop sequences to the parameters before the call to Anthropic. I suggest havin...
stop sequences as a parameter for ChatAnthropic cannot be added
https://api.github.com/repos/langchain-ai/langchain/issues/10455/comments
2
2023-09-11T16:42:36Z
2023-12-19T00:48:23Z
https://github.com/langchain-ai/langchain/issues/10455
1,890,888,136
10,455
[ "hwchase17", "langchain" ]
### System Info LangChain uses max_elements parameter to build hnsw index. But since 0.3.2 version of pg_embedding it is not exists. The error is: `Failed to create HNSW extension or index: (psycopg2.errors.InvalidParameterValue) unrecognized parameter "maxelements"` ### Who can help? _No response_ ### Informat...
hnsw in Postgres via Neon extention return error
https://api.github.com/repos/langchain-ai/langchain/issues/10454/comments
2
2023-09-11T16:27:02Z
2023-12-18T23:46:18Z
https://github.com/langchain-ai/langchain/issues/10454
1,890,863,082
10,454
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. HI, I try to use RedisChatMessageHistory but there is an error: Error 97 connecting to localhost:6379. Address family not supported by protocol However, another URL is defined: ``` REDIS_URL = f"redis://default:mypassword@redis-17697.c304.europe-west1-2.gce.cloud.redislabs.com...
Error 97 connecting to localhost:6379. Address family not supported by protocol
https://api.github.com/repos/langchain-ai/langchain/issues/10453/comments
4
2023-09-11T16:06:18Z
2023-09-11T23:23:39Z
https://github.com/langchain-ai/langchain/issues/10453
1,890,830,662
10,453
[ "hwchase17", "langchain" ]
### System Info Langchain: 0.0.285 Platform: OSX Ventura (apple silicon) Python version: 3.11 ### Who can help? @gregnr since it looks like you added the [Supabase example code](https://python.langchain.com/docs/modules/data_connection/retrievers/self_query/supabase_self_query) ### Information - [X] The official...
Error creating Supabase vector store when running self-query example code
https://api.github.com/repos/langchain-ai/langchain/issues/10447/comments
6
2023-09-11T14:21:18Z
2023-09-12T07:04:17Z
https://github.com/langchain-ai/langchain/issues/10447
1,890,633,505
10,447
[ "hwchase17", "langchain" ]
### Feature request Similarly to `memory=ConversationSummaryBufferMemory(llm=llm, max_token_limit=n)` passed in `initialize_agent`, there should be a possibility to pass `ConversationSummaryBufferMemory` like-object which would summarize the `intermediate_steps` in the agent if the `agent_scratchpad` created from th...
Summarize agent_scratchpad when it exceeds n tokens
https://api.github.com/repos/langchain-ai/langchain/issues/10446/comments
12
2023-09-11T14:16:50Z
2024-04-01T20:03:40Z
https://github.com/langchain-ai/langchain/issues/10446
1,890,624,612
10,446
[ "hwchase17", "langchain" ]
### Issue with current documentation: It does not list `tiktoken` as a dependency, and while trying to run the code to create the `SupabaseVectorStore.from_documents()`, I got this error: ``` ImportError: Could not import tiktoken python package. This is needed in order to for OpenAIEmbeddings. Please install it ...
DOC: Supabase Vector self-querying
https://api.github.com/repos/langchain-ai/langchain/issues/10444/comments
2
2023-09-11T13:20:54Z
2023-09-12T07:01:13Z
https://github.com/langchain-ai/langchain/issues/10444
1,890,500,153
10,444
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am getting following error after a period of inactivity, However, the issue resolves itself when I restart the server and run the same query. Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised Timeout: Request timed out: ...
Issue: Request timeout
https://api.github.com/repos/langchain-ai/langchain/issues/10443/comments
3
2023-09-11T12:12:49Z
2024-02-11T16:14:56Z
https://github.com/langchain-ai/langchain/issues/10443
1,890,374,565
10,443
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.285 Python version: 3.11.2 Platform: x86_64 Debian 12.2.0-14 Weaviate 1.21.2 as vectorstore ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embe...
Warning using SQLRecordManager
https://api.github.com/repos/langchain-ai/langchain/issues/10439/comments
2
2023-09-11T08:32:27Z
2024-02-02T04:10:52Z
https://github.com/langchain-ai/langchain/issues/10439
1,889,969,284
10,439
[ "hwchase17", "langchain" ]
### Issue with current documentation: The current [Weaviate documentation](https://python.langchain.com/docs/integrations/providers/weaviate) in LangChain doesn't include instructions for setting up Weaviate's Schema to integrate it properly with LangChain. This will prevent any future issues like this one: #10424 ##...
DOC: Include instructions for Weaviate Schema Configuration
https://api.github.com/repos/langchain-ai/langchain/issues/10438/comments
2
2023-09-11T08:03:25Z
2023-12-25T16:08:34Z
https://github.com/langchain-ai/langchain/issues/10438
1,889,911,805
10,438
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello I am using langchain's babyagi here I need to to create a custom tool in this custom tool in function logic i need to do some operations based on file how can I do it ### Suggestion: _No response_
Issue: babyagi agent custom tool file operation usage
https://api.github.com/repos/langchain-ai/langchain/issues/10437/comments
3
2023-09-11T06:42:00Z
2023-12-25T16:08:40Z
https://github.com/langchain-ai/langchain/issues/10437
1,889,781,015
10,437
[ "hwchase17", "langchain" ]
### System Info - langchain v0.0.285 - transformers v4.32.1 - Windows10 Pro (virtual machine, running on a Server with several virtual machines!) - 32 - 100GB Ram - AMD Epyc - 2x Nvidia RTX4090 - Python 3.10 ### Who can help? @eyurtsev ### Information - [X] The official example notebooks/scripts -...
Use "HuggingFaceInstructEmbeddings" --> powering down the whole Server with all running VMs :(
https://api.github.com/repos/langchain-ai/langchain/issues/10436/comments
8
2023-09-11T04:58:51Z
2023-09-13T17:35:43Z
https://github.com/langchain-ai/langchain/issues/10436
1,889,662,620
10,436
[ "hwchase17", "langchain" ]
### Feature request Hi Currently, min_seconds and max_seconds of create_base_retry_decorator are hard-coded values. Can you please make these parameters configurable so that we can pass these values from AzureChatOpenAI similar to max_retries eg: llm = AzureChatOpenAI( deployment_name=deployment_name...
keep min_seconds and max_seconds of create_base_retry_decorator configurable
https://api.github.com/repos/langchain-ai/langchain/issues/10435/comments
3
2023-09-11T04:56:47Z
2024-02-20T16:08:26Z
https://github.com/langchain-ai/langchain/issues/10435
1,889,660,615
10,435
[ "hwchase17", "langchain" ]
### System Info I am using OpenAIFunctionsAgent with langchain-0.0.285, parse tool input occurs frequently when provided an input Could not parse tool input: {'name': 'AI_tool', 'arguments': 'What is a pre-trained chatbot?'} because the arguments is not valid JSON. ### Who can help? _No response_ ...
Could not parse tool input: {'name': 'AI_tool', 'arguments': 'What is a pre-trained chatbot?'} because the arguments is not valid JSON.
https://api.github.com/repos/langchain-ai/langchain/issues/10433/comments
5
2023-09-11T03:44:09Z
2024-01-03T09:32:01Z
https://github.com/langchain-ai/langchain/issues/10433
1,889,593,320
10,433
[ "hwchase17", "langchain" ]
### Feature request Could you add an implementation of BaseChatModel using CTransformers? ### Motivation I prefer to use a local model instead of an API. the LLM works, but I need the wrapper for it ### Your contribution My failed attempt ``` from pydantic import BaseModel, Field from typing import Any, List,...
BaseChatModel implementation using CTransformers
https://api.github.com/repos/langchain-ai/langchain/issues/10427/comments
2
2023-09-10T21:14:33Z
2023-12-18T23:46:32Z
https://github.com/langchain-ai/langchain/issues/10427
1,889,328,945
10,427
[ "hwchase17", "langchain" ]
### System Info As far as I tried, this reproduced in many versions, including the latest `langchain==0.0.285` ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Model...
Conversational Retrieval Agent returning partial output
https://api.github.com/repos/langchain-ai/langchain/issues/10425/comments
4
2023-09-10T16:57:30Z
2024-03-11T16:16:51Z
https://github.com/langchain-ai/langchain/issues/10425
1,889,238,903
10,425
[ "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 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding M...
Weaviate Hybrid Search Returns Error
https://api.github.com/repos/langchain-ai/langchain/issues/10424/comments
5
2023-09-10T16:55:14Z
2024-01-26T00:43:23Z
https://github.com/langchain-ai/langchain/issues/10424
1,889,237,256
10,424
[ "hwchase17", "langchain" ]
### Feature request Provide a parameter to determine whether to extract images from the pdf and give the support for it. ### Motivation There may exist several images in pdf that contain abundant information but it seems that there is no support for extracting images from pdf when I read the code. ### Your contrib...
Is there a support for extracting images from pdf?
https://api.github.com/repos/langchain-ai/langchain/issues/10423/comments
3
2023-09-10T16:41:55Z
2024-07-03T16:04:21Z
https://github.com/langchain-ai/langchain/issues/10423
1,889,225,613
10,423
[ "hwchase17", "langchain" ]
### System Info Issue: Agent + GmailToolkit sends message AND rootId to the recipient address Current Behaviour: 1. Instruct the Agent to send a message to the recipient 2. Agent emails recipient with a message and then sends a new message of just the rootId (e.g., `r25406384....`) Example: <img width="1181" a...
Gmail Toolkit sends message and rootId of message
https://api.github.com/repos/langchain-ai/langchain/issues/10422/comments
2
2023-09-10T15:54:38Z
2023-12-18T23:46:37Z
https://github.com/langchain-ai/langchain/issues/10422
1,889,195,706
10,422
[ "hwchase17", "langchain" ]
### Issue with current documentation: ### Problem: In the _**libs/langchain/langchain/memory/token_buffer.py**_ file: ``` @property def buffer(self) -> Any: """String buffer of memory.""" return self.buffer_as_messages if self.return_messages else self.buffer_as_str @property ...
DOC: Inversion of 'True' and 'False' in ConversationTokenBufferMemory Property Comments
https://api.github.com/repos/langchain-ai/langchain/issues/10420/comments
1
2023-09-10T11:28:47Z
2023-09-12T13:12:36Z
https://github.com/langchain-ai/langchain/issues/10420
1,889,109,167
10,420
[ "hwchase17", "langchain" ]
### Issue with current documentation: # Combine the LLM with the tools with make a ReAct agent Currently, the document says , agent can take only user question . Is there any example to pass multiple parameters? inputdata ={"input": COMPLEX_QUERY, "channel":"mychannel", "product":"myproduct"} react_agent...
DOC: Passing parameters to tools from Agent
https://api.github.com/repos/langchain-ai/langchain/issues/10419/comments
2
2023-09-10T10:59:44Z
2023-12-18T23:46:42Z
https://github.com/langchain-ai/langchain/issues/10419
1,889,098,692
10,419
[ "hwchase17", "langchain" ]
### Feature request In the [SmartLLMChain](https://python.langchain.com/docs/use_cases/more/self_check/smart_llm), I would like to randomize the temperature of the `ideation_llm` . It could have a positive impact on its creativity then evaluation. We could ask for specific pairs of nb of llm/temperature or automate...
:bulb: SmartLLMChain > Rrandomized temperatures for ideation_llm for better crowd diversity simulation
https://api.github.com/repos/langchain-ai/langchain/issues/10418/comments
1
2023-09-10T07:55:16Z
2023-12-18T23:46:47Z
https://github.com/langchain-ai/langchain/issues/10418
1,889,035,389
10,418
[ "hwchase17", "langchain" ]
### Feature request Is there a way to save options or examples instead of history with `memory.save_context()` in `VectorStoreRetrieverMemory`? For example, if A, B, and C are expected as the answer to a certain question, A, B, and C are returned as the predict results for that question. The current memory functio...
Save options or examples instead of history with memory.save_context() in VectorStoreRetrieverMemory
https://api.github.com/repos/langchain-ai/langchain/issues/10417/comments
4
2023-09-10T07:29:26Z
2023-09-21T09:49:16Z
https://github.com/langchain-ai/langchain/issues/10417
1,889,027,787
10,417
[ "hwchase17", "langchain" ]
### Feature request Currently [llama-cpp-python](https://github.com/abetlen/llama-cpp-python#web-server) provides server package which acts like a drop-in replacement for the OpenAI API. Is there any specific langchain LLM class which supports the above server or do we need to alter the existing `OpenAI` class with...
Support for llama-cpp-python server
https://api.github.com/repos/langchain-ai/langchain/issues/10415/comments
9
2023-09-10T01:16:19Z
2024-07-12T16:52:15Z
https://github.com/langchain-ai/langchain/issues/10415
1,888,924,696
10,415
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0285 - langchain.vectorstores.redis import Redis Python 3.10.11 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / P...
Redis Vectorstore: cannot set custom keys - got an unexpected keyword argument
https://api.github.com/repos/langchain-ai/langchain/issues/10411/comments
6
2023-09-09T20:35:55Z
2023-09-12T22:29:42Z
https://github.com/langchain-ai/langchain/issues/10411
1,888,867,362
10,411
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.285 ### 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 - [X] ...
CharacterTextSplitter doesn't break down text into specified chunk sizes
https://api.github.com/repos/langchain-ai/langchain/issues/10410/comments
8
2023-09-09T20:23:27Z
2024-05-09T07:21:57Z
https://github.com/langchain-ai/langchain/issues/10410
1,888,864,581
10,410
[ "hwchase17", "langchain" ]
### System Info In current tool the input from the user is taken using CMD(Command line), but how will use in case of web application? ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [x] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Cha...
How to use human input as a tool in wen based application
https://api.github.com/repos/langchain-ai/langchain/issues/10406/comments
4
2023-09-09T13:49:07Z
2024-02-20T23:39:28Z
https://github.com/langchain-ai/langchain/issues/10406
1,888,750,607
10,406
[ "hwchase17", "langchain" ]
### System Info I am using langchain==0.0.283 and openai==0.28.0. There seems to be no mention to packaging as a dependency, but when I run my system under a docker image from python:3.10.12-slim as basis, packaging is missing. So please add it explicitely as a dependency, such as packaging==21.3. Thanks. ### Who ...
installer is not requesting packaging but the code requires it in practice
https://api.github.com/repos/langchain-ai/langchain/issues/10404/comments
5
2023-09-09T13:02:55Z
2024-05-22T16:07:12Z
https://github.com/langchain-ai/langchain/issues/10404
1,888,734,168
10,404
[ "hwchase17", "langchain" ]
### System Info I am runing Django, and chromadb in docker Django port 8001 chromadb port 8002 bellow snippet is inside django application on running it, it create a directory named chroma and there is a chroma.sqlite3 file and a dir named with randomly. it didn't make any call to chromadb's service `chroma` at...
Chrom from_documents not making embedding to remote chromadb server
https://api.github.com/repos/langchain-ai/langchain/issues/10403/comments
2
2023-09-09T12:13:10Z
2023-09-09T14:26:42Z
https://github.com/langchain-ai/langchain/issues/10403
1,888,719,111
10,403
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.285 on Windows. Reproduceable script is attached ### 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 Te...
create_openai_fn_chain throws an error when not providing input not related to a function
https://api.github.com/repos/langchain-ai/langchain/issues/10397/comments
4
2023-09-09T09:36:42Z
2023-12-18T23:47:03Z
https://github.com/langchain-ai/langchain/issues/10397
1,888,670,258
10,397
[ "hwchase17", "langchain" ]
### Feature request Any possible ways to run a Q&A bot for my fine-tuned Llama2 model in Google Colab? ### Motivation Any possible ways to run a Q&A bot for my fine-tuned Llama2 model in Google Colab? ### Your contribution Any possible ways to run a Q&A bot for my fine-tuned Llama2 model in Google Colab?
How to use my fine-tuned Llama2 model in Langchain?
https://api.github.com/repos/langchain-ai/langchain/issues/10395/comments
9
2023-09-09T07:20:40Z
2023-09-26T02:15:12Z
https://github.com/langchain-ai/langchain/issues/10395
1,888,620,991
10,395
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.272 Python version: 3.10 Host System: Windows 11 I'm loading Few Shot Prompts from a fewshot_prompts.yaml file by using load_prompt() function. The fewshot_prompts.yaml file has a section with the title "examples:" to load the Few Shot Prompts from file example_prompts.yaml. ...
Issue with loading xxx_prompts.yaml file specified under "examples" section in the .yaml file passed as parameter in load_prompt()
https://api.github.com/repos/langchain-ai/langchain/issues/10390/comments
8
2023-09-09T04:39:51Z
2023-12-18T23:47:08Z
https://github.com/langchain-ai/langchain/issues/10390
1,888,574,094
10,390
[ "hwchase17", "langchain" ]
### Issue with current documentation: [AIMessagePromptTemplate documentation](https://api.python.langchain.com/en/latest/prompts/langchain.prompts.chat.AIMessagePromptTemplate.html#langchain-prompts-chat-aimessageprompttemplate) incorrectly and confusingly describes the message as "... This is a message that is not ...
DOC: Incorrect and confusing documentation of AIMessagePromptTemplate and HumanMessagePromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/10378/comments
2
2023-09-08T16:43:51Z
2023-12-18T23:47:12Z
https://github.com/langchain-ai/langchain/issues/10378
1,888,011,222
10,378
[ "hwchase17", "langchain" ]
### System Info Python 3.10.8 running on mac mini in VS Code ### Who can help? @asai95 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
Couldn't import BaseMessageConverter from
https://api.github.com/repos/langchain-ai/langchain/issues/10377/comments
5
2023-09-08T16:06:52Z
2023-09-09T00:46:51Z
https://github.com/langchain-ai/langchain/issues/10377
1,887,955,487
10,377
[ "hwchase17", "langchain" ]
### Issue with current documentation: I would like to get clarification of proper setting of Function Agents as Tools for other Agents. In [Agent Tools Docs](https://python.langchain.com/docs/modules/agents/tools/) said that **tools can be even other agents but there are lack of examples** I have implemented ...
DOC: How to properly initialize Function Agent as a Tool for other Agent
https://api.github.com/repos/langchain-ai/langchain/issues/10375/comments
5
2023-09-08T15:33:54Z
2024-05-14T08:03:21Z
https://github.com/langchain-ai/langchain/issues/10375
1,887,908,236
10,375
[ "hwchase17", "langchain" ]
### System Info Hi there :wave: , I am wondering why now redis is completely broken (most of the paramters names have been changed) and you did this is a minor version change - doesn't make any sense - and I'd like to know how to pass `k` to the retriever now and how to get the `k`; previous I could just do `retr...
Why did you broke Redis completely in a minor version change
https://api.github.com/repos/langchain-ai/langchain/issues/10366/comments
4
2023-09-08T13:30:27Z
2023-09-10T06:59:18Z
https://github.com/langchain-ai/langchain/issues/10366
1,887,699,565
10,366
[ "hwchase17", "langchain" ]
### Issue with current documentation: Overall there are so many terms on top of each other and I do understand we are trading off growing fast to having clean, set terms but lets discuss about currently what is the common way to define an AGENT that uses openAI for reasoning engine, and answers questions using tools t...
DOC: What is the Difference between OpenAIAgent and agent=AgentType.OPENAI_FUNCTIONS
https://api.github.com/repos/langchain-ai/langchain/issues/10361/comments
2
2023-09-08T10:16:55Z
2023-12-18T23:47:22Z
https://github.com/langchain-ai/langchain/issues/10361
1,887,374,918
10,361
[ "hwchase17", "langchain" ]
### Feature request The Project [Basaran](https://github.com/hyperonym/basaran) lets you host an api that is similar to the OpenAI api, but with a self hosted llm. Support for such custom API LLMs would be great ### Motivation Further democritizig LLMs ### Your contribution I could test it
Own Api LLM
https://api.github.com/repos/langchain-ai/langchain/issues/10359/comments
2
2023-09-08T10:00:51Z
2023-12-18T23:47:27Z
https://github.com/langchain-ai/langchain/issues/10359
1,887,349,628
10,359
[ "hwchase17", "langchain" ]
### mapreduce chain doesn't provide full response. I'm currently using mapreduce chain to do news summarization. But the output doesn't provide full response. Is there any way to fix this issue? I'm following the guide of langchain api mapreduce chain example.
Issue: The mapreduce chain doesn't generate full response.
https://api.github.com/repos/langchain-ai/langchain/issues/10357/comments
2
2023-09-08T09:26:17Z
2023-12-18T23:47:33Z
https://github.com/langchain-ai/langchain/issues/10357
1,887,295,643
10,357
[ "hwchase17", "langchain" ]
### Feature request Please update dependencies to support installing `pydantic>=2.0. Now there's a conflict, for example pip resolver gives following error: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following d...
pydantic 2.0 support
https://api.github.com/repos/langchain-ai/langchain/issues/10355/comments
1
2023-09-08T08:33:35Z
2023-09-08T08:49:07Z
https://github.com/langchain-ai/langchain/issues/10355
1,887,216,037
10,355
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using ConversationalRetrievalChain for document Q/A bot and updating chat_history = [] with every message however I noticed this chat_history string is never added to final inference string. In _call method of BaseConversationalRetrievalChain class, even when "if chat_history_str:...
ConversationalRetrievalChain is not adding chat_history to new message
https://api.github.com/repos/langchain-ai/langchain/issues/10353/comments
1
2023-09-08T07:36:09Z
2023-12-18T23:47:37Z
https://github.com/langchain-ai/langchain/issues/10353
1,887,127,834
10,353
[ "hwchase17", "langchain" ]
### Feature request like https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/document_loaders/confluence.py, we need a loader for quip document, please follow https://github.com/quip/quip-api/tree/master/python ### Motivation I have a lot of documents in quip, want to load these quip docum...
quip doc loader
https://api.github.com/repos/langchain-ai/langchain/issues/10352/comments
5
2023-09-08T07:07:49Z
2023-12-18T23:47:43Z
https://github.com/langchain-ai/langchain/issues/10352
1,887,085,921
10,352
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I was led to use GPT4All for building a personal chatbot. It generated undesired output. More precisely, it generates the all conversation, after writing the first prompt. For solving this problem, I instantiated GPT4All with a not empty list value for attribute `stop` : ` llm = G...
Issue: GPT4All LLM continue to generate undesired tokens even if stop attribute has been specified
https://api.github.com/repos/langchain-ai/langchain/issues/10345/comments
6
2023-09-07T21:33:08Z
2024-02-21T16:08:35Z
https://github.com/langchain-ai/langchain/issues/10345
1,886,588,480
10,345
[ "hwchase17", "langchain" ]
### System Info With Streaming turned on, verbose mode is turned on. Am I doing something wrong? Python 3.10.9 Name: langchain Version: 0.0.284 llm2 = ChatOpenAI( temperature=0, streaming=True, callbacks=[StreamingStdOutCallbackHandler()], model="gpt-4-0613", ) agent = initialize_agent( ...
Streaming Turns on Verbose mode for AgentType.CONVERSATIONAL_REACT_DESCRIPTION
https://api.github.com/repos/langchain-ai/langchain/issues/10339/comments
3
2023-09-07T17:56:38Z
2023-12-14T16:04:47Z
https://github.com/langchain-ai/langchain/issues/10339
1,886,350,516
10,339
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hello. I think there is little to no explanation as to which are the differences between `LLMSingleActionAgent` and `Agent` classes, and which is suitable for what scenario. Both classes inherit from `BaseSingleActionAgent`. Thanks in advance. ### Idea or request for conte...
DOC: LLMSingleActionAgent vs. Agent
https://api.github.com/repos/langchain-ai/langchain/issues/10338/comments
2
2023-09-07T17:33:37Z
2023-12-14T16:04:52Z
https://github.com/langchain-ai/langchain/issues/10338
1,886,322,923
10,338
[ "hwchase17", "langchain" ]
### Feature request I'd like a way to silence TextGen's output in my terminal. For example, a parameter would be perfect. Looking at TextGen's source code, I see this line `print(prompt + result)`. If I remove this line, then I get the desired effect where nothing is printed to my terminal. ### Motivation I'm w...
TextGen parameter to silence the print in terminal
https://api.github.com/repos/langchain-ai/langchain/issues/10337/comments
2
2023-09-07T17:16:09Z
2023-12-07T16:14:14Z
https://github.com/langchain-ai/langchain/issues/10337
1,886,302,306
10,337