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"
] | ### Issue you'd like to raise.
I have the following piece of code:
openai_llm = ChatOpenAI(model_name='gpt-3.5-turbo-1106', streaming=True, callbacks=[StreamingStdOutCallbackHandler()],
temperature=0.5, max_retries=0)
I still keep getting this error:
urllib3.util.r... | URL Lib error doesn't get resolved. | https://api.github.com/repos/langchain-ai/langchain/issues/13816/comments | 1 | 2023-11-24T14:18:22Z | 2024-03-13T20:00:26Z | https://github.com/langchain-ai/langchain/issues/13816 | 2,009,801,860 | 13,816 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've written this code to make sure that the max_retries count is 0. Even though I set that value in my LLM instance, It doesn't work. So I've decided to create a Custom WebBaseLoader. But I'm stuck on how to mount it and make sure that it works.
would appreciate any help!
`class ... | How to mount the custom Retry class with 0 retries to improve Fallbacks? | https://api.github.com/repos/langchain-ai/langchain/issues/13814/comments | 1 | 2023-11-24T13:58:05Z | 2023-11-24T15:15:47Z | https://github.com/langchain-ai/langchain/issues/13814 | 2,009,773,400 | 13,814 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I was recently trying to implement Fallbacks into my system but I've realized that even though there are other models that can be hit if there is a failure, I've noticed that this isn't happening. I tried to Debug it and this is the error I see. I keep getting this error even though ... | Urllib3 retry error fix with fallbacks. | https://api.github.com/repos/langchain-ai/langchain/issues/13811/comments | 3 | 2023-11-24T11:20:31Z | 2023-11-24T13:57:24Z | https://github.com/langchain-ai/langchain/issues/13811 | 2,009,558,007 | 13,811 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I was recently trying to implement Fallbacks into my system but I've realized that even though there are other models that can be hit if there is a failure, I've noticed that this isn't happening. I tried to Debug it and this is the error I see. I keep getting this error even thoug... | Urllib Retry error help. | https://api.github.com/repos/langchain-ai/langchain/issues/13809/comments | 1 | 2023-11-24T10:21:56Z | 2023-11-24T11:19:25Z | https://github.com/langchain-ai/langchain/issues/13809 | 2,009,473,024 | 13,809 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, sorry if I missed it, but I couldn't find in the documentation, here in issues nor through google an answer to this question: how can one compute perplexity score (for each generated token and/or a mean perplexity score for the whole output) during inference?
In our use case, we use... | Issue: how to compute perplexity score during inference? | https://api.github.com/repos/langchain-ai/langchain/issues/13808/comments | 3 | 2023-11-24T09:56:16Z | 2024-03-17T16:06:26Z | https://github.com/langchain-ai/langchain/issues/13808 | 2,009,434,445 | 13,808 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | It’s so damn hard to use. | https://api.github.com/repos/langchain-ai/langchain/issues/13807/comments | 3 | 2023-11-24T09:19:01Z | 2024-03-13T19:55:50Z | https://github.com/langchain-ai/langchain/issues/13807 | 2,009,376,766 | 13,807 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello
I have to configure the langchain with PDF data, and the PDF contains a lot of unstructured table.
We have a string and a table, so how do you recommend handling it?
### Suggestion:
_No response_ | how to handle a PDF(including tables..) | https://api.github.com/repos/langchain-ai/langchain/issues/13805/comments | 7 | 2023-11-24T08:54:28Z | 2024-04-18T16:34:48Z | https://github.com/langchain-ai/langchain/issues/13805 | 2,009,341,776 | 13,805 |
[
"hwchase17",
"langchain"
] | CypherQueryCorrector does not handle with some query types:
If there is such a query (There is a comma in the match between clauses):
```
MATCH (a:APPLE {apple_id: 123})-[:IN]->(b:BUCKET), (ba:BANANA {name: banana1})
```
Corresponding code section:
- It extract a relation between BUCKET and BANANA, howev... | CypherQueryCorrector cannot validate a correct cypher, some query types are not handled | https://api.github.com/repos/langchain-ai/langchain/issues/13803/comments | 4 | 2023-11-24T08:39:00Z | 2023-11-27T03:30:12Z | https://github.com/langchain-ai/langchain/issues/13803 | 2,009,321,641 | 13,803 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Entering new SQLDatabaseChain chain...
what is Gesh D desigation
SQLQuery:SELECT [Designation]
FROM [EGV_emp_departments_ChatGPT]
WHERE [EmployeeName] = 'Gesh D'
SQLResult:
Answer:Final answer here
> Finished chain.
Final answer here
below is my code
# import os
# import... | How to modify the code, If the SQLResult is empty, the Answer should be "No results found". DO NOT hallucinate an answer if there is no result. | https://api.github.com/repos/langchain-ai/langchain/issues/13802/comments | 9 | 2023-11-24T08:18:06Z | 2024-04-22T16:30:35Z | https://github.com/langchain-ai/langchain/issues/13802 | 2,009,296,023 | 13,802 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Encountered IndexError in the code due to an attempt to access a list index that is out of range. This issue occurs when there are no documents available, resulting in the deletion of all embeddings. To handle this case gracefully, consider implementing a mechanism to display a def... | Issue:Handle IndexError for Empty Document Lists - Display Default Value or Message | https://api.github.com/repos/langchain-ai/langchain/issues/13799/comments | 3 | 2023-11-24T06:41:19Z | 2024-03-13T19:56:37Z | https://github.com/langchain-ai/langchain/issues/13799 | 2,009,189,632 | 13,799 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently when initilizing the `MlflowCallbackHandler`, we can pass in name, experiment, tracking_uri. But couldn't pass in the `nested` param.
### Motivation
It would be nice if we can do that, so that when there are multiple chains running, we can nest those runs under one parent run, making i... | Feat: MLFlow callback allow passing `nested` param | https://api.github.com/repos/langchain-ai/langchain/issues/13795/comments | 1 | 2023-11-24T05:05:03Z | 2024-03-13T20:04:39Z | https://github.com/langchain-ai/langchain/issues/13795 | 2,009,104,256 | 13,795 |
[
"hwchase17",
"langchain"
] | ### System Info
master branch
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loader... | ChatPromptTemplate save method not implemented | https://api.github.com/repos/langchain-ai/langchain/issues/13794/comments | 1 | 2023-11-24T04:52:26Z | 2024-03-13T20:04:59Z | https://github.com/langchain-ai/langchain/issues/13794 | 2,009,093,017 | 13,794 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
it seems my discord account has been hacked, so it auto send advertisement like below, and i thought it was official ads just like telegram and the ads only show to me, so I don't pay attention to it.
<img width="503" alt="image" src="https://github.com/langchain-ai/langchain/assets/166... | Issue: please assist me in removing myself from the Discord blacklist. | https://api.github.com/repos/langchain-ai/langchain/issues/13793/comments | 1 | 2023-11-24T03:13:29Z | 2024-03-16T16:06:51Z | https://github.com/langchain-ai/langchain/issues/13793 | 2,009,030,550 | 13,793 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
can i define an agent using a llm chain or a conversationcain as a too?
### Suggestion:
_No response_ | Issue: can i define an agent using a llm chain or a conversationcain as a too? | https://api.github.com/repos/langchain-ai/langchain/issues/13792/comments | 9 | 2023-11-24T02:15:35Z | 2024-03-13T20:03:36Z | https://github.com/langchain-ai/langchain/issues/13792 | 2,008,978,562 | 13,792 |
[
"hwchase17",
"langchain"
] | ### System Info
$ python3 --version
Python 3.11.6
$ pip show openai | grep Version
Version: 1.3.5
$ pip show langchain | grep Version
Version: 0.0.340
### Who can help?
Who wants to use AzureOpenai deployments with langchain, enabling last openai package versione 1.x.x.
### Information
- [X] My... | Azure OpenAI (with openai module 1.x.x) seems not working anymore | https://api.github.com/repos/langchain-ai/langchain/issues/13785/comments | 11 | 2023-11-23T18:06:59Z | 2024-07-01T16:04:09Z | https://github.com/langchain-ai/langchain/issues/13785 | 2,008,648,479 | 13,785 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How can I add the new parameter **JSON MODE** ( https://platform.openai.com/docs/guides/text-generation/json-mode )
to this snippet of code?
```python
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI(
model_name="gpt-3.5-turbo-1106",
temperature... | How to add json_object to ChatOpenAI class? | https://api.github.com/repos/langchain-ai/langchain/issues/13783/comments | 6 | 2023-11-23T17:26:32Z | 2024-05-16T16:07:54Z | https://github.com/langchain-ai/langchain/issues/13783 | 2,008,609,445 | 13,783 |
[
"hwchase17",
"langchain"
] | ### Feature request
Support auth token headers in langchain, when underlying model supports it.
### Motivation
I'd like to use ChatAnthropic, but I'm using a custom proxy backend, where I need to provide Authorization header.
This is simple using AnthropicClient directly as it accepts auth_token parameter.
... | Support auth header, when underlying client support it. | https://api.github.com/repos/langchain-ai/langchain/issues/13782/comments | 1 | 2023-11-23T16:46:27Z | 2024-03-13T20:02:24Z | https://github.com/langchain-ai/langchain/issues/13782 | 2,008,561,158 | 13,782 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
InMemoryCache works, but it doesn't print to stderr like all other LLM responses. I checked logs and response is stored. I don't know how to access to this stored values...
### Suggestion:
option to view object or option to return values. | Issue: how to access to cached question and answer in InMemoryCache | https://api.github.com/repos/langchain-ai/langchain/issues/13778/comments | 8 | 2023-11-23T13:14:19Z | 2024-02-12T14:22:48Z | https://github.com/langchain-ai/langchain/issues/13778 | 2,008,213,482 | 13,778 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
if "our goal is to have the simplest developer setup possible", we shouldn't encourage mixing poetry with the use of conda and pip in [CONTRIBUTING.md](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md). Mixing differen... | DOC: Simplify CONTRIBUTING.md by removing conda and pip references | https://api.github.com/repos/langchain-ai/langchain/issues/13776/comments | 1 | 2023-11-23T11:09:26Z | 2024-03-13T19:56:04Z | https://github.com/langchain-ai/langchain/issues/13776 | 2,008,002,786 | 13,776 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
(import pandas as pd
import json
from IPython.display import Markdown, display
from langchain.agents import create_csv_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
import os
os.environ["OPENAI_API_KEY"] = ""
# Load the dataset
... | how to chain the lenght of context if i wanted use gpt-4 model because of increase token i can't use gpt 4 so how to chain the context | https://api.github.com/repos/langchain-ai/langchain/issues/13772/comments | 1 | 2023-11-23T08:57:22Z | 2024-03-13T20:02:21Z | https://github.com/langchain-ai/langchain/issues/13772 | 2,007,748,476 | 13,772 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
It stated in the docs that there's a parameter called response_if_no_docs_found, which If specified, the chain will return a fixed response if no docs
are found for the question.
I have tried it and asked another person, who says they tried it and it doesn't work,
how do i get... | Issue: Conversational retrieval chain, response_if_no_docs_found not working | https://api.github.com/repos/langchain-ai/langchain/issues/13771/comments | 2 | 2023-11-23T08:17:41Z | 2024-03-13T19:57:37Z | https://github.com/langchain-ai/langchain/issues/13771 | 2,007,681,270 | 13,771 |
[
"hwchase17",
"langchain"
] | ### Feature request
JS LangChain (https://js.langchain.com/docs/integrations/chat/ollama_functions) supports Ollama Functions and allows to return JSON output from Ollama. It would be good to have the same functionality in Python LangChain.
### Motivation
JSON response from LangChain Ollama would be very useful, whe... | JSON response support for Ollama | https://api.github.com/repos/langchain-ai/langchain/issues/13770/comments | 1 | 2023-11-23T08:13:02Z | 2024-03-13T19:55:41Z | https://github.com/langchain-ai/langchain/issues/13770 | 2,007,675,246 | 13,770 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to create a vertex ai and langchain based entity extraction program. I have stored my documents in form of vector embeddings in chromadb. I have been trying to extract the attributes/features like name, price, etc but whenever i run chains I'm getting this error.
### Sugge... | _TextGenerationModel.predict() got an unexpected keyword argument 'functions'Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/13766/comments | 4 | 2023-11-23T06:51:29Z | 2024-03-17T16:06:22Z | https://github.com/langchain-ai/langchain/issues/13766 | 2,007,583,055 | 13,766 |
[
"hwchase17",
"langchain"
] | ### Feature request
Introduce a more flexible method to specify model parameters directly within the LLMChain or VLLM method, allowing users to modify these parameters without creating a new model instance each time.
### Motivation
Currently, when utilizing the Langchain library's VLLM class, modifying model paramet... | Changing Model Param after Initialization VLLM Model | https://api.github.com/repos/langchain-ai/langchain/issues/13762/comments | 2 | 2023-11-23T03:45:30Z | 2024-04-22T16:52:00Z | https://github.com/langchain-ai/langchain/issues/13762 | 2,007,439,169 | 13,762 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I got 2 functions and 2 related tools:
def Func_Tool_Extractor(parameters):
print("\n", parameters)
print("触发Func_Tool_Extractor插件")
pdf_id, extractor_id_position = parameters.split(",")
print(f"获取到pdf id为{pdf_id},这篇文档用户想要查询第{extractor_id_position}个分子")
test_s... | Combine Tools Together in a Chain | https://api.github.com/repos/langchain-ai/langchain/issues/13760/comments | 1 | 2023-11-23T03:12:58Z | 2024-03-13T19:55:50Z | https://github.com/langchain-ai/langchain/issues/13760 | 2,007,415,465 | 13,760 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
HI there, I am trying to use Multiquery retiever on pinecone vectordb with multiple filters. I specifically need to use an OR operator.
For example, I would like to retrieve documents with metadata having the metadata "category" : 'value1' OR 'value2' OR 'value3'
this is my curren... | Pinecone MultiqueryRetriver with multiple OR metadata filters | https://api.github.com/repos/langchain-ai/langchain/issues/13758/comments | 2 | 2023-11-23T00:55:10Z | 2024-03-13T19:56:26Z | https://github.com/langchain-ai/langchain/issues/13758 | 2,007,320,637 | 13,758 |
[
"hwchase17",
"langchain"
] | ### Feature request
When I receive empty text from the Azure content filter, I need to temporarily switch to OpenAI and try again to get an answer.
How can I achieve this functionality?
### Motivation
Error handling for prod. High availability
### Your contribution
pr | How to use a different OpenAI endpoint when Azure content filter applys ? | https://api.github.com/repos/langchain-ai/langchain/issues/13757/comments | 3 | 2023-11-23T00:47:25Z | 2024-03-13T19:56:29Z | https://github.com/langchain-ai/langchain/issues/13757 | 2,007,316,049 | 13,757 |
[
"hwchase17",
"langchain"
] | ```python
from langchain.memory import RedisChatMessageHistory
history = RedisChatMessageHistory("foo")
history.add_user_message("hi!")
history.add_ai_message("whats up?")
```
{**<ins>"type": "human"**</ins>, "data": {"content": "hi!", "additional_kwargs": {}, <ins>**"type": "human"**</ins>, "example": fals... | MessageHistory type field serialized twice twice | https://api.github.com/repos/langchain-ai/langchain/issues/13755/comments | 1 | 2023-11-22T23:55:16Z | 2024-02-28T16:06:45Z | https://github.com/langchain-ai/langchain/issues/13755 | 2,007,263,917 | 13,755 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.9.6, Langchain 0.0.334
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X... | GenericLoader.from_filesystem "exclude" not working | https://api.github.com/repos/langchain-ai/langchain/issues/13751/comments | 4 | 2023-11-22T23:08:00Z | 2024-03-13T19:55:44Z | https://github.com/langchain-ai/langchain/issues/13751 | 2,007,226,855 | 13,751 |
[
"hwchase17",
"langchain"
] | ### System Info
**Operating system/architecture:**
Linux/X86_64
**CPU | Memory**
8 vCPU | 16 GB
**Platform version**
1.4.0
**Launch type**
FARGATE
**Project libraries:**
snowflake-sqlalchemy==1.4.6
python-dotenv==0.21.0
openai==0.27.2
langchain==0.0.336
pandas==2.0.2
boto3==1.26.144
colorama==0.4.6
f... | Random Application Lockdown on ECS Fargate with Langchain and FastAPI | https://api.github.com/repos/langchain-ai/langchain/issues/13750/comments | 5 | 2023-11-22T22:56:07Z | 2024-05-14T16:07:15Z | https://github.com/langchain-ai/langchain/issues/13750 | 2,007,218,514 | 13,750 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.339
Python version: 3.11.5
Running on Ubuntu 22.04.3 LTS via WSL 2
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | UTF-8 content is not loaded correctly with RecursiveUrlLoader | https://api.github.com/repos/langchain-ai/langchain/issues/13749/comments | 1 | 2023-11-22T22:47:26Z | 2024-02-28T16:06:55Z | https://github.com/langchain-ai/langchain/issues/13749 | 2,007,212,254 | 13,749 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.339
Laangserve version: 0.0.30
Langchain-cli version: 0.0.19
Running on apple silicone: MacBook Pro M3 max using a zsh shell.
### Who can help?
@erick
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
... | Langchain-cli Does not install a usable binary. | https://api.github.com/repos/langchain-ai/langchain/issues/13743/comments | 6 | 2023-11-22T19:54:42Z | 2023-12-04T02:56:26Z | https://github.com/langchain-ai/langchain/issues/13743 | 2,007,028,867 | 13,743 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Some langchain objects are used but not imported in [Types of MessagePromptTemplate](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/msg_prompt_templates) documentation.
Specifically, it lacks the following:
```python
from langchain.prompts import ... | DOC: missing imports in "Types of MessagePromptTemplate" | https://api.github.com/repos/langchain-ai/langchain/issues/13736/comments | 1 | 2023-11-22T18:08:15Z | 2024-02-28T16:07:00Z | https://github.com/langchain-ai/langchain/issues/13736 | 2,006,867,499 | 13,736 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
**Description:**
Hi, sir. I am currently developing an Agent for scientific tasks using Langchain. The first tool I intend to integrate is a function for generating a mesh, implemented through the external API `dolfinx`. However, I've encountered a compatibility issue between my Langcha... | Issue: <Handling Python Package Conflicts in Langchain When Integrating External APIs for Agent Tools> | https://api.github.com/repos/langchain-ai/langchain/issues/13734/comments | 1 | 2023-11-22T17:59:25Z | 2024-02-28T16:07:06Z | https://github.com/langchain-ai/langchain/issues/13734 | 2,006,847,641 | 13,734 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.339
windows11
python==3.10
### Who can help?
simple chain with tool code ,but not pass full input to tool cause '\n'
`
model = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, verbose=False, streaming=True)
custom_tool_list = [PythonREPLTool(),#CustomPythonExec()
... | chain input not pass into Python_REPL tool input by '\n' | https://api.github.com/repos/langchain-ai/langchain/issues/13730/comments | 2 | 2023-11-22T16:15:52Z | 2024-03-13T19:57:11Z | https://github.com/langchain-ai/langchain/issues/13730 | 2,006,686,650 | 13,730 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I followed the lecture by Harrison on langchain on deeplearning.ai and when i follow it I am getting error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever` to `get_relevant_documents`.
Using the following code:
```python
document_content_description = "L... | Issue: Error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever` | https://api.github.com/repos/langchain-ai/langchain/issues/13728/comments | 3 | 2023-11-22T16:07:12Z | 2023-11-24T17:09:20Z | https://github.com/langchain-ai/langchain/issues/13728 | 2,006,669,669 | 13,728 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain Version: 0.0.339
Platform: Windows 10
Python Version: 3.10.10
### Who can help?
@agol
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt... | RunnableBranch doesnt stream correctly | https://api.github.com/repos/langchain-ai/langchain/issues/13723/comments | 7 | 2023-11-22T14:57:38Z | 2024-03-23T16:06:11Z | https://github.com/langchain-ai/langchain/issues/13723 | 2,006,525,842 | 13,723 |
[
"hwchase17",
"langchain"
] | ### Feature request
it could be better where i can add a callback to get the total token spend on other LLMS apart from OPENAI ?
### Motivation
since there is a call back for openai why don't we have for other models too just to see how much token is consumed ?
### Your contribution
Happy to contribute to the issu... | get token count for other LLM Models | https://api.github.com/repos/langchain-ai/langchain/issues/13719/comments | 5 | 2023-11-22T12:50:02Z | 2024-05-13T16:08:52Z | https://github.com/langchain-ai/langchain/issues/13719 | 2,006,274,368 | 13,719 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi I am running the create_pandas_dataframe_agent agent, and the issue I'm facing is with the call back FinalStreamingStdOutCallbackHandler for some reason when I only have one civ it works fine as soon as I pass through multiple then it doesn't stream the data it just prints it all in... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/13717/comments | 3 | 2023-11-22T11:54:27Z | 2024-03-13T19:55:38Z | https://github.com/langchain-ai/langchain/issues/13717 | 2,006,180,319 | 13,717 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm using
```python
from langchain.agents import create_pandas_dataframe_agent
pd_agent = create_pandas_dataframe_agent(OpenAI(temperature=0),
df,
verbose=True)
pd_agent.run('some question on dataframe')
```
```python
eng... | Agent as tool gives wrong result ( pandas agent) | https://api.github.com/repos/langchain-ai/langchain/issues/13711/comments | 4 | 2023-11-22T08:56:25Z | 2024-03-24T11:39:43Z | https://github.com/langchain-ai/langchain/issues/13711 | 2,005,863,753 | 13,711 |
[
"hwchase17",
"langchain"
] | ### System Info
Traceback (most recent call last):
File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parsers/xml.py", line 2, in <module>
import xml.etree.ElementTree as ET
File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parse... | ModuleNotFoundError: No module named 'xml.etree'; 'xml' is not a package | https://api.github.com/repos/langchain-ai/langchain/issues/13709/comments | 6 | 2023-11-22T08:36:24Z | 2024-02-28T16:07:20Z | https://github.com/langchain-ai/langchain/issues/13709 | 2,005,831,934 | 13,709 |
[
"hwchase17",
"langchain"
] | ### Feature request
Given that the seed is already in beta phase, the system_fingerprint would also be highly useful in tracking deterministic responses. Suggest to add a `system_fingerprint` as part of the callbacks. https://api.python.langchain.com/en/latest/callbacks/langchain.callbacks.openai_info.OpenAICallbackHa... | Add system_fingerprint in OpenAI callbacks | https://api.github.com/repos/langchain-ai/langchain/issues/13707/comments | 4 | 2023-11-22T08:24:18Z | 2024-03-13T19:58:46Z | https://github.com/langchain-ai/langchain/issues/13707 | 2,005,812,732 | 13,707 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
This question may be stupid but I find nothing to refer to.
I'm using langchain.chains.LLMChain in flask api, but I found that the chain will be reloaded and reconstructed if I call the api after a call. So the first question I wanna ask is how to make my LLMChain be remembered so that ... | Issue: how to remain the chain in different api calls? | https://api.github.com/repos/langchain-ai/langchain/issues/13697/comments | 12 | 2023-11-22T03:33:38Z | 2024-04-19T10:14:36Z | https://github.com/langchain-ai/langchain/issues/13697 | 2,005,499,791 | 13,697 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
There is a lack of comprehensive documentation on how to use load_qa_chain with memory.
I've found this: https://cheatsheet.md/langchain-tutorials/load-qa-chain-langchain.en but does not cover other memories, like for example BufferedWindowMemory.
I have the following memo... | DOC: how to use load_qa_chain with memory | https://api.github.com/repos/langchain-ai/langchain/issues/13696/comments | 6 | 2023-11-22T03:29:40Z | 2023-11-22T06:30:33Z | https://github.com/langchain-ai/langchain/issues/13696 | 2,005,494,274 | 13,696 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hey guys! Below is the code which i'm using to get the output
```
import pandas as pd
from IPython.display import Markdown, display
from langchain.agents import create_csv_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
import os
os... | While utlizing the create_csv_agent function, the output is not returned in the JSON format | https://api.github.com/repos/langchain-ai/langchain/issues/13686/comments | 1 | 2023-11-21T21:51:45Z | 2024-02-14T03:35:23Z | https://github.com/langchain-ai/langchain/issues/13686 | 2,005,201,744 | 13,686 |
[
"hwchase17",
"langchain"
] | ### System Info
It appears that OpenAI's SDK v1.0.0 update introduced some needed migrations.
Running the Langchain OpenAIModerationChain with OpenAI SDK >= v1.0.0 provides the following error:
```
You tried to access openai.Moderation, but this is no longer supported in openai>=1.0.0 - see the README at https://... | OpenAIModerationChain with OpenAI SDK >= v1.0.0 Broken | https://api.github.com/repos/langchain-ai/langchain/issues/13685/comments | 9 | 2023-11-21T21:45:08Z | 2024-05-10T22:20:32Z | https://github.com/langchain-ai/langchain/issues/13685 | 2,005,192,238 | 13,685 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.339
python: 3.9.17
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [... | [Issue] Error with Bedrock when AWS region is not specified or not in environment variable | https://api.github.com/repos/langchain-ai/langchain/issues/13683/comments | 2 | 2023-11-21T21:28:42Z | 2023-11-30T03:55:47Z | https://github.com/langchain-ai/langchain/issues/13683 | 2,005,167,112 | 13,683 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hey guys! Below is the code which i'm working on
```
import pandas as pd
from IPython.display import Markdown, display
from langchain.agents import create_csv_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
import os
import pandas as ... | How to add prompt template to create_csv_agent? | https://api.github.com/repos/langchain-ai/langchain/issues/13682/comments | 4 | 2023-11-21T21:26:28Z | 2024-02-14T03:35:23Z | https://github.com/langchain-ai/langchain/issues/13682 | 2,005,164,418 | 13,682 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I have run the below code which will try to go through the csv file and return the answer
```
import pandas as pd
import json
from langchain.llms import OpenAI
from langchain.chains import LLMChain
openai_api_key = ''
# Read CSV file into a DataFrame
df = pd.read_csv... | Returning "ValidationError: 1 validation error for LLMChain prompt value is not a valid dict (type=type_error.dict)" while trying to run the LLMChain | https://api.github.com/repos/langchain-ai/langchain/issues/13681/comments | 1 | 2023-11-21T21:15:55Z | 2024-02-14T03:35:23Z | https://github.com/langchain-ai/langchain/issues/13681 | 2,005,150,371 | 13,681 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using conversational retreival chain .from_llm(). If i try to print the final prompt that is been sent to LLM there i see LLM calls total 2 times. I will paste both the prompt in both calls.
Below is the code i am using
`qa_chain = ConversationalRetrievalChain.from_llm(llm=ll... | Issue: Queries on conversational retreival chain prompt | https://api.github.com/repos/langchain-ai/langchain/issues/13675/comments | 4 | 2023-11-21T20:28:07Z | 2024-02-27T16:05:54Z | https://github.com/langchain-ai/langchain/issues/13675 | 2,005,073,074 | 13,675 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: `0.0.339`
Python version: `3.10`
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- ... | Can not load chain with ChatPromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/13667/comments | 1 | 2023-11-21T17:40:19Z | 2023-11-27T16:39:51Z | https://github.com/langchain-ai/langchain/issues/13667 | 2,004,820,202 | 13,667 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am creating a tool that takes a multiple input arguments (say input1, input2). I would like to validate their types and also make sure that the tool only receives input1 and input2. How do I validate this without breaking the llm chain. I would instead like to return a warning to the l... | Issue: How to validate Tool input arguments without raising ValidationError | https://api.github.com/repos/langchain-ai/langchain/issues/13662/comments | 19 | 2023-11-21T16:23:53Z | 2024-07-29T16:06:18Z | https://github.com/langchain-ai/langchain/issues/13662 | 2,004,693,724 | 13,662 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.339
Python Version: 3.10.12
### Who can help?
@hwchase17
When trying to execute the example from the GraphSparqlQAChain docs a ValueError arises, in my understanding because it cannot parse the query correctly and execute it against the graph.
```
> Entering new GraphSp... | Error in executing SPARQL query with GraphSparqlQAChain and custom LLM (llamacpp) | https://api.github.com/repos/langchain-ai/langchain/issues/13656/comments | 5 | 2023-11-21T14:51:15Z | 2024-03-13T19:55:45Z | https://github.com/langchain-ai/langchain/issues/13656 | 2,004,456,391 | 13,656 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.326
Windows
Python 3.11.5
Nvidia P6-16Q GPU
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Temp... | LlamaCppEmbeddings - fails if all available GPU layers are used. | https://api.github.com/repos/langchain-ai/langchain/issues/13655/comments | 3 | 2023-11-21T14:42:36Z | 2024-06-01T00:16:36Z | https://github.com/langchain-ai/langchain/issues/13655 | 2,004,439,132 | 13,655 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
To develop a scalable solution, I hoped to store the AgentExecutor object in centralized memory, such as Redis. However, due to its non-serializable nature, this has not been possible. Is there a workaround to achieve this?
### Suggestion:
_No response_ | Issue: Unable to Serialize AgentExecutor Object for Centralized Storage | https://api.github.com/repos/langchain-ai/langchain/issues/13653/comments | 6 | 2023-11-21T14:03:40Z | 2024-08-07T22:38:49Z | https://github.com/langchain-ai/langchain/issues/13653 | 2,004,360,284 | 13,653 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
def delete_embeddings(file_path, persist_directory):
chroma_db = chromadb.PersistentClient(path=persist_directory)
collection = chroma_db.get_or_create_collection(name="langchain")
ids = collection.get(where={"source": file_path})['ids']
collection.delete(where={"so... | Issue: getting error in deletion of embeddings for a file | https://api.github.com/repos/langchain-ai/langchain/issues/13651/comments | 2 | 2023-11-21T13:25:26Z | 2024-02-27T16:06:04Z | https://github.com/langchain-ai/langchain/issues/13651 | 2,004,285,505 | 13,651 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu 22
python 3.10.12
Langchain==0.0.339
duckduckgo-search==3.9.6
### Who can help?
@timonpalm who created [the PR](https://github.com/langchain-ai/langchain/pull/8292)
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compone... | ddg error: backend "news" is obsolete so should raise an error and example should be updated | https://api.github.com/repos/langchain-ai/langchain/issues/13648/comments | 6 | 2023-11-21T12:10:21Z | 2024-03-16T15:41:57Z | https://github.com/langchain-ai/langchain/issues/13648 | 2,004,139,873 | 13,648 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Im trying to develop an sql agent chatbot that will generate and exceute SQL queries based on the user free-text questions.
so far I have developed a generic and basic agent with ChatGPT-4 and it worked pretty well (generated complex SQL and returned an answer).
When I tried to switch ... | SQL Agent not working well with Claude v2 model | https://api.github.com/repos/langchain-ai/langchain/issues/13647/comments | 3 | 2023-11-21T12:00:56Z | 2024-04-09T08:50:03Z | https://github.com/langchain-ai/langchain/issues/13647 | 2,004,123,075 | 13,647 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hello,
I'm not sure if this is already supported or not, I couldn't find anything in the documentation.
Is there a way to make chains support streaming ? It would be nice if we can get it working with something like the `load_summarize_chain`.
Or something like this:
```
doc_... | Support for streaming in the langchain chains (eg., load_summarize_chain) | https://api.github.com/repos/langchain-ai/langchain/issues/13644/comments | 3 | 2023-11-21T11:20:41Z | 2024-03-13T19:55:39Z | https://github.com/langchain-ai/langchain/issues/13644 | 2,004,052,880 | 13,644 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Regarding:
https://github.com/langchain-ai/langchain/blob/master/templates/rag-gpt-crawler/README.md
I found 2 issues:
1. no such file as "server.py" ( there is "rag_gpt_crawler.ipynb" instead )
2. in docs linked line
`from rag_chroma import chain as rag_gpt_crawler`
is no... | DOC: Template "rag-gpt-crawler" doc is incorrect | https://api.github.com/repos/langchain-ai/langchain/issues/13640/comments | 2 | 2023-11-21T09:39:28Z | 2023-11-22T22:06:11Z | https://github.com/langchain-ai/langchain/issues/13640 | 2,003,853,667 | 13,640 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The documentation on [creating documents](https://js.langchain.com/docs/modules/data_connection/document_loaders/how_to/creating_documents) covers optional document metadata but doesn't mention that it's possible to create text metadata in `page_content`. For example if only a fil... | DOC: Text metadata | https://api.github.com/repos/langchain-ai/langchain/issues/13639/comments | 2 | 2023-11-21T09:39:12Z | 2023-11-24T10:28:28Z | https://github.com/langchain-ai/langchain/issues/13639 | 2,003,853,198 | 13,639 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add a progress bar to `GooglePalmEmbeddings.embed_documents()` function. [tqdm](https://github.com/tqdm/tqdm) would work just fine.
In my opinion, all embedders should have a progress bar.
### Motivation
When processing embeddings the user should have an idea of how much time is going to take ... | Add progress bar to GooglePalmEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/13637/comments | 3 | 2023-11-21T09:16:16Z | 2024-02-27T16:06:19Z | https://github.com/langchain-ai/langchain/issues/13637 | 2,003,810,406 | 13,637 |
[
"hwchase17",
"langchain"
] | ### System Info
When using the Jira wrapper in LangChain to parse data from Jira tickets, the application encounters a TypeError if the ticket information is empty. This issue occurs specifically when the priority field of a ticket is not set, leading to a 'NoneType' object is not subscriptable error.
### Environme... | TypeError in Jira Wrapper When Parsing Empty Ticket Information | https://api.github.com/repos/langchain-ai/langchain/issues/13636/comments | 3 | 2023-11-21T08:52:06Z | 2024-02-27T16:06:24Z | https://github.com/langchain-ai/langchain/issues/13636 | 2,003,767,185 | 13,636 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.326
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
... | Chain Type Refine Error: 1 validation error for RefineDocumentsChain prompt extra fields not permitted | https://api.github.com/repos/langchain-ai/langchain/issues/13635/comments | 3 | 2023-11-21T08:36:32Z | 2024-02-27T16:06:29Z | https://github.com/langchain-ai/langchain/issues/13635 | 2,003,734,187 | 13,635 |
[
"hwchase17",
"langchain"
] | ### System Info
Lanchain V: 0.339
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] ... | Langchain.schema.runnable now missing from docs? | https://api.github.com/repos/langchain-ai/langchain/issues/13631/comments | 4 | 2023-11-20T23:53:15Z | 2024-03-13T19:55:48Z | https://github.com/langchain-ai/langchain/issues/13631 | 2,003,206,976 | 13,631 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain Version: 0.0.339
Python version: 3.10.8
Windows 10 Enterprise 21H2
When creating a ConversationalRetrievalChain as follows:
CONVERSATION_RAG_CHAIN_WITH_SUMMARY_BUFFER = ConversationalRetrievalChain(
combine_docs_chain=combine_docs_chain,
memory=summary_memory,
retriever=rag_retri... | Potential Bug in ConversationalRetrievalChain - TypeError: can only concatenate str (not "CTransformers") to str | TypeError: can only concatenate str (not "AzureChatOpenAI") to str | https://api.github.com/repos/langchain-ai/langchain/issues/13628/comments | 3 | 2023-11-20T23:14:44Z | 2024-03-17T16:06:11Z | https://github.com/langchain-ai/langchain/issues/13628 | 2,003,171,128 | 13,628 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain Version: 0.0.339
Python version: 3.10.8
Windows 10 Enterprise 21H2
When creating a ConversationalRetrievalChain as follows:
CONVERSATION_RAG_CHAIN_WITH_SUMMARY_BUFFER = ConversationalRetrievalChain(
combine_docs_chain=combine_docs_chain,
memory=summary_memory,
retriev... | Potential Bug in Retriever.py: Can't instantiate abstract class BaseRetriever with abstract method _get_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/13624/comments | 9 | 2023-11-20T21:27:06Z | 2024-07-01T04:57:23Z | https://github.com/langchain-ai/langchain/issues/13624 | 2,003,033,612 | 13,624 |
[
"hwchase17",
"langchain"
] | ### Feature request
I have been using Ollama with Langchain for various tasks, but sometimes Ollama takes too long to respond depending on my local hardware. Is it possible to add a configurable timeout to the Ollama base class so that I can adjust this setting to avoid timeouts when using agents. Currently, I am gett... | Configurable timeout for Ollama | https://api.github.com/repos/langchain-ai/langchain/issues/13622/comments | 3 | 2023-11-20T21:10:54Z | 2023-11-20T21:36:40Z | https://github.com/langchain-ai/langchain/issues/13622 | 2,003,012,832 | 13,622 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The compatible versions for library `pgvector` listed in `poetry.lock` are really old: `"pgvector (>=0.1.6,<0.2.0)"`.
Are we able to update them to more recent ones?
### Suggestion:
Update versions to recent ones. | Issue: `pgvector` versions in `poetry.lock` are really old | https://api.github.com/repos/langchain-ai/langchain/issues/13617/comments | 3 | 2023-11-20T19:32:27Z | 2024-03-17T16:06:06Z | https://github.com/langchain-ai/langchain/issues/13617 | 2,002,864,501 | 13,617 |
[
"hwchase17",
"langchain"
] | ### System Info
# Create and load Redis with documents
vectorstore = RedisVectorStore.from_texts(
texts=texts,
metadatas=metadatas,
embedding=embedding,
index_name=index_name,
redis_url=redis_url
)
The error i faced
Redis cannot be used as a vector database without RediSearch >=2.4... | ValueError: Redis failed to connect: | https://api.github.com/repos/langchain-ai/langchain/issues/13611/comments | 4 | 2023-11-20T16:10:48Z | 2024-06-19T11:39:45Z | https://github.com/langchain-ai/langchain/issues/13611 | 2,002,541,905 | 13,611 |
[
"hwchase17",
"langchain"
] | ### System Info
I encountered an exception and a type checking notice in PyCharm while working with the following code snippet:
```
split_documents = text_splitter.split_documents(raw_documents)
cached_embedder.embed_documents(**split_documents**)
```
The type checking notice indicates that there is a mismatc... | Type Checking issue: CacheBackedEmbeddings.split_documents does not take a list of Documents | https://api.github.com/repos/langchain-ai/langchain/issues/13610/comments | 3 | 2023-11-20T15:27:25Z | 2024-02-26T16:05:48Z | https://github.com/langchain-ai/langchain/issues/13610 | 2,002,454,320 | 13,610 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, I am working on a conversational chatbot, here is a snippet of the code :
```
general_system_template = ""You a chatbot...
---
{summaries}"""
general_user_template = "Question: {question}"
messages = [
SystemMessagePromptTemplate.from_template(general_system_te... | Issue: Validation errors for ConversationalRetrievalChain (combine_docs_chain) | https://api.github.com/repos/langchain-ai/langchain/issues/13607/comments | 3 | 2023-11-20T13:30:37Z | 2024-02-26T16:05:53Z | https://github.com/langchain-ai/langchain/issues/13607 | 2,002,214,770 | 13,607 |
[
"hwchase17",
"langchain"
] | ### System Info
python = "^3.8.10"
langchain = "^0.0.336"
google-cloud-aiplatform = "^1.36.3"
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt... | Changed import of VertexAI | https://api.github.com/repos/langchain-ai/langchain/issues/13606/comments | 3 | 2023-11-20T12:55:25Z | 2024-02-26T16:05:58Z | https://github.com/langchain-ai/langchain/issues/13606 | 2,002,142,951 | 13,606 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've created a multi-level directory vector store using Faiss. How can I retrieve all indices within one or multiple subdirectories?
### Suggestion:
_No response_ | Issue: retrieve multi index from vector store using Faiss in Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/13605/comments | 2 | 2023-11-20T12:47:43Z | 2023-11-21T14:58:27Z | https://github.com/langchain-ai/langchain/issues/13605 | 2,002,129,643 | 13,605 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.338
Python 3.11.5
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | Structured tools not able to pass structured data to each other | https://api.github.com/repos/langchain-ai/langchain/issues/13602/comments | 12 | 2023-11-20T10:21:21Z | 2024-02-26T16:06:04Z | https://github.com/langchain-ai/langchain/issues/13602 | 2,001,851,127 | 13,602 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain==0.0.338
python==3.8.1
neo4j latest
this is the error:
---------------------------------------------------------------------------
ConfigurationError Traceback (most recent call last)
[/Users/m1/Desktop/LangChain/Untitled.ipynb](https://file+.vscode-resource.v... | Neo4j - ConfigurationError: username not supported in the URI | https://api.github.com/repos/langchain-ai/langchain/issues/13601/comments | 5 | 2023-11-20T10:21:02Z | 2024-02-26T16:06:08Z | https://github.com/langchain-ai/langchain/issues/13601 | 2,001,850,563 | 13,601 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'd like to make `ConversationSummaryMemory` is filled with the previous questions and answers for a specific conversation from an SQLite database so I can have my agent already aware of previous conversation with the user.
Here's my current code:
```py
import os
import sys
from... | Issue: Filling `ConversationSummaryMemory` with existing conversation from an SQLite database | https://api.github.com/repos/langchain-ai/langchain/issues/13599/comments | 17 | 2023-11-20T08:52:20Z | 2023-11-30T03:27:24Z | https://github.com/langchain-ai/langchain/issues/13599 | 2,001,666,284 | 13,599 |
[
"hwchase17",
"langchain"
] | ### Feature request
add support for other multimodal models like Llava, Fuyu, Bakllava... This would help with RAG, where documents have non text data.
### Motivation
I have a lot of tables and images to proccess in PDFs when doing RAG, and right now this is not ideal.
### Your contribution
no time :( | add multimodal support | https://api.github.com/repos/langchain-ai/langchain/issues/13597/comments | 3 | 2023-11-20T07:00:43Z | 2024-02-26T16:06:13Z | https://github.com/langchain-ai/langchain/issues/13597 | 2,001,501,651 | 13,597 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using Qdrant as my vector store, and now, every time I use 'max_marginal_relevance_search' with a fix k parameter. It will always return the same documents. How to add some randomness? So it will return something different(Still within the score_threshold) each time. Here is my samp... | Issue: How to add randomness when using max_marginal_relevance_search with Qdrant | https://api.github.com/repos/langchain-ai/langchain/issues/13596/comments | 3 | 2023-11-20T06:38:24Z | 2024-02-26T16:06:18Z | https://github.com/langchain-ai/langchain/issues/13596 | 2,001,474,706 | 13,596 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.266
### Who can help?
@eyurtsev @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | [SelfQueryRetriever] Generated Query Mismatched Timestamp Type | https://api.github.com/repos/langchain-ai/langchain/issues/13593/comments | 3 | 2023-11-20T04:16:00Z | 2024-04-30T16:22:56Z | https://github.com/langchain-ai/langchain/issues/13593 | 2,001,330,836 | 13,593 |
[
"hwchase17",
"langchain"
] | ### Feature request
Ability to use guidance.
https://github.com/guidance-ai/guidance
### Motivation
Not related to a problem.
### Your contribution
Not sure yet but I can look into it if it is something the community considers. | Support for Guidance | https://api.github.com/repos/langchain-ai/langchain/issues/13590/comments | 3 | 2023-11-20T03:54:37Z | 2024-02-26T16:06:23Z | https://github.com/langchain-ai/langchain/issues/13590 | 2,001,313,070 | 13,590 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I know I can generate a python dictionary output using StructuredOutputParser like { "a":1, "b":2, "c":3}. However, I would like to generate a nested dic like { "a":1, "b":2, "c":{"d":4, "e":5}}
How can I do it?
### Suggestion:
_No response_ | Issue: can i generate a nested dic output | https://api.github.com/repos/langchain-ai/langchain/issues/13589/comments | 3 | 2023-11-20T03:10:22Z | 2024-02-26T16:06:27Z | https://github.com/langchain-ai/langchain/issues/13589 | 2,001,278,123 | 13,589 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm using a conversationchain that contains memory. It is defined as:
llm = ChatOpenAI(temperature=0.0, model=llm_model)
memory = ConversationBufferMemory()
conversation = ConversationChain(
llm=llm,
memory = memory,
verbose=True
)
I know I can access the current... | Issue: can i access memory buffer through chain? | https://api.github.com/repos/langchain-ai/langchain/issues/13584/comments | 5 | 2023-11-19T21:31:23Z | 2024-02-25T16:05:02Z | https://github.com/langchain-ai/langchain/issues/13584 | 2,001,045,763 | 13,584 |
[
"hwchase17",
"langchain"
] | ### System Info
Linux 20.04 LTS
Python 3.6
### Who can help?
@hwchase17 seems like this got introduced on 2023-11-16
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Template... | The tracing on_llm_error() implementation calls _on_chain_error(), not _on_llm_error() | https://api.github.com/repos/langchain-ai/langchain/issues/13580/comments | 3 | 2023-11-19T19:21:07Z | 2024-02-28T16:07:56Z | https://github.com/langchain-ai/langchain/issues/13580 | 2,000,998,966 | 13,580 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac M1
### Who can help?
@eyurtsev
Here:
https://github.com/langchain-ai/langchain/blob/78a1f4b264fbdca263a4f8873b980eaadb8912a7/libs/langchain/langchain/document_loaders/confluence.py#L284
We start adding the "max_pages" first pages to the "docs" list that will be the output of loader.load.... | Confluence loader fails to retrieve specific pages when 'pages_ids' is given | https://api.github.com/repos/langchain-ai/langchain/issues/13579/comments | 5 | 2023-11-19T18:54:14Z | 2024-02-26T16:06:38Z | https://github.com/langchain-ai/langchain/issues/13579 | 2,000,989,464 | 13,579 |
[
"hwchase17",
"langchain"
] | I am having a wonderful time with my code, but after changing my template it now fails before I even get to give my input. Baffling!
all the required imports are not shown here nor is all the prompt text (containing no special characters)
template = '''Your task is to extract the relationships between terms i... | ConversationChain failure after changing template text | https://api.github.com/repos/langchain-ai/langchain/issues/13578/comments | 6 | 2023-11-19T16:56:45Z | 2023-11-20T13:28:40Z | https://github.com/langchain-ai/langchain/issues/13578 | 2,000,941,147 | 13,578 |
[
"hwchase17",
"langchain"
] | ### Feature request
The feature request I am proposing involves the implementation of hybrid search, specifically using the Reciprocal Rank Fusion (RRF) method, in LangChain through the integration of OpenSearch's vector store.
This would enable the combination of keyword and similarity search. Currently, LangChain... | Implementing Hybrid Search (RRF) in LangChain Using OpenSearch Vector Store | https://api.github.com/repos/langchain-ai/langchain/issues/13574/comments | 13 | 2023-11-19T13:59:02Z | 2024-04-05T23:00:07Z | https://github.com/langchain-ai/langchain/issues/13574 | 2,000,862,839 | 13,574 |
[
"hwchase17",
"langchain"
] | ### System Info
Using langchain 0.0.337 python, FastAPI.
When I use openai up through 0.28.1 it works fine. Upgrading to 1.0.0 or above results in the following error (when I try to use ChatOpenAI from langchain.chat_models):
"ImportError: Could not import openai python package. Please install it with `pip insta... | Upgrading to OpenAI Python 1.0+ = ImportError: Could not import openai python package. | https://api.github.com/repos/langchain-ai/langchain/issues/13567/comments | 4 | 2023-11-18T22:04:33Z | 2023-11-21T00:39:08Z | https://github.com/langchain-ai/langchain/issues/13567 | 2,000,596,810 | 13,567 |
[
"hwchase17",
"langchain"
] | ### System Info
```
poetry show langchain
name : langchain
version : 0.0.259
description : Building applications with LLMs through composability
dependencies
- aiohttp >=3.8.3,<4.0.0
- async-timeo... | from_llm_and_api_docs fails on gpt-4-1106-preview | https://api.github.com/repos/langchain-ai/langchain/issues/13566/comments | 3 | 2023-11-18T22:02:27Z | 2024-02-26T16:06:42Z | https://github.com/langchain-ai/langchain/issues/13566 | 2,000,596,258 | 13,566 |
[
"hwchase17",
"langchain"
] | ### System Info
Facing this error while executing the langchain code.
```
pydantic.error_wrappers.ValidationError: 1 validation error for RetrievalQA
separators
extra fields not permitted (type=value_error.extra)
```
Code for retrivalQA
def retrieval_qa_chain(llm, prompt, retriever):
qa_chain = Retriev... | pydantic.error_wrappers.ValidationError: 1 validation error for RetrievalQA separators extra fields not permitted (type=value_error.extra) | https://api.github.com/repos/langchain-ai/langchain/issues/13565/comments | 3 | 2023-11-18T21:06:02Z | 2024-02-24T16:05:13Z | https://github.com/langchain-ai/langchain/issues/13565 | 2,000,580,109 | 13,565 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain Version: 0.0.337
Python: 3.10
### Who can help?
@hwchase17
Note: I am facing this issue with Weaviate, when I use the Chroma Vector Store it's working fine.
I am trying to use "Weaviate Vector DB" with ParentDocumentRetriever and I am getting this error during the pipeline:
... | Bug: Weaviate raise doc_id error using with ParentDocumentRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/13563/comments | 2 | 2023-11-18T18:09:56Z | 2023-11-18T18:33:42Z | https://github.com/langchain-ai/langchain/issues/13563 | 2,000,522,960 | 13,563 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, the new Cohere embedding models are now available on Amazon Bedrock. How can we use them for their reranking capability (instead of just embedding via BedrockEmbedding class)
### Motivation
These models perform well for reranking | BedrockRerank using newly available Cohere embedding model | https://api.github.com/repos/langchain-ai/langchain/issues/13562/comments | 10 | 2023-11-18T17:51:30Z | 2024-05-25T20:47:11Z | https://github.com/langchain-ai/langchain/issues/13562 | 2,000,516,549 | 13,562 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi there,
I have a LangChain app at https://huggingface.co/spaces/bstraehle/openai-llm-rag/blob/main/app.py. Using the latest release 0.0.337 produces the error below. Pinning the library to release 0.0.336 works as expected.
:blue_heart: LangChain, thanks!
Bernd
---
Traceback (most r... | Release 0.0.337 breaks MongoDBAtlasVectorSearch.from_connection_string? | https://api.github.com/repos/langchain-ai/langchain/issues/13560/comments | 7 | 2023-11-18T16:43:18Z | 2023-11-28T14:54:05Z | https://github.com/langchain-ai/langchain/issues/13560 | 2,000,493,292 | 13,560 |
[
"hwchase17",
"langchain"
] | Im building an embedded chatbot using langchain and openai its working fine but the issue is that the responses takes around 15-25 seconds and i tried to use the time library to know which line is taking this much
`import os
import sys
from langchain.chains import ConversationalRetrievalChain
from langchain.chat_... | Response taking way to long | https://api.github.com/repos/langchain-ai/langchain/issues/13558/comments | 4 | 2023-11-18T15:01:10Z | 2024-02-25T16:05:22Z | https://github.com/langchain-ai/langchain/issues/13558 | 2,000,456,203 | 13,558 |
[
"hwchase17",
"langchain"
] | ### System Info
Bumped into HTTPError when using DuckDuckGo search wrapper in an agent, currently using `langchain==0.0.336`.
Here's the snippet of the traceback as below.
```
File "/path/to/venv/lib/python3.10/site-packages/langchain/utilities/duckduckgo_search.py", line 64, in run
snippets = self.get_sn... | Adding DuckDuckGo search HTTPError handling | https://api.github.com/repos/langchain-ai/langchain/issues/13556/comments | 8 | 2023-11-18T13:58:54Z | 2024-02-24T16:05:22Z | https://github.com/langchain-ai/langchain/issues/13556 | 2,000,431,479 | 13,556 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
How to update the template and packages of an app created from a template?
I checked:
https://github.com/langchain-ai/langchain/tree/master/templates
and a couple of templates' README.mds, but this info is missing and it's not obvious for us citizen devs.
I supposed it should ... | DOC: add info about how to update the template and the packages of an app created from a template | https://api.github.com/repos/langchain-ai/langchain/issues/13551/comments | 5 | 2023-11-18T10:44:59Z | 2024-02-24T16:05:27Z | https://github.com/langchain-ai/langchain/issues/13551 | 2,000,367,453 | 13,551 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.336
Python: 3.11.6
OS: Microsoft Windows [Version 10.0.19045.3693]
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Promp... | AIMessage in output of Qianfan with streaming enabled may lose info about 'additional_kwargs', which causes 'function_call', 'token_usage' info lost. | https://api.github.com/repos/langchain-ai/langchain/issues/13548/comments | 6 | 2023-11-18T03:19:52Z | 2024-02-25T16:05:27Z | https://github.com/langchain-ai/langchain/issues/13548 | 2,000,187,192 | 13,548 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Here is my code:
"""For basic init and call"""
import os
import qianfan
from langchain.chat_models import QianfanChatEndpoint
from langchain.chat_models.base import HumanMessage
os.environ["QIANFAN_AK"] = "myak"
os.environ["QIANFAN_SK"] = "mysk"
chat = QianfanChatEndpoint(
... | Issue: When using Qianfan chat model and enabling streaming, get ValueError | https://api.github.com/repos/langchain-ai/langchain/issues/13546/comments | 4 | 2023-11-18T02:49:13Z | 2024-03-13T19:55:40Z | https://github.com/langchain-ai/langchain/issues/13546 | 2,000,175,679 | 13,546 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.337
Python version: 3.10.13
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | New update broke embeddings models | https://api.github.com/repos/langchain-ai/langchain/issues/13539/comments | 3 | 2023-11-17T21:47:33Z | 2023-11-18T20:07:42Z | https://github.com/langchain-ai/langchain/issues/13539 | 1,999,979,607 | 13,539 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Why does the below code complain that extra_instructions is a missing key, even though it's learning included in input_variables=["context", "question", "extra_instructions"]?
Any help is greatly appreciated.
vectorstore = Chroma(
collection_name=collection_name,
... | Issue: Missing some input keys in langchain even when it's present - unclear how prompt args are treated | https://api.github.com/repos/langchain-ai/langchain/issues/13536/comments | 3 | 2023-11-17T21:00:10Z | 2024-02-23T16:05:27Z | https://github.com/langchain-ai/langchain/issues/13536 | 1,999,921,377 | 13,536 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.