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 Windows 10 Python 3.10.11 I am using FAISS as the vectorstore, HuggingFaceEmbeddings, and the llm is HuggingFaceHub with google/flan-t5-small. There are no changes to any of these elements when running with and without 'with_sources'. All libraries were installed within the last week. ### Who...
load_qa_chain succeeds where load_qa_with_sources_chain fails to return result
https://api.github.com/repos/langchain-ai/langchain/issues/11865/comments
2
2023-10-16T14:55:08Z
2024-02-06T16:19:46Z
https://github.com/langchain-ai/langchain/issues/11865
1,945,420,637
11,865
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. When I use the chatglm code from the official documentation, I can't connect to the endpoint URL provided there. The official website is: https://python.langchain.com/docs/integrations/llms/chatglm The specific code is as follows: from langchain.llms import ChatGLM ...
Issue: When using ChatGLM, I can't connect to the endpoint_url.
https://api.github.com/repos/langchain-ai/langchain/issues/11859/comments
5
2023-10-16T11:35:37Z
2024-02-11T16:10:51Z
https://github.com/langchain-ai/langchain/issues/11859
1,945,007,015
11,859
[ "langchain-ai", "langchain" ]
This is my current code and it does run however it answers completely differently sometimes and it also writes the answer 3 or 4 times. Please fix it for me and if possible, fix my templates to make my output consistent from dotenv import load_dotenv import csv import PyPDF2 from PyPDF2 import PdfReader from...
Not answering correctly according to prompt and writes same answer 3-4 times
https://api.github.com/repos/langchain-ai/langchain/issues/11857/comments
7
2023-10-16T10:23:37Z
2023-10-16T11:47:30Z
https://github.com/langchain-ai/langchain/issues/11857
1,944,879,698
11,857
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. hi @dosu-bot , @dosu-beta : I am not able to figure out how we can pass variale to the input_variable in prompt : prompt_with_loader = PromptTemplate( input_variables=["query", "username", "password"], template= """ Based on the instruction you are tasked to c...
Issue: Not clear through docs: how we can pass variale to the input_variable in prompt
https://api.github.com/repos/langchain-ai/langchain/issues/11856/comments
5
2023-10-16T10:11:06Z
2024-02-11T16:10:57Z
https://github.com/langchain-ai/langchain/issues/11856
1,944,857,017
11,856
[ "langchain-ai", "langchain" ]
Can someone help me fix this code please. My error: Traceback (most recent call last): File "C:\Users\Asus\Documents\Vendolista\app2.py", line 130, in <module> main() File "C:\Users\Asus\Documents\Vendolista\app2.py", line 99, in main qa = ConversationalRetrievalChain.from_llm( File "C:\Users\Asus...
ConversationalRetrievalChain error
https://api.github.com/repos/langchain-ai/langchain/issues/11855/comments
3
2023-10-16T09:34:13Z
2024-02-09T16:15:18Z
https://github.com/langchain-ai/langchain/issues/11855
1,944,786,305
11,855
[ "langchain-ai", "langchain" ]
### System Info langchain : 0.0.306 python : 3.10.12 platform : Ubuntu ### 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 Sele...
S3 Directory Loader not working as expected
https://api.github.com/repos/langchain-ai/langchain/issues/11854/comments
4
2023-10-16T08:37:20Z
2024-02-10T16:12:37Z
https://github.com/langchain-ai/langchain/issues/11854
1,944,679,764
11,854
[ "langchain-ai", "langchain" ]
### System Info LangChain version: v0.0.314 ### Who can help? @eyurtsev @baskaryan ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pars...
ConfluenceLoader's keep_newlines is not passed correctly
https://api.github.com/repos/langchain-ai/langchain/issues/11853/comments
2
2023-10-16T08:34:03Z
2024-02-09T16:15:28Z
https://github.com/langchain-ai/langchain/issues/11853
1,944,674,010
11,853
[ "langchain-ai", "langchain" ]
### System Info python = "=3.10.12" llama-cpp-python = "=0.2.11" langchain = "=0.0.313" ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prom...
Tagging documentation does not work with LlamaCpp or Ollama
https://api.github.com/repos/langchain-ai/langchain/issues/11847/comments
3
2023-10-16T07:27:07Z
2024-02-11T16:11:02Z
https://github.com/langchain-ai/langchain/issues/11847
1,944,554,193
11,847
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment by the keyword include_attachments=True Created a chunk of size 494, which is longer than the specified 100 Created a chunk of size 230, which is longer than the specified 100 Created a chunk of size 121, which...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11845/comments
2
2023-10-16T06:34:51Z
2024-02-06T16:20:21Z
https://github.com/langchain-ai/langchain/issues/11845
1,944,475,842
11,845
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment by the keyword include_attachments=True Created a chunk of size 494, which is longer than the specified 100 Created a chunk of size 230, which is longer than the specified 100 Created a chunk of size 121, whi...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11844/comments
1
2023-10-16T06:00:12Z
2023-10-16T06:35:03Z
https://github.com/langchain-ai/langchain/issues/11844
1,944,428,691
11,844
[ "langchain-ai", "langchain" ]
### Issue with current documentation: from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain.chat_models import ChatOpenAI from langchain.prompts import ( FewShotChatMessagePromptTemplate, SemanticSimilarityExampleSelector, ChatPromptTemplate, ) ...
In the "Dynamic Few-Shot Prompting" documentation, it is mentioned that when example_selector selects a sample for matching, it can cause the few-shot examples to lose effectiveness because the selected sample may not be relevant to the given input.
https://api.github.com/repos/langchain-ai/langchain/issues/11843/comments
4
2023-10-16T05:43:53Z
2024-05-07T16:06:03Z
https://github.com/langchain-ai/langchain/issues/11843
1,944,410,321
11,843
[ "langchain-ai", "langchain" ]
### System Info I attempted to create an AI agent bot by utilizing the QianfanChatEndpoint. However, I encountered an issue when I attempted to define a tool for making calls. Subsequent to consulting with a contributor from the QianfanChatEndpoint project, it was determined that it is imperative to merge the follo...
QianfanChatEndpoint function call not work for agent.
https://api.github.com/repos/langchain-ai/langchain/issues/11839/comments
2
2023-10-16T02:08:55Z
2024-02-09T16:15:38Z
https://github.com/langchain-ai/langchain/issues/11839
1,944,207,173
11,839
[ "langchain-ai", "langchain" ]
### System Info Dependencies: langchain == 0.0.285 pytest ~= 7.4.0 pytest-asyncio ~= 0.21.1 pytest-mock ~= 3.11.1 Using Python 3.11 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat...
AsyncMock not preserved when passed to custom Chain
https://api.github.com/repos/langchain-ai/langchain/issues/11838/comments
4
2023-10-15T22:27:00Z
2024-02-10T16:12:47Z
https://github.com/langchain-ai/langchain/issues/11838
1,944,082,144
11,838
[ "langchain-ai", "langchain" ]
### System Info 0.0.314 ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outp...
Use OpenAI ChatGPT Plugin via Python API fails with maximum number of tokens error
https://api.github.com/repos/langchain-ai/langchain/issues/11837/comments
3
2023-10-15T21:59:24Z
2024-02-11T16:11:07Z
https://github.com/langchain-ai/langchain/issues/11837
1,944,073,141
11,837
[ "langchain-ai", "langchain" ]
### System Info LangChain Version: 0.0.314 Python 3.9.6 I have been using LangChain with OpenAI and FAISS for building RAG chatbots. Everything was working fine until last week. I have noticed that for some reason, I have much higher response times. I have debugged the LangChain code and found that the reason is...
OpenAI API is extremely slow
https://api.github.com/repos/langchain-ai/langchain/issues/11836/comments
6
2023-10-15T21:39:04Z
2024-04-10T16:14:04Z
https://github.com/langchain-ai/langchain/issues/11836
1,944,067,045
11,836
[ "langchain-ai", "langchain" ]
https://github.com/langchain-ai/langchain/blob/a50630277295c3884be8e839b04718d0e99b4ea4/libs/langchain/langchain/chains/moderation.py#L93C43-L93C43 Code a line no. 93 needs to be updated as below self.client.create(input = text, model = self.model_name)
model_name is not passed as a argument to create method
https://api.github.com/repos/langchain-ai/langchain/issues/11830/comments
1
2023-10-15T16:52:02Z
2024-02-06T16:20:41Z
https://github.com/langchain-ai/langchain/issues/11830
1,943,966,873
11,830
[ "langchain-ai", "langchain" ]
### Feature request similarly to: ``` db = Chroma(persist_directory=persist_directory, embedding_function=embeddings, client_settings=CHROMA_SETTINGS) collection = db.get() ``` where ```collection``` is a list of documents already in the vector store, is there a way to get that list from neo4j_vecror that ...
return all documents in neo4j_vector
https://api.github.com/repos/langchain-ai/langchain/issues/11829/comments
2
2023-10-15T16:41:33Z
2024-02-06T16:20:46Z
https://github.com/langchain-ai/langchain/issues/11829
1,943,962,792
11,829
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I have installed langchain and ctransformer using - ``` pip install langchain pip install ctransformers[cuda] ``` I am trying following piece of code - ``` from langchain.llms import CTransformers config = {'max_new_tokens': 512, 'repetition_penalty': 1.1, 'context_length':...
Issue: GPU is not used with Ctransformers even after specifying gpu_layers parameter
https://api.github.com/repos/langchain-ai/langchain/issues/11826/comments
15
2023-10-15T14:35:12Z
2024-05-16T07:56:34Z
https://github.com/langchain-ai/langchain/issues/11826
1,943,913,102
11,826
[ "langchain-ai", "langchain" ]
### System Info Python 3.11.5 langchain==0.0.260 atlassian-python-api==3.41.2 ### Who can help? @eyurtsev @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Template...
Confluence document loader can not get the attachments
https://api.github.com/repos/langchain-ai/langchain/issues/11824/comments
1
2023-10-15T13:44:03Z
2023-10-16T10:03:34Z
https://github.com/langchain-ai/langchain/issues/11824
1,943,895,150
11,824
[ "langchain-ai", "langchain" ]
### System Info window 、langchain-0.0.314、python 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 / Prompt Selector...
ValidationError: 1 validation error for ChatMessage
https://api.github.com/repos/langchain-ai/langchain/issues/11823/comments
3
2023-10-15T12:14:33Z
2024-02-09T16:15:53Z
https://github.com/langchain-ai/langchain/issues/11823
1,943,865,066
11,823
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.313 Python version: Python 3 OS: Mac ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt ...
Getting an error while importing MultiPromptChain
https://api.github.com/repos/langchain-ai/langchain/issues/11819/comments
6
2023-10-15T06:32:23Z
2024-02-28T16:08:50Z
https://github.com/langchain-ai/langchain/issues/11819
1,943,745,728
11,819
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment using the keyword "include_attachments=True", without these keyword I am able to do question answering on Text content. But I want to fetch attachment of the confluence space. Below is my code: ![Screenshot from...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11818/comments
2
2023-10-15T04:59:22Z
2024-02-06T16:20:56Z
https://github.com/langchain-ai/langchain/issues/11818
1,943,712,366
11,818
[ "langchain-ai", "langchain" ]
### System Info langchain=0.0.294 python=3.10 ### Who can help? @hwchase17 @mmz-001 @baskaryan ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ]...
Mutiple text_splitter ignore the chunk_size parameter
https://api.github.com/repos/langchain-ai/langchain/issues/11817/comments
2
2023-10-15T04:42:23Z
2023-10-16T07:10:32Z
https://github.com/langchain-ai/langchain/issues/11817
1,943,707,750
11,817
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment using the keyword "include_attachments=True", without these keyword I am able to do question answering on Text content. But I want to fetch attachment of the confluence space. Below is my code: ![Screenshot from...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11816/comments
3
2023-10-15T03:49:23Z
2024-02-07T16:18:48Z
https://github.com/langchain-ai/langchain/issues/11816
1,943,688,748
11,816
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I have lots product factsheet in PDF format and would like to perform QnA on these documents. These documents have a common layout. I parsed these documents and stored them in ChromaDB. However, when I try to query the vector store for a specific details for ex. "What is the product ...
Issue: Similarity Search on Chroma does not retrieve relevant chunk for homogeneous document search
https://api.github.com/repos/langchain-ai/langchain/issues/11815/comments
2
2023-10-15T03:35:42Z
2024-02-06T16:21:07Z
https://github.com/langchain-ai/langchain/issues/11815
1,943,684,633
11,815
[ "langchain-ai", "langchain" ]
### Feature request A retriever for documents from [Outline](https://github.com/outline/outline). The API has a search endpoint which allows this to be possible: https://www.getoutline.com/developers#tag/Documents/paths/~1documents.search/post The implementation will be similar to the Wikipedia retriever: htt...
Create retriever for Outline to ask questions on knowledge base
https://api.github.com/repos/langchain-ai/langchain/issues/11814/comments
1
2023-10-15T01:58:24Z
2023-11-28T20:58:07Z
https://github.com/langchain-ai/langchain/issues/11814
1,943,639,624
11,814
[ "langchain-ai", "langchain" ]
### System Info Langchain 0.0.314 When LLM returns with action input parameter without space in-between two tables, call fails. Certain LLMs dont follow "Table1, Table2" format and returns with "Table1,Table2" This is easily addressed by stripping out all spaces and split with "," <code> class InfoSQLDataba...
SQL DB Tools sql_db_schema bad input
https://api.github.com/repos/langchain-ai/langchain/issues/11813/comments
1
2023-10-14T23:56:03Z
2024-02-06T16:21:11Z
https://github.com/langchain-ai/langchain/issues/11813
1,943,609,736
11,813
[ "langchain-ai", "langchain" ]
### Feature request We propose the addition of some of the querying endpoints supported by serpapi that are not suported on langchain at the moment. Some examples, include querying google job, google trends and google finance etc.### ### Motivation The motivation for this feature proposal is to enhance the querying...
Add support for many of the querying endpoints with serpapi
https://api.github.com/repos/langchain-ai/langchain/issues/11811/comments
2
2023-10-14T19:16:42Z
2024-01-30T16:11:49Z
https://github.com/langchain-ai/langchain/issues/11811
1,943,495,649
11,811
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Looking to use `AsyncChromiumLoader` to scrape URLs but I keep running into the following error: ```python loader = AsyncChromiumLoader(["https://www.espn.com/nfl/story/_/id/38652877/lions-rb-jahmyr-gibbs-wr-amon-ra-st-brown-return-vs-bucs"]) loader.load() -----------------------...
Issue: `AsyncChromiumLoader` RuntimeError: asyncio.run() cannot be called from a running event loop
https://api.github.com/repos/langchain-ai/langchain/issues/11810/comments
2
2023-10-14T16:12:24Z
2024-02-08T16:18:46Z
https://github.com/langchain-ai/langchain/issues/11810
1,943,375,169
11,810
[ "langchain-ai", "langchain" ]
### System Info LangChain: langchain-0.0.314 Python: Anaconda Python 3.9.18 X86 RTX3080 Laptop (16G) CUDA 11.8 cuDNN 8.9.5 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embeddin...
AttributeError: 'LlamaForCausalLM' object has no attribute 'is_quantized'
https://api.github.com/repos/langchain-ai/langchain/issues/11809/comments
4
2023-10-14T13:46:33Z
2023-10-16T23:54:22Z
https://github.com/langchain-ai/langchain/issues/11809
1,943,280,693
11,809
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to use a Falcon model to chat with a bunch of text files. I've downloaded the model locally on my Google Drive, and everything seems fine up to this point. However, when I try to define the LLM model in Langchain using the following code: ``` fr...
Issue: : Issue with HuggingFacePipeline while trying to use a Falcon model for chat with text files
https://api.github.com/repos/langchain-ai/langchain/issues/11807/comments
2
2023-10-14T12:59:34Z
2024-02-07T16:18:58Z
https://github.com/langchain-ai/langchain/issues/11807
1,943,251,646
11,807
[ "langchain-ai", "langchain" ]
### Issue with current documentation: [Link](https://python.langchain.com/docs/expression_language/cookbook/retrieval#with-memory-and-returning-source-documents) Hi, I've been exploring the Cookbook RAG (link provided above) and noticed that `expanded_memory` is not defined anywhere in the code snippet(**With Memor...
DOC: LangChain Cookbook RAG typo
https://api.github.com/repos/langchain-ai/langchain/issues/11805/comments
3
2023-10-14T09:54:28Z
2023-10-15T14:39:12Z
https://github.com/langchain-ai/langchain/issues/11805
1,943,154,020
11,805
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Sorry to raise this as an issue, but I have a quick question. I am preparing come code for `langchain` and noticed that most of the code I wish to build on lacks unit tests. I was considering first submitting a PR of purely unit tests for the existing code I wish to use in order to keep ...
Issue: unit tests, a quick question.
https://api.github.com/repos/langchain-ai/langchain/issues/11803/comments
2
2023-10-14T09:11:36Z
2024-02-07T16:19:03Z
https://github.com/langchain-ai/langchain/issues/11803
1,943,107,712
11,803
[ "langchain-ai", "langchain" ]
### Feature request - If user wants to get content from document which are having confidence HIGH or HIGHEST then with help of this feature Kendra will return only more relevance records. ### Motivation - Sometimes kendra return content with LOW `ScoreConfidence` which may lead to inaccurate results. ### Your cont...
Add support for AWS Kendra `ScoreConfidence` filter.
https://api.github.com/repos/langchain-ai/langchain/issues/11801/comments
2
2023-10-14T07:10:08Z
2024-03-08T01:28:10Z
https://github.com/langchain-ai/langchain/issues/11801
1,943,036,454
11,801
[ "langchain-ai", "langchain" ]
### Feature request The feature proposal is to integrate a new Langchain tool that would provide support for queries on [https://api.nasa.gov/](NASA APIs) Here is the list of NASA APIs that will be integrated into the new tool: - APOD - Asteroids NeoWs - Earth - EONET - EPIC - GeneLab - Insight - Mars Rover...
feat: add NASA API tool
https://api.github.com/repos/langchain-ai/langchain/issues/11787/comments
8
2023-10-13T23:29:42Z
2024-03-13T19:56:56Z
https://github.com/langchain-ai/langchain/issues/11787
1,942,774,990
11,787
[ "langchain-ai", "langchain" ]
### System Info Python Version: 3.11.0 LangChain Version: 0.0.264 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates ...
MultiPromptChain does not use its assigned destination chains
https://api.github.com/repos/langchain-ai/langchain/issues/11786/comments
4
2023-10-13T23:23:40Z
2024-02-09T16:15:58Z
https://github.com/langchain-ai/langchain/issues/11786
1,942,772,500
11,786
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. my Azure search index has 4 fields id, user_id, content, content_vector. I am trying to add a conversation to the azure search vector store for a user_id ="msunkara" The code is given below: memory_vector_store: AzureSearch = AzureSearch( azure_search_endpoint=vect...
Issue: <add_texts method in AzureSearch class throwing a metadata error>
https://api.github.com/repos/langchain-ai/langchain/issues/11780/comments
10
2023-10-13T19:51:52Z
2024-02-14T16:09:28Z
https://github.com/langchain-ai/langchain/issues/11780
1,942,553,296
11,780
[ "langchain-ai", "langchain" ]
### Feature request As it stands, `LLMRouterChain` basically only supports a single input. Here is the template: https://github.com/langchain-ai/langchain/blob/v0.0.314/libs/langchain/langchain/chains/router/multi_prompt_prompt.py While it is currently supported to define multiple input variables on a `PromptTem...
LLMRouterChain should easily support multiple inputs
https://api.github.com/repos/langchain-ai/langchain/issues/11778/comments
4
2023-10-13T19:41:14Z
2024-02-11T16:11:17Z
https://github.com/langchain-ai/langchain/issues/11778
1,942,541,303
11,778
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I tried to follow the contributing Quick Start [here](https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md#-quick-start), but I'm running into issues when I run the unit tests using `make test` Here are the failing tests: ``` FAILED tests/unit_tests/agents/t...
Issue: Many unit tests failing when running on Windows
https://api.github.com/repos/langchain-ai/langchain/issues/11775/comments
3
2023-10-13T17:01:59Z
2023-12-21T21:45:43Z
https://github.com/langchain-ai/langchain/issues/11775
1,942,295,198
11,775
[ "langchain-ai", "langchain" ]
### System Info Using `langchain==0.0.300` ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
ElasticsearchDatabaseChain SerializationError
https://api.github.com/repos/langchain-ai/langchain/issues/11771/comments
4
2023-10-13T16:35:06Z
2023-11-04T04:21:52Z
https://github.com/langchain-ai/langchain/issues/11771
1,942,262,577
11,771
[ "langchain-ai", "langchain" ]
### Feature request Implement a feature using Langchain's image_captions.py and audio_speech_to_text.py to produce .srt files. This system will provide both subtitles and visual scene descriptions, essentially creating closed captioning. ### Motivation Current closed captioning primarily captures spoken content, om...
Video imagery to text (Closed Captioning)
https://api.github.com/repos/langchain-ai/langchain/issues/11770/comments
8
2023-10-13T16:29:52Z
2024-03-18T16:05:44Z
https://github.com/langchain-ai/langchain/issues/11770
1,942,255,454
11,770
[ "langchain-ai", "langchain" ]
### System Info I encountered a very strange problem when using AsyncCallbackHandler. Most of the time, it works normally, but occasionally strange problems occur. Therefore, I logged the entire call process in each function, and finally learned from the logs that under normal circumstances, the logs are on_ llm_ star...
When using Streaming and AsyncCallbackHandler, sometimes it is not possible to obtain the complete token concatenation string.
https://api.github.com/repos/langchain-ai/langchain/issues/11769/comments
3
2023-10-13T14:56:55Z
2024-02-09T16:16:13Z
https://github.com/langchain-ai/langchain/issues/11769
1,942,118,596
11,769
[ "langchain-ai", "langchain" ]
### System Info llm = ChatOpenAI(model_name="gpt-4", temperature=0.5, request_timeout=300) qa_chain = ConversationalRetrievalChain.from_llm( verbose=True, llm=llm, retriever=retriever, return_source_documents=True, combine_docs_chain_kwargs={"prompt": prompt}, rephrase_question=False, ...
Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')).
https://api.github.com/repos/langchain-ai/langchain/issues/11767/comments
2
2023-10-13T11:51:17Z
2024-02-11T16:11:22Z
https://github.com/langchain-ai/langchain/issues/11767
1,941,800,234
11,767
[ "langchain-ai", "langchain" ]
### Feature request I would like to propose a new vector database to be included in the Langchain ecosystem to expand Langchain's influence. Below is the official link to our vector database. https://www.transwarp.cn/starwarp ### Motivation I hope that everyone can more conveniently use Hippo + Langchain to bui...
Add a new vector store hippo to langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11763/comments
1
2023-10-13T10:54:02Z
2024-02-06T16:21:51Z
https://github.com/langchain-ai/langchain/issues/11763
1,941,719,788
11,763
[ "langchain-ai", "langchain" ]
### Feature request It would be great to make it possible to use multiple retrievers, LLM, and conversation history together. ### Motivation Currently, when using `MultiRetrievalQAChain.fromLLMAndRetrievers`, you can provide an LLM and multiple retrievers for context. If there was a possibility to add a conversation...
Use conversation history with MultiRetrievalQAChain
https://api.github.com/repos/langchain-ai/langchain/issues/11760/comments
2
2023-10-13T10:28:58Z
2024-02-20T16:14:35Z
https://github.com/langchain-ai/langchain/issues/11760
1,941,683,584
11,760
[ "langchain-ai", "langchain" ]
### System Info Google Colab langchain==0.0.313 transformers==4.34.0 Python 3.10.12 [Dependencies](https://pastebin.com/raw/T1BqzVq1) I am trying to download huggingface model and feed them to the chain. It was working prior to few weeks. I have tried to change model id to other models. ### Who can help?...
AttributeError: 'BloomForCausalLM' object has no attribute 'is_quantized'
https://api.github.com/repos/langchain-ai/langchain/issues/11759/comments
6
2023-10-13T09:35:49Z
2024-02-11T16:11:27Z
https://github.com/langchain-ai/langchain/issues/11759
1,941,602,588
11,759
[ "langchain-ai", "langchain" ]
### Issue with current documentation: From the page https://python.langchain.com/docs/integrations/platforms/aws If you select See a [usage example.](https://python.langchain.com/docs/integrations/llms/amazon_api_gateway_example) the following message is generated: **Page Not Found** We could not find what y...
DOC:**Page Not Found**
https://api.github.com/repos/langchain-ai/langchain/issues/11758/comments
1
2023-10-13T09:16:52Z
2024-03-13T20:03:18Z
https://github.com/langchain-ai/langchain/issues/11758
1,941,572,219
11,758
[ "langchain-ai", "langchain" ]
### Feature request will you update to follow the update of https://github.com/openai/openai-python/discussions/631 ? ### Motivation Many issues in langchain point that when calling async api and using openai LLM(Chains like MapReduceDocumentsChain), it will raise '[Error Response payload is not complete](ht...
Adapt to openai-python v1.0.0 Beta
https://api.github.com/repos/langchain-ai/langchain/issues/11755/comments
11
2023-10-13T07:18:30Z
2024-02-15T16:08:42Z
https://github.com/langchain-ai/langchain/issues/11755
1,941,385,504
11,755
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am trying to build an agent with multiple tools. Based on the query agent may need to execute single or multiple tools. Some of the tools may ask clarification question to the user. In that case agent should add the question to the final answer along with other tools response. But it...
Question (Urgent): Agent with multiple tools doesn't work as expected and also caused infinite loop.
https://api.github.com/repos/langchain-ai/langchain/issues/11751/comments
3
2023-10-13T06:26:38Z
2024-03-29T16:06:25Z
https://github.com/langchain-ai/langchain/issues/11751
1,941,321,112
11,751
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
langchain agent如何知道选择哪个Tool?
https://api.github.com/repos/langchain-ai/langchain/issues/11750/comments
2
2023-10-13T05:25:20Z
2024-02-08T16:19:20Z
https://github.com/langchain-ai/langchain/issues/11750
1,941,264,138
11,750
[ "langchain-ai", "langchain" ]
### System Info ```sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.8/dist-packages/langchain/__init__.py", line 8, in <module> from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain File "/usr/local/lib/python3.8/dist-packages/la...
@root_validator error
https://api.github.com/repos/langchain-ai/langchain/issues/11749/comments
3
2023-10-13T04:51:51Z
2023-10-18T18:52:26Z
https://github.com/langchain-ai/langchain/issues/11749
1,941,233,288
11,749
[ "langchain-ai", "langchain" ]
### Feature request We would like to add Slack toolkit, which for a slack user, he can: 1. fetch information of workplaces (name, user type, time joined, etc.) he is a member of 2. fetch chat history across workplaces he is a member, and further process/analyze such data with LLM 3. fetch interaction (reply, ment...
Add Slack Toolkit
https://api.github.com/repos/langchain-ai/langchain/issues/11747/comments
4
2023-10-13T01:32:38Z
2024-02-11T16:11:36Z
https://github.com/langchain-ai/langchain/issues/11747
1,941,067,816
11,747
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
怎么控制langchain agent的意图分类的类别数?
https://api.github.com/repos/langchain-ai/langchain/issues/11746/comments
3
2023-10-13T00:48:54Z
2024-02-08T16:19:30Z
https://github.com/langchain-ai/langchain/issues/11746
1,941,036,248
11,746
[ "langchain-ai", "langchain" ]
### System Info Hi, I've implemented my own MultiRouteChain ### Who can help? @UmerHA @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / P...
BaseCallbackHandler on_llm_new_token not working with custom MultiRouteChain
https://api.github.com/repos/langchain-ai/langchain/issues/11739/comments
4
2023-10-12T22:41:51Z
2024-02-10T16:13:27Z
https://github.com/langchain-ai/langchain/issues/11739
1,940,902,588
11,739
[ "langchain-ai", "langchain" ]
### System Info Platform: Windows Server 2022 Python: 3.11.6 Langchain version: 0.0.306 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt T...
`extra_tools` argument in `create_pandas_dataframe_agent()` doesn't seem to be working
https://api.github.com/repos/langchain-ai/langchain/issues/11737/comments
3
2023-10-12T22:22:09Z
2024-02-05T15:14:43Z
https://github.com/langchain-ai/langchain/issues/11737
1,940,885,814
11,737
[ "langchain-ai", "langchain" ]
### Feature request There is an option to specify the prompt sent to LLM and also the CONDENSE_QUESTION prompt. But there is no way to specify the prompt that is being used by SelfQueryRetriever. This can be helpful to provide additional context to the LLM in order to construct a proper query. ### Motivation For my ...
Add option to specify prompt for SelfQueryRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/11735/comments
5
2023-10-12T21:49:59Z
2024-05-07T16:05:58Z
https://github.com/langchain-ai/langchain/issues/11735
1,940,842,588
11,735
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.312 Python: 3.10.11 Platform: Ubuntu ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
IndexError: pop from empty list - bug in ConversationTokenBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/11734/comments
6
2023-10-12T21:11:56Z
2024-02-11T16:11:42Z
https://github.com/langchain-ai/langchain/issues/11734
1,940,800,530
11,734
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am following the notebook in this github to create two agents with tools: https://github.com/langchain-ai/langchain/blob/master/cookbook/two_agent_debate_tools.ipynb I am also using AzureOpenAI instead of OpenAI directly because of corporate firewalls. I am getting this error: ...
TypeError: BaseChatModel.__call__() missing 1 required positional argument: 'messages'
https://api.github.com/repos/langchain-ai/langchain/issues/11733/comments
3
2023-10-12T20:45:25Z
2024-07-14T15:27:49Z
https://github.com/langchain-ai/langchain/issues/11733
1,940,767,532
11,733
[ "langchain-ai", "langchain" ]
### Feature request Hello everyone! Please when will we have SQLDatabaseChain async? I believe it's crucial for all Chains to be async so that we can have a serverless service serving multiple clients. Thank you! ### Motivation I believe it's crucial for all Chains to be async so that we can have a serverle...
async SQLDatabaseChain
https://api.github.com/repos/langchain-ai/langchain/issues/11732/comments
5
2023-10-12T20:25:16Z
2024-03-28T16:06:32Z
https://github.com/langchain-ai/langchain/issues/11732
1,940,740,863
11,732
[ "langchain-ai", "langchain" ]
### Feature request The proposal is to enhance our Langchain by integrating support for querying The Movie Database (TMDb) using a Tool to retrieve detailed information about movies. [https://developer.themoviedb.org/docs/getting-started](url) [https://github.com/celiao/tmdbsimple/](url) ### Motivation Allowing...
Add support for themoviedb querying to get movie info
https://api.github.com/repos/langchain-ai/langchain/issues/11728/comments
3
2023-10-12T19:15:07Z
2023-10-16T04:21:47Z
https://github.com/langchain-ai/langchain/issues/11728
1,940,635,026
11,728
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ![image](https://github.com/langchain-ai/langchain/assets/142630126/63a7c9c3-ac95-4145-9342-838e8a9b0ba1) The retriever object in the VectorStoreRetrieverMemory class is a VectorStoreRetriever and not AzureSearchVectorStoreRetriever. The VectorStoreRetriever and AzureSearchVectorS...
Issue: <VectorStoreRetrieverMemory class doesn't support AzureSearchVectorStoreRetriever retriever>
https://api.github.com/repos/langchain-ai/langchain/issues/11720/comments
2
2023-10-12T16:49:35Z
2024-02-06T16:22:36Z
https://github.com/langchain-ai/langchain/issues/11720
1,940,398,645
11,720
[ "langchain-ai", "langchain" ]
### System Info LangChain 0.0.240 but code on latest master has same issue ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Select...
Cost calculation is always zero with fine-tuned OpenAI models
https://api.github.com/repos/langchain-ai/langchain/issues/11715/comments
5
2023-10-12T14:46:31Z
2024-02-04T19:41:20Z
https://github.com/langchain-ai/langchain/issues/11715
1,940,160,863
11,715
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Having issue with cypherPrompt in GraphCypherQAChain . I am trying to use GraphCypherQAChain and Bedrock to generate an answer from Neo4j database. I am using local Neo4j Movies database and the code example from: https://js.langchain.com/docs/modules/chains/additional/cypher_chain ...
Issue: Invalid prompt schema: Missing value for input [GraphCypherQAChain][cypherPrompt]
https://api.github.com/repos/langchain-ai/langchain/issues/11706/comments
2
2023-10-12T12:12:12Z
2023-10-16T11:55:48Z
https://github.com/langchain-ai/langchain/issues/11706
1,939,853,669
11,706
[ "langchain-ai", "langchain" ]
### Feature request I propose a feature that allows the **API key** to be set as an optional **parameter** when changing the `openai_api_base` in LangChain's implementation of OpenAI. This feature would make it possible to set the API key to an empty string or any arbitrary string, similar to how it's done in **LiteLL...
Allow API_KEY to be optional when API_BASE is selected for OpenAI.
https://api.github.com/repos/langchain-ai/langchain/issues/11700/comments
4
2023-10-12T10:47:50Z
2024-02-10T16:13:37Z
https://github.com/langchain-ai/langchain/issues/11700
1,939,721,293
11,700
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ![run](https://github.com/langchain-ai/langchain/assets/129041904/931e32c0-ef57-470f-9834-81d2da6f2be4) 如何获取打印的日志呢?不知道怎么关闭这些打印的日志 ### Suggestion: _No response_
Agent stopped due to iteration limit or time limit.
https://api.github.com/repos/langchain-ai/langchain/issues/11699/comments
5
2023-10-12T09:38:36Z
2024-02-10T16:13:42Z
https://github.com/langchain-ai/langchain/issues/11699
1,939,606,027
11,699
[ "langchain-ai", "langchain" ]
### System Info Current master, all python versions ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
LocalAI embeddings require OpenAI key
https://api.github.com/repos/langchain-ai/langchain/issues/11698/comments
1
2023-10-12T08:58:04Z
2024-02-06T16:22:51Z
https://github.com/langchain-ai/langchain/issues/11698
1,939,531,951
11,698
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Dear Langchain Developers, Thank you very much for developing Langchain. I am writing to seek clarification on a few aspects of Langchain that I find intriguing. Specifically, I am interested in understanding more about the role and functionality of 'metadata' and 'page_content' wi...
Understanding the Role and Functionality of Metadata and Page_Content in Langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11697/comments
2
2023-10-12T08:31:39Z
2024-02-09T16:16:58Z
https://github.com/langchain-ai/langchain/issues/11697
1,939,487,505
11,697
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. How to get the same values of the Float numbers generated as embeddings - 1/ Am comparing values generated from OpenAI - from langchain.embeddings.openai import OpenAIEmbeddings embedding = OpenAIEmbeddings() 2/ comparing with the values generated from -- gpt4all from langchain.em...
Issue: GPT4AllEmbeddings - dont compare with - OpenAIEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/11696/comments
2
2023-10-12T07:12:54Z
2024-02-09T16:17:03Z
https://github.com/langchain-ai/langchain/issues/11696
1,939,352,699
11,696
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
agent是否支持llama2系列及其衍生模型
https://api.github.com/repos/langchain-ai/langchain/issues/11695/comments
2
2023-10-12T07:07:11Z
2023-10-12T07:44:50Z
https://github.com/langchain-ai/langchain/issues/11695
1,939,343,638
11,695
[ "langchain-ai", "langchain" ]
### System Info APIError: HTTP code 200 from API ("{\"rate_limit_usage\": {\) File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script exec(code, module.__dict__) File "[...]/gitlab/run_finQA_webUI.py", line 158, in <module> ...
APIError: HTTP code 200 from API ("{\"rate_limit_usage\": {\)
https://api.github.com/repos/langchain-ai/langchain/issues/11694/comments
7
2023-10-12T04:24:29Z
2023-10-12T07:43:45Z
https://github.com/langchain-ai/langchain/issues/11694
1,939,149,824
11,694
[ "langchain-ai", "langchain" ]
### Feature request Would it make sense to use an llm to split a large document into smaller documents that have complete context? ### Motivation My best guess is that most of the existing splitters may drop context ? ### Your contribution Could try
text split by llm?
https://api.github.com/repos/langchain-ai/langchain/issues/11691/comments
5
2023-10-12T01:29:23Z
2024-02-26T16:07:38Z
https://github.com/langchain-ai/langchain/issues/11691
1,939,011,196
11,691
[ "langchain-ai", "langchain" ]
### Feature request At the moment the agent spends additional rounds of agent <> LLM to format the JSON data I request to be in a sentence format. Is there a way to avoid this? ### Motivation If the user is asking for JSON the agent should provide JSON and not a properly formatted sentence(that costs more token>mone...
A way to use csv_agent to simply return JSON
https://api.github.com/repos/langchain-ai/langchain/issues/11683/comments
1
2023-10-11T21:31:49Z
2024-01-30T00:26:49Z
https://github.com/langchain-ai/langchain/issues/11683
1,938,775,462
11,683
[ "langchain-ai", "langchain" ]
### System Info Version `0.0.312` ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document...
include_df_in_prompt should be compared as boolean value and not None
https://api.github.com/repos/langchain-ai/langchain/issues/11677/comments
2
2023-10-11T20:47:09Z
2024-06-28T16:30:12Z
https://github.com/langchain-ai/langchain/issues/11677
1,938,701,583
11,677
[ "langchain-ai", "langchain" ]
### Feature request Similar to the discussion in this thread https://github.com/langchain-ai/langchain/issues/7239, I would like to have a way to show inline citations in QA tasks. Specially, I haven't had a whole lot of success integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrievalChain` ...
Integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrievalChain`
https://api.github.com/repos/langchain-ai/langchain/issues/11673/comments
18
2023-10-11T19:24:42Z
2023-12-15T10:43:03Z
https://github.com/langchain-ai/langchain/issues/11673
1,938,566,368
11,673
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Similar to the discussion in this thread https://github.com/langchain-ai/langchain/issues/7239, I would like to have a way to show inline citations in QA tasks. Specially, I haven't had a whole lot of success integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrieva...
DELETE
https://api.github.com/repos/langchain-ai/langchain/issues/11671/comments
0
2023-10-11T19:16:40Z
2023-10-24T01:07:38Z
https://github.com/langchain-ai/langchain/issues/11671
1,938,552,713
11,671
[ "langchain-ai", "langchain" ]
### Feature request Currently, the Bedrock `chat_model` does not support async streaming, which is odd, as the previous [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7R62) included it; seems that the async method was not added proper...
Add async streaming for Bedrock
https://api.github.com/repos/langchain-ai/langchain/issues/11668/comments
6
2023-10-11T16:06:06Z
2024-06-18T08:41:48Z
https://github.com/langchain-ai/langchain/issues/11668
1,938,174,193
11,668
[ "langchain-ai", "langchain" ]
### System Info on Ubuntu with Python 3.11.5, Langchain 0.0.307 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ]...
ConversationalRetrievalChain Vectorstore cannot apply filter to a key with given multiple values
https://api.github.com/repos/langchain-ai/langchain/issues/11666/comments
5
2023-10-11T15:29:24Z
2024-02-12T16:11:33Z
https://github.com/langchain-ai/langchain/issues/11666
1,938,100,043
11,666
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.306 chromadb==0.4.13 Python 3.11.5 ### Who can help? @hwchase17 @atroyn ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Sele...
`Chroma.from_documents` adds docs to same collection creating duplicates
https://api.github.com/repos/langchain-ai/langchain/issues/11665/comments
5
2023-10-11T14:05:47Z
2023-10-11T20:53:10Z
https://github.com/langchain-ai/langchain/issues/11665
1,937,873,604
11,665
[ "langchain-ai", "langchain" ]
### System Info 0.0.3 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [...
db = FAISS.from_documents(docs, embeddings) ;how to get docs's index or content from db?
https://api.github.com/repos/langchain-ai/langchain/issues/11661/comments
6
2023-10-11T13:20:45Z
2023-10-11T14:46:52Z
https://github.com/langchain-ai/langchain/issues/11661
1,937,769,538
11,661
[ "langchain-ai", "langchain" ]
![image](https://github.com/langchain-ai/langchain/assets/99576727/2197b06d-c3ff-41a5-b974-6a05a4cbaf8d) ![image](https://github.com/langchain-ai/langchain/assets/99576727/ef268717-044c-475b-8e0d-75cff72e18c5) ![image](https://github.com/langchain-ai/langchain/assets/99576727/ad84e4a7-775e-4793-8f3a-3d7eee863e2e) ...
Chat model answering incorrectly and weirdly
https://api.github.com/repos/langchain-ai/langchain/issues/11657/comments
3
2023-10-11T11:39:43Z
2024-02-08T16:20:16Z
https://github.com/langchain-ai/langchain/issues/11657
1,937,562,333
11,657
[ "langchain-ai", "langchain" ]
I am trying to use a prompt with my chain but I am getting an error which I'm not sure how to solve. Also, I was wondering is it possible to use a constitutional principle to apply it to the ConversationalRetrievalChain? If so, can someone guide me on how to do so? Sorry for beginner questions but I am new to all of th...
Prompt invalid with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/11656/comments
5
2023-10-11T11:29:12Z
2024-03-13T19:57:58Z
https://github.com/langchain-ai/langchain/issues/11656
1,937,545,931
11,656
[ "langchain-ai", "langchain" ]
### Feature request I want to make similar implementation of SQLAlchemyCache that can index prompts by md5 hash. ### Motivation Postgres have limitation for 2704 bytes on index. Processing on simple index can be faster. ### Your contribution I have prepared cache implementation – I will add it in contributing PR
Using hash for indexing prompts SQLAlchemyCache
https://api.github.com/repos/langchain-ai/langchain/issues/11655/comments
3
2023-10-11T10:56:25Z
2023-10-23T05:39:08Z
https://github.com/langchain-ai/langchain/issues/11655
1,937,471,577
11,655
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. In creating an app, ideally, you would like to let's say db = SQLDatabase.from_uri(DATABASE_URI) in one endpoint, and use the db in other endpoints, The second endpoint could be what users get access to, so in getting responses, it should be quick, hence only accessing the already lo...
Issue: Inability to serialize langchain modules such as conversational retrieval chain, SQL database
https://api.github.com/repos/langchain-ai/langchain/issues/11654/comments
3
2023-10-11T10:35:10Z
2024-02-08T16:20:20Z
https://github.com/langchain-ai/langchain/issues/11654
1,937,424,892
11,654
[ "langchain-ai", "langchain" ]
### System Info IDE==PyCharm Python==3.11.4 langchain==0.0.306 pinecone-client==2.2.2 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts...
Hallucinations, ignoring data in vector store and returning all documents as sources
https://api.github.com/repos/langchain-ai/langchain/issues/11653/comments
2
2023-10-11T10:27:20Z
2024-02-08T16:20:25Z
https://github.com/langchain-ai/langchain/issues/11653
1,937,406,691
11,653
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Hello folks, I am not quite sure if my issue is an issue regarding the docs or rather the implementation. ### What is the differnece between HuggingFaceEmbeddings and HuggingFaceHubEmbeddings? Currently in [v0.0.312](https://github.com/langchain-ai/langchain/releases/ta...
DOC: HuggingFaceEmbeddings vs. HuggingFaceHubEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/11651/comments
4
2023-10-11T09:37:15Z
2024-02-11T16:11:51Z
https://github.com/langchain-ai/langchain/issues/11651
1,937,320,086
11,651
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I've tried building a Bot and now I see the following issue. Architecture: 1. Cloud Run service 1 ; Streamlit app which accepts the user_input (question) on the topic and sends it to Flask API part of service 2. 2. Cloud Run service 2: Flask code which calls the LLM code and re...
ConversationalRetrievalChain + Memory ( New issue for me)
https://api.github.com/repos/langchain-ai/langchain/issues/11650/comments
9
2023-10-11T08:41:59Z
2024-02-13T16:10:52Z
https://github.com/langchain-ai/langchain/issues/11650
1,937,199,873
11,650
[ "langchain-ai", "langchain" ]
### System Info Langchain version : 0.0.312 python version: 3.11.4 conda env platform: osx-arm64 / x86 system : macos M1 13.2.1 (22D68) ### Who can help? @hwchase17 @agola11 ### Information - [x] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Mode...
GPT4All Model Serializable.__init__ Error
https://api.github.com/repos/langchain-ai/langchain/issues/11649/comments
1
2023-10-11T07:41:44Z
2023-10-11T07:53:52Z
https://github.com/langchain-ai/langchain/issues/11649
1,937,072,756
11,649
[ "langchain-ai", "langchain" ]
### System Info langchain=0.0.312 ### code: from langchain.llms import Minimax minimax = Minimax(minimax_api_key=minimax_api_key, minimax_group_id=minimax_group_id) print(minimax("What is the difference between panda and bear?")) ### or: from langchain.chat_models import MiniMaxChat from langchain.schem...
ValueError: "Minimax" object has no field "_client"
https://api.github.com/repos/langchain-ai/langchain/issues/11648/comments
2
2023-10-11T06:52:49Z
2024-02-08T16:20:41Z
https://github.com/langchain-ai/langchain/issues/11648
1,936,992,404
11,648
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.311 python==3.9 I am trying to find out the similarity search score. but I got the score is abnormal. I hope the score is between 0 and 1. ![image](https://github.com/langchain-ai/langchain/assets/42560553/cbbf8328-29b5-423f-84e4-7d40f4baf280) ### Who can help? _No response_ ##...
FAISS similarity search with score
https://api.github.com/repos/langchain-ai/langchain/issues/11645/comments
2
2023-10-11T03:21:59Z
2024-02-13T16:10:58Z
https://github.com/langchain-ai/langchain/issues/11645
1,936,721,958
11,645
[ "langchain-ai", "langchain" ]
### System Info Python version - Python 3 Langchain version - I am not completely sure, but I think 0.0.196 ### Who can help? @eyurtsev - can you help with the above issue as I see you look after DataLoader Abstractions? ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ...
ArxivLoader always returns 1 document
https://api.github.com/repos/langchain-ai/langchain/issues/11644/comments
5
2023-10-11T02:24:01Z
2023-10-14T04:35:52Z
https://github.com/langchain-ai/langchain/issues/11644
1,936,650,375
11,644
[ "langchain-ai", "langchain" ]
### System Info Flask==3.0.0 Flask-Cors==4.0.0 langchain==0.0.312 openai==0.28.1 pandas==2.1.1 tabulate==0.9.0 numpy==1.26.0 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models ...
create_csv_agent cannot read files hosted on Vercel blob
https://api.github.com/repos/langchain-ai/langchain/issues/11637/comments
4
2023-10-11T00:00:18Z
2023-10-11T03:26:55Z
https://github.com/langchain-ai/langchain/issues/11637
1,936,494,704
11,637
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I submitted a PR. Vercel 'deployment' failed. There is no other info. I dont seem to have access for this PR on vercel. How do i debug this? ### Suggestion: _No response_
How to debug vercel failures?
https://api.github.com/repos/langchain-ai/langchain/issues/11635/comments
7
2023-10-10T23:10:20Z
2024-05-14T20:03:32Z
https://github.com/langchain-ai/langchain/issues/11635
1,936,432,030
11,635
[ "langchain-ai", "langchain" ]
### Feature request Currently, the `save` method for `ChatPromptTemplate` is not implemented, preventing developers from saving templates as files. ### Motivation This is a core feature that should be supported by all templates. ### Your contribution If I have time I can make a PR.
feat: implement ChatPromptTemplate.save
https://api.github.com/repos/langchain-ai/langchain/issues/11631/comments
3
2023-10-10T22:20:50Z
2024-02-09T16:17:29Z
https://github.com/langchain-ai/langchain/issues/11631
1,936,362,500
11,631
[ "langchain-ai", "langchain" ]
### System Info langchain version: 0.0.268 python version: 3.11 MacOS: Ventura 13.6 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
Issue as a result of Chroma.from_documents, OpenAI and AWS API Gateway
https://api.github.com/repos/langchain-ai/langchain/issues/11629/comments
2
2023-10-10T22:04:33Z
2024-02-06T16:23:46Z
https://github.com/langchain-ai/langchain/issues/11629
1,936,346,884
11,629
[ "langchain-ai", "langchain" ]
### Feature request ### Feature request Azure Cosmos DB for MongoDB vCore enables users to efficiently store, index, and query high dimensional vector data stored directly in Azure Cosmos DB for MongoDB vCore. It contains similarity measures such as COS (cosine distance), L2 (Euclidean distance) or IP (inner produc...
Add AzureCosmosDBVectorSearch VectorStore
https://api.github.com/repos/langchain-ai/langchain/issues/11627/comments
1
2023-10-10T20:55:53Z
2023-10-11T20:56:47Z
https://github.com/langchain-ai/langchain/issues/11627
1,936,230,465
11,627
[ "langchain-ai", "langchain" ]
### System Info I'm using Langchain's Human Tool as part of my application. However, I am having difficulty integrating it into streamlit. I'm mainly trying to change the input_func argument in the function: `Human_Tool =load_tools(["human"], lm=llm, input_func=get_input)` I've tried many different approaches...
How to integrate Langchain's Human Tool into Streamlit
https://api.github.com/repos/langchain-ai/langchain/issues/11626/comments
9
2023-10-10T20:26:57Z
2024-06-19T06:09:17Z
https://github.com/langchain-ai/langchain/issues/11626
1,936,153,248
11,626
[ "langchain-ai", "langchain" ]
### System Info The method signatures of similaritySearchWithScore and similaritySearch are identical in Javascript. I assume this is a mistake. ``` export declare abstract class VectorStore extends Serializable { ... similaritySearch(query: string, k?: number, filter?: this["FilterType"] | undefined, _cal...
similaritySearchWithScore and similaritySearch method signatures are identical in javascript
https://api.github.com/repos/langchain-ai/langchain/issues/11625/comments
4
2023-10-10T20:24:24Z
2024-02-09T16:17:34Z
https://github.com/langchain-ai/langchain/issues/11625
1,936,149,678
11,625
[ "langchain-ai", "langchain" ]
### System Info https://github.com/langchain-ai/langchain/releases/tag/v0.0.304 Reverting to 3.0.3 or under fixes it. The error looks something like (truncated confidential parts of the trace) ``` Traceback (most recent call last): ... File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-pack...
Release 3.0.4 breaks compatibility with ddtrace.
https://api.github.com/repos/langchain-ai/langchain/issues/11624/comments
3
2023-10-10T20:12:25Z
2024-02-06T16:23:56Z
https://github.com/langchain-ai/langchain/issues/11624
1,936,133,212
11,624
[ "langchain-ai", "langchain" ]
### System Info from langchain.docstore.document import Document from typing import Dict from langchain import PromptTemplate, SagemakerEndpoint from langchain.llms.sagemaker_endpoint import LLMContentHandler from langchain.chains.question_answering import load_qa_chain import json example_doc_1 = """ Peter a...
AWS Sagemaker "code":424,
https://api.github.com/repos/langchain-ai/langchain/issues/11618/comments
3
2023-10-10T17:47:53Z
2024-02-10T16:14:07Z
https://github.com/langchain-ai/langchain/issues/11618
1,935,901,944
11,618
[ "langchain-ai", "langchain" ]
### Feature request Add self-querying capability for MongoDBAtlasVectorSearch so that any natural language query could be converted to a MongoDB query and then be used to search the MongoDB vector store ### Motivation I was testing self-quering using MongoDBAtlasVectorSearch when I got an error saying that self-quer...
Self-querying retriever for MongoDBAtlasVectorSearch
https://api.github.com/repos/langchain-ai/langchain/issues/11616/comments
2
2023-10-10T16:37:06Z
2024-01-30T18:27:37Z
https://github.com/langchain-ai/langchain/issues/11616
1,935,763,708
11,616