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"
] | ### System Info
LangChain version: 0.0.354
LangChain Community version: 0.0.8
Platform: Apple M3 Pro chip on MacOS Sonoma (MacOS 14.2.1)
Python version: 3.11.7
### Who can help?
@baskaryan has the most recent commits on this section of the code, but it was for moving items to the `langchain_community` package. I'... | `UnstructuredFileLoader` shows `TypeError: expected str, bytes or os.PathLike object, not list` when a list of files is passed in | https://api.github.com/repos/langchain-ai/langchain/issues/15607/comments | 4 | 2024-01-05T22:14:50Z | 2024-01-24T03:37:38Z | https://github.com/langchain-ai/langchain/issues/15607 | 2,068,110,708 | 15,607 |
[
"langchain-ai",
"langchain"
] | ### System Info
## System Info
**LangChain Version:** 0.0.354
**Platform:** MacOS Sonoma 14.2.1
**Python Version:** 3.11.6
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ]... | Playwright Browser Freezing | https://api.github.com/repos/langchain-ai/langchain/issues/15605/comments | 6 | 2024-01-05T20:59:22Z | 2024-07-06T11:44:10Z | https://github.com/langchain-ai/langchain/issues/15605 | 2,068,033,254 | 15,605 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/15598
<div type='discussions-op-text'>
<sup>Originally posted by **MahdiJafari1** January 5, 2024</sup>
OpenAI deprecated its `text-davinci-003` completion model. I've updated the model to `gpt-3.5-turbo-instruct`. I am encountering an issue... | Issue with LangChain Misclassifying gpt-3.5-turbo-instruct as Chat Model | https://api.github.com/repos/langchain-ai/langchain/issues/15604/comments | 3 | 2024-01-05T20:55:57Z | 2024-01-06T18:29:34Z | https://github.com/langchain-ai/langchain/issues/15604 | 2,068,029,209 | 15,604 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.354, Windows 10,Python 3.11.5
### Who can help?
@hwchase17 @eyurtsev
### 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 with ConversationalRetrievalChain in LangChain - ValueError: Missing Input Keys | https://api.github.com/repos/langchain-ai/langchain/issues/15601/comments | 3 | 2024-01-05T20:09:10Z | 2024-04-15T16:25:10Z | https://github.com/langchain-ai/langchain/issues/15601 | 2,067,974,482 | 15,601 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
There is no way to view the old documentation on [the official site](https://python.langchain.com/). This makes it extremely difficult to develop. It seems as though every week there is another feature that is deleted, thus another page being deleted.
How is this acceptable? I... | DOC: Lack of Documentation Versioning on Langchain Website | https://api.github.com/repos/langchain-ai/langchain/issues/15597/comments | 2 | 2024-01-05T19:17:59Z | 2024-04-13T16:11:50Z | https://github.com/langchain-ai/langchain/issues/15597 | 2,067,913,011 | 15,597 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello Langchain team,
I have encountered an error while using `AgentTokenBufferMemory` and `RedisChatMessageHistory`. The problem occurs because the buffer is not removing old messages when new ones are added. This causes an issue with OpenAI as the context window exceeds the token limit. Upon inves... | AgentTokenBufferMemory does not remove old messages, leading to the "context_length_exceeded" error from OpenAI. | https://api.github.com/repos/langchain-ai/langchain/issues/15593/comments | 2 | 2024-01-05T18:25:18Z | 2024-05-01T16:06:03Z | https://github.com/langchain-ai/langchain/issues/15593 | 2,067,842,408 | 15,593 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be really great to enhance the VectorStoreRetriever class, by allowing additional (optional) search kwargs to be passed directly to the invoke method. Right now the input type of the invoke method is str, it would be interesting to be able to receive a custom object with "query" and "filte... | Enhance Flexibility in VectorStoreRetriever by Allowing Dynamic search args in invoke Method | https://api.github.com/repos/langchain-ai/langchain/issues/15590/comments | 3 | 2024-01-05T17:29:34Z | 2024-04-12T16:11:30Z | https://github.com/langchain-ai/langchain/issues/15590 | 2,067,752,188 | 15,590 |
[
"langchain-ai",
"langchain"
] | ### System Info
python: 3.11
langchain: latest
### 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
... | In a Chatbot to chat with SQL using openai and langchain, how to integrate the chatbot to make simple conversations | https://api.github.com/repos/langchain-ai/langchain/issues/15587/comments | 7 | 2024-01-05T14:26:07Z | 2024-04-15T16:19:09Z | https://github.com/langchain-ai/langchain/issues/15587 | 2,067,440,671 | 15,587 |
[
"langchain-ai",
"langchain"
] | ### System Info
google-cloud-aiplatform==1.35.0,
langchain-0.0.354
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
-... | RAG chain response often includes "\n AI:" in front of actual response | https://api.github.com/repos/langchain-ai/langchain/issues/15586/comments | 4 | 2024-01-05T14:12:29Z | 2024-01-16T00:49:32Z | https://github.com/langchain-ai/langchain/issues/15586 | 2,067,418,916 | 15,586 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = 0.0.354
This problem appears since commit 62d32bd
### 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 / Prom... | Chroma as_retriever function with kwargs leads to unexpected keyword argument | https://api.github.com/repos/langchain-ai/langchain/issues/15585/comments | 7 | 2024-01-05T13:35:08Z | 2024-06-26T20:11:46Z | https://github.com/langchain-ai/langchain/issues/15585 | 2,067,361,958 | 15,585 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.11
Mac M1
Langchain Version: 0.0.353
openai Version: 0.28.0
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | Clickhouse SQL Database Agent | https://api.github.com/repos/langchain-ai/langchain/issues/15584/comments | 2 | 2024-01-05T13:31:32Z | 2024-01-06T07:38:01Z | https://github.com/langchain-ai/langchain/issues/15584 | 2,067,357,036 | 15,584 |
[
"langchain-ai",
"langchain"
] | Hi,
I am using langchain and llama-cpp-python to do some QA on a text file. When using the llama-2-13b-chat quantized model from [HuggingFace](https://huggingface.co/TheBloke/Llama-2-13B-chat-GGUF/blob/main/llama-2-13b-chat.Q5_K_M.gguf). I am able to create a RetrievalQA chain passing the vectorstore and prompt, but w... | Issue: ipykernel kernel crashes when using llama-2-13b model | https://api.github.com/repos/langchain-ai/langchain/issues/15583/comments | 1 | 2024-01-05T13:08:21Z | 2024-04-12T16:12:43Z | https://github.com/langchain-ai/langchain/issues/15583 | 2,067,325,836 | 15,583 |
[
"langchain-ai",
"langchain"
] | ### System Info
In the langchain_community/vectorstores/azuresearch.py on line 656 the filed name is used explicitly, which leads to an error if the index does not have the mentioned filed. The suggestion is to replace
`json.loads(result["metadata").get("key"), ""),`
with `json.loads(result[FIELDS_METADATA]).get("... | metadata is not properly processed when the field does not exists | https://api.github.com/repos/langchain-ai/langchain/issues/15581/comments | 1 | 2024-01-05T11:39:32Z | 2024-01-07T01:05:01Z | https://github.com/langchain-ai/langchain/issues/15581 | 2,067,198,112 | 15,581 |
[
"langchain-ai",
"langchain"
] | ### System Info
google-cloud-aiplatform==1.35.0,
langchain-0.0.354
### 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 / P... | ValueError: variable chat_history should be a list of base messages, got [HumanMessage(content='input message'), "output response"] | https://api.github.com/repos/langchain-ai/langchain/issues/15580/comments | 1 | 2024-01-05T11:34:20Z | 2024-01-05T13:53:05Z | https://github.com/langchain-ai/langchain/issues/15580 | 2,067,191,288 | 15,580 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/5701
<div type='discussions-op-text'>
<sup>Originally posted by **rdhillbb** June 5, 2023</sup>
Newbie here.
I found an issue while importing 'VectorstoreIndexCreator'
ImportError: cannot import name 'URL' from 'sqlalchemy' (/Users/tst... | Cannot import name 'URL' from 'sqlalchemy' | https://api.github.com/repos/langchain-ai/langchain/issues/15579/comments | 5 | 2024-01-05T11:32:28Z | 2024-05-13T16:09:17Z | https://github.com/langchain-ai/langchain/issues/15579 | 2,067,188,914 | 15,579 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code
def generate_custom_prompt(query=None,name=None,not_uuid=None,chroma_db_path=None):
check = query.lower()
embedding = OpenAIEmbeddings()
vectordb = Chroma(persist_directory=chroma_db_path, embedding_function=embedding)
retriever = vectordb.as_retr... | Issue:How can I resolve memory with conversation retreival chain error? | https://api.github.com/repos/langchain-ai/langchain/issues/15577/comments | 1 | 2024-01-05T10:33:22Z | 2024-04-12T16:18:52Z | https://github.com/langchain-ai/langchain/issues/15577 | 2,067,106,521 | 15,577 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
we are trying to use pypdf to get the text out from the pdf use the chunk for embedding(details are there in attached code snippet. while using, i have installed all the required packages. its working fine in my local(windows 10). same code snippet and requirement.txt if i... | Issue: Pypdf extract_image=True is not working on docker(production) | https://api.github.com/repos/langchain-ai/langchain/issues/15576/comments | 8 | 2024-01-05T09:42:50Z | 2024-06-12T07:02:00Z | https://github.com/langchain-ai/langchain/issues/15576 | 2,067,029,408 | 15,576 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
` if file_path.lower().endswith(".xlsx") or file_path.lower().endswith(".xls"):
loader = UnstructuredExcelLoader(file_path, mode="elements")
document = loader.load()
text_splitter = RecursiveCharacterTextSplitter(chunk_size=100, chunk_overlap... | Issue: Not able to get the expected answers when asking answer of other column corresponding to other column | https://api.github.com/repos/langchain-ai/langchain/issues/15573/comments | 4 | 2024-01-05T08:49:04Z | 2024-04-12T16:16:29Z | https://github.com/langchain-ai/langchain/issues/15573 | 2,066,955,284 | 15,573 |
[
"langchain-ai",
"langchain"
] | ### System Info
I want to use the news-api tool, and I have these setting for api key:
```
os.environ["NEWS_API_KEY"] = "9ed***"
tools = load_tools(["news-api"], llm=llm, news_api_key="9ed****", memory=memory)
```
But when the action is activated, the error is:
```
Action: Search
https://newsapi.org... | How to set api key for news-api? | https://api.github.com/repos/langchain-ai/langchain/issues/15572/comments | 2 | 2024-01-05T08:21:08Z | 2024-04-12T22:37:11Z | https://github.com/langchain-ai/langchain/issues/15572 | 2,066,921,236 | 15,572 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11
Langchain 0.0.354
Windows 11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Promp... | SQLDatabaseToolkit - httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol | https://api.github.com/repos/langchain-ai/langchain/issues/15567/comments | 1 | 2024-01-05T04:54:04Z | 2024-04-12T16:19:05Z | https://github.com/langchain-ai/langchain/issues/15567 | 2,066,727,007 | 15,567 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain:0.0.353
platform:windows10
python:3.10
I am a beginner in Langchain. I am a I want to use ConversationTokenBufferMemory to manually save the context, but an error occurred. My code is as follows
`import os
from lc.api_key import OPENAI_API_KEY
os.environ['OPENAI_API_KEY'] = OPENAI_API... | ValueError: too many values to unpack (expected 2) | https://api.github.com/repos/langchain-ai/langchain/issues/15564/comments | 1 | 2024-01-05T03:05:15Z | 2024-04-12T16:16:44Z | https://github.com/langchain-ai/langchain/issues/15564 | 2,066,656,658 | 15,564 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm using Langchain 0.0.354 and ChatOpenAI. I want to use parameter "n" in OpenAI API to return "n" completions. However, ChatOpenAI always returns a single output. Ultimately, I would like to build my chain using LCEL as follows: `chain = prompt | ChatOpenAI (n=10) | MyCustomParser`. Ca... | Issue: How to use "n" completions with LCEL | https://api.github.com/repos/langchain-ai/langchain/issues/15560/comments | 1 | 2024-01-04T21:31:34Z | 2024-04-11T16:14:15Z | https://github.com/langchain-ai/langchain/issues/15560 | 2,066,364,259 | 15,560 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to run the below:
> import requests
> import json
> from langchain.agents import AgentType, initialize_agent, load_tools
> from langchain_community.llms import OpenAI
> from langchain.chat_models import ChatOpenAI
>
>
> llm = ChatOpenAI(temperature=0,model= 'gpt-3... | Authentican error | https://api.github.com/repos/langchain-ai/langchain/issues/15555/comments | 1 | 2024-01-04T19:48:30Z | 2024-04-11T16:22:16Z | https://github.com/langchain-ai/langchain/issues/15555 | 2,066,241,880 | 15,555 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
from langchain.vectorstores.pgvector import PGVector
db = PGVector.from_documents(
documents= docs,
embedding = embeddings,
collection_name= "blog_posts",
distance_strategy = DistanceStrategy.COSINE,
connection_string=CONNECTION_STRING
)
```
This code ... | How to specify a custom schema in PGVector.from_documents? | https://api.github.com/repos/langchain-ai/langchain/issues/15553/comments | 2 | 2024-01-04T19:08:46Z | 2024-06-16T16:07:39Z | https://github.com/langchain-ai/langchain/issues/15553 | 2,066,194,527 | 15,553 |
[
"langchain-ai",
"langchain"
] | ### System Info
Error stack
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
File <command-3066972537097411>, line 1
----> 1 issue_recommendation(
2 review_title="Terrible",
3 revie... | TypeError: expected string or buffer | https://api.github.com/repos/langchain-ai/langchain/issues/15552/comments | 2 | 2024-01-04T19:02:22Z | 2024-06-08T16:08:45Z | https://github.com/langchain-ai/langchain/issues/15552 | 2,066,185,557 | 15,552 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a large Agent with lots of memory/observations but initializing takes to much time. Is there a way to save the memory and load it again? Whats the best way to achieve this? Ideally I would like to reuse the vector store for memory and then for each new user save/load the memory/co... | Question: Using TimeWeightedVectorStoreRetriever and GenerativeAgentMemory is there a way to save the memory and load it again? | https://api.github.com/repos/langchain-ai/langchain/issues/15549/comments | 3 | 2024-01-04T16:39:30Z | 2024-01-04T16:59:31Z | https://github.com/langchain-ai/langchain/issues/15549 | 2,065,981,904 | 15,549 |
[
"langchain-ai",
"langchain"
] | ### System Info
I try to load pdf in from langchain.document_loaders import PyPDFDirectoryLoader
got error this WARNING:pypdf._reader:incorrect startxref pointer(3)
from langchain.document_loaders import PyPDFDirectoryLoader
from langchain_community.document_loaders import PyPDFLoader
loader = PyPDFDirectoryLo... | WARNING:pypdf._reader:incorrect startxref pointer(3) | https://api.github.com/repos/langchain-ai/langchain/issues/15548/comments | 4 | 2024-01-04T16:25:57Z | 2024-04-12T16:12:41Z | https://github.com/langchain-ai/langchain/issues/15548 | 2,065,959,358 | 15,548 |
[
"langchain-ai",
"langchain"
] | ### System Info
python==3.10
langchain==0.0.326
langdetect==1.0.9
langsmith==0.0.54
### 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 / P... | GraphCypherQAChain doesn't support returning source documents with `return_source_documents` param like the `BaseQAWithSourcesChain` chains | https://api.github.com/repos/langchain-ai/langchain/issues/15543/comments | 3 | 2024-01-04T14:32:14Z | 2024-04-17T16:33:13Z | https://github.com/langchain-ai/langchain/issues/15543 | 2,065,766,207 | 15,543 |
[
"langchain-ai",
"langchain"
] | ### System Info
google-cloud-bigquery = "^3.14.1"
google-api-core = "^2.15.0"
google-cloud-core = "^2.4.1"
grpcio = "^1.60.0"
grpcio-tools = "^1.60.0"
langchain-google-genai = "^0.0.5"
langchain-core = "^0.1.5"
google-cloud-aiplatform = "^1.38.1"
langchain-community = "^0.0.8"
### Who can help?
when test the... | INFORMATION_SCHEMA.VECTOR_INDEXES was not found in google big-query | https://api.github.com/repos/langchain-ai/langchain/issues/15538/comments | 5 | 2024-01-04T11:51:00Z | 2024-04-16T16:18:40Z | https://github.com/langchain-ai/langchain/issues/15538 | 2,065,516,520 | 15,538 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When using asynchronous loading the `RecursiveUrlLoader`, it would be nice to be able to set a limit for the number of parallel HTTP requests when scraping a website.
Right now, when using async loading it is very likely to get errors like the following:
```
04-01-24 12:02:53 [WARNING] recurs... | feat: limit the number of concurrent requests in the RecursiveUrlLoader | https://api.github.com/repos/langchain-ai/langchain/issues/15536/comments | 1 | 2024-01-04T11:08:15Z | 2024-04-11T16:14:09Z | https://github.com/langchain-ai/langchain/issues/15536 | 2,065,453,597 | 15,536 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python version: 3.9.7
Langchain version: 0.0.352
Argilla version: 1.20.0
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | ArgillaCallback doesn't properly set DEFAULT_API_KEY | https://api.github.com/repos/langchain-ai/langchain/issues/15531/comments | 1 | 2024-01-04T09:53:47Z | 2024-04-11T16:18:21Z | https://github.com/langchain-ai/langchain/issues/15531 | 2,065,338,280 | 15,531 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.351
langchain-community 0.0.4
python 3.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | The ChatHuggingFace package cannot be found. "from langchain_community.chat_models.huggingface import ChatHuggingFace",Has ChatHuggingFace changed paths? | https://api.github.com/repos/langchain-ai/langchain/issues/15530/comments | 3 | 2024-01-04T09:24:18Z | 2024-04-11T16:14:09Z | https://github.com/langchain-ai/langchain/issues/15530 | 2,065,294,377 | 15,530 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code where I am implementing Memory with Prompt Template
def generate_custom_prompt(query=None,name=None,not_uuid=None,chroma_db_path=None):
check = query.lower()
embedding = OpenAIEmbeddings()
vectordb = Chroma(persist_directory=chroma_db_path, embedding_... | Issue: document_variable_name context was not found in llm_chain input_variables: | https://api.github.com/repos/langchain-ai/langchain/issues/15528/comments | 4 | 2024-01-04T08:18:07Z | 2024-06-08T16:08:40Z | https://github.com/langchain-ai/langchain/issues/15528 | 2,065,203,802 | 15,528 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
from langchain.chains import LLMChain
from langchain.prompts import (
ChatPromptTemplate,
HumanMessagePromptTemplate,
MessagesPlaceholder,
SystemMessagePromptTemplate,
)
import psycopg2
import os
from langchain.chat_models import ChatOpenAI
from langchain.memory... | Issue: <How can I extract vector data from pgvector for use as a reference in the next conversation to enable long-term memory functionality for my chatbot?> | https://api.github.com/repos/langchain-ai/langchain/issues/15527/comments | 4 | 2024-01-04T08:14:43Z | 2024-04-11T16:14:05Z | https://github.com/langchain-ai/langchain/issues/15527 | 2,065,199,886 | 15,527 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.352 and 0.0.353
### 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
- [ ] Docume... | ImportError: cannot import name 'tracing_enabled' from 'langchain_core.tracers.context' (/usr/local/lib/python3.11/site-packages/langchain_core/tracers/context.py | https://api.github.com/repos/langchain-ai/langchain/issues/15526/comments | 5 | 2024-01-04T08:08:19Z | 2024-01-04T19:50:14Z | https://github.com/langchain-ai/langchain/issues/15526 | 2,065,192,495 | 15,526 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
from langchain.chains import LLMChain
from langchain.prompts import (
ChatPromptTemplate,
HumanMessagePromptTemplate,
MessagesPlaceholder,
SystemMessagePromptTemplate,
)
import psycopg2
import os
from langchain.chat_models import ChatOpenAI
from langchain.memo... | Issue: <"How can I extract vector data from pgvector for use as a reference in the next conversation to enable long-term memory functionality for my chatbot?> | https://api.github.com/repos/langchain-ai/langchain/issues/15525/comments | 2 | 2024-01-04T07:51:08Z | 2024-05-20T16:08:11Z | https://github.com/langchain-ai/langchain/issues/15525 | 2,065,169,209 | 15,525 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.9.13
langchain==0.0.316
langchain-community==0.0.1
langchain-core==0.0.13
### 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 /... | AsyncChromiumloader gives attribute error : COBOL | https://api.github.com/repos/langchain-ai/langchain/issues/15524/comments | 6 | 2024-01-04T07:46:03Z | 2024-02-22T00:38:56Z | https://github.com/langchain-ai/langchain/issues/15524 | 2,065,163,019 | 15,524 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/7a93356cbc5d89cc0f7dd746d8f1bb52666fd0f1/libs/community/langchain_community/document_loaders/chromium.py#L78C40-L78C44
Hello,
I encountered a RuntimeError when running the code that uses the AsyncChromiumLoader class. The error message is asyncio.run() cannot be call... | RuntimeError when calling asyncio.run() from a running event loop | https://api.github.com/repos/langchain-ai/langchain/issues/15523/comments | 6 | 2024-01-04T07:35:01Z | 2024-06-15T16:06:51Z | https://github.com/langchain-ai/langchain/issues/15523 | 2,065,149,238 | 15,523 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The current support for Milvus in Langchain seems insufficient in my opinion. Can it be strengthened?
### Suggestion:
The current support for Milvus in Langchain seems insufficient in my opinion. Can it be strengthened? | The current support for Milvus in Langchain seems insufficient in my opinion. Can it be strengthened? | https://api.github.com/repos/langchain-ai/langchain/issues/15522/comments | 1 | 2024-01-04T06:29:52Z | 2024-04-11T16:20:13Z | https://github.com/langchain-ai/langchain/issues/15522 | 2,065,084,378 | 15,522 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have been trying to use mixtral-7B as LLM agent with langchain. Agent has been provided a PythonREPL tool for any kind of code execution.
While providing the output, it either runs into agent timeout error or else it provide wrong answer (but in correct format). By further analys... | Issue: Unable to use custom parser to parse the (intermediate) LLM chain output | https://api.github.com/repos/langchain-ai/langchain/issues/15521/comments | 1 | 2024-01-04T05:18:04Z | 2024-04-11T16:14:02Z | https://github.com/langchain-ai/langchain/issues/15521 | 2,065,015,603 | 15,521 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version 0.0.353.
python : 3.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | text_splitter module not found in langchain version 0.0.353. | https://api.github.com/repos/langchain-ai/langchain/issues/15520/comments | 2 | 2024-01-04T05:02:15Z | 2024-04-28T16:25:28Z | https://github.com/langchain-ai/langchain/issues/15520 | 2,065,004,679 | 15,520 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello everyone I'm trying to use the langchain LCEL for the autogen script assembly pipeline. The first point that I'm trying to implement is for AI to determine which roles are needed in the autogen group chat to solve the user's task. I'm trying to parse the neural network's response t... | Issue: LCEL output parser error | https://api.github.com/repos/langchain-ai/langchain/issues/15518/comments | 7 | 2024-01-04T02:26:08Z | 2024-02-05T17:20:35Z | https://github.com/langchain-ai/langchain/issues/15518 | 2,064,893,373 | 15,518 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Problem Statement:
I am currently working on tracking token consumption for asynchronous chain calls in my application. I am utilizing the AsyncIteratorCallbackHandler and its aiter() method to stream tokens to my client. However, I am facing challenges in determining how to track the t... | Issue: Tracking Token Consumption for Async Chain Calls | https://api.github.com/repos/langchain-ai/langchain/issues/15517/comments | 1 | 2024-01-04T01:43:22Z | 2024-04-11T16:07:51Z | https://github.com/langchain-ai/langchain/issues/15517 | 2,064,865,668 | 15,517 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.354
text_generation==0.6.1
python:3.10-slim
### Who can help?
@agola11 @hwaking
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates ... | HuggingFaceTextGenInference Streaming does not output | https://api.github.com/repos/langchain-ai/langchain/issues/15516/comments | 8 | 2024-01-04T01:13:21Z | 2024-01-23T00:01:11Z | https://github.com/langchain-ai/langchain/issues/15516 | 2,064,847,688 | 15,516 |
[
"langchain-ai",
"langchain"
] | ### System Info
Windows 10 & Ubuntu 22.04
langchain==0.0.354
langchain-community==0.0.8
langchain-core==0.1.5
Python 3.10.13
https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/textgen.py
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official ... | Langchain-Community LLM TextGen has wrong API endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/15512/comments | 2 | 2024-01-04T00:12:34Z | 2024-04-11T16:15:15Z | https://github.com/langchain-ai/langchain/issues/15512 | 2,064,809,247 | 15,512 |
[
"langchain-ai",
"langchain"
] | In cookbook 3 for multimodal retrieval, `limit = 6` is set while retireving documents but the number of returned documents is always 4, regardless of the asked query or the value of `limit`. How can I retrieve `top_k` documents in this code? [Specific line is here](https://github.com/langchain-ai/langchain/blob/02f9c76... | Is The Limit Parameter Used to Retrieve Top_k? | https://api.github.com/repos/langchain-ai/langchain/issues/15511/comments | 1 | 2024-01-03T23:56:40Z | 2024-04-11T16:16:13Z | https://github.com/langchain-ai/langchain/issues/15511 | 2,064,798,810 | 15,511 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've been playing around with the multimodal notebooks introduced in the [docs here.](https://blog.langchain.dev/semi-structured-multi-modal-rag/). However, the number of retrieved documents for every query is always 4. Specifically, for [cookbook 3](https://github.com/langchain-ai/langc... | Can't Specify Top-K retrieved Documents in Multimodal Retrievers | https://api.github.com/repos/langchain-ai/langchain/issues/15510/comments | 3 | 2024-01-03T23:52:17Z | 2024-06-19T03:27:35Z | https://github.com/langchain-ai/langchain/issues/15510 | 2,064,793,905 | 15,510 |
[
"langchain-ai",
"langchain"
] | ### System Info
Full traceback:
```
File "/src/app.py", line 9, in <module>
from langchain.chains import ConversationalRetrievalChain
File "/venv/lib/python3.11/site-packages/langchain/chains/__init__.py", line 20, in <module>
from langchain.chains.api.base import APIChain
File "/venv/lib/python3... | ImportError: cannot import name 'tracing_enabled' from 'langchain_core.tracers.context' | https://api.github.com/repos/langchain-ai/langchain/issues/15508/comments | 6 | 2024-01-03T23:11:47Z | 2024-01-04T20:29:53Z | https://github.com/langchain-ai/langchain/issues/15508 | 2,064,767,804 | 15,508 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Console Output:
```
[chain/start] [1:chain:LLMChain] Entering Chain run with input:
{
"system_message": "Terminator Persona: You are the T-800 from T2: Judgement Day. Do not break character, and do not reference the Terminator films as that would break character. If you break chara... | Hugging Face LLM returns empty response for LLMChain via FastAPI | https://api.github.com/repos/langchain-ai/langchain/issues/15506/comments | 1 | 2024-01-03T22:44:36Z | 2024-04-10T16:17:17Z | https://github.com/langchain-ai/langchain/issues/15506 | 2,064,744,737 | 15,506 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Able to `persist` between batch when the embedding is between built:
```python
db = Chroma.from_documents(
documents=documents, embedding=embeddings, persist_directory=persist_directory)
db.persist()
return db
```
would be nice to be :
```python
db = Chroma.from_docum... | Embeddings - Persist between batches | https://api.github.com/repos/langchain-ai/langchain/issues/15504/comments | 1 | 2024-01-03T21:53:13Z | 2024-04-10T16:16:45Z | https://github.com/langchain-ai/langchain/issues/15504 | 2,064,695,031 | 15,504 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.354
### 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 Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loader... | Fix HuggingFaceHub LLM Integration | https://api.github.com/repos/langchain-ai/langchain/issues/15500/comments | 1 | 2024-01-03T20:17:12Z | 2024-04-10T16:14:15Z | https://github.com/langchain-ai/langchain/issues/15500 | 2,064,594,842 | 15,500 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi there,
I am learning how to use Pinecone properly with LangChain and OpenAI Embedding. I built an application which can allow user upload PDFs and ask questions about the PDFs. In the application I used Pinecone as the vector database and store embeddings in Pinecone. However, I w... | Issue: Embedding with Pinecone | https://api.github.com/repos/langchain-ai/langchain/issues/15497/comments | 11 | 2024-01-03T19:40:35Z | 2024-01-24T14:57:45Z | https://github.com/langchain-ai/langchain/issues/15497 | 2,064,553,332 | 15,497 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Provide a method to create the HNSW for the PGVector vectorstore
### Motivation
There is a similar method implemented for PGEmbedding but the embedding extension will be deprecated
### Your contribution
https://github.com/pgvector/pgvector?tab=readme-ov-file#hnsw
https://github.com... | PGVector method for HNSW | https://api.github.com/repos/langchain-ai/langchain/issues/15496/comments | 5 | 2024-01-03T19:31:06Z | 2024-07-08T16:04:56Z | https://github.com/langchain-ai/langchain/issues/15496 | 2,064,543,064 | 15,496 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi all,
I am trying to create an app that can act upon a natural language prompt to interact with the Monday API and then successfully carry out the relevant action.
The code I currently have is as follows:
> MondayDocs = """
>
>
> The below is Monday API documentation... | Issue: No connection adaptors were found | https://api.github.com/repos/langchain-ai/langchain/issues/15494/comments | 9 | 2024-01-03T18:58:45Z | 2024-04-11T16:14:00Z | https://github.com/langchain-ai/langchain/issues/15494 | 2,064,506,326 | 15,494 |
[
"langchain-ai",
"langchain"
] | ### System Info
``` bash
bash-4.2# pip freeze | grep langchain
langchain==0.0.353
langchain-community==0.0.8
langchain-core==0.1.5
bash-4.2# python --version
Python 3.10.13
bash-4.2# uname -a
Linux 5b9ca59024db 6.1.61-85.141.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 00:39:18 UTC 2023 x86_64 x86_64 ... | `langchain-core` cannot import name 'tracing_enabled' | https://api.github.com/repos/langchain-ai/langchain/issues/15491/comments | 7 | 2024-01-03T17:49:06Z | 2024-02-21T14:27:36Z | https://github.com/langchain-ai/langchain/issues/15491 | 2,064,424,956 | 15,491 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've scoured the internet trying to find an example that would use a custom model (Mistral) with ```HuggingFaceTextGenInference``` which uses ```LLMChain``` to return a **streaming** response via ```fastapi```.
Does anyone have a working example?
### Suggestion:
_No response_ | HELP!: Example of using HuggingFaceTextGenInference, llmchain, and fastapi | https://api.github.com/repos/langchain-ai/langchain/issues/15487/comments | 5 | 2024-01-03T16:55:10Z | 2024-04-10T16:16:31Z | https://github.com/langchain-ai/langchain/issues/15487 | 2,064,352,002 | 15,487 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Platform:**
Linux Ubuntu 22.04.1
**Python:**
3.10.12
**Langchain:**
- langchain 0.0.353
- langchain-community 0.0.7
- langchain-core 0.1.5
- langsmith 0.0.77
### Who can help?
@hwchase17
### Information
- [ ] The official exam... | ModuleNotFoundError at import langchain.chains | https://api.github.com/repos/langchain-ai/langchain/issues/15484/comments | 16 | 2024-01-03T15:56:43Z | 2024-04-11T16:15:09Z | https://github.com/langchain-ai/langchain/issues/15484 | 2,064,266,659 | 15,484 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Chatglm3 has added many new features compared to previous chatglm and chatglm2, which is particularly useful for users. So there will definitely be more user demands in using Langchain to build a knowledge base, and it's unclear how long it will take for the community to adapt.
chatglm3 github p... | How long can I use Langchain to call the chatglm3 API | https://api.github.com/repos/langchain-ai/langchain/issues/15479/comments | 2 | 2024-01-03T15:09:25Z | 2024-04-17T16:18:32Z | https://github.com/langchain-ai/langchain/issues/15479 | 2,064,195,347 | 15,479 |
[
"langchain-ai",
"langchain"
] | ### Feature request
DynamoDBChatMessageHistory class is missing a TTL feature that would allow for history to automatically expire and be deleted by AWS DynamoDB service.
### Motivation
While implementing a chat history using DynamoDBChatMessageHistory, I encoutered a growing history session table. Since AWS DynamoD... | Add TTL support for DynamoDBChatMessageHistory | https://api.github.com/repos/langchain-ai/langchain/issues/15477/comments | 2 | 2024-01-03T14:29:38Z | 2024-01-30T15:50:29Z | https://github.com/langchain-ai/langchain/issues/15477 | 2,064,133,232 | 15,477 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How do I use SQLDatabaseChain with a big db schema?
I'm using:
`db = SQLDatabase.from_uri(f"postgresql://localhost:5432/test")
db_chain = SQLDatabaseChain(llm=llm, database=db, verbose=True)
`
And all models complain about context window. A smaller database schema works with some mo... | Issue: Large database schema too big for context window using SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/15476/comments | 3 | 2024-01-03T14:05:12Z | 2024-04-11T16:13:57Z | https://github.com/langchain-ai/langchain/issues/15476 | 2,064,094,863 | 15,476 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Dear all,
Happy new year!
Due to work legacy stuff, I am still forced to use this library. I am wondering if there is a way to pass multiple prompt template (system, human and ai) instead of just one
Hopefully my man Dosubot can help!
Thanks you so much
Cheers,... | Using multiple templates as starter for LCEL | https://api.github.com/repos/langchain-ai/langchain/issues/15475/comments | 2 | 2024-01-03T13:08:44Z | 2024-04-30T16:14:42Z | https://github.com/langchain-ai/langchain/issues/15475 | 2,064,012,239 | 15,475 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`document_variable_name="\n\n---\n\n".join([doc.page_content for doc in result["source_documents"]])
model = ChatGoogleGenerativeAI(model="gemini-pro",google_api_key=GOOGLE_API_KEY,temperature=0.2,convert_system_message_to_human=True)
template = f"""Use the following pieces of contex... | Issue: Issue while implementing RAG with Gemini LLM | https://api.github.com/repos/langchain-ai/langchain/issues/15474/comments | 5 | 2024-01-03T11:35:01Z | 2024-04-29T16:11:30Z | https://github.com/langchain-ai/langchain/issues/15474 | 2,063,844,827 | 15,474 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.11
langchain==0.0.350
### Who can help?
@eyurtsev
### 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... | S3FileLoader doesn't provide the way of passing extra (unstructured_kwargs) parameters | https://api.github.com/repos/langchain-ai/langchain/issues/15472/comments | 2 | 2024-01-03T11:04:15Z | 2024-03-27T22:03:50Z | https://github.com/langchain-ai/langchain/issues/15472 | 2,063,787,050 | 15,472 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hello
The best practice is using comments inside the class/function,
however, comments/TODOs have been placed before in many cases,
Splitting it from the class/function hides some free text that can help understand the purpose and intention of class/function and may cause misinterpreted co... | in libs/langchain/langchain/text_splitter.py comments before class/function will be splitter from class/function itself | https://api.github.com/repos/langchain-ai/langchain/issues/15471/comments | 3 | 2024-01-03T10:45:00Z | 2024-04-10T16:13:31Z | https://github.com/langchain-ai/langchain/issues/15471 | 2,063,750,924 | 15,471 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add document loader for CHM (Microsoft Compiled HTML Help) documents, possibly using pychm.
### Motivation
A lot of Windows applications provide documentation in the form of CHM files. Being able to directly load those into the language model, would greatly simplify the workflow of ingesting docu... | Support CHM files | https://api.github.com/repos/langchain-ai/langchain/issues/15469/comments | 2 | 2024-01-03T09:57:30Z | 2024-01-07T17:28:54Z | https://github.com/langchain-ai/langchain/issues/15469 | 2,063,656,337 | 15,469 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The following is the code I ran, referring to the official documentation. It looks like prompt_template is not effective and there is no explicit call of prompt_template in the code. How should I customize a prompt for initialize_agent.
```python
prompt_template = """
Translate th... | Issue: How to customize prompt | https://api.github.com/repos/langchain-ai/langchain/issues/15467/comments | 3 | 2024-01-03T09:38:42Z | 2024-04-10T16:08:12Z | https://github.com/langchain-ai/langchain/issues/15467 | 2,063,619,530 | 15,467 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code
`context_text="\n\n---\n\n".join([doc.page_content for doc in result["source_documents"]])
print(context_text,"======================")
question = "Describe the Multi-head attention layer in detail?"
embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-0... | Issue:While implementing Gemini, getting error while using prompt template | https://api.github.com/repos/langchain-ai/langchain/issues/15466/comments | 2 | 2024-01-03T09:36:43Z | 2024-04-10T16:13:27Z | https://github.com/langchain-ai/langchain/issues/15466 | 2,063,615,767 | 15,466 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mint 20.3
Python 3.11
Conda 23.9
Pip 23.3.2
Setuptools 69.0.3
### 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 / Prom... | "Multiple top-level packages discovered in a flat-layout" when installing from source | https://api.github.com/repos/langchain-ai/langchain/issues/15465/comments | 2 | 2024-01-03T09:35:31Z | 2024-01-03T09:37:30Z | https://github.com/langchain-ai/langchain/issues/15465 | 2,063,613,427 | 15,465 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
let me clearify the issue below:
we are using vectordb conversational retriever. we can look into the attached code for more clarity. My issue is i have 4 documents stored in 2 different index. **End-user can select multiple document lets say 3 or 4 document, and ask qu... | Issue: Passing list of index while retreiver in opensearch vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/15458/comments | 1 | 2024-01-03T08:12:56Z | 2024-04-10T16:08:25Z | https://github.com/langchain-ai/langchain/issues/15458 | 2,063,465,461 | 15,458 |
[
"langchain-ai",
"langchain"
] | I am trying to build a langchain SQL database agent where I want to query only one view for now. I have mentioned the view name in the System Prompt and I have passed view_support=True to the SQLDatabase constructor. When I run the query agent is trying to find out the tables instead views. I am sensing that agent has ... | Langchain SQL Database Agent failed to find the view name in the MS SQL database. | https://api.github.com/repos/langchain-ai/langchain/issues/15457/comments | 5 | 2024-01-03T08:03:31Z | 2024-04-10T16:17:08Z | https://github.com/langchain-ai/langchain/issues/15457 | 2,063,449,745 | 15,457 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I want to know if there is an implementation to use ConversationChains, Agents with NVIDIA's Nemo Rails.
Thanks
### Suggestion:
_No response_ | Issues using Nemo rails with ConversationChains and Agents. | https://api.github.com/repos/langchain-ai/langchain/issues/15456/comments | 1 | 2024-01-03T07:30:33Z | 2024-04-10T16:12:57Z | https://github.com/langchain-ai/langchain/issues/15456 | 2,063,398,062 | 15,456 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Allow using [bind parameters](https://docs.sqlalchemy.org/en/20/core/connections.html#sqlalchemy.engine.Connection.execute.params.parameters) in SQLDatabase's [run method](https://github.com/langchain-ai/langchain/blob/65afc13b8b53a1ca41a1a3998dad9eb8d83ca917/libs/community/langchain_community/util... | Allow bind variables in SQLDatabase queries | https://api.github.com/repos/langchain-ai/langchain/issues/15449/comments | 1 | 2024-01-03T05:26:19Z | 2024-04-10T16:08:54Z | https://github.com/langchain-ai/langchain/issues/15449 | 2,063,266,287 | 15,449 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.353
langchain-community 0.0.7
langchain-core 0.1.4
langchain-experimental 0.0.47
Python 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] on linuxd
openai 0.28.0
### Who can help?
_No response_
### Information
- [ ] The offi... | KeyError: 'usage' | https://api.github.com/repos/langchain-ai/langchain/issues/15448/comments | 3 | 2024-01-03T04:03:31Z | 2024-04-10T16:15:30Z | https://github.com/langchain-ai/langchain/issues/15448 | 2,063,217,500 | 15,448 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm using an llm chain and would like to stream its output. I'm writing a function that takes it's token. I can get the tokens one by one, but how can I know if this token is the last token of the response?
### Suggestion:
_No response_ | Issue: streaming output. | https://api.github.com/repos/langchain-ai/langchain/issues/15445/comments | 1 | 2024-01-03T03:29:06Z | 2024-04-10T16:12:53Z | https://github.com/langchain-ai/langchain/issues/15445 | 2,063,195,674 | 15,445 |
[
"langchain-ai",
"langchain"
] | ### Feature request
If in-memory replica is increased in milvus, `replica_number` should be set when loading collection in langchain, but the default setting is 1 and cannot be changed.
> pymilvus.exceptions.MilvusException: <MilvusException: (code=1100, message=failed to load collection: can't change the replica ... | milvus replica number factorization | https://api.github.com/repos/langchain-ai/langchain/issues/15442/comments | 1 | 2024-01-03T02:58:01Z | 2024-01-05T04:07:25Z | https://github.com/langchain-ai/langchain/issues/15442 | 2,063,178,107 | 15,442 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Gemini API is not available in Canada, but i believe it is available through `vertexai.preview.generative_models` in pre-GA mode.
Would it be possible to add a feature using the Vertex AI SDK instead of Gemini API, which i assume is what it is using?
### Motivation
Canada access to Gemini thro... | Accessing Gemini though Vertex AI SDK | https://api.github.com/repos/langchain-ai/langchain/issues/15431/comments | 3 | 2024-01-02T21:52:47Z | 2024-01-03T17:20:09Z | https://github.com/langchain-ai/langchain/issues/15431 | 2,062,998,345 | 15,431 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain==0.0.352
langchain-community==0.0.6
langchain-core==0.1.3
```
Python `3.12.1` running inside Docker from `python:3.12-bookworm` on Linux.
### Who can help?
I have a FastAPI app that streams the output of an LLM. The app uses `langchain.chat_models.ChatOpenAI` at runtime, but duri... | FakeStreamingListLLM.astream() yields strings while ChatOpenAI yields AIMessageChunk | https://api.github.com/repos/langchain-ai/langchain/issues/15426/comments | 3 | 2024-01-02T18:44:18Z | 2024-04-10T16:13:01Z | https://github.com/langchain-ai/langchain/issues/15426 | 2,062,806,705 | 15,426 |
[
"langchain-ai",
"langchain"
] | ### System Info
Windows 10
Python 3.11.5
langchain==0.0.331
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | Filter conditions are discarded when using multiple filter conditions in similarity_search_with_relevance_scores | https://api.github.com/repos/langchain-ai/langchain/issues/15417/comments | 2 | 2024-01-02T17:35:24Z | 2024-08-06T10:38:34Z | https://github.com/langchain-ai/langchain/issues/15417 | 2,062,736,735 | 15,417 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi there,
I am creating a simple PDF reading application where I want to push my embeddings into Pinecone.
Here is my code:
## Imports
import streamlit as st
import os
from apikey import apikey
import pickle
from PyPDF2 import PdfReader
# Streamlit - user interface
from... | Issue: Pinecone Embeddings - Error | https://api.github.com/repos/langchain-ai/langchain/issues/15407/comments | 7 | 2024-01-02T15:33:53Z | 2024-01-03T19:31:42Z | https://github.com/langchain-ai/langchain/issues/15407 | 2,062,584,661 | 15,407 |
[
"langchain-ai",
"langchain"
] | ### System Info
python: 3.11
langchain:latest
### Who can help?
in an chatbot after running a query it will return the SQLResult, but while giving an output answer complete result is not displayed
code:
import pandas as pd
import sqlalchemy as sal
import os, sys, openai
import constants
from langchain.sq... | How to get the complete output as answer | https://api.github.com/repos/langchain-ai/langchain/issues/15404/comments | 3 | 2024-01-02T14:01:51Z | 2024-04-10T16:12:39Z | https://github.com/langchain-ai/langchain/issues/15404 | 2,062,463,881 | 15,404 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi! I am trying to replicate this tutorial https://python.langchain.com/docs/integrations/toolkits/playwright on Colab using the same code, only difference is i am using `ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0)` instead of `ChatAnthropic(temperature=0)`.
When i run the ag... | Issue: not able to replicate documentation results | https://api.github.com/repos/langchain-ai/langchain/issues/15403/comments | 1 | 2024-01-02T13:55:08Z | 2024-04-09T16:15:03Z | https://github.com/langchain-ai/langchain/issues/15403 | 2,062,455,269 | 15,403 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain - 0.0.350
Python - 3.11
chromadb - 0.3.23
OS - Win 10
### Who can help?
@hwchase17
@eyur
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates ... | Warning message- No embedding_function provided, using default embedding function: SentenceTransformerEmbeddingFunction || Chroma db | https://api.github.com/repos/langchain-ai/langchain/issues/15400/comments | 1 | 2024-01-02T10:09:11Z | 2024-04-09T16:14:50Z | https://github.com/langchain-ai/langchain/issues/15400 | 2,062,195,571 | 15,400 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Links within the documentation fail to open when the URL lacks a trailing '/'. Notably, the links on the page indicated in the example URL below and other links across various pages result in `page not found` errors when the URL lacks a trailing '/'. It's crucial to clarify that b... | DOC: Resolve URL Navigation Issues - Trailing Slash Discrepancy | https://api.github.com/repos/langchain-ai/langchain/issues/15399/comments | 1 | 2024-01-02T09:54:31Z | 2024-04-09T16:14:33Z | https://github.com/langchain-ai/langchain/issues/15399 | 2,062,178,490 | 15,399 |
[
"langchain-ai",
"langchain"
] | ### System Info
/Users/sunwenke/miniconda3/envs/langchain/bin/python /Users/sunwenke/workspace/yongxinApi/langchain/localopenai/sql.py
Traceback (most recent call last):
File "/Users/sunwenke/workspace/yongxinApi/langchain/localopenai/sql.py", line 8, in <module>
entity_store = SQLiteEntityStore(db_file="/Us... | 这个貌似是一个bug, 修改之后就好了 | https://api.github.com/repos/langchain-ai/langchain/issues/15396/comments | 1 | 2024-01-02T08:55:07Z | 2024-04-10T16:08:18Z | https://github.com/langchain-ai/langchain/issues/15396 | 2,062,114,468 | 15,396 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi Langchain Gurus,
I am trying to use SQLDatabaseChain to query and answer questions on postgresql table. so far the code that I have written uses following hugging face pipeline
```
model_name ='tiiuae/falcon-7b-instruct'
tokenizer = AutoTokenizer.from_pretrained(model_name)
pipe... | Issue: Unable to use SQLDatabaseChain with Falcon 7b Instruct for quering the postgresql database. | https://api.github.com/repos/langchain-ai/langchain/issues/15395/comments | 1 | 2024-01-02T08:54:23Z | 2024-04-09T16:09:38Z | https://github.com/langchain-ai/langchain/issues/15395 | 2,062,113,700 | 15,395 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
pip show langchain_community
Name: langchain-community
Version: 0.0.3
```
```
python --version
Python 3.10.12
```
```
pip show langchain_core
Name: langchain-core
Version: 0.1.1
```
```
pip show pydantic
Name: pydantic
Version: 2.5.1
```
### Who can help?
_No response_
##... | similarity_search get 2 validation errors for DocArrayDoc | https://api.github.com/repos/langchain-ai/langchain/issues/15394/comments | 2 | 2024-01-02T07:44:12Z | 2024-04-11T16:13:54Z | https://github.com/langchain-ai/langchain/issues/15394 | 2,062,050,508 | 15,394 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform: `Mac M1`
Python: `3.8.18`
Lanchain: `0.0.350`
### 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 Tem... | [Filter] Unable to filter dates with MongoDB | https://api.github.com/repos/langchain-ai/langchain/issues/15391/comments | 5 | 2024-01-02T07:03:26Z | 2024-04-09T16:13:23Z | https://github.com/langchain-ai/langchain/issues/15391 | 2,062,017,256 | 15,391 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
If i set the in-memory replica of milvus to 3 and then run the following code on langchain, the following error occurs.
```python3
vector_db = Milvus.from_documents(
docs,
embeddings,
collection_name=collection,
)
```
> pymilvus.exceptions.Milvu... | Issue: milvus collectoin load replica number | https://api.github.com/repos/langchain-ai/langchain/issues/15390/comments | 2 | 2024-01-02T06:49:44Z | 2024-04-09T16:13:24Z | https://github.com/langchain-ai/langchain/issues/15390 | 2,062,006,876 | 15,390 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`from langchain.chains.question_answering import load_qa_chain
template = """
{Your_Prompt}
CONTEXT:
{context}
QUESTION:
{query}
CHAT HISTORY:
{chat_history}
ANSWER:
"""
prompt = PromptTemplate(input_variables=["chat_history", "query", "context"], template=template)
... | Issue:Issue regarding Memory implementation | https://api.github.com/repos/langchain-ai/langchain/issues/15388/comments | 3 | 2024-01-02T06:34:26Z | 2024-04-09T16:13:52Z | https://github.com/langchain-ai/langchain/issues/15388 | 2,061,996,098 | 15,388 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain==0.0.335
```
```
python 3.11
```
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | langchain is not `pyinstaller` friendly due to dependency on external files, e.g. `llm_summarization_checker` | https://api.github.com/repos/langchain-ai/langchain/issues/15386/comments | 2 | 2024-01-02T03:17:26Z | 2024-01-02T04:09:36Z | https://github.com/langchain-ai/langchain/issues/15386 | 2,061,900,973 | 15,386 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.351
boto3==1.34.3
Python version: 3.11.7
### Who can help?
I use DynamoDBChatMessageHistory as the conversation_history, seems duplicate Human messages saved to DynamoDB table every time, AI message saved once.
Here is the duplicate messages:
 to
if "webPages" in sea... | Bing Search Tool has key value error | https://api.github.com/repos/langchain-ai/langchain/issues/15384/comments | 1 | 2024-01-02T01:05:50Z | 2024-01-02T23:25:02Z | https://github.com/langchain-ai/langchain/issues/15384 | 2,061,856,348 | 15,384 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
from langchain.vectorstores.neo4j_vector import Neo4jVector
ModuleNotFoundError: No module named 'langchain.vectorstores.neo4j_vector'
### Idea or request for content:
The existing documentation for the Neo4J Vector Index incorrectly indicates the use of "Neo4jVector" from th... | ModuleNotFoundError: No module named 'langchain.vectorstores.neo4j_vector' | https://api.github.com/repos/langchain-ai/langchain/issues/15383/comments | 2 | 2024-01-01T22:32:24Z | 2024-01-02T03:25:12Z | https://github.com/langchain-ai/langchain/issues/15383 | 2,061,806,618 | 15,383 |
[
"langchain-ai",
"langchain"
] | ### Feature request
To add Async Client support to MongoDB Vector Stores
### Motivation
Currently, Langhain works very well with the PyMongo Client but not with the Async Clients like Motor it throws error, probably I hope it may not be implemented yet?
Reference:
PyMongo Working Docs - https://python.langchai... | [MongoDB] Async Support for Vector Store | https://api.github.com/repos/langchain-ai/langchain/issues/15377/comments | 8 | 2024-01-01T12:48:06Z | 2024-05-02T07:53:49Z | https://github.com/langchain-ai/langchain/issues/15377 | 2,061,541,643 | 15,377 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.353
### 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 Parsers
- [ ]... | Playwright Utilities Removed In 0.0.353, Documentation Not Updated | https://api.github.com/repos/langchain-ai/langchain/issues/15372/comments | 3 | 2024-01-01T02:18:08Z | 2024-04-08T16:08:42Z | https://github.com/langchain-ai/langchain/issues/15372 | 2,061,256,601 | 15,372 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Python 3.12.1
- MacOS 14.2.1
- langchain-cli 0.0.20 from pip OR langchain-* from git master branch (commit-ish [26f84b7](https://github.com/langchain-ai/langchain/commit/26f84b74d0f7dc4d2211a1a62d47eec36cb1d726)) -- can reproduce with latest code: langchain 0.0.353, langchain-cli 0.0.20, langchain-... | RAG crash: TypeError: Type is not JSON serializable: numpy.ndarray | https://api.github.com/repos/langchain-ai/langchain/issues/15371/comments | 9 | 2024-01-01T01:46:45Z | 2024-06-08T16:08:35Z | https://github.com/langchain-ai/langchain/issues/15371 | 2,061,243,335 | 15,371 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS 14.0, Jupiter with Python 3.11.6
(base) ➜ llm-env pip show langchain
Name: langchain
Version: 0.0.353
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Location: /lib/python3.11... | ValueError: 'lib/python3.11/site-packages/langchain/agents/agent_toolkits' is not in the subpath of 'lib/python3.11/site-packages/langchain_core' OR one path is relative and the other is absolute. | https://api.github.com/repos/langchain-ai/langchain/issues/15370/comments | 3 | 2024-01-01T01:32:47Z | 2024-02-07T23:07:23Z | https://github.com/langchain-ai/langchain/issues/15370 | 2,061,236,158 | 15,370 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The ollama integration assumes that all models are served on "localhost:11434", if the ollama service is hosted on a different machine, the integration will fail.
Can we add an environment variable that if present overrides this url, so the correct url for the ollama server can be set.
### M... | Ability to set ollama serve url | https://api.github.com/repos/langchain-ai/langchain/issues/15365/comments | 4 | 2023-12-31T20:05:56Z | 2024-06-08T16:08:31Z | https://github.com/langchain-ai/langchain/issues/15365 | 2,061,158,064 | 15,365 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.353
pygpt4all 1.1.0
### 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 Parse... | ImportError: cannot import name 'GPT4ALL' from 'langchain.llms' | https://api.github.com/repos/langchain-ai/langchain/issues/15362/comments | 3 | 2023-12-31T19:14:23Z | 2024-04-09T16:12:57Z | https://github.com/langchain-ai/langchain/issues/15362 | 2,061,148,468 | 15,362 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9
LangChain 0.0.339
### 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
- ... | SQLDatabase returns result without column names. | https://api.github.com/repos/langchain-ai/langchain/issues/15360/comments | 1 | 2023-12-31T17:17:04Z | 2024-04-07T16:07:44Z | https://github.com/langchain-ai/langchain/issues/15360 | 2,061,123,042 | 15,360 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.