issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k β | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.276
Python version: 3.11.2
Platform: x86_64 Debian 12.2.0-14
Weaviate as vectorstore
SQLite for document index
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Ch... | Indexing deletion modes not working | https://api.github.com/repos/langchain-ai/langchain/issues/10118/comments | 3 | 2023-09-02T02:31:04Z | 2023-12-09T16:04:21Z | https://github.com/langchain-ai/langchain/issues/10118 | 1,878,277,419 | 10,118 |
[
"langchain-ai",
"langchain"
] | ### System Info
```sh
pydantic==2.3.0
langchain==0.0.279
```
### Who can help?
@agola11 , @hwchase17: Having trouble learning how to have LLMs as attributes in pydantic2. I keep getting this confusing error which I cannot troubleshoot.
### Information
- [ ] The official example notebooks/scripts
- [X] My own m... | Cannot have models with BaseLanguageModel in pydantic 2: TypeError: BaseModel.validate() takes 2 positional arguments but 3 were given | https://api.github.com/repos/langchain-ai/langchain/issues/10112/comments | 3 | 2023-09-01T22:33:12Z | 2023-11-16T14:53:22Z | https://github.com/langchain-ai/langchain/issues/10112 | 1,878,116,654 | 10,112 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
File Python\Python39\site-packages\langchain\vectorstores\pinecone.py:301, in Pinecone.max_marginal_relevance_search(self, query, k, fetch_k, lambda_mult, filter,
namespace, **kwargs)
284 """Return docs selected using the maximal marginal relevance.
285
286 Maximal marginal relev... | Got ValidationError when searching a content does not exist in the Pinecone vector store using Langchain Pinecone connection | https://api.github.com/repos/langchain-ai/langchain/issues/10111/comments | 3 | 2023-09-01T22:05:26Z | 2023-12-18T23:48:02Z | https://github.com/langchain-ai/langchain/issues/10111 | 1,878,096,535 | 10,111 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.277
Python 3.9
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] ... | Using SQLDatabase with Llama 2 for snowflake connection, i get ProgramingError | https://api.github.com/repos/langchain-ai/langchain/issues/10106/comments | 2 | 2023-09-01T19:03:24Z | 2023-12-08T16:04:15Z | https://github.com/langchain-ai/langchain/issues/10106 | 1,877,924,878 | 10,106 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have created an agent using ConversationalChatAgent which uses custom tools (CoversationRetrievalQA based) to answer users questions. When determining which tool to use the agent is sometimes stripping the question to single word. For example question like `What is XYZ?` is reduced to... | Issue: ConversationalChatAgent reduces the user question question to single word action_input when parsing | https://api.github.com/repos/langchain-ai/langchain/issues/10100/comments | 2 | 2023-09-01T17:01:58Z | 2023-12-08T16:04:20Z | https://github.com/langchain-ai/langchain/issues/10100 | 1,877,764,117 | 10,100 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.9 langchain 0.0.250
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] ... | Parsing intermediate steps: Object of type AgentAction is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/10099/comments | 3 | 2023-09-01T16:30:39Z | 2023-12-18T23:48:07Z | https://github.com/langchain-ai/langchain/issues/10099 | 1,877,718,213 | 10,099 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have 2000 document present at my opensearch index, i have filter out the 2 documents present from this opensearch index and added to newly created index. After that i am trying to use vector_db.similarity_search(request.query,k=2) on the newly created index, its returning me empty list.
below are t... | vector_db.similarity_search(request.query,k=2) Not working with the opensearch index | https://api.github.com/repos/langchain-ai/langchain/issues/10089/comments | 6 | 2023-09-01T10:37:55Z | 2023-12-11T16:05:23Z | https://github.com/langchain-ai/langchain/issues/10089 | 1,877,181,409 | 10,089 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.278.
I try to publish a pull request in the project experimental. I must update the dependencies of langchain, but I receive a lot of errors.
See [here](https://github.com/langchain-ai/langchain/actions/runs/6047844508/job/16412056269?pr=7278), outside of my code.
### Who can help?
... | autonomous_agents : poetry run mypy . with experimental fails with langchain version 0.0.278 | https://api.github.com/repos/langchain-ai/langchain/issues/10088/comments | 3 | 2023-09-01T09:51:26Z | 2023-09-19T08:28:37Z | https://github.com/langchain-ai/langchain/issues/10088 | 1,877,113,181 | 10,088 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.278
python: 3.10
windows10
### 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 Se... | When I call the 'loader()' function of AsyncHtmlLoader, I receive an 'Event loop is closed' error after it completes execution. | https://api.github.com/repos/langchain-ai/langchain/issues/10086/comments | 2 | 2023-09-01T08:31:58Z | 2023-12-08T16:04:30Z | https://github.com/langchain-ai/langchain/issues/10086 | 1,876,993,301 | 10,086 |
[
"langchain-ai",
"langchain"
] | ```
text = "foo _bar_ baz_ 123"
separator = "_"
text_splitter = CharacterTextSplitter(
chunk_size=4,
chunk_overlap=0,
separator="_",
keep_separator=True,
)
print(text_splitter.split_text(text))
```
RETURNS:
`['foo', '_bar', '_ baz', '_ 123']`
EXPECTED:
`['foo ', '_bar', '_ baz', '_ 123... | Text splitting with keep_separator is True still removes any whitespace, even if separator is whitespace | https://api.github.com/repos/langchain-ai/langchain/issues/10085/comments | 4 | 2023-09-01T08:14:34Z | 2023-09-08T02:01:40Z | https://github.com/langchain-ai/langchain/issues/10085 | 1,876,967,752 | 10,085 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using chroma db as retriever in ConversationalRetrievalChain, but the parameter "where_document" does not work.
```python
search_kwargs = {
"k": k,
"filter": filter,
"where_document": {"$contains": "1000001"}
}
retriever = vectordb.as_retriever(
search_kwargs... | Issue: chroma retriever where_document parameter passed in search_kwargs is invalid | https://api.github.com/repos/langchain-ai/langchain/issues/10082/comments | 3 | 2023-09-01T07:52:13Z | 2024-03-17T16:04:11Z | https://github.com/langchain-ai/langchain/issues/10082 | 1,876,932,057 | 10,082 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have uploaded my files to Vectara and would love to query the corpus now with langchain. However I can only find examples of how to upload documents and then directly query them. I would like to avoid uploading the documents all the time and just straight query the existing corpus . Is... | Vectara query a already uploaded Corpus | https://api.github.com/repos/langchain-ai/langchain/issues/10081/comments | 1 | 2023-09-01T07:50:13Z | 2023-12-08T16:04:35Z | https://github.com/langchain-ai/langchain/issues/10081 | 1,876,929,360 | 10,081 |
[
"langchain-ai",
"langchain"
] | [code pointer](https://github.com/langchain-ai/langchain/blob/74fcfed4e2bdd186c2869a07008175a9b66b1ed4/libs/langchain/langchain/tools/base.py#L588C16-L588C16)
In `langchain.tools.base`, change
```python
Class StructuredTool(BaseTool):
"""Tool that can operate on any number of inputs."""
description: s... | StructuredTool ainvoke isn't await parent class ainvoke | https://api.github.com/repos/langchain-ai/langchain/issues/10080/comments | 0 | 2023-09-01T07:36:50Z | 2023-09-08T02:54:54Z | https://github.com/langchain-ai/langchain/issues/10080 | 1,876,911,576 | 10,080 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I need to use Python REPL tool to take data frame and user query and answer based on the data frame.
### Suggestion:
_No response_ | how to use PythonREPL tool to take dataframe and query | https://api.github.com/repos/langchain-ai/langchain/issues/10079/comments | 3 | 2023-09-01T05:51:51Z | 2023-12-08T16:04:40Z | https://github.com/langchain-ai/langchain/issues/10079 | 1,876,788,507 | 10,079 |
[
"langchain-ai",
"langchain"
] | ### System Info
the memories are pruned after saving using .pop(0). However, db-backed histories read messages and copies into list each turn. This makes it so that the actual db does not change at every turn, and so max_token_limit parameter gets ignored and the memory prints out the entire conversation for history.
... | ConversationTokenBufferMemory and ConversationSummaryBufferMemory does not work with db-backed histories | https://api.github.com/repos/langchain-ai/langchain/issues/10078/comments | 3 | 2023-09-01T05:28:56Z | 2024-02-12T16:14:29Z | https://github.com/langchain-ai/langchain/issues/10078 | 1,876,763,580 | 10,078 |
[
"langchain-ai",
"langchain"
] | ### System Info
On the elasticsearch authentication, you have implemented it this way on the elasticsearch.py file found in the vectorstores folder
```py
if api_key:
connection_params["api_key"] = api_key
elif username and password:
connection_params["basic_auth"] = (username, pa... | ElasticSearch authentication | https://api.github.com/repos/langchain-ai/langchain/issues/10077/comments | 2 | 2023-09-01T05:07:53Z | 2023-12-08T16:04:45Z | https://github.com/langchain-ai/langchain/issues/10077 | 1,876,736,736 | 10,077 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: `0.0278`
Python: `3.10`
Runpod version: `1.2.0`
I'm experiencing some issues when running Runpod (TGI gpu cloud) and langchain, primarily when I try to run the chain.
For reference, I'm using TheBloke/VicUnlocked-30B-LoRA-GPTQ model in TGI on Runpod A4500 GPU cloud.
I initia... | Receiving a unclear KeyError: 'error' when using Langchain HuggingFaceTextInference on Runpod GPU | https://api.github.com/repos/langchain-ai/langchain/issues/10072/comments | 2 | 2023-09-01T00:24:57Z | 2023-12-08T16:04:50Z | https://github.com/langchain-ai/langchain/issues/10072 | 1,876,474,014 | 10,072 |
[
"langchain-ai",
"langchain"
] | ### System Info
### Error
I am using **Supabase Vector Store**:
```python
embeddings = OpenAIEmbeddings()
vectorstore_public = SupabaseVectorStore(
client=supabase_client,
embedding=embeddings,
table_name="documents",
query_name="match_documents",
)
```
And crawli... | SupabaseVectorStore: Error thrown when calling similarity_search_by_vector_with_relevance_scores | https://api.github.com/repos/langchain-ai/langchain/issues/10065/comments | 6 | 2023-08-31T18:18:02Z | 2023-12-07T16:05:15Z | https://github.com/langchain-ai/langchain/issues/10065 | 1,876,055,791 | 10,065 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Implement Self Query retriever to Redis vector stores.
### Motivation
I was trying the different retrievers for my project (AI chatbot that answers various human resources and labor law questions based on a dataset built from complete local labor legislation, company handbooks, job descriptions a... | Add SelfQueryRetriever support for Redis Vector Stores | https://api.github.com/repos/langchain-ai/langchain/issues/10064/comments | 1 | 2023-08-31T18:17:38Z | 2023-09-12T22:30:38Z | https://github.com/langchain-ai/langchain/issues/10064 | 1,876,055,216 | 10,064 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.276
Windows
Python 3.11.4
I create a custom llm just like in the tutorial but when i use it on a mkrl agent it does not return to the agent the custom response.
I printed insided my agent and it is called and returns the correct answer, but the agent in the end of line does not get... | CustomLLM when called inside agent does not return custom behaviour | https://api.github.com/repos/langchain-ai/langchain/issues/10061/comments | 2 | 2023-08-31T17:53:26Z | 2023-12-07T16:05:20Z | https://github.com/langchain-ai/langchain/issues/10061 | 1,876,017,939 | 10,061 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version -- 0.0.277
python verion -- 3.8.8
window platform
### Who can help?
@hwchase17
@agola11
Hi I am not able to run any of the langchain syntex on my windows laptop. For example if I just run from **langchain.llms import OpenAI** I get the below error message. Can you please he... | TypeError: multiple bases have instance lay-out conflict | https://api.github.com/repos/langchain-ai/langchain/issues/10060/comments | 6 | 2023-08-31T17:02:38Z | 2023-12-11T16:05:28Z | https://github.com/langchain-ai/langchain/issues/10060 | 1,875,918,071 | 10,060 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.276
Python version: 3.11.2
Platform: x86_64 Debian 12.2.0-14
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | max_marginal_relevance_search not implemented in Redis | https://api.github.com/repos/langchain-ai/langchain/issues/10059/comments | 4 | 2023-08-31T16:34:30Z | 2023-09-12T22:31:16Z | https://github.com/langchain-ai/langchain/issues/10059 | 1,875,877,282 | 10,059 |
[
"langchain-ai",
"langchain"
] | ### System Info
Given a string resembling a JSON-string array, such as I'm often getting from LLM completions, I'm trying to convert the string to a Python list of strings. I'm finding the the `PydanticOutputParser` is throwing an error when plain old `json.loads` with `strict=False` is doing fine.
### Who can help?
... | PydanticOutputParser failing to parse basic string into JSON | https://api.github.com/repos/langchain-ai/langchain/issues/10057/comments | 7 | 2023-08-31T16:12:05Z | 2024-04-10T16:14:50Z | https://github.com/langchain-ai/langchain/issues/10057 | 1,875,844,490 | 10,057 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.272, linux, python 3.11.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | StreamingStdOutCallbackHandler().on_llm_start isn't called since version 0.0.272 (0.0.271 still works) | https://api.github.com/repos/langchain-ai/langchain/issues/10054/comments | 6 | 2023-08-31T15:30:31Z | 2024-08-07T19:33:12Z | https://github.com/langchain-ai/langchain/issues/10054 | 1,875,770,074 | 10,054 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.249
Windows
Python 3.11.4
### 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
- [ ] Outp... | langchain.vectorstores.MatchingEngine.from_components() throws InvalidArgument exception | https://api.github.com/repos/langchain-ai/langchain/issues/10050/comments | 4 | 2023-08-31T14:01:53Z | 2024-01-30T00:41:11Z | https://github.com/langchain-ai/langchain/issues/10050 | 1,875,605,668 | 10,050 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python Version: 3.11.4 (main, Jul 5 2023, 08:40:20) [Clang 14.0.6 ]
Langchain Version: 0.0.273
Jupyter Notebook Version: 5.3.0
### Who can help?
@hwchase17
@agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat... | `create_pandas_dataframe_agent` does not pass the `handle_parsing_error` variable into the underlying Agent. | https://api.github.com/repos/langchain-ai/langchain/issues/10045/comments | 6 | 2023-08-31T11:53:16Z | 2023-09-03T21:31:02Z | https://github.com/langchain-ai/langchain/issues/10045 | 1,875,375,970 | 10,045 |
[
"langchain-ai",
"langchain"
] | ### System Info
`langchain` - 0.0.267
`openai` - 0.27.7
MacOS 13.4.1 (22F82)
### 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 / Promp... | Getting invalid URL post after updating langchain from 0.0.200 to 0.0.267 | https://api.github.com/repos/langchain-ai/langchain/issues/10044/comments | 2 | 2023-08-31T11:17:31Z | 2023-12-07T16:05:30Z | https://github.com/langchain-ai/langchain/issues/10044 | 1,875,323,135 | 10,044 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm using function calls to obtain and process data. I have two classes designed as follows:
```python
class GetDataInput:
user_input: str = Field(description="User input")
class ProcessDataInput:
data_url: str = Field(description="Link to the data")
```
Moreover, I'... | Function calling use the wrong context | https://api.github.com/repos/langchain-ai/langchain/issues/10040/comments | 4 | 2023-08-31T10:12:09Z | 2023-12-07T16:05:35Z | https://github.com/langchain-ai/langchain/issues/10040 | 1,875,216,407 | 10,040 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
is this implemented?
https://github.com/langchain-ai/langchain/pull/1222/commits
### Suggestion:
_No response_ | streaming | https://api.github.com/repos/langchain-ai/langchain/issues/10038/comments | 2 | 2023-08-31T09:27:42Z | 2023-12-07T16:05:40Z | https://github.com/langchain-ai/langchain/issues/10038 | 1,875,139,090 | 10,038 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi allπ ,
I work in a network-isolated SageMaker environment. There I have hosted a llama 2.0 -7b chat Inference Endpoint (from [HF ](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf))
For a project I would like to work with LangChain.
Currently I am failing with the embe... | Problems with using LangChain Sagemaker Embedding for Llama 2.0 Inference Endpoint in Sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/10037/comments | 3 | 2023-08-31T09:09:17Z | 2024-01-18T20:18:04Z | https://github.com/langchain-ai/langchain/issues/10037 | 1,875,107,736 | 10,037 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The idea is, that I have a vector store with a conversational retrieval chain.from_llm, and I want to create other functions such as send an email, etc. so that when a user queries for something, it determines if it should use the Conv retrieval chain or the other functions such as sendi... | Conversational Retrieval Chain.from_llm integration with router chains | https://api.github.com/repos/langchain-ai/langchain/issues/10035/comments | 2 | 2023-08-31T08:32:26Z | 2023-12-07T16:05:44Z | https://github.com/langchain-ai/langchain/issues/10035 | 1,875,045,957 | 10,035 |
[
"langchain-ai",
"langchain"
] | ### Feature request
while parsing LLM output with `pydantic_object` it would be nice to send to the `parse` function `context` object , like `pydantic` docs does here: https://docs.pydantic.dev/latest/usage/validators/#validation-context
### Motivation
In order to do validation on LLM output rather than just parse i... | context to pydantic_object | https://api.github.com/repos/langchain-ai/langchain/issues/10034/comments | 2 | 2023-08-31T08:23:33Z | 2023-12-07T16:05:50Z | https://github.com/langchain-ai/langchain/issues/10034 | 1,875,031,907 | 10,034 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'm utilizing BaseMessagePromptTemplate with external DBs, for version control.
However, dumping BaseMessagePromptTemplate to json and loading to original Template is difficult, as retrieving exact type of message type from json is not possible.
Therefore, it would be useful to add _msg_type pr... | Add message type property method on BaseMessagePromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/10033/comments | 1 | 2023-08-31T08:23:10Z | 2023-09-01T00:13:23Z | https://github.com/langchain-ai/langchain/issues/10033 | 1,875,031,189 | 10,033 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When using `RetrievalQAWithSourcesChain`, the chain call can't accept `search_kwargs` to pass then to the retriever like this:
```python
response = chain({"question": query ,'search_kwargs': search_kwargs})
```
In particular, I tried with `Milvus` and `MilvusRetriever` and natively could't... | Dynamic "search_kwargs" during RetrievalQAWithSourcesChain call | https://api.github.com/repos/langchain-ai/langchain/issues/10031/comments | 2 | 2023-08-31T08:06:10Z | 2023-12-05T17:47:16Z | https://github.com/langchain-ai/langchain/issues/10031 | 1,875,002,896 | 10,031 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Does anyone created agent with tool which takes "dataframe" and "user_input" as input variables in langchain?
I do not want use dataframe agent which is there already in langchain. As I need pass further instruction in the prompt template.
### Suggestion:
_No response_ | Does anyone created agent with tool which takes "dataframe" and "user_input" as input variables in langchain? | https://api.github.com/repos/langchain-ai/langchain/issues/10028/comments | 3 | 2023-08-31T06:46:58Z | 2023-12-07T16:05:55Z | https://github.com/langchain-ai/langchain/issues/10028 | 1,874,888,777 | 10,028 |
[
"langchain-ai",
"langchain"
] | Can anyone tell me the difference between these two parameters? When setting up the ChatOpenAI model
| Issue: I dont know what the meaning of OPENAI_API_BASE and OPENAI_PROXY in ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/10027/comments | 1 | 2023-08-31T06:35:39Z | 2023-08-31T08:32:27Z | https://github.com/langchain-ai/langchain/issues/10027 | 1,874,874,756 | 10,027 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I am facing some issues with the code I am trying to run as it did run perfectly up until recently when an Error started being thrown out as AttributeError: 'list' object has no attribute 'embedding'. Below is the traceback if the error. Please do let me know if some code snippe... | Issue: AttributeError: 'list' object has no attribute 'embedding' | https://api.github.com/repos/langchain-ai/langchain/issues/10025/comments | 2 | 2023-08-31T05:40:08Z | 2023-12-07T16:06:00Z | https://github.com/langchain-ai/langchain/issues/10025 | 1,874,819,757 | 10,025 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The class ErnieBotChat defined in libs/langchain/langchain/chat_models/ernie.py only supports 2 models, which are ERNIE-Bot-turbo and ERNIE-Bot. While a bunch of new models are supported by BCE (Baidu Cloud Engine), such as llama-2-7b chat (https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Rlki1zlai).... | Support more models for ErnieBotChat | https://api.github.com/repos/langchain-ai/langchain/issues/10022/comments | 3 | 2023-08-31T05:22:17Z | 2023-12-13T16:07:03Z | https://github.com/langchain-ai/langchain/issues/10022 | 1,874,805,344 | 10,022 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS M2 13.4.1 (22F82)
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | fix: Loading documents from a Youtube Url | https://api.github.com/repos/langchain-ai/langchain/issues/10019/comments | 1 | 2023-08-31T03:19:25Z | 2023-12-07T16:06:10Z | https://github.com/langchain-ai/langchain/issues/10019 | 1,874,719,531 | 10,019 |
[
"langchain-ai",
"langchain"
] | @dosu-bot
The issue is that the "string indices must be indices", but your transformation does not deal with that. Here is the curretn code, please see below and change to avoid this error:
```from langchain.docstore.document import Document
from typing import Dict
from langchain import PromptTemp... | @dosu-bot | https://api.github.com/repos/langchain-ai/langchain/issues/10017/comments | 7 | 2023-08-31T03:01:34Z | 2023-12-07T16:06:15Z | https://github.com/langchain-ai/langchain/issues/10017 | 1,874,707,605 | 10,017 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.277
azure-search-documents 11.4.0b8
python 3.1.0.11
### Who can help?
@baskaryan
@ruoccofabrizio
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ... | Azure Cognitive Search Scoring Profile does not work as documented | https://api.github.com/repos/langchain-ai/langchain/issues/10015/comments | 5 | 2023-08-31T02:30:27Z | 2023-12-08T16:05:06Z | https://github.com/langchain-ai/langchain/issues/10015 | 1,874,685,238 | 10,015 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest versions for python and langchain
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output... | Issues with llama-2-7b-f | https://api.github.com/repos/langchain-ai/langchain/issues/10012/comments | 11 | 2023-08-30T22:43:26Z | 2024-03-18T16:05:19Z | https://github.com/langchain-ai/langchain/issues/10012 | 1,874,476,223 | 10,012 |
[
"langchain-ai",
"langchain"
] | ### System Info
The latest langchain version
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | No support for ConversationalRetrievalChain with passing in memory and system message | https://api.github.com/repos/langchain-ai/langchain/issues/10011/comments | 6 | 2023-08-30T22:14:38Z | 2024-01-30T00:42:39Z | https://github.com/langchain-ai/langchain/issues/10011 | 1,874,448,914 | 10,011 |
[
"langchain-ai",
"langchain"
] | ### Feature request
An agent for searching iteratively multiple documents without the problem of processing incomplete document chunks.
An option to include the metadata (source references) in the prompt.
### Motivation
Normally documents are split into chunks before being added to Chroma
When the data is queried,... | Solve the problem of working with incomplete document chunks and multiple documents | https://api.github.com/repos/langchain-ai/langchain/issues/9996/comments | 9 | 2023-08-30T14:58:47Z | 2024-02-09T02:13:41Z | https://github.com/langchain-ai/langchain/issues/9996 | 1,873,859,050 | 9,996 |
[
"langchain-ai",
"langchain"
] | ### Feature request
```
from langchain.chat_models import ChatOpenAI
from langchain.chains import GraphCypherQAChain
from langchain.graphs import Neo4jGraph
graph = Neo4jGraph(
url="bolt://localhost:7687", username="neo4j", password="pleaseletmein"
)
chain = GraphCypherQAChain.from_llm(ChatOpenAI(temperatur... | How to pass a custom prompt in graphQA or GraphCypherQA chain | https://api.github.com/repos/langchain-ai/langchain/issues/9993/comments | 5 | 2023-08-30T13:42:34Z | 2024-05-04T13:18:22Z | https://github.com/langchain-ai/langchain/issues/9993 | 1,873,711,576 | 9,993 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.276
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Lo... | AzureMLOnlineEndpoint not working, 404 error, but same url and api key works with standard http | https://api.github.com/repos/langchain-ai/langchain/issues/9987/comments | 5 | 2023-08-30T08:45:03Z | 2023-11-03T14:14:44Z | https://github.com/langchain-ai/langchain/issues/9987 | 1,873,221,947 | 9,987 |
[
"langchain-ai",
"langchain"
] | ### System Info
I tried to use langchain with Azure Cognitive Search as vector store and got the following Import Error.
langchain version: 0.0.276
azure documents: 11.4.0b8
python version: 3.8
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified... | ImportError: cannot import name 'HnswVectorSearchAlgorithmConfiguration' from 'azure.search.documents.indexes.models' | https://api.github.com/repos/langchain-ai/langchain/issues/9985/comments | 9 | 2023-08-30T08:07:19Z | 2024-05-07T16:04:48Z | https://github.com/langchain-ai/langchain/issues/9985 | 1,873,154,024 | 9,985 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
import boto3
from langchain.retrievers import AmazonKendraRetriever
retriever = AmazonKendraRetriever(index_id="xxxxxxxxxxxxxxxxxxxx")
retriever.get_relevant_documents("what is the tax")
```
**Facing the below error**
----------------------------------------
```
AttributeError ... | AttributeError: 'kendra' object has no attribute 'retrieve' | https://api.github.com/repos/langchain-ai/langchain/issues/9982/comments | 5 | 2023-08-30T07:14:43Z | 2024-01-26T18:57:38Z | https://github.com/langchain-ai/langchain/issues/9982 | 1,873,068,703 | 9,982 |
[
"langchain-ai",
"langchain"
] | ### System Info
First, Thank you so much for your work on Langchain, it's very good.
I am trying to compare two documents following the guide from langchain https://python.langchain.com/docs/integrations/toolkits/document_comparison_toolkit
I have done exactly the same code:
I have one class to use for the ... | Document Comparison toolkit is not working | https://api.github.com/repos/langchain-ai/langchain/issues/9981/comments | 15 | 2023-08-30T06:02:22Z | 2024-06-22T16:34:20Z | https://github.com/langchain-ai/langchain/issues/9981 | 1,872,965,623 | 9,981 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When using Chroma vector store, the stored documents can only be retrieved when using a search query. There is no method which allows to load all documents.
### Motivation
The closest thing to retrieving all documents is using
`vectordb._collection.get()` for which the output is a dictionary in... | Chroma - retrieve all documents | https://api.github.com/repos/langchain-ai/langchain/issues/9980/comments | 2 | 2023-08-30T05:44:19Z | 2024-05-15T05:58:55Z | https://github.com/langchain-ai/langchain/issues/9980 | 1,872,945,320 | 9,980 |
[
"langchain-ai",
"langchain"
] | ### System Info
colab notebook
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | mportError: cannot import name 'BaseLanguageModel' from 'langchain.schema' (/usr/local/lib/python3.10/dist-packages/langchain/schema/init.py) | https://api.github.com/repos/langchain-ai/langchain/issues/9977/comments | 2 | 2023-08-30T04:54:31Z | 2023-12-06T17:43:10Z | https://github.com/langchain-ai/langchain/issues/9977 | 1,872,899,721 | 9,977 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The generative Agents demo shows the generic individual conversation.
There are 2 features that I need clarity on. If these exist (if yes how to implement the same) or need to be worked on:
1. Tool integration of the agents. If the agents can integrate to some tool like a calendar or a clock to... | Generative Agents in LangChain Tool Integration | https://api.github.com/repos/langchain-ai/langchain/issues/9976/comments | 14 | 2023-08-30T04:43:59Z | 2023-12-14T16:06:18Z | https://github.com/langchain-ai/langchain/issues/9976 | 1,872,890,614 | 9,976 |
[
"langchain-ai",
"langchain"
] | ### Feature request
GCS blobs can have custom metadata defined either in google console or programatic way as shown below
```
from google.cloud import storage
storage_client = storage.Client()
bucket = storage_client.bucket(bucket_name)
blob = bucket.blob(destination_blob_name)
metadata = {'from_source': 'http... | GCSFileLoader need to read blob's metadata and populate it to documents metadata | https://api.github.com/repos/langchain-ai/langchain/issues/9975/comments | 4 | 2023-08-30T03:58:52Z | 2024-02-11T16:15:26Z | https://github.com/langchain-ai/langchain/issues/9975 | 1,872,845,768 | 9,975 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform: MacOS 13.5
Python Version: 3.10.11
Langchain: 0.0.257
Azure Search: 1.0.0b2
Azure Search Documents: 11.4.0b6
Openai: 0.27.8
Issue: AttributeError: module 'azure.search.documents.indexes.models._edm' has no attribute 'Single'
Code: `az_search = AzureSearch(azure_search_endpoint=os... | azure.search.documents.indexes.models._edm no attribute "Single" under Langchain.AzureSearch() | https://api.github.com/repos/langchain-ai/langchain/issues/9973/comments | 5 | 2023-08-30T03:14:22Z | 2024-02-14T16:11:03Z | https://github.com/langchain-ai/langchain/issues/9973 | 1,872,811,739 | 9,973 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.4
langchain-0.0.276
currently troubleshooting on a Windows 11 workstation in a notebook in VSCode.
### Who can help?
@hwchase17 @ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Model... | create_structured_output_chain does not work with with AzureChatOpenAI model? | https://api.github.com/repos/langchain-ai/langchain/issues/9972/comments | 3 | 2023-08-30T02:28:18Z | 2024-02-12T16:14:40Z | https://github.com/langchain-ai/langchain/issues/9972 | 1,872,777,987 | 9,972 |
[
"langchain-ai",
"langchain"
] | ### System Info
**### IΒ΄m directly providing these arguments to the LLMs via the prompt:**
**SOURCE CODE:**
from langchain import OpenAI, SQLDatabase
from langchain_experimental.sql import SQLDatabaseChain
from langchain.chains import create_sql_query_chain
from langchain.prompts.prompt import PromptTemplat... | SQL Chain Result - Error | https://api.github.com/repos/langchain-ai/langchain/issues/9959/comments | 4 | 2023-08-29T21:27:00Z | 2023-08-30T19:39:38Z | https://github.com/langchain-ai/langchain/issues/9959 | 1,872,502,344 | 9,959 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Weaviate introduced multi-tenancy support in version 1.20
https://weaviate.io/blog/multi-tenancy-vector-search
### Motivation
This can help users using Langchain + Weaviate at scale, ingesting documents and attaching tenants to it.
### Your contribution
I have implemented, but would need some ... | Multi Tenant Support for Weaviate | https://api.github.com/repos/langchain-ai/langchain/issues/9956/comments | 4 | 2023-08-29T20:56:22Z | 2024-03-13T19:56:50Z | https://github.com/langchain-ai/langchain/issues/9956 | 1,872,444,158 | 9,956 |
[
"langchain-ai",
"langchain"
] | ### System Info
Getting error: got multiple values for keyword argument- question_generator .
return cls(\nTypeError: langchain.chains.conversational_retrieval.base.ConversationalRetrievalChain() got multiple values for keyword argument \'question_generator\'', 'SystemError'
`Qtemplate = (
"Combine the chat his... | ConversationalRetrievalChain [got multiple argument for question_generator] | https://api.github.com/repos/langchain-ai/langchain/issues/9952/comments | 5 | 2023-08-29T20:03:57Z | 2024-02-13T16:13:02Z | https://github.com/langchain-ai/langchain/issues/9952 | 1,872,339,935 | 9,952 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have a tool with one required argument _chart_data_ and one optional argument _chart_title_. The tool is defined using the BaseModel class from Pydantic and is decorated with @tool("charts", args_schema=ChartInput).
However, optional arguments are pushed into the 'required' list that is being pa... | Optional Arguments Treated as Required by "format_tool_to_openai_function" | https://api.github.com/repos/langchain-ai/langchain/issues/9942/comments | 3 | 2023-08-29T16:29:41Z | 2023-12-06T17:43:15Z | https://github.com/langchain-ai/langchain/issues/9942 | 1,872,021,415 | 9,942 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I want to request functionality for decision tree / flow chart like prompt architecture. The idea is that there would be a Prompt Tree that starts on a specific branch then allows the LLM to select new branches as part of its toolkit. Each branch would have its own prompts meaning that the AI does ... | Functionality for prompts based on decision tree / flow charts. | https://api.github.com/repos/langchain-ai/langchain/issues/9932/comments | 13 | 2023-08-29T15:02:20Z | 2024-06-19T14:40:49Z | https://github.com/langchain-ai/langchain/issues/9932 | 1,871,868,517 | 9,932 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I wanted to use the new `ParentDocumentRetriever` but found the indexing extremely slow. I think the reason
is this line here https://github.com/langchain-ai/langchain/blob/e80834d783c6306a68df54e6251d9fc307aee87c/libs/langchain/langchain/retrievers/parent_document_retriever.py#L112
... | Issue: ParentDocumentRetriever is slow with FAISS because add_documents uses embed_query without batching | https://api.github.com/repos/langchain-ai/langchain/issues/9929/comments | 9 | 2023-08-29T14:04:47Z | 2024-04-08T06:28:03Z | https://github.com/langchain-ai/langchain/issues/9929 | 1,871,751,039 | 9,929 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.275
Python 3.10.12
(Google Colaboratory)
### Who can help?
Hello, @eyurtsev!
We found an issue related to `WebBaseLoader`.
I guess the problem is related to `Response.apparent_encoding` leveraged by `WebBaseLoader. chardet.detect()`, which assigns the `apparent_encoding` to a Resp... | WebBaseLoader encoding issue | https://api.github.com/repos/langchain-ai/langchain/issues/9925/comments | 3 | 2023-08-29T12:51:07Z | 2024-06-26T16:44:57Z | https://github.com/langchain-ai/langchain/issues/9925 | 1,871,608,915 | 9,925 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.275
OpenLLM: 0.2.27
Python: 3.11.1
on Ubuntu 22.04 / Windows 11
### Who can help?
@agola11, @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts ... | LangChain cannot deal with new OpenLLM Version (0.2.27) | https://api.github.com/repos/langchain-ai/langchain/issues/9923/comments | 5 | 2023-08-29T11:09:45Z | 2024-04-18T08:04:07Z | https://github.com/langchain-ai/langchain/issues/9923 | 1,871,441,245 | 9,923 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.249
macOS Ventura v13.5.1
Python 3.11.0rc2
### Who can help?
@3coins, @hwchase17, @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | Model Timeout after 3 requests to endpoint (Amazon Bedrock AI21 models) | https://api.github.com/repos/langchain-ai/langchain/issues/9919/comments | 3 | 2023-08-29T10:49:28Z | 2024-03-25T16:05:42Z | https://github.com/langchain-ai/langchain/issues/9919 | 1,871,403,150 | 9,919 |
[
"langchain-ai",
"langchain"
] | ### System Info
long story short, i use streamlit to make a demo where i can upload a pdf, click a button and the content is extracted automatically based on the prompt template's questions.
I really don't understand why i keep getting errors about missing inputs, i constantly add them in many different ways but i ... | 'ValueError: Missing some input keys: {'query'}' but i added it? | https://api.github.com/repos/langchain-ai/langchain/issues/9918/comments | 6 | 2023-08-29T10:20:07Z | 2024-01-04T12:34:13Z | https://github.com/langchain-ai/langchain/issues/9918 | 1,871,344,286 | 9,918 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.266
Python version: 3.11.3
Model: Llama2 (7b/13b) Using Ollama
Device: Macbook Pro M1 32GB
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs... | Using tools in non-ChatGPT models | https://api.github.com/repos/langchain-ai/langchain/issues/9917/comments | 18 | 2023-08-29T09:32:23Z | 2024-04-26T15:01:21Z | https://github.com/langchain-ai/langchain/issues/9917 | 1,871,262,749 | 9,917 |
[
"langchain-ai",
"langchain"
] | ### System Info
python: 3.11
### 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 Load... | The sources field is blank in case of passing custom prompt to RetrievalQAWithSourcesChain.from_chain_type | https://api.github.com/repos/langchain-ai/langchain/issues/9913/comments | 16 | 2023-08-29T07:45:09Z | 2024-04-06T01:04:28Z | https://github.com/langchain-ai/langchain/issues/9913 | 1,871,089,920 | 9,913 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Several typos in this section: https://python.langchain.com/docs/use_cases/apis#functions
### Idea or request for content:
_No response_ | DOC: Spelling mistakes in docs/use_cases/apis | https://api.github.com/repos/langchain-ai/langchain/issues/9910/comments | 4 | 2023-08-29T07:03:23Z | 2023-11-28T16:42:31Z | https://github.com/langchain-ai/langchain/issues/9910 | 1,871,024,446 | 9,910 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
hi,
how do I merge 2 vector dbs?
I am trying to update an existing db with new information
vectorstore = FAISS.from_documents(docs_chunked, Embeddings())
vectorstore.save_local("faiss_index_table_string")
vector_db = FAISS.load_local("faiss_index_table_string", ... | Issue: how to merge two vector dbs? | https://api.github.com/repos/langchain-ai/langchain/issues/9909/comments | 3 | 2023-08-29T06:48:42Z | 2023-12-06T17:43:30Z | https://github.com/langchain-ai/langchain/issues/9909 | 1,871,002,148 | 9,909 |
[
"langchain-ai",
"langchain"
] | ### System Info
I tried running it in replit
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | I tried running a simple Langchain code from the docs. This is my error : Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details.. I tried using different Ope... | https://api.github.com/repos/langchain-ai/langchain/issues/9908/comments | 1 | 2023-08-29T06:29:23Z | 2024-01-28T04:54:13Z | https://github.com/langchain-ai/langchain/issues/9908 | 1,870,977,904 | 9,908 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
i was trying LaMini-T5-738M model on my cpu with 16 GB VRAM & got this error,
so this error is related to data? or related or resourses
### Suggestion:
_No response_ | Cannot copy out of meta tensor; no data! | https://api.github.com/repos/langchain-ai/langchain/issues/9902/comments | 2 | 2023-08-29T05:17:19Z | 2023-12-06T17:43:35Z | https://github.com/langchain-ai/langchain/issues/9902 | 1,870,900,265 | 9,902 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
when I write the following code
`from langchain_experimental.sql import SQLDatabaseSequentialChain
`
I get the following error:
Cannot find reference 'SQLDatabaseSequentialChain' in '__init__.py'
### Idea or request for content:
How to fix the problem so I can use **SQLD... | DOC: SQLDatabaseSequentialChain Does Not Exist in langchain_experimental.sql | https://api.github.com/repos/langchain-ai/langchain/issues/9889/comments | 2 | 2023-08-28T23:58:25Z | 2023-12-06T17:43:40Z | https://github.com/langchain-ai/langchain/issues/9889 | 1,870,666,981 | 9,889 |
[
"langchain-ai",
"langchain"
] | ### System Info
I used langchain=0.0.246 on Databricks, but this bug is due to the lack of implementation of `Databricks._identifying_params()`, so system info should not impact.
### Who can help?
I see that @nfcampos contributed to most of the Databricks model serving wrapper, so tagging you here.
@hwchase1... | langchain.llms.Databricks does not save necessary params (e.g. endpoint_name, cluster_driver_port, etc.) to recover from its config | https://api.github.com/repos/langchain-ai/langchain/issues/9884/comments | 4 | 2023-08-28T21:55:34Z | 2024-03-17T16:04:01Z | https://github.com/langchain-ai/langchain/issues/9884 | 1,870,563,425 | 9,884 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using FastAPI which is written in Python to develop nlp tool where user can generate conversation chain by uploading pdf docs. Data extraction and Preprocessing logic written in backend API. I want to send a conversation chain object which is not JSON serializable. Trust me I tried ... | How to send ConversationalRetrievalChain object as a response of api call in javascript | https://api.github.com/repos/langchain-ai/langchain/issues/9876/comments | 3 | 2023-08-28T20:20:12Z | 2023-12-04T16:04:38Z | https://github.com/langchain-ai/langchain/issues/9876 | 1,870,444,609 | 9,876 |
[
"langchain-ai",
"langchain"
] | ### System Info
MultiQueryRetriever will fail to call `_get_relevant_documents` if the Document objects have metadata which are dictionaries.
```python
def _get_relevant_documents(
self,
query: str,
*,
run_manager: CallbackManagerForRetrieverRun,
) -> List[Document]:
... | MultiQueryRetriever (get_relevant_documents) raises TypeError: unhashable type: 'dict' with dic metadata | https://api.github.com/repos/langchain-ai/langchain/issues/9872/comments | 2 | 2023-08-28T19:15:25Z | 2023-12-04T16:04:43Z | https://github.com/langchain-ai/langchain/issues/9872 | 1,870,323,443 | 9,872 |
[
"langchain-ai",
"langchain"
] | ### Feature request
With more incoming of newer LLMs and LLM providers, either through APIs (like Open AI, Anthropic), or Local providers (like gpt4all, ctransformers, llama cpp etc). It becomes hard to keep track of and there is no uniform way os instantiating the LLM class.
For example:
```python
from langc... | Langchain AutoLLM class | https://api.github.com/repos/langchain-ai/langchain/issues/9869/comments | 3 | 2023-08-28T17:10:05Z | 2023-12-06T17:43:45Z | https://github.com/langchain-ai/langchain/issues/9869 | 1,870,136,223 | 9,869 |
[
"langchain-ai",
"langchain"
] | ### System Info
python:3.11.3
langchain: 0.0.274
dist: arch
### Who can help?
```
fastapi==0.103.0
qdrant-client==1.4.0
llama-cpp-python==0.1.72
```
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Model... | llama.cpp does not support AsyncCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/9865/comments | 10 | 2023-08-28T15:30:08Z | 2024-02-15T16:10:16Z | https://github.com/langchain-ai/langchain/issues/9865 | 1,869,988,229 | 9,865 |
[
"langchain-ai",
"langchain"
] | ### System Info
JS LangChain
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | AWS Sagemaker JS Integration | https://api.github.com/repos/langchain-ai/langchain/issues/9862/comments | 5 | 2023-08-28T14:37:00Z | 2024-02-10T16:18:47Z | https://github.com/langchain-ai/langchain/issues/9862 | 1,869,895,228 | 9,862 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We can take advantage from pinecone parallel upsert (see example: https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel)
This will require modification of the current `from_texts` pipeline to
1. Create a batch (chunk) for doing embeddings (ie have a chunk size of 1000 for embedd... | Support index upsert parallelization for pinecone | https://api.github.com/repos/langchain-ai/langchain/issues/9855/comments | 1 | 2023-08-28T13:09:29Z | 2023-09-03T22:37:43Z | https://github.com/langchain-ai/langchain/issues/9855 | 1,869,736,267 | 9,855 |
[
"langchain-ai",
"langchain"
] | ### System Info
274
Mac M2
this error appears often and unexpectedly
but gets solved temporarily by running a force reinstall
`pip install --upgrade --force-reinstall --no-deps --no-cache-dir langchain
`
full error
```
2023-08-28 08:16:48.197 Uncaught app exception
Traceback (most recent call last):
... | AttributeError: module 'langchain' has no attribute 'verbose' | https://api.github.com/repos/langchain-ai/langchain/issues/9854/comments | 27 | 2023-08-28T12:23:46Z | 2024-05-28T02:46:49Z | https://github.com/langchain-ai/langchain/issues/9854 | 1,869,658,676 | 9,854 |
[
"langchain-ai",
"langchain"
] | ### System Info
https://github.com/langchain-ai/langchain/blob/610f46d83aae6e1e25d76a0222b3158e2c4f7034/libs/langchain/langchain/vectorstores/weaviate.py
Issue in Langchain Weaviate Wrapper.
Trying to constraint the search in case of `similarity_score_threshold` ignoring the `where_filter ` filters in the langchai... | Constraining the search using 'where_filter' in case of similarity_score_threshold for langchain Weaviate wrapper | https://api.github.com/repos/langchain-ai/langchain/issues/9853/comments | 2 | 2023-08-28T12:02:19Z | 2023-12-04T16:04:53Z | https://github.com/langchain-ai/langchain/issues/9853 | 1,869,623,805 | 9,853 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
db = SQLDatabase.from_uri(
"mysql+pyodbc://Driver={SQL Server};Server=DESKTOP-17L7UI1\SQLEXPRESS;Database=DociQDb;rusted_Connection=yes;",)
I am trying to connect to my microsoft sql server but this give me error
sqlalchemy.exc.DBAPIError: (pyodbc.Error) ('IM010', '[IM010] [Microso... | How to connect MS-SQL with LANG-CHAIN | https://api.github.com/repos/langchain-ai/langchain/issues/9848/comments | 11 | 2023-08-28T11:29:04Z | 2024-03-31T18:06:33Z | https://github.com/langchain-ai/langchain/issues/9848 | 1,869,572,223 | 9,848 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.259
Ubuntu 20.04
Python 3.9.15
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | CharacterTextSplitter inconsistent/wrong output using regex pattern | https://api.github.com/repos/langchain-ai/langchain/issues/9843/comments | 2 | 2023-08-28T09:13:20Z | 2023-12-04T16:05:03Z | https://github.com/langchain-ai/langchain/issues/9843 | 1,869,349,364 | 9,843 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently, when the _verbose_ attribute is set to True in the constructor of an _LLMChain_ object, only the input passed to the LLM is shown. It would be desirable to also see the raw output of the LLM before it is parsed.
### Motivation
Seeing both inputs and outputs of the LLM would help debug ... | Being able to see model's responses when using verbose mode | https://api.github.com/repos/langchain-ai/langchain/issues/9842/comments | 5 | 2023-08-28T08:47:43Z | 2023-12-04T16:05:09Z | https://github.com/langchain-ai/langchain/issues/9842 | 1,869,306,384 | 9,842 |
[
"langchain-ai",
"langchain"
] | ### System Info
**langchain 0.0.274:**
When trying to instantiate a VLLM object, I'm getting the following error:
**TypeError: Can't instantiate abstract class VLLM with abstract method _agenerate**
This is the code I'm using which is 1-1 as the VLLM example on langchain documentation:
https://python.langchain... | VLLM: Can't instantiate abstract class VLLM with abstract method _agenerate | https://api.github.com/repos/langchain-ai/langchain/issues/9841/comments | 2 | 2023-08-28T07:30:09Z | 2023-12-04T16:05:13Z | https://github.com/langchain-ai/langchain/issues/9841 | 1,869,160,370 | 9,841 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
How come there is a generative agents page https://js.langchain.com/docs/use_cases/agent_simulations/generative_agents in JS, but not one in python? I was reading this [blog post](https://blog.langchain.dev/agents-round/) and the links to the generative_agents page didn't work. ... | DOC: Generative Agents Page In JS/TS but not Python | https://api.github.com/repos/langchain-ai/langchain/issues/9840/comments | 1 | 2023-08-28T07:04:09Z | 2023-09-07T03:07:23Z | https://github.com/langchain-ai/langchain/issues/9840 | 1,869,119,162 | 9,840 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/few_shot_examples_chat under Dynamic few-shot prompting,
```
example_selector = SemanticSimilarityExampleSelector(
vectorstore=vectorstore,
k=2,
)
# The prompt template will load exa... | DOC: Add clarification to Modules/ModelsI/O/Prompts/Prompt Templates/Few-shot examples for chat models | https://api.github.com/repos/langchain-ai/langchain/issues/9839/comments | 2 | 2023-08-28T06:48:00Z | 2023-12-04T16:05:18Z | https://github.com/langchain-ai/langchain/issues/9839 | 1,869,095,141 | 9,839 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
At https://python.langchain.com/docs/integrations/document_loaders/news, there is an issue with the path for importing `NewsURLLoader`. Currently, it's being imported from `from langchain.document_loaders`, but it gives `importerror`.
### Idea or request for content:
The import ... | DOC: Import path for NewsURLLoader needs to fixed | https://api.github.com/repos/langchain-ai/langchain/issues/9825/comments | 3 | 2023-08-27T14:49:04Z | 2023-12-03T16:04:21Z | https://github.com/langchain-ai/langchain/issues/9825 | 1,868,522,804 | 9,825 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello Team,
I am using the below post from Langchain in order to use PowerBIToolkit for connecting to the dataset and tables in it. However I am not able to execute the code.
https://python.langchain.com/docs/integrations/toolkits/powerbi
I have also gone through an issue raised in this reposit... | field "credential" not yet prepared so type is still a ForwardRef, you might need to call PowerBIDataset.update_forward_refs() | https://api.github.com/repos/langchain-ai/langchain/issues/9823/comments | 5 | 2023-08-27T11:14:51Z | 2024-02-12T13:54:38Z | https://github.com/langchain-ai/langchain/issues/9823 | 1,868,456,842 | 9,823 |
[
"langchain-ai",
"langchain"
] | Hi,
I'm hoping someone smarter than me can help me understand how to write a callback that works with Elevenlabs.
I'm trying to get Elevenlabs to stream TTS based on a response from the GPT-4 API. I can do this easily using OpenAIs own libarary, but I cannot figure out how to do this using langchains callbacks i... | Issue: Help to make a callback for Elevenlabs API streaming endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/9822/comments | 10 | 2023-08-27T10:25:39Z | 2024-02-14T16:11:28Z | https://github.com/langchain-ai/langchain/issues/9822 | 1,868,442,230 | 9,822 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I find StructuredOutputParser to not work that well with Claude. It also takes quite a few tokens to output its format instructions.
It would be great to have a built-in support for using XMLs as a meaning of transportation.
### Motivation
Claude supports and works really well with XML t... | Claude XML parser | https://api.github.com/repos/langchain-ai/langchain/issues/9820/comments | 2 | 2023-08-27T08:56:22Z | 2023-12-03T16:04:26Z | https://github.com/langchain-ai/langchain/issues/9820 | 1,868,416,901 | 9,820 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
llm = ChatOpenAI(
max_retries=3,
temperature=0.7,
model_name="gpt-4",
streaming=True,
callbacks=[AsyncStreamingCallbackHandler],
)
```
Tool params
` return_direct=False` # Toggling this to TRUE provi... | Issue: Final Answer missing Document sources when using initialize_agent RetrievalQA with Agent tool boolean flag return_direct=False | https://api.github.com/repos/langchain-ai/langchain/issues/9816/comments | 4 | 2023-08-27T01:08:29Z | 2023-12-03T16:04:31Z | https://github.com/langchain-ai/langchain/issues/9816 | 1,868,315,540 | 9,816 |
[
"langchain-ai",
"langchain"
] | ### System Info
I was just trying to run the Tagging tutorial (no code modification on colab).
https://python.langchain.com/docs/use_cases/tagging
And on the below code part,
```chain = create_tagging_chain_pydantic(Tags, llm)```
I got this error.
```
--------------------------------------------------------... | ValidationError: 2 validation errors for PydanticOutputFunctionsParser | https://api.github.com/repos/langchain-ai/langchain/issues/9815/comments | 21 | 2023-08-27T01:01:05Z | 2024-08-06T16:07:28Z | https://github.com/langchain-ai/langchain/issues/9815 | 1,868,314,208 | 9,815 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hey, I'm trying to gather some empirical evidence that RetrievalQAWithSources chain often hallucinates to returns all sources rather than cite them.
Current Issue:
Assuming you have a retriever that returns 4 sources, RetrievalQAWithSources gets confused with the below prompt:
Given the followin... | Renaming RetrievalQAWithSources to RetrievalQAWithCitations | https://api.github.com/repos/langchain-ai/langchain/issues/9812/comments | 2 | 2023-08-26T23:33:34Z | 2023-12-02T16:04:52Z | https://github.com/langchain-ai/langchain/issues/9812 | 1,868,296,846 | 9,812 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Background**
I'm trying to run the Streamlit Callbacks example
https://python.langchain.com/docs/integrations/callbacks/streamlit
My code is copy + paste but I get an error from the LangChain library import.
**Error**
```
ImportError: cannot import name 'StreamlitCallbackHandler' from 'la... | ImportError: cannot import name 'StreamlitCallbackHandler' from 'langchain.callbacks' | https://api.github.com/repos/langchain-ai/langchain/issues/9811/comments | 3 | 2023-08-26T23:22:26Z | 2023-09-19T02:01:31Z | https://github.com/langchain-ai/langchain/issues/9811 | 1,868,294,838 | 9,811 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version 0.0.273
selenium version 4.11.2
In version 4.11.2, [Selenium fully deprecated and removed executable_path parameter from webdriver](https://github.com/SeleniumHQ/selenium/commit/9f5801c82fb3be3d5850707c46c3f8176e3ccd8e) in favor of using Service class object to pass in path/execut... | Issue: Selenium Webdriver parameter executable_path deprecated | https://api.github.com/repos/langchain-ai/langchain/issues/9808/comments | 4 | 2023-08-26T21:15:49Z | 2023-12-02T16:04:57Z | https://github.com/langchain-ai/langchain/issues/9808 | 1,868,270,215 | 9,808 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.274, Python
### Who can help?
@hwchase17 @agola
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | It should be possible to pass client to SagemakerEndpointEmbeddings & SagemakerEndpoint class | https://api.github.com/repos/langchain-ai/langchain/issues/9807/comments | 1 | 2023-08-26T21:11:58Z | 2023-12-02T16:05:02Z | https://github.com/langchain-ai/langchain/issues/9807 | 1,868,269,407 | 9,807 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain.agents import AgentExecutor
from langchain.agents.agent_types im... | DOC: How to Connect Database Agent with SqlServer | https://api.github.com/repos/langchain-ai/langchain/issues/9804/comments | 20 | 2023-08-26T17:45:27Z | 2024-08-06T16:07:46Z | https://github.com/langchain-ai/langchain/issues/9804 | 1,868,188,378 | 9,804 |
[
"langchain-ai",
"langchain"
] | ### System Info
Google Auth version 2.22.0
Python version 3.8.8
langchain version: 0.0.273
### Who can help?
@eyurtsev the GoogleDriveLoader does not seem to be working as expected. I get a error of AttributeError: 'Credentials' object has no attribute 'with_scopes'.
### Information
- [X] The official example no... | GoogleDriveLoader - AttributeError: 'Credentials' object has no attribute 'with_scopes' | https://api.github.com/repos/langchain-ai/langchain/issues/9803/comments | 2 | 2023-08-26T17:11:56Z | 2023-08-26T19:09:12Z | https://github.com/langchain-ai/langchain/issues/9803 | 1,868,177,575 | 9,803 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
May I inquire whether the vector stroe accommodates the provision for customized database connection pooling?
Typically, opening a database connection is an expensive operation, especially if the database is remote. Pooling keeps the connections active so that, when a connection is l... | Issue: vector store supports custom database connections? | https://api.github.com/repos/langchain-ai/langchain/issues/9802/comments | 1 | 2023-08-26T17:04:57Z | 2023-10-28T07:03:20Z | https://github.com/langchain-ai/langchain/issues/9802 | 1,868,175,495 | 9,802 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.