issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "hwchase17", "langchain" ]
### System Info Hey! Below is the code i'm using ``` llm_name = "gpt-3.5-turbo" # llm_name = "gpt-4" os.environ["OPENAI_API_KEY"] = "" st.set_page_config(layout="wide") def load_db(file_path, chain_type, k): loader = PyPDFLoader(file_path) documents = loader.load() text_splitter = RecursiveC...
InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 5822 tokens. Please reduce the length of the messages.
https://api.github.com/repos/langchain-ai/langchain/issues/7411/comments
3
2023-07-08T19:08:53Z
2023-11-15T16:07:44Z
https://github.com/langchain-ai/langchain/issues/7411
1,795,068,803
7,411
[ "hwchase17", "langchain" ]
### Feature request I'm trying to create a Q&A application, where i'm using Vicuna and it's taking lot of time to return the response. Below is the code ``` from langchain.embeddings.openai import OpenAIEmbeddings from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain.vectorstores impo...
Adding function to utilize normal models like distilbert, roberta etc
https://api.github.com/repos/langchain-ai/langchain/issues/7406/comments
1
2023-07-08T16:21:18Z
2023-10-14T20:09:52Z
https://github.com/langchain-ai/langchain/issues/7406
1,795,005,669
7,406
[ "hwchase17", "langchain" ]
Hi: I'm trying to merge a list of `langchain.vectorstores.FAISS` objects to create a new (merged) vectorstore, but I still need the original (pre-merge) vectorstores intact. I can use `x.merge_from(y)` which works great: `merged_stores = reduce(lambda x, y: (z := x).merge_from(y) or z, stores) ` but that modifi...
Trying to merge a list of FAISS vectorstores without modifying the original vectorstores, but deepcopy() fails
https://api.github.com/repos/langchain-ai/langchain/issues/7402/comments
5
2023-07-08T14:05:34Z
2023-10-21T16:07:25Z
https://github.com/langchain-ai/langchain/issues/7402
1,794,954,384
7,402
[ "hwchase17", "langchain" ]
### Feature request Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True`. Now it's getting called with an empty token several times and no way to retrieve the `function_call['arguments']`. We need to add this to every llm/ ### Motivation I'm streaming my calls (user...
Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True`
https://api.github.com/repos/langchain-ai/langchain/issues/7385/comments
6
2023-07-07T23:14:25Z
2023-09-25T09:45:57Z
https://github.com/langchain-ai/langchain/issues/7385
1,794,522,874
7,385
[ "hwchase17", "langchain" ]
### System Info > langchain==0.0.227 > langchainplus-sdk==0.0.20 > chromadb==0.3.26 ### 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 / ...
ChromaDB score goes the wrong way
https://api.github.com/repos/langchain-ai/langchain/issues/7384/comments
6
2023-07-07T23:11:04Z
2024-02-09T16:25:58Z
https://github.com/langchain-ai/langchain/issues/7384
1,794,520,863
7,384
[ "hwchase17", "langchain" ]
### Feature request I want to pass arguments to the retriever used in the `VectorStoreIndexWrapper` `query` and `query_with_sources` methods. Right now, those methods don't have any means of passing `VectorStoreRetriever` arguments into `vectorstore.as_retriever()`: ``` langchain/indexes/vectorstore.py de...
Passing VectorStoreRetriever arguments to VectorStoreIndexWrapper.query()
https://api.github.com/repos/langchain-ai/langchain/issues/7376/comments
1
2023-07-07T20:39:29Z
2023-10-14T20:09:57Z
https://github.com/langchain-ai/langchain/issues/7376
1,794,271,625
7,376
[ "hwchase17", "langchain" ]
### Issue with current documentation: Below is the code which i'm using for another model ``` from langchain.embeddings.openai import OpenAIEmbeddings from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain.vectorstores import DocArrayInMemorySearch from langchain.chains import Conve...
How to load Vicuna-7b, Vicuna13-b and Falcon LLM's from langchain through ConversationalRetrievalChain function?
https://api.github.com/repos/langchain-ai/langchain/issues/7374/comments
0
2023-07-07T20:17:44Z
2023-07-07T20:26:58Z
https://github.com/langchain-ai/langchain/issues/7374
1,794,215,961
7,374
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. @hwchase17 There's been a reporter from Fortune who are in their words: "launching our A.I. 50 list later this month. LangChain is being considered for the list, and while I've tried to get in touch with Harrison and Ankush in as many ways as possible, I haven't been able to." They've...
Fortune Reporter trying to get in touch with Chase
https://api.github.com/repos/langchain-ai/langchain/issues/7373/comments
1
2023-07-07T20:07:36Z
2023-07-10T16:26:16Z
https://github.com/langchain-ai/langchain/issues/7373
1,794,191,212
7,373
[ "hwchase17", "langchain" ]
### System Info from typing_extensions import Protocol from langchain.llms import OpenAI llm = OpenAI(model_name='text-davinci-003', temperature=0.7, max_tokens=512) print(llm) ----------------------------------------------------------------------------------------------- ImportError ...
from langchain.llms import OpenAI causing ImportError: cannot import name 'Protocol'
https://api.github.com/repos/langchain-ai/langchain/issues/7369/comments
3
2023-07-07T18:30:00Z
2024-06-08T12:37:41Z
https://github.com/langchain-ai/langchain/issues/7369
1,794,024,937
7,369
[ "hwchase17", "langchain" ]
I am using conversational retrieval chain with memory, but I am getting incorrect answers for trivial questions. Any suggestions what can I do to improve the accuracy of the output? #memory = ConversationEntityMemory(llm=llm, return_messages=True) memory=ConversationBufferMemory(memory_key="chat_history",output_...
conversationalRetrievalChain - how to improve accuracy
https://api.github.com/repos/langchain-ai/langchain/issues/7368/comments
3
2023-07-07T18:26:31Z
2023-10-16T16:06:15Z
https://github.com/langchain-ai/langchain/issues/7368
1,794,019,802
7,368
[ "hwchase17", "langchain" ]
### Feature request When using the youtube loader. I think it would be useful to take into account the chapters if present. 1. The chapter timecode could be used to know when to chunk. Any chunk inside a chapter timeframe could also contain the same "youtube_chapter_title" metadata. 2. The name of the chapter coul...
use youtube chapter as hints and metadata in the youtube loader
https://api.github.com/repos/langchain-ai/langchain/issues/7366/comments
13
2023-07-07T18:19:36Z
2024-06-15T18:33:35Z
https://github.com/langchain-ai/langchain/issues/7366
1,794,008,740
7,366
[ "hwchase17", "langchain" ]
### System Info Python 3.10 Langchain 0.0.226 Windows 11 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt ...
ConversationBufferWindowMemory returns empty string on empty history instead of empty array.
https://api.github.com/repos/langchain-ai/langchain/issues/7365/comments
7
2023-07-07T17:56:12Z
2023-12-05T12:07:46Z
https://github.com/langchain-ai/langchain/issues/7365
1,793,960,528
7,365
[ "hwchase17", "langchain" ]
### System Info the provided class [langchain/langchain/llms/huggingface_endpoint.py](https://github.com/hwchase17/langchain/blob/370becdfc2dea35eab6b56244872001116d24f0b/langchain/llms/huggingface_endpoint.py) class HuggingFaceEndpoint(LLM): has a bug. it should be ```python if self.task == "text-generati...
HuggingFaceEndpoint Class Bug
https://api.github.com/repos/langchain-ai/langchain/issues/7353/comments
1
2023-07-07T14:49:27Z
2023-07-11T07:06:07Z
https://github.com/langchain-ai/langchain/issues/7353
1,793,680,431
7,353
[ "hwchase17", "langchain" ]
### System Info Langchain Version - 0.0.201 Platform - Windows 11 Python - 3.10.11 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Tem...
map_reduce and refine not working with RetrievalQA chain
https://api.github.com/repos/langchain-ai/langchain/issues/7347/comments
9
2023-07-07T13:09:59Z
2023-11-14T16:08:01Z
https://github.com/langchain-ai/langchain/issues/7347
1,793,525,647
7,347
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. python environment: neo4j 5.0.0 neobolt 1.7.17 neo4j version: neo4j-35-apoc:v20220808 报错: File "D:\Anaconda3\envs\langchain\lib\site-packages\neo4j_sync\io_bolt3.py", line 200, in run raise ConfigurationError( neo4j.exceptions.ConfigurationError: Database name parameter for sele...
Issue: When implementing Cypher Search using neo4j environment
https://api.github.com/repos/langchain-ai/langchain/issues/7346/comments
5
2023-07-07T13:00:11Z
2023-10-28T16:05:40Z
https://github.com/langchain-ai/langchain/issues/7346
1,793,511,650
7,346
[ "hwchase17", "langchain" ]
### Feature request I am looking for loading OPEN API yaml file into vertex ai llm model. Langchain provides that for OPENAI but not for vertex ai. This is how I currently write code in Open AI. I want a similar functionality for Vertex AI spec = OpenAPISpec.from_file("sample.yaml") openai_fns, call_a...
Load OPEN API yaml file to vertex ai LLM model
https://api.github.com/repos/langchain-ai/langchain/issues/7345/comments
1
2023-07-07T12:36:51Z
2023-10-14T20:10:17Z
https://github.com/langchain-ai/langchain/issues/7345
1,793,476,844
7,345
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to download a large file, 5,000,000 characters, and I get an error: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-DOqIVFPozlLEOcvlTbpvpcKt on tokens per min. Limit: 150000 / min. Current: 0 / min. Contact us through our help...
Issue: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization
https://api.github.com/repos/langchain-ai/langchain/issues/7343/comments
20
2023-07-07T11:34:51Z
2024-03-12T03:27:18Z
https://github.com/langchain-ai/langchain/issues/7343
1,793,386,363
7,343
[ "hwchase17", "langchain" ]
### Feature request Inferring query filters from natural language is powerful. The SelfQuery retriever is a great implementation but is not yet compatible with Elasticseach. ### Motivation Choosing Elasticsearch as a vector store is interesting in terms of hybrid search. It also makes sense when you have an establi...
Create a built in translator for SelfQueryRetriever for Elasticsearch
https://api.github.com/repos/langchain-ai/langchain/issues/7341/comments
2
2023-07-07T10:53:34Z
2023-11-21T16:06:47Z
https://github.com/langchain-ai/langchain/issues/7341
1,793,313,012
7,341
[ "hwchase17", "langchain" ]
### System Info LangChain v0.0.225, Ubuntu 22.04.2 LTS, Python 3.10 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pa...
langchain + gpt4all
https://api.github.com/repos/langchain-ai/langchain/issues/7340/comments
6
2023-07-07T10:43:13Z
2023-11-28T16:09:46Z
https://github.com/langchain-ai/langchain/issues/7340
1,793,294,393
7,340
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello everyone, I've tried numerous approaches, but every time I attempt to transcribe a video from Google, the Whisper task gets terminated. Does anyone have any suggestions? ``` def youtube_transcript(query: str) -> str: # Use the URL of the YouTube video you want to d...
Issue: Whisper terminates YouTube transcriptions.
https://api.github.com/repos/langchain-ai/langchain/issues/7339/comments
3
2023-07-07T10:39:03Z
2023-10-14T20:10:22Z
https://github.com/langchain-ai/langchain/issues/7339
1,793,287,416
7,339
[ "hwchase17", "langchain" ]
### Feature request I have been trying to delete custom redis data using langchain. But the search feature only returns the document and the metadata with similarity score. Hence I modified the code to return the document ID along with the document data. The id will be helpful for manual deletion of certain elements. ...
Add feature to get document ID from redis after redis search document retrieval.
https://api.github.com/repos/langchain-ai/langchain/issues/7338/comments
2
2023-07-07T10:29:51Z
2023-10-06T16:04:59Z
https://github.com/langchain-ai/langchain/issues/7338
1,793,271,619
7,338
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am doing the pdf question answering using the below code. Note: I am integrated the ConversationBufferMemory for keeping my chat in the memory ``` from langchain.document_loaders import PyPDFLoader from langchain.embeddings import HuggingFaceEmbeddings from langchain.memory impo...
Working of ConversationBufferMemory in the context of document based question answering
https://api.github.com/repos/langchain-ai/langchain/issues/7337/comments
1
2023-07-07T10:12:08Z
2023-10-14T20:10:27Z
https://github.com/langchain-ai/langchain/issues/7337
1,793,238,048
7,337
[ "hwchase17", "langchain" ]
I want pass "chat_history" to the agents like : ```python ... agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True) response = agent.run({"input": {"chat_history": _message_to_tuple(history), "question": query}}) ``` but got an error. how can i pass 'chat_history' to the agent? ...
Issue: question about agents
https://api.github.com/repos/langchain-ai/langchain/issues/7336/comments
6
2023-07-07T09:49:22Z
2023-10-19T16:06:33Z
https://github.com/langchain-ai/langchain/issues/7336
1,793,196,340
7,336
[ "hwchase17", "langchain" ]
### System Info Hello, I am trying to use AzureChatOpenAI to develop a QA system with memory. For that purpose, I have the following code: ```python import faiss import pickle from langchain.chat_models import AzureChatOpenAI from langchain.memory import ConversationBufferMemory from langchain.chains imp...
AzureChatOpenAI raises The API deployment for this resource does not exist when used with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/7331/comments
3
2023-07-07T08:41:48Z
2024-02-20T21:07:36Z
https://github.com/langchain-ai/langchain/issues/7331
1,793,084,323
7,331
[ "hwchase17", "langchain" ]
### System Info I intend to use the conversation summary buffer memory with ChatOpenAI in a conversation chain. For the chat, there's a need to set the system message to instruct and give appropriate personality to the chat assistant. However, system message is not supported to be inserted in the memory either via the...
Conversation Summary Buffer Memory does not accept a system message
https://api.github.com/repos/langchain-ai/langchain/issues/7327/comments
8
2023-07-07T07:27:42Z
2024-07-29T01:54:55Z
https://github.com/langchain-ai/langchain/issues/7327
1,792,965,212
7,327
[ "hwchase17", "langchain" ]
I've got a GoogleDriveLoader implemented with a exponential backoff and a sleep function to try further mitigate rate limits, but I still get rate limit errors from Google. Even though I've added a time.sleep(5) statement, I assume it only takes effect before each attempt to load all the documents, not between indiv...
Issue: Rate limiting on large Google Drive folder
https://api.github.com/repos/langchain-ai/langchain/issues/7325/comments
3
2023-07-07T06:06:08Z
2023-12-30T16:07:34Z
https://github.com/langchain-ai/langchain/issues/7325
1,792,853,218
7,325
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I used RecursiveCharacterTextSplitter.from_tiktoken_encoder to split a document, and if I set chunk_size to 2000, OpenAI cannot answer my question by the documents, if I set chunk_size to 500, OpenAI can work very well. I want to know, As a rule of thumb, what is the best size for a chun...
What is the best size for a chunk
https://api.github.com/repos/langchain-ai/langchain/issues/7322/comments
2
2023-07-07T05:42:08Z
2023-10-14T20:10:37Z
https://github.com/langchain-ai/langchain/issues/7322
1,792,823,901
7,322
[ "hwchase17", "langchain" ]
### System Info Langchain version: v0.0.225 Python Version: 3.10 Deployed and running on AWS Lambda deployed with x86_64 architecture. ### Who can help? @jacoblee93 ### Information - [x] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat ...
Zapier Toolkit and Function Agents not compatible
https://api.github.com/repos/langchain-ai/langchain/issues/7315/comments
2
2023-07-07T01:38:10Z
2023-10-14T20:10:42Z
https://github.com/langchain-ai/langchain/issues/7315
1,792,553,905
7,315
[ "hwchase17", "langchain" ]
### Issue with current documentation: Python Documentation for Output Parser Unavailable URL: https://python.langchain.com/docs/modules/prompts/output_parsers.html ### Idea or request for content: I am currently taking the "Langchain/lesson/2/models, prompts, and parsers" course from deeplearning.ai. While workin...
DOC: Broken Python Information Link in Langchain Documentation
https://api.github.com/repos/langchain-ai/langchain/issues/7311/comments
2
2023-07-07T00:02:09Z
2023-07-07T16:31:22Z
https://github.com/langchain-ai/langchain/issues/7311
1,792,485,542
7,311
[ "hwchase17", "langchain" ]
### System Info I got error when try to load custom LLM for Llama-Index ``` # setup prompts - specific to StableLM from llama_index.prompts.prompts import SimpleInputPrompt system_prompt = """<|SYSTEM|># StableLM Tuned (Alpha version) - StableLM is a helpful and harmless open-source AI language model develope...
Llama_index model as a tool for lang chain
https://api.github.com/repos/langchain-ai/langchain/issues/7309/comments
5
2023-07-06T22:34:36Z
2023-07-09T20:42:18Z
https://github.com/langchain-ai/langchain/issues/7309
1,792,391,896
7,309
[ "hwchase17", "langchain" ]
### Feature request It would be nice to add a maximal_marginal_relevance to the MongoDBAtlasVectorSearch vectorstore ### Motivation This will bring help users to get more diverse results than the ones only based on the relevance score ### Your contribution I'll write a PR
MongoDBAtlasVectorSearch vectorstore - add maximal_marginal_relevance method
https://api.github.com/repos/langchain-ai/langchain/issues/7304/comments
2
2023-07-06T21:24:25Z
2023-10-12T16:05:25Z
https://github.com/langchain-ai/langchain/issues/7304
1,792,265,347
7,304
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.225 Python version: 3.8.5 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ]...
Evaluation returns 'INCORRECT' when ground truth is empty and prediction is empty
https://api.github.com/repos/langchain-ai/langchain/issues/7303/comments
1
2023-07-06T21:20:21Z
2023-10-12T16:05:30Z
https://github.com/langchain-ai/langchain/issues/7303
1,792,259,575
7,303
[ "hwchase17", "langchain" ]
### Issue with current documentation: I got this code that i want to move to the model gpt3.5-turbo since its 10 times cheaper than the text-davinci-003 but i get this error ``` ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the te...
DOC: <ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the text is relevant to answer the question."]'DOC: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/7302/comments
3
2023-07-06T21:08:00Z
2023-11-24T16:08:09Z
https://github.com/langchain-ai/langchain/issues/7302
1,792,242,224
7,302
[ "hwchase17", "langchain" ]
### System Info langchain=0.0.225, python=3.9.17, openai=0.27.8 openai.api_type = "azure", openai.api_version = "2023-05-15" api_base, api_key, deployment_name environment variables all configured. ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified...
langchain.document_loaders.generic GenericLoader not working on Azure OpenAI - InvalidRequestError: Resource Not Found, cannot detect declared resource
https://api.github.com/repos/langchain-ai/langchain/issues/7298/comments
5
2023-07-06T19:16:57Z
2024-02-10T16:22:03Z
https://github.com/langchain-ai/langchain/issues/7298
1,792,095,489
7,298
[ "hwchase17", "langchain" ]
### System Info Langchain: 0.0.225 OS: Arch Linux Python: 3.11 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templat...
OpenAI Chat agents don't make use of OpenAI API `messages` parameter.
https://api.github.com/repos/langchain-ai/langchain/issues/7291/comments
3
2023-07-06T17:42:57Z
2023-10-14T20:10:48Z
https://github.com/langchain-ai/langchain/issues/7291
1,791,972,879
7,291
[ "hwchase17", "langchain" ]
### System Info LangChain: v0.0.225 OS: Ubuntu 22.04 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt ...
on_retriever_end() not called with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/7290/comments
12
2023-07-06T16:51:42Z
2024-04-25T16:11:49Z
https://github.com/langchain-ai/langchain/issues/7290
1,791,902,494
7,290
[ "hwchase17", "langchain" ]
### System Info Mac OS Ventura 13.3.1 (a) Python 3.10.8 LangChain 0.0.224 ### Who can help? @hwchase17 @hinthornw ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / P...
Input in GraphQAChain Prompt is Malformed When Only 1 Triplet Is Found
https://api.github.com/repos/langchain-ai/langchain/issues/7289/comments
2
2023-07-06T16:25:05Z
2023-07-07T21:19:54Z
https://github.com/langchain-ai/langchain/issues/7289
1,791,868,997
7,289
[ "hwchase17", "langchain" ]
### Issue with current documentation: If we run a `Search` on the python.langchain.com/docs/ we got the result as several clickable fields. Those fields are the URLs of the found results. But the fields are too short to show the URLs. We cannot see what LangChain doc pages were found. We see just the start of the URL ...
DOC: Search functionality: `Verified Sources:` fields unreadable
https://api.github.com/repos/langchain-ai/langchain/issues/7288/comments
1
2023-07-06T16:17:48Z
2023-10-05T22:06:37Z
https://github.com/langchain-ai/langchain/issues/7288
1,791,859,217
7,288
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.223 Linux Python 3.11 ### 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 / Prompt...
Can't use human_prefix and ai_prefix with agent
https://api.github.com/repos/langchain-ai/langchain/issues/7285/comments
3
2023-07-06T15:57:25Z
2024-04-01T11:21:35Z
https://github.com/langchain-ai/langchain/issues/7285
1,791,828,808
7,285
[ "hwchase17", "langchain" ]
### System Info When I initialise ChatAnthropic(), it got the error: anthropic_version = packaging.version.parse(version("anthropic")) AttributeError: module 'packaging' has no attribute 'version' ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own mo...
anthropic_version = packaging.version.parse(version("anthropic")) AttributeError: module 'packaging' has no attribute 'version'
https://api.github.com/repos/langchain-ai/langchain/issues/7283/comments
5
2023-07-06T15:35:39Z
2023-10-14T20:10:57Z
https://github.com/langchain-ai/langchain/issues/7283
1,791,794,342
7,283
[ "hwchase17", "langchain" ]
### System Info Getting ''' ValueError: Unable to send PDF to Mathpix''' while using MathpixPDFLoader. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / ...
MathpixPDFLoader doesn't work.
https://api.github.com/repos/langchain-ai/langchain/issues/7282/comments
5
2023-07-06T15:15:17Z
2023-10-07T17:05:46Z
https://github.com/langchain-ai/langchain/issues/7282
1,791,761,739
7,282
[ "hwchase17", "langchain" ]
### Feature request It would be nice to have a similar function as `get_openai_callback()` for VertexAI. This actually gives the input tokens, output tokens and cost of using OpenAI models: ```python with get_openai_callback() as cb: llm = OpenAI(temperature=0) chat = ChatOpenAI(temperature=0) emb =...
Callback for VertexAI to monitor cost and token consumption
https://api.github.com/repos/langchain-ai/langchain/issues/7280/comments
8
2023-07-06T14:50:29Z
2024-06-05T10:48:30Z
https://github.com/langchain-ai/langchain/issues/7280
1,791,718,932
7,280
[ "hwchase17", "langchain" ]
You can pass filter to an kNN in elasticsearch. This is currently implemented in the langchain wrapper in the exact KNN search. But is not yet implemented in the approximate KNN search. Add filter param to [_default_knn_query](https://github.com/jeffvestal/langchain/blob/10f34bf62e2d53f0b1a7b15ba21c2328b64862cd/la...
Allow filter to be passed in ElasticKnnSearch knn_search and knn_hybrid_search
https://api.github.com/repos/langchain-ai/langchain/issues/7277/comments
1
2023-07-06T13:56:39Z
2023-09-20T14:35:44Z
https://github.com/langchain-ai/langchain/issues/7277
1,791,621,321
7,277
[ "hwchase17", "langchain" ]
### Feature request This adds support for Apache SOLRs vector search capabilities (https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html) ### Motivation As SOLR is a commonly used search index and now offers this feature, it is important to allow SOLR users to be able to integrate seamlessl...
[FEATURE] SOLR Based Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/7273/comments
8
2023-07-06T12:44:39Z
2024-02-15T16:11:20Z
https://github.com/langchain-ai/langchain/issues/7273
1,791,490,032
7,273
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ``` def handle_embeddings(payload): loader = UnstructuredPDFLoader(payload["filepath"]) documents = loader.load() text_splitter = SpacyTextSplitter(pipeline=payload["language"], chunk_size=1536, chunk_overlap=0) docs = text_splitter.split_documents(documents) ...
'Qdrant.from_documents' Memory overflow
https://api.github.com/repos/langchain-ai/langchain/issues/7272/comments
8
2023-07-06T12:25:00Z
2023-10-16T16:06:24Z
https://github.com/langchain-ai/langchain/issues/7272
1,791,458,701
7,272
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using Tools and Agents to query on different vectorstores. But when I am asking question which is not from the vectorstore.It responds i dont know. So is there any approach i can try where if the answer is not from the vectorstore i can carry out the conversation like chatgpt. If ...
Langchain Tools and Agents
https://api.github.com/repos/langchain-ai/langchain/issues/7269/comments
5
2023-07-06T10:11:15Z
2023-12-01T16:09:13Z
https://github.com/langchain-ai/langchain/issues/7269
1,791,243,008
7,269
[ "hwchase17", "langchain" ]
### System Info LangChain v0.0.225, Windows10, Python 3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outp...
langchain + gpt4all 执行异常,总提示参数问题
https://api.github.com/repos/langchain-ai/langchain/issues/7268/comments
3
2023-07-06T09:22:31Z
2023-10-14T20:11:07Z
https://github.com/langchain-ai/langchain/issues/7268
1,791,159,677
7,268
[ "hwchase17", "langchain" ]
### System Info LangChain v0.0.225, Windows, Python 3.10 ### 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 Selector...
Inconsistent behavior of `CharacterTextSplitter` when changing `keep_separator` for special regex characters
https://api.github.com/repos/langchain-ai/langchain/issues/7262/comments
1
2023-07-06T07:57:36Z
2023-07-06T13:54:13Z
https://github.com/langchain-ai/langchain/issues/7262
1,791,023,162
7,262
[ "hwchase17", "langchain" ]
### System Info Error: Please install chromadb as a dependency with, e.g. `npm install -S chromadb` at Function.imports (file:///home/aqib/backend-11/vision/node_modules/langchain/dist/vectorstores/chroma.js:160:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Chroma.en...
Chroma DB Error
https://api.github.com/repos/langchain-ai/langchain/issues/7260/comments
11
2023-07-06T07:46:56Z
2024-03-13T19:55:57Z
https://github.com/langchain-ai/langchain/issues/7260
1,791,006,392
7,260
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm using the `OpenAIEmbeddings` object to create embeddings for my list of documents. While it expects a list of strings, the `embed_documents` function seems misleading as to accept a list of documents. As a result, passing a list of documents raises `AttributeError` since `Document` o...
Issue: confusion about `Document` or string input for `embed_documents` function
https://api.github.com/repos/langchain-ai/langchain/issues/7259/comments
3
2023-07-06T07:32:37Z
2023-10-05T17:49:36Z
https://github.com/langchain-ai/langchain/issues/7259
1,790,985,762
7,259
[ "hwchase17", "langchain" ]
I was using openai functions agent with custom functions , the custom function(loan eligibility) needs three augments , state, age and income . when i run the agent with question "how much can i borrow in state CA?" , it is directly calling function without asking age and income from the user . below is the error...
OpenAI Functions Agent not asking required parameter value
https://api.github.com/repos/langchain-ai/langchain/issues/7255/comments
1
2023-07-06T06:19:57Z
2023-10-12T16:06:00Z
https://github.com/langchain-ai/langchain/issues/7255
1,790,892,343
7,255
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.225, Python 3.10, Windows ### 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 Selector...
Structured Chat Agent cannot save_context when memory has additional input variables
https://api.github.com/repos/langchain-ai/langchain/issues/7254/comments
1
2023-07-06T04:49:18Z
2023-10-12T16:06:05Z
https://github.com/langchain-ai/langchain/issues/7254
1,790,798,010
7,254
[ "hwchase17", "langchain" ]
null
How to parse docx/pdf file which contains text table and image?Also, we need to classify text table and image, maybe operations are different?thanks
https://api.github.com/repos/langchain-ai/langchain/issues/7252/comments
2
2023-07-06T04:35:02Z
2023-10-12T16:06:10Z
https://github.com/langchain-ai/langchain/issues/7252
1,790,785,354
7,252
[ "hwchase17", "langchain" ]
### Feature request how to disable the OpenAI initialization when you're not using an OpenAI model. [Please check this issue](https://github.com/hwchase17/langchain/issues/7189#issuecomment-1621931461) ### Motivation I am trying to build a VectorstoreIndexCreator using the following configuration embeddin...
How to disable the OpenAI initialization when you're not using an OpenAI model
https://api.github.com/repos/langchain-ai/langchain/issues/7251/comments
3
2023-07-06T04:19:04Z
2024-03-02T14:38:20Z
https://github.com/langchain-ai/langchain/issues/7251
1,790,771,160
7,251
[ "hwchase17", "langchain" ]
### System Info langchain : 0.0.223 os: mac Ventura 13.4.1 max python: 3.11.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...
Does LlamaCPP currently not support the gpu acceleration of mps when n_gpu_layer to 1?
https://api.github.com/repos/langchain-ai/langchain/issues/7249/comments
0
2023-07-06T03:50:02Z
2023-07-06T03:56:20Z
https://github.com/langchain-ai/langchain/issues/7249
1,790,747,965
7,249
[ "hwchase17", "langchain" ]
### Feature request Add `show_progress_bar` within `OpenAIEmbeddings` class. ### Motivation Simply speaking, 1. Showing progress bar within existing progress bar is generally not a good practice. Most of time it will break. 2. There might be people who want to keep their console quiet. ### Your contribution ...
Make tqdm optional for OpenAIEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/7246/comments
1
2023-07-06T02:21:17Z
2023-07-06T03:58:55Z
https://github.com/langchain-ai/langchain/issues/7246
1,790,672,805
7,246
[ "hwchase17", "langchain" ]
### Issue with current documentation: A continuation of #7126, Pinecone features in Langchain that are not mentioned in Langchain's documentation. https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone ### Idea or request for content: Add documentation for the other Pinecone ...
DOC: Pinecone functions need more documentation
https://api.github.com/repos/langchain-ai/langchain/issues/7243/comments
1
2023-07-06T00:15:48Z
2023-10-12T16:06:20Z
https://github.com/langchain-ai/langchain/issues/7243
1,790,553,866
7,243
[ "hwchase17", "langchain" ]
### System Info Langchain Version: 0.0.224 Platform: Mac Python Version: 3.10.9 ### 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 / Prom...
Async callback has issues
https://api.github.com/repos/langchain-ai/langchain/issues/7242/comments
2
2023-07-06T00:03:04Z
2023-07-06T12:43:26Z
https://github.com/langchain-ai/langchain/issues/7242
1,790,539,904
7,242
[ "hwchase17", "langchain" ]
### Feature request Include source document index information in the combine document chain prompt. For example in `_get_inputs` of `StuffDocumentChain` we could make the following change (in addition to corresponding changes to `format_document`): ``` # From doc_strings = [format_document(doc, self.document_prom...
Add Document Index Information for QA Inline Citations
https://api.github.com/repos/langchain-ai/langchain/issues/7239/comments
22
2023-07-05T22:46:45Z
2024-05-16T16:06:39Z
https://github.com/langchain-ai/langchain/issues/7239
1,790,462,714
7,239
[ "hwchase17", "langchain" ]
### System Info langchain: '0.0.218' windows 10 ### Who can help? @dev2049 @homanp ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pars...
OpenAPISpec functions can get stuck in a loop
https://api.github.com/repos/langchain-ai/langchain/issues/7233/comments
2
2023-07-05T21:31:57Z
2023-10-12T16:06:26Z
https://github.com/langchain-ai/langchain/issues/7233
1,790,374,247
7,233
[ "hwchase17", "langchain" ]
### Feature request Still new here so I mimicked the setup of `llm/llamacpp.py` wrapper for the draft of Salesforce's new LLM [XGen](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard/discussions/91). ### Motivation Expand the LLM sets integrated in Langchain. ### Your contribution PR #7221
Salesforce XGen integration
https://api.github.com/repos/langchain-ai/langchain/issues/7223/comments
1
2023-07-05T19:54:04Z
2023-07-06T04:53:07Z
https://github.com/langchain-ai/langchain/issues/7223
1,790,201,590
7,223
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi I found myself having to do a "hack" when using MultiPromptChain. In particular when ny destination chains take more than one parameter into the template at runtime for example "{current"_timestamp}" I was getting the following exception ``` File "/home/xxx/venv/lib/python3.10...
Issue: Issue with MutliPromptRouter with memory destination chains
https://api.github.com/repos/langchain-ai/langchain/issues/7220/comments
2
2023-07-05T19:50:23Z
2023-10-12T16:06:31Z
https://github.com/langchain-ai/langchain/issues/7220
1,790,197,414
7,220
[ "hwchase17", "langchain" ]
### Feature request Add retry policy to VertexAI models. ### Motivation E.g., when trying to run a summarization chain on many chunks (I reproduce the error with 99 chunks), an exception `ResourceExhausted: 429 Quota exceeded` might be returned by Vertex. ### Your contribution yes, I'll submit a PR shortly.
Add retries to VertexAI models
https://api.github.com/repos/langchain-ai/langchain/issues/7217/comments
1
2023-07-05T18:45:48Z
2023-07-10T08:52:37Z
https://github.com/langchain-ai/langchain/issues/7217
1,790,092,753
7,217
[ "hwchase17", "langchain" ]
### Issue with current documentation: More of a clarification than an issue. In the javascript documentation, it describes the Document interface. https://js.langchain.com/docs/modules/schema/document. Does an equivalent thing exist in the Python version. When I try 'from langchain.document import Document` in pytho...
DOC: DOCUMENT interface in Javascript but not in Python
https://api.github.com/repos/langchain-ai/langchain/issues/7215/comments
2
2023-07-05T18:15:21Z
2023-07-05T18:41:14Z
https://github.com/langchain-ai/langchain/issues/7215
1,790,052,100
7,215
[ "hwchase17", "langchain" ]
### System Info There seem to be some hallucinations involving the president and Michael Jackson. I use the following, where `data` is loaded using `UnstructuredURLLoader(urls).load()` and `urls` is just a list of URLs I'm interested in. Needless to say that none of the URLs involve Michael Jackson (or the preside...
Undesired outputs when using map_reduce
https://api.github.com/repos/langchain-ai/langchain/issues/7199/comments
2
2023-07-05T13:55:41Z
2023-07-08T17:20:32Z
https://github.com/langchain-ai/langchain/issues/7199
1,789,623,893
7,199
[ "hwchase17", "langchain" ]
### System Info **Python : Python 3.9.13 Langchain: langchain==0.0.219 OS : Ubuntu** ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / P...
ConversationalRetrievalChain return only the prompt not the answer
https://api.github.com/repos/langchain-ai/langchain/issues/7193/comments
4
2023-07-05T11:58:18Z
2023-11-20T16:06:21Z
https://github.com/langchain-ai/langchain/issues/7193
1,789,401,709
7,193
[ "hwchase17", "langchain" ]
https://github.com/hwchase17/langchain/blob/e27ba9d92bd2cc4ac9ed7439becb2d32816fc89c/langchain/llms/huggingface_pipeline.py#L169 should modified to #response = self.pipeline(prompt) response = self.pipeline(prompt, **kwargs)
kwargs are forgot to send to huggingface pipeline call
https://api.github.com/repos/langchain-ai/langchain/issues/7192/comments
3
2023-07-05T11:18:41Z
2023-12-19T00:50:02Z
https://github.com/langchain-ai/langchain/issues/7192
1,789,340,428
7,192
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When using AgentType.OPENAI_FUNCTIONS, the error message "openai.error.InvalidRequestError: 'Gmail: Find Email' does not match '^[a-zA-Z0-9_-]{1,64}$' - '[functions.6.name](http://functions.6.name/)'" suggests that the name you are using for the function ('Gmail: Find Email') does not ad...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/7191/comments
3
2023-07-05T10:53:22Z
2023-10-12T16:06:36Z
https://github.com/langchain-ai/langchain/issues/7191
1,789,300,649
7,191
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have written a code to add the memory to ConversationalRetrievalChain but I am getting an error **"Missing some input keys: {'question'}"**. Below is the snippet of my code memory = ConversationBufferMemory( memory_key="chat_history", input_key=...
Issue: Missing some input keys: {'question'} when using ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/7190/comments
6
2023-07-05T10:50:07Z
2024-03-04T14:32:18Z
https://github.com/langchain-ai/langchain/issues/7190
1,789,293,722
7,190
[ "hwchase17", "langchain" ]
### System Info I am trying to build a **VectorstoreIndexCreator** using the following configuration embeddings= **SentenceTransformerEmbeddings** embeddings vectorstore_cls = **Chroma** llm = **HuggingfaceHub** Model Note: I am not using any **openai** model as **llm** or **embedding** purpose here is the...
Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named parameter. (type=value_error)
https://api.github.com/repos/langchain-ai/langchain/issues/7189/comments
11
2023-07-05T10:43:47Z
2024-04-12T15:07:16Z
https://github.com/langchain-ai/langchain/issues/7189
1,789,283,892
7,189
[ "hwchase17", "langchain" ]
### System Info Python 3.11.4 duckdb==0.8.1 chromadb==0.3.26 langchain==0.0.221 ### 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 / P...
Load Chroma database: Invalid Input Error: No magic bytes found at end of file 'database/vectors/chroma-embeddings.parquet'
https://api.github.com/repos/langchain-ai/langchain/issues/7188/comments
2
2023-07-05T10:33:28Z
2023-10-12T16:06:41Z
https://github.com/langchain-ai/langchain/issues/7188
1,789,266,410
7,188
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker This example is not working. I've just copy pasted the code from here and ran it in my notebook instance. I'm using falcon-40b-instruct model. The error I'm getting is as follows Error ra...
DOC: https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker
https://api.github.com/repos/langchain-ai/langchain/issues/7187/comments
4
2023-07-05T10:10:48Z
2024-02-10T16:22:12Z
https://github.com/langchain-ai/langchain/issues/7187
1,789,229,545
7,187
[ "hwchase17", "langchain" ]
Hello, I'm using _langchain_ for QA with court case documents. More specifically, the RetrievalQAWithSourcesChain to retrieve the answer and document source information. However, when running the chain with embedded documents, I get the following error: ``` ValueError: too many values to unpack (expected 2) Tra...
Issue: RetrievalQAWithSourcesChain gives error 'too many values to unpack (expected 2)' after running.
https://api.github.com/repos/langchain-ai/langchain/issues/7184/comments
2
2023-07-05T09:49:42Z
2023-08-16T20:30:16Z
https://github.com/langchain-ai/langchain/issues/7184
1,789,191,768
7,184
[ "hwchase17", "langchain" ]
### System Info llm = AzureOpenAI( model_name="gpt-4-32k", engine="gpt-4-32k" ) llm("tell me a joke") Exception: The completion operation does not works with the specific model, gpt-4-32k, pls choose different model.... Environment: LangChain:0.0.218 ### Who can help? _No response_ ### Information - [ ...
does llms.AzureOpenAI support gpt4 or gpt-32k?
https://api.github.com/repos/langchain-ai/langchain/issues/7182/comments
2
2023-07-05T09:13:02Z
2023-10-12T16:06:46Z
https://github.com/langchain-ai/langchain/issues/7182
1,789,125,219
7,182
[ "hwchase17", "langchain" ]
### System Info ``` from langchain.text_splitter import SentenceTransformersTokenTextSplitter splitter = SentenceTransformersTokenTextSplitter( tokens_per_chunk=64, chunk_overlap=0, model_name='intfloat/e5-base-v2', add_start_index=True, ) text = "- afrikaans\n- العربية\n- azərbaycanca\n- বাংলা...
SentenceTransformersTokenTextSplitter Doesn't Preserve Text
https://api.github.com/repos/langchain-ai/langchain/issues/7181/comments
6
2023-07-05T08:29:31Z
2024-04-22T18:03:57Z
https://github.com/langchain-ai/langchain/issues/7181
1,789,052,195
7,181
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.221 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
SupabaseVectorStore.from_documents returns APIError: {'code': '22P02'
https://api.github.com/repos/langchain-ai/langchain/issues/7179/comments
4
2023-07-05T07:44:06Z
2023-10-25T16:07:47Z
https://github.com/langchain-ai/langchain/issues/7179
1,788,978,302
7,179
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ## Problem descriptions I've used `retrievalQA.from_chain_type()` with `refine` type to design a chatPDF. But the response often **incomplete**, see the following result, the `Answer` is not complete which will let the `json.loads` not work. Futhermore, I've used `get_openai_ca...
Issue: RetrievalQA response incomplete
https://api.github.com/repos/langchain-ai/langchain/issues/7177/comments
1
2023-07-05T07:19:18Z
2023-07-05T07:33:37Z
https://github.com/langchain-ai/langchain/issues/7177
1,788,935,367
7,177
[ "hwchase17", "langchain" ]
### Issue with current documentation: ``` # import from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings from langchain.text_splitter import CharacterTextSplitter from langchain.vectorstores import Chroma from langchain.document_loaders import TextLoader # load the document and sp...
saving and loading embedding from Chroma
https://api.github.com/repos/langchain-ai/langchain/issues/7175/comments
13
2023-07-05T06:52:10Z
2024-07-01T19:22:22Z
https://github.com/langchain-ai/langchain/issues/7175
1,788,892,758
7,175
[ "hwchase17", "langchain" ]
### System Info langchain = 0.0.220 python = 3.11.4 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] O...
StreamlitCallbackHandler doesn't double escape dollar signs, so two dollar signs makes everything between an equation
https://api.github.com/repos/langchain-ai/langchain/issues/7172/comments
1
2023-07-05T05:23:14Z
2023-10-12T16:06:56Z
https://github.com/langchain-ai/langchain/issues/7172
1,788,788,050
7,172
[ "hwchase17", "langchain" ]
### System Info Based on the official doc, I created two type of retriever: 1. `faiss_retriever = FAISS.from_documents(texts, OpenAIEmbeddings()).as_retriever()`serving as a`VectorStoreRetriever`(referenced from the API doc) 2. `compression_retriever = ContextualCompressionRetriever(base_compressor=relevant_filter, ...
RetrievalQA.from_chain_type‘s parameter retriever can not use ContextualCompressionRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/7168/comments
7
2023-07-05T02:43:25Z
2023-10-16T09:45:05Z
https://github.com/langchain-ai/langchain/issues/7168
1,788,668,402
7,168
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/docs/get_started/quickstart.html On the above link, I have tried following along on google colab and ran into an issue as following: Observation: Olivia Wilde started dating Harry Styles after ending her years-long engagement to Jason Sudeikis — se...
DOC: The Quickstart tutorial for Agents has an error
https://api.github.com/repos/langchain-ai/langchain/issues/7166/comments
3
2023-07-05T01:11:06Z
2023-10-12T16:07:06Z
https://github.com/langchain-ai/langchain/issues/7166
1,788,611,749
7,166
[ "hwchase17", "langchain" ]
### Feature request I'd like to make the user experience more conversational while supporting OpenAI functions. However, OpenAIFunctionsAgent implementation doesn't accept "memory" to make it more conversational. I'd like to have ReACT planning capability + functions as tools. I think the minimal implementation is t...
OpenAIFunctionsAgent + ConversationalChatAgent?
https://api.github.com/repos/langchain-ai/langchain/issues/7163/comments
6
2023-07-04T22:28:54Z
2023-10-19T16:06:43Z
https://github.com/langchain-ai/langchain/issues/7163
1,788,529,698
7,163
[ "hwchase17", "langchain" ]
### System Info I'm using the following on Windows: Python 3.11.3 langchain 0.0.222 lark 1.1.5 With a Pinecone index: Environment: us-east4-gcp Metric: cosine Pod Type: p1.x1 Dimensions: 1536 ### Who can help? @hwchase17 @angola ### Information - [X] The official example notebooks/scripts - [ ] My o...
SelfQuering Retrieval no support $contain operator
https://api.github.com/repos/langchain-ai/langchain/issues/7157/comments
2
2023-07-04T18:56:27Z
2023-10-12T16:07:11Z
https://github.com/langchain-ai/langchain/issues/7157
1,788,350,317
7,157
[ "hwchase17", "langchain" ]
### Feature request Some vectorstores (e.g. Vectara) internally create their own embeddings. The request is to generalize the VectorStore base class to allow for embeddings to be optional. ### Motivation Currently users have to send "None" or FakeEmbeddings instead, which creates additional work and is not ne...
Make "embedding" an optional parameter in VectorStore interface
https://api.github.com/repos/langchain-ai/langchain/issues/7150/comments
2
2023-07-04T15:47:14Z
2023-10-12T16:07:16Z
https://github.com/langchain-ai/langchain/issues/7150
1,788,162,432
7,150
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I keep getting this error for the past couple of days for gpt-3.5-turbo-16k: Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=120.0) The OpenAI API seems to be working fine by itself. Can someone please tell me if they ar...
Issue: The API call keeps getting timed out
https://api.github.com/repos/langchain-ai/langchain/issues/7148/comments
13
2023-07-04T15:35:27Z
2024-02-13T16:15:53Z
https://github.com/langchain-ai/langchain/issues/7148
1,788,148,043
7,148
[ "hwchase17", "langchain" ]
### System Info - langchain-0.0.222 (and all before) - Any GPT4All python package after [this commit](https://github.com/nomic-ai/gpt4all/commit/46a0762bd5a7e605e9bd63e4f435b482eff026f6#diff-cc3ea7dfbfc9837a4c42dae1089a1eda0ed175d17f2628cf16c13d3cd9da6e13R174) was merged. So latest: >= 1.0.1. Note this issue is in...
GPT4All generate() TypeError 'n_ctx' since a commit on GPT4All's python binding changed arguments
https://api.github.com/repos/langchain-ai/langchain/issues/7145/comments
7
2023-07-04T14:22:38Z
2023-11-07T14:10:16Z
https://github.com/langchain-ai/langchain/issues/7145
1,788,030,844
7,145
[ "hwchase17", "langchain" ]
### Feature request Hi there 👋 Thanks a lot for the awesome library. The current implementation of `BaseCache` stores the prompt + the llm generated text as key. This means that I am not really caching since I'll have to do a request to OpenAI to get the llm text ### Motivation I'd like to cache a promp...
Caching: allows to cache only the prompt
https://api.github.com/repos/langchain-ai/langchain/issues/7141/comments
12
2023-07-04T12:46:56Z
2024-06-27T16:06:04Z
https://github.com/langchain-ai/langchain/issues/7141
1,787,867,349
7,141
[ "hwchase17", "langchain" ]
### Feature request I would love to add an [H2O Wave](https://wave.h2o.ai/) framework callback integration in a similar manner as done for [Streamlit](https://python.langchain.com/docs/modules/callbacks/integrations/streamlit). Wave has recently added a dedicated chatbot card, which seems like a perfect fit. ![imag...
H2O Wave callback integration
https://api.github.com/repos/langchain-ai/langchain/issues/7139/comments
5
2023-07-04T11:56:42Z
2024-02-07T16:29:24Z
https://github.com/langchain-ai/langchain/issues/7139
1,787,787,874
7,139
[ "hwchase17", "langchain" ]
### Feature request I am using the ConversationalRetrievalChain to retrieve answers for questions while condensing the chat history to a standalone question. However, the standalone question would show in the streaming output. I expect only to return the final answer. Is there any way to achieve it? ### Motivati...
Returns the standone alone question while using ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/7136/comments
5
2023-07-04T11:02:11Z
2024-02-06T16:32:56Z
https://github.com/langchain-ai/langchain/issues/7136
1,787,705,531
7,136
[ "hwchase17", "langchain" ]
### System Info 0.0.220 ### 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 -...
"ConversationBufferMemory" object has no field "buffer"
https://api.github.com/repos/langchain-ai/langchain/issues/7135/comments
4
2023-07-04T09:36:49Z
2023-10-12T16:07:22Z
https://github.com/langchain-ai/langchain/issues/7135
1,787,553,988
7,135
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I installed "langchain==0.0.27" on a linux machine but i am getting the folowing error when i try to import langchain in a script. Was running this with python 3.7. `/home/s0s06c3/lang/lang_env/bin/python /home/s0s06c3/lang/hugging_lanchain.py Traceback (most recent call last): ...
Issue: Can not import the Langchain modules.
https://api.github.com/repos/langchain-ai/langchain/issues/7131/comments
9
2023-07-04T08:07:28Z
2024-07-25T17:41:17Z
https://github.com/langchain-ai/langchain/issues/7131
1,787,396,398
7,131
[ "hwchase17", "langchain" ]
### System Info Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-gvlyS3A1UcZNvf8Qch6TJZe3 on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through ou...
RateLimitError
https://api.github.com/repos/langchain-ai/langchain/issues/7130/comments
4
2023-07-04T07:50:43Z
2023-10-12T16:07:27Z
https://github.com/langchain-ai/langchain/issues/7130
1,787,368,680
7,130
[ "hwchase17", "langchain" ]
### Issue with current documentation: During the use of ChatOpenAI, it was found that even if langchain.llm_cache=True is set, the answer is different each time for the same question, such as "What is LangChain". Upon tracing the source code, it was discovered that ChatOpenAI inherited BaseChatModel, which does not ...
DOC: The LLM type given in the Caching section is incorrect. It should be changed from ChatOpenAI to ChatGPT
https://api.github.com/repos/langchain-ai/langchain/issues/7129/comments
3
2023-07-04T07:48:45Z
2023-10-16T16:06:34Z
https://github.com/langchain-ai/langchain/issues/7129
1,787,364,347
7,129
[ "hwchase17", "langchain" ]
### Issue with current documentation: I have been working on a side project using Pinecone and discovered that there are a bunch of useful Pinecone features in Langchain that are not mentioned in Langchain's documentation. [https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone]...
DOC: Pinecone documentation missing features
https://api.github.com/repos/langchain-ai/langchain/issues/7126/comments
0
2023-07-04T06:58:58Z
2023-07-05T19:18:03Z
https://github.com/langchain-ai/langchain/issues/7126
1,787,284,168
7,126
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Here is my code where i use Faiss for vectorestore but it is not capable to giving a response from my pdf data where i am doing wrong please correct me. def chat_bot_langchain(): from langchain.llms import OpenAI index = faiss.read_index("faisss_audien_new.index") print(i...
ConversationalBufferMemory is not working with my Data
https://api.github.com/repos/langchain-ai/langchain/issues/7121/comments
1
2023-07-04T06:02:36Z
2023-10-12T16:07:37Z
https://github.com/langchain-ai/langchain/issues/7121
1,787,208,532
7,121
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Getting AttributeError when using chroma.from_documents my code: db = chroma.from_documents(texts, embeddings, persist_directory=persist_directory, client_settings=CHROMA_SETTINGS) AttributeError: module 'langchain.vectorstores.chroma' has no attribute 'from_documents ### Suggest...
Issue: from_documents error
https://api.github.com/repos/langchain-ai/langchain/issues/7119/comments
2
2023-07-04T03:25:31Z
2023-10-12T16:07:42Z
https://github.com/langchain-ai/langchain/issues/7119
1,787,076,435
7,119
[ "hwchase17", "langchain" ]
### System Info `from_texts` in `ElasticKnnSearch` is not creating a new index. `add_texts` is not creating the correct mapping. There were class instances of both these methods at one point, but they [got removed accidentally](https://github.com/hwchase17/langchain/pull/5569/commits/98f5038b1a6a6ee6f3108f95b274...
ElasticKnnSearch not creating mapping correctly
https://api.github.com/repos/langchain-ai/langchain/issues/7117/comments
1
2023-07-04T01:52:06Z
2023-07-28T05:00:22Z
https://github.com/langchain-ai/langchain/issues/7117
1,787,013,125
7,117
[ "hwchase17", "langchain" ]
### System Info Langchain: 0.0.222 OS: Windows 11+WSL Ubuntu22 I run a simple test according to the agent document guide page: https://python.langchain.com/docs/modules/agents/ I just changed the input a little bit, it throw an error about the output parser. The code is below: ========================= ll...
The agent run output parser cause error when run a simple quick start
https://api.github.com/repos/langchain-ai/langchain/issues/7116/comments
1
2023-07-04T01:32:55Z
2023-07-04T02:38:26Z
https://github.com/langchain-ai/langchain/issues/7116
1,787,000,606
7,116
[ "hwchase17", "langchain" ]
### System Info I have been using STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION with a custom tool that takes 2 inputs, however have not been able to get the agent to produce the outputs we had before. Specifically, we're getting the intermediate, custom function input as output. Ie instead of getting a value asso...
STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION Custom Tools Failure
https://api.github.com/repos/langchain-ai/langchain/issues/7108/comments
5
2023-07-03T22:07:55Z
2024-03-26T10:27:30Z
https://github.com/langchain-ai/langchain/issues/7108
1,786,864,012
7,108
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I run the command ```bash make coverage ``` I get the following error: ```bash collected 1556 items / 9 errors INTERNALERROR> Tra...
Issue: Error when running `make coverage`
https://api.github.com/repos/langchain-ai/langchain/issues/7100/comments
4
2023-07-03T21:10:50Z
2023-12-20T16:07:23Z
https://github.com/langchain-ai/langchain/issues/7100
1,786,816,546
7,100