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 Is possible utilizate another languaje, like spanish? ### Motivation Another Languaje ### Your contribution I don't
Another Languaje
https://api.github.com/repos/langchain-ai/langchain/issues/11272/comments
3
2023-10-02T00:27:49Z
2024-02-08T16:23:26Z
https://github.com/langchain-ai/langchain/issues/11272
1,921,054,820
11,272
[ "langchain-ai", "langchain" ]
### System Info I'm trying to use langchain with cache using gptcache, using pydantic models (prior to this message I'm building prompt of mixed human and system messages) ``` chain = create_structured_output_chain(Job, llm, prompt, verbose=False) res = chain.run({'job': job}) ``` when not using cache e...
Chat cache results in KeyError: 'message'
https://api.github.com/repos/langchain-ai/langchain/issues/11268/comments
7
2023-10-01T17:48:12Z
2024-02-16T16:08:26Z
https://github.com/langchain-ai/langchain/issues/11268
1,920,886,661
11,268
[ "langchain-ai", "langchain" ]
I'm using create_conversational_retrieval_agent to create an agent and also passing in a system prompt. However , the prompt is passed in as user message, is this expected behavior? ``` conv_agent_executor = create_conversational_retrieval_agent( llm, tools, verbose=False, system_message=SystemM...
SystemMessage not updating system prompt
https://api.github.com/repos/langchain-ai/langchain/issues/11262/comments
2
2023-10-01T13:18:15Z
2024-02-07T16:24:28Z
https://github.com/langchain-ai/langchain/issues/11262
1,920,763,561
11,262
[ "langchain-ai", "langchain" ]
### System Info langchain version v0.0.305 Python 3.11 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ...
SmartLLMChain errors with Bedrock Anthropic models and n_ideas>1
https://api.github.com/repos/langchain-ai/langchain/issues/11261/comments
8
2023-10-01T13:06:07Z
2024-05-11T16:07:02Z
https://github.com/langchain-ai/langchain/issues/11261
1,920,758,064
11,261
[ "langchain-ai", "langchain" ]
### Feature request Hi, does langchain have a feature similar to LlamaIndex's [Sub Question Query Engine](https://gpt-index.readthedocs.io/en/latest/examples/query_engine/sub_question_query_engine.html)? If not, I'd like to submit a feature request! ### Motivation This capability is very useful! ### Your contributi...
Sub Question Query Engine
https://api.github.com/repos/langchain-ai/langchain/issues/11260/comments
10
2023-10-01T12:37:44Z
2024-05-11T16:06:57Z
https://github.com/langchain-ai/langchain/issues/11260
1,920,745,638
11,260
[ "langchain-ai", "langchain" ]
### System Info |Name|Detail| |--------|--------| | Python | `3.10.13` | | LangChain | `0.0.301` | | System | MacOS `12.2.1` | ### Bug Detail Playing around with a recursive function to decrement value `k` and ran into an issue whereby `self` is overwritten and bound to instance of `openai.error.InvalidReque...
ChatOpenAI: Exception InvalidRequestError changes bound "self"
https://api.github.com/repos/langchain-ai/langchain/issues/11258/comments
2
2023-10-01T10:23:41Z
2023-10-01T11:52:12Z
https://github.com/langchain-ai/langchain/issues/11258
1,920,688,423
11,258
[ "langchain-ai", "langchain" ]
### Feature request Is it possible to integrate any language model (LM) trained on source code or opensource codebases on various programming languages e.g. : - [StarCoder](https://github.com/bigcode-project/starcoder) - [replit/replit-code-v1-3b](https://huggingface.co/replit/replit-code-v1-3b) - [Bloom](https://b...
Implement a custom LangChain class wrapper (LLM model/Agent) for StarCoder model
https://api.github.com/repos/langchain-ai/langchain/issues/11252/comments
11
2023-09-30T17:57:16Z
2024-03-13T19:58:25Z
https://github.com/langchain-ai/langchain/issues/11252
1,920,348,709
11,252
[ "langchain-ai", "langchain" ]
### System Info I am following this example: https://python.langchain.com/docs/integrations/memory/dynamodb_chat_message_history When attempting to import DynamoDBChatMessageHistory I am receiving an error `from langchain.memory.chat_message_histories import DynamoDBChatMessageHistory` `---------------------...
Error importing DynamoDBChatMessageHistory
https://api.github.com/repos/langchain-ai/langchain/issues/11250/comments
2
2023-09-30T15:34:02Z
2024-01-30T00:43:41Z
https://github.com/langchain-ai/langchain/issues/11250
1,920,300,925
11,250
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.305 MacOS M1 Silicon ### 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 - [ ] Output P...
MathpixPDFLoader never finishes
https://api.github.com/repos/langchain-ai/langchain/issues/11249/comments
6
2023-09-30T12:12:22Z
2024-03-13T20:04:02Z
https://github.com/langchain-ai/langchain/issues/11249
1,920,235,293
11,249
[ "langchain-ai", "langchain" ]
### System Info version 0.300 <img width="1397" alt="Screenshot 2023-09-30 at 5 36 41 AM" src="https://github.com/langchain-ai/langchain/assets/17947802/124b1f2a-db02-497f-9cd0-dbad1033b6c8"> \\nObservation: requests_put is not a valid tool, try one of [requests_get, requests_post].\\nThought:I need to use requests_...
Hierarchical Planner - Observation: requests_put is not a valid tool, try one of [requests_get, requests_post].
https://api.github.com/repos/langchain-ai/langchain/issues/11244/comments
5
2023-09-30T02:45:21Z
2024-01-30T00:42:35Z
https://github.com/langchain-ai/langchain/issues/11244
1,920,074,483
11,244
[ "langchain-ai", "langchain" ]
### Feature request We all want to have our clients to interact with the database using LLM, langchain with create_sql_agent, are great, the only problem I see, there is no way to limit user access to the database and fence him to his data. For example we have table called AI_Product with many columns and one of t...
Limit Data and Enforcing Security for SQLDatabase & Agents
https://api.github.com/repos/langchain-ai/langchain/issues/11243/comments
17
2023-09-29T22:31:23Z
2024-03-25T16:06:18Z
https://github.com/langchain-ai/langchain/issues/11243
1,919,979,559
11,243
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. while RAG we create a db and then we ask a query to the db in this way, `index = VectorstoreIndexCreator( vectorstore_cls=DocArrayInMemorySearch ).from_loaders([loader])` `index.query(llm=chat, question=query)` we get some response. Now lets say wanted to create dat...
Issue: < Urgent Help needed related to VectorstoreIndexCreator >
https://api.github.com/repos/langchain-ai/langchain/issues/11242/comments
2
2023-09-29T21:53:43Z
2023-10-31T07:58:55Z
https://github.com/langchain-ai/langchain/issues/11242
1,919,948,621
11,242
[ "langchain-ai", "langchain" ]
### Feature request [LanguageParser](https://github.com/langchain-ai/langchain/blob/e9b51513e9bab738c741a348ffbf0f36ce19faf6/libs/langchain/langchain/document_loaders/parsers/language/language_parser.py#L21C7-L21C21) is a parser for Document Loaders that, given source code, splits each top-level function or class into...
Add support for a variety of languages to LanguageParser
https://api.github.com/repos/langchain-ai/langchain/issues/11229/comments
33
2023-09-29T16:07:57Z
2024-06-26T09:34:16Z
https://github.com/langchain-ai/langchain/issues/11229
1,919,554,598
11,229
[ "langchain-ai", "langchain" ]
### System Info Python = 3.8.16 langchain==0.0.304 langchainhub==0.1.13 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Promp...
Encountering a "type object is not subscriptable" error when invoking hub.pull.
https://api.github.com/repos/langchain-ai/langchain/issues/11226/comments
12
2023-09-29T15:55:14Z
2024-02-27T11:46:37Z
https://github.com/langchain-ai/langchain/issues/11226
1,919,535,609
11,226
[ "langchain-ai", "langchain" ]
### Issue with current documentation: What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent? The document do not clarify it. ### Idea or request for content: _No response_
DOC: What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent?
https://api.github.com/repos/langchain-ai/langchain/issues/11225/comments
4
2023-09-29T15:51:08Z
2024-02-12T16:12:59Z
https://github.com/langchain-ai/langchain/issues/11225
1,919,529,912
11,225
[ "langchain-ai", "langchain" ]
When using async `LLMChain` calls, the logger prints out a ton of info statements that looks like this: ``` 2023-09-29 08:24:51,038:INFO - message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=7 request_id=0cde8ecb8d402ec3db4ec674f0450ade response_code=200 ``` I tried setti...
How to disable logger streaming for async LLMChain calls?
https://api.github.com/repos/langchain-ai/langchain/issues/11223/comments
1
2023-09-29T15:26:52Z
2023-09-29T15:41:29Z
https://github.com/langchain-ai/langchain/issues/11223
1,919,488,448
11,223
[ "langchain-ai", "langchain" ]
### System Info while trying to use BedrockChat , it threw my error below , the updated prompt which am using after the recent changes in claude prompt is below . prompt_template = """ Human: You are a helpful, respectful, and honest assistant, dedicated to providing valuable and accurat...
raise ValueError(ALTERNATION_ERROR) ValueError: Error: Prompt must alternate between ' Human:' and ' Assistant:'.
https://api.github.com/repos/langchain-ai/langchain/issues/11220/comments
16
2023-09-29T13:18:59Z
2024-05-11T16:06:52Z
https://github.com/langchain-ai/langchain/issues/11220
1,919,260,245
11,220
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I fetch the result from pinecone using Pinecone's from_existing_index function. My single Index contains multiple namespaces in pinecone. Now I have 2 cases: 1. I want to get the result of particular namespace. 2. secondly I want to fetch the result from all the index's namespace. ...
Issue: How can I fetch the response from Pinecone using namespace with similarity_search
https://api.github.com/repos/langchain-ai/langchain/issues/11212/comments
2
2023-09-29T08:39:49Z
2024-01-30T00:41:52Z
https://github.com/langchain-ai/langchain/issues/11212
1,918,850,778
11,212
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I have custom memory with memory key as 'context' as follows which i would like to use in the underling chain as readonly memory ``` memory = ScopeContextMemory(memory_key='context') readonlymemory = ReadOnlySharedMemory(memory_key='context', memory=memory) ``` i have the...
Issue: SQLDatabaseChain fails to run when initialised with custom read only memory
https://api.github.com/repos/langchain-ai/langchain/issues/11211/comments
8
2023-09-29T07:59:22Z
2023-09-29T14:32:37Z
https://github.com/langchain-ai/langchain/issues/11211
1,918,785,813
11,211
[ "langchain-ai", "langchain" ]
### Feature request Hi, I am working on Document QA, and using ConversationalRetrievalChain, with map-reduce as chain type. In the final result of ConversationalRetrievalChain, I want to get the individual output from each map-chain. ### Motivation This is a separate issue, and I think there should be a parame...
Return output from map chain in the final result of ConversationalRetrievalChain.
https://api.github.com/repos/langchain-ai/langchain/issues/11209/comments
4
2023-09-29T07:23:10Z
2024-02-07T16:24:38Z
https://github.com/langchain-ai/langchain/issues/11209
1,918,733,653
11,209
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. How do you stream a langchain response from Flask to React? I am having issues with it. I successfully implemented it with Azure OpenAI API only but langchain doesn't give me the right implementation. ### Suggestion: _No response_
How do you stream a langchain response from Flask to React?
https://api.github.com/repos/langchain-ai/langchain/issues/11208/comments
3
2023-09-29T04:59:39Z
2024-04-27T16:28:23Z
https://github.com/langchain-ai/langchain/issues/11208
1,918,600,924
11,208
[ "langchain-ai", "langchain" ]
### System Info Following the steps of indexing from [ https://python.langchain.com/docs/modules/data_connection/indexing ](url) you'll find the following error "redis.exceptions.ResponseError: my_docs: no such index". You'll get this exception while using redis as retriever: ![Screenshot from 2023-09-28 16-57-03](h...
Documents not being correctly indexed in vector database. ["redis.exceptions.ResponseError: my_docs: no such index"]
https://api.github.com/repos/langchain-ai/langchain/issues/11197/comments
3
2023-09-28T19:57:36Z
2023-10-24T17:51:26Z
https://github.com/langchain-ai/langchain/issues/11197
1,918,183,041
11,197
[ "langchain-ai", "langchain" ]
### System Info Lambda Python 3.11 runtime ### 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 - [ ]...
Bedrock InvokeModel failes on GA release
https://api.github.com/repos/langchain-ai/langchain/issues/11189/comments
8
2023-09-28T18:17:28Z
2024-02-15T16:09:15Z
https://github.com/langchain-ai/langchain/issues/11189
1,918,043,819
11,189
[ "langchain-ai", "langchain" ]
### System Info Amazon Linux, langchain version 0.0.304, Docker Image ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Te...
Pydantic type conversion to SecreteStr for ChatAnthropic anthropic_api_key keyword value raises attribute error in Anthropic client
https://api.github.com/repos/langchain-ai/langchain/issues/11182/comments
4
2023-09-28T16:37:45Z
2023-09-28T18:21:58Z
https://github.com/langchain-ai/langchain/issues/11182
1,917,900,561
11,182
[ "langchain-ai", "langchain" ]
### Feature request Bedrock added support for Cohere models and the Bedrock llm code must be updated with the right prompt formatting. The prompt must be passed as `"prompt"` field and not as the code below does as `"input"` ``` { "modelId": "cohere.command-text-v14", "contentType": "application/json", ...
Add support for Bedrock cohere models
https://api.github.com/repos/langchain-ai/langchain/issues/11181/comments
2
2023-09-28T16:10:03Z
2024-01-30T00:43:13Z
https://github.com/langchain-ai/langchain/issues/11181
1,917,854,905
11,181
[ "langchain-ai", "langchain" ]
### System Info LangChain version: 0.0.304 ### Who can help? @eyurt ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X] Docume...
WebBaseLoader interprets incorrectly the web_path parameter
https://api.github.com/repos/langchain-ai/langchain/issues/11180/comments
2
2023-09-28T15:45:13Z
2023-09-28T15:48:19Z
https://github.com/langchain-ai/langchain/issues/11180
1,917,815,779
11,180
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. full_chain = { "source1": {"question": lambda x: x["question"]} | query_chain | db.run, "source2": (lambda x: x['question']) | vectorstore.as_retriever(), "question": lambda x: x['question'], } | qa_prompt | ChatOpenAI(streaming=True, callbacks=[Queu...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/11173/comments
3
2023-09-28T13:22:51Z
2024-01-30T00:36:52Z
https://github.com/langchain-ai/langchain/issues/11173
1,917,547,206
11,173
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. full_chain = { "source1": {"question": lambda x: x["question"]} | query_chain | db.run, "source2": (lambda x: x['question']) | vectorstore.as_retriever(), "question": lambda x: x['question'], } | qa_prompt | ChatOpenAI(streaming=True, callbacks=[Queu...
how to add chat history to runnablesequence instance
https://api.github.com/repos/langchain-ai/langchain/issues/11171/comments
6
2023-09-28T12:54:18Z
2024-01-30T00:40:13Z
https://github.com/langchain-ai/langchain/issues/11171
1,917,489,116
11,171
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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
[ "langchain-ai", "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