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" ]
### Feature request I propose the addition of a new feature, a BinaryPyPdf loader, to the existing Langchain document loaders. This loader is designed to handle PDF files in a binary format, providing a more efficient and effective way of processing PDF documents within the Langchain project. ### Motivation As a Lan...
Addition of BinaryPyPdf Loader for Langchain Document Loaders
https://api.github.com/repos/langchain-ai/langchain/issues/13916/comments
1
2023-11-27T16:04:01Z
2024-03-13T19:55:56Z
https://github.com/langchain-ai/langchain/issues/13916
2,012,607,901
13,916
[ "langchain-ai", "langchain" ]
### System Info You cannot run `poetry install --with test` on a fresh build: ``` ╭─ username@comp ~/path/to/coding ╰─➤ cd langchain2 ls ╭─username@comp ~/path/to/langchain2 ‹master› ╰─➤ ls CITATION.cff Makefile cookbook libs pyproject.toml LICENSE README.md docker ...
poetry install --with test issue
https://api.github.com/repos/langchain-ai/langchain/issues/13912/comments
2
2023-11-27T14:07:30Z
2023-11-27T23:07:40Z
https://github.com/langchain-ai/langchain/issues/13912
2,012,359,254
13,912
[ "langchain-ai", "langchain" ]
### Feature request MultiVectorRetriever is really helpful to add summary and hypothetical queries of our documents to improve the retrievers but only these two are stored in the vectorstore, instead the entire document is within a BaseStore (Memory or Local). The main issue is that: - the Memory one is not going to...
MultiVector Retriever BaseStore
https://api.github.com/repos/langchain-ai/langchain/issues/13909/comments
12
2023-11-27T11:33:30Z
2024-07-24T05:23:56Z
https://github.com/langchain-ai/langchain/issues/13909
2,012,075,695
13,909
[ "langchain-ai", "langchain" ]
### System Info Ubuntu 23.10 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Docume...
imports of OpenAI and SQLDatabase don't work in .py file
https://api.github.com/repos/langchain-ai/langchain/issues/13906/comments
3
2023-11-27T11:04:57Z
2024-02-09T02:11:48Z
https://github.com/langchain-ai/langchain/issues/13906
2,012,028,998
13,906
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Sometimes when interacting with the bot using Retrieval QA chain, it just stops at Entering new RetrievalQA chain... No response, it doesn't give the response, it just stops, I am using qa.acall and using the async callback handler how to fix that, as that is unnacceptable ### Sugge...
Issue: Retrieval QA Chain not giving response after Entering new RetrievalQA chain...
https://api.github.com/repos/langchain-ai/langchain/issues/13900/comments
1
2023-11-27T07:12:34Z
2024-03-13T20:02:37Z
https://github.com/langchain-ai/langchain/issues/13900
2,011,642,730
13,900
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ```python llm = ChatOpenAI(model=gpt_4, temperature=0, api_key=os.environ['OPENAI_API_KEY']) llm_chain = LLMChain(llm=llm, prompt=react_prompt) tool_names = [tool.name] agent = LLMSingleActionAgent( llm_chain=llm_chain, output_parser=react_output_parser, stop=[...
Issue: AgentExecutor stopping before reaching the set max_iteration and max_execution_time limits without meeting the stop condition
https://api.github.com/repos/langchain-ai/langchain/issues/13897/comments
4
2023-11-27T04:43:45Z
2023-11-29T13:52:34Z
https://github.com/langchain-ai/langchain/issues/13897
2,011,474,672
13,897
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.316 python==3.10.13 ### 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 ...
Error raised during decoding response from inference endpoint when using ChatGLM
https://api.github.com/repos/langchain-ai/langchain/issues/13896/comments
2
2023-11-27T04:12:28Z
2024-03-13T20:03:46Z
https://github.com/langchain-ai/langchain/issues/13896
2,011,448,434
13,896
[ "langchain-ai", "langchain" ]
### Feature request We are working on a way to add a multi-input tool to LangChain for searching Reddit posts. Integrating the API as a tool will allow agents to search for posts using a specific search query and some query parameters like sort, time_filter, subreddit etc. to respond to prompts. The tool will use sear...
Adding a multi-input Reddit search tool
https://api.github.com/repos/langchain-ai/langchain/issues/13891/comments
2
2023-11-27T02:16:19Z
2023-12-11T03:21:33Z
https://github.com/langchain-ai/langchain/issues/13891
2,011,359,518
13,891
[ "langchain-ai", "langchain" ]
### System Info langchain version 0.0.340 Python version: 3.11.5 ### 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 - [...
ObsidianLoader fails when encountering template variables in the properties frontmatter of a file
https://api.github.com/repos/langchain-ai/langchain/issues/13887/comments
1
2023-11-27T01:05:47Z
2024-03-13T20:01:25Z
https://github.com/langchain-ai/langchain/issues/13887
2,011,308,854
13,887
[ "langchain-ai", "langchain" ]
### Feature request If I want to use VectorStoreRetrieverMemory to store my users' chat memories, I need to search and store them using user_id and session_id. However, memory.save_context doesn't have a 'metadata' option. ### Motivation I want to associate chat merory with single user ### Your contribution I can'...
storing metadata with the VectorStoreRetrieverMemory memory module
https://api.github.com/repos/langchain-ai/langchain/issues/13876/comments
2
2023-11-26T15:14:26Z
2024-03-13T19:55:51Z
https://github.com/langchain-ai/langchain/issues/13876
2,011,079,659
13,876
[ "langchain-ai", "langchain" ]
### System Info Python version: 3.11.5 Langchain version: 0.0.316 ### Who can help? @3coins @hw ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - ...
KENDRA: issue with user_context parameter when using get_relevant_documents method (langchain.retrievers.kendra.AmazonKendraRetriever)
https://api.github.com/repos/langchain-ai/langchain/issues/13870/comments
1
2023-11-26T09:55:33Z
2023-12-11T15:22:58Z
https://github.com/langchain-ai/langchain/issues/13870
2,010,975,800
13,870
[ "langchain-ai", "langchain" ]
### Feature request Currently the `_search` function in `ElasticsearchStore` assumes that the `hit` object returned in the search has a `metadata` field under `_source`: ```python hit["_source"]["metadata"][field] = hit["_source"][field] ``` However, this is not the case in the index I work w...
Support for elastic index without metadata field
https://api.github.com/repos/langchain-ai/langchain/issues/13869/comments
1
2023-11-26T09:33:34Z
2024-03-13T19:56:05Z
https://github.com/langchain-ai/langchain/issues/13869
2,010,969,350
13,869
[ "langchain-ai", "langchain" ]
### System Info #### Environment variable ```bash BENTOML_DEBUG='' BENTOML_QUIET='' BENTOML_BUNDLE_LOCAL_BUILD='' BENTOML_DO_NOT_TRACK='' BENTOML_CONFIG='' BENTOML_CONFIG_OPTIONS='' BENTOML_PORT='' BENTOML_HOST='' BENTOML_API_WORKERS='' ``` #### System information `bentoml`: 1.1.10 `python`: 3.11.5...
bug: When running by example getting error: TypeError: 'dict' object is not callable
https://api.github.com/repos/langchain-ai/langchain/issues/13867/comments
4
2023-11-26T08:25:23Z
2024-04-15T16:07:35Z
https://github.com/langchain-ai/langchain/issues/13867
2,010,950,164
13,867
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Hi, can we get more documentation on `langchain_experimental.rl_chain`? I'm having trouble wrapping my head around how it works, and the documentation is sparse. From the notebook intro, originally I thought it was going to tune the human written prompt template and then outpu...
DOC: How langchain_experimental.rl_chain works
https://api.github.com/repos/langchain-ai/langchain/issues/13865/comments
3
2023-11-26T06:33:13Z
2024-03-13T19:55:36Z
https://github.com/langchain-ai/langchain/issues/13865
2,010,911,639
13,865
[ "langchain-ai", "langchain" ]
### System Info RTX 3090 ``` Here is notebook for reference: https://colab.research.google.com/drive/1Rwdrji34CV4QJofVl9jAT7-EwodvphA4?usp=sharing ``` ### Who can help? @agola11 @ey ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components ...
CalledProcessError: bash command for LLAVA in Multimodal giving error
https://api.github.com/repos/langchain-ai/langchain/issues/13863/comments
3
2023-11-26T02:43:06Z
2024-03-13T20:01:26Z
https://github.com/langchain-ai/langchain/issues/13863
2,010,867,450
13,863
[ "langchain-ai", "langchain" ]
### System Info Hello, I am trying to use a Baseten base LLM in a RAG pipeline. ``` from operator import itemgetter from langchain.llms import Baseten from langchain.schema.runnable import RunnableMap llm = Baseten(model="MODEL_ID", verbose=True) rag_chain_from_docs = ( { "context": lambda...
TypeError using Baseten in a RAG
https://api.github.com/repos/langchain-ai/langchain/issues/13861/comments
1
2023-11-25T23:39:12Z
2024-03-13T20:02:45Z
https://github.com/langchain-ai/langchain/issues/13861
2,010,829,835
13,861
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. ```# Load Tools tools = load_tools(["serpapi","langchain_experimental_python_repl"], llm=llm) ``` error ``` Exception has occurred: ImportError This tool has been moved to langchain experiment. This tool has access to a python REPL. For best practices make sure to sandbox this...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/13859/comments
1
2023-11-25T23:18:35Z
2023-11-26T01:05:46Z
https://github.com/langchain-ai/langchain/issues/13859
2,010,826,017
13,859
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Exception has occurred: ImportError This tool has been moved to langchain experiment. This tool has access to a python REPL. For best practices make sure to sandbox this tool. Read https://github.com/langchain-ai/langchain/blob/master/SECURITY.md To keep using this code as is, install l...
Issue: Load tools from experimental langchain module
https://api.github.com/repos/langchain-ai/langchain/issues/13858/comments
1
2023-11-25T22:57:56Z
2024-03-13T19:57:32Z
https://github.com/langchain-ai/langchain/issues/13858
2,010,821,824
13,858
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Exception has occurred: ImportError This tool has been moved to langchain experiment. This tool has access to a python REPL. For best practices make sure to sandbox this tool. Read https://github.com/langchain-ai/langchain/blob/master/SECURITY.md To keep using this code as is, install l...
Issue: what string works for experimental tool
https://api.github.com/repos/langchain-ai/langchain/issues/13856/comments
3
2023-11-25T22:34:55Z
2023-11-25T22:56:58Z
https://github.com/langchain-ai/langchain/issues/13856
2,010,817,039
13,856
[ "langchain-ai", "langchain" ]
### System Info Python 3.9.18 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
create_extraction_chain does not work with other LLMs?i try with llama_api
https://api.github.com/repos/langchain-ai/langchain/issues/13847/comments
4
2023-11-25T13:01:51Z
2024-03-17T16:06:32Z
https://github.com/langchain-ai/langchain/issues/13847
2,010,605,909
13,847
[ "langchain-ai", "langchain" ]
### System Info I am write a code and i want to add history to my langchain agent. History is present in chats list ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [ ] Embedding Models -...
Add memeory to langchain AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent
https://api.github.com/repos/langchain-ai/langchain/issues/13845/comments
2
2023-11-25T12:05:33Z
2024-03-13T19:55:41Z
https://github.com/langchain-ai/langchain/issues/13845
2,010,590,203
13,845
[ "langchain-ai", "langchain" ]
### System Info None ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ...
Does only openai support SystemMessage?
https://api.github.com/repos/langchain-ai/langchain/issues/13842/comments
1
2023-11-25T08:57:09Z
2024-03-13T20:00:32Z
https://github.com/langchain-ai/langchain/issues/13842
2,010,536,775
13,842
[ "langchain-ai", "langchain" ]
### System Info im running it on google Collab ### Who can help? trying the example of mult-modal rag - I tried everything no matter what if still getting this error please tell if if there is any alternative way or how can we install it? @bas ### Information - [X] The official example notebooks/scripts - [ ] M...
Unable to get page count. Is poppler installed and in PATH
https://api.github.com/repos/langchain-ai/langchain/issues/13838/comments
3
2023-11-25T06:31:04Z
2024-07-03T17:15:16Z
https://github.com/langchain-ai/langchain/issues/13838
2,010,498,080
13,838
[ "langchain-ai", "langchain" ]
Please help , I am blocked on it from many days . **I am trying to filter question of answer from pdf doc based on uploaded email filter . Only if email match happen answer the question from that document else just empty . I tried following code its not working rather even in case of OTHER email id also it give an...
lang chain Azure vector search not working neither on its direct fields nor on its metadata fields
https://api.github.com/repos/langchain-ai/langchain/issues/13833/comments
4
2023-11-25T00:45:36Z
2024-05-08T22:59:31Z
https://github.com/langchain-ai/langchain/issues/13833
2,010,391,830
13,833
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi I am trying to implement memory in an RAG agent and am following documentation, but I get the following error: ValueError: variable chat_history should be a list of base messages, got It seems that I should be passing in a chat_history, but all the notebook examples I have se...
Unable to implement memory in RAG agent, asking for chat_history
https://api.github.com/repos/langchain-ai/langchain/issues/13830/comments
1
2023-11-25T00:31:32Z
2024-03-13T20:02:47Z
https://github.com/langchain-ai/langchain/issues/13830
2,010,379,993
13,830
[ "langchain-ai", "langchain" ]
I am using local LLM with langchain: openhermes-2.5-mistral-7b.Q8_0.gguf When using database agent this is how I am initiating things: `db = SQLDatabase.from_uri(sql_uri) model_path = "./openhermes-2.5-mistral-7b.Q8_0.gguf" n_gpu_layers = 1 # Change this value based on your model and your GPU VRAM pool. n_...
Langchain Database Agent with local LLM
https://api.github.com/repos/langchain-ai/langchain/issues/13826/comments
5
2023-11-24T21:49:25Z
2024-03-04T11:57:39Z
https://github.com/langchain-ai/langchain/issues/13826
2,010,243,906
13,826
[ "langchain-ai", "langchain" ]
### System Info Hello! I got this error while trying to run code from [docs](https://python.langchain.com/docs/integrations/tools/dalle_image_generator). I have Python 3.11.3, openai 1.3.5 and langchain 0.0.340 . ``` You tried to access openai.Image, but this is no longer supported in openai>=1.0.0 - see the RE...
getting an error with DallEAPIWrapper
https://api.github.com/repos/langchain-ai/langchain/issues/13825/comments
3
2023-11-24T20:46:33Z
2024-03-13T20:03:04Z
https://github.com/langchain-ai/langchain/issues/13825
2,010,209,501
13,825
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. My ChatOpenAI usually takes a response time of 1000 ms. I want the model to switch to either GooglePalm or some other language model when the response time of ChatOpenAI is large. Is it possible? ### Suggestion: _No response_
Is it possible to switch language models if the ms in the first model is large?
https://api.github.com/repos/langchain-ai/langchain/issues/13821/comments
2
2023-11-24T17:25:34Z
2024-03-13T19:56:31Z
https://github.com/langchain-ai/langchain/issues/13821
2,010,029,887
13,821
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I have the following piece of code: openai_llm = ChatOpenAI(model_name='gpt-3.5-turbo-1106', streaming=True, callbacks=[StreamingStdOutCallbackHandler()], temperature=0.5, max_retries=0) I still keep getting this error: urllib3.util.r...
URL Lib error doesn't get resolved.
https://api.github.com/repos/langchain-ai/langchain/issues/13816/comments
1
2023-11-24T14:18:22Z
2024-03-13T20:00:26Z
https://github.com/langchain-ai/langchain/issues/13816
2,009,801,860
13,816
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I've written this code to make sure that the max_retries count is 0. Even though I set that value in my LLM instance, It doesn't work. So I've decided to create a Custom WebBaseLoader. But I'm stuck on how to mount it and make sure that it works. would appreciate any help! `class ...
How to mount the custom Retry class with 0 retries to improve Fallbacks?
https://api.github.com/repos/langchain-ai/langchain/issues/13814/comments
1
2023-11-24T13:58:05Z
2023-11-24T15:15:47Z
https://github.com/langchain-ai/langchain/issues/13814
2,009,773,400
13,814
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I was recently trying to implement Fallbacks into my system but I've realized that even though there are other models that can be hit if there is a failure, I've noticed that this isn't happening. I tried to Debug it and this is the error I see. I keep getting this error even though ...
Urllib3 retry error fix with fallbacks.
https://api.github.com/repos/langchain-ai/langchain/issues/13811/comments
3
2023-11-24T11:20:31Z
2023-11-24T13:57:24Z
https://github.com/langchain-ai/langchain/issues/13811
2,009,558,007
13,811
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, I was recently trying to implement Fallbacks into my system but I've realized that even though there are other models that can be hit if there is a failure, I've noticed that this isn't happening. I tried to Debug it and this is the error I see. I keep getting this error even thoug...
Urllib Retry error help.
https://api.github.com/repos/langchain-ai/langchain/issues/13809/comments
1
2023-11-24T10:21:56Z
2023-11-24T11:19:25Z
https://github.com/langchain-ai/langchain/issues/13809
2,009,473,024
13,809
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi, sorry if I missed it, but I couldn't find in the documentation, here in issues nor through google an answer to this question: how can one compute perplexity score (for each generated token and/or a mean perplexity score for the whole output) during inference? In our use case, we use...
Issue: how to compute perplexity score during inference?
https://api.github.com/repos/langchain-ai/langchain/issues/13808/comments
3
2023-11-24T09:56:16Z
2024-03-17T16:06:26Z
https://github.com/langchain-ai/langchain/issues/13808
2,009,434,445
13,808
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
It’s so damn hard to use.
https://api.github.com/repos/langchain-ai/langchain/issues/13807/comments
3
2023-11-24T09:19:01Z
2024-03-13T19:55:50Z
https://github.com/langchain-ai/langchain/issues/13807
2,009,376,766
13,807
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hello I have to configure the langchain with PDF data, and the PDF contains a lot of unstructured table. We have a string and a table, so how do you recommend handling it? ### Suggestion: _No response_
how to handle a PDF(including tables..)
https://api.github.com/repos/langchain-ai/langchain/issues/13805/comments
7
2023-11-24T08:54:28Z
2024-04-18T16:34:48Z
https://github.com/langchain-ai/langchain/issues/13805
2,009,341,776
13,805
[ "langchain-ai", "langchain" ]
CypherQueryCorrector does not handle with some query types: If there is such a query (There is a comma in the match between clauses): ``` MATCH (a:APPLE {apple_id: 123})-[:IN]->(b:BUCKET), (ba:BANANA {name: banana1}) ``` Corresponding code section: - It extract a relation between BUCKET and BANANA, howev...
CypherQueryCorrector cannot validate a correct cypher, some query types are not handled
https://api.github.com/repos/langchain-ai/langchain/issues/13803/comments
4
2023-11-24T08:39:00Z
2023-11-27T03:30:12Z
https://github.com/langchain-ai/langchain/issues/13803
2,009,321,641
13,803
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Entering new SQLDatabaseChain chain... what is Gesh D desigation SQLQuery:SELECT [Designation] FROM [EGV_emp_departments_ChatGPT] WHERE [EmployeeName] = 'Gesh D' SQLResult: Answer:Final answer here > Finished chain. Final answer here below is my code # import os # import...
How to modify the code, If the SQLResult is empty, the Answer should be "No results found". DO NOT hallucinate an answer if there is no result.
https://api.github.com/repos/langchain-ai/langchain/issues/13802/comments
9
2023-11-24T08:18:06Z
2024-04-22T16:30:35Z
https://github.com/langchain-ai/langchain/issues/13802
2,009,296,023
13,802
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Encountered IndexError in the code due to an attempt to access a list index that is out of range. This issue occurs when there are no documents available, resulting in the deletion of all embeddings. To handle this case gracefully, consider implementing a mechanism to display a def...
Issue:Handle IndexError for Empty Document Lists - Display Default Value or Message
https://api.github.com/repos/langchain-ai/langchain/issues/13799/comments
3
2023-11-24T06:41:19Z
2024-03-13T19:56:37Z
https://github.com/langchain-ai/langchain/issues/13799
2,009,189,632
13,799
[ "langchain-ai", "langchain" ]
### Feature request Currently when initilizing the `MlflowCallbackHandler`, we can pass in name, experiment, tracking_uri. But couldn't pass in the `nested` param. ### Motivation It would be nice if we can do that, so that when there are multiple chains running, we can nest those runs under one parent run, making i...
Feat: MLFlow callback allow passing `nested` param
https://api.github.com/repos/langchain-ai/langchain/issues/13795/comments
1
2023-11-24T05:05:03Z
2024-03-13T20:04:39Z
https://github.com/langchain-ai/langchain/issues/13795
2,009,104,256
13,795
[ "langchain-ai", "langchain" ]
### System Info master branch ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loader...
ChatPromptTemplate save method not implemented
https://api.github.com/repos/langchain-ai/langchain/issues/13794/comments
1
2023-11-24T04:52:26Z
2024-03-13T20:04:59Z
https://github.com/langchain-ai/langchain/issues/13794
2,009,093,017
13,794
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. it seems my discord account has been hacked, so it auto send advertisement like below, and i thought it was official ads just like telegram and the ads only show to me, so I don't pay attention to it. <img width="503" alt="image" src="https://github.com/langchain-ai/langchain/assets/166...
Issue: please assist me in removing myself from the Discord blacklist.
https://api.github.com/repos/langchain-ai/langchain/issues/13793/comments
1
2023-11-24T03:13:29Z
2024-03-16T16:06:51Z
https://github.com/langchain-ai/langchain/issues/13793
2,009,030,550
13,793
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. can i define an agent using a llm chain or a conversationcain as a too? ### Suggestion: _No response_
Issue: can i define an agent using a llm chain or a conversationcain as a too?
https://api.github.com/repos/langchain-ai/langchain/issues/13792/comments
9
2023-11-24T02:15:35Z
2024-03-13T20:03:36Z
https://github.com/langchain-ai/langchain/issues/13792
2,008,978,562
13,792
[ "langchain-ai", "langchain" ]
### System Info $ python3 --version Python 3.11.6 $ pip show openai | grep Version Version: 1.3.5 $ pip show langchain | grep Version Version: 0.0.340 ### Who can help? Who wants to use AzureOpenai deployments with langchain, enabling last openai package versione 1.x.x. ### Information - [X] My...
Azure OpenAI (with openai module 1.x.x) seems not working anymore
https://api.github.com/repos/langchain-ai/langchain/issues/13785/comments
11
2023-11-23T18:06:59Z
2024-07-01T16:04:09Z
https://github.com/langchain-ai/langchain/issues/13785
2,008,648,479
13,785
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. How can I add the new parameter **JSON MODE** ( https://platform.openai.com/docs/guides/text-generation/json-mode ) to this snippet of code? ```python from langchain.chat_models import ChatOpenAI llm = ChatOpenAI( model_name="gpt-3.5-turbo-1106", temperature...
How to add json_object to ChatOpenAI class?
https://api.github.com/repos/langchain-ai/langchain/issues/13783/comments
6
2023-11-23T17:26:32Z
2024-05-16T16:07:54Z
https://github.com/langchain-ai/langchain/issues/13783
2,008,609,445
13,783
[ "langchain-ai", "langchain" ]
### Feature request Support auth token headers in langchain, when underlying model supports it. ### Motivation I'd like to use ChatAnthropic, but I'm using a custom proxy backend, where I need to provide Authorization header. This is simple using AnthropicClient directly as it accepts auth_token parameter. ...
Support auth header, when underlying client support it.
https://api.github.com/repos/langchain-ai/langchain/issues/13782/comments
1
2023-11-23T16:46:27Z
2024-03-13T20:02:24Z
https://github.com/langchain-ai/langchain/issues/13782
2,008,561,158
13,782
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. InMemoryCache works, but it doesn't print to stderr like all other LLM responses. I checked logs and response is stored. I don't know how to access to this stored values... ### Suggestion: option to view object or option to return values.
Issue: how to access to cached question and answer in InMemoryCache
https://api.github.com/repos/langchain-ai/langchain/issues/13778/comments
8
2023-11-23T13:14:19Z
2024-02-12T14:22:48Z
https://github.com/langchain-ai/langchain/issues/13778
2,008,213,482
13,778
[ "langchain-ai", "langchain" ]
### Issue with current documentation: if "our goal is to have the simplest developer setup possible", we shouldn't encourage mixing poetry with the use of conda and pip in [CONTRIBUTING.md](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md). Mixing differen...
DOC: Simplify CONTRIBUTING.md by removing conda and pip references
https://api.github.com/repos/langchain-ai/langchain/issues/13776/comments
1
2023-11-23T11:09:26Z
2024-03-13T19:56:04Z
https://github.com/langchain-ai/langchain/issues/13776
2,008,002,786
13,776
[ "langchain-ai", "langchain" ]
### Issue with current documentation: (import pandas as pd import json from IPython.display import Markdown, display from langchain.agents import create_csv_agent from langchain.chat_models import ChatOpenAI from langchain.llms import OpenAI import os os.environ["OPENAI_API_KEY"] = "" # Load the dataset ...
how to chain the lenght of context if i wanted use gpt-4 model because of increase token i can't use gpt 4 so how to chain the context
https://api.github.com/repos/langchain-ai/langchain/issues/13772/comments
1
2023-11-23T08:57:22Z
2024-03-13T20:02:21Z
https://github.com/langchain-ai/langchain/issues/13772
2,007,748,476
13,772
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. It stated in the docs that there's a parameter called response_if_no_docs_found, which If specified, the chain will return a fixed response if no docs are found for the question. I have tried it and asked another person, who says they tried it and it doesn't work, how do i get...
Issue: Conversational retrieval chain, response_if_no_docs_found not working
https://api.github.com/repos/langchain-ai/langchain/issues/13771/comments
2
2023-11-23T08:17:41Z
2024-03-13T19:57:37Z
https://github.com/langchain-ai/langchain/issues/13771
2,007,681,270
13,771
[ "langchain-ai", "langchain" ]
### Feature request JS LangChain (https://js.langchain.com/docs/integrations/chat/ollama_functions) supports Ollama Functions and allows to return JSON output from Ollama. It would be good to have the same functionality in Python LangChain. ### Motivation JSON response from LangChain Ollama would be very useful, whe...
JSON response support for Ollama
https://api.github.com/repos/langchain-ai/langchain/issues/13770/comments
1
2023-11-23T08:13:02Z
2024-03-13T19:55:41Z
https://github.com/langchain-ai/langchain/issues/13770
2,007,675,246
13,770
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am trying to create a vertex ai and langchain based entity extraction program. I have stored my documents in form of vector embeddings in chromadb. I have been trying to extract the attributes/features like name, price, etc but whenever i run chains I'm getting this error. ### Sugge...
_TextGenerationModel.predict() got an unexpected keyword argument 'functions'Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/13766/comments
4
2023-11-23T06:51:29Z
2024-03-17T16:06:22Z
https://github.com/langchain-ai/langchain/issues/13766
2,007,583,055
13,766
[ "langchain-ai", "langchain" ]
### Feature request Introduce a more flexible method to specify model parameters directly within the LLMChain or VLLM method, allowing users to modify these parameters without creating a new model instance each time. ### Motivation Currently, when utilizing the Langchain library's VLLM class, modifying model paramet...
Changing Model Param after Initialization VLLM Model
https://api.github.com/repos/langchain-ai/langchain/issues/13762/comments
2
2023-11-23T03:45:30Z
2024-04-22T16:52:00Z
https://github.com/langchain-ai/langchain/issues/13762
2,007,439,169
13,762
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I got 2 functions and 2 related tools: def Func_Tool_Extractor(parameters): print("\n", parameters) print("触发Func_Tool_Extractor插件") pdf_id, extractor_id_position = parameters.split(",") print(f"获取到pdf id为{pdf_id},这篇文档用户想要查询第{extractor_id_position}个分子") test_s...
Combine Tools Together in a Chain
https://api.github.com/repos/langchain-ai/langchain/issues/13760/comments
1
2023-11-23T03:12:58Z
2024-03-13T19:55:50Z
https://github.com/langchain-ai/langchain/issues/13760
2,007,415,465
13,760
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. HI there, I am trying to use Multiquery retiever on pinecone vectordb with multiple filters. I specifically need to use an OR operator. For example, I would like to retrieve documents with metadata having the metadata "category" : 'value1' OR 'value2' OR 'value3' this is my curren...
Pinecone MultiqueryRetriver with multiple OR metadata filters
https://api.github.com/repos/langchain-ai/langchain/issues/13758/comments
2
2023-11-23T00:55:10Z
2024-03-13T19:56:26Z
https://github.com/langchain-ai/langchain/issues/13758
2,007,320,637
13,758
[ "langchain-ai", "langchain" ]
### Feature request When I receive empty text from the Azure content filter, I need to temporarily switch to OpenAI and try again to get an answer. How can I achieve this functionality? ### Motivation Error handling for prod. High availability ### Your contribution pr
How to use a different OpenAI endpoint when Azure content filter applys ?
https://api.github.com/repos/langchain-ai/langchain/issues/13757/comments
3
2023-11-23T00:47:25Z
2024-03-13T19:56:29Z
https://github.com/langchain-ai/langchain/issues/13757
2,007,316,049
13,757
[ "langchain-ai", "langchain" ]
```python from langchain.memory import RedisChatMessageHistory history = RedisChatMessageHistory("foo") history.add_user_message("hi!") history.add_ai_message("whats up?") ``` {**<ins>"type": "human"**</ins>, "data": {"content": "hi!", "additional_kwargs": {}, <ins>**"type": "human"**</ins>, "example": fals...
MessageHistory type field serialized twice twice
https://api.github.com/repos/langchain-ai/langchain/issues/13755/comments
1
2023-11-22T23:55:16Z
2024-02-28T16:06:45Z
https://github.com/langchain-ai/langchain/issues/13755
2,007,263,917
13,755
[ "langchain-ai", "langchain" ]
### System Info Python 3.9.6, Langchain 0.0.334 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X...
GenericLoader.from_filesystem "exclude" not working
https://api.github.com/repos/langchain-ai/langchain/issues/13751/comments
4
2023-11-22T23:08:00Z
2024-03-13T19:55:44Z
https://github.com/langchain-ai/langchain/issues/13751
2,007,226,855
13,751
[ "langchain-ai", "langchain" ]
### System Info **Operating system/architecture:** Linux/X86_64 **CPU | Memory** 8 vCPU | 16 GB **Platform version** 1.4.0 **Launch type** FARGATE **Project libraries:** snowflake-sqlalchemy==1.4.6 python-dotenv==0.21.0 openai==0.27.2 langchain==0.0.336 pandas==2.0.2 boto3==1.26.144 colorama==0.4.6 f...
Random Application Lockdown on ECS Fargate with Langchain and FastAPI
https://api.github.com/repos/langchain-ai/langchain/issues/13750/comments
5
2023-11-22T22:56:07Z
2024-05-14T16:07:15Z
https://github.com/langchain-ai/langchain/issues/13750
2,007,218,514
13,750
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.339 Python version: 3.11.5 Running on Ubuntu 22.04.3 LTS via WSL 2 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts...
UTF-8 content is not loaded correctly with RecursiveUrlLoader
https://api.github.com/repos/langchain-ai/langchain/issues/13749/comments
1
2023-11-22T22:47:26Z
2024-02-28T16:06:55Z
https://github.com/langchain-ai/langchain/issues/13749
2,007,212,254
13,749
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.339 Laangserve version: 0.0.30 Langchain-cli version: 0.0.19 Running on apple silicone: MacBook Pro M3 max using a zsh shell. ### Who can help? @erick ### Information - [x] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components ...
Langchain-cli Does not install a usable binary.
https://api.github.com/repos/langchain-ai/langchain/issues/13743/comments
6
2023-11-22T19:54:42Z
2023-12-04T02:56:26Z
https://github.com/langchain-ai/langchain/issues/13743
2,007,028,867
13,743
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Some langchain objects are used but not imported in [Types of MessagePromptTemplate](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/msg_prompt_templates) documentation. Specifically, it lacks the following: ```python from langchain.prompts import ...
DOC: missing imports in "Types of MessagePromptTemplate"
https://api.github.com/repos/langchain-ai/langchain/issues/13736/comments
1
2023-11-22T18:08:15Z
2024-02-28T16:07:00Z
https://github.com/langchain-ai/langchain/issues/13736
2,006,867,499
13,736
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. **Description:** Hi, sir. I am currently developing an Agent for scientific tasks using Langchain. The first tool I intend to integrate is a function for generating a mesh, implemented through the external API `dolfinx`. However, I've encountered a compatibility issue between my Langcha...
Issue: <Handling Python Package Conflicts in Langchain When Integrating External APIs for Agent Tools>
https://api.github.com/repos/langchain-ai/langchain/issues/13734/comments
1
2023-11-22T17:59:25Z
2024-02-28T16:07:06Z
https://github.com/langchain-ai/langchain/issues/13734
2,006,847,641
13,734
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.339 windows11 python==3.10 ### Who can help? simple chain with tool code ,but not pass full input to tool cause '\n' ` model = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, verbose=False, streaming=True) custom_tool_list = [PythonREPLTool(),#CustomPythonExec() ...
chain input not pass into Python_REPL tool input by '\n'
https://api.github.com/repos/langchain-ai/langchain/issues/13730/comments
2
2023-11-22T16:15:52Z
2024-03-13T19:57:11Z
https://github.com/langchain-ai/langchain/issues/13730
2,006,686,650
13,730
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I followed the lecture by Harrison on langchain on deeplearning.ai and when i follow it I am getting error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever` to `get_relevant_documents`. Using the following code: ```python document_content_description = "L...
Issue: Error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever`
https://api.github.com/repos/langchain-ai/langchain/issues/13728/comments
3
2023-11-22T16:07:12Z
2023-11-24T17:09:20Z
https://github.com/langchain-ai/langchain/issues/13728
2,006,669,669
13,728
[ "langchain-ai", "langchain" ]
### System Info LangChain Version: 0.0.339 Platform: Windows 10 Python Version: 3.10.10 ### Who can help? @agol ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt...
RunnableBranch doesnt stream correctly
https://api.github.com/repos/langchain-ai/langchain/issues/13723/comments
7
2023-11-22T14:57:38Z
2024-03-23T16:06:11Z
https://github.com/langchain-ai/langchain/issues/13723
2,006,525,842
13,723
[ "langchain-ai", "langchain" ]
### Feature request it could be better where i can add a callback to get the total token spend on other LLMS apart from OPENAI ? ### Motivation since there is a call back for openai why don't we have for other models too just to see how much token is consumed ? ### Your contribution Happy to contribute to the issu...
get token count for other LLM Models
https://api.github.com/repos/langchain-ai/langchain/issues/13719/comments
5
2023-11-22T12:50:02Z
2024-05-13T16:08:52Z
https://github.com/langchain-ai/langchain/issues/13719
2,006,274,368
13,719
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi I am running the create_pandas_dataframe_agent agent, and the issue I'm facing is with the call back FinalStreamingStdOutCallbackHandler for some reason when I only have one civ it works fine as soon as I pass through multiple then it doesn't stream the data it just prints it all in...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/13717/comments
3
2023-11-22T11:54:27Z
2024-03-13T19:55:38Z
https://github.com/langchain-ai/langchain/issues/13717
2,006,180,319
13,717
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm using ```python from langchain.agents import create_pandas_dataframe_agent pd_agent = create_pandas_dataframe_agent(OpenAI(temperature=0), df, verbose=True) pd_agent.run('some question on dataframe') ``` ```python eng...
Agent as tool gives wrong result ( pandas agent)
https://api.github.com/repos/langchain-ai/langchain/issues/13711/comments
4
2023-11-22T08:56:25Z
2024-03-24T11:39:43Z
https://github.com/langchain-ai/langchain/issues/13711
2,005,863,753
13,711
[ "langchain-ai", "langchain" ]
### System Info Traceback (most recent call last): File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parsers/xml.py", line 2, in <module> import xml.etree.ElementTree as ET File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parse...
ModuleNotFoundError: No module named 'xml.etree'; 'xml' is not a package
https://api.github.com/repos/langchain-ai/langchain/issues/13709/comments
6
2023-11-22T08:36:24Z
2024-02-28T16:07:20Z
https://github.com/langchain-ai/langchain/issues/13709
2,005,831,934
13,709
[ "langchain-ai", "langchain" ]
### Feature request Given that the seed is already in beta phase, the system_fingerprint would also be highly useful in tracking deterministic responses. Suggest to add a `system_fingerprint` as part of the callbacks. https://api.python.langchain.com/en/latest/callbacks/langchain.callbacks.openai_info.OpenAICallbackHa...
Add system_fingerprint in OpenAI callbacks
https://api.github.com/repos/langchain-ai/langchain/issues/13707/comments
4
2023-11-22T08:24:18Z
2024-03-13T19:58:46Z
https://github.com/langchain-ai/langchain/issues/13707
2,005,812,732
13,707
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. This question may be stupid but I find nothing to refer to. I'm using langchain.chains.LLMChain in flask api, but I found that the chain will be reloaded and reconstructed if I call the api after a call. So the first question I wanna ask is how to make my LLMChain be remembered so that ...
Issue: how to remain the chain in different api calls?
https://api.github.com/repos/langchain-ai/langchain/issues/13697/comments
12
2023-11-22T03:33:38Z
2024-04-19T10:14:36Z
https://github.com/langchain-ai/langchain/issues/13697
2,005,499,791
13,697
[ "langchain-ai", "langchain" ]
### Issue with current documentation: There is a lack of comprehensive documentation on how to use load_qa_chain with memory. I've found this: https://cheatsheet.md/langchain-tutorials/load-qa-chain-langchain.en but does not cover other memories, like for example BufferedWindowMemory. I have the following memo...
DOC: how to use load_qa_chain with memory
https://api.github.com/repos/langchain-ai/langchain/issues/13696/comments
6
2023-11-22T03:29:40Z
2023-11-22T06:30:33Z
https://github.com/langchain-ai/langchain/issues/13696
2,005,494,274
13,696
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Hey guys! Below is the code which i'm using to get the output ``` import pandas as pd from IPython.display import Markdown, display from langchain.agents import create_csv_agent from langchain.chat_models import ChatOpenAI from langchain.llms import OpenAI import os os...
While utlizing the create_csv_agent function, the output is not returned in the JSON format
https://api.github.com/repos/langchain-ai/langchain/issues/13686/comments
1
2023-11-21T21:51:45Z
2024-02-14T03:35:23Z
https://github.com/langchain-ai/langchain/issues/13686
2,005,201,744
13,686
[ "langchain-ai", "langchain" ]
### System Info It appears that OpenAI's SDK v1.0.0 update introduced some needed migrations. Running the Langchain OpenAIModerationChain with OpenAI SDK >= v1.0.0 provides the following error: ``` You tried to access openai.Moderation, but this is no longer supported in openai>=1.0.0 - see the README at https://...
OpenAIModerationChain with OpenAI SDK >= v1.0.0 Broken
https://api.github.com/repos/langchain-ai/langchain/issues/13685/comments
9
2023-11-21T21:45:08Z
2024-05-10T22:20:32Z
https://github.com/langchain-ai/langchain/issues/13685
2,005,192,238
13,685
[ "langchain-ai", "langchain" ]
### System Info langchain version: 0.0.339 python: 3.9.17 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [...
[Issue] Error with Bedrock when AWS region is not specified or not in environment variable
https://api.github.com/repos/langchain-ai/langchain/issues/13683/comments
2
2023-11-21T21:28:42Z
2023-11-30T03:55:47Z
https://github.com/langchain-ai/langchain/issues/13683
2,005,167,112
13,683
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Hey guys! Below is the code which i'm working on ``` import pandas as pd from IPython.display import Markdown, display from langchain.agents import create_csv_agent from langchain.chat_models import ChatOpenAI from langchain.llms import OpenAI import os import pandas as ...
How to add prompt template to create_csv_agent?
https://api.github.com/repos/langchain-ai/langchain/issues/13682/comments
4
2023-11-21T21:26:28Z
2024-02-14T03:35:23Z
https://github.com/langchain-ai/langchain/issues/13682
2,005,164,418
13,682
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I have run the below code which will try to go through the csv file and return the answer ``` import pandas as pd import json from langchain.llms import OpenAI from langchain.chains import LLMChain openai_api_key = '' # Read CSV file into a DataFrame df = pd.read_csv...
Returning "ValidationError: 1 validation error for LLMChain prompt value is not a valid dict (type=type_error.dict)" while trying to run the LLMChain
https://api.github.com/repos/langchain-ai/langchain/issues/13681/comments
1
2023-11-21T21:15:55Z
2024-02-14T03:35:23Z
https://github.com/langchain-ai/langchain/issues/13681
2,005,150,371
13,681
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am using conversational retreival chain .from_llm(). If i try to print the final prompt that is been sent to LLM there i see LLM calls total 2 times. I will paste both the prompt in both calls. Below is the code i am using `qa_chain = ConversationalRetrievalChain.from_llm(llm=ll...
Issue: Queries on conversational retreival chain prompt
https://api.github.com/repos/langchain-ai/langchain/issues/13675/comments
4
2023-11-21T20:28:07Z
2024-02-27T16:05:54Z
https://github.com/langchain-ai/langchain/issues/13675
2,005,073,074
13,675
[ "langchain-ai", "langchain" ]
### System Info LangChain version: `0.0.339` Python version: `3.10` ### 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 Selectors - ...
Can not load chain with ChatPromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/13667/comments
1
2023-11-21T17:40:19Z
2023-11-27T16:39:51Z
https://github.com/langchain-ai/langchain/issues/13667
2,004,820,202
13,667
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am creating a tool that takes a multiple input arguments (say input1, input2). I would like to validate their types and also make sure that the tool only receives input1 and input2. How do I validate this without breaking the llm chain. I would instead like to return a warning to the l...
Issue: How to validate Tool input arguments without raising ValidationError
https://api.github.com/repos/langchain-ai/langchain/issues/13662/comments
19
2023-11-21T16:23:53Z
2024-07-29T16:06:18Z
https://github.com/langchain-ai/langchain/issues/13662
2,004,693,724
13,662
[ "langchain-ai", "langchain" ]
### System Info Langchain Version: 0.0.339 Python Version: 3.10.12 ### Who can help? @hwchase17 When trying to execute the example from the GraphSparqlQAChain docs a ValueError arises, in my understanding because it cannot parse the query correctly and execute it against the graph. ``` > Entering new GraphSp...
Error in executing SPARQL query with GraphSparqlQAChain and custom LLM (llamacpp)
https://api.github.com/repos/langchain-ai/langchain/issues/13656/comments
5
2023-11-21T14:51:15Z
2024-03-13T19:55:45Z
https://github.com/langchain-ai/langchain/issues/13656
2,004,456,391
13,656
[ "langchain-ai", "langchain" ]
### System Info Langchain 0.0.326 Windows Python 3.11.5 Nvidia P6-16Q GPU ### 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 Temp...
LlamaCppEmbeddings - fails if all available GPU layers are used.
https://api.github.com/repos/langchain-ai/langchain/issues/13655/comments
3
2023-11-21T14:42:36Z
2024-06-01T00:16:36Z
https://github.com/langchain-ai/langchain/issues/13655
2,004,439,132
13,655
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. To develop a scalable solution, I hoped to store the AgentExecutor object in centralized memory, such as Redis. However, due to its non-serializable nature, this has not been possible. Is there a workaround to achieve this? ### Suggestion: _No response_
Issue: Unable to Serialize AgentExecutor Object for Centralized Storage
https://api.github.com/repos/langchain-ai/langchain/issues/13653/comments
6
2023-11-21T14:03:40Z
2024-08-07T22:38:49Z
https://github.com/langchain-ai/langchain/issues/13653
2,004,360,284
13,653
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. def delete_embeddings(file_path, persist_directory): chroma_db = chromadb.PersistentClient(path=persist_directory) collection = chroma_db.get_or_create_collection(name="langchain") ids = collection.get(where={"source": file_path})['ids'] collection.delete(where={"so...
Issue: getting error in deletion of embeddings for a file
https://api.github.com/repos/langchain-ai/langchain/issues/13651/comments
2
2023-11-21T13:25:26Z
2024-02-27T16:06:04Z
https://github.com/langchain-ai/langchain/issues/13651
2,004,285,505
13,651
[ "langchain-ai", "langchain" ]
### System Info Ubuntu 22 python 3.10.12 Langchain==0.0.339 duckduckgo-search==3.9.6 ### Who can help? @timonpalm who created [the PR](https://github.com/langchain-ai/langchain/pull/8292) ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Compone...
ddg error: backend "news" is obsolete so should raise an error and example should be updated
https://api.github.com/repos/langchain-ai/langchain/issues/13648/comments
6
2023-11-21T12:10:21Z
2024-03-16T15:41:57Z
https://github.com/langchain-ai/langchain/issues/13648
2,004,139,873
13,648
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Im trying to develop an sql agent chatbot that will generate and exceute SQL queries based on the user free-text questions. so far I have developed a generic and basic agent with ChatGPT-4 and it worked pretty well (generated complex SQL and returned an answer). When I tried to switch ...
SQL Agent not working well with Claude v2 model
https://api.github.com/repos/langchain-ai/langchain/issues/13647/comments
3
2023-11-21T12:00:56Z
2024-04-09T08:50:03Z
https://github.com/langchain-ai/langchain/issues/13647
2,004,123,075
13,647
[ "langchain-ai", "langchain" ]
### Feature request Hello, I'm not sure if this is already supported or not, I couldn't find anything in the documentation. Is there a way to make chains support streaming ? It would be nice if we can get it working with something like the `load_summarize_chain`. Or something like this: ``` doc_...
Support for streaming in the langchain chains (eg., load_summarize_chain)
https://api.github.com/repos/langchain-ai/langchain/issues/13644/comments
3
2023-11-21T11:20:41Z
2024-03-13T19:55:39Z
https://github.com/langchain-ai/langchain/issues/13644
2,004,052,880
13,644
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Regarding: https://github.com/langchain-ai/langchain/blob/master/templates/rag-gpt-crawler/README.md I found 2 issues: 1. no such file as "server.py" ( there is "rag_gpt_crawler.ipynb" instead ) 2. in docs linked line `from rag_chroma import chain as rag_gpt_crawler` is no...
DOC: Template "rag-gpt-crawler" doc is incorrect
https://api.github.com/repos/langchain-ai/langchain/issues/13640/comments
2
2023-11-21T09:39:28Z
2023-11-22T22:06:11Z
https://github.com/langchain-ai/langchain/issues/13640
2,003,853,667
13,640
[ "langchain-ai", "langchain" ]
### Issue with current documentation: The documentation on [creating documents](https://js.langchain.com/docs/modules/data_connection/document_loaders/how_to/creating_documents) covers optional document metadata but doesn't mention that it's possible to create text metadata in `page_content`. For example if only a fil...
DOC: Text metadata
https://api.github.com/repos/langchain-ai/langchain/issues/13639/comments
2
2023-11-21T09:39:12Z
2023-11-24T10:28:28Z
https://github.com/langchain-ai/langchain/issues/13639
2,003,853,198
13,639
[ "langchain-ai", "langchain" ]
### Feature request Add a progress bar to `GooglePalmEmbeddings.embed_documents()` function. [tqdm](https://github.com/tqdm/tqdm) would work just fine. In my opinion, all embedders should have a progress bar. ### Motivation When processing embeddings the user should have an idea of how much time is going to take ...
Add progress bar to GooglePalmEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/13637/comments
3
2023-11-21T09:16:16Z
2024-02-27T16:06:19Z
https://github.com/langchain-ai/langchain/issues/13637
2,003,810,406
13,637
[ "langchain-ai", "langchain" ]
### System Info When using the Jira wrapper in LangChain to parse data from Jira tickets, the application encounters a TypeError if the ticket information is empty. This issue occurs specifically when the priority field of a ticket is not set, leading to a 'NoneType' object is not subscriptable error. ### Environme...
TypeError in Jira Wrapper When Parsing Empty Ticket Information
https://api.github.com/repos/langchain-ai/langchain/issues/13636/comments
3
2023-11-21T08:52:06Z
2024-02-27T16:06:24Z
https://github.com/langchain-ai/langchain/issues/13636
2,003,767,185
13,636
[ "langchain-ai", "langchain" ]
### System Info langchain 0.0.326 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors ...
Chain Type Refine Error: 1 validation error for RefineDocumentsChain prompt extra fields not permitted
https://api.github.com/repos/langchain-ai/langchain/issues/13635/comments
3
2023-11-21T08:36:32Z
2024-02-27T16:06:29Z
https://github.com/langchain-ai/langchain/issues/13635
2,003,734,187
13,635
[ "langchain-ai", "langchain" ]
### System Info Lanchain V: 0.339 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] ...
Langchain.schema.runnable now missing from docs?
https://api.github.com/repos/langchain-ai/langchain/issues/13631/comments
4
2023-11-20T23:53:15Z
2024-03-13T19:55:48Z
https://github.com/langchain-ai/langchain/issues/13631
2,003,206,976
13,631
[ "langchain-ai", "langchain" ]
### System Info LangChain Version: 0.0.339 Python version: 3.10.8 Windows 10 Enterprise 21H2 When creating a ConversationalRetrievalChain as follows: CONVERSATION_RAG_CHAIN_WITH_SUMMARY_BUFFER = ConversationalRetrievalChain( combine_docs_chain=combine_docs_chain, memory=summary_memory, retriever=rag_retri...
Potential Bug in ConversationalRetrievalChain - TypeError: can only concatenate str (not "CTransformers") to str | TypeError: can only concatenate str (not "AzureChatOpenAI") to str
https://api.github.com/repos/langchain-ai/langchain/issues/13628/comments
3
2023-11-20T23:14:44Z
2024-03-17T16:06:11Z
https://github.com/langchain-ai/langchain/issues/13628
2,003,171,128
13,628
[ "langchain-ai", "langchain" ]
### System Info LangChain Version: 0.0.339 Python version: 3.10.8 Windows 10 Enterprise 21H2 When creating a ConversationalRetrievalChain as follows: CONVERSATION_RAG_CHAIN_WITH_SUMMARY_BUFFER = ConversationalRetrievalChain( combine_docs_chain=combine_docs_chain, memory=summary_memory, retriev...
Potential Bug in Retriever.py: Can't instantiate abstract class BaseRetriever with abstract method _get_relevant_documents
https://api.github.com/repos/langchain-ai/langchain/issues/13624/comments
9
2023-11-20T21:27:06Z
2024-07-01T04:57:23Z
https://github.com/langchain-ai/langchain/issues/13624
2,003,033,612
13,624
[ "langchain-ai", "langchain" ]
### Feature request I have been using Ollama with Langchain for various tasks, but sometimes Ollama takes too long to respond depending on my local hardware. Is it possible to add a configurable timeout to the Ollama base class so that I can adjust this setting to avoid timeouts when using agents. Currently, I am gett...
Configurable timeout for Ollama
https://api.github.com/repos/langchain-ai/langchain/issues/13622/comments
3
2023-11-20T21:10:54Z
2023-11-20T21:36:40Z
https://github.com/langchain-ai/langchain/issues/13622
2,003,012,832
13,622
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. The compatible versions for library `pgvector` listed in `poetry.lock` are really old: `"pgvector (>=0.1.6,<0.2.0)"`. Are we able to update them to more recent ones? ### Suggestion: Update versions to recent ones.
Issue: `pgvector` versions in `poetry.lock` are really old
https://api.github.com/repos/langchain-ai/langchain/issues/13617/comments
3
2023-11-20T19:32:27Z
2024-03-17T16:06:06Z
https://github.com/langchain-ai/langchain/issues/13617
2,002,864,501
13,617
[ "langchain-ai", "langchain" ]
### System Info # Create and load Redis with documents vectorstore = RedisVectorStore.from_texts( texts=texts, metadatas=metadatas, embedding=embedding, index_name=index_name, redis_url=redis_url ) The error i faced Redis cannot be used as a vector database without RediSearch >=2.4...
ValueError: Redis failed to connect:
https://api.github.com/repos/langchain-ai/langchain/issues/13611/comments
4
2023-11-20T16:10:48Z
2024-06-19T11:39:45Z
https://github.com/langchain-ai/langchain/issues/13611
2,002,541,905
13,611
[ "langchain-ai", "langchain" ]
### System Info I encountered an exception and a type checking notice in PyCharm while working with the following code snippet: ``` split_documents = text_splitter.split_documents(raw_documents) cached_embedder.embed_documents(**split_documents**) ``` The type checking notice indicates that there is a mismatc...
Type Checking issue: CacheBackedEmbeddings.split_documents does not take a list of Documents
https://api.github.com/repos/langchain-ai/langchain/issues/13610/comments
3
2023-11-20T15:27:25Z
2024-02-26T16:05:48Z
https://github.com/langchain-ai/langchain/issues/13610
2,002,454,320
13,610
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hello, I am working on a conversational chatbot, here is a snippet of the code : ``` general_system_template = ""You a chatbot... --- {summaries}""" general_user_template = "Question: {question}" messages = [ SystemMessagePromptTemplate.from_template(general_system_te...
Issue: Validation errors for ConversationalRetrievalChain (combine_docs_chain)
https://api.github.com/repos/langchain-ai/langchain/issues/13607/comments
3
2023-11-20T13:30:37Z
2024-02-26T16:05:53Z
https://github.com/langchain-ai/langchain/issues/13607
2,002,214,770
13,607