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" ]
### Feature request When I use llama cpp for my case, I have [problems](https://github.com/ggerganov/llama.cpp/issues/2619). I've tried use "-esp 1e-5". It works well for me. But when I use ```from langchain.llms import LlamaCpp``` I get the same problems. However I dont know the way to pass parameters Thank you...
norm_eps parameters in LlamaCpp
https://api.github.com/repos/langchain-ai/langchain/issues/11169/comments
2
2023-09-28T11:48:48Z
2024-01-30T00:41:57Z
https://github.com/langchain-ai/langchain/issues/11169
1,917,344,258
11,169
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am writing a few apps that use LangChain and deploying them to AWS Lambda. My previous 2 lambdas are running smoothly, but the one I'm trying to deploy this week is giving me the following stack trace when the lambda is run: ``` "errorMessage": "[Errno 38] Function not implemented"...
Issue: Pinecone.from_documents cannot run on AWS Lambda because of multiprocessing
https://api.github.com/repos/langchain-ai/langchain/issues/11168/comments
13
2023-09-28T11:38:04Z
2024-05-11T23:12:40Z
https://github.com/langchain-ai/langchain/issues/11168
1,917,319,585
11,168
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.299 Python 3.10.13 OS: Windows 10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
[BUG] OutputParserException when using CSV agent as a tool for another agent
https://api.github.com/repos/langchain-ai/langchain/issues/11167/comments
5
2023-09-28T11:15:57Z
2023-10-05T13:33:50Z
https://github.com/langchain-ai/langchain/issues/11167
1,917,278,742
11,167
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.302 Pydantic 2.4.1 reproducing code: ``` from langchain.chains import create_extraction_chain_pydantic from langchain.chat_models import ChatOpenAI from pydantic import BaseModel, model_validator from typing import Any class TestData(BaseModel): company_name: st...
Runtime Exception in create_extraction_chain_pydantic (RuntimeError: no validator found)
https://api.github.com/repos/langchain-ai/langchain/issues/11166/comments
6
2023-09-28T11:09:25Z
2024-01-30T00:38:09Z
https://github.com/langchain-ai/langchain/issues/11166
1,917,264,832
11,166
[ "hwchase17", "langchain" ]
### System Info Hi Team, The issue is while calling the ChatAnthropic function with the right anthropic secret key. The type SecretStr is not getting resolved. Discussed over here:https://github.com/langchain-ai/langchain/pull/10724 ### Who can help? @josh ### Information - [ ] The official example notebooks/scri...
Argument 'value' has incorrect type (expected str, got SecretStr) (type=type_error) in chatAnthropic- Induced in 0.0.301
https://api.github.com/repos/langchain-ai/langchain/issues/11165/comments
4
2023-09-28T11:04:07Z
2023-10-03T12:20:10Z
https://github.com/langchain-ai/langchain/issues/11165
1,917,252,474
11,165
[ "hwchase17", "langchain" ]
### Feature request Add `hierarchy` key to Document metadata returned by `ConfluenceLoader`. So, for example if a page is located under the pages Page A/Page B, the `hierarchy` should be equal to `Page A/Page B` This could be achieved by calling the confluence endpoint using `expand = "ancestors"`. For exampl...
Add `hierarchy` key to Document metadata in `ConfluenceLoader`
https://api.github.com/repos/langchain-ai/langchain/issues/11163/comments
2
2023-09-28T10:33:12Z
2024-01-30T00:37:05Z
https://github.com/langchain-ai/langchain/issues/11163
1,917,192,653
11,163
[ "hwchase17", "langchain" ]
### Feature request It looks like most of the models of the `Completion` API have been marked as legacy and will be discontinued in early 2024. On Azure OpenAI I already no longer have access to non-chat models and I can't use the completion API with the newest get-35-turbo and gpt4 (0613). Shall we raise a war...
Raise a warning when using OpenAI and Azure OpenAI Completion API
https://api.github.com/repos/langchain-ai/langchain/issues/11159/comments
1
2023-09-28T09:27:24Z
2024-01-30T00:40:21Z
https://github.com/langchain-ai/langchain/issues/11159
1,917,083,704
11,159
[ "hwchase17", "langchain" ]
template = """Use the following pieces of context to answer the question at the end. If the answer can't be determined using only the information in the provided context simply output "NO ANSWER", just say that you don't know, don't try to make up an answer. Use three sentences maximum. Keep the answer as concise as p...
ISSUE: how can i get answer only based on vector store? If the context is not available in vector store
https://api.github.com/repos/langchain-ai/langchain/issues/11157/comments
9
2023-09-28T08:16:34Z
2024-02-14T16:10:19Z
https://github.com/langchain-ai/langchain/issues/11157
1,916,961,643
11,157
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am trying to run a PlanAndExecute agent. The load_agent_executor method call returns: "pydantic.v1.errors.ConfigError: field "retry_chain" not yet prepared so type is still a ForwardRef, you might need to call OutputFixingParser.update_forward_refs()." This is my code: `import os...
Issue: load_agent_executor returning ConfigError
https://api.github.com/repos/langchain-ai/langchain/issues/11156/comments
5
2023-09-28T08:11:27Z
2024-01-30T00:40:24Z
https://github.com/langchain-ai/langchain/issues/11156
1,916,953,343
11,156
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Python 3.10.7 langchain 0.0.301 I started exploring langchain features such as stuff mode, map reduce mode and refine mode. i would like to know more about the map reduce and refine modes further. my understanding is that if the token limit of a document exceeds then the documen...
Issue: While using Map Reduce Max number of limit exceed even though not exceed.
https://api.github.com/repos/langchain-ai/langchain/issues/11155/comments
14
2023-09-28T06:11:23Z
2024-02-15T16:09:20Z
https://github.com/langchain-ai/langchain/issues/11155
1,916,784,254
11,155
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using langchain version 0.0.281 and using Milvus as the vector store. For now, I have a Milvus-lite instance on my device. I tried using paritions with base vectorstore operations like `add_documents` and `similarity_search` and its working fine i.e it inserts and searches from the ...
Issue: Using Milvus partitions with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/11153/comments
2
2023-09-28T04:59:34Z
2023-09-28T09:13:26Z
https://github.com/langchain-ai/langchain/issues/11153
1,916,701,031
11,153
[ "hwchase17", "langchain" ]
### System Info when using PlanAndExecutor with guidance prompt of using tools, it does remember previously steps, which will make the pipeline fail as it doesn't know what's previously steps' ouput... <img width="822" alt="image" src="https://github.com/langchain-ai/langchain/assets/35717759/726a42c3-e4c9-4acf-9...
P
https://api.github.com/repos/langchain-ai/langchain/issues/11152/comments
4
2023-09-28T04:26:55Z
2024-02-10T16:16:27Z
https://github.com/langchain-ai/langchain/issues/11152
1,916,677,818
11,152
[ "hwchase17", "langchain" ]
### Issue with current documentation: [This link ](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/custom_prompt_template.html)references a code sample for a Custom Prompt (awesome stuff!) Pydantic updated their library and the code sample or library dependencies do not work anymore. T...
DOC: Custom Prompt example code does not work. Requires pydantic V2
https://api.github.com/repos/langchain-ai/langchain/issues/11150/comments
1
2023-09-28T03:40:36Z
2024-01-30T00:35:57Z
https://github.com/langchain-ai/langchain/issues/11150
1,916,646,925
11,150
[ "hwchase17", "langchain" ]
hi team, Can I feed different QA prompt into conversationRetrievalQA? I know to set the specific prompt according to knowledge vector store searched. For example, If document A be searched I would set the prompt-A for it, document B for prompt-B.
converstaionRetrievalQA with different prompt
https://api.github.com/repos/langchain-ai/langchain/issues/11149/comments
3
2023-09-28T03:37:06Z
2024-02-10T16:16:32Z
https://github.com/langchain-ai/langchain/issues/11149
1,916,644,707
11,149
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I followed the tutorial at [Code Understanding](https://python.langchain.com/docs/use_cases/code_understanding), loaded a small directory of test files into the db, and asked the question: `Ask a question: what ways would you simplify e2e_btc_mint_2auto.test.js?` The retriever, which...
ChromaDB retrieves irrelevant context
https://api.github.com/repos/langchain-ai/langchain/issues/11144/comments
2
2023-09-28T00:45:52Z
2023-12-31T14:21:31Z
https://github.com/langchain-ai/langchain/issues/11144
1,916,540,669
11,144
[ "hwchase17", "langchain" ]
### System Info Langchain version = 0.0.231 python = 3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Outp...
ValueError: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModel operation: Invalid prompt: prompt must start with " Human:" turn, prompt must end with " Assistant:" turn
https://api.github.com/repos/langchain-ai/langchain/issues/11130/comments
12
2023-09-27T19:20:13Z
2023-10-05T07:07:46Z
https://github.com/langchain-ai/langchain/issues/11130
1,916,177,170
11,130
[ "hwchase17", "langchain" ]
### Feature request The Google Cloud community would love to enjoy the full capabilities of Vertex AI models on top of Langchain. To this end, we would be able to access the metadata fields ([reference](https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/text#response_body)) as outputs of the Vertex ...
Feature: LLM Vertex AI metadata support
https://api.github.com/repos/langchain-ai/langchain/issues/11119/comments
2
2023-09-27T15:15:12Z
2024-01-30T00:36:04Z
https://github.com/langchain-ai/langchain/issues/11119
1,915,813,094
11,119
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.301 Python 3.10.12 Ubuntu 22.04 LTS ### Who can help? @hwchase17 (based on blame of langchain/agents/agent.py", line 622) ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Mo...
initialize_agent does not accept callable 'handle_parsing_errors', only bool ('value could not be parsed to a boolean')
https://api.github.com/repos/langchain-ai/langchain/issues/11118/comments
2
2023-09-27T15:11:23Z
2023-09-28T14:14:52Z
https://github.com/langchain-ai/langchain/issues/11118
1,915,806,213
11,118
[ "hwchase17", "langchain" ]
I am using `"langchain": "^0.0.89"` to use the _**MultiRetrievalQAChain**_. As i want to explore how can i use different namespaces in a single chain and the issue I am facing is that whenever i tried to pass a QA prompt to the _**MultiRetrievalQAChain**_ the model doesn't seems to be using the prompt for generatin...
Issue: Integrating QA prompt with MultiRetrievalQAChain
https://api.github.com/repos/langchain-ai/langchain/issues/11114/comments
4
2023-09-27T13:50:19Z
2024-01-30T00:36:06Z
https://github.com/langchain-ai/langchain/issues/11114
1,915,638,480
11,114
[ "hwchase17", "langchain" ]
### Feature request - `QianfanChatEndpoint` Or `ErnieBotChat` support function calling ### Motivation Neither `QianfanChatEndpoint` and `ErnieBotChat` supported ERNIE-Bot Function ability now. We need this for developing agent by function_call where is only supported by openai function_call AFAIK. ### Your contribu...
Feature: `QianfanChatEndpoint` Support function_call
https://api.github.com/repos/langchain-ai/langchain/issues/11105/comments
3
2023-09-27T10:36:19Z
2024-01-30T00:36:06Z
https://github.com/langchain-ai/langchain/issues/11105
1,915,226,169
11,105
[ "hwchase17", "langchain" ]
### Issue with current documentation: In the tutorial of using agent, link here: https://python.langchain.com/docs/modules/agents/ . The given codes are `from langchain.tools.render import format_tool_to_openai_function`, which leads to the error `ModuleNotFoundError: No module named 'langchain.tools.render'` ### Ide...
DOC: No module named 'langchain.tools.render'
https://api.github.com/repos/langchain-ai/langchain/issues/11103/comments
8
2023-09-27T10:01:17Z
2024-04-27T13:25:44Z
https://github.com/langchain-ai/langchain/issues/11103
1,915,148,870
11,103
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. version: 0.0.39 issus: ``` Traceback (most recent call last): File "xxxxxxxx/langchain/main.py", line 8, in <module> prompt = PromptTemplate.from_template(template) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'PromptTemplate' has no attribute 'from...
Issue: break change?
https://api.github.com/repos/langchain-ai/langchain/issues/11102/comments
4
2023-09-27T09:20:45Z
2023-09-28T08:33:17Z
https://github.com/langchain-ai/langchain/issues/11102
1,915,071,401
11,102
[ "hwchase17", "langchain" ]
### System Info **System Info** Using Lanchain version 0.0.301 Python 3.11.3 MS Windows 10 Enterprise ### Who can help? **Who can help?** @hwchase17 @eyurtsev @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Mode...
MultiVector Retriever: KeyError: 'doc_id'
https://api.github.com/repos/langchain-ai/langchain/issues/11099/comments
4
2023-09-27T05:28:48Z
2023-10-04T06:15:03Z
https://github.com/langchain-ai/langchain/issues/11099
1,914,726,710
11,099
[ "hwchase17", "langchain" ]
### Issue with current documentation: Under the https://python.langchain.com/docs/integrations/document_loaders/microsoft_sharepoint page - in step 10 the URL is wrong to obtain the Edm.guid property. The correct URL is https://<tenant>.sharepoint.com/sites/<site-name>/_api/web/id ### Idea or request for c...
DOC: Connecting Langchain to Microsoft SharePoint
https://api.github.com/repos/langchain-ai/langchain/issues/11097/comments
1
2023-09-27T04:59:40Z
2024-01-30T00:42:02Z
https://github.com/langchain-ai/langchain/issues/11097
1,914,701,580
11,097
[ "hwchase17", "langchain" ]
### System Info CHAT_PROMPT = ChatPromptTemplate( messages=[ SystemMessagePromptTemplate.from_template(general_system_template), # The `variable_name` here is what must align with memory MessagesPlaceholder(variable_name="chat_history"), HumanMessageProm...
System message not working with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/11096/comments
2
2023-09-27T04:57:24Z
2024-01-30T00:45:28Z
https://github.com/langchain-ai/langchain/issues/11096
1,914,699,772
11,096
[ "hwchase17", "langchain" ]
### System Info Name: langchain Version: 0.0.299 ### Who can help? @eyurtsev @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Out...
web_base loader is broken
https://api.github.com/repos/langchain-ai/langchain/issues/11095/comments
6
2023-09-27T04:57:02Z
2024-01-30T00:46:27Z
https://github.com/langchain-ai/langchain/issues/11095
1,914,699,506
11,095
[ "hwchase17", "langchain" ]
### Feature request I propose extending callback functionality to embedding models in general so that the same OpenAICallbackHandler can be used to keep track of embedding model costs. ### Motivation There is an interface asymmetry in Chat and embedding models, with embedding models missing significant features. ##...
Embedding calls should support callbacks
https://api.github.com/repos/langchain-ai/langchain/issues/11093/comments
1
2023-09-27T01:30:43Z
2024-01-30T00:42:02Z
https://github.com/langchain-ai/langchain/issues/11093
1,914,527,874
11,093
[ "hwchase17", "langchain" ]
### System Info Langchain: 0.0.302 ### Who can help? @hwchase17 @ag ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Docu...
create_pandas_dataframe_agent - OutputParserException: Could not parse LLM output: `
https://api.github.com/repos/langchain-ai/langchain/issues/11088/comments
3
2023-09-26T23:20:15Z
2024-04-11T16:16:58Z
https://github.com/langchain-ai/langchain/issues/11088
1,914,429,441
11,088
[ "hwchase17", "langchain" ]
### Issue with current documentation: The broken link in question: https://python.langchain.com/docs/modules/memory/how_to/adding_memory.html The offending hyperlink: ![image](https://github.com/langchain-ai/langchain/assets/16566003/4151cf9a-174d-48f4-94a0-15bb051cf94d) The page where the above is found: https...
DOC: Python Documentation has a broken link in the "Memory in Agent" page
https://api.github.com/repos/langchain-ai/langchain/issues/11086/comments
1
2023-09-26T21:23:41Z
2023-09-26T21:24:26Z
https://github.com/langchain-ai/langchain/issues/11086
1,914,326,469
11,086
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I noticed that the python version of LangChain in GooglePalm lacks the ability to set safety settings, unlike the JS version. ### Suggestion: -
Issue: GooglePalm safety settings on Python
https://api.github.com/repos/langchain-ai/langchain/issues/11085/comments
1
2023-09-26T21:00:55Z
2024-03-16T16:04:51Z
https://github.com/langchain-ai/langchain/issues/11085
1,914,299,056
11,085
[ "hwchase17", "langchain" ]
### System Info ![image](https://github.com/langchain-ai/langchain/assets/9436757/3e5a6899-c01f-45ef-9458-942d69f3fe38) My Langchain is upto date and credentials are also perfectly fine. I am importing SQLDatabaseSequentialChain from langchain_experimental.sql package Still I am getting the following error. Any ...
Validation errors for SQLDatabaseSequentialChain
https://api.github.com/repos/langchain-ai/langchain/issues/11084/comments
3
2023-09-26T20:25:10Z
2024-01-30T00:43:45Z
https://github.com/langchain-ai/langchain/issues/11084
1,914,246,932
11,084
[ "hwchase17", "langchain" ]
null
Pyannote 3.0
https://api.github.com/repos/langchain-ai/langchain/issues/11083/comments
0
2023-09-26T19:56:03Z
2023-09-26T19:57:07Z
https://github.com/langchain-ai/langchain/issues/11083
1,914,203,378
11,083
[ "hwchase17", "langchain" ]
### System Info - Langchain v0.0.301 - Python 3.9.6 - Mac M2 ### 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 - [ ] ...
SequentialChain returns "Chain returned keys that already exist: {'text'} (type=value_error)"
https://api.github.com/repos/langchain-ai/langchain/issues/11081/comments
6
2023-09-26T19:37:57Z
2024-01-30T00:40:25Z
https://github.com/langchain-ai/langchain/issues/11081
1,914,178,347
11,081
[ "hwchase17", "langchain" ]
### System info: langchain 0.0.289 python 3.10 ### Report: I'm doing experiments with sql agent from langchain. I created three tables in database (employees, customers and suppliers) First, I ran it on the GPT3-5 model: ``` llm=ChatOpenAI(temperature=0) toolkit = SQLDatabaseToolkit(db=db, llm=llm) agent_e...
Issue: sqlagent doesn't work when I use GPT-4
https://api.github.com/repos/langchain-ai/langchain/issues/11076/comments
1
2023-09-26T16:33:51Z
2023-09-26T16:46:27Z
https://github.com/langchain-ai/langchain/issues/11076
1,913,896,616
11,076
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. How can I use the metadata information from retriever? I noticed that only page_content is being used whenever I retrieved information from a chain. Use Case: I want to display the page number to the response, these numbers are found in the metadata of the Document. ### Suggestion...
Retriever and Chain to use metadata
https://api.github.com/repos/langchain-ai/langchain/issues/11071/comments
3
2023-09-26T15:05:42Z
2024-01-30T00:36:08Z
https://github.com/langchain-ai/langchain/issues/11071
1,913,727,561
11,071
[ "hwchase17", "langchain" ]
### System Info Python v. 3.10.12 Langchain v. 0.0.301 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
Getting "content_filter" as finish_reason from LLMChain.generate without prompting any sensitive content
https://api.github.com/repos/langchain-ai/langchain/issues/11069/comments
8
2023-09-26T13:48:55Z
2024-05-10T16:06:55Z
https://github.com/langchain-ai/langchain/issues/11069
1,913,559,882
11,069
[ "hwchase17", "langchain" ]
### System Info Hi - been trying to get langchain sql agent to describe a nested table within bigquery but getting the following error: parameters: {'param_1': 3}] (Background on this error at: https://sqlalche.me/e/14/4xp6) Does this mean that it cant work with nested tables and instead I need to turn the tabl...
LangChain SQL agent unable to describe a nested bigQuery table
https://api.github.com/repos/langchain-ai/langchain/issues/11068/comments
15
2023-09-26T13:29:55Z
2024-03-28T16:06:28Z
https://github.com/langchain-ai/langchain/issues/11068
1,913,520,207
11,068
[ "hwchase17", "langchain" ]
### System Info LangChain version: **0.0.301** **Python 3.9.6** System Version: **macOS 13.5.2 (22G91)** Kernel Version: **Darwin 22.6.0** ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Mod...
ValueError Regarding Required Metadata Variables When Using RedisVectorStoreRetrieverWithScores
https://api.github.com/repos/langchain-ai/langchain/issues/11062/comments
7
2023-09-26T11:05:20Z
2024-02-12T16:13:24Z
https://github.com/langchain-ai/langchain/issues/11062
1,913,261,586
11,062
[ "hwchase17", "langchain" ]
### System Info After the latest [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7) it seems that the asynchronous streaming has been missing from libs/langchain/langchain/chat_models/bedrock.py. Why is that? The PR included it, while ...
BedrockChat has _astream missing
https://api.github.com/repos/langchain-ai/langchain/issues/11061/comments
5
2023-09-26T10:58:00Z
2024-02-05T16:52:23Z
https://github.com/langchain-ai/langchain/issues/11061
1,913,250,008
11,061
[ "hwchase17", "langchain" ]
### Feature request Here: https://github.com/langchain-ai/langchain/blob/a2f7246f0eeafff29b63c90d45ec9e9eb6c21812/libs/langchain/langchain/chains/combine_documents/refine.py#L153C1-L153C1 And here: https://github.com/langchain-ai/langchain/blob/a2f7246f0eeafff29b63c90d45ec9e9eb6c21812/libs/langchain/langchain/cha...
Refine chain using generator or custom callbacks
https://api.github.com/repos/langchain-ai/langchain/issues/11058/comments
3
2023-09-26T10:13:12Z
2024-05-09T16:07:08Z
https://github.com/langchain-ai/langchain/issues/11058
1,913,176,650
11,058
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have one csv file in which 1000 rows and 9 columns are available . When I asked to my agent, provide me the top 10 records, it returns half-unfinished response. ``` from langchain.llms import OpenAI from langchain.chat_models import ChatOpenAI from langchain.agents.agent_types i...
Issue: create_csv_agent return the half-unfinished response
https://api.github.com/repos/langchain-ai/langchain/issues/11056/comments
4
2023-09-26T08:15:03Z
2024-01-30T00:37:05Z
https://github.com/langchain-ai/langchain/issues/11056
1,912,956,333
11,056
[ "hwchase17", "langchain" ]
### System Info Python 3.11.4 langchain 0.0.301 PyGithub 1.59.1 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [...
Github toolkits create_file always return 404 when file does not exists
https://api.github.com/repos/langchain-ai/langchain/issues/11055/comments
2
2023-09-26T07:54:00Z
2024-01-30T00:42:06Z
https://github.com/langchain-ai/langchain/issues/11055
1,912,920,234
11,055
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. 'from langchain.embeddings import TensorflowHubEmbeddings' has a model_url parameter to input the embedding model as a url, but I want to use the downloaded embedding model. ### Suggestion: I would like to be able to embed text offline by using the downloaded tensorflow embedding model...
Use embedding model downloaded from tensorflow hub
https://api.github.com/repos/langchain-ai/langchain/issues/11054/comments
1
2023-09-26T07:28:32Z
2024-01-30T00:37:09Z
https://github.com/langchain-ai/langchain/issues/11054
1,912,873,338
11,054
[ "hwchase17", "langchain" ]
### System Info My installed versions of LangChain: ``` langchain 0.0.292 langchain-experimental 0.0.20 ``` Running in notebook on M1 MBP. ### Who can help? @hwchase17 ### Information - [x] The official example notebooks/scripts - [x] My own modified scripts ### Related Componen...
SQLDatabaseChain.run with Llama 2 caused Chain run OperationalError
https://api.github.com/repos/langchain-ai/langchain/issues/11048/comments
6
2023-09-26T03:55:32Z
2024-02-23T16:07:37Z
https://github.com/langchain-ai/langchain/issues/11048
1,912,630,510
11,048
[ "hwchase17", "langchain" ]
### Feature request Hi, I'm using the Anthropic Claude V2 model through Amazon Bedrock. I'd like to submit a feature request for function calling simialr to `langchain_experimental.llms.anthropic_functions.AnthropicFunctions` ### Motivation A large amount of people are using Anthropic's models through Bedrock #...
AnthropicFunctions with Bedrock
https://api.github.com/repos/langchain-ai/langchain/issues/11045/comments
4
2023-09-26T01:49:33Z
2024-02-14T16:10:28Z
https://github.com/langchain-ai/langchain/issues/11045
1,912,538,506
11,045
[ "hwchase17", "langchain" ]
### System Info python3 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
Issue with Sagemaker
https://api.github.com/repos/langchain-ai/langchain/issues/11042/comments
2
2023-09-26T00:27:24Z
2024-01-30T00:42:06Z
https://github.com/langchain-ai/langchain/issues/11042
1,912,478,132
11,042
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.295 Python 3.11.5 pinecone-client 2.2.4 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Promp...
Call to langchain.vectorstores.pinecone.add_texts needs to use deepcopy for metadata
https://api.github.com/repos/langchain-ai/langchain/issues/11035/comments
2
2023-09-25T21:31:26Z
2024-01-30T00:42:10Z
https://github.com/langchain-ai/langchain/issues/11035
1,912,312,968
11,035
[ "hwchase17", "langchain" ]
### Discussed in https://github.com/langchain-ai/langchain/discussions/8630 <div type='discussions-op-text'> <sup>Originally posted by **matthewosm** August 2, 2023</sup> Hi I'm using WebResearchRetriever to do materials research, unfortunately the top results are often PDFs so I get the error: `langchain.do...
WebResearchRetriever fails on PDF files
https://api.github.com/repos/langchain-ai/langchain/issues/11031/comments
3
2023-09-25T19:52:59Z
2024-04-02T16:05:54Z
https://github.com/langchain-ai/langchain/issues/11031
1,912,185,273
11,031
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Breaking change in 0.0.300 from 0.0.299. 3.0.0 gets `Exception building prompt: predict() got an unexpected keyword argument 'stop_sequences'"` when the RetrievalQA chain calls `combine_documents_chain.run` for a "stuff" chain. Root cause was a change in `_VertexAIBase` in [this co...
Issue: 0.0.300 gives `Exception building prompt: predict() got an unexpected keyword argument 'stop_sequences'"`
https://api.github.com/repos/langchain-ai/langchain/issues/11029/comments
0
2023-09-25T19:11:52Z
2023-09-25T19:12:15Z
https://github.com/langchain-ai/langchain/issues/11029
1,912,125,971
11,029
[ "hwchase17", "langchain" ]
### Issue with current documentation: There's no example on serialized format of chat template: https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/prompt_serialization Yet langchain hub already offer such template https://smith.langchain.com/hub/homanp/superagent What would be a serial...
DOC: What's Serialized format of ChatPromptTemplate from langchain hub?
https://api.github.com/repos/langchain-ai/langchain/issues/11024/comments
2
2023-09-25T18:32:36Z
2024-01-30T00:48:03Z
https://github.com/langchain-ai/langchain/issues/11024
1,912,066,916
11,024
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a simple Retrieval QA chain that used to work proprerly. Here's an example : ![image](https://github.com/langchain-ai/langchain/assets/48955402/7242d7b9-e11a-4a00-8070-bf53b7d6c708) But now, without any modifications to the code, it always returns me an empty string as a resu...
Issue: <Retrieval QA returns empty result>
https://api.github.com/repos/langchain-ai/langchain/issues/11015/comments
7
2023-09-25T14:01:45Z
2024-02-20T04:48:21Z
https://github.com/langchain-ai/langchain/issues/11015
1,911,582,342
11,015
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The goal is to use custom prompt template with retrievalqa chain. I have included my code below. You can see that PromptTemplate includes the input variables ['context', 'persona', 'question'], but I can't figure out where to pass in the 'persona' variable. Some examples of a 'persona' ...
Issue: How to use custom prompt template with retrievalqa chain
https://api.github.com/repos/langchain-ai/langchain/issues/11014/comments
12
2023-09-25T13:48:24Z
2024-03-20T05:56:18Z
https://github.com/langchain-ai/langchain/issues/11014
1,911,555,203
11,014
[ "hwchase17", "langchain" ]
### System Info i am using langchain mapreduce to summarize long text, by loading local llm(chatglm2-6B), but when i run code, get the below error,I do not have access to https://huggingface.co/ from my environment, how could i solve the question? **error:** HTTPSConnectionPool(host='huggingface.co', port=443): M...
connect timeout when using mapreduce to summary ,how to avoid to access huggingface ?
https://api.github.com/repos/langchain-ai/langchain/issues/11011/comments
12
2023-09-25T12:26:27Z
2024-03-19T17:18:10Z
https://github.com/langchain-ai/langchain/issues/11011
1,911,400,410
11,011
[ "hwchase17", "langchain" ]
### System Info RTX 3090 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
Challenges working with llamacpp with Langchain https://python.langchain.com/docs/use_cases/code_understanding
https://api.github.com/repos/langchain-ai/langchain/issues/11008/comments
8
2023-09-25T09:09:58Z
2024-01-30T00:42:10Z
https://github.com/langchain-ai/langchain/issues/11008
1,911,032,039
11,008
[ "hwchase17", "langchain" ]
### System Info from langchain.document_loaders import DirectoryLoader, UnstructuredMarkdownLoader from langchain.text_splitter import MarkdownTextSplitter try: loader_pdf = DirectoryLoader('data/', glob="**/*.md", loader_cls=UnstructuredMarkdownLoader) documents = loader_pdf.load() print(documents) ...
UnstructuredMarkdownLoader load 报错 Ran out of input
https://api.github.com/repos/langchain-ai/langchain/issues/11003/comments
2
2023-09-25T06:34:47Z
2024-01-30T00:53:45Z
https://github.com/langchain-ai/langchain/issues/11003
1,910,772,467
11,003
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ![image](https://github.com/langchain-ai/langchain/assets/75439567/70de0078-caa6-4dc1-902d-c911e6aa1c8e) ### Suggestion: I am using model chatgpt 3.5 . But I got errror . Why i get this error . Can U help me to find solution for it . data in my database is so big . So upgrading model...
Issue: <This model's maximum context length is 4097 tokens, however you requested 4226 tokens>
https://api.github.com/repos/langchain-ai/langchain/issues/11001/comments
2
2023-09-25T05:04:19Z
2024-01-30T00:40:28Z
https://github.com/langchain-ai/langchain/issues/11001
1,910,668,968
11,001
[ "hwchase17", "langchain" ]
### System Info I am developing a chatbot (surprise!) for our company, and I have previously been able to execute the following code used by Agent: ```python chain = RetrievalQAWithSourcesChain.from_llm( llm=llm, retriever=vectorstore.as_retriever(), max_tokens_limit=3000, reduce_k_below_max_...
Error "expected string or buffer" when trying to use RetrievalQAWithSourcesChain as Tool for Agent
https://api.github.com/repos/langchain-ai/langchain/issues/10997/comments
3
2023-09-25T02:42:31Z
2023-10-02T08:21:39Z
https://github.com/langchain-ai/langchain/issues/10997
1,910,551,109
10,997
[ "hwchase17", "langchain" ]
### System Info Langchain v0.0.225 ### 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 - [X] Documen...
Support for CPP in LangaugeParser is not complete
https://api.github.com/repos/langchain-ai/langchain/issues/10996/comments
2
2023-09-25T01:20:56Z
2024-02-13T16:45:51Z
https://github.com/langchain-ai/langchain/issues/10996
1,910,489,760
10,996
[ "hwchase17", "langchain" ]
I'm encountering an error when running the code snippet below. The error doesn't occur when I use AzureCognitiveSearchRetriever as the retriever, but persists with `retriever2 = AzureSearchVectorStoreRetriever(vectorstore=vector_store, search_type="hybrid", k=8)`. Appreciate the help, thank you! ``` chain35 = ...
Issue: TypeError: request() got an unexpected keyword argument 'vectors' when using AzureSearchVectorStore
https://api.github.com/repos/langchain-ai/langchain/issues/10995/comments
2
2023-09-25T00:41:22Z
2024-03-18T16:05:35Z
https://github.com/langchain-ai/langchain/issues/10995
1,910,456,017
10,995
[ "hwchase17", "langchain" ]
### System Info langchain "^0.0.300" Windows Subsystem for Linux Python 3.11.5 Supabase Postgres PGVector ### Who can help? @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts /...
SupabaseVectorStore as_retriever raises ValueError
https://api.github.com/repos/langchain-ai/langchain/issues/10994/comments
7
2023-09-25T00:31:06Z
2024-07-08T13:40:48Z
https://github.com/langchain-ai/langchain/issues/10994
1,910,447,958
10,994
[ "hwchase17", "langchain" ]
### Feature request I used the Custom LLM Chat Model Agent and created my agent like this: ``` class CustomPromptTemplate(StringPromptTemplate): template: str tools: List[Tool] def format(self, **kwargs) -> str: # Get the intermediate steps (AgentAction, Observation tuples) # For...
Better usage of the Template Prompt: More Structure
https://api.github.com/repos/langchain-ai/langchain/issues/10992/comments
2
2023-09-24T20:48:02Z
2024-01-30T00:43:41Z
https://github.com/langchain-ai/langchain/issues/10992
1,910,374,299
10,992
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I run the following line: db = Chroma.from_documents(documents=chunks, embedding=embeddings, persist_directory=persist_directory) I get the error "You are using a deprecated configuration of Chroma." I need to know what the new form of Chroma.from_documents() function is so t...
Error with db = Chroma.from_documents(documents=chunks, embedding=embeddings, persist_directory=persist_directory)
https://api.github.com/repos/langchain-ai/langchain/issues/10990/comments
5
2023-09-24T19:40:20Z
2023-11-09T05:19:35Z
https://github.com/langchain-ai/langchain/issues/10990
1,910,354,977
10,990
[ "hwchase17", "langchain" ]
### Feature request Add to_dict() function implementation to Memory classes such as BaseMemory, ConversationBufferMemory, etc. ### Motivation Currently, we cannot use the JSON library to JSONIFY or Serialize the contents of the memory classes. This may be important if we want to persist the memory in DB for re...
Add to_dict() implementation to Memory classes which are non-serializable
https://api.github.com/repos/langchain-ai/langchain/issues/10987/comments
2
2023-09-24T15:25:52Z
2024-02-06T16:29:22Z
https://github.com/langchain-ai/langchain/issues/10987
1,910,272,535
10,987
[ "hwchase17", "langchain" ]
null
Host the LLM model
https://api.github.com/repos/langchain-ai/langchain/issues/10986/comments
1
2023-09-24T14:29:16Z
2023-09-24T14:35:08Z
https://github.com/langchain-ai/langchain/issues/10986
1,910,254,862
10,986
[ "hwchase17", "langchain" ]
### Issue with current documentation: I tried to load LLama2-7b model from huggingface using HuggingFacePipeline.from_model_id but throws a value error: ValueError: The model has been loaded with `accelerate` and therefore cannot be moved to a specific device. Please discard the `device` argument when creating your pi...
DOC: HuggingFacePipeline.from_model_id throws Value error
https://api.github.com/repos/langchain-ai/langchain/issues/10985/comments
6
2023-09-24T13:19:09Z
2024-05-17T16:06:38Z
https://github.com/langchain-ai/langchain/issues/10985
1,910,232,099
10,985
[ "hwchase17", "langchain" ]
Hi. I'm using [Vercel's ai-chatbot template](https://github.com/vercel-labs/ai-chatbot) to prototype my application. I was wondering how I can convert the chat api call👇🏾 to use LangChain. I've been able to find examples that work, but I don't know how to have it so that I still use Vercel's KV database with LangCha...
I want to use LangChain in Vercel's ai-chatbot template
https://api.github.com/repos/langchain-ai/langchain/issues/10982/comments
4
2023-09-24T05:34:50Z
2024-01-30T00:37:09Z
https://github.com/langchain-ai/langchain/issues/10982
1,910,108,891
10,982
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi , I'm using the SiteMap Loader as a document Loader , and I want to filter the lastmod metadata for the 2023 year only and nothing else, is it possible? Here is my code: `# fixes a bug with asyncio and jupyter import nest_asyncio nest_asyncio.apply() from langchain.document_...
Issue: I want to load SitemapLoader but only 2023 lastmod pages.
https://api.github.com/repos/langchain-ai/langchain/issues/10981/comments
4
2023-09-24T03:16:22Z
2024-01-30T00:43:48Z
https://github.com/langchain-ai/langchain/issues/10981
1,910,074,970
10,981
[ "hwchase17", "langchain" ]
### System Info Python==3.11.5 langchain==0.0.300 llama_cpp_python==0.2.6 chromadb==0.4.12 Running on Windows and on CPU ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embe...
cant store embeddings from llama_cpp_python
https://api.github.com/repos/langchain-ai/langchain/issues/10978/comments
3
2023-09-23T21:29:01Z
2024-02-08T16:24:11Z
https://github.com/langchain-ai/langchain/issues/10978
1,910,006,050
10,978
[ "hwchase17", "langchain" ]
### System Info Name: langchain Version: 0.0.300 Summary: Building applications with LLMs through composability Home-page: https://github.com/langchain-ai/langchain Author: None Author-email: None License: MIT Location: /anaconda/envs/azureml_py38/lib/python3.8/site-packages Requires: requests, jsonpatch, data...
ReAct Agent doesn't execute
https://api.github.com/repos/langchain-ai/langchain/issues/10976/comments
4
2023-09-23T17:12:11Z
2023-12-30T16:04:58Z
https://github.com/langchain-ai/langchain/issues/10976
1,909,939,040
10,976
[ "hwchase17", "langchain" ]
### Feature request The current HuggingFaceEndpoint class supports several tasks like text generation and summarization but lacks support for text classification. This feature request aims to extend the class to handle text classification tasks. ### Motivation I am working on a project and I find myself having t...
Extend HuggingFaceEndpoint Class to Support Text Classification Endpoints
https://api.github.com/repos/langchain-ai/langchain/issues/10972/comments
3
2023-09-23T11:59:43Z
2023-12-30T16:05:03Z
https://github.com/langchain-ai/langchain/issues/10972
1,909,843,858
10,972
[ "hwchase17", "langchain" ]
### System Info Doing experiment on google collab using llam2 7b quantized model below is my code agent with memory & i tried A gentExecutor ``` source_text_tool = Tool( name="The Prophet Source Text QA System", func=prophet_qa_chain.run, description="Useful when asked question rela...
OutputParserException: Could not parse LLM output
https://api.github.com/repos/langchain-ai/langchain/issues/10970/comments
2
2023-09-23T05:24:56Z
2023-12-30T16:05:09Z
https://github.com/langchain-ai/langchain/issues/10970
1,909,720,016
10,970
[ "hwchase17", "langchain" ]
### Feature request Currently in OpenSearch vector store while using the function `from_texts` it doesn't take `ids` as a parameter, so if multiple times the code is run for same documents the data gets duplicated. Which results in duplicated response being returned. To fix this we just need to pass `ids` as option...
add support for passing of ids in from_texts in OpenSearch vector store
https://api.github.com/repos/langchain-ai/langchain/issues/10967/comments
0
2023-09-22T22:44:13Z
2023-10-10T16:29:37Z
https://github.com/langchain-ai/langchain/issues/10967
1,909,594,912
10,967
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello everyone, I have HuggingFaceTextGenInference API running on my server with **authentication token**. I would like to call this API through Langchain. So, I am using the following code: ``` from langchain.llms import HuggingFaceTextGenInference llm = HuggingFaceTextGenInfe...
Authentication to HuggingFaceTextGenInference API running on custom server
https://api.github.com/repos/langchain-ai/langchain/issues/10965/comments
2
2023-09-22T22:39:06Z
2023-12-30T16:05:14Z
https://github.com/langchain-ai/langchain/issues/10965
1,909,592,111
10,965
[ "hwchase17", "langchain" ]
I just got here from a Twitter link that a colleague sent me (https://twitter.com/llm_sec/status/1668711587287375876?s=20). I'm only a causal observer (not a Langchain user or contributor), but I thought it might be good to drop these links in case you're unaware of the ways that attackers can escape from...
I just got here from a Twitter link that a colleague sent me (https://twitter.com/llm_sec/status/1668711587287375876?s=20). I'm only a causal observer (not a Langchain user or contributor), but I thought it might be good to drop these links in case you're unaware of the ways that attackers can escape from AST-based Pyt...
https://api.github.com/repos/langchain-ai/langchain/issues/10962/comments
1
2023-09-22T20:51:22Z
2023-12-30T16:05:19Z
https://github.com/langchain-ai/langchain/issues/10962
1,909,505,147
10,962
[ "hwchase17", "langchain" ]
### System Info Hi @harrisoUnable to load the model logged using mlflow ``` import mlflow logged_model = 'runs:/runid/sql_database_chain' # Load model as a PyFuncModel. loaded_model = mlflow.pyfunc.load_model(logged_model) ``` mlflow -> 2.7.2.dev0 langchain ->0.0.297 langchain-experimental -> 0.0.20 Exc...
SQLDatabaseChain. It's "azure-openai-chat LLM cannot be loaded
https://api.github.com/repos/langchain-ai/langchain/issues/10961/comments
19
2023-09-22T20:50:31Z
2024-07-21T16:05:40Z
https://github.com/langchain-ai/langchain/issues/10961
1,909,504,385
10,961
[ "hwchase17", "langchain" ]
.
.
https://api.github.com/repos/langchain-ai/langchain/issues/10955/comments
1
2023-09-22T19:37:41Z
2023-09-23T17:12:48Z
https://github.com/langchain-ai/langchain/issues/10955
1,909,429,553
10,955
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Not sure this is the right place to raise this, but I'm having difficulty with the return value of ConversationalRetrievalChain (called "qa" in my code) when return_source_documents=True. The object returned is (I believe) a python dictionary object with two keys, "answer" and "source_d...
Issue: getting ValueError(f"One output key expected, got {outputs.keys()}") in a ConversationalRetrievalChain call
https://api.github.com/repos/langchain-ai/langchain/issues/10953/comments
3
2023-09-22T19:04:44Z
2023-10-06T17:19:41Z
https://github.com/langchain-ai/langchain/issues/10953
1,909,392,916
10,953
[ "hwchase17", "langchain" ]
### GPT4AllEmbeddings() throwing GGML Assert Error I am trying to follow this use case https://python.langchain.com/docs/use_cases/question_answering/how_to/local_retrieval_qa This was working till yesterday, Today its not working ``` from langchain.vectorstores import Chroma from langchain.embeddings import...
Issue: GPT4AllEmbeddings() throwing GGML Assert Error
https://api.github.com/repos/langchain-ai/langchain/issues/10949/comments
2
2023-09-22T18:04:19Z
2023-12-30T16:05:24Z
https://github.com/langchain-ai/langchain/issues/10949
1,909,320,931
10,949
[ "hwchase17", "langchain" ]
### System Info Using langchain==0.0.299 in Ubuntu 22.04.1 LTS (GNU/Linux 5.19.0-1028-aws x86_64). I get the following error: pydantic.errors.ConfigError: duplicate validator function "langchain.document_loaders.embaas.BaseEmbaasLoader.validate_environment"; if this is intended, set `allow_reuse=True` I'm not i...
duplicate validator function
https://api.github.com/repos/langchain-ai/langchain/issues/10943/comments
4
2023-09-22T16:18:55Z
2023-09-22T22:10:44Z
https://github.com/langchain-ai/langchain/issues/10943
1,909,193,378
10,943
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Ruff replaced isort but it's still in the `pyproject.toml` ; we can remove isort. ### Suggestion: I can do it; just leaving this issue as a to-do
Issue: (Chore) remove dependency on `isort`
https://api.github.com/repos/langchain-ai/langchain/issues/10942/comments
2
2023-09-22T16:00:02Z
2023-09-23T14:24:18Z
https://github.com/langchain-ai/langchain/issues/10942
1,909,165,621
10,942
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I set up the local environment and try to run `make coverage`, I get this error: ```bash ; make coverage poetry run pytest --cov \ --cov-config=.coveragerc \ --cov-report xml \ --cov-report term-missing:skip-covered ====================================================...
Issue: `make coverage` doesn't work locally
https://api.github.com/repos/langchain-ai/langchain/issues/10941/comments
1
2023-09-22T15:58:24Z
2023-09-23T23:03:55Z
https://github.com/langchain-ai/langchain/issues/10941
1,909,163,325
10,941
[ "hwchase17", "langchain" ]
### System Info When I ask the agent what kind of data does the pandas dataframe has. It gave me this error. I wanted to know what did the rows indicate and what could the LLM make out of the data. Like is it a financial data or some sales data. ### Who can help? _No response_ ### Information - [ ] The official ex...
OutputParserException: Could not parse LLM output: `The dataframe has a mix of integer and object data types.`
https://api.github.com/repos/langchain-ai/langchain/issues/10929/comments
2
2023-09-22T11:15:19Z
2023-12-30T16:05:29Z
https://github.com/langchain-ai/langchain/issues/10929
1,908,712,574
10,929
[ "hwchase17", "langchain" ]
### System Info Langchain version : 0.0.297 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
MatchingEngine does not store metadata in embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/10924/comments
3
2023-09-22T08:29:48Z
2023-12-30T16:05:34Z
https://github.com/langchain-ai/langchain/issues/10924
1,908,439,944
10,924
[ "hwchase17", "langchain" ]
### System Info `LangChain==0.0.298`, Python==3.11.5 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
typing errors in OllamaEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/10919/comments
1
2023-09-22T04:07:19Z
2023-12-05T22:36:01Z
https://github.com/langchain-ai/langchain/issues/10919
1,908,146,930
10,919
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Current default prompt template named CHAT_PROMPT in `chains/question_answering/stuff_prompt.py` contains a `SystemMessage` and `HumanMessage` combination, In which `SystemMessage` just looks like this: ```python """Use the following pieces of context to answer the users question. If...
Issue: unreasonable default template in document retrieval task
https://api.github.com/repos/langchain-ai/langchain/issues/10918/comments
3
2023-09-22T03:45:55Z
2023-12-30T16:05:39Z
https://github.com/langchain-ai/langchain/issues/10918
1,908,133,024
10,918
[ "hwchase17", "langchain" ]
### System Info when I run this command `python3 ./libs/langchain/tests/integration_tests/llms/test_minimax.py` It always reports this error `ValueError: "Minimax" object has no field "_client"` After I replaced "_client" with "client", it works. version is `langchain==0.0.297` ### Who can help? _No respons...
"Minimax" object has no field "_client"
https://api.github.com/repos/langchain-ai/langchain/issues/10917/comments
5
2023-09-22T02:36:07Z
2024-04-14T16:16:42Z
https://github.com/langchain-ai/langchain/issues/10917
1,908,088,497
10,917
[ "hwchase17", "langchain" ]
### System Info Langchain v0.0.298 Python 3.11.4 Pop!OS 22.04 ### Who can help? @hwchase17 @agol ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - ...
Crashes when trying to stream Chat Vertex AI
https://api.github.com/repos/langchain-ai/langchain/issues/10916/comments
2
2023-09-22T01:39:08Z
2023-09-22T02:53:07Z
https://github.com/langchain-ai/langchain/issues/10916
1,908,042,597
10,916
[ "hwchase17", "langchain" ]
### Feature request [LARGE LANGUAGE MODELS AS OPTIMIZERS](https://arxiv.org/pdf/2309.03409.pdf) is promising method to optimize prompts, to find the best prompts. Not sure the LangChain is the best tool to apply this method but Hey, it is LangChain :exclamation: ### Motivation For workflows that use a stable pro...
Optimization by PROmpting (OPRO)
https://api.github.com/repos/langchain-ai/langchain/issues/10913/comments
7
2023-09-22T00:33:14Z
2024-02-05T18:14:03Z
https://github.com/langchain-ai/langchain/issues/10913
1,907,963,041
10,913
[ "hwchase17", "langchain" ]
### System Info macOS Ventura 13.5.2, M1 ### Who can help? @mudler ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pa...
LocalAI embeddings shouldn't require OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/10912/comments
5
2023-09-22T00:17:24Z
2023-09-22T16:57:48Z
https://github.com/langchain-ai/langchain/issues/10912
1,907,951,529
10,912
[ "hwchase17", "langchain" ]
### System Info v0.0.298 ### Who can help? @hwchase17 @ago ### 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 Loader...
`_identifying_params` broken in `ChatAnthropic` class
https://api.github.com/repos/langchain-ai/langchain/issues/10909/comments
4
2023-09-21T23:28:35Z
2024-03-30T16:05:06Z
https://github.com/langchain-ai/langchain/issues/10909
1,907,914,039
10,909
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.198 MacOS 13.5.2 Ventura Python 3.11 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Pro...
Support for openai finetuned models
https://api.github.com/repos/langchain-ai/langchain/issues/10900/comments
3
2023-09-21T18:22:47Z
2024-01-30T00:37:10Z
https://github.com/langchain-ai/langchain/issues/10900
1,907,528,565
10,900
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. https://github.com/langchain-ai/langchain/blob/ebe08412ad1649c33501cc80edffbb908cc0157e/libs/langchain/langchain/chains/combine_documents/reduce.py#L247 In this loop: ``` while num_tokens is not None and num_tokens > _token_max: new_result_doc_list = _split_list_of_docs...
Issue: ReduceDocumentsChain may loop for many iterations
https://api.github.com/repos/langchain-ai/langchain/issues/10888/comments
2
2023-09-21T13:18:28Z
2023-12-28T16:04:52Z
https://github.com/langchain-ai/langchain/issues/10888
1,906,968,615
10,888
[ "hwchase17", "langchain" ]
### System Info Langchain: 0.0.81 Python: 3.11.5 System: Ubuntu Trying to install Langchain and run the basic Quick Start sample code. Importing langchain.chat_models thows a ModuleNotFoundError. ``` $ python3 Python 3.11.5 (main, Aug 25 2023, 07:43:52) [GCC 12.2.0] on linux Type "help", "copyright", "credi...
langchain.chat_models import fails
https://api.github.com/repos/langchain-ai/langchain/issues/10887/comments
3
2023-09-21T12:58:28Z
2023-09-22T00:42:08Z
https://github.com/langchain-ai/langchain/issues/10887
1,906,918,594
10,887
[ "hwchase17", "langchain" ]
### System Info Getting errors while using GooglePalm class. Have a look at the error below. File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script exec(code, module.__dict__) File "/home/jupyter/vertexai-pocs-in-python/contact-centre/palm2...
Issue with GooglePalm class.
https://api.github.com/repos/langchain-ai/langchain/issues/10886/comments
3
2023-09-21T11:39:15Z
2024-03-26T18:27:17Z
https://github.com/langchain-ai/langchain/issues/10886
1,906,770,938
10,886
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.285 python==3.10.12 Using VSCode Dev Container ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates /...
Streaming output doesn't work for `CHAT_CONVERSATIONAL_REACT_DESCRIPTION` with `FinalStreamingStdOutCallbackHandler`
https://api.github.com/repos/langchain-ai/langchain/issues/10885/comments
2
2023-09-21T11:33:30Z
2023-12-28T16:05:02Z
https://github.com/langchain-ai/langchain/issues/10885
1,906,761,048
10,885
[ "hwchase17", "langchain" ]
### System Info Windows(server on linux), python, poetry ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Promp...
Error get_num_tokens_from_messages() with gpt-3.5-turbo-0613
https://api.github.com/repos/langchain-ai/langchain/issues/10884/comments
2
2023-09-21T11:29:34Z
2023-09-21T11:49:45Z
https://github.com/langchain-ai/langchain/issues/10884
1,906,754,123
10,884
[ "hwchase17", "langchain" ]
### Feature request Hi Team, I'm not sure if this is possible: ReAct agent support using Google PaLM 2. Now, when using PaLM 2 as the supporting model for ReAct agent, as following code: ```python from langchain.agents import load_tools from langchain.agents import initialize_agent from langchain.agents i...
ReAct agent support using Google PaLM 2
https://api.github.com/repos/langchain-ai/langchain/issues/10883/comments
3
2023-09-21T10:41:49Z
2023-12-28T16:05:07Z
https://github.com/langchain-ai/langchain/issues/10883
1,906,662,893
10,883
[ "hwchase17", "langchain" ]
### Feature request It should be possible to modify input keys, output keys and memory keys for all chains. Currently, this does not seem to be the case. For instance, while all these keys can be modified for the ConversationChain, not all of them can be modified for the ConversationalRetrievalChain. **Conversati...
Possibility to rename input keys, output keys and memory keys for all chains consistently
https://api.github.com/repos/langchain-ai/langchain/issues/10882/comments
1
2023-09-21T10:22:11Z
2023-12-28T16:05:12Z
https://github.com/langchain-ai/langchain/issues/10882
1,906,629,969
10,882
[ "hwchase17", "langchain" ]
### System Info BigQuery table is not able to load. Here is the code: ```python from langchain.document_loaders import BigQueryLoader BASE_QUERY = """ SELECT * FROM arindam-2banerjee-0525-pimy.sf_transport.bikeshare_trips """ loader = BigQueryLoader(BASE_QUERY) loader.load() ``` Error messa...
BigQuery - document loader, load() function throws error
https://api.github.com/repos/langchain-ai/langchain/issues/10879/comments
2
2023-09-21T08:45:23Z
2023-10-13T15:24:30Z
https://github.com/langchain-ai/langchain/issues/10879
1,906,441,411
10,879
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using langchain.document_loaders.image.UnstructuredImageLoader to load data from an image with a table on it. I chose PaddleOCR by setting os.environ["TABLE_OCR"] = "paddle" . However, I didn't find a place to set the detection language to other language. Could you please let me kno...
Issue: How to set the language (default is English) when using UnstructuredImageLoader with PaddleOCR
https://api.github.com/repos/langchain-ai/langchain/issues/10876/comments
4
2023-09-21T07:05:38Z
2023-12-30T16:05:44Z
https://github.com/langchain-ai/langchain/issues/10876
1,906,261,175
10,876