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"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain_google_vertexai import ChatVertexAI
from... | ChatVertexAI model - convert_system_message_to_human argument = True is ignored | https://api.github.com/repos/langchain-ai/langchain/issues/16503/comments | 4 | 2024-01-24T11:13:09Z | 2024-02-19T08:35:34Z | https://github.com/langchain-ai/langchain/issues/16503 | 2,098,035,111 | 16,503 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the Metal section of the https://python.langchain.com/docs/integrations/llms/llamacpp document, the description of `n_gpu_layers` is `Metal set to 1 is enough.`
I haven't found the exact reason for this. and when I tested it locally, I felt that using a larger value of `n_gp... | DOC: The description of ·n_gpu_layers· in https://python.langchain.com/docs/integrations/llms/llamacpp#metal is incorrect | https://api.github.com/repos/langchain-ai/langchain/issues/16502/comments | 3 | 2024-01-24T11:03:16Z | 2024-06-08T16:09:20Z | https://github.com/langchain-ai/langchain/issues/16502 | 2,098,016,823 | 16,502 |
[
"hwchase17",
"langchain"
] | ### Feature request
https://www.assemblyai.com/products/lemur
Adding support for lemur endpoints as we already do have AAI integration
### Motivation
Helpful for folks with a paid AAI plan and are using lemur to migrate the codebase to langchain
### Your contribution
Perhaps. | Add support for Assembly AI Lemur | https://api.github.com/repos/langchain-ai/langchain/issues/16496/comments | 1 | 2024-01-24T06:44:02Z | 2024-05-01T16:07:09Z | https://github.com/langchain-ai/langchain/issues/16496 | 2,097,539,943 | 16,496 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain.agents.agent_toolkits import create_con... | FunctionMessage['content'] is different between v==0.1.0 and v>=0.1.1; which is the correct one? | https://api.github.com/repos/langchain-ai/langchain/issues/16493/comments | 1 | 2024-01-24T05:25:36Z | 2024-05-05T16:06:32Z | https://github.com/langchain-ai/langchain/issues/16493 | 2,097,453,960 | 16,493 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
import sqlalchemy as sal
import os, sys, openai
import pandas as... | fetching inaccurate answers from the database | https://api.github.com/repos/langchain-ai/langchain/issues/16491/comments | 13 | 2024-01-24T05:09:25Z | 2024-05-01T16:06:59Z | https://github.com/langchain-ai/langchain/issues/16491 | 2,097,440,450 | 16,491 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
`<html>
<body>
<!--StartFragment-->
agent_executor = create_sql_... | How to return SQL query only in create_sql_agent to avoid latency because of high completion tokens? | https://api.github.com/repos/langchain-ai/langchain/issues/16489/comments | 9 | 2024-01-24T04:29:10Z | 2024-05-01T16:06:53Z | https://github.com/langchain-ai/langchain/issues/16489 | 2,097,406,827 | 16,489 |
[
"hwchase17",
"langchain"
] | ### Feature request
UnstructuredFileLoader currently only supports local files and the host Unstructured API. This request is to expand the loader ingest capabilities in the Python library by adding options for S3 (streaming) and a bytearray.
### Motivation
Running in environments like Kubernetes, it is incon... | UnstructuredFileLoader support for S3 and bytearray | https://api.github.com/repos/langchain-ai/langchain/issues/16488/comments | 1 | 2024-01-24T02:49:00Z | 2024-05-01T16:06:49Z | https://github.com/langchain-ai/langchain/issues/16488 | 2,097,319,644 | 16,488 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain_community.utilities import SQLDatabase
from la... | Using create_sql_query_chain get Nonetype error but LLMChain can generate correctly | https://api.github.com/repos/langchain-ai/langchain/issues/16484/comments | 1 | 2024-01-24T01:54:32Z | 2024-05-01T16:06:43Z | https://github.com/langchain-ai/langchain/issues/16484 | 2,097,277,679 | 16,484 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
calling `_prepare_range_query` with both a filter and distance_thre... | Using both filter and distance_threshold generate an `Invalid attribute yield_distance_as` | https://api.github.com/repos/langchain-ai/langchain/issues/16476/comments | 4 | 2024-01-23T19:48:56Z | 2024-06-08T16:09:15Z | https://github.com/langchain-ai/langchain/issues/16476 | 2,096,865,560 | 16,476 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
LangChain follows a monorepo architecture. It's difficult to see from the releases which packages were released, and which PRs went into them. https://github.com/langchai... | CI: Draft more readable release drafts that are broken down by package | https://api.github.com/repos/langchain-ai/langchain/issues/16471/comments | 1 | 2024-01-23T19:12:40Z | 2024-04-30T16:26:48Z | https://github.com/langchain-ai/langchain/issues/16471 | 2,096,805,196 | 16,471 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
db = DeepLake(dataset_path=dataset_path, embedding=embeddings)... | ValueError: Missing some input keys: {'inputs'} | https://api.github.com/repos/langchain-ai/langchain/issues/16465/comments | 2 | 2024-01-23T17:54:05Z | 2024-01-23T18:35:37Z | https://github.com/langchain-ai/langchain/issues/16465 | 2,096,652,486 | 16,465 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Runnable Parallel is poorly documented right now and it's one of the most important constructs in LCEL. https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/runnables/base.py#L2453-L2453
### Idea or request for content:
Add documentation to Runnable... | DOC: Add in code documentation to RunnableParallel | https://api.github.com/repos/langchain-ai/langchain/issues/16462/comments | 1 | 2024-01-23T17:06:17Z | 2024-01-26T15:03:55Z | https://github.com/langchain-ai/langchain/issues/16462 | 2,096,565,174 | 16,462 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The below code does not print anything when the `test_tool` is run.... | Custom Callback handler doesn't run for `on_tool_start` or `on_tool_end` | https://api.github.com/repos/langchain-ai/langchain/issues/16461/comments | 2 | 2024-01-23T16:50:04Z | 2024-01-23T17:12:03Z | https://github.com/langchain-ai/langchain/issues/16461 | 2,096,528,091 | 16,461 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
SAMPLE_JSON_OUTPUT_FROM_LLM_1:str = json.dumps(... | JsonOutputParser does not throw exception on invalid json | https://api.github.com/repos/langchain-ai/langchain/issues/16458/comments | 6 | 2024-01-23T16:02:26Z | 2024-04-30T16:28:05Z | https://github.com/langchain-ai/langchain/issues/16458 | 2,096,421,313 | 16,458 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
I my ReAct agent, I'm trying to call a tool, that is defined as the... | ValidationError field required (type=value_error.missing) while using react agent | https://api.github.com/repos/langchain-ai/langchain/issues/16456/comments | 3 | 2024-01-23T15:51:48Z | 2024-03-03T11:28:30Z | https://github.com/langchain-ai/langchain/issues/16456 | 2,096,399,198 | 16,456 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The correct type for group_id is Integer.
### Description
The cur... | A bad schema in SQLRecordManager generates an exception when def index() with cleanup="incremental". | https://api.github.com/repos/langchain-ai/langchain/issues/16451/comments | 2 | 2024-01-23T13:43:07Z | 2024-04-30T16:22:03Z | https://github.com/langchain-ai/langchain/issues/16451 | 2,096,124,684 | 16,451 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain.chains import LLMChain
from la... | ConversationBufferMemory does not work | https://api.github.com/repos/langchain-ai/langchain/issues/16448/comments | 9 | 2024-01-23T12:14:31Z | 2024-01-24T12:49:58Z | https://github.com/langchain-ai/langchain/issues/16448 | 2,095,956,356 | 16,448 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am using BM25 retriever from langchain.
After building the retriever from documents, how do I get score for relevant document for a query?
Retriever = BM25Retriever.from_documents(...)
result = retriever.get_relevant_documents("foo")
### Motivation
The documentation is not good with detail... | BM25 langchain retriever should have similarity score | https://api.github.com/repos/langchain-ai/langchain/issues/16445/comments | 6 | 2024-01-23T11:47:53Z | 2024-05-13T16:09:56Z | https://github.com/langchain-ai/langchain/issues/16445 | 2,095,906,630 | 16,445 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
embeddings = HuggingFaceInferenceAPIEmbeddings(
a... | HuggingFaceInferenceAPIEmbeddings getting 413 request code because of not batching mechanism like SentenceTransformer | https://api.github.com/repos/langchain-ai/langchain/issues/16443/comments | 1 | 2024-01-23T11:14:55Z | 2024-04-30T16:22:03Z | https://github.com/langchain-ai/langchain/issues/16443 | 2,095,842,833 | 16,443 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The following code can be used to reproduce the problem:
```
from... | LocalAIEmbeddings not compatible with openai > 1.6.x | https://api.github.com/repos/langchain-ai/langchain/issues/16442/comments | 1 | 2024-01-23T10:56:53Z | 2024-04-30T16:22:00Z | https://github.com/langchain-ai/langchain/issues/16442 | 2,095,809,240 | 16,442 |
[
"hwchase17",
"langchain"
] | ### Feature request
add an additional try block to function `merge_dicts` in `langchain_core.utils._merge` and makes function more robust:
original:
```python
def merge_dicts(left: Dict[str, Any], right: Dict[str, Any]) -> Dict[str, Any]:
merged = left.copy()
for k, v in right.items():
if k not... | ADD A TRY BLOCK TO `merge_dicts` | https://api.github.com/repos/langchain-ai/langchain/issues/16441/comments | 4 | 2024-01-23T10:53:48Z | 2024-04-11T02:29:03Z | https://github.com/langchain-ai/langchain/issues/16441 | 2,095,801,586 | 16,441 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
# cat test_issue.py
from langchain.schema impor... | Azure OpenAI deprecation LangChainDeprecationWarning (the function `__call__`) ? | https://api.github.com/repos/langchain-ai/langchain/issues/16438/comments | 4 | 2024-01-23T10:29:30Z | 2024-05-13T16:09:27Z | https://github.com/langchain-ai/langchain/issues/16438 | 2,095,755,355 | 16,438 |
[
"hwchase17",
"langchain"
] | ### Feature request
CSVAgent currently uses the same CSV file for schema to generate the query and data for executing it to generate results. The proposal is to separate these two files, say a smaller one for generation and larger one for execution.
### Motivation
The size of the CSV impacts generation of the query.... | CSVAgent with different CSV files for schema and data | https://api.github.com/repos/langchain-ai/langchain/issues/16434/comments | 3 | 2024-01-23T07:38:46Z | 2024-04-30T16:13:23Z | https://github.com/langchain-ai/langchain/issues/16434 | 2,095,439,843 | 16,434 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
I set up a chain and parser like following:
```
class Ticket(Ba... | Tracing in langsmith not working for LLMChan | https://api.github.com/repos/langchain-ai/langchain/issues/16429/comments | 4 | 2024-01-23T07:20:28Z | 2024-06-19T16:06:48Z | https://github.com/langchain-ai/langchain/issues/16429 | 2,095,414,309 | 16,429 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
def custom_length_function(text):
return len(tokenizer.encode(... | I can't split document by token (CharacterTextSplitter.from_huggingface_tokenizer) | https://api.github.com/repos/langchain-ai/langchain/issues/16427/comments | 1 | 2024-01-23T06:42:11Z | 2024-04-30T16:13:27Z | https://github.com/langchain-ai/langchain/issues/16427 | 2,095,349,082 | 16,427 |
[
"hwchase17",
"langchain"
] | ### Feature request
Using your simple example to parse astream_events, the issue is that is a tool has return_direct=True, the output is not shown -- you can only intercept it "on_tool_end", but event has no indication that output is return_direct.
### Motivation
This will help show those outputs as regular text in ... | Add indication of return_direct tools in asteam_events | https://api.github.com/repos/langchain-ai/langchain/issues/16425/comments | 3 | 2024-01-23T05:00:48Z | 2024-04-30T16:26:39Z | https://github.com/langchain-ai/langchain/issues/16425 | 2,095,245,386 | 16,425 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
Below is a chain that uses JsonOutputParser. Final result can be streamed with openai. When using anthropic, it is only available once the full response finishes streamin... | JsonOutputParser Streaming works with ChatOpenAI but not ChatAnthropic | https://api.github.com/repos/langchain-ai/langchain/issues/16423/comments | 2 | 2024-01-23T04:04:13Z | 2024-02-05T21:32:17Z | https://github.com/langchain-ai/langchain/issues/16423 | 2,095,197,510 | 16,423 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain_community.llms import Tongyi
import ... | use qwen to create agent TypeError: Additional kwargs key output_tokens already exists in left dict and value has unsupported type <class 'int'>. | https://api.github.com/repos/langchain-ai/langchain/issues/16422/comments | 4 | 2024-01-23T03:56:38Z | 2024-02-29T03:25:22Z | https://github.com/langchain-ai/langchain/issues/16422 | 2,095,191,993 | 16,422 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain_community.retrievers import (
Google... | Different output from GoogleVertexAISearchRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/16416/comments | 1 | 2024-01-23T00:11:20Z | 2024-04-30T16:13:23Z | https://github.com/langchain-ai/langchain/issues/16416 | 2,095,003,117 | 16,416 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
I adapted the example for MultiQueryRetrieval to use a local ollama... | MultiQueryRetriever with Ollama: ValueError: Expected each embedding in the embeddings to be a list, got [None] | https://api.github.com/repos/langchain-ai/langchain/issues/16415/comments | 3 | 2024-01-22T23:39:40Z | 2024-05-10T06:52:03Z | https://github.com/langchain-ai/langchain/issues/16415 | 2,094,973,143 | 16,415 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to learn how to modify the ingest.py to load multiple text file and include their source url.
### Motivation
Currently only one file is indexed.
### Your contribution
I know well Neo4J, LangChain but not LangServe. I can help once I get the concept.
@efriis and @tomaso... | neo4j-advanced-rag multiple documents | https://api.github.com/repos/langchain-ai/langchain/issues/16412/comments | 8 | 2024-01-22T22:51:33Z | 2024-04-30T16:29:30Z | https://github.com/langchain-ai/langchain/issues/16412 | 2,094,912,530 | 16,412 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
class CustomLLM(LLM):
n: int
@proper... | AttributeError: module 'langchain' has no attribute 'debug' | https://api.github.com/repos/langchain-ai/langchain/issues/16406/comments | 2 | 2024-01-22T21:12:09Z | 2024-04-29T16:15:51Z | https://github.com/langchain-ai/langchain/issues/16406 | 2,094,760,471 | 16,406 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
Impossible to access `system_fingerprint` from OpenAI responses.
see: https://github.com/langchain-ai/langchain/discussions/13170#discussioncomment-8211745 | Expose complete response metadata from chat model via .invoke/.batch/.stream | https://api.github.com/repos/langchain-ai/langchain/issues/16403/comments | 4 | 2024-01-22T19:45:53Z | 2024-06-23T16:09:30Z | https://github.com/langchain-ai/langchain/issues/16403 | 2,094,630,738 | 16,403 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
Same as #16295 for `@beta` decorator | preserve inspect.iscoroutinefunction with @beta decorator | https://api.github.com/repos/langchain-ai/langchain/issues/16402/comments | 2 | 2024-01-22T19:35:07Z | 2024-01-31T19:15:39Z | https://github.com/langchain-ai/langchain/issues/16402 | 2,094,615,439 | 16,402 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
OpenAI function-calling doesn't support function names with spaces. Need to update all Tool names to be snake_cased so that they work as OpenAI functions by default. See ... | Make all Tool names snake_case | https://api.github.com/repos/langchain-ai/langchain/issues/16396/comments | 1 | 2024-01-22T18:12:45Z | 2024-01-26T22:10:10Z | https://github.com/langchain-ai/langchain/issues/16396 | 2,094,478,715 | 16,396 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
# Define the path to the directory containing the PDF files (e... | Creating embeds from bedrock | https://api.github.com/repos/langchain-ai/langchain/issues/16394/comments | 1 | 2024-01-22T18:04:37Z | 2024-04-30T16:13:20Z | https://github.com/langchain-ai/langchain/issues/16394 | 2,094,466,192 | 16,394 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain.callbacks.streaming_stdout import Streaming... | Streaming broken for GPT4all | https://api.github.com/repos/langchain-ai/langchain/issues/16389/comments | 2 | 2024-01-22T17:07:32Z | 2024-01-22T17:54:20Z | https://github.com/langchain-ai/langchain/issues/16389 | 2,094,367,590 | 16,389 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
@chain
def answer_call(Any) -> Any:
if read_persist_var("chat... | I can't get only ai answer via RunnableWithMessageHistory ( it always come with context= ) | https://api.github.com/repos/langchain-ai/langchain/issues/16386/comments | 2 | 2024-01-22T16:44:24Z | 2024-01-24T13:28:16Z | https://github.com/langchain-ai/langchain/issues/16386 | 2,094,318,035 | 16,386 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
Callback propagation is failing when creating a tool from .invoke signatures:
https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/tools.py#L... | Create on-ramp for tools from runnables | https://api.github.com/repos/langchain-ai/langchain/issues/16381/comments | 1 | 2024-01-22T16:16:52Z | 2024-04-30T16:13:20Z | https://github.com/langchain-ai/langchain/issues/16381 | 2,094,267,590 | 16,381 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/callbacks/#when-do-you-want-to-use-each-of-these
### Idea or request for content:
Document how to pass callbacks via .invoke | DOC: Document how to pass callbacks with Runnable methods (e.g., .invoke / .batch) | https://api.github.com/repos/langchain-ai/langchain/issues/16379/comments | 1 | 2024-01-22T16:07:04Z | 2024-04-30T16:15:00Z | https://github.com/langchain-ai/langchain/issues/16379 | 2,094,249,309 | 16,379 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
tools = [get_news, solve_math_problem]
agent = ZeroSh... | early_stopping_method parameter of AgentExecutor doesn’t work in expected way | https://api.github.com/repos/langchain-ai/langchain/issues/16374/comments | 4 | 2024-01-22T15:04:11Z | 2024-02-05T15:16:17Z | https://github.com/langchain-ai/langchain/issues/16374 | 2,094,121,411 | 16,374 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The following code
'''
from langchain.agents import creat... | 'Bing Search Results JSON' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'functions.0.name' with new langchain 0.1 when using BingSearchResults into agent | https://api.github.com/repos/langchain-ai/langchain/issues/16368/comments | 19 | 2024-01-22T12:38:20Z | 2024-01-25T08:19:17Z | https://github.com/langchain-ai/langchain/issues/16368 | 2,093,826,511 | 16,368 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
below is my code:
elif any(file_path.lower().endswit... | getting error while using UnstructuredImageLoader | https://api.github.com/repos/langchain-ai/langchain/issues/16366/comments | 2 | 2024-01-22T11:52:25Z | 2024-01-22T17:51:28Z | https://github.com/langchain-ai/langchain/issues/16366 | 2,093,742,868 | 16,366 |
[
"hwchase17",
"langchain"
] | ### Feature request
I have different chains such as vectorchain,graphchain & customchain .
i have created rule-based system. when user write query it should pass to agent & know which llchain should we need to select out of all chain.
### Motivation
im building rag app for production.i cant use openai so l... | Calling different LLMchains into agent for opensource models such as mistral lama etc | https://api.github.com/repos/langchain-ai/langchain/issues/16364/comments | 1 | 2024-01-22T11:39:47Z | 2024-04-30T16:21:54Z | https://github.com/langchain-ai/langchain/issues/16364 | 2,093,720,478 | 16,364 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
below is my code
```
elif file_path.lower().endswith(".docx") or file_path.lower().endswith(".doc"):
docx_loader = UnstructuredWordDocumentLoader(file_path, mode="elements")
docx_document = docx_loader.load()
text_splitter = Recurs... | getting error while integrating UnstructuredWordDocumentLoader | https://api.github.com/repos/langchain-ai/langchain/issues/16363/comments | 2 | 2024-01-22T11:25:29Z | 2024-01-22T17:52:47Z | https://github.com/langchain-ai/langchain/issues/16363 | 2,093,695,219 | 16,363 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
For the docs [Web scraping](https://python.langchain.com/docs/use_cases/web_scraping).
The below examples mapped shows "Page Not Found" Error
1. [AsyncHtmlLoader](https://python.langchain.com/docs/use_cases/docs/integrations/document_loaders/async_html)
2. [AsyncChromiumLoad... | Mismatch in Mapping Notebook URLs in Web scraping Docs | https://api.github.com/repos/langchain-ai/langchain/issues/16361/comments | 1 | 2024-01-22T11:15:31Z | 2024-01-22T17:43:17Z | https://github.com/langchain-ai/langchain/issues/16361 | 2,093,677,375 | 16,361 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
prompt_template = """Use the following pieces of conte... | How to use RetrievalQAWithSourcesChain with a custom prompt | https://api.github.com/repos/langchain-ai/langchain/issues/16356/comments | 2 | 2024-01-22T09:33:44Z | 2024-05-15T16:07:01Z | https://github.com/langchain-ai/langchain/issues/16356 | 2,093,482,579 | 16,356 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The following code:
'''
from langchain.agents.output_par... | 'Response is not a valid tool, try one of [Retriever].'), when using OpenAIFunctionsAgentOutputParser() | https://api.github.com/repos/langchain-ai/langchain/issues/16355/comments | 4 | 2024-01-22T09:29:42Z | 2024-05-02T16:05:54Z | https://github.com/langchain-ai/langchain/issues/16355 | 2,093,473,398 | 16,355 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
ask_chain = generate_ask_chain()
ner_chain = generate_ner_chain(... | AttributeError: 'dict' object has no attribute 'content' | https://api.github.com/repos/langchain-ai/langchain/issues/16354/comments | 4 | 2024-01-22T09:14:19Z | 2024-04-30T16:30:28Z | https://github.com/langchain-ai/langchain/issues/16354 | 2,093,434,497 | 16,354 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
import os
from langchain_community.chat_models import... | Using QianfanChatEndpoint with stream enabled only returns two chunk of messages. Disable stream and using invoke does not have this problem | https://api.github.com/repos/langchain-ai/langchain/issues/16352/comments | 4 | 2024-01-22T08:09:03Z | 2024-05-10T16:09:00Z | https://github.com/langchain-ai/langchain/issues/16352 | 2,093,323,353 | 16,352 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
This code works with langchain 0.1.0 and Azure Search Documents 11.... | ImportError: cannot import name 'Vector' from 'azure.search.documents.models' | https://api.github.com/repos/langchain-ai/langchain/issues/16351/comments | 2 | 2024-01-22T06:55:27Z | 2024-01-22T09:27:46Z | https://github.com/langchain-ai/langchain/issues/16351 | 2,093,219,400 | 16,351 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
test_template = """Rephrase the query and output in json... | can't initialize the PromptTemplate with input_variables correctly | https://api.github.com/repos/langchain-ai/langchain/issues/16349/comments | 1 | 2024-01-22T05:51:46Z | 2024-01-22T16:20:16Z | https://github.com/langchain-ai/langchain/issues/16349 | 2,093,140,496 | 16,349 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
import os
import qdrant_client
from dotenv import load_dotenv
from langchain.chains import RetrievalQA
from langchain.vectorstores import Qdrant
from langchain_community.chat_models import ChatOpenAI
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
from l... | Why can't I retrieve the prompt I set for the OpenAI prompt engine? Additionally, how can I incorporate memory so that OpenAI can remember what I say during conversations? | https://api.github.com/repos/langchain-ai/langchain/issues/16345/comments | 1 | 2024-01-22T01:43:36Z | 2024-04-29T16:12:11Z | https://github.com/langchain-ai/langchain/issues/16345 | 2,092,912,993 | 16,345 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
A simplified example pulled almost straight from [here](https://pyt... | Header value is too long error when using AsyncHtmlLoader | https://api.github.com/repos/langchain-ai/langchain/issues/16343/comments | 3 | 2024-01-21T18:18:14Z | 2024-04-28T16:17:59Z | https://github.com/langchain-ai/langchain/issues/16343 | 2,092,704,220 | 16,343 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
I'm attempting to use RAG-Fusion with retriever as OpenSearchRetrie... | 'OpenSearchRetriever' object has no attribute 'map' | https://api.github.com/repos/langchain-ai/langchain/issues/16342/comments | 1 | 2024-01-21T17:38:31Z | 2024-01-22T15:19:30Z | https://github.com/langchain-ai/langchain/issues/16342 | 2,092,686,610 | 16,342 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
When I try to create a Gemini model using the built-in tools as fol... | When using the FunctionCalling feature with Gemini, built-in tools cannot be utilized. | https://api.github.com/repos/langchain-ai/langchain/issues/16340/comments | 1 | 2024-01-21T13:21:26Z | 2024-04-28T16:21:10Z | https://github.com/langchain-ai/langchain/issues/16340 | 2,092,583,872 | 16,340 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
``` Python
# Creating Embdeddings of the sentences and sto... | Seeking Assistance: Incompatibility of Vector Index Model and Embedding Function Dimensions in Neo4j | https://api.github.com/repos/langchain-ai/langchain/issues/16336/comments | 2 | 2024-01-21T10:01:30Z | 2024-04-30T16:19:37Z | https://github.com/langchain-ai/langchain/issues/16336 | 2,092,511,069 | 16,336 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
-
### Description
https://github.com/langchain-ai/langchain/blob/... | Is `llm.bind(stop=["\nObservation"])` really meanful in `json_chat` agnet? | https://api.github.com/repos/langchain-ai/langchain/issues/16334/comments | 6 | 2024-01-21T08:39:34Z | 2024-04-07T15:16:42Z | https://github.com/langchain-ai/langchain/issues/16334 | 2,092,484,424 | 16,334 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
I am trying to follow along with the examples at
https://python.la... | SQL examples from cookbook and use_cases/qa_structured don't work for me? | https://api.github.com/repos/langchain-ai/langchain/issues/16331/comments | 2 | 2024-01-21T03:08:09Z | 2024-04-28T18:13:33Z | https://github.com/langchain-ai/langchain/issues/16331 | 2,092,399,367 | 16,331 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain_community.chat_models import ChatZhipuAI
... | community:ChatZhipuAI is currently not working well because the zhipuai library has been upgraded to 2.0.1 | https://api.github.com/repos/langchain-ai/langchain/issues/16330/comments | 2 | 2024-01-21T02:59:19Z | 2024-04-28T16:22:24Z | https://github.com/langchain-ai/langchain/issues/16330 | 2,092,390,036 | 16,330 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The following code initializes the chatbot instance using C... | return_source_documents does not work for ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/16323/comments | 4 | 2024-01-21T00:14:07Z | 2024-01-21T02:15:01Z | https://github.com/langchain-ai/langchain/issues/16323 | 2,092,284,846 | 16,323 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi I am building a chatbot that uses Vectordb to return the most up-to-date news.
how can I set the chain to retrieve the k documents vectors sorted by publish_date which is populated as a metadata field?
Here is how I define the chain:
` self.chain = RetrievalQAWithSourcesChain.from_ch... | Sort document option using RetrievalQAWithSourcesChain | https://api.github.com/repos/langchain-ai/langchain/issues/16320/comments | 3 | 2024-01-20T21:44:51Z | 2024-04-30T16:19:40Z | https://github.com/langchain-ai/langchain/issues/16320 | 2,092,250,536 | 16,320 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/use_cases/graph/graph_falkordb_qa
Could you please provide the logic to Visualize the Graph created using FalkorDB in the documentation. For example llamaindex has specified the below code for visualizing the graph:
```
## create graph
from ... | How to Visualize the Graph created using FalkorDB ? | https://api.github.com/repos/langchain-ai/langchain/issues/16319/comments | 5 | 2024-01-20T19:23:01Z | 2024-05-01T16:06:34Z | https://github.com/langchain-ai/langchain/issues/16319 | 2,092,211,785 | 16,319 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the LangChain documentation about SQL use cases, there seems to be an error with the import statement. The class 'create_retriever_tool' does not exist as specified. According to my understanding, the proper usage might require specifying extra_tools as a parameter when calling... | DOC: cannot import name 'create_retriever_tool' from 'langchain_community.agent_toolkits' | https://api.github.com/repos/langchain-ai/langchain/issues/16317/comments | 4 | 2024-01-20T17:29:24Z | 2024-04-30T16:13:16Z | https://github.com/langchain-ai/langchain/issues/16317 | 2,092,170,271 | 16,317 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
Here is my issue in brief '''
``` Python
import os
poppler_... | PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH? | https://api.github.com/repos/langchain-ai/langchain/issues/16315/comments | 1 | 2024-01-20T15:11:07Z | 2024-04-27T16:24:14Z | https://github.com/langchain-ai/langchain/issues/16315 | 2,092,088,912 | 16,315 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
from langchain_openai.chat_models import ChatOpenAI
chat = ChatO... | using ChatOpenAI gives an error AttributeError: module 'openai' has no attribute 'OpenAI' | https://api.github.com/repos/langchain-ai/langchain/issues/16314/comments | 5 | 2024-01-20T12:02:30Z | 2024-05-22T22:08:15Z | https://github.com/langchain-ai/langchain/issues/16314 | 2,092,028,686 | 16,314 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
from langchain.llms import OpenAI
from langchain.agents im... | NotImplementedError: Need to determine which default deprecation schedule to use. within ?? minor releases | https://api.github.com/repos/langchain-ai/langchain/issues/16312/comments | 6 | 2024-01-20T10:59:07Z | 2024-07-01T08:01:13Z | https://github.com/langchain-ai/langchain/issues/16312 | 2,092,010,443 | 16,312 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
is there any way to have my open ai tool parameters as mandatory and optional for a dynamic structured tool
```javascript
const structuredTool2 = new DynamicStructuredTool({
name: "get_order_update",
description: "Get the update on a given order id and otp and return ... | Improved docs on creating custom tools for an agent | https://api.github.com/repos/langchain-ai/langchain/issues/16310/comments | 1 | 2024-01-20T09:46:10Z | 2024-04-27T16:24:39Z | https://github.com/langchain-ai/langchain/issues/16310 | 2,091,988,971 | 16,310 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
While initializing GooglePalm LLM encountering the below Not Imple... | GooglePalm - NotImplementedError: Need to determine which default deprecation schedule to use. within ?? minor releases | https://api.github.com/repos/langchain-ai/langchain/issues/16308/comments | 2 | 2024-01-20T05:42:39Z | 2024-05-03T16:06:05Z | https://github.com/langchain-ai/langchain/issues/16308 | 2,091,911,843 | 16,308 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
All the chat model responses inheriting `BaseModel` are converted i... | upgrade to pydantic v2 | https://api.github.com/repos/langchain-ai/langchain/issues/16306/comments | 5 | 2024-01-20T05:00:06Z | 2024-06-11T17:17:54Z | https://github.com/langchain-ai/langchain/issues/16306 | 2,091,895,669 | 16,306 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
###Oracle DB Connection - Enable for Oracle DB
DIALECT = 'ora... | SQL Agent is unable to recognize the tables and its schema when connected to a Oracle DB. | https://api.github.com/repos/langchain-ai/langchain/issues/16294/comments | 2 | 2024-01-19T20:47:10Z | 2024-04-27T16:33:47Z | https://github.com/langchain-ai/langchain/issues/16294 | 2,091,393,967 | 16,294 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain.schema import HumanMessage, AIMes... | Gemini integration fails when a list of messages starting with AIMessage is given as input | https://api.github.com/repos/langchain-ai/langchain/issues/16288/comments | 6 | 2024-01-19T17:33:40Z | 2024-04-27T16:39:43Z | https://github.com/langchain-ai/langchain/issues/16288 | 2,090,986,643 | 16,288 |
[
"hwchase17",
"langchain"
] | ### Privileged issue
- [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
### Issue Content
At the moment, RunnableEach is missing implementations of streaming methods.
https://github.com/langchain-ai/langchain/blob/e5445c3890cc8a57250817c61de796e1a1dcc... | Add stream/astream_log/astream_events to RunnableEach implementation | https://api.github.com/repos/langchain-ai/langchain/issues/16281/comments | 2 | 2024-01-19T15:45:18Z | 2024-05-30T16:03:58Z | https://github.com/langchain-ai/langchain/issues/16281 | 2,090,812,547 | 16,281 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
'''
results = bm25_retriever.get_relevant_documents(search_key)
'... | BM25 Retriever: get_relevant_documents() returns wrong results | https://api.github.com/repos/langchain-ai/langchain/issues/16274/comments | 1 | 2024-01-19T14:23:41Z | 2024-04-26T16:23:27Z | https://github.com/langchain-ai/langchain/issues/16274 | 2,090,674,295 | 16,274 |
[
"hwchase17",
"langchain"
] | ### Feature request
Explore these Neo4j resources for enhanced insights:
[Indexes for Vector Search](https://neo4j.com/docs/cypher-manual/current/indexes-for-vector-search/)
[Query Tuning and Indexes](https://neo4j.com/docs/cypher-manual/current/planning-and-tuning/query-tuning/indexes/)
[Neo4j LangChain Vector I... | Feature Request - Explicit Creation of Vector Index with Custom Embedding Configuration in Neo4j Graph DB | https://api.github.com/repos/langchain-ai/langchain/issues/16272/comments | 1 | 2024-01-19T13:38:40Z | 2024-04-26T16:36:21Z | https://github.com/langchain-ai/langchain/issues/16272 | 2,090,595,505 | 16,272 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain.chains.question_answering import load_q... | Missing messages in _load_chat_prompt function.Only the first message in the prompt is loaded. | https://api.github.com/repos/langchain-ai/langchain/issues/16271/comments | 1 | 2024-01-19T12:50:24Z | 2024-04-26T16:25:43Z | https://github.com/langchain-ai/langchain/issues/16271 | 2,090,489,647 | 16,271 |
[
"hwchase17",
"langchain"
] | i am also facing same issue. Now since openai has updated it's API hence i need to use openai==1.7.1 and langchain ==0.1.0.
because of this not able to pickle to local.

Do we have issue with store = FAISS.from_... | RetrievalQA and AzureOpenAIEmbeddings lead to TypeError: cannot pickle '_thread.lock' object | https://api.github.com/repos/langchain-ai/langchain/issues/16267/comments | 2 | 2024-01-19T11:24:19Z | 2024-07-07T16:07:06Z | https://github.com/langchain-ai/langchain/issues/16267 | 2,090,325,924 | 16,267 |
[
"hwchase17",
"langchain"
] | 
I am using langchain==0.1.1 and openai==1.8.0 and using all latest module of langchain. | Retrieval chain is giving response in some words only why? | https://api.github.com/repos/langchain-ai/langchain/issues/16266/comments | 1 | 2024-01-19T11:19:33Z | 2024-04-26T16:34:58Z | https://github.com/langchain-ai/langchain/issues/16266 | 2,090,315,840 | 16,266 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
There seems to be no documentation for the AgentExecutor.invoke() method, where I would expect to see the API call code. This is of crucial importance from a compliance perspective. Could you please provide documentation for API calls that reside inside your wrappers like langchai... | DOC: No documentation for OpenAI or AzureOpenAI API calls | https://api.github.com/repos/langchain-ai/langchain/issues/16265/comments | 1 | 2024-01-19T11:12:47Z | 2024-04-30T16:23:07Z | https://github.com/langchain-ai/langchain/issues/16265 | 2,090,301,728 | 16,265 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
The following code:
```python
agent_system = create_openai_tool... | Unsupported early_stopping_method="generate" in AgentExecutor after reaching iteration limit | https://api.github.com/repos/langchain-ai/langchain/issues/16263/comments | 8 | 2024-01-19T10:01:50Z | 2024-06-17T15:22:17Z | https://github.com/langchain-ai/langchain/issues/16263 | 2,090,142,455 | 16,263 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
My code looks as follows
```
### Example Code
from datetime import datet... | Trying to create VectorStoreRetrieverMemory causes an error | https://api.github.com/repos/langchain-ai/langchain/issues/16261/comments | 3 | 2024-01-19T09:39:30Z | 2024-06-01T00:19:28Z | https://github.com/langchain-ai/langchain/issues/16261 | 2,090,092,244 | 16,261 |
[
"hwchase17",
"langchain"
] | I have created a RetrievalQA Chain, but facing an issue. When calling the Chain, I get the following error: `ValueError: Missing some input keys: {'query', 'typescript_string'} `
My code looks as follows:
```
from langchain_community.embeddings import HuggingFaceEmbeddings
embeddings = HuggingFaceEmbeddings(m... | RetrievalQA Prompt Error: Missing some input keys | https://api.github.com/repos/langchain-ai/langchain/issues/16260/comments | 1 | 2024-01-19T09:18:58Z | 2024-04-26T16:32:23Z | https://github.com/langchain-ai/langchain/issues/16260 | 2,090,048,016 | 16,260 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
persist_directory = './chroma.db'
chroma_setting = Settings(anonym... | When configuring with `chroma_setting=Settings(anonymized_telemetry=False)`, the `Chroma.from_documents(persist_directory="./chroma.db")` parameter is not taking effect. | https://api.github.com/repos/langchain-ai/langchain/issues/16259/comments | 1 | 2024-01-19T08:17:25Z | 2024-04-26T16:27:52Z | https://github.com/langchain-ai/langchain/issues/16259 | 2,089,917,914 | 16,259 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain.chains.summarize import load_summarize_chain
f... | load_summarize_chain hits infinite loop due to small token_max | https://api.github.com/repos/langchain-ai/langchain/issues/16251/comments | 1 | 2024-01-19T04:26:13Z | 2024-02-15T16:35:45Z | https://github.com/langchain-ai/langchain/issues/16251 | 2,089,559,781 | 16,251 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
Is there a way to add multiple tables from different databases and ... | How to add multiple tables from two different databases and schema using SQLDatabase? | https://api.github.com/repos/langchain-ai/langchain/issues/16249/comments | 5 | 2024-01-19T04:19:12Z | 2024-05-17T01:39:04Z | https://github.com/langchain-ai/langchain/issues/16249 | 2,089,552,752 | 16,249 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
import os
import qdrant_client
from dotenv import load_dotenv
from langchain.chains import RetrievalQA
from langchain.embeddings.huggingface import HuggingFaceInstructEmbeddings
from langchain.llms import OpenAI
from langchain.vectorstores import Qdrant
from langchain_core.... | Why can't I add a prompt for personality anymore? | https://api.github.com/repos/langchain-ai/langchain/issues/16247/comments | 1 | 2024-01-19T02:18:54Z | 2024-04-26T16:25:38Z | https://github.com/langchain-ai/langchain/issues/16247 | 2,089,420,863 | 16,247 |
[
"hwchase17",
"langchain"
] | ### Feature request
HI! Whether the current langchain framework can be implemented on mobile, because considering the current computing power of the server is not so sufficient.We can use the computing power of our phones as well.
In addition, the deployment on the mobile phone will pay more attention to the user's p... | Implementation of langchain based on mobile terminal | https://api.github.com/repos/langchain-ai/langchain/issues/16245/comments | 2 | 2024-01-19T01:22:51Z | 2024-04-07T02:19:05Z | https://github.com/langchain-ai/langchain/issues/16245 | 2,089,379,273 | 16,245 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
Setting up our agent with this memory/prompt:
```
chat_history = ... | One output key expected when using astream_log and ConversationBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/16242/comments | 2 | 2024-01-19T00:28:12Z | 2024-01-20T22:53:28Z | https://github.com/langchain-ai/langchain/issues/16242 | 2,089,337,165 | 16,242 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The URL that is linked on these pages:
https://blog.langchain.dev/automating-web-research/
https://python.langchain.com/docs/use_cases/web_scraping#research-automation
is
https://python.langchain.com/docs/modules/data_connection/retrievers/web_research
but that URL retu... | DOC: web_research docs showing "Page not found" | https://api.github.com/repos/langchain-ai/langchain/issues/16241/comments | 1 | 2024-01-19T00:01:55Z | 2024-04-26T16:25:35Z | https://github.com/langchain-ai/langchain/issues/16241 | 2,089,311,393 | 16,241 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
Here is a simple implementation running meta's llama2 in langchain:... | HuggingFaceHub removes leading characters of text-generation | https://api.github.com/repos/langchain-ai/langchain/issues/16232/comments | 1 | 2024-01-18T21:11:10Z | 2024-01-19T14:10:48Z | https://github.com/langchain-ai/langchain/issues/16232 | 2,089,055,329 | 16,232 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
When I provide and prompt like this :
``` python prompt_profile_de... | Appalling performances when using ChatOpenAI and ChatMistralAI | https://api.github.com/repos/langchain-ai/langchain/issues/16228/comments | 1 | 2024-01-18T20:33:35Z | 2024-01-18T21:04:45Z | https://github.com/langchain-ai/langchain/issues/16228 | 2,089,008,469 | 16,228 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain_community.llms.sagemaker_endpoint import ... | Streaming with SagemakerEndpoint class doesn't return a response [LineIterator infinite loop] | https://api.github.com/repos/langchain-ai/langchain/issues/16219/comments | 4 | 2024-01-18T18:44:31Z | 2024-07-26T16:05:57Z | https://github.com/langchain-ai/langchain/issues/16219 | 2,088,862,579 | 16,219 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```python
from langchain_core.runnables import RunnableLambda
f... | astream_log doesn't catch exception correctly even though exception is caught by the retry decorator | https://api.github.com/repos/langchain-ai/langchain/issues/16212/comments | 0 | 2024-01-18T17:20:22Z | 2024-04-25T16:17:15Z | https://github.com/langchain-ai/langchain/issues/16212 | 2,088,736,917 | 16,212 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add support for getting num_tokens() for ChatGoogleGenerativeAI , GoogleGenerativeAI,
### Motivation
This feature has below benefits
- Useful for checking if an input will fit in a model's context window.
- Useful for estimating usage costs
### Your contribution
I'll submit PR | Added Token Count support for Gen AI Models | https://api.github.com/repos/langchain-ai/langchain/issues/16204/comments | 1 | 2024-01-18T14:43:52Z | 2024-04-25T16:23:50Z | https://github.com/langchain-ai/langchain/issues/16204 | 2,088,437,151 | 16,204 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
# First
import openai
import streamlit as st
from langchain_exp... | NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}} | https://api.github.com/repos/langchain-ai/langchain/issues/16197/comments | 1 | 2024-01-18T12:54:06Z | 2024-04-25T16:20:44Z | https://github.com/langchain-ai/langchain/issues/16197 | 2,088,230,189 | 16,197 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I need to have access to the invoke method of langchain.agents.agent.AgentExecutor class. In the documentation, I can see only the definition but not the source code (please see below). It would be super helpful to be able to see the source code. I am getting some errors from th... | DOC: documentation missing for invoke method of AgentExecutor class | https://api.github.com/repos/langchain-ai/langchain/issues/16195/comments | 1 | 2024-01-18T12:37:04Z | 2024-04-25T16:24:06Z | https://github.com/langchain-ai/langchain/issues/16195 | 2,088,201,613 | 16,195 |
[
"hwchase17",
"langchain"
] | below is my code
```
class CustomCallbackHandler(StreamingStdOutCallbackHandler):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
# Implement here your streaming logic
print(token, end='', fl... | How can I implement Chat Streaming in Langchain? | https://api.github.com/repos/langchain-ai/langchain/issues/16188/comments | 2 | 2024-01-18T10:43:43Z | 2024-01-18T17:23:16Z | https://github.com/langchain-ai/langchain/issues/16188 | 2,088,009,703 | 16,188 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [ ] I added a very descriptive title to this issue.
- [x] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
```
from langchain_community.llms.vertexai import VertexAI
Vert... | Gemini-Pro : Safety attributes params are missing with VertexAI | https://api.github.com/repos/langchain-ai/langchain/issues/16186/comments | 2 | 2024-01-18T09:38:54Z | 2024-04-29T16:13:08Z | https://github.com/langchain-ai/langchain/issues/16186 | 2,087,891,087 | 16,186 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
from qdrant_client import QdrantClient, models
import os
import qdrant_client
from dotenv import load_dotenv
from langchain.chains import RetrievalQA
from langchain.embeddings.huggingface import HuggingFaceInstructEmbeddings
from langchain.llms import OpenAI
from langchain.... | I have established a collection using Qdrant, and set memmap_threshold=0, which means all vectors will be stored locally. I want to implement long-term memory functionality, but I am hindered by the limitation of max_seq_length being set to 512. How can I use text splitting techniques to ensure complete storage of my v... | https://api.github.com/repos/langchain-ai/langchain/issues/16183/comments | 1 | 2024-01-18T06:57:16Z | 2024-04-25T16:38:37Z | https://github.com/langchain-ai/langchain/issues/16183 | 2,087,642,831 | 16,183 |
[
"hwchase17",
"langchain"
] | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
### Example Code
with get_openai_callback() as cb
for chunk in llm.stream(messa... | get_openai_callback does not returns the tokens consumed when we stream the output from LLM | https://api.github.com/repos/langchain-ai/langchain/issues/16182/comments | 1 | 2024-01-18T06:16:32Z | 2024-04-25T16:17:13Z | https://github.com/langchain-ai/langchain/issues/16182 | 2,087,589,101 | 16,182 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.