issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.292 OS Windows10 Python 3.11 ### Who can help? Probably @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt...
MapRerankDocumentsChain UserWarning & ValueError
https://api.github.com/repos/langchain-ai/langchain/issues/10670/comments
7
2023-09-16T09:01:39Z
2024-02-13T16:12:12Z
https://github.com/langchain-ai/langchain/issues/10670
1,899,364,157
10,670
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. The effect of tools with return_direct=False for CHAT_CONVERSATIONAL_REACT_AGENT only causes the LLM to generate a final answer based on tool observation, but never in another tool invocation. The same is not happening with CONVERSATIONAL_REACT_AGENT which seems able to generate new t...
CHAT_CONVERSATIONAL_REACT_AGENT never uses more than 1 tool per turn.
https://api.github.com/repos/langchain-ai/langchain/issues/10669/comments
4
2023-09-16T08:50:55Z
2023-12-25T16:06:50Z
https://github.com/langchain-ai/langchain/issues/10669
1,899,361,074
10,669
[ "langchain-ai", "langchain" ]
### System Info Hello, I noticed that the `AzureOpenAI` is missing from the latest release. Now we kind of have to create our own custom class. Is this the direction of the project? Thank you ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modifie...
AzureOpenAI is missing
https://api.github.com/repos/langchain-ai/langchain/issues/10664/comments
2
2023-09-15T23:52:55Z
2023-12-25T16:06:55Z
https://github.com/langchain-ai/langchain/issues/10664
1,899,214,053
10,664
[ "langchain-ai", "langchain" ]
### System Info langchain == 292 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loa...
AgentExecutor and ModuleNotFoundError/NameError
https://api.github.com/repos/langchain-ai/langchain/issues/10661/comments
2
2023-09-15T21:55:52Z
2023-12-25T16:06:59Z
https://github.com/langchain-ai/langchain/issues/10661
1,899,121,900
10,661
[ "langchain-ai", "langchain" ]
### System Info langchain == 292 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Lo...
python_repl_ast and package import (ModuleNotFoundError and NameError)
https://api.github.com/repos/langchain-ai/langchain/issues/10660/comments
4
2023-09-15T21:54:31Z
2024-01-17T03:02:33Z
https://github.com/langchain-ai/langchain/issues/10660
1,899,120,362
10,660
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.287, MACOS ### Who can help? **TLDR: Where are the tools in prompts ?** Hi everyone, I am experimenting with the AgentTypes and I found its not showing everything in the prompts. My langchain.debug =True and I am expecting to see every detail about my prompts. However when...
AgentType.OPENAI_FUNCTIONS doesnt show Tools in the prompts.
https://api.github.com/repos/langchain-ai/langchain/issues/10652/comments
2
2023-09-15T18:53:25Z
2023-12-25T16:07:09Z
https://github.com/langchain-ai/langchain/issues/10652
1,898,923,060
10,652
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. this is the function ``` from datetime import datetime from typing import Optional, Union from os import environ from gcsa.google_calendar import GoogleCalendar from gcsa.recurrence import Recurrence, YEARLY, DAILY, WEEKLY, MONTHLY from gcsa.event import Event from langchain.cal...
Issue: I am trying to turn this function into a tool how should i do it?
https://api.github.com/repos/langchain-ai/langchain/issues/10647/comments
4
2023-09-15T15:09:55Z
2023-09-27T18:06:15Z
https://github.com/langchain-ai/langchain/issues/10647
1,898,618,653
10,647
[ "langchain-ai", "langchain" ]
### System Info I am using VertexAI model to parse data in a document. Since the documents are large, I am trying to increase the max_output_tokens parameter for "chat-bison-32k" model. I am not able to change this parameter and my output gets truncated after a certain token limit is reached. Is there a way to increas...
Issue : Unable to set max_output_tokens for VertexAI models
https://api.github.com/repos/langchain-ai/langchain/issues/10644/comments
6
2023-09-15T13:48:00Z
2023-12-25T16:07:14Z
https://github.com/langchain-ai/langchain/issues/10644
1,898,471,801
10,644
[ "langchain-ai", "langchain" ]
### System Info langchain version:0.0.291 Platform: linux python version: 3.10 ### 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 / Pro...
chat_models.QianfanEndpoint Not Compatiable with SystemMessage
https://api.github.com/repos/langchain-ai/langchain/issues/10643/comments
1
2023-09-15T13:20:23Z
2023-09-20T06:24:28Z
https://github.com/langchain-ai/langchain/issues/10643
1,898,424,717
10,643
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Error message: File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for PromptTemplate __root__ Format specifier missing precision (type=value_error) My prompt looks like this: I want you to generat...
When I use a prompt with "{", I get an error
https://api.github.com/repos/langchain-ai/langchain/issues/10639/comments
4
2023-09-15T11:43:33Z
2024-06-25T19:50:57Z
https://github.com/langchain-ai/langchain/issues/10639
1,898,256,493
10,639
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ## Description I use the Chinook database as an example. ![image](https://github.com/langchain-ai/langchain/assets/91650059/200c3663-f0e0-4cc3-98be-fcad39dff38c) I will create a AI customer service system. The user provides the trackid and question. In addition to providing answ...
Issue: Asks SQLDatabaseChain to return specific columns. Let the main question fail.
https://api.github.com/repos/langchain-ai/langchain/issues/10635/comments
2
2023-09-15T10:34:28Z
2023-12-25T16:07:19Z
https://github.com/langchain-ai/langchain/issues/10635
1,898,155,765
10,635
[ "langchain-ai", "langchain" ]
### Feature request SagemakerEndpoint should be capable of assuming cross account role or have a way to inject the boto3 session ### Motivation SagemakerEndpoint currently can run with credentials available but to call sagemaker endpoints in different account there is no way to inject boto3 session or role informati...
Sagemaker Endpoint cross account capability
https://api.github.com/repos/langchain-ai/langchain/issues/10634/comments
2
2023-09-15T10:14:51Z
2023-12-25T16:07:24Z
https://github.com/langchain-ai/langchain/issues/10634
1,898,126,719
10,634
[ "langchain-ai", "langchain" ]
### System Info If this error occurs, it is recommended to set the logic for requesting again. ![image](https://github.com/langchain-ai/langchain/assets/52407961/96ead28c-27f4-4ed4-9b25-8fe30534582c) ![image](https://github.com/langchain-ai/langchain/assets/52407961/f81f4875-10e6-46de-8559-f727cf421291) ###...
age power error
https://api.github.com/repos/langchain-ai/langchain/issues/10633/comments
3
2023-09-15T09:56:55Z
2023-12-25T16:07:30Z
https://github.com/langchain-ai/langchain/issues/10633
1,898,099,422
10,633
[ "langchain-ai", "langchain" ]
### System Info langchain 0.0.291 Python 3.9.6 Platform = Unix I built an chatbot using langchain and GPT 3.5-turbo as LLM. I am running into issues of the bot not being able to appropriately response to social nuances (e.g. "Thank you.", "That's all, goodbye", etc.). Instead of picking up on social cues, it star...
LangChain incorrectly interpreting question
https://api.github.com/repos/langchain-ai/langchain/issues/10632/comments
2
2023-09-15T09:14:50Z
2023-11-01T11:25:36Z
https://github.com/langchain-ai/langchain/issues/10632
1,898,034,012
10,632
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I am trying to make a chatbot with a LLM based on LLaMa2. When I use the memory (ConversationBufferWindowMemory), it creates a default prompt like: """ Human: input AI: output Human: input """ However, with LLaMa2 I need to create a prompt like: """ [INST]...
Issue: Remove "AI:" and "Human:" prefixes in memory history
https://api.github.com/repos/langchain-ai/langchain/issues/10630/comments
5
2023-09-15T08:47:07Z
2024-02-11T16:14:27Z
https://github.com/langchain-ai/langchain/issues/10630
1,897,986,132
10,630
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ``` llm = AzureOpenAI( deployment_name = "gpt35_0301", model_name = "gpt-35-turbo", max_tokens = 1000, top_p = 0, temperature = 0 ) db = SQLDatabase.from_databricks(catalog = "hive_metastore", schema = "AISchema") db_chain = SQLDatabaseChain.from_llm(llm, d...
Issue: How to stop the agent chain from continuing generate new input in Langchain?
https://api.github.com/repos/langchain-ai/langchain/issues/10629/comments
3
2023-09-15T08:46:25Z
2024-02-07T16:25:33Z
https://github.com/langchain-ai/langchain/issues/10629
1,897,985,077
10,629
[ "langchain-ai", "langchain" ]
hi team, Can I use the multiple LLM in agent? Use different model by action. Because I found gpt-4 took too much token in my agent, I just want gpt-4 to handle some action and gpt-3 to handle other action to reduce the token usage. Is it workable?
Use different LLM in agent
https://api.github.com/repos/langchain-ai/langchain/issues/10626/comments
4
2023-09-15T07:43:32Z
2023-12-25T16:07:34Z
https://github.com/langchain-ai/langchain/issues/10626
1,897,890,989
10,626
[ "langchain-ai", "langchain" ]
### System Info langchain 0.0.291 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parse...
ValueError: Could not parse LLM output: difference between ConversationalAgent and ConversationalChatAgent
https://api.github.com/repos/langchain-ai/langchain/issues/10624/comments
2
2023-09-15T07:03:59Z
2023-12-25T16:07:39Z
https://github.com/langchain-ai/langchain/issues/10624
1,897,836,389
10,624
[ "langchain-ai", "langchain" ]
### System Info Platform: local development on MacOS Ventura Python version: 3.10.12 langchain.__version__: 0.0.288 faiss.__version__: 1.7.4 chromadb.__version__: 0.4.10 openai.__version__: 0.28.0 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified...
FAISS.from_documents(docs, embeddings) and Chroma.from_documents(docs, embeddings) result in `AttributeError: data`.
https://api.github.com/repos/langchain-ai/langchain/issues/10622/comments
14
2023-09-15T06:36:52Z
2024-06-21T16:37:56Z
https://github.com/langchain-ai/langchain/issues/10622
1,897,803,767
10,622
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. - Python Version: [Python 3.8] **Issue:** When I used ConversationBufferMemory then it returns the response out of the context. when I remove memory functionality from my code it works fine. **CODE:** `from fastapi import FastAPI, HTTPException from pydantic import BaseModel f...
Issue: Issue with ConversationBufferMemory in FastAPI code
https://api.github.com/repos/langchain-ai/langchain/issues/10621/comments
6
2023-09-15T06:27:51Z
2023-12-25T16:07:45Z
https://github.com/langchain-ai/langchain/issues/10621
1,897,793,321
10,621
[ "langchain-ai", "langchain" ]
### System Info langchain-0.0.291 python3.9 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [...
TypeError: Got unknown type F
https://api.github.com/repos/langchain-ai/langchain/issues/10618/comments
3
2023-09-15T04:09:53Z
2023-09-15T09:06:10Z
https://github.com/langchain-ai/langchain/issues/10618
1,897,674,474
10,618
[ "langchain-ai", "langchain" ]
### Feature request It would be great to see **thought instruction** be implemented as an alternative to chain of thought (CoT) prompting. **Thought instruction** is proposed as an alternative to chain of thought (CoT) prompting for a more nuanced approach to software development. It involves explicitly addressing ...
Thought Instruction (Alternative to CoT)
https://api.github.com/repos/langchain-ai/langchain/issues/10610/comments
1
2023-09-15T00:34:54Z
2024-01-25T14:17:25Z
https://github.com/langchain-ai/langchain/issues/10610
1,897,522,792
10,610
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi , I'm trying to see how I can put a system message for my chain to tell him that for example "Your name is XX". I've tried a lot of things and saw a lot of issues resolved and documentations but they never worked... Any help will be appreciated. here is the code of my chain.ts: ...
Issue: I cannot seem to find how to make a System role message in my chain.
https://api.github.com/repos/langchain-ai/langchain/issues/10608/comments
2
2023-09-14T23:49:19Z
2023-12-25T16:07:49Z
https://github.com/langchain-ai/langchain/issues/10608
1,897,492,962
10,608
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. As noted here: #10462 and #6819 I've realized I'm thousands of miles away from having the skills to fix this and make a PR (I'm not a Pro Dev) in my attempt to update the `SelfQueryRetriever`. However, I think this will be a great learning opportunity, with help from someone who knows...
Issue: Help fixing "predict_and_parse" deprecation from SelfQueryRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/10606/comments
3
2023-09-14T22:37:24Z
2023-12-25T16:07:54Z
https://github.com/langchain-ai/langchain/issues/10606
1,897,437,974
10,606
[ "langchain-ai", "langchain" ]
### System Info Langain 0.288 Windows 11 Python 3.11 ### 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 P...
Llama - n_ctx defaults to 512 even if overide passed during invocation
https://api.github.com/repos/langchain-ai/langchain/issues/10590/comments
2
2023-09-14T17:17:33Z
2023-12-21T16:05:59Z
https://github.com/langchain-ai/langchain/issues/10590
1,896,999,033
10,590
[ "langchain-ai", "langchain" ]
### Feature request Add integration for [Document AI](https://cloud.google.com/document-ai/docs/overview) from Google Cloud for intelligent document processing. ### Motivation This product offers Optical Character Recognition, specialized processors from specific document types, and built in Generative AI pr...
Add Google Cloud Document AI integration
https://api.github.com/repos/langchain-ai/langchain/issues/10589/comments
2
2023-09-14T16:57:14Z
2023-10-09T15:05:54Z
https://github.com/langchain-ai/langchain/issues/10589
1,896,971,125
10,589
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.288 python==3.10 This bug is reproducible on older langchain version (0.0.240) and different os (Windows, Debian). ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Mode...
PythonAstREPLTool won't execute code with functions/lambdas
https://api.github.com/repos/langchain-ai/langchain/issues/10583/comments
3
2023-09-14T14:22:45Z
2023-12-25T16:08:00Z
https://github.com/langchain-ai/langchain/issues/10583
1,896,687,080
10,583
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am building an agent and need a tool that can get give the agent access to the current datetime. ### Suggestion: _No response_
Issue: an agent that can get the current time
https://api.github.com/repos/langchain-ai/langchain/issues/10582/comments
5
2023-09-14T14:14:19Z
2023-09-27T17:30:33Z
https://github.com/langchain-ai/langchain/issues/10582
1,896,670,788
10,582
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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