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"
] | ### Issue you'd like to raise.
hey there,
I am facing problem for streaming responses in fastapi can i get some info that how
to use websockets to stream the response
### Suggestion:
_No response_ | how to deploy langchain bot using fastapi with streaming responses | https://api.github.com/repos/langchain-ai/langchain/issues/8029/comments | 2 | 2023-07-20T21:02:55Z | 2023-10-26T16:04:48Z | https://github.com/langchain-ai/langchain/issues/8029 | 1,814,794,951 | 8,029 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Update `TextGen` to include `streaming` support for Oobabooga.
### Motivation
Oobabooga provides a streaming API that will be very helpful. [TextGen](https://github.com/hwchase17/langchain/pull/5997) already supports the regular API.
### Your contribution
:) | Streaming support for Oobabooga API? | https://api.github.com/repos/langchain-ai/langchain/issues/8028/comments | 4 | 2023-07-20T20:54:55Z | 2023-11-20T16:05:42Z | https://github.com/langchain-ai/langchain/issues/8028 | 1,814,786,549 | 8,028 |
[
"langchain-ai",
"langchain"
] | ### Feature request
This probably needs more refinement but how but there are a lot of components floating around that overlaps with one another.
As per my understanding, the broader categorization should be:
Chains: Simple scenarios - steps are hardcoded
Agent Executors: Complex scenarios - steps are determine... | Agents and agent executor are 2 different concepts and shouldn't be placed in the same bucket | https://api.github.com/repos/langchain-ai/langchain/issues/8024/comments | 1 | 2023-07-20T19:46:36Z | 2023-10-26T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8024 | 1,814,693,973 | 8,024 |
[
"langchain-ai",
"langchain"
] | ### Feature request
E.g., it would be great if
```
m = AIMessage(content="Hi!")
print(m)
```
returned something like "AI: Hi!"
### Motivation
It would make representation of message history (e.g., for debugging or serialization into a json) a little bit easier.
### Your contribution
yes, I'm happy to do it... | Add a str representation for the Message | https://api.github.com/repos/langchain-ai/langchain/issues/8023/comments | 2 | 2023-07-20T18:59:28Z | 2023-10-26T16:04:58Z | https://github.com/langchain-ai/langchain/issues/8023 | 1,814,626,098 | 8,023 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to use create_csv_agent with memory in order to make the model answer based on previous answers so this was the code I used to achieve such task, mostly from issue #5611 with a few adjustments
```
def csv_extractor(json_request: str):
'''
Useful for extracting d... | Issue:Using memory with agents gives wrong results | https://api.github.com/repos/langchain-ai/langchain/issues/8020/comments | 4 | 2023-07-20T17:59:43Z | 2023-10-28T16:04:45Z | https://github.com/langchain-ai/langchain/issues/8020 | 1,814,527,905 | 8,020 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How do you extract the last thought process from an agent?
The final answer from the agent is too summarized for my liking. However the 'Final Thought' process is great with all the details. I am having some difficulties extracting that information event with `return_immediate_steps=T... | Extract Final Thoughts from Agent as part of Final Answer. | https://api.github.com/repos/langchain-ai/langchain/issues/8019/comments | 3 | 2023-07-20T17:53:44Z | 2023-08-14T14:47:22Z | https://github.com/langchain-ai/langchain/issues/8019 | 1,814,519,811 | 8,019 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am writing to request an enhancement for the FLARE chain in Langchain. I'm wondering how I can change the class to accept local (fine-tuned) models rather then use OpenAi API. Since FLARE uses a retriever, a question generator, and a response generator, it would be interesting to leverage the s... | FLARE Implementation with Local Fine-Tuned Models | https://api.github.com/repos/langchain-ai/langchain/issues/8015/comments | 3 | 2023-07-20T16:36:17Z | 2024-04-23T07:00:46Z | https://github.com/langchain-ai/langchain/issues/8015 | 1,814,401,030 | 8,015 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I was looking up the documentation as well. However, from the documentation it seems as if both types of agents are doing the same thing. Even when I looked at the backend code, both agent codes seemed almost identical. I am not so sure what I am missing in terms of my understanding. Any... | What is the difference between OpenAI Function and OpenAI Multi Functions Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8011/comments | 4 | 2023-07-20T15:07:47Z | 2023-12-16T21:51:12Z | https://github.com/langchain-ai/langchain/issues/8011 | 1,814,224,911 | 8,011 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hello every one!
I am following the tutorial of the use of agents. Specifically, now I am exploring the type [OpenAIFunctions. ](https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent).
I am following the exact same tutorial and I get some err... | Error in OpenAI Functions Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8009/comments | 5 | 2023-07-20T14:47:06Z | 2023-07-20T18:25:10Z | https://github.com/langchain-ai/langchain/issues/8009 | 1,814,175,432 | 8,009 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi Everyone,
I am trying to use `llama-2-70b-chat` with the LlamaCpp() as described here : https://python.langchain.com/docs/modules/model_io/models/llms/integrations/llamacpp#metal
My system specs are
MacBook Pro, M1 Chip, 16GB, 500GB SSD
Here is my code using LlamaCpp:
... | Issue: Using "llama-2-70b-chat/ggml-model-q4_0.bin" with LlamaCpp() | https://api.github.com/repos/langchain-ai/langchain/issues/8004/comments | 12 | 2023-07-20T13:52:10Z | 2023-11-15T16:07:27Z | https://github.com/langchain-ai/langchain/issues/8004 | 1,814,051,785 | 8,004 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I came to know that there are two methods to keep memory in **ConversationalRetrievalChain**
1. Method -1
Using **ConversationBufferMemory**
```
from langchain.chains import ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
memory = Conversation... | Difference between ConversationBufferMemory and chat_history parameter | https://api.github.com/repos/langchain-ai/langchain/issues/8002/comments | 5 | 2023-07-20T13:40:25Z | 2024-07-02T12:21:04Z | https://github.com/langchain-ai/langchain/issues/8002 | 1,814,025,506 | 8,002 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version== 0.0.237
Platform == Google Colaboratory
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prom... | APIfy dataset loader does not provide the attribute "page_content" in the loaded documents | https://api.github.com/repos/langchain-ai/langchain/issues/7999/comments | 5 | 2023-07-20T12:32:18Z | 2023-10-28T16:04:50Z | https://github.com/langchain-ai/langchain/issues/7999 | 1,813,895,614 | 7,999 |
[
"langchain-ai",
"langchain"
] | ### System Info
`langchain 0.0.235`
I wrote my own callback handler
`class ChatHandler(BaseCallbackHandler):`
which includes the function
```
def on_tool_end(self, output: str, observation_prefix: Optional[str] = None, llm_prefix: Optional[str] = None, **kwargs: Any) -> Any:
"""Run when tool ends ... | custom BaseCallbackHandler in STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent not calling on_tool_end | https://api.github.com/repos/langchain-ai/langchain/issues/7998/comments | 3 | 2023-07-20T11:16:38Z | 2023-07-25T14:15:21Z | https://github.com/langchain-ai/langchain/issues/7998 | 1,813,748,887 | 7,998 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've been stuck on a task that I was working on, not knowing how to exactly proceed with it. Where I need to combine different type of chain in the routes of an Agent.
So I have managed to build the following pipeline using an Agent. I receive a query and according to the context of t... | Issue: <Combining LLMChain and ConversationalRelationChain in an agent's routes> | https://api.github.com/repos/langchain-ai/langchain/issues/7997/comments | 5 | 2023-07-20T11:01:40Z | 2024-01-12T05:24:25Z | https://github.com/langchain-ai/langchain/issues/7997 | 1,813,722,288 | 7,997 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.230
MacOS
### 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
- [ ] Out... | I don't have access to the short-term memory using Agent with gpt-3.5-turbo | https://api.github.com/repos/langchain-ai/langchain/issues/7996/comments | 2 | 2023-07-20T10:46:50Z | 2023-10-26T16:05:28Z | https://github.com/langchain-ai/langchain/issues/7996 | 1,813,694,849 | 7,996 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.9
langchain 0.0.234
qdrant-client 1.1.7
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | Can't connect to Qdrant since 0.0.234 | https://api.github.com/repos/langchain-ai/langchain/issues/7995/comments | 7 | 2023-07-20T10:30:28Z | 2023-11-23T16:07:15Z | https://github.com/langchain-ai/langchain/issues/7995 | 1,813,665,397 | 7,995 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using the below code to make an agent that decides, upon the question, whether to use semantic search or pandas agent
to answer the question about a dataset of employees
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified script... | Get the code applied by the pandas agent | https://api.github.com/repos/langchain-ai/langchain/issues/7994/comments | 1 | 2023-07-20T10:19:46Z | 2023-07-30T06:05:42Z | https://github.com/langchain-ai/langchain/issues/7994 | 1,813,647,909 | 7,994 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.237.
Python 3.11
Mac OS X M1
### 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
- [ ] Ou... | ChatLangChain requesting _default_relevance_score_fn' on <module 'langchain.vectorstores.faiss> on init | https://api.github.com/repos/langchain-ai/langchain/issues/7992/comments | 6 | 2023-07-20T09:32:36Z | 2023-11-05T16:05:39Z | https://github.com/langchain-ai/langchain/issues/7992 | 1,813,565,399 | 7,992 |
[
"langchain-ai",
"langchain"
] | null | Does it support 文心一言? | https://api.github.com/repos/langchain-ai/langchain/issues/7990/comments | 15 | 2023-07-20T08:59:25Z | 2023-12-18T23:49:08Z | https://github.com/langchain-ai/langchain/issues/7990 | 1,813,507,242 | 7,990 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain Python v0.0.237
Based on this code snippet it appears that OutputFixingParser doesn't support async flows.
https://github.com/hwchase17/langchain/blob/df84e1bb64d96377f909651f696f310c43c2f2c5/langchain/output_parsers/fix.py#L46-L52
It's calling the run function and not arun
### Who ca... | OutputFixingParser is not async | https://api.github.com/repos/langchain-ai/langchain/issues/7989/comments | 2 | 2023-07-20T08:29:12Z | 2023-10-26T16:05:33Z | https://github.com/langchain-ai/langchain/issues/7989 | 1,813,454,976 | 7,989 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.237
python==3.8.16
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | Redis does not use the parameters passed in by Redis.as_retriever() | https://api.github.com/repos/langchain-ai/langchain/issues/7986/comments | 2 | 2023-07-20T07:57:13Z | 2023-12-09T16:42:25Z | https://github.com/langchain-ai/langchain/issues/7986 | 1,813,396,450 | 7,986 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Almost all the chains offered in langchain framework support Verbose option which helps the developers understand what prompt is being applied under the hood and plan their work accordingly. It immensely help while debugging. create_extraction_chain is a very helpful one and I found this is not a... | TypeError: create_extraction_chain() got an unexpected keyword argument 'verbose' | https://api.github.com/repos/langchain-ai/langchain/issues/7982/comments | 0 | 2023-07-20T06:39:12Z | 2023-07-20T13:52:15Z | https://github.com/langchain-ai/langchain/issues/7982 | 1,813,275,803 | 7,982 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How do you increase the max_tokens for the agent? I am using gpt35turbo16k. I notice that the model is only using ~4096 tokens. Is there a way to override this?
The reason I am asking is I am ingesting large text in the prompt and the final answer I am getting is so short that does no... | Agent does not use max_tokens parameter from ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/7981/comments | 1 | 2023-07-20T05:58:45Z | 2023-08-14T14:47:00Z | https://github.com/langchain-ai/langchain/issues/7981 | 1,813,216,875 | 7,981 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.

In Milvus, we are able to create databases and create collections within the database itself. Hence i will be able to create a collection with the same name in different databases. Ho... | Issue: How to pass in database name parameter into Milvus | https://api.github.com/repos/langchain-ai/langchain/issues/7979/comments | 14 | 2023-07-20T05:32:27Z | 2024-08-05T08:13:51Z | https://github.com/langchain-ai/langchain/issues/7979 | 1,813,191,448 | 7,979 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to use some LLM model from huggingface, for example "model_name=lmsys/vicuna-13b-v1.3", in the chain `load_qa_chain`. The LLM model could be fetched through AutoModelForCausalLM.from_pretrained, e.g.
```
model = AutoModelForCausalLM.from_pretrained(
model_name... | Issue: integrate local LLM (from huggingface) into load_qa_chain | https://api.github.com/repos/langchain-ai/langchain/issues/7975/comments | 2 | 2023-07-20T02:37:21Z | 2023-10-26T16:05:38Z | https://github.com/langchain-ai/langchain/issues/7975 | 1,813,037,695 | 7,975 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a valid serpapi API key that I can use in the serpapi playground and with direct calls using python requests, but when I use it with Langchain I get an error saying that the key is invalid. I have my key set as environment variable, but I continue to get this error:
ValueError:... | Serpapi API key not working with Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/7971/comments | 5 | 2023-07-19T23:53:59Z | 2024-05-12T16:22:03Z | https://github.com/langchain-ai/langchain/issues/7971 | 1,812,900,999 | 7,971 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version is the latest one - 0.0.237
### 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
- [ ] O... | Argument 'string' has incorrect type (expected str, got lxml.etree._ElementUnicodeResult) | https://api.github.com/repos/langchain-ai/langchain/issues/7968/comments | 4 | 2023-07-19T22:23:56Z | 2023-10-28T16:04:55Z | https://github.com/langchain-ai/langchain/issues/7968 | 1,812,815,863 | 7,968 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac M2 Max 32GB
### Who can help?
@rlancemartin
### 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 ... | Doc metadata can get passed into prompt unexpectedly | https://api.github.com/repos/langchain-ai/langchain/issues/7967/comments | 1 | 2023-07-19T21:57:17Z | 2023-10-25T16:05:37Z | https://github.com/langchain-ai/langchain/issues/7967 | 1,812,789,717 | 7,967 |
[
"langchain-ai",
"langchain"
] | 1. Dark mode by default would be great
2. A theme that uses black instead of dark grey (for OLED screens) would also be appreciated
I'm sure there are others here who read the new additions to docs before bed lol | Petition for docs to be dark mode by default | https://api.github.com/repos/langchain-ai/langchain/issues/7965/comments | 1 | 2023-07-19T21:48:22Z | 2023-08-08T20:10:36Z | https://github.com/langchain-ai/langchain/issues/7965 | 1,812,781,032 | 7,965 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
Not sure if someone is facting this "issue" or is something wrong I'm doing.
So far .. I read, GPT 3.5 turbo and later should be used with "chat_models" instead of "models". While testing the "summary" chaing (map_reduce). I noticed that using "model" llm it does indeed run in pa... | Issue: [Azure] Summary chain with chat 3.5 turbo - Not being parallelized | https://api.github.com/repos/langchain-ai/langchain/issues/7964/comments | 2 | 2023-07-19T21:34:45Z | 2023-10-25T16:05:41Z | https://github.com/langchain-ai/langchain/issues/7964 | 1,812,765,599 | 7,964 |
[
"langchain-ai",
"langchain"
] | ### System Info
openai==0.27.7
langchain==0.0.237
chromadb==0.4.2
Platform: Windows 11
Python Version: 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embeddin... | Embedding Seems Unsuccessful for Chroma + OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/7963/comments | 6 | 2023-07-19T21:33:31Z | 2023-08-22T09:48:08Z | https://github.com/langchain-ai/langchain/issues/7963 | 1,812,764,337 | 7,963 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.237
python 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | AgentType.OPENAI_MULTI_FUNCTIONS with FAISS VectorStore results with "ToolException('Too many arguments to single-input" error | https://api.github.com/repos/langchain-ai/langchain/issues/7958/comments | 1 | 2023-07-19T20:43:20Z | 2023-10-25T16:05:46Z | https://github.com/langchain-ai/langchain/issues/7958 | 1,812,700,556 | 7,958 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.234
Python 3.10.9
aiohttp 3.8.4
Getting the following error when running an agent in async with agent.arun('Get time in Salta of Argentina') with a requests_get tool.
[tool/start] [1:chain:AgentExecutor > 7:tool:requests_get] Entering Tool run with input:
"http://worldtimeapi.org... | TypeError("aiohttp.client.ClientSession.request() got multiple values for keyword argument 'auth'" with arun and requests_get tool on an agent | https://api.github.com/repos/langchain-ai/langchain/issues/7953/comments | 1 | 2023-07-19T18:32:02Z | 2023-10-25T16:05:51Z | https://github.com/langchain-ai/langchain/issues/7953 | 1,812,505,753 | 7,953 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'm getting this back from my LLM:
Observation: Use Search is not a valid tool, try another one.
Obviously the LLM would like to use the search tool, but didn't request it just right. It seems LangChain has been thoroughly tested with OpenAI, but not so much other models. Which is totally und... | Ability to translate/interpret LLM tool requests | https://api.github.com/repos/langchain-ai/langchain/issues/7949/comments | 1 | 2023-07-19T17:39:47Z | 2023-10-25T16:05:56Z | https://github.com/langchain-ai/langchain/issues/7949 | 1,812,411,168 | 7,949 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hello every one!
I am following the tutorial of [OpenAI function Agent ](https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent).
I downloaded the chinook database in MySQL , I made the connection successfully and got good answers from this... | OpenAI functions Agent is not working with SQLDatabaseChain. | https://api.github.com/repos/langchain-ai/langchain/issues/7946/comments | 2 | 2023-07-19T17:01:47Z | 2023-10-25T16:06:01Z | https://github.com/langchain-ai/langchain/issues/7946 | 1,812,350,601 | 7,946 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.236
### Who can help?
@eyurtsev
When attempting to load a JSON file from S3, I encounter the following error:
`An error occurred: Json schema does not match the Unstructured schema`
Don't know if it is related to https://github.com/hwchase17/langchain/issues/2222
### Information... | Error when loading JSON file using S3FileLoader | https://api.github.com/repos/langchain-ai/langchain/issues/7944/comments | 3 | 2023-07-19T16:06:55Z | 2023-11-12T10:43:32Z | https://github.com/langchain-ai/langchain/issues/7944 | 1,812,263,812 | 7,944 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
We don't have enough documentation Conversational chain and found only documentation relates conversational retrieval chain. We are looking for separating the retriever functionality. Please provide some examples on passing context (lang chain documents ) to conversational chain
... | DOC: Passing Context to Conversational Chain | https://api.github.com/repos/langchain-ai/langchain/issues/7936/comments | 4 | 2023-07-19T13:25:19Z | 2024-03-30T12:30:15Z | https://github.com/langchain-ai/langchain/issues/7936 | 1,811,944,924 | 7,936 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain v0.0.235
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Out... | "create_structured_output_chain" creates awful schema, deteriorates performance and should be fixed or removed | https://api.github.com/repos/langchain-ai/langchain/issues/7935/comments | 3 | 2023-07-19T10:50:29Z | 2023-11-08T16:17:23Z | https://github.com/langchain-ai/langchain/issues/7935 | 1,811,689,381 | 7,935 |
[
"langchain-ai",
"langchain"
] | ### System Info
I run my code in google colab. [this is link to code.](https://colab.research.google.com/drive/1vqTz68WVT7qCGpDSahROztCUphmXy9xI?usp=sharing)
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
microcode : 0xffffffff
cpu M... | ImportError: cannot import name 'ChatMessage' from 'vertexai.language_models' (/usr/local/lib/python3.10/dist-packages/vertexai/language_models/__init__.py) | https://api.github.com/repos/langchain-ai/langchain/issues/7932/comments | 3 | 2023-07-19T10:17:30Z | 2023-11-08T21:53:02Z | https://github.com/langchain-ai/langchain/issues/7932 | 1,811,635,089 | 7,932 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain Version- 0.0.235, Windows, Python Version-3.9.16
As per below source code of SQLDatabase, before executing any sql query, connection.exec_driver_sql(f"SET search_path TO {self._schema}") is executed for all database except 'snowflake' and 'bigquery'.
if self._schema is not None:
... | SET search_path TO {self._schema} is executing by SQLDatabase for all databases except 'snowflake' and 'bigquery'. | https://api.github.com/repos/langchain-ai/langchain/issues/7928/comments | 4 | 2023-07-19T08:42:23Z | 2023-12-13T16:08:13Z | https://github.com/langchain-ai/langchain/issues/7928 | 1,811,463,298 | 7,928 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
when I use langchain.agents,the parameter llm can only use OpenAI or other large language model ?
### Suggestion:
_No response_ | llm can only use OpenAI? | https://api.github.com/repos/langchain-ai/langchain/issues/7926/comments | 4 | 2023-07-19T07:49:20Z | 2023-10-26T16:05:48Z | https://github.com/langchain-ai/langchain/issues/7926 | 1,811,368,550 | 7,926 |
[
"langchain-ai",
"langchain"
] | ### System Info
Bedrock Embeddings doesn't have support for modifying the endpoint_url, the LLMs one have.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts ... | Bedrock Embeddings: Add support for endpoint_url | https://api.github.com/repos/langchain-ai/langchain/issues/7925/comments | 2 | 2023-07-19T07:27:08Z | 2023-10-25T16:06:16Z | https://github.com/langchain-ai/langchain/issues/7925 | 1,811,334,507 | 7,925 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi I've tried doing the search functionalities using pymilvus and everything works perfectly fine doing similarity search, i am able to get the most relevant documents. However, when i try using the same credentials and parameters on Langchain.vectorstore.Milvus i am unable to replicate ... | Issue: Cannot replicate search function on Langchain Milvus | https://api.github.com/repos/langchain-ai/langchain/issues/7924/comments | 2 | 2023-07-19T07:06:55Z | 2023-10-25T16:06:22Z | https://github.com/langchain-ai/langchain/issues/7924 | 1,811,300,473 | 7,924 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.216
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | InvalidRequestError: Resource not found. when running pandas_dataframe_agent over AzureOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/7923/comments | 3 | 2023-07-19T06:44:17Z | 2023-10-30T12:05:13Z | https://github.com/langchain-ai/langchain/issues/7923 | 1,811,270,099 | 7,923 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
Here is how i have initilized conversation memory
memory = ConversationSummaryBufferMemory(llm=llm_model,memory_key="chat_history",return_messages=True,max_token_limit=500)
Here is how I have used ConversationalRetrievalChain
chain=ConversationalRetrievalChain.from_llm(llm_model... | Issue: Not getting good chat results on enabling Coversation Memory in langchain | https://api.github.com/repos/langchain-ai/langchain/issues/7921/comments | 10 | 2023-07-19T05:47:22Z | 2023-10-27T16:06:29Z | https://github.com/langchain-ai/langchain/issues/7921 | 1,811,200,154 | 7,921 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Implementing _similarity_search_with_relevance_scores on PGVector so users can set "search_type" to "similarity_score_threshold" without raising NotImplementedError.
```
retriever = pgvector.as_retriever(search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.7}) ... | Implementing search threshold on PGVector | https://api.github.com/repos/langchain-ai/langchain/issues/7905/comments | 1 | 2023-07-18T20:27:50Z | 2023-07-18T20:29:07Z | https://github.com/langchain-ai/langchain/issues/7905 | 1,810,665,965 | 7,905 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be nice if HuggingFaceHub models could be called in async mode (concurrently), as currently supported by Anthropic and OpenAI models.
### Motivation
I wanted to compare performance of some models in a bunch of tasks. I was comparing Anthropic and OpenAI models, and when I tried using a H... | Async calls for HuggingFaceHub | https://api.github.com/repos/langchain-ai/langchain/issues/7902/comments | 6 | 2023-07-18T19:59:17Z | 2023-11-15T16:08:10Z | https://github.com/langchain-ai/langchain/issues/7902 | 1,810,625,788 | 7,902 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langhain v0.0.235
Python v3.11
### Who can help?
@agola11 @hw
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | ChatOpenAI needs usage field that Google PaLM 2 Bison doesn't provide | https://api.github.com/repos/langchain-ai/langchain/issues/7900/comments | 2 | 2023-07-18T19:25:22Z | 2023-09-22T07:58:21Z | https://github.com/langchain-ai/langchain/issues/7900 | 1,810,580,170 | 7,900 |
[
"langchain-ai",
"langchain"
] | ### System Info
Occasional error out of CSV agent with JSON parsing error. Typically occurs when prompting a multi step task, but some multi step tasks are handled fine. Even in the same multi step task, depending on the wording of the prompt it can be run successfully but with different wording will error out.
H... | CSV Agent JSON Parsing Errors | https://api.github.com/repos/langchain-ai/langchain/issues/7897/comments | 7 | 2023-07-18T18:13:05Z | 2024-02-13T16:15:08Z | https://github.com/langchain-ai/langchain/issues/7897 | 1,810,454,689 | 7,897 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I'm updating my code to use the new OpenAI function calling structure.
Requirements:
- New messages saved in DynamoDB together with past messages for a user
- Custom prompt : 10 last messages from DynamoDB memory of the user
- Function calling
### Past code
The `create... | Issue: OpenAI Function Agent with custom prompt from memory | https://api.github.com/repos/langchain-ai/langchain/issues/7896/comments | 2 | 2023-07-18T18:07:22Z | 2023-07-18T21:27:03Z | https://github.com/langchain-ai/langchain/issues/7896 | 1,810,447,563 | 7,896 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac OS
Versions:
Python 3.8.15
Package | Version
-----------------------|--------
aiohttp | 3.8.4
aiosignal | 1.3.1
async-timeout | 4.0.2
attrs |23.1.0
certifi |2023.5.7
charset-normalizer | 3.2.0
d... | Pydantic exception when creating GPT4All model | https://api.github.com/repos/langchain-ai/langchain/issues/7895/comments | 2 | 2023-07-18T18:01:23Z | 2023-10-24T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7895 | 1,810,440,214 | 7,895 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version - 0.0.235
Python version - 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | StructuredChatAgent uses SQLDatabaseToolkit tools in wrong order | https://api.github.com/repos/langchain-ai/langchain/issues/7889/comments | 6 | 2023-07-18T16:20:09Z | 2024-06-10T17:12:36Z | https://github.com/langchain-ai/langchain/issues/7889 | 1,810,278,050 | 7,889 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Python 3.9.13
- langchain-0.0.235-py3-none-any.whl
- chromadb-0.4.0-py3-none-any.whl
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts ... | ChromaDB 0.4+ is no longer compatible with client config | https://api.github.com/repos/langchain-ai/langchain/issues/7887/comments | 51 | 2023-07-18T15:56:56Z | 2024-02-16T16:09:33Z | https://github.com/langchain-ai/langchain/issues/7887 | 1,810,236,515 | 7,887 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When entering the embed text in the database like pgvector, I would like to encrypt the raw text with KMS Key or any such encryption and use raw text for generating embedding
### Motivation
Security
### Your contribution
N/A | Encryption Key support | https://api.github.com/repos/langchain-ai/langchain/issues/7886/comments | 3 | 2023-07-18T15:49:30Z | 2023-12-25T16:09:34Z | https://github.com/langchain-ai/langchain/issues/7886 | 1,810,223,070 | 7,886 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
what is the difference between a conversationChain and a conversationalRetrieval chain. I had originially assumed that the conversational retrieval chain would be able to take in documents, input, and memory (which I have gotten to successfully work) and was under the assumption that the... | Difference between ConversationChain and ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7885/comments | 3 | 2023-07-18T15:39:20Z | 2023-11-16T13:39:15Z | https://github.com/langchain-ai/langchain/issues/7885 | 1,810,202,518 | 7,885 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using the python_repl tool with the ZeroShotAgent, I keep getting the following error: `Observation: SyntaxError('invalid syntax', ('<string>', 2, 1, '%matplotlib inline\n'))
Thought:`
The agent keeps looping over and over since it does not understand the issue with the magic comm... | Inconsistent behaviour with the 'python_repl' tool and the ZeroShotAgent | https://api.github.com/repos/langchain-ai/langchain/issues/7882/comments | 2 | 2023-07-18T14:12:21Z | 2023-10-24T16:05:53Z | https://github.com/langchain-ai/langchain/issues/7882 | 1,810,022,800 | 7,882 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I think it'd be a good idea to have Langchain integrated into the fast healthcare interoperability resource (FHIR) API. Integrating chatting techniques with FHIR and having the ability to interact with ChatOpenAI would give FHIR more visibility, versatility, and adaptability in terms of use cases i... | Integrating Langchain to FHIR API | https://api.github.com/repos/langchain-ai/langchain/issues/7881/comments | 11 | 2023-07-18T13:24:11Z | 2024-05-18T23:26:45Z | https://github.com/langchain-ai/langchain/issues/7881 | 1,809,932,575 | 7,881 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using the following codes to get api call:
user_query = prompt.format_prompt(user_prompt=input_text)
user_query_output = chat_model(user_query.to_messages())
I am using Django and since it takes some time to get response the entire page freezes. Is there anyway to ... | showing progress or message under process | https://api.github.com/repos/langchain-ai/langchain/issues/7879/comments | 9 | 2023-07-18T10:58:52Z | 2023-10-26T16:05:59Z | https://github.com/langchain-ai/langchain/issues/7879 | 1,809,693,903 | 7,879 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
python 3.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ... | openai.error.InvalidRequestError: The completion operation does not work with the specified model, gpt-4. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993. | https://api.github.com/repos/langchain-ai/langchain/issues/7878/comments | 2 | 2023-07-18T10:01:28Z | 2023-07-19T04:44:19Z | https://github.com/langchain-ai/langchain/issues/7878 | 1,809,601,350 | 7,878 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I came to know that we can do the document question answering in langchain in different ways. One way is - using **load_qa_chain**
Also it seems there are two ways to use **load_qa_chain**
1) with **run()**
```
from langchain.chains.question_answering import load_qa_chain
cha... | Difference between chain() and chain.run() | https://api.github.com/repos/langchain-ai/langchain/issues/7876/comments | 6 | 2023-07-18T09:02:23Z | 2024-01-14T19:04:13Z | https://github.com/langchain-ai/langchain/issues/7876 | 1,809,494,390 | 7,876 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The current Telegram loader is not very flexible. For example:
```
async for message in client.iter_messages(self.chat_entity):
```
Here are the arguments available in the api
```
def iter_messages(
self: 'TelegramClient',
entity: 'hints.EntityLike',
... | Refactoring telegram loader | https://api.github.com/repos/langchain-ai/langchain/issues/7873/comments | 2 | 2023-07-18T07:55:37Z | 2023-10-24T16:06:13Z | https://github.com/langchain-ai/langchain/issues/7873 | 1,809,372,101 | 7,873 |
[
"langchain-ai",
"langchain"
] | ### System Info
Running on Colab.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | OperationalError with docsearch | https://api.github.com/repos/langchain-ai/langchain/issues/7872/comments | 8 | 2023-07-18T07:40:27Z | 2023-10-24T16:06:18Z | https://github.com/langchain-ai/langchain/issues/7872 | 1,809,342,516 | 7,872 |
[
"langchain-ai",
"langchain"
] |
**When i try to use Multiprompt chain getting the below error. Any Suggestions for Solving this Issue??**
ValidationError: 16 validation errors for MultiPromptChain destination_chains -> list -> database extra fields not permitted (type=value_error.extra) destination_chains -> list -> input_key extra fields... | Can't use SQLdatabasechain with Multipromptchain | https://api.github.com/repos/langchain-ai/langchain/issues/7869/comments | 2 | 2023-07-18T05:25:09Z | 2023-10-24T16:06:23Z | https://github.com/langchain-ai/langchain/issues/7869 | 1,809,140,912 | 7,869 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | Chroma vectorstore add_texts() method does not return ids when there is a metadatas argument | https://api.github.com/repos/langchain-ai/langchain/issues/7865/comments | 0 | 2023-07-18T03:42:15Z | 2023-07-28T23:17:32Z | https://github.com/langchain-ai/langchain/issues/7865 | 1,809,020,813 | 7,865 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The WeaviateHybridSearchRetriever does not currently have an option to retrieve scores and explanations. The lack of this feature limits the usability of the retriever, as users cannot gain insights into the scoring logic behind the search results. The feature to retrieve scores and explanations, a... | WeaviateHybridSearchRetriever has no option to retrieve scores and explanations | https://api.github.com/repos/langchain-ai/langchain/issues/7855/comments | 2 | 2023-07-17T20:38:13Z | 2023-07-18T19:50:18Z | https://github.com/langchain-ai/langchain/issues/7855 | 1,808,588,557 | 7,855 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.226
M1 Mac
Python 3.11.3
### Who can help?
@hwchase17 @mmz-001
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | Strange chunks coming out of CharacterTextSplitter starting in version 0.0.226 | https://api.github.com/repos/langchain-ai/langchain/issues/7854/comments | 6 | 2023-07-17T19:53:47Z | 2023-10-26T16:06:03Z | https://github.com/langchain-ai/langchain/issues/7854 | 1,808,509,106 | 7,854 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.232
Python version: 3.10.8
Platform: Windows 11, VS Code
For following usage of WeaviateHybridSearchRetriever -
`w_url = os.environ["WEAVIATE_URL"]`
`api_key_w= weaviate.AuthApiKey(api_key=os.environ["WEAVIATE_API_KEY"])`
`wclient = weaviate.Client(url=w_url,... | Error while creating WeaviateHybridSearchRetriever instance | https://api.github.com/repos/langchain-ai/langchain/issues/7851/comments | 3 | 2023-07-17T18:49:19Z | 2024-02-07T16:28:43Z | https://github.com/langchain-ai/langchain/issues/7851 | 1,808,378,977 | 7,851 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I think there is lacking documentation on the multitude of chains regarding QA and retrieval.
There is:
- [retrieval_qa](https://github.com/hwchase17/langchain/tree/master/langchain/chains/retrieval_qa)
- [question_answering](https://github.com/hwchase17/langchain/tree/mast... | DOC: What is the difference between the various QA chains? | https://api.github.com/repos/langchain-ai/langchain/issues/7845/comments | 2 | 2023-07-17T16:45:46Z | 2023-11-03T16:06:52Z | https://github.com/langchain-ai/langchain/issues/7845 | 1,808,165,032 | 7,845 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.234, windows 10, azure-identity==1.13.0, Python 3.11.4
### Who can help?
I manage to create an index in Azure Cognitive Search with _id_, _content_, _vector_content_ and _metadata_ fields.
I check that docs and chunks are not nulls.
I'm getting and error when querying the vecto... | InvalidVectorQuery error when using AzureSearch with vector db | https://api.github.com/repos/langchain-ai/langchain/issues/7841/comments | 7 | 2023-07-17T15:46:42Z | 2023-11-15T16:07:13Z | https://github.com/langchain-ai/langchain/issues/7841 | 1,808,066,576 | 7,841 |
[
"langchain-ai",
"langchain"
] | ### System Info
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/output_parsers/json.py:32 │
│ in parse_and_check_json_markdown ... | Self Query Retriever with Google Flan T5 models issue | https://api.github.com/repos/langchain-ai/langchain/issues/7839/comments | 3 | 2023-07-17T14:54:36Z | 2023-11-03T18:01:40Z | https://github.com/langchain-ai/langchain/issues/7839 | 1,807,967,519 | 7,839 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS: Ventura 13.4
langchain: 0.0.234
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | BaseRetriever: Latest langchain update is breaking the implementation of extended classes | https://api.github.com/repos/langchain-ai/langchain/issues/7835/comments | 7 | 2023-07-17T14:28:52Z | 2023-11-24T16:07:44Z | https://github.com/langchain-ai/langchain/issues/7835 | 1,807,916,214 | 7,835 |
[
"langchain-ai",
"langchain"
] | ### Feature request
ConversationalRetrievalChain is implementing in the **_call()** method the following behavior:
```
if chat_history_str:
callbacks = _run_manager.get_child()
new_question = self.question_generator.run(
question=question, chat_history=chat_history_str, callbacks=callbacks
... | ConversationalRetrievalChain: Add parameter for not invoking self.question_generator.run() | https://api.github.com/repos/langchain-ai/langchain/issues/7834/comments | 1 | 2023-07-17T14:23:37Z | 2023-10-23T16:06:22Z | https://github.com/langchain-ai/langchain/issues/7834 | 1,807,906,358 | 7,834 |
[
"langchain-ai",
"langchain"
] | ### System Info

### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] L... | raise AttributeError(name) from None AttributeError: OPENAI_FUNCTIONS | https://api.github.com/repos/langchain-ai/langchain/issues/7833/comments | 5 | 2023-07-17T13:04:07Z | 2023-07-24T22:40:56Z | https://github.com/langchain-ai/langchain/issues/7833 | 1,807,743,134 | 7,833 |
[
"langchain-ai",
"langchain"
] | ### System Info
Using requirements:
* langchain==0.0.234
* weaviate-client==3.22.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | Weaviate MMR Search fails with too high fetch_k parameter | https://api.github.com/repos/langchain-ai/langchain/issues/7829/comments | 3 | 2023-07-17T12:26:21Z | 2023-10-23T16:06:27Z | https://github.com/langchain-ai/langchain/issues/7829 | 1,807,668,123 | 7,829 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have a use case where I ask an AI agent to check if an article adheres to certain guidelines in documents. However, the recent changes in the BaseConversationalRetrievalChain _call function are causing issues. The process of requesting information from OpenAI can be divided into two steps.
In Step... | Rephrased question causing issues | https://api.github.com/repos/langchain-ai/langchain/issues/7828/comments | 3 | 2023-07-17T10:37:53Z | 2024-01-30T04:37:03Z | https://github.com/langchain-ai/langchain/issues/7828 | 1,807,476,168 | 7,828 |
[
"langchain-ai",
"langchain"
] | ### System Info
vector_store = Milvus.from_documents(
text,
embedding=das_embedding,
connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT}
)
ValueError: status_code: 400
code: InvalidParameter
message: batch size is invalid, it should not be larger than 10.: payload.input.contents
... | Chroma and Milvus be larger than 10 | https://api.github.com/repos/langchain-ai/langchain/issues/7827/comments | 1 | 2023-07-17T10:15:14Z | 2023-10-23T16:06:37Z | https://github.com/langchain-ai/langchain/issues/7827 | 1,807,441,167 | 7,827 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS: Ubuntu 22.04
Docker version: Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
VSCode: 1.69.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Model... | Cannot set up dev container because of Poetry solving dependencies forever | https://api.github.com/repos/langchain-ai/langchain/issues/7825/comments | 13 | 2023-07-17T08:08:53Z | 2024-03-13T19:56:40Z | https://github.com/langchain-ai/langchain/issues/7825 | 1,807,226,559 | 7,825 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using below chain. I want to use multiple categories in the filters. My logic is to bring the results from category=c1 OR category=c2 OR category=c3. How can we modify below code the achieve the objective
`chain = ConversationalRetrievalChain.from_llm(OpenAI(temperature=0), retr... | How to use multiple tags in metadata filtering | https://api.github.com/repos/langchain-ai/langchain/issues/7824/comments | 7 | 2023-07-17T08:03:05Z | 2024-02-15T16:11:05Z | https://github.com/langchain-ai/langchain/issues/7824 | 1,807,216,493 | 7,824 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
```
# We're using the default `documents` table here. You can modify this by passing in a `table_name` argument to the `from_documents` method.
vector_store = SupabaseVectorStore.from_documents(docs, embeddings, client=supabase)
```
### Idea or request for content:
throw erro... | DOC: SupabaseVectorStore.from_documents read operation timed out. | https://api.github.com/repos/langchain-ai/langchain/issues/7823/comments | 2 | 2023-07-17T06:49:38Z | 2023-07-24T22:51:06Z | https://github.com/langchain-ai/langchain/issues/7823 | 1,807,105,415 | 7,823 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/azuresearch
### Idea or request for content:
Can anyone explain more about how to create the index?
If your run the example you get:
`ResourceNotFoundError: () The index 'langchain-vector-demo... | DOC: Azure Cognitive Search Vector Store | https://api.github.com/repos/langchain-ai/langchain/issues/7816/comments | 1 | 2023-07-17T04:51:13Z | 2023-10-23T16:06:41Z | https://github.com/langchain-ai/langchain/issues/7816 | 1,806,955,881 | 7,816 |
[
"langchain-ai",
"langchain"
] | ### System Info
...
### 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
- [ ] Doc... | Azure Cognitive Search | https://api.github.com/repos/langchain-ai/langchain/issues/7813/comments | 10 | 2023-07-17T03:50:56Z | 2024-07-05T20:56:31Z | https://github.com/langchain-ai/langchain/issues/7813 | 1,806,896,033 | 7,813 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.234 MacOS Big Sur
### 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
- [ ] Docu... | vectorstores Chroma client_settings anonymized_telemetry=False dont work | https://api.github.com/repos/langchain-ai/langchain/issues/7804/comments | 8 | 2023-07-16T23:24:48Z | 2024-07-28T16:05:14Z | https://github.com/langchain-ai/langchain/issues/7804 | 1,806,754,191 | 7,804 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version 0.0.233
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] ... | Confluence loader usage of id causes a conflict with Weaviate | https://api.github.com/repos/langchain-ai/langchain/issues/7803/comments | 5 | 2023-07-16T23:19:43Z | 2023-10-21T16:40:00Z | https://github.com/langchain-ai/langchain/issues/7803 | 1,806,752,958 | 7,803 |
[
"langchain-ai",
"langchain"
] | ### System Info
This is on `Python 3.10.6`, on a clean virtual env, on `Ubuntu 22.04` server w/o any GPU installed.
On the other hand, `pip install langchain[llms]` installs without problem.
Here is the output of `pip install langchain[all]`, for langchain==0.0.234
[1.txt](https://github.com/hwchase17/langchai... | pip install langchain[all] takes forever to resove dependencies | https://api.github.com/repos/langchain-ai/langchain/issues/7798/comments | 7 | 2023-07-16T17:04:10Z | 2024-03-18T16:05:04Z | https://github.com/langchain-ai/langchain/issues/7798 | 1,806,652,138 | 7,798 |
[
"langchain-ai",
"langchain"
] | ### System Info
MAC OS M2
langchain: 0.0.234
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | MultiQueryRetriever.from_llm has abandon param type BaseLLM | https://api.github.com/repos/langchain-ai/langchain/issues/7791/comments | 2 | 2023-07-16T14:11:08Z | 2023-10-22T16:06:06Z | https://github.com/langchain-ai/langchain/issues/7791 | 1,806,596,774 | 7,791 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### 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 Se... | HuggingFaceEndpoint returns truncated answer (could this be just a first chunk of a larger reply?) | https://api.github.com/repos/langchain-ai/langchain/issues/7790/comments | 1 | 2023-07-16T13:18:48Z | 2023-10-22T16:06:11Z | https://github.com/langchain-ai/langchain/issues/7790 | 1,806,579,479 | 7,790 |
[
"langchain-ai",
"langchain"
] | ### System Info
Issue:
I'm experiencing an issue while trying to apply the `frequencyPenalty` parameter to the `ChatOpenAI` class in my Flask server setup. I'm running a Flask server that handles a POST query and returns a streaming response from GPT using LlamaIndex.
When I attempt to apply the `frequencyPena... | Unable to Apply frequencyPenalty Parameter to ChatOpenAI Class | https://api.github.com/repos/langchain-ai/langchain/issues/7788/comments | 2 | 2023-07-16T12:52:03Z | 2023-10-30T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7788 | 1,806,570,994 | 7,788 |
[
"langchain-ai",
"langchain"
] | ### Feature request
In AmazonKendraRetriever, user should have access to a page_content formatter in order to format a Kendra ResultItem as desired, e.g. by combining all sorts of possible document attributes with the title and excerpt of the item.
Currently, the [AmazonKendraRetriever](https://github.com/hwchase... | In AmazonKendraRetriever, user should have access to a page_content formatter in order to format the Kendra ResultItem as desired | https://api.github.com/repos/langchain-ai/langchain/issues/7787/comments | 3 | 2023-07-16T12:42:17Z | 2023-10-26T16:06:14Z | https://github.com/langchain-ai/langchain/issues/7787 | 1,806,568,070 | 7,787 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### 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 Se... | HuggingFaceEndpoint returns empty string in "text-generation" mode with prompt template | https://api.github.com/repos/langchain-ai/langchain/issues/7786/comments | 1 | 2023-07-16T12:15:34Z | 2023-10-22T16:06:21Z | https://github.com/langchain-ai/langchain/issues/7786 | 1,806,559,631 | 7,786 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### 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 Se... | streaming support for LLM, from HuggingFaceEndpoint | https://api.github.com/repos/langchain-ai/langchain/issues/7785/comments | 6 | 2023-07-16T12:04:36Z | 2024-01-08T06:49:06Z | https://github.com/langchain-ai/langchain/issues/7785 | 1,806,556,360 | 7,785 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I want to integrate the MPT style code LLM, ReplitLM from Replit into the langchain.
### Motivation
I want a code LLM in langchain, as ReplitLM has been continuously providing good results either fine tuned or not.
I was working on a project for analyzing complex code patterns and structures b... | ReplitLM Model_addition_in_langchain | https://api.github.com/repos/langchain-ai/langchain/issues/7784/comments | 3 | 2023-07-16T11:36:07Z | 2023-10-22T16:06:26Z | https://github.com/langchain-ai/langchain/issues/7784 | 1,806,548,419 | 7,784 |
[
"langchain-ai",
"langchain"
] | ### System Info
- LangChain version: 0.0.234
- Platform: Local and AWS ECS
- Python version: 3.9
### Who can help?
@3coins
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Pro... | In the AmazonKendraRetriever, the Document page_content is empty for ResultItem with Type ANSWER when using the Query API | https://api.github.com/repos/langchain-ai/langchain/issues/7782/comments | 1 | 2023-07-16T11:11:02Z | 2023-07-19T01:46:28Z | https://github.com/langchain-ai/langchain/issues/7782 | 1,806,541,487 | 7,782 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The KNNRetriever calculates the cosine similarity of documents and retrieves the top 'n' documents. Its behavior is identical to `FAISS.similarity_search(query)`. What is the rationale behind creating a separate KNNRetriever?
### Suggestion:
Remove the KNNRetriever module. | Issue: Why is the KNNRetriever existed? | https://api.github.com/repos/langchain-ai/langchain/issues/7780/comments | 1 | 2023-07-16T08:38:23Z | 2023-10-22T16:06:31Z | https://github.com/langchain-ai/langchain/issues/7780 | 1,806,498,956 | 7,780 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.8.10
gpt4all==1.0.5
langchain==0.0.234
pydantic==1.10.11
pydantic-core==2.3.0
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prom... | pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All | https://api.github.com/repos/langchain-ai/langchain/issues/7778/comments | 6 | 2023-07-16T07:53:03Z | 2023-09-13T09:48:21Z | https://github.com/langchain-ai/langchain/issues/7778 | 1,806,486,875 | 7,778 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.207
### Who can help?
Is there a way to get the whole output with Output Parser or OpenAI function calling?
I have a simple prompt where I get the LLM to output responses to a set of questions, and I would like to get a structured response that separates the question numbe... | Capturing all content from Output Parser / OpenAI Function Calling | https://api.github.com/repos/langchain-ai/langchain/issues/7770/comments | 2 | 2023-07-16T02:27:58Z | 2023-10-22T16:06:37Z | https://github.com/langchain-ai/langchain/issues/7770 | 1,806,402,879 | 7,770 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I want to be able to use Google Palm (bison) as the underlying LLM for agents. Currently I'm using chatGPT, but I also want to experiment how Google Palm performs with tool-picking. I have API access to I can experiment with it.
### Motivation
I propose Google's Palm because I've anecdotally see... | Google Palm 2 as underlying LLM for Agent | https://api.github.com/repos/langchain-ai/langchain/issues/7763/comments | 3 | 2023-07-15T20:08:33Z | 2024-01-30T00:48:46Z | https://github.com/langchain-ai/langchain/issues/7763 | 1,806,311,364 | 7,763 |
[
"langchain-ai",
"langchain"
] | ### System Info
**System Information**
System: `Linux`
OS: `Pop OS`
Langchain version: `0.0.232`
Python version: `3.9.17`
gpt4all version: used for both version `1.0.1` and version `1.0.3`.
### Who can help?
Models:
@hwchase17
Streaming Callbacks:
@agola11
### Information
- [X] The offi... | Streaming does not work using streaming callbacks for gpt4all model | https://api.github.com/repos/langchain-ai/langchain/issues/7747/comments | 8 | 2023-07-15T05:47:15Z | 2024-05-12T04:10:32Z | https://github.com/langchain-ai/langchain/issues/7747 | 1,805,914,594 | 7,747 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
```
pip install arxiv
from langchain.chat_models import ChatOpenAI
from langchain.agents import load_tools, initialize_agent, AgentType
```
```
llm = ChatOpenAI(temperature=0.0)
tools = load_tools(
["arxiv"],
)
```
```
agent_chain = initialize_agent(
too... | DOC: Arxiv API Tool code snippet very instable and produces very often an OutputParserException | https://api.github.com/repos/langchain-ai/langchain/issues/7742/comments | 2 | 2023-07-15T00:46:11Z | 2023-10-21T16:06:35Z | https://github.com/langchain-ai/langchain/issues/7742 | 1,805,766,414 | 7,742 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
According to [here](https://python.langchain.com/docs/modules/chains/how_to/call_methods), all subclass inherited from the Chain class will have the `__call__()` and the `run()` methods to launch the chain. And according to the [LLMChain API](https://api.python.langchain.com/en/latest/... | Issue: Chain call methods are confusing (LLMChain vs SimpleSequentialChain) | https://api.github.com/repos/langchain-ai/langchain/issues/7738/comments | 2 | 2023-07-14T23:21:30Z | 2023-12-13T16:08:18Z | https://github.com/langchain-ai/langchain/issues/7738 | 1,805,711,794 | 7,738 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi.
I wanted to deploy application with Langchain but I am unable to pass security scans because of the following vulnerabilities:
[CVE-2023-36258](https://nvd.nist.gov/vuln/detail/CVE-2023-36258)
[CVE-2023-34540](https://nvd.nist.gov/vuln/detail/CVE-2023-34540)
[CVE-2023-34541](https://n... | Vulnerabilities: CVE-2023-36258, CVE-2023-3454, CVE-2023-34541, CVE-2023-36188, CVE-2023-36189 | https://api.github.com/repos/langchain-ai/langchain/issues/7736/comments | 2 | 2023-07-14T22:32:45Z | 2024-03-13T16:12:30Z | https://github.com/langchain-ai/langchain/issues/7736 | 1,805,666,654 | 7,736 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.