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"
] | ### System Info
azure-search-documents==11.4.0b8, langchain
### Who can help?
@hwchase17
@agola11
@dosu-bot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | filter query within vector_store.similarity_search() is not working as expected. | https://api.github.com/repos/langchain-ai/langchain/issues/12366/comments | 10 | 2023-10-26T20:16:56Z | 2024-03-25T09:57:23Z | https://github.com/langchain-ai/langchain/issues/12366 | 1,964,306,930 | 12,366 |
[
"hwchase17",
"langchain"
] | ### System Info
`langchain` = 0.0.324
`pydantic` = 2.4.2
`python` = 3.11
`platform` = macos
In the project I have class `MyChat` which inherits `BaseChatModel` and further customize/extends it. Adding additional fields works fine with both pydantic v1 and v2, however adding a field and/or model validator fails... | Unable to extend BaseChatModel with pydantic 2 | https://api.github.com/repos/langchain-ai/langchain/issues/12358/comments | 3 | 2023-10-26T18:35:45Z | 2023-10-26T19:36:52Z | https://github.com/langchain-ai/langchain/issues/12358 | 1,964,138,560 | 12,358 |
[
"hwchase17",
"langchain"
] | ### System Info
For this code:
from langchain import LLMMathChain, OpenAI, SerpAPIWrapper, SQLDatabase
from langchain_experimental.sql import SQLDatabaseChain
from langchain.agents import initialize_agent, Tool
from langchain.agents import AgentType
from langchain.chat_models import ChatOpenAI
from decouple im... | InvalidRequestError: This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions? | https://api.github.com/repos/langchain-ai/langchain/issues/12351/comments | 2 | 2023-10-26T16:32:02Z | 2024-02-06T16:12:46Z | https://github.com/langchain-ai/langchain/issues/12351 | 1,963,933,380 | 12,351 |
[
"hwchase17",
"langchain"
] | ### Feature request
LangChain v0.0.323
Python 3.10.12
turbo-3.5
I use JsonKeyOutputFunctionsParser to parse JSON output:
```
extraction_functions = [convert_pydantic_to_openai_function(Information)]
extraction_model = llm.bind(functions=extraction_functions, function_call={"name": "Information"})
prompt ... | Fix rrror "Could not parse function call data" for JsonKeyOutputFunctionsParser (and other Json parsers) without additional LLM call | https://api.github.com/repos/langchain-ai/langchain/issues/12348/comments | 10 | 2023-10-26T15:34:55Z | 2024-02-14T16:08:49Z | https://github.com/langchain-ai/langchain/issues/12348 | 1,963,840,031 | 12,348 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, there's only a specific output type for the evaluate_strings function in langchain.
{
reasoning: "blah blah"
score: 0 or 1
value: "Y" or "N"
}
Ideally users should be able to override this with the type of request they would want.
### Motivation
It really ties you d... | Langchain evaluate_strings should allow custom output parsing | https://api.github.com/repos/langchain-ai/langchain/issues/12343/comments | 2 | 2023-10-26T14:54:17Z | 2024-02-08T16:13:25Z | https://github.com/langchain-ai/langchain/issues/12343 | 1,963,761,221 | 12,343 |
[
"hwchase17",
"langchain"
] | ### System Info
aws
### 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
- [ ] Document Loaders
- [ ]... | i am trying to optimize the cost of SQLDatabaseToolkit calls | https://api.github.com/repos/langchain-ai/langchain/issues/12341/comments | 4 | 2023-10-26T14:49:05Z | 2024-02-10T16:09:37Z | https://github.com/langchain-ai/langchain/issues/12341 | 1,963,750,813 | 12,341 |
[
"hwchase17",
"langchain"
] | ### System Info
I am developing an app utilizing the streaming functionality in Python 3.10. I've crafted my own generator and callback for this purpose. However, I've stumbled upon an issue when setting llm.streaming to true and utilizing a callback - the OpenAI tokenizer appears to malfunction, displaying a token co... | Issue with OpenAI tokenizer not functioning as expected in streaming mode | https://api.github.com/repos/langchain-ai/langchain/issues/12339/comments | 3 | 2023-10-26T13:26:24Z | 2024-04-23T17:02:28Z | https://github.com/langchain-ai/langchain/issues/12339 | 1,963,570,897 | 12,339 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Since version `v0.0.299` `LangChain` depends on `anyio = "<4.0"`.
### Suggestion:
Could you please relax the `anyio` dependency to support a wider range of versions `<5.0` as `4.0.0` has been out since August? | Issue: Update `anyio` dependency | https://api.github.com/repos/langchain-ai/langchain/issues/12337/comments | 2 | 2023-10-26T12:48:24Z | 2024-02-06T16:13:01Z | https://github.com/langchain-ai/langchain/issues/12337 | 1,963,492,115 | 12,337 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.275
Ubuntu 20.04.6 LTS
llama-2-7b-chat.ggmlv3.q4_0.bin
llama-cpp-python 0.1.78
I am getting a validation error when trying to use the document summary chain. It is giving an error "str type expected". I am passing Document objects to the model. I have checked the type of all page ... | load_summarize_chain ValidationError, str type expected | https://api.github.com/repos/langchain-ai/langchain/issues/12336/comments | 4 | 2023-10-26T12:47:28Z | 2024-02-10T16:09:42Z | https://github.com/langchain-ai/langchain/issues/12336 | 1,963,490,327 | 12,336 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
I am trying to build a QA system with text files as its knowledge base. While creating embeddings I have provided different metadata tags to documents.
I want to use this metadata to filter documents before sending them to LLM to generate answer.
I am using as_retrie... | Unable to filter results in Neo4j Vectorstore.as_retriever() method using filter paramter in search_kwargs | https://api.github.com/repos/langchain-ai/langchain/issues/12335/comments | 11 | 2023-10-26T11:08:53Z | 2024-08-06T16:07:32Z | https://github.com/langchain-ai/langchain/issues/12335 | 1,963,275,005 | 12,335 |
[
"hwchase17",
"langchain"
] | I am trying to use langserve with langchain llamacpp like this (chain.py):
```from flask import Flask, jsonify, request
from langchain.chains import RetrievalQA,ConversationalRetrievalChain
from langchain.embeddings import HuggingFaceInstructEmbeddings
from langchain.llms import LlamaCpp
from langchain.prompts i... | langserve with Llamacpp | https://api.github.com/repos/langchain-ai/langchain/issues/12441/comments | 11 | 2023-10-26T10:44:09Z | 2024-05-02T16:04:29Z | https://github.com/langchain-ai/langchain/issues/12441 | 1,966,025,938 | 12,441 |
[
"hwchase17",
"langchain"
] | ### Need Route Name : Coming in console but not in output
I am using Router chain to route my chain with MultiPromptChain. It gets routed and shows in console to which route it went but it doesn't come in output variable. It just shows in console. I want that in a variable. I used every available method like return... | Issue: Can't get verbose output in a variable in python | https://api.github.com/repos/langchain-ai/langchain/issues/12330/comments | 4 | 2023-10-26T08:31:31Z | 2024-02-10T16:09:47Z | https://github.com/langchain-ai/langchain/issues/12330 | 1,962,991,552 | 12,330 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac os sonoma
### 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
- [ ] Document Loa... | return_source documents does not work | https://api.github.com/repos/langchain-ai/langchain/issues/12329/comments | 4 | 2023-10-26T08:26:40Z | 2024-02-10T16:09:52Z | https://github.com/langchain-ai/langchain/issues/12329 | 1,962,983,060 | 12,329 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using Langchain + Chroma to do a Q&A program with a csv document as its knowledge base.
The CSV file looks like below:
[![enter image description here][1]][1]
Here is the CSV file:
https://1drv.ms/u/s!Asflam6BEzhjgbkdegCGfZ7FI4O1Og?e=2X6ior
And code for creating embedding... | Issue: Similarity_search on Vector Store does not work. | https://api.github.com/repos/langchain-ai/langchain/issues/12326/comments | 12 | 2023-10-26T07:37:18Z | 2024-02-15T16:08:11Z | https://github.com/langchain-ai/langchain/issues/12326 | 1,962,901,400 | 12,326 |
[
"hwchase17",
"langchain"
] | ### System Info
GPT-4 can now read images. How to combine images and text in PDF or WORD when calling the API?
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prom... | GPT-4 reads the images | https://api.github.com/repos/langchain-ai/langchain/issues/12323/comments | 3 | 2023-10-26T06:38:05Z | 2024-02-10T16:10:02Z | https://github.com/langchain-ai/langchain/issues/12323 | 1,962,808,683 | 12,323 |
[
"hwchase17",
"langchain"
] | I defined a custom LLM and a custom search, and used the agent for testing, but I found some problems in parsing the llm response, which was prone to result parsing errors after multiple rounds of dialogue. I suspect that there is something wrong with the stop logic of the custom llm, please help me analyze it.
```
... | How do I define the stop logic for a custom llm in agent | https://api.github.com/repos/langchain-ai/langchain/issues/12322/comments | 2 | 2023-10-26T06:35:00Z | 2024-02-06T16:13:26Z | https://github.com/langchain-ai/langchain/issues/12322 | 1,962,804,701 | 12,322 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0320
python version: 3.10
### 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
- [ ]... | Conversation Buffer Memory clear histroy | https://api.github.com/repos/langchain-ai/langchain/issues/12319/comments | 2 | 2023-10-26T04:56:32Z | 2024-02-06T16:13:31Z | https://github.com/langchain-ai/langchain/issues/12319 | 1,962,704,317 | 12,319 |
[
"hwchase17",
"langchain"
] | ### System Info
latest langchain code AzureSearch at langchain/libs/langchain/langchain/vectorstores/azuresearch.py:
semantic_hybrid_search_with_score function, when returning search result, the score should be @search.rerankerScore, not @search.score for hybrid semantic search, according to the latest Azure Doc here... | should be @search.rerankerScore, not @search.score for hybrid semantic search (Azure Cognitive Search) | https://api.github.com/repos/langchain-ai/langchain/issues/12317/comments | 2 | 2023-10-26T04:00:06Z | 2024-02-06T16:13:36Z | https://github.com/langchain-ai/langchain/issues/12317 | 1,962,658,507 | 12,317 |
[
"hwchase17",
"langchain"
] | ### System Info
I got different embedding results using OpenAIEmbeddings and the original openai library. Besides the embeddings from both OpenAIEmbeddings and openai change from time to time. Sometimes it returns the same results but sometimes it returns differently , especially after I exceeds the time limit.
I a... | OpenAIEmbeddings vector different from the openai library and changes from time to time | https://api.github.com/repos/langchain-ai/langchain/issues/12314/comments | 4 | 2023-10-26T02:45:52Z | 2024-07-11T01:57:06Z | https://github.com/langchain-ai/langchain/issues/12314 | 1,962,600,617 | 12,314 |
[
"hwchase17",
"langchain"
] | ### Feature request
The langchain API integration Elevenlabs should accomodate the very important parameter `voice`.
### Motivation
Without the voice parameter, the Elevenlabs langchain integration is unusable because `play()` switches the voice randomly with every execution.
### Your contribution
I tracked do... | Elevenlabs-langchain API should integrate very important parameter 'voice' | https://api.github.com/repos/langchain-ai/langchain/issues/12312/comments | 5 | 2023-10-26T02:08:00Z | 2024-05-21T16:41:13Z | https://github.com/langchain-ai/langchain/issues/12312 | 1,962,571,837 | 12,312 |
[
"hwchase17",
"langchain"
] | ### System Info
python=`3.11`
langchain=`0.0.314`
pydantic=`2.3.0`
pydantic_core=`2.6.3`
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompt... | AttributeError: 'CustomTool' object has no attribute 'fields_set' | https://api.github.com/repos/langchain-ai/langchain/issues/12304/comments | 6 | 2023-10-25T21:55:37Z | 2023-11-25T18:37:22Z | https://github.com/langchain-ai/langchain/issues/12304 | 1,962,296,260 | 12,304 |
[
"hwchase17",
"langchain"
] | ### System Info
I start a jupyter notebook with
```python
file = 'OutdoorClothingCatalog_1000.csv'
loader = CSVLoader(file_path=file)
from langchain.indexes import VectorstoreIndexCreator
index = VectorstoreIndexCreator(
vectorstore_cls=DocArrayInMemorySearch
).from_loaders([loader])
query ="Please... | Error querying DocArrayInMemorySearch | https://api.github.com/repos/langchain-ai/langchain/issues/12302/comments | 8 | 2023-10-25T20:49:36Z | 2024-05-05T06:11:00Z | https://github.com/langchain-ai/langchain/issues/12302 | 1,962,205,964 | 12,302 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version == 0.0.323
python == 3.10
```
I have a simple code to query a postgres DB:
from langchain.llms import Bedrock
from langchain_experimental.sql import SQLDatabaseChain
db = SQLDatabase.from_uri(database_uri="postgresql://xxx:yyy:zzzzz")
llm = Bedrock(
credentials_pro... | SQLDatabaseChain Error | https://api.github.com/repos/langchain-ai/langchain/issues/12295/comments | 2 | 2023-10-25T18:56:26Z | 2024-02-28T16:08:30Z | https://github.com/langchain-ai/langchain/issues/12295 | 1,962,036,029 | 12,295 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Terminal Output:
> Entering new SQLDatabaseChain chain...
how many tracks have pop genre?
SQLQuery:SELECT COUNT(*) FROM tracks WHERE "GenreId" = 3 LIMIT 5;
SQLResult: [(374,)]
Answer:374 tracks have pop genre.
> Finished chain.
How do I access and print the SQLQuery, SQLResult i... | Not able to print verbose result in interface. | https://api.github.com/repos/langchain-ai/langchain/issues/12290/comments | 4 | 2023-10-25T18:17:54Z | 2024-02-10T16:10:12Z | https://github.com/langchain-ai/langchain/issues/12290 | 1,961,978,458 | 12,290 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
How can I use csv_agent with langchain-experimental being that importing csv_agent from langchain.agents now produces this error:
On 2023-10-27 this module will be be deprecated from langchain, and will be available from the langchain-experimental package.This code is already a... | langchain-experimental csv_agent how to? | https://api.github.com/repos/langchain-ai/langchain/issues/12287/comments | 2 | 2023-10-25T17:41:30Z | 2024-02-14T16:08:58Z | https://github.com/langchain-ai/langchain/issues/12287 | 1,961,919,942 | 12,287 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
There is an error in the code. [link](https://python.langchain.com/docs/use_cases/summarization#splitting-and-summarizing-in-a-single-chain)
```
from langchain.chains import AnalyzeDocumentChain
summarize_document_chain = AnalyzeDocumentChain(combine_docs_chain=chain, text_... | DOC: Error in code for splitting and summarizing in a single chain | https://api.github.com/repos/langchain-ai/langchain/issues/12280/comments | 3 | 2023-10-25T15:56:28Z | 2024-02-10T16:10:22Z | https://github.com/langchain-ai/langchain/issues/12280 | 1,961,752,705 | 12,280 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain JS 0.0.172 on DEbian Linux 12 using Nodejs 18.15.0
With the following code I don't get the tokenUsage back from the chain/ call. I checked the docs, asked the AI and did a google search. Am I doing anything wrong?
`const chain = RetrievalQAChain.fromLLM(
model,
vectorStore.asRetri... | Langchain js - can't get token usage | https://api.github.com/repos/langchain-ai/langchain/issues/12279/comments | 4 | 2023-10-25T15:54:36Z | 2024-02-10T16:10:27Z | https://github.com/langchain-ai/langchain/issues/12279 | 1,961,749,463 | 12,279 |
[
"hwchase17",
"langchain"
] | ### System Info
System:
LangChain 0.0.321
Python 3.10
I'm trying to build a MultiRetrievalQAChain using only Llama2 chat models served by vLLM (no OpenAI). For that end I have created a ConversationChain that acts as the default chain for the MultiRetrievalQAChain. I have customized the prompts for both chains to... | LLM (chain) output parsing in MultiRetrievalQAChain: OutputParserException Got invalid JSON object | https://api.github.com/repos/langchain-ai/langchain/issues/12276/comments | 2 | 2023-10-25T15:07:03Z | 2024-02-06T16:14:01Z | https://github.com/langchain-ai/langchain/issues/12276 | 1,961,655,309 | 12,276 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Unlike other PDF loaders, I've found that only the PDFMinerLoader doesn't provide pages in metadata when loading. Digging deeper, the PDFMinerParser only gives the page metadata when extract_images=True. I wonder if this was intentional.
### Suggestion:
#12277 | Issue: `PDFMinerLoader` not gives `page` metadata when loading with `extract_images=False` - is it intended? | https://api.github.com/repos/langchain-ai/langchain/issues/12273/comments | 2 | 2023-10-25T14:48:30Z | 2023-11-02T05:03:37Z | https://github.com/langchain-ai/langchain/issues/12273 | 1,961,611,644 | 12,273 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0320
python version: 3.10
### 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
- [ ]... | User based memorization with ConversationBufferMemory and CombinedMemory | https://api.github.com/repos/langchain-ai/langchain/issues/12272/comments | 2 | 2023-10-25T14:45:46Z | 2024-02-06T16:14:06Z | https://github.com/langchain-ai/langchain/issues/12272 | 1,961,606,028 | 12,272 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain == 0.0.320
Following step by step procedures used in actual codebase followed by error message
```
llm = ChatOpenAI(openai_api_key=openai_api_key, model_name=engine)
```
```
db = Chroma(
collection_name=f'collection_1233',
embedding_function=OpenAIEmbed... | ConversationalRetrievalChain doesn't work with ConversationEntityMemory + SQLiteEntityStore | https://api.github.com/repos/langchain-ai/langchain/issues/12266/comments | 3 | 2023-10-25T12:34:48Z | 2023-10-25T14:50:34Z | https://github.com/langchain-ai/langchain/issues/12266 | 1,961,319,260 | 12,266 |
[
"hwchase17",
"langchain"
] | ### Feature request
Langchain is currently using Pydantic V1, and I believe it would be good to upgrade this to V2
### Motivation
V2 is far more performant than V1 because of the python-rust binding
### Your contribution
I can create a PR here. | Upgrade to Pydantic V2 | https://api.github.com/repos/langchain-ai/langchain/issues/12265/comments | 11 | 2023-10-25T12:28:55Z | 2024-02-15T16:08:15Z | https://github.com/langchain-ai/langchain/issues/12265 | 1,961,308,651 | 12,265 |
[
"hwchase17",
"langchain"
] | ### System Info
I've been using the conversation chain to retrieve answers from gpt3.5, vertex ai chat-bison. For the user's memory I've been passing the session memory appended to the conversation chain. But once the token limit exceeds I'm getting this following error from the llm
`[chain/error] [1:chain:LLMChai... | Token limitation due to model's maximum context length | https://api.github.com/repos/langchain-ai/langchain/issues/12264/comments | 2 | 2023-10-25T11:34:43Z | 2024-02-06T16:14:11Z | https://github.com/langchain-ai/langchain/issues/12264 | 1,961,177,348 | 12,264 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`ConversationalRetrievalChain` returns sources to questions without relevant documents. The returned sources are not related to the question or the answer.
Example with relevant document:
```
chain = ConversationalRetrievalChain(
retriever=vectorstore.as_retriever(),
que... | ConversationalRetrievalChain returns sources to questions without context | https://api.github.com/repos/langchain-ai/langchain/issues/12263/comments | 1 | 2023-10-25T11:25:40Z | 2024-07-04T12:48:23Z | https://github.com/langchain-ai/langchain/issues/12263 | 1,961,161,745 | 12,263 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am getting below error while trying to use Azure Cosmos DB as vector store.
**_No module named 'langchain.vectorstores.azure_cosmos_db_vector_search'_**
### Suggestion:
_No response_ | Issue: No module named 'langchain.vectorstores.azure_cosmos_db_vector_search' | https://api.github.com/repos/langchain-ai/langchain/issues/12262/comments | 2 | 2023-10-25T10:51:32Z | 2024-02-08T16:14:20Z | https://github.com/langchain-ai/langchain/issues/12262 | 1,961,103,330 | 12,262 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.4
LangChain 0.0.321
Platform info (WSL2):
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Relat... | InvalidRequestError: Unrecognized request argument supplied: functions | https://api.github.com/repos/langchain-ai/langchain/issues/12260/comments | 2 | 2023-10-25T09:45:12Z | 2023-10-25T14:30:45Z | https://github.com/langchain-ai/langchain/issues/12260 | 1,960,983,120 | 12,260 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am currently using a chain with the following components:
FewshotPrompt ( with SemanticSimilarityExampleSelector) -> LLM -> Outputparser
By default, this will give me the parsed text output of my LLM.
For my purposes, I would need the output of this chain to include all intermedi... | Returning detailed results of intermediate components | https://api.github.com/repos/langchain-ai/langchain/issues/12257/comments | 4 | 2023-10-25T09:11:34Z | 2024-05-13T16:08:37Z | https://github.com/langchain-ai/langchain/issues/12257 | 1,960,921,158 | 12,257 |
[
"hwchase17",
"langchain"
] | ### System Info
How i can implement user based memorization please can provide a link for refrence
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt... | User based memorization | https://api.github.com/repos/langchain-ai/langchain/issues/12254/comments | 4 | 2023-10-25T07:15:18Z | 2024-02-10T16:10:37Z | https://github.com/langchain-ai/langchain/issues/12254 | 1,960,713,093 | 12,254 |
[
"hwchase17",
"langchain"
] | ### System Info
1
I have been working with LangChain for some time, and after updating my LangChain module to version 0.0.295 or higher, my Vertex AI models throw an error in my application. The error is
File "E:\Office\2023\AI-Platform\kaya-aia-general-bot\venv\Lib\site-packages\langchain\llms\vertexai.py", l... | Vertex AI Models Throws AttributeError: After Langchain 0.0295 Version | https://api.github.com/repos/langchain-ai/langchain/issues/12250/comments | 2 | 2023-10-25T04:55:22Z | 2024-02-09T16:12:48Z | https://github.com/langchain-ai/langchain/issues/12250 | 1,960,535,933 | 12,250 |
[
"hwchase17",
"langchain"
] | ### System Info
Under doctran_text_extract.py, DoctranPropertyExtractor class. The methods for the class contains errors.
The first method transform_documents() does not have any operations and simply returns a NotImplementedError. This method should be working and implemented, with the following code:
```
def... | Integration Doctran: DoctranPropertyExtractor class methods transform_documents() and atransform_documents() error | https://api.github.com/repos/langchain-ai/langchain/issues/12249/comments | 2 | 2023-10-25T03:58:43Z | 2024-02-06T16:14:31Z | https://github.com/langchain-ai/langchain/issues/12249 | 1,960,484,085 | 12,249 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently the `TelegramChatAPILoader` returns the Date, Sender, and Text of each message. Adding the URL of each message would very helpful for a Natural Language Search Engine for a large Channel.
SOURCE: `langchain.document_loaders.telegram`
### Motivation
We are building a Natural La... | Add URL's to the output of TelegramChatAPILoader 🙏 | https://api.github.com/repos/langchain-ai/langchain/issues/12246/comments | 1 | 2023-10-25T02:22:45Z | 2024-02-06T16:14:36Z | https://github.com/langchain-ai/langchain/issues/12246 | 1,960,397,303 | 12,246 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain in /opt/conda/lib/python3.11/site-packages (0.0.322)
Python 3.11.6
installed on
image: jupyter/datascience-notebook
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Ch... | retriever.get_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/12244/comments | 4 | 2023-10-25T00:47:28Z | 2023-10-25T23:49:14Z | https://github.com/langchain-ai/langchain/issues/12244 | 1,960,309,220 | 12,244 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Using langchain on AWS lambda function to call an AWS OpenSearch Serverless vector index. I did not file as a bug, as I suspect that this is a usage problem, but it might be a bug.
I have built an OpenSearch vector index, using AWS OpenSearch Serverless, and are using it to perform v... | Issue: Problems getting filtering to work with langchain, OpenSearchVectorSearch, similarity_search_with_score | https://api.github.com/repos/langchain-ai/langchain/issues/12240/comments | 16 | 2023-10-24T23:46:34Z | 2024-03-14T00:47:50Z | https://github.com/langchain-ai/langchain/issues/12240 | 1,960,264,037 | 12,240 |
[
"hwchase17",
"langchain"
] | ### System Info
n/a
### 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
- [X] Output Parsers
- [ ] Document Loaders
- [ ] V... | `StructuredOutputParser.get_format_instructions` missing commas | https://api.github.com/repos/langchain-ai/langchain/issues/12239/comments | 3 | 2023-10-24T23:31:54Z | 2024-05-07T16:06:18Z | https://github.com/langchain-ai/langchain/issues/12239 | 1,960,253,141 | 12,239 |
[
"hwchase17",
"langchain"
] | ### System Info
https://github.com/langchain-ai/langchain/tree/d2cb95c39d5569019ab3c6aa368aa937d8dcc465
(just above `v0.0.322`)
MacBook Pro, M1 chip, macOS Ventura 13.5.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
###... | ModuleNotFoundError: No module named 'rapidfuzz' | https://api.github.com/repos/langchain-ai/langchain/issues/12237/comments | 12 | 2023-10-24T23:05:16Z | 2024-07-18T16:07:14Z | https://github.com/langchain-ai/langchain/issues/12237 | 1,960,229,561 | 12,237 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I was wondering if there is a mechanism that I can only use the ConversationSummaryMemory in a chain as the context of a conversation. After the chain is completed, I can retain the old memory without adding the new conversation to it.
### Suggestion:
_No response_ | Issue: can I only use ConversationSummaryMemory in a chain as context without renew it | https://api.github.com/repos/langchain-ai/langchain/issues/12227/comments | 2 | 2023-10-24T20:43:18Z | 2024-02-08T16:14:36Z | https://github.com/langchain-ai/langchain/issues/12227 | 1,960,043,531 | 12,227 |
[
"hwchase17",
"langchain"
] | ### System Info
aws
### 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
- [ ] Do... | I encountered an issue with SQLDatabaseToolkit where I couldn't configure it to execute multiple SQL queries based on the previously retrieved value from a column in the initial query | https://api.github.com/repos/langchain-ai/langchain/issues/12222/comments | 2 | 2023-10-24T19:13:22Z | 2024-02-06T16:14:46Z | https://github.com/langchain-ai/langchain/issues/12222 | 1,959,912,928 | 12,222 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain HEAD
### Who can help?
@hwchase17 @ag
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | OPENAI_API_KEY_PATH is not supported | https://api.github.com/repos/langchain-ai/langchain/issues/12218/comments | 2 | 2023-10-24T17:34:43Z | 2024-02-08T16:14:40Z | https://github.com/langchain-ai/langchain/issues/12218 | 1,959,747,839 | 12,218 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi!
I have been trying to create a router chain which will route to StuffDocumentsChains.
It seems that default output_key for BaseCombineDocumentsChain is output_text instead of 'text' like in typical chains.
```py
class BaseCombineDocumentsChain(Chain, ABC):
"""Base interface for chains... | Router + BaseCombineDocumentsChain output_key | https://api.github.com/repos/langchain-ai/langchain/issues/12206/comments | 2 | 2023-10-24T14:38:00Z | 2024-02-06T16:14:56Z | https://github.com/langchain-ai/langchain/issues/12206 | 1,959,412,927 | 12,206 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is it possible to support scenarios for using `RetryWithErrorOutputParser` when prompt is injected in a chain or a summary memory so this prompt is not directly formatted?
### Motivation
I am trying to support complex prompts, multi-chain and combined memory scenarios causing errors regularly whe... | RetryWithErrorOutputParser for chains and summary memory | https://api.github.com/repos/langchain-ai/langchain/issues/12205/comments | 2 | 2023-10-24T14:24:02Z | 2024-02-08T16:14:46Z | https://github.com/langchain-ai/langchain/issues/12205 | 1,959,382,324 | 12,205 |
[
"hwchase17",
"langchain"
] | ### System Info
Here is a native python llama cpp example
```
"""
Ask to generate 4 questions related to a given content
"""
from llama_cpp import Llama
mpath="/home/mac/llama-2-7b-32k-instruct.Q5_K_S.gguf"
# define n_ctx manually to permit larger contexts
LLM = Llama(model_path=mpath, n_ctx=512,verbose=Fa... | Unable to use LlamCpp from langchain | https://api.github.com/repos/langchain-ai/langchain/issues/12203/comments | 3 | 2023-10-24T14:21:08Z | 2024-02-09T16:12:53Z | https://github.com/langchain-ai/langchain/issues/12203 | 1,959,375,762 | 12,203 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The `publish_date` field returned in the metadata seems unreliable and is very often empty for many news sites. The publish date can easily be parsed directly from the RSS feed from the `pubDate` tag which, although optional, is pretty standard and is much more reliable than trying to ... | Issue: RSSFeedLoader unreliable publish date | https://api.github.com/repos/langchain-ai/langchain/issues/12202/comments | 2 | 2023-10-24T14:16:40Z | 2024-02-06T16:15:11Z | https://github.com/langchain-ai/langchain/issues/12202 | 1,959,365,429 | 12,202 |
[
"hwchase17",
"langchain"
] | @dosu-bot
I have 3 issues I need your help with and to fix the code:
1) My code is not remembering previous questions despite using ConversationBufferMemory
2) Not Returning Source Documents
3) When I ask it a question the first time, it writes the answer only but if I ask it any other time afterwards, it alway... | LangChain memory, not returning source doc, repeating question | https://api.github.com/repos/langchain-ai/langchain/issues/12199/comments | 6 | 2023-10-24T11:06:32Z | 2024-05-15T16:06:17Z | https://github.com/langchain-ai/langchain/issues/12199 | 1,959,011,802 | 12,199 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.320
Ubuntu 20.04
Python 3.11.5
### Who can help?
@SuperJokerayo @baskaryan
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | Error reshaping array in _extract_images_from_page() in pdf.py | https://api.github.com/repos/langchain-ai/langchain/issues/12196/comments | 5 | 2023-10-24T10:05:32Z | 2024-04-27T16:34:18Z | https://github.com/langchain-ai/langchain/issues/12196 | 1,958,920,258 | 12,196 |
[
"hwchase17",
"langchain"
] | ### Feature request
I have only seen this "[Zero-shot ReAct](https://python.langchain.com/docs/modules/agents/agent_types/react)"
### Motivation
able to provide examples to agent, to understand how these tools area used, in what order
### Your contribution
nothing yet | Is there a few shots agent exists? | https://api.github.com/repos/langchain-ai/langchain/issues/12194/comments | 2 | 2023-10-24T09:32:52Z | 2024-02-06T16:15:21Z | https://github.com/langchain-ai/langchain/issues/12194 | 1,958,865,532 | 12,194 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Let's say you have a PDF file, an Excel file, and a PowerPoint file all indexed into a pinecone database, they are similar in that, a query can have information relevant in all sources, but now we want the user to indicate which source should be considered first when they ask a question,... | Issue: Prioritze sources in the vector store to consider certain sources first | https://api.github.com/repos/langchain-ai/langchain/issues/12192/comments | 2 | 2023-10-24T09:09:10Z | 2024-02-06T16:15:26Z | https://github.com/langchain-ai/langchain/issues/12192 | 1,958,826,438 | 12,192 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want to add a config chain prior to the ConversationalRetrievalChain that is going to process the query and set the retriever's search kwargs ( k, fetch_k, lambda_mult ) depending on the question, how can I do that and pass the parameters from the config chain output
### Motivation
The motivati... | Add a config chain before the ConversationalRetrievalChain : search Kwargs | https://api.github.com/repos/langchain-ai/langchain/issues/12189/comments | 5 | 2023-10-24T08:36:14Z | 2024-03-27T13:44:00Z | https://github.com/langchain-ai/langchain/issues/12189 | 1,958,773,387 | 12,189 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.4
LangChain 0.0.321
Platform info (WSL2):
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Relat... | KeyError: 'tool_names' | https://api.github.com/repos/langchain-ai/langchain/issues/12186/comments | 6 | 2023-10-24T06:44:44Z | 2024-02-12T16:10:25Z | https://github.com/langchain-ai/langchain/issues/12186 | 1,958,617,422 | 12,186 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to add retriever tool to SQL Database Toolkit and run SQL Agent with Vertex AI Text Bison LLM, however I am facing error.
I am following below documentation for implementation
[https://python.langchain.com/docs/use_cases/qa_structured/sql?ref=blog.langchain.dev#case-3-sql... | Retriever Tool for Vertex AI Model | https://api.github.com/repos/langchain-ai/langchain/issues/12185/comments | 2 | 2023-10-24T05:35:24Z | 2024-02-06T16:15:41Z | https://github.com/langchain-ai/langchain/issues/12185 | 1,958,553,638 | 12,185 |
[
"hwchase17",
"langchain"
] | ### System Info
System:
langchain 0.0.321
Python 3.10
Hi,
I get an error related to a missing OpenAI token when trying to reuse the code to [dynamically select from multiple retrievers](https://python.langchain.com/docs/use_cases/question_answering/multi_retrieval_qa_router) at the MultiRetrievalQAChain init... | multi_retrieval_qa.py hardwires ChatOpenAI() at the _default_chain | https://api.github.com/repos/langchain-ai/langchain/issues/12184/comments | 6 | 2023-10-24T04:17:28Z | 2023-10-26T09:09:59Z | https://github.com/langchain-ai/langchain/issues/12184 | 1,958,479,132 | 12,184 |
[
"hwchase17",
"langchain"
] | ### System Info
python=3.10
langchain=0.0.320
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ... | Bug when using OPENAI_FUNCTIONS agent | https://api.github.com/repos/langchain-ai/langchain/issues/12183/comments | 2 | 2023-10-24T03:10:22Z | 2024-04-01T16:05:25Z | https://github.com/langchain-ai/langchain/issues/12183 | 1,958,394,412 | 12,183 |
[
"hwchase17",
"langchain"
] | ### System Info
Python Version: Python 3.10.4
Langchain Version: 0.0.320
OS: Ubuntu 18.04
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ]... | JSONDecodeError on Cookbook/Semi_structured_multi_mudal_RAG_LLaMA2.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12180/comments | 7 | 2023-10-24T02:23:12Z | 2024-01-22T19:18:52Z | https://github.com/langchain-ai/langchain/issues/12180 | 1,958,354,853 | 12,180 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
We have a metadata field in our opensearch index which I would like use to filter the passages before sending it to LLM to generate the answer. Tried many options suggested in chat.langchain.com but none of them seems to work.
Here is an example:
I have an user with asso... | Issue: <Not able to filter OpenSearch vectorstore using Filter in search_kwargs> | https://api.github.com/repos/langchain-ai/langchain/issues/12179/comments | 2 | 2023-10-24T01:09:55Z | 2024-02-07T16:15:18Z | https://github.com/langchain-ai/langchain/issues/12179 | 1,958,283,958 | 12,179 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
when i try and run this script
```
class WebsiteSummary:
def _SummorizeWebsite(objective, websiteContent):
my_gpt_instance = MyGPT4ALL()
textSplitter = RecursiveCharacterTextSplitter(
separators=["\n\n", "\n"], chunk_size=10000, chunk_ove... | value is not a valid dict (type=type_error.dict) | https://api.github.com/repos/langchain-ai/langchain/issues/12176/comments | 1 | 2023-10-23T23:15:43Z | 2023-10-29T13:51:16Z | https://github.com/langchain-ai/langchain/issues/12176 | 1,958,182,263 | 12,176 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is there a way to integrate `RetryOutputParser` with `ConversationalRetrievalChain`? Specifically, if I use OpenAI's function calling to generate the response in a specific format, the LLM model does not always follow the instructions and then it would fail the Pydantic model validation.
Therefo... | Integrate RetryOutputParser with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/12175/comments | 8 | 2023-10-23T21:40:52Z | 2024-02-14T16:09:08Z | https://github.com/langchain-ai/langchain/issues/12175 | 1,958,069,230 | 12,175 |
[
"hwchase17",
"langchain"
] | ### Feature request
The idea is simple. When using various models users have rate limits, both in requests per min/hour and Tokens. When using the raw OpenAI SDK I used the code below. It just uses the "usage" metrics provided in the response (as of now I dont know how to retrieve a 'raw response' when utilizing langc... | Token Usage Management System | https://api.github.com/repos/langchain-ai/langchain/issues/12172/comments | 3 | 2023-10-23T20:36:34Z | 2024-03-11T11:55:29Z | https://github.com/langchain-ai/langchain/issues/12172 | 1,957,982,299 | 12,172 |
[
"hwchase17",
"langchain"
] | ### System Info
I am trying to setup the local development environment with `poetry install --with test` but I am running into the error `Group(s) not found: test (via --with)`
```
> origin/master:master via 🐍 v3.11.6
> 57% langchain ❯ poetry install --with test
Group(s) not found: test (via --with)
```
C... | `poetry install --with test`: Group(s) not found: test (via --with) | https://api.github.com/repos/langchain-ai/langchain/issues/12170/comments | 3 | 2023-10-23T19:28:02Z | 2023-10-23T19:46:02Z | https://github.com/langchain-ai/langchain/issues/12170 | 1,957,880,716 | 12,170 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How can I see the context that was used to answer a specific question?
from langchain.memory import ConversationBufferWindowMemory
memory = ConversationBufferWindowMemory(k=3, memory_key="chat_history", return_messages=True)
qa = ConversationalRetrievalChain.from_llm(llm_model,... | Issue: View context used in query in ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/12167/comments | 3 | 2023-10-23T18:10:39Z | 2024-02-10T16:10:57Z | https://github.com/langchain-ai/langchain/issues/12167 | 1,957,733,689 | 12,167 |
[
"hwchase17",
"langchain"
] | ### System Info
make lint errors
```
make lint
./scripts/check_pydantic.sh .
./scripts/check_imports.sh
poetry run ruff .
[ "." = "" ] || poetry run black . --check
All done! ✨ 🍰 ✨
1866 files would be left unchanged.
[ "." = "" ] || poetry run mypy .
langchain/document_loaders/parsers/pdf.py:95: error: "P... | mypy linting error in PyPDFParser with pypdf 3.16.4 | https://api.github.com/repos/langchain-ai/langchain/issues/12166/comments | 4 | 2023-10-23T17:34:36Z | 2024-02-01T13:46:22Z | https://github.com/langchain-ai/langchain/issues/12166 | 1,957,670,819 | 12,166 |
[
"hwchase17",
"langchain"
] | Updated: 20233-12-06
Hello everyone! thank you all for your contributions! We've made a lot of progress with SecretStrs in the code base.
First time contributors -- hope you had fun learning how to work in the code base and thanks for putting in the time. All contributors -- thanks for all your efforts in improv... | For New Contributors: Use SecretStr for api_keys | https://api.github.com/repos/langchain-ai/langchain/issues/12165/comments | 56 | 2023-10-23T17:29:51Z | 2024-01-07T21:13:38Z | https://github.com/langchain-ai/langchain/issues/12165 | 1,957,660,279 | 12,165 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello team!
I am new to the OpenAPI Specs Toolkit. I am trying to build an OpenAPI Agent Planner for the Microsoft Graph API. The OpenAPI specs can be found here: https://github.com/microsoftgraph/msgraph-metadata/blob/master/openapi/v1.0/openapi.yaml . I downloaded the YAML file and... | OpenAPI Spec - reduce_openapi_spec - maximum recursion depth exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/12163/comments | 6 | 2023-10-23T16:23:35Z | 2024-06-12T16:07:06Z | https://github.com/langchain-ai/langchain/issues/12163 | 1,957,544,509 | 12,163 |
[
"hwchase17",
"langchain"
] | There's an issue when using JsonSpec that it can't handle the case where it indexes a list with `0` because in [line 52](https://github.com/langchain-ai/langchain/blob/d0505c0d4755d8cbe62a8ddee68f53a5cb330892/libs/langchain/langchain/tools/json/tool.py#L52) it checks `if i` and since `i==0` it returns `False`.
Inst... | JsonSpec `keys` method doesn't handle indexing lists properly | https://api.github.com/repos/langchain-ai/langchain/issues/12160/comments | 1 | 2023-10-23T15:41:45Z | 2024-02-06T16:16:01Z | https://github.com/langchain-ai/langchain/issues/12160 | 1,957,467,852 | 12,160 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.320
Python 3.9.6
Issue:
The LLM output ` ```json \n{\n \"action\": \"...``` ` for a StructuredChatAgent using StructuredChatOutputParser.
The regex in the parser `re.compile(r"```(?:json)?\n(.*?)```", re.DOTALL)` does not allow for a space after `json`.
LLM: Claude v2
... | StructuredChatOutputParser regex not accounting for space | https://api.github.com/repos/langchain-ai/langchain/issues/12158/comments | 1 | 2023-10-23T14:15:02Z | 2023-10-27T09:37:53Z | https://github.com/langchain-ai/langchain/issues/12158 | 1,957,280,320 | 12,158 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi,
I am working on a student teacher model . I am running into a problem where I agent does not generate final answer after the expected observations. Below is my code and output
Code
```
assignment_instruction_2 = """
1. Ask his name and then welcome him
2. Ask the topic he wants to unders... | Agent is not stopping after each answer | https://api.github.com/repos/langchain-ai/langchain/issues/12157/comments | 2 | 2023-10-23T13:32:40Z | 2024-02-08T16:15:15Z | https://github.com/langchain-ai/langchain/issues/12157 | 1,957,182,305 | 12,157 |
[
"hwchase17",
"langchain"
] | ### System Info
Hey folks, I think i stumbled on a bug (or i'm using langchain wrong)
Langchain version : 0.0.320
Platform Ubuntu 23.04
Python: 3.11.4
### Who can help?
@hwchase17 , @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related C... | Langchain crashes when retrieving results from vertexai codey models | https://api.github.com/repos/langchain-ai/langchain/issues/12156/comments | 2 | 2023-10-23T13:02:18Z | 2024-02-08T16:15:20Z | https://github.com/langchain-ai/langchain/issues/12156 | 1,957,115,754 | 12,156 |
[
"hwchase17",
"langchain"
] | ### System Info
`langchain==0.0.320`
### 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
- [ ] Docum... | MatchingEngine.add_texts() doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/12154/comments | 1 | 2023-10-23T12:28:00Z | 2023-11-19T18:10:42Z | https://github.com/langchain-ai/langchain/issues/12154 | 1,957,048,261 | 12,154 |
[
"hwchase17",
"langchain"
] | ### System Info
`langchain==0.0.320`
Example file: https://drive.google.com/file/d/1zDj3VXohUO7x4udu9RY9KxWbzBUIrsvb/view?usp=sharing
```
from PyPDF2 import PdfReader
from langchain.text_splitter import CharacterTextSplitter
# Specify the PDF file to be processed
pdf = "Deep Learning.pdf"
# Initialize a... | CharacterTextSplitter return incorrect chunks | https://api.github.com/repos/langchain-ai/langchain/issues/12151/comments | 2 | 2023-10-23T09:37:40Z | 2024-02-08T16:15:26Z | https://github.com/langchain-ai/langchain/issues/12151 | 1,956,756,560 | 12,151 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu: 22.04.3 LTS
python: 3.10
pip: 22.0.2
langchain: 0.0.319
vector stores: faiss
llm model: llama-2-13b-chat.Q4_K_M.gguf and mistral-7b-openorca.Q4_K_M.gguf
embeddings model: thenlper/gte-large
### Who can help?
anyone
### Information
- [ ] The official example notebooks/scripts... | LlamaCpp truncates the response from LLM, and CTransformers gives a token overrun error | https://api.github.com/repos/langchain-ai/langchain/issues/12150/comments | 2 | 2023-10-23T09:32:40Z | 2024-02-13T16:10:07Z | https://github.com/langchain-ai/langchain/issues/12150 | 1,956,747,660 | 12,150 |
[
"hwchase17",
"langchain"
] | ### System Info
python == 3.10.12
langchain == 0.0.312
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | LCEL not working with MultiPromptChain | https://api.github.com/repos/langchain-ai/langchain/issues/12149/comments | 7 | 2023-10-23T09:10:57Z | 2024-06-26T05:16:03Z | https://github.com/langchain-ai/langchain/issues/12149 | 1,956,707,298 | 12,149 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11, langchain 0.0.315 and mac
### 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 Selecto... | Langchain Document schema explodes with FastAPI | https://api.github.com/repos/langchain-ai/langchain/issues/12147/comments | 2 | 2023-10-23T07:35:17Z | 2023-10-23T13:17:32Z | https://github.com/langchain-ai/langchain/issues/12147 | 1,956,539,711 | 12,147 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, I have this use-case where there are different types of documents. I can parse documents using document loaders using langchain. But, there are images also in these documents. I want to store them as metadata and if answer generated from a context chunk it show the image also. Ple... | How to show images from PDFs, PPT, DOCs documents as part of answer? | https://api.github.com/repos/langchain-ai/langchain/issues/12144/comments | 2 | 2023-10-23T02:16:49Z | 2024-02-08T16:15:35Z | https://github.com/langchain-ai/langchain/issues/12144 | 1,956,221,942 | 12,144 |
[
"hwchase17",
"langchain"
] | ### System Info
version:
- langchain-0.0.320
- py311
### 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 Pars... | AttributeError: partially initialized module 'arxiv' has no attribute 'Search' (most likely due to a circular import) | https://api.github.com/repos/langchain-ai/langchain/issues/12143/comments | 2 | 2023-10-23T01:04:04Z | 2023-12-06T02:37:31Z | https://github.com/langchain-ai/langchain/issues/12143 | 1,956,153,788 | 12,143 |
[
"hwchase17",
"langchain"
] | ### System Info
latest version langchain locks peer dependency: "googleapis" version to 126.0.1, wondering why it has to be googleapis v126.0.1. it introduces tech debts.
Please fix the peer dep version for `googleapis` if there is no specific reasons.
### Who can help?
@hwchase17
### Information
- [ ] The off... | latest version langchain locks peer dependency: "googleapis" version to 126.0.1 | https://api.github.com/repos/langchain-ai/langchain/issues/12142/comments | 2 | 2023-10-23T00:55:32Z | 2024-01-31T16:33:43Z | https://github.com/langchain-ai/langchain/issues/12142 | 1,956,147,176 | 12,142 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
On this page
This example:
```
class SearchInput(BaseModel):
query: str = Field(description="should be a search query")
@tool("search", return_direct=True, args_schema=SearchInput)
def search_api(query: str) -> str:
"""Searches the API for the query."""
... | DOC: Example from Custom Tool documentation fails | https://api.github.com/repos/langchain-ai/langchain/issues/12138/comments | 2 | 2023-10-22T18:25:42Z | 2023-10-22T18:48:16Z | https://github.com/langchain-ai/langchain/issues/12138 | 1,956,004,892 | 12,138 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
When starting Docusaurus in a local container environment using the `make docs_build` command, it runs at `localhost:3000`, but a connection from the host machine is not possible.
The container has both `poetry` and `yarn` installed.
Even though port 3000 is forwarded to the h... | DOC: Issue Connecting to Docusaurus in Local Container Environment | https://api.github.com/repos/langchain-ai/langchain/issues/12127/comments | 1 | 2023-10-22T06:06:45Z | 2024-02-06T16:16:26Z | https://github.com/langchain-ai/langchain/issues/12127 | 1,955,775,678 | 12,127 |
[
"hwchase17",
"langchain"
] | ### Feature request
Microsoft OneNote loader like EverNoteLoader or ObsidianLoader
### Motivation
N/A
### Your contribution
N/A | Is there any loader for Microsoft OneNote like EverNoteLoader or ObsidianLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12125/comments | 10 | 2023-10-22T04:36:08Z | 2024-06-07T11:49:38Z | https://github.com/langchain-ai/langchain/issues/12125 | 1,955,757,359 | 12,125 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I found that using a `RetrievalQA` for streaming outputs gibberish response. For example, using a `RetrievalQA` with code below on the `state_of_the_union.txt` example:
```
doc_chain = load_qa_chain(
llm=ChatOpenAI(
streaming=True,
openai_api_key=api_key,
... | Issue: `VectorDBQA` is a better chain than `RetrievalQA` when it comes to streaming model response | https://api.github.com/repos/langchain-ai/langchain/issues/12124/comments | 2 | 2023-10-22T04:31:46Z | 2024-02-06T16:16:31Z | https://github.com/langchain-ai/langchain/issues/12124 | 1,955,756,498 | 12,124 |
[
"hwchase17",
"langchain"
] | ### Feature request
Feature request to Integrate a new Langchain tool that make recommandtions on steam games based on user's Steam ID and provide game information based on given Steam game name.
### Motivation
We recognize the current challenges users face when discovering games on Steam—cluttered search resu... | Feature: Steam game recommendation tool | https://api.github.com/repos/langchain-ai/langchain/issues/12120/comments | 8 | 2023-10-21T20:44:10Z | 2023-12-15T04:37:11Z | https://github.com/langchain-ai/langchain/issues/12120 | 1,955,656,927 | 12,120 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.285, python 3.11.5, Windows 11
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | ConversationalRetrievalChain cannot return source documents when using ConversationBufferWindowMemory | https://api.github.com/repos/langchain-ai/langchain/issues/12118/comments | 2 | 2023-10-21T20:06:18Z | 2023-10-22T00:11:00Z | https://github.com/langchain-ai/langchain/issues/12118 | 1,955,647,569 | 12,118 |
[
"hwchase17",
"langchain"
] | ### Feature request
There seems to be a conflation between configuration code and inheritance trees that make it nearly impossible to extend langchain functionality without recreating entire class inheritance. I ran into this almost immediately when trying to customize agents and executors to my application needs, but... | Architecture: Decouple Configuration from Inheritance for better extensibility | https://api.github.com/repos/langchain-ai/langchain/issues/12117/comments | 2 | 2023-10-21T19:33:24Z | 2024-02-06T16:16:36Z | https://github.com/langchain-ai/langchain/issues/12117 | 1,955,638,250 | 12,117 |
[
"hwchase17",
"langchain"
] | ### Feature request
Feature request to integrate the SendGrid API into Langchain for enhanced email communication and notifications.
**Relevant links:**
1. [SendGrid API Documentation](https://sendgrid.com/docs/API_Reference/index.html): The official documentation for the SendGrid API, offering comprehensive infor... | SendGrid API Integration For Enhanced Email Communication | https://api.github.com/repos/langchain-ai/langchain/issues/12116/comments | 2 | 2023-10-21T19:00:04Z | 2024-02-09T16:13:23Z | https://github.com/langchain-ai/langchain/issues/12116 | 1,955,627,328 | 12,116 |
[
"hwchase17",
"langchain"
] | ### Feature request
Request to Integrate Stack Exchange API into Langchain for enhanced information access and interaction.
**Relevant links:**
1. **Stack Exchange API Documentation**: The official documentation for the Stack Exchange API, providing detailed information on how to interact with the API and retrieve... | Stack Exchange API Integration | https://api.github.com/repos/langchain-ai/langchain/issues/12115/comments | 2 | 2023-10-21T18:49:17Z | 2024-02-06T16:16:46Z | https://github.com/langchain-ai/langchain/issues/12115 | 1,955,624,167 | 12,115 |
[
"hwchase17",
"langchain"
] | ### System Info
#### Description:
I encountered an issue with the UnstructuredURLLoader class from the "langchain" library, specifically in the libs/langchain/langchain/document_loaders/url.py module. When trying to handle exceptions for a failed request, I observed that the exception raised by the library doesn't ... | Issue with Exception Handling: UnstructuredURLLoader Does Not Raise Exceptions Inheriting from Base Class Exception | https://api.github.com/repos/langchain-ai/langchain/issues/12112/comments | 2 | 2023-10-21T16:52:54Z | 2024-02-06T16:16:51Z | https://github.com/langchain-ai/langchain/issues/12112 | 1,955,575,850 | 12,112 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain:0.0.319
Python:3.11.2
System: macOS 13.5.2 arm64
### 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 / Pr... | API Key Leakage in the BaseLanguageModel | https://api.github.com/repos/langchain-ai/langchain/issues/12110/comments | 3 | 2023-10-21T16:08:21Z | 2024-02-10T16:11:07Z | https://github.com/langchain-ai/langchain/issues/12110 | 1,955,553,596 | 12,110 |
[
"hwchase17",
"langchain"
] | ### System Info
When upgrading from version 0.317 to 0.318, there is a bug regarding the Pydantic model validations. This issue doesn't happen in versions before 0.318.
File "...venv/lib/python3.10/site-packages/langchain/retrievers/google_vertex_ai_search.py", line 268, in __init__
self._serving_config = self... | "GoogleVertexAISearchRetriever" object has no field "_serving_config". It's a Pydantic-related bug. | https://api.github.com/repos/langchain-ai/langchain/issues/12100/comments | 2 | 2023-10-21T11:31:24Z | 2023-10-24T08:20:04Z | https://github.com/langchain-ai/langchain/issues/12100 | 1,955,451,984 | 12,100 |
[
"hwchase17",
"langchain"
] | ### Feature request
Feature request to Integrate a new Langchain tool that summarizes reddit user interactions/discussion based on user input.
### Motivation
Reddit is a vast platform with numerous discussions and threads covering a wide range of topics. Users often seek information, insights, and opinions on ... | feature: Reddit API Tool | https://api.github.com/repos/langchain-ai/langchain/issues/12097/comments | 3 | 2023-10-21T05:49:41Z | 2023-12-03T17:29:57Z | https://github.com/langchain-ai/langchain/issues/12097 | 1,955,338,588 | 12,097 |
[
"hwchase17",
"langchain"
] | When running on colab, it has following error:
```
[nltk_data] Downloading package punkt to /root/nltk_data...
[nltk_data] Unzipping tokenizers/punkt.zip.
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /root/nltk_data...
[nltk_data] Unzipping taggers/averaged_perceptron_tagger.z... | How to run Semi_structured_and_multi_modal_RAG.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12096/comments | 2 | 2023-10-21T02:51:14Z | 2024-02-08T16:15:50Z | https://github.com/langchain-ai/langchain/issues/12096 | 1,955,247,057 | 12,096 |
[
"hwchase17",
"langchain"
] | ### Feature request
Cohere's upcoming (currently in BETA) Co.Chat + RAG API Endpoint will offer additional parameters such as "documents" and "connectors" that can be used for RAG. This is the major new feature of the Cohere Coral models (RAG)
See https://docs.cohere.com/reference/chat
GPT-4 (and the Other Cha... | Chat API Endpoints with RAG | https://api.github.com/repos/langchain-ai/langchain/issues/12094/comments | 3 | 2023-10-21T00:44:36Z | 2024-02-01T21:05:22Z | https://github.com/langchain-ai/langchain/issues/12094 | 1,955,167,241 | 12,094 |
[
"hwchase17",
"langchain"
] | ### Feature request
Implement MemGPT for better memory management with local and hosted models:
https://github.com/cpacker/MemGPT
### Motivation
This can help automate the manually creation and retrieval of vector stores.
### Your contribution
I'm not really familiar with the langchain repo at the moment, I cou... | Integrate MemGPT | https://api.github.com/repos/langchain-ai/langchain/issues/12091/comments | 8 | 2023-10-20T20:33:10Z | 2024-07-10T16:05:21Z | https://github.com/langchain-ai/langchain/issues/12091 | 1,954,978,462 | 12,091 |
[
"hwchase17",
"langchain"
] | ### Feature request
Many of the non-OpenAI LLMs struggle to complete the first "Thought" part of the prompt. Falcon, Llama, Mistral, Zephyr, and many others will successfully choose the action and action input, but leave out an initial thought.
### Motivation
For the very first interaction, the agent scratchpad is e... | Improve flexibility of ReAct agent on the first iteration | https://api.github.com/repos/langchain-ai/langchain/issues/12087/comments | 1 | 2023-10-20T19:18:11Z | 2023-10-25T15:54:28Z | https://github.com/langchain-ai/langchain/issues/12087 | 1,954,895,641 | 12,087 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.