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"
] | Hello,
I'm using _langchain_ for QA with court case documents. More specifically, the RetrievalQAWithSourcesChain to retrieve the answer and document source information. However, when running the chain with embedded documents, I get the following error:
```
ValueError: too many values to unpack (expected 2)
Tra... | Issue: RetrievalQAWithSourcesChain gives error 'too many values to unpack (expected 2)' after running. | https://api.github.com/repos/langchain-ai/langchain/issues/7184/comments | 2 | 2023-07-05T09:49:42Z | 2023-08-16T20:30:16Z | https://github.com/langchain-ai/langchain/issues/7184 | 1,789,191,768 | 7,184 |
[
"langchain-ai",
"langchain"
] | ### System Info
llm = AzureOpenAI(
model_name="gpt-4-32k",
engine="gpt-4-32k"
)
llm("tell me a joke")
Exception:
The completion operation does not works with the specific model, gpt-4-32k, pls choose different model....
Environment:
LangChain:0.0.218
### Who can help?
_No response_
### Information
- [ ... | does llms.AzureOpenAI support gpt4 or gpt-32k? | https://api.github.com/repos/langchain-ai/langchain/issues/7182/comments | 2 | 2023-07-05T09:13:02Z | 2023-10-12T16:06:46Z | https://github.com/langchain-ai/langchain/issues/7182 | 1,789,125,219 | 7,182 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
from langchain.text_splitter import SentenceTransformersTokenTextSplitter
splitter = SentenceTransformersTokenTextSplitter(
tokens_per_chunk=64,
chunk_overlap=0,
model_name='intfloat/e5-base-v2',
add_start_index=True,
)
text = "- afrikaans\n- العربية\n- azərbaycanca\n- বাংলা... | SentenceTransformersTokenTextSplitter Doesn't Preserve Text | https://api.github.com/repos/langchain-ai/langchain/issues/7181/comments | 6 | 2023-07-05T08:29:31Z | 2024-04-22T18:03:57Z | https://github.com/langchain-ai/langchain/issues/7181 | 1,789,052,195 | 7,181 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.221
### 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
- [ ]... | SupabaseVectorStore.from_documents returns APIError: {'code': '22P02' | https://api.github.com/repos/langchain-ai/langchain/issues/7179/comments | 4 | 2023-07-05T07:44:06Z | 2023-10-25T16:07:47Z | https://github.com/langchain-ai/langchain/issues/7179 | 1,788,978,302 | 7,179 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
## Problem descriptions
I've used `retrievalQA.from_chain_type()` with `refine` type to design a chatPDF.
But the response often **incomplete**, see the following result, the `Answer` is not complete which will let the `json.loads` not work.
Futhermore, I've used `get_openai_ca... | Issue: RetrievalQA response incomplete | https://api.github.com/repos/langchain-ai/langchain/issues/7177/comments | 1 | 2023-07-05T07:19:18Z | 2023-07-05T07:33:37Z | https://github.com/langchain-ai/langchain/issues/7177 | 1,788,935,367 | 7,177 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import TextLoader
# load the document and sp... | saving and loading embedding from Chroma | https://api.github.com/repos/langchain-ai/langchain/issues/7175/comments | 13 | 2023-07-05T06:52:10Z | 2024-07-01T19:22:22Z | https://github.com/langchain-ai/langchain/issues/7175 | 1,788,892,758 | 7,175 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = 0.0.220
python = 3.11.4
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | StreamlitCallbackHandler doesn't double escape dollar signs, so two dollar signs makes everything between an equation | https://api.github.com/repos/langchain-ai/langchain/issues/7172/comments | 1 | 2023-07-05T05:23:14Z | 2023-10-12T16:06:56Z | https://github.com/langchain-ai/langchain/issues/7172 | 1,788,788,050 | 7,172 |
[
"langchain-ai",
"langchain"
] | ### System Info
Based on the official doc, I created two type of retriever:
1. `faiss_retriever = FAISS.from_documents(texts, OpenAIEmbeddings()).as_retriever()`serving as a`VectorStoreRetriever`(referenced from the API doc)
2. `compression_retriever = ContextualCompressionRetriever(base_compressor=relevant_filter, ... | RetrievalQA.from_chain_type‘s parameter retriever can not use ContextualCompressionRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/7168/comments | 7 | 2023-07-05T02:43:25Z | 2023-10-16T09:45:05Z | https://github.com/langchain-ai/langchain/issues/7168 | 1,788,668,402 | 7,168 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/get_started/quickstart.html
On the above link, I have tried following along on google colab and ran into an issue as following:
Observation: Olivia Wilde started dating Harry Styles after ending her years-long engagement to Jason Sudeikis — se... | DOC: The Quickstart tutorial for Agents has an error | https://api.github.com/repos/langchain-ai/langchain/issues/7166/comments | 3 | 2023-07-05T01:11:06Z | 2023-10-12T16:07:06Z | https://github.com/langchain-ai/langchain/issues/7166 | 1,788,611,749 | 7,166 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'd like to make the user experience more conversational while supporting OpenAI functions. However, OpenAIFunctionsAgent implementation doesn't accept "memory" to make it more conversational. I'd like to have ReACT planning capability + functions as tools. I think the minimal implementation is t... | OpenAIFunctionsAgent + ConversationalChatAgent? | https://api.github.com/repos/langchain-ai/langchain/issues/7163/comments | 6 | 2023-07-04T22:28:54Z | 2023-10-19T16:06:43Z | https://github.com/langchain-ai/langchain/issues/7163 | 1,788,529,698 | 7,163 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using the following on Windows:
Python 3.11.3
langchain 0.0.222
lark 1.1.5
With a Pinecone index:
Environment: us-east4-gcp
Metric: cosine
Pod Type: p1.x1
Dimensions: 1536
### Who can help?
@hwchase17 @angola
### Information
- [X] The official example notebooks/scripts
- [ ] My o... | SelfQuering Retrieval no support $contain operator | https://api.github.com/repos/langchain-ai/langchain/issues/7157/comments | 2 | 2023-07-04T18:56:27Z | 2023-10-12T16:07:11Z | https://github.com/langchain-ai/langchain/issues/7157 | 1,788,350,317 | 7,157 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Some vectorstores (e.g. Vectara) internally create their own embeddings. The request is to generalize the VectorStore base class to allow for embeddings to be optional.
### Motivation
Currently users have to send "None" or FakeEmbeddings instead, which creates additional work and is not ne... | Make "embedding" an optional parameter in VectorStore interface | https://api.github.com/repos/langchain-ai/langchain/issues/7150/comments | 2 | 2023-07-04T15:47:14Z | 2023-10-12T16:07:16Z | https://github.com/langchain-ai/langchain/issues/7150 | 1,788,162,432 | 7,150 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I keep getting this error for the past couple of days for gpt-3.5-turbo-16k:
Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=120.0)
The OpenAI API seems to be working fine by itself. Can someone please tell me if they ar... | Issue: The API call keeps getting timed out | https://api.github.com/repos/langchain-ai/langchain/issues/7148/comments | 13 | 2023-07-04T15:35:27Z | 2024-02-13T16:15:53Z | https://github.com/langchain-ai/langchain/issues/7148 | 1,788,148,043 | 7,148 |
[
"langchain-ai",
"langchain"
] | ### System Info
- langchain-0.0.222 (and all before)
- Any GPT4All python package after [this commit](https://github.com/nomic-ai/gpt4all/commit/46a0762bd5a7e605e9bd63e4f435b482eff026f6#diff-cc3ea7dfbfc9837a4c42dae1089a1eda0ed175d17f2628cf16c13d3cd9da6e13R174) was merged. So latest: >= 1.0.1.
Note this issue is in... | GPT4All generate() TypeError 'n_ctx' since a commit on GPT4All's python binding changed arguments | https://api.github.com/repos/langchain-ai/langchain/issues/7145/comments | 7 | 2023-07-04T14:22:38Z | 2023-11-07T14:10:16Z | https://github.com/langchain-ai/langchain/issues/7145 | 1,788,030,844 | 7,145 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi there 👋
Thanks a lot for the awesome library. The current implementation of `BaseCache` stores the prompt + the llm generated text as key.
This means that I am not really caching since I'll have to do a request to OpenAI to get the llm text
### Motivation
I'd like to cache a promp... | Caching: allows to cache only the prompt | https://api.github.com/repos/langchain-ai/langchain/issues/7141/comments | 12 | 2023-07-04T12:46:56Z | 2024-06-27T16:06:04Z | https://github.com/langchain-ai/langchain/issues/7141 | 1,787,867,349 | 7,141 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I would love to add an [H2O Wave](https://wave.h2o.ai/) framework callback integration in a similar manner as done for [Streamlit](https://python.langchain.com/docs/modules/callbacks/integrations/streamlit). Wave has recently added a dedicated chatbot card, which seems like a perfect fit.
![imag... | H2O Wave callback integration | https://api.github.com/repos/langchain-ai/langchain/issues/7139/comments | 5 | 2023-07-04T11:56:42Z | 2024-02-07T16:29:24Z | https://github.com/langchain-ai/langchain/issues/7139 | 1,787,787,874 | 7,139 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am using the ConversationalRetrievalChain to retrieve answers for questions while condensing the chat history to a standalone question. However, the standalone question would show in the streaming output.
I expect only to return the final answer. Is there any way to achieve it?
### Motivati... | Returns the standone alone question while using ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7136/comments | 5 | 2023-07-04T11:02:11Z | 2024-02-06T16:32:56Z | https://github.com/langchain-ai/langchain/issues/7136 | 1,787,705,531 | 7,136 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.220
### 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
-... | "ConversationBufferMemory" object has no field "buffer" | https://api.github.com/repos/langchain-ai/langchain/issues/7135/comments | 4 | 2023-07-04T09:36:49Z | 2023-10-12T16:07:22Z | https://github.com/langchain-ai/langchain/issues/7135 | 1,787,553,988 | 7,135 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I installed "langchain==0.0.27" on a linux machine but i am getting the folowing error when i try to import langchain in a script. Was running this with python 3.7.
`/home/s0s06c3/lang/lang_env/bin/python /home/s0s06c3/lang/hugging_lanchain.py
Traceback (most recent call last):
... | Issue: Can not import the Langchain modules. | https://api.github.com/repos/langchain-ai/langchain/issues/7131/comments | 9 | 2023-07-04T08:07:28Z | 2024-07-25T17:41:17Z | https://github.com/langchain-ai/langchain/issues/7131 | 1,787,396,398 | 7,131 |
[
"langchain-ai",
"langchain"
] | ### System Info
Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-gvlyS3A1UcZNvf8Qch6TJZe3 on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through ou... | RateLimitError | https://api.github.com/repos/langchain-ai/langchain/issues/7130/comments | 4 | 2023-07-04T07:50:43Z | 2023-10-12T16:07:27Z | https://github.com/langchain-ai/langchain/issues/7130 | 1,787,368,680 | 7,130 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
During the use of ChatOpenAI, it was found that even if langchain.llm_cache=True is set, the answer is different each time for the same question, such as "What is LangChain".
Upon tracing the source code, it was discovered that ChatOpenAI inherited BaseChatModel, which does not ... | DOC: The LLM type given in the Caching section is incorrect. It should be changed from ChatOpenAI to ChatGPT | https://api.github.com/repos/langchain-ai/langchain/issues/7129/comments | 3 | 2023-07-04T07:48:45Z | 2023-10-16T16:06:34Z | https://github.com/langchain-ai/langchain/issues/7129 | 1,787,364,347 | 7,129 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I have been working on a side project using Pinecone and discovered that there are a bunch of useful Pinecone features in Langchain that are not mentioned in Langchain's documentation. [https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone]... | DOC: Pinecone documentation missing features | https://api.github.com/repos/langchain-ai/langchain/issues/7126/comments | 0 | 2023-07-04T06:58:58Z | 2023-07-05T19:18:03Z | https://github.com/langchain-ai/langchain/issues/7126 | 1,787,284,168 | 7,126 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Here is my code where i use Faiss for vectorestore but it is not capable to giving a response from my pdf data where i am doing wrong please correct me.
def chat_bot_langchain():
from langchain.llms import OpenAI
index = faiss.read_index("faisss_audien_new.index")
print(i... | ConversationalBufferMemory is not working with my Data | https://api.github.com/repos/langchain-ai/langchain/issues/7121/comments | 1 | 2023-07-04T06:02:36Z | 2023-10-12T16:07:37Z | https://github.com/langchain-ai/langchain/issues/7121 | 1,787,208,532 | 7,121 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Getting AttributeError when using chroma.from_documents
my code: db = chroma.from_documents(texts, embeddings, persist_directory=persist_directory,
client_settings=CHROMA_SETTINGS)
AttributeError: module 'langchain.vectorstores.chroma' has no attribute 'from_documents
### Suggest... | Issue: from_documents error | https://api.github.com/repos/langchain-ai/langchain/issues/7119/comments | 2 | 2023-07-04T03:25:31Z | 2023-10-12T16:07:42Z | https://github.com/langchain-ai/langchain/issues/7119 | 1,787,076,435 | 7,119 |
[
"langchain-ai",
"langchain"
] | ### System Info
`from_texts` in `ElasticKnnSearch` is not creating a new index.
`add_texts` is not creating the correct mapping.
There were class instances of both these methods at one point, but they [got removed accidentally](https://github.com/hwchase17/langchain/pull/5569/commits/98f5038b1a6a6ee6f3108f95b274... | ElasticKnnSearch not creating mapping correctly | https://api.github.com/repos/langchain-ai/langchain/issues/7117/comments | 1 | 2023-07-04T01:52:06Z | 2023-07-28T05:00:22Z | https://github.com/langchain-ai/langchain/issues/7117 | 1,787,013,125 | 7,117 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.222
OS: Windows 11+WSL Ubuntu22
I run a simple test according to the agent document guide page:
https://python.langchain.com/docs/modules/agents/
I just changed the input a little bit, it throw an error about the output parser.
The code is below:
=========================
ll... | The agent run output parser cause error when run a simple quick start | https://api.github.com/repos/langchain-ai/langchain/issues/7116/comments | 1 | 2023-07-04T01:32:55Z | 2023-07-04T02:38:26Z | https://github.com/langchain-ai/langchain/issues/7116 | 1,787,000,606 | 7,116 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have been using STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION with a custom tool that takes 2 inputs, however have not been able to get the agent to produce the outputs we had before. Specifically, we're getting the intermediate, custom function input as output.
Ie instead of getting a value asso... | STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION Custom Tools Failure | https://api.github.com/repos/langchain-ai/langchain/issues/7108/comments | 5 | 2023-07-03T22:07:55Z | 2024-03-26T10:27:30Z | https://github.com/langchain-ai/langchain/issues/7108 | 1,786,864,012 | 7,108 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When I run the command
```bash
make coverage
```
I get the following error:
```bash
collected 1556 items / 9 errors
INTERNALERROR> Tra... | Issue: Error when running `make coverage` | https://api.github.com/repos/langchain-ai/langchain/issues/7100/comments | 4 | 2023-07-03T21:10:50Z | 2023-12-20T16:07:23Z | https://github.com/langchain-ai/langchain/issues/7100 | 1,786,816,546 | 7,100 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The current document didn't cover the Metal support of Llama-cpp, which need different parameter to build.
Also, the default parameter of initial LLM will crash error:
```
GGML_ASSERT: .../vendor/llama.cpp/ggml-metal.m:706: false && "not implemented"
```
### Idea or req... | DOC: enhancement with Llama-cpp document | https://api.github.com/repos/langchain-ai/langchain/issues/7091/comments | 1 | 2023-07-03T18:03:36Z | 2023-07-03T23:57:09Z | https://github.com/langchain-ai/langchain/issues/7091 | 1,786,607,479 | 7,091 |
[
"langchain-ai",
"langchain"
] | ### System Info
When trying to do an aggregation on a table (I've tried average, min, max), two duplicate queries are being generated, resulting in an error
```
syntax error line 2 at position 0 unexpected 'SELECT'.
[SQL: SELECT AVG(YEAR) FROM my_table
SELECT AVG(YEAR) FROM my_table]
```
### Who can help?
_No... | SQLDatabaseChain Double Query | https://api.github.com/repos/langchain-ai/langchain/issues/7082/comments | 5 | 2023-07-03T13:22:53Z | 2023-10-12T16:07:47Z | https://github.com/langchain-ai/langchain/issues/7082 | 1,786,178,650 | 7,082 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.221
Python: 3.9.17.
OS: MacOS Ventura 13.3.1 (a)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Pro... | KeyError when formatting FewShotPromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/7079/comments | 7 | 2023-07-03T12:23:47Z | 2023-07-04T10:01:18Z | https://github.com/langchain-ai/langchain/issues/7079 | 1,786,073,569 | 7,079 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Langchain Version 0.0.219
## Where does the problem arise:
When saving the OpenLLM model, there is a key called "llm_kwargs" which cannot be parsed when reloading the model. Instead the "llm_kwargs" should be directly inside the "llm" object without the key "llm_kwargs".
### Example
```json
"llm... | Serialization of OpenLLM Local Inference Models does not work. | https://api.github.com/repos/langchain-ai/langchain/issues/7078/comments | 4 | 2023-07-03T11:56:01Z | 2023-10-09T16:05:35Z | https://github.com/langchain-ai/langchain/issues/7078 | 1,786,027,453 | 7,078 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to develop a chatbot that can give answers from multiple namespace.That why I am try to use the MULTIRETREIVALQA chain but the langchain versions seems to be making some issues for me . Any suggestions?
### Suggestion:
_No response_ | I am trying to use multi retreival QA chain but not sure what version of langchain will be best? | https://api.github.com/repos/langchain-ai/langchain/issues/7075/comments | 6 | 2023-07-03T11:12:00Z | 2023-08-25T20:15:00Z | https://github.com/langchain-ai/langchain/issues/7075 | 1,785,956,452 | 7,075 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain-0.0.221
python-3.10.11
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | Issue:IndexError: list index out of range | https://api.github.com/repos/langchain-ai/langchain/issues/7067/comments | 8 | 2023-07-03T07:33:27Z | 2024-02-27T16:08:40Z | https://github.com/langchain-ai/langchain/issues/7067 | 1,785,526,295 | 7,067 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using Conversationalbuffermemory to maintain chathistory here is my code i dont know why my chathistory not working properly if any update required in my code please let me know I am using this code in my api
class Chatbot:
def __init__(self):
self.model = "gpt-3.5... | Conversationalbuffermemory to maintain chathistory | https://api.github.com/repos/langchain-ai/langchain/issues/7066/comments | 1 | 2023-07-03T06:05:30Z | 2023-10-09T16:05:40Z | https://github.com/langchain-ai/langchain/issues/7066 | 1,785,402,763 | 7,066 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I find it is quite useful when using JSON format prompt.
Unfortunately, I cannot pass JSON format prompt to langchain.
### Motivation
Here is prompt example, which gives detail instruction on how the GPT should response to the student.
Could you please support the JSON format prompt in th... | Use JSON format prompt | https://api.github.com/repos/langchain-ai/langchain/issues/7065/comments | 5 | 2023-07-03T04:47:47Z | 2023-10-10T01:06:44Z | https://github.com/langchain-ai/langchain/issues/7065 | 1,785,310,309 | 7,065 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Example no longer working (key not found in dict) due to api changes: https://python.langchain.com/docs/modules/callbacks/how_to/multiple_callbacks
### Idea or request for content:
Corrected Serialization in several places:
from typing import Dict, Union, Any, List
from la... | DOC: Multiple callback handlers | https://api.github.com/repos/langchain-ai/langchain/issues/7064/comments | 1 | 2023-07-03T04:21:12Z | 2023-10-09T16:05:51Z | https://github.com/langchain-ai/langchain/issues/7064 | 1,785,284,378 | 7,064 |
[
"langchain-ai",
"langchain"
] | ### System Info
v0.0.221
### Who can help?
@vowelparrot
### 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
... | MultiQueryRetriever broken on master and needs tests | https://api.github.com/repos/langchain-ai/langchain/issues/7063/comments | 0 | 2023-07-03T04:00:32Z | 2023-07-04T05:09:35Z | https://github.com/langchain-ai/langchain/issues/7063 | 1,785,264,664 | 7,063 |
[
"langchain-ai",
"langchain"
] | ### System Info
index = VectorstoreIndexCreator(vectorstore_cls=DocArrayInMemorySearch, embedding=embeddings)
index = index.from_loaders([PyMuPDFLoader('孙子兵法.pdf')])
query = '孙子兵法的战略'
index.query(llm=OpenAIChat(streaming=True), question=query, chain_type="stuff")
### Who can help?
_No response_
### Information
... | OpenAIChat(streaming=True) donot work | https://api.github.com/repos/langchain-ai/langchain/issues/7062/comments | 2 | 2023-07-03T04:00:09Z | 2023-11-16T16:07:11Z | https://github.com/langchain-ai/langchain/issues/7062 | 1,785,264,380 | 7,062 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = 0.0.218
python = 3.11.4
### 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 ... | OPENAI_FUNCTIONS Agent Memory won't work inside of Streamlit st.chat_input element | https://api.github.com/repos/langchain-ai/langchain/issues/7061/comments | 10 | 2023-07-03T03:11:16Z | 2023-12-20T16:07:28Z | https://github.com/langchain-ai/langchain/issues/7061 | 1,785,201,120 | 7,061 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchina: 0.0.221,
OS: WSL
Python 3.11
### Who can help?
The memory did not record the full input message, it only record the input parameter values
Below is a simple code to use the default ConversationBufferMemory.
++++++++++++++++++++++++++
llm = conn.connecting.get_model_azureopenai()
... | The memory did not record the full input message, it only record the input parameter values | https://api.github.com/repos/langchain-ai/langchain/issues/7060/comments | 1 | 2023-07-03T03:10:39Z | 2023-10-09T16:05:55Z | https://github.com/langchain-ai/langchain/issues/7060 | 1,785,200,414 | 7,060 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.221
WSL
Python 3.11
###
If design a very simple chain which do not need any input parameters. Then run it, it will throw error. I think this without any input params may be useful.
llm = conn.connecting.get_model_azureopenai()
mem = langchain.memory.ConversationBufferMem... | Chain.run() without any param will cause error | https://api.github.com/repos/langchain-ai/langchain/issues/7059/comments | 3 | 2023-07-03T02:43:11Z | 2023-11-29T16:09:09Z | https://github.com/langchain-ai/langchain/issues/7059 | 1,785,176,797 | 7,059 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.221
langchainplus-sdk==0.0.19
Windows 10
### Who can help?
@dev2049 @homanp
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | get_openapi_chain fails to produce proper Openapi scheme when preparing url. | https://api.github.com/repos/langchain-ai/langchain/issues/7058/comments | 3 | 2023-07-02T23:22:34Z | 2023-10-08T16:05:10Z | https://github.com/langchain-ai/langchain/issues/7058 | 1,785,011,372 | 7,058 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.221
Anthropic versions 0.3.1 and 0.3.2
Whenever using ChatAnthropic, this now appears. Version 0.2.10 works, but the below error appears since the Anthropic update a couple of days ago
`Anthropic.__init__() got an unexpected keyword argument 'api_url' (type=type_error)`
... | Anthropic Upgrade issue | https://api.github.com/repos/langchain-ai/langchain/issues/7056/comments | 2 | 2023-07-02T17:44:23Z | 2023-10-08T16:05:15Z | https://github.com/langchain-ai/langchain/issues/7056 | 1,784,742,819 | 7,056 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.221
python:3.10.2
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | InvalidRequestError: This model's maximum context length | https://api.github.com/repos/langchain-ai/langchain/issues/7054/comments | 2 | 2023-07-02T17:18:17Z | 2023-08-09T01:43:27Z | https://github.com/langchain-ai/langchain/issues/7054 | 1,784,733,766 | 7,054 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain Version: 0.0.220
python 3.9.16
Windows 11/ ubuntu 22.04
anaconda
### Who can help?
@agola11 When ingesting the attched file (I'm attaching a zip as .pkl cannot be updated) in a normal document splitting loop
```python
embeddings = OpenAIEmbeddings()
chunk_sizes = [512, 1024, 1536]
... | Chroma, Deeplake, Faiss indexing error ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10379,) + inhomogeneous part. | https://api.github.com/repos/langchain-ai/langchain/issues/7053/comments | 4 | 2023-07-02T17:04:55Z | 2024-04-23T08:14:56Z | https://github.com/langchain-ai/langchain/issues/7053 | 1,784,729,131 | 7,053 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The LLM chain strictly validates all input variables against placeholders in the template. It will throw an error if they don't match. I wish it could handle missing variables, thus making the prompt template more flexible.
```python
def _validate_inputs(self, inputs: Dict[str, Any]) -> None:... | Chain support missing variable | https://api.github.com/repos/langchain-ai/langchain/issues/7044/comments | 8 | 2023-07-02T12:16:49Z | 2023-10-19T16:06:48Z | https://github.com/langchain-ai/langchain/issues/7044 | 1,784,612,945 | 7,044 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain==0.0.177
Python==3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | Map_reduce not adapted to the 16k model 😲😥 | https://api.github.com/repos/langchain-ai/langchain/issues/7043/comments | 2 | 2023-07-02T11:30:01Z | 2023-10-08T16:05:26Z | https://github.com/langchain-ai/langchain/issues/7043 | 1,784,594,777 | 7,043 |
[
"langchain-ai",
"langchain"
] | ### System Info
PYTHON: 3.11.4
LANGCHAIN: 0.0.220
FLATFORM: WINDOWS
### 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... | ClientSession._request() got an unexpected keyword argument 'verify' | https://api.github.com/repos/langchain-ai/langchain/issues/7042/comments | 4 | 2023-07-02T07:29:01Z | 2023-09-17T18:22:23Z | https://github.com/langchain-ai/langchain/issues/7042 | 1,784,502,508 | 7,042 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Can Plan-And-Execute models be conditioned to plan in particular directions instead of doing the planning alone? Say I'd like the planning to take place differently and the LLM always decides on an exhaustive manner
### Suggestion:
_No response_ | Issue: Conditioning planner with custom instructions in Plan-And-Execute models | https://api.github.com/repos/langchain-ai/langchain/issues/7041/comments | 4 | 2023-07-02T06:57:36Z | 2023-12-18T23:49:38Z | https://github.com/langchain-ai/langchain/issues/7041 | 1,784,492,675 | 7,041 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Can we nest agents in one another? I would like an agent to use a set of tools + an LLM to extract entities, and then another agent after this should use some other tools + LLM to refine them.
### Suggestion:
_No response_ | Issue: Nested agents | https://api.github.com/repos/langchain-ai/langchain/issues/7040/comments | 3 | 2023-07-02T06:55:45Z | 2024-01-15T17:33:23Z | https://github.com/langchain-ai/langchain/issues/7040 | 1,784,492,025 | 7,040 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Can we reuse intermediate steps for an agent defined using STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION?
This is my definition:
```
agent_executor = initialize_agent(
tools,
llm,
agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,
verbose=True,
retur... | Issue: Doubt on STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION | https://api.github.com/repos/langchain-ai/langchain/issues/7039/comments | 2 | 2023-07-02T06:54:27Z | 2023-11-29T16:09:14Z | https://github.com/langchain-ai/langchain/issues/7039 | 1,784,491,423 | 7,039 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Is there a difference between these two agent types? Where should one use either of them?
### Suggestion:
_No response_ | Issue: LLMSingleActionAgent vs STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION | https://api.github.com/repos/langchain-ai/langchain/issues/7038/comments | 2 | 2023-07-02T06:52:29Z | 2023-10-17T16:06:14Z | https://github.com/langchain-ai/langchain/issues/7038 | 1,784,490,903 | 7,038 |
[
"langchain-ai",
"langchain"
] | ### System Info
Using the latest version of langchain (0.0.220).
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | TypeError: issubclass() arg 1 must be a class (importing AsyncCallbackHandler) | https://api.github.com/repos/langchain-ai/langchain/issues/7037/comments | 2 | 2023-07-02T06:04:32Z | 2023-10-09T16:06:06Z | https://github.com/langchain-ai/langchain/issues/7037 | 1,784,472,838 | 7,037 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I was skimming through the repository for the MongoDB Agent and I discovered that it does not exist. Is it feasible to develop a MongoDB agent that establishes a connection with MongoDB, generates MongoDB queries based on given questions, and retrieves the corresponding data?
### Motivation
Withi... | Agent for MongoDB | https://api.github.com/repos/langchain-ai/langchain/issues/7036/comments | 17 | 2023-07-02T05:49:29Z | 2024-04-12T16:16:25Z | https://github.com/langchain-ai/langchain/issues/7036 | 1,784,467,107 | 7,036 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I want to chain the ```SelfQueryRetriever``` with ```ConversationalRetrievalChain``` and stream the output. I tested it in synchronous function it's working. However, when I convert it to async function, it pauses there and the execution never ended, no output as well. I went through t... | SelfQueryRetriever not working in async call | https://api.github.com/repos/langchain-ai/langchain/issues/7035/comments | 1 | 2023-07-02T05:17:42Z | 2023-10-08T16:05:40Z | https://github.com/langchain-ai/langchain/issues/7035 | 1,784,455,921 | 7,035 |
[
"langchain-ai",
"langchain"
] | Hi,
first up, thank you for making langchain! I was playing around a little and found a minor issue with loading online PDFs, and would like to start contributing to langchain maybe by fixing this.
### System Info
langchain 0.0.220, google collab, python 3.10
### Who can help?
_No response_
### Infor... | Loading online PDFs gives temporary file path as source in metadata | https://api.github.com/repos/langchain-ai/langchain/issues/7034/comments | 4 | 2023-07-01T23:24:53Z | 2023-11-29T20:07:47Z | https://github.com/langchain-ai/langchain/issues/7034 | 1,784,312,865 | 7,034 |
[
"langchain-ai",
"langchain"
] | ### Feature request
## Summary
Implement a new type of Langchain agent that reasons using a PLoT architecture as described in this paper:
https://arxiv.org/abs/2306.12672
## Notes
* Such an agent would need to use a probabilistic programming language (the paper above used Church) to generate code that descri... | Probabilistic Language of Thought (PLoT) Agent Implementation | https://api.github.com/repos/langchain-ai/langchain/issues/7027/comments | 2 | 2023-07-01T18:19:31Z | 2023-10-07T16:04:57Z | https://github.com/langchain-ai/langchain/issues/7027 | 1,784,135,218 | 7,027 |
[
"langchain-ai",
"langchain"
] | ### System Info
OutputParserException: Could not parse LLM output: `df = [] for i in range(len(df)):`
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | OutputParserException: Could not parse LLM output: `df = [] for i in range(len(df)):` | https://api.github.com/repos/langchain-ai/langchain/issues/7024/comments | 1 | 2023-07-01T16:41:37Z | 2023-10-07T16:05:02Z | https://github.com/langchain-ai/langchain/issues/7024 | 1,784,075,187 | 7,024 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain: latest as of yesterday
M2 Pro
16 GB
Macosx
Darwin UAVALOS-M-NR30 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:23 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6020 arm64
Python 3.10.10
GNU Make 3.81
Apple clang version 14.0.3 (clang-1403.0.22... | Could not import sentence_transformers python package. | https://api.github.com/repos/langchain-ai/langchain/issues/7019/comments | 9 | 2023-07-01T15:22:37Z | 2024-03-18T14:01:19Z | https://github.com/langchain-ai/langchain/issues/7019 | 1,784,012,562 | 7,019 |
[
"langchain-ai",
"langchain"
] | ### Feature request
when i use jinja2 template, i get the following the problem
template:
```
{% if a %}\n
{{a}}\n
{% endif %}\n
{{b}}
```
and i pass b variable to template render,then the output like this
```
\n
b
```
Each variable placeholder is followed by a '\n'.
Since a is not passed in, and '\n' ... | jinja2 formate suppot trim_blocks mode | https://api.github.com/repos/langchain-ai/langchain/issues/7018/comments | 1 | 2023-07-01T14:43:22Z | 2023-10-07T16:05:07Z | https://github.com/langchain-ai/langchain/issues/7018 | 1,783,981,699 | 7,018 |
[
"langchain-ai",
"langchain"
] | ### Feature request
the following is part of the format code for PipelinePromptTemplate
```python
def _get_inputs(inputs: dict, input_variables: List[str]) -> dict:
return {k: inputs[k] for k in input_variables}
class PipelinePromptTemplate(BasePromptTemplate):
....
def format_prompt(self, **kwargs: Any... | PipelinePromptTemplate format_prompt should support missing keyword | https://api.github.com/repos/langchain-ai/langchain/issues/7016/comments | 6 | 2023-07-01T13:16:11Z | 2023-10-12T16:07:57Z | https://github.com/langchain-ai/langchain/issues/7016 | 1,783,894,983 | 7,016 |
[
"langchain-ai",
"langchain"
] | Attach my code
```
llm = OpenAI(model_name='gpt-4', temperature=0)
embeddings = OpenAIEmbeddings(model='text-embedding-ada-002')
docs = TextLoader("state_of_the_union.txt").load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(docs)
state_of_unio... | How to save embeddings when using Agent for local document Q&A to avoid unnecessary waste by rereading API calls to generate embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/7011/comments | 1 | 2023-07-01T08:31:43Z | 2023-10-07T16:05:17Z | https://github.com/langchain-ai/langchain/issues/7011 | 1,783,681,691 | 7,011 |
[
"langchain-ai",
"langchain"
] | I want to add memory context for Agent, so I referred to the document [here](https://python.langchain.com/docs/modules/memory/how_to/agent_with_memory)
There is such a step in it

I want to implement the same ste... | How to add memory with` create_vectorstore_agent` | https://api.github.com/repos/langchain-ai/langchain/issues/7010/comments | 2 | 2023-07-01T08:18:12Z | 2023-10-07T16:05:22Z | https://github.com/langchain-ai/langchain/issues/7010 | 1,783,670,404 | 7,010 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using a create_pandas_dataframe_agent like so:
```
create_pandas_dataframe_agent(ChatOpenAI(model_name='gpt-4', temperature=0), df, verbose=True,
max_iterations=2,
early_stopping_method="generate",
... | python tool issue: NameError: name 're' is not defined | https://api.github.com/repos/langchain-ai/langchain/issues/7009/comments | 2 | 2023-07-01T07:39:21Z | 2023-10-07T16:05:28Z | https://github.com/langchain-ai/langchain/issues/7009 | 1,783,632,265 | 7,009 |
[
"langchain-ai",
"langchain"
] | ### Feature request
ElasticSearch embedding need a function to add single text string as Azure OpenAI only support single text input now.
Message from Azure OpenAI Embedding:
embed_documents(texts)
# openai.error.InvalidRequestError: Too many inputs for model None.
# The max number of inputs is 1. W... | ElasticSearch embedding need a function to add single text string as AzureOpenAI only support single text input now | https://api.github.com/repos/langchain-ai/langchain/issues/7004/comments | 1 | 2023-07-01T03:54:40Z | 2023-10-07T16:05:33Z | https://github.com/langchain-ai/langchain/issues/7004 | 1,783,463,930 | 7,004 |
[
"langchain-ai",
"langchain"
] | ### Feature request
[https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/faiss](https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/faiss)
There's a section that allows you to filter the documents stored in FAISS
It will be cool to allow
results = db... | FAISS Support for filter while using the as_retriever() | https://api.github.com/repos/langchain-ai/langchain/issues/7002/comments | 1 | 2023-07-01T02:31:45Z | 2023-10-07T16:05:38Z | https://github.com/langchain-ai/langchain/issues/7002 | 1,783,366,350 | 7,002 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python version: Python 3.10.6
Langchain version: 0.0.219
OS: Ubuntu 22.04
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | Bug of csv agent, basically all query failed with json error | https://api.github.com/repos/langchain-ai/langchain/issues/7001/comments | 13 | 2023-07-01T01:11:10Z | 2024-02-15T16:11:26Z | https://github.com/langchain-ai/langchain/issues/7001 | 1,783,315,774 | 7,001 |
[
"langchain-ai",
"langchain"
] | ### System Info
Most recent versions of all
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | Unable to load OPENAI Embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/6999/comments | 1 | 2023-06-30T22:26:08Z | 2023-10-06T16:05:33Z | https://github.com/langchain-ai/langchain/issues/6999 | 1,783,222,113 | 6,999 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
You can get chat completions by passing one or more messages to the chat model. The response will be a message. The types of messages currently supported in LangChain are AIMessage, HumanMessage, SystemMessage, and ChatMessage -- ChatMessage takes in an arbitrary role parameter. M... | DOC: <Please write a comprehensive title after the 'DOC: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/6998/comments | 0 | 2023-06-30T20:58:25Z | 2023-06-30T21:02:55Z | https://github.com/langchain-ai/langchain/issues/6998 | 1,783,160,731 | 6,998 |
[
"langchain-ai",
"langchain"
] | ### System Info
Macbook OSX
Python 3.11.4 (main, Jun 25 2023, 18:18:14) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
LangChain Environment:
sdk_version:0.0.17
library:langchainplus_sdk
platform:macOS-13.3.1-arm64-arm-64bit
runtime:python
runtime_version:3.11.4
I'm getting this error, and no matter what co... | GoogleDriveLoader: AttributeError: 'Credentials' object has no attribute 'with_scopes' | https://api.github.com/repos/langchain-ai/langchain/issues/6997/comments | 3 | 2023-06-30T20:25:55Z | 2024-03-11T07:56:07Z | https://github.com/langchain-ai/langchain/issues/6997 | 1,783,124,885 | 6,997 |
[
"langchain-ai",
"langchain"
] | ### System Info
running google/flan-tf-xxl on ghcr.io/huggingface/text-generation-inference:0.8
langchain==0.0.220
text-generation==0.6.0
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Cha... | HuggingFaceTextGenInference does not accept 0 temperature | https://api.github.com/repos/langchain-ai/langchain/issues/6993/comments | 4 | 2023-06-30T18:51:33Z | 2023-09-29T16:20:59Z | https://github.com/langchain-ai/langchain/issues/6993 | 1,783,014,565 | 6,993 |
[
"langchain-ai",
"langchain"
] | ### System Info
Macos system
### 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
- [X] Output Parsers
... | langchain takes much time to reload | https://api.github.com/repos/langchain-ai/langchain/issues/6991/comments | 3 | 2023-06-30T18:17:21Z | 2023-10-07T16:05:43Z | https://github.com/langchain-ai/langchain/issues/6991 | 1,782,974,926 | 6,991 |
[
"langchain-ai",
"langchain"
] | `class VectaraRetriever` does not use the parameters passed in by `Vectara.as_retriever()`. The class definition sets up `vectorstore` and `search_kwargs` but then there is no check for values coming in from `Vectara.as_retriever()`.
https://github.com/hwchase17/langchain/blob/e3b7effc8f39333076c2bedd7306de81ce988de... | VectaraRetriever does not use the parameters passed in by `Vectara.as_retriever()` | https://api.github.com/repos/langchain-ai/langchain/issues/6984/comments | 4 | 2023-06-30T16:42:27Z | 2023-10-08T16:05:51Z | https://github.com/langchain-ai/langchain/issues/6984 | 1,782,833,784 | 6,984 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The links in the documentation to make contributions to pages point to the wrong file location within the repository. For example, the link on the "Quickstart" page points to the filepath `docs/docs/get_started/quickstart.mdx`, when it should point to `docs/docs_skeleton/docs/get_... | DOC: "Edit this page" returns 404 | https://api.github.com/repos/langchain-ai/langchain/issues/6983/comments | 1 | 2023-06-30T16:33:59Z | 2023-10-06T16:05:48Z | https://github.com/langchain-ai/langchain/issues/6983 | 1,782,823,112 | 6,983 |
[
"langchain-ai",
"langchain"
] | ### System Info
Here is my code to initialize the Chain, it should come with the default prompt template:
qa_source_chain = RetrievalQAWithSourcesChain.from_chain_type(
llm=llm_chat,
chain_type="stuff",
retriever=db_test.as_retriever()
)
Here is the source chain object, I guess default template f... | RetrievalQAWithSourcesChain object default prompt is problematic | https://api.github.com/repos/langchain-ai/langchain/issues/6982/comments | 2 | 2023-06-30T16:22:47Z | 2023-10-06T16:05:53Z | https://github.com/langchain-ai/langchain/issues/6982 | 1,782,809,247 | 6,982 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Everything was working fine 10 min ago, but now when I use the ConversationalRetrievalQAChain I always get a 401 error, I tried 2 difrent API keys and the error persists, don't really know what the issue mght be, any ideas?
This is the error log:
[chain/error] [1:chain:conversatio... | Issue: 401 error when using ConversationalRetrievalQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/6981/comments | 3 | 2023-06-30T16:22:20Z | 2023-10-06T16:05:58Z | https://github.com/langchain-ai/langchain/issues/6981 | 1,782,808,760 | 6,981 |
[
"langchain-ai",
"langchain"
] | ### System Info
Traceback (most recent call last):
File "/Users/apple/Desktop/LLM/gpt4all_langchain_chatbots/teacher/lib/python3.10/site-packages/langchain/embeddings/llamacpp.py", line 85, in validate_environment
from llama_cpp import Llama
ModuleNotFoundError: No module named 'llama_cpp'
During handling ... | llma Embeddings error | https://api.github.com/repos/langchain-ai/langchain/issues/6980/comments | 3 | 2023-06-30T16:22:20Z | 2023-12-01T16:09:18Z | https://github.com/langchain-ai/langchain/issues/6980 | 1,782,808,752 | 6,980 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain v0.0.220
Python 3.11.3
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | Error 422 when using BraveSearch | https://api.github.com/repos/langchain-ai/langchain/issues/6974/comments | 1 | 2023-06-30T15:12:25Z | 2023-10-06T16:06:03Z | https://github.com/langchain-ai/langchain/issues/6974 | 1,782,703,377 | 6,974 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be great if the [JSONLinesLoader](https://js.langchain.com/docs/modules/indexes/document_loaders/examples/file_loaders/jsonlines) that's available in the JS version of Langchain could be ported to the Python version.
### Motivation
I find working with jsonl files to be frequently easier ... | Using JSONLinesLoader in Python | https://api.github.com/repos/langchain-ai/langchain/issues/6973/comments | 6 | 2023-06-30T13:31:03Z | 2023-07-05T13:33:14Z | https://github.com/langchain-ai/langchain/issues/6973 | 1,782,539,266 | 6,973 |
[
"langchain-ai",
"langchain"
] | ### System Info
Traceback (most recent call last):
File "/tmp/pycharm_project_93/test_qa_generation.py", line 50, in <module>
result = qa.run({"question": query, "vectordbkwargs": vectordbkwargs })
File "/root/.cache/pypoetry/virtualenvs/irc-llm-0Bb4gJSe-py3.10/lib/python3.10/site-packages/langchain/chains/... | Cannot pass search_distance key to ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/6971/comments | 2 | 2023-06-30T12:34:14Z | 2023-07-03T04:37:06Z | https://github.com/langchain-ai/langchain/issues/6971 | 1,782,453,316 | 6,971 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
### 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
- [ ] Outpu... | HuggingFacePipeline not working | https://api.github.com/repos/langchain-ai/langchain/issues/6970/comments | 2 | 2023-06-30T11:37:16Z | 2023-06-30T11:59:52Z | https://github.com/langchain-ai/langchain/issues/6970 | 1,782,380,145 | 6,970 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.208
penai==0.27.8
python==3.10.6
### Who can help?
@hwchase17 Could you please help me in resolving the error whenver I run an gaent with the LLM as ChatOpenAI() i get the response as **""Do I need to use a tool? No.""**
While the agent returns the response perfectly fine with ll... | langchain.chat_models.ChatOpenAI does not returns a response while langchain.OpeAI does rteturn results | https://api.github.com/repos/langchain-ai/langchain/issues/6968/comments | 3 | 2023-06-30T10:55:01Z | 2023-10-23T16:07:22Z | https://github.com/langchain-ai/langchain/issues/6968 | 1,782,326,661 | 6,968 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
run langchain agent takes a lot of time,about 20s。the question is simple. Is there any good way reduce time?
### Suggestion:
_No response_ | langchain agent took a lot of time | https://api.github.com/repos/langchain-ai/langchain/issues/6965/comments | 5 | 2023-06-30T08:34:20Z | 2023-10-06T16:06:08Z | https://github.com/langchain-ai/langchain/issues/6965 | 1,782,126,816 | 6,965 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'd love to be able to extend the request URL with parameters.
Currently I can only provide request headers. This does not cover my use case.
### Motivation
Some APIs don't authenticate via headers and instead use URL parameters to provide API keys and Tokens.
Example: [Trello API](https://... | Adding support for URL Parameters in RequestsWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/6963/comments | 3 | 2023-06-30T07:58:56Z | 2024-06-16T08:34:56Z | https://github.com/langchain-ai/langchain/issues/6963 | 1,782,079,348 | 6,963 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Please update the CSVLoader to take list of columns as source_column.
### Motivation
This update will be be helpful, if the documents are embedded and used with vectordbs like Qdrant. As vectordbs like Qdrant offers filtering option, if the metadata is of Document object is used as payload then i... | Enable CSVLoader to take list of columns as source_column (or metadata) | https://api.github.com/repos/langchain-ai/langchain/issues/6961/comments | 6 | 2023-06-30T07:44:50Z | 2023-12-19T00:50:23Z | https://github.com/langchain-ai/langchain/issues/6961 | 1,782,060,256 | 6,961 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql_database import SQLDatabase
from transformers import AutoModel, AutoTokenizer
model_name = ".\\langchain-models\\THUDM\\chatglm2-6b"
local_model = AutoModel.from_pretrained(model_name, trust_remote_code... | i try to connect mysql database,but it give me a error about llm value is not a valid dict(type=type_error.dict),how to solve the problem? | https://api.github.com/repos/langchain-ai/langchain/issues/6959/comments | 4 | 2023-06-30T07:02:07Z | 2023-10-09T16:06:21Z | https://github.com/langchain-ai/langchain/issues/6959 | 1,782,008,769 | 6,959 |
[
"langchain-ai",
"langchain"
] | ### Feature request
CharacterTextSplitter split a size of 1GB code base with warnings exceed the log buffer, like
```
Created a chunk of size 2140, which is longer than the specified 900
Created a chunk of size 1269, which is longer than the specified 900
Created a chunk of size 1955, which is longer than the sp... | CharacterTextSplitter constanly generate chunks longer than given chunk_size | https://api.github.com/repos/langchain-ai/langchain/issues/6958/comments | 4 | 2023-06-30T06:46:26Z | 2023-12-13T16:08:43Z | https://github.com/langchain-ai/langchain/issues/6958 | 1,781,991,448 | 6,958 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
agent = initialize_agent(tools, llm, agent="zero-shot-react-description", return_intermediate_steps=True, verbose=True)
agent = initialize_agent(tools, llm, agent="zero-shot-react-description", return_intermediate_steps=True, memory=ConversationBufferMemory(memory_key="chat_history... | ValueError: `run` not supported when there is not exactly one output key. Got ['output', 'intermediate_steps'] | https://api.github.com/repos/langchain-ai/langchain/issues/6956/comments | 8 | 2023-06-30T05:52:27Z | 2024-05-19T05:48:47Z | https://github.com/langchain-ai/langchain/issues/6956 | 1,781,940,281 | 6,956 |
[
"langchain-ai",
"langchain"
] | ### System Info
ConversationalRetrievalChain with Question Answering with sources
```python
llm = OpenAI(temperature=0)
question_generator = LLMChain(llm=llm, prompt=CONDENSE_QUESTION_PROMPT)
doc_chain = load_qa_with_sources_chain(llm, chain_type="map_reduce")
chain = ConversationalRetrievalChain(
retrieve... | Conversational Retrieval QA with sources cannot return source | https://api.github.com/repos/langchain-ai/langchain/issues/6954/comments | 2 | 2023-06-30T03:17:04Z | 2023-07-03T07:34:15Z | https://github.com/langchain-ai/langchain/issues/6954 | 1,781,805,088 | 6,954 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Is there any way to store the Sentencebert/Bert/Spacy/Doc2vec based embeddings in the vector database using langchain
```
pages= "page content"
embeddings = OpenAIEmbeddings()
persist_directory = 'db'
vectordb = Chroma.from_documents(documents=pages, embedding=embeddings, persist_directory=per... | Sentencebert/Bert/Spacy/Doc2vec embedding support | https://api.github.com/repos/langchain-ai/langchain/issues/6952/comments | 8 | 2023-06-30T03:13:49Z | 2023-10-06T16:06:18Z | https://github.com/langchain-ai/langchain/issues/6952 | 1,781,803,067 | 6,952 |
[
"langchain-ai",
"langchain"
] | my code:
```
from langchain.llms import HuggingFacePipeline
from langchain.chains import ConversationalRetrievalChain
pipe = pipeline(
"text-generation", # task type
model=model,
tokenizer=tokenizer,
max_new_tokens=1024,
device=0, # very trick, gpu rank
)
local_llm = Hug... | Issue: Get Confused with ConversationalRetrievalChain + HuggingFacePipeline always gen wizard "Helpful answer: " | https://api.github.com/repos/langchain-ai/langchain/issues/6951/comments | 2 | 2023-06-30T02:41:25Z | 2023-10-06T16:06:23Z | https://github.com/langchain-ai/langchain/issues/6951 | 1,781,775,217 | 6,951 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Just curious if there is a feature to check whether the summarized output from a source document hallucinates or not by extending the checker chain.
### Motivation
LLMSummarizationCheckerChain checks facts of summaries using LLM knowledge. The motivation is to develop a feature that checks for fa... | LLMSummarizationCheckerFromSource | https://api.github.com/repos/langchain-ai/langchain/issues/6950/comments | 1 | 2023-06-30T02:19:22Z | 2023-10-06T16:06:29Z | https://github.com/langchain-ai/langchain/issues/6950 | 1,781,757,970 | 6,950 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Genuinely wanted to know the reasonings behind the inclusion of "Mu" in the "PyMuPDFLoader". Coming from an Indian background my friend and I held 1-2 hours of discussion over what this represents and the conclusions were not so appropriate.
We landed on this discussion after we no... | Inconsistent naming of document loaders | https://api.github.com/repos/langchain-ai/langchain/issues/6947/comments | 1 | 2023-06-30T00:41:17Z | 2023-06-30T15:56:45Z | https://github.com/langchain-ai/langchain/issues/6947 | 1,781,674,685 | 6,947 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
From the [documentation](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/few_shot_examples), it is not clear whether ‘FewShotPromptTemplate’ can be used with Chat models: in particular, it does not appear to be compatible with OpenAI’s suggested best ... | FewShotPromptTemplate with Chat models | https://api.github.com/repos/langchain-ai/langchain/issues/6946/comments | 1 | 2023-06-30T00:35:45Z | 2023-10-06T16:06:34Z | https://github.com/langchain-ai/langchain/issues/6946 | 1,781,669,365 | 6,946 |
[
"langchain-ai",
"langchain"
] | ### Feature request
[Brave Search](https://api.search.brave.com/app/dashboard) is a new interesting search engine
It can be used in place of the `Google Search`.
### Motivation
Users who are subscribers of Brave Search can use this.
### Your contribution
I can try to implement it if somebody is interested in this... | add `Brave` Search | https://api.github.com/repos/langchain-ai/langchain/issues/6939/comments | 2 | 2023-06-29T21:47:51Z | 2023-06-30T15:24:25Z | https://github.com/langchain-ai/langchain/issues/6939 | 1,781,557,474 | 6,939 |
[
"langchain-ai",
"langchain"
] | ### System Info
Chroma v0.2.36, python 3.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | Chroma (duckdb+parquet) DB isn't saving the parquet files for persisted DB until application is killed | https://api.github.com/repos/langchain-ai/langchain/issues/6938/comments | 9 | 2023-06-29T21:15:14Z | 2023-10-06T16:39:27Z | https://github.com/langchain-ai/langchain/issues/6938 | 1,781,527,088 | 6,938 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.218
### 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
- [ ] Documen... | Missing reference to o365_toolkit module in __init__.py of agent_toolkits | https://api.github.com/repos/langchain-ai/langchain/issues/6936/comments | 4 | 2023-06-29T19:23:25Z | 2023-09-28T16:20:50Z | https://github.com/langchain-ai/langchain/issues/6936 | 1,781,364,740 | 6,936 |
[
"langchain-ai",
"langchain"
] | ### System Info
The SageMaker Endpoint validation function currently throws a missing credential error if the region name is not provided in the input. However, it is crucial to perform input validation for the region name to provide the user with clear error information.
GitHub Issue Reference:
For the code refer... | SageMaker Endpoint - Validations | https://api.github.com/repos/langchain-ai/langchain/issues/6934/comments | 3 | 2023-06-29T17:43:12Z | 2023-11-30T16:08:26Z | https://github.com/langchain-ai/langchain/issues/6934 | 1,781,255,515 | 6,934 |
[
"langchain-ai",
"langchain"
] | ### Feature request
A universal approach to add openai functions specifically for output format control to `LLMchain`. Create a class that takes in dict, json, pydantic, or even rail specs (from guardrails) to preprocess classes or dictionaries into openai functions (function, parameters, and properties) for the `llm_... | General OpenAI Function Mapping from Pydantic, Dicts directly to function, parameters, and properties | https://api.github.com/repos/langchain-ai/langchain/issues/6933/comments | 9 | 2023-06-29T17:07:09Z | 2023-07-08T01:50:27Z | https://github.com/langchain-ai/langchain/issues/6933 | 1,781,214,707 | 6,933 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.