issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/chains/how_to/openai_functions
from typing import Sequence
class Person(BaseModel):
"""Identifying information about a person."""
name: str = Field(..., description="The person's name")
age: int = Field(..., descript... | documents have error (create_structured_output_chain) | https://api.github.com/repos/langchain-ai/langchain/issues/11524/comments | 4 | 2023-10-08T08:00:40Z | 2024-02-09T16:18:23Z | https://github.com/langchain-ai/langchain/issues/11524 | 1,931,696,800 | 11,524 |
[
"hwchase17",
"langchain"
] | I am trying to use the `add_texts` method on a previously instanciated Neo4jVector object for setting the node_label.
The scenario is that I am processing different types of text and want to create different nodes accordingly. Because I am handling the database connection somewhere else in my code, I don't want to ... | Neo4jVectorstore: Parse vectorstore specific parameters in **kwargs when calling add_embeddings() | https://api.github.com/repos/langchain-ai/langchain/issues/11515/comments | 3 | 2023-10-07T18:29:54Z | 2024-02-07T16:22:08Z | https://github.com/langchain-ai/langchain/issues/11515 | 1,931,456,319 | 11,515 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.310
Python 3.11
Windows 10
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | Can't import UnstructuredRSTLoader | https://api.github.com/repos/langchain-ai/langchain/issues/11510/comments | 1 | 2023-10-07T11:17:32Z | 2023-10-07T11:33:42Z | https://github.com/langchain-ai/langchain/issues/11510 | 1,931,310,770 | 11,510 |
[
"hwchase17",
"langchain"
] | ### Feature request
Loaders are designed to load a single source of data and transform it to a list of Documents. If several sources are to be processed, it is up to the developer to call the Loader several times.
The idea is to propose a new `BatchLoader` object that could simplify this task and enable loading tas... | [Feature] Batch loader | https://api.github.com/repos/langchain-ai/langchain/issues/11509/comments | 3 | 2023-10-07T09:48:11Z | 2024-05-13T16:07:52Z | https://github.com/langchain-ai/langchain/issues/11509 | 1,931,282,259 | 11,509 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want streaming when call chatgpt with n>1. can u support me?
### Suggestion:
_No response_ | why when streaming only setup n=1 | https://api.github.com/repos/langchain-ai/langchain/issues/11508/comments | 2 | 2023-10-07T04:08:32Z | 2024-02-07T16:22:13Z | https://github.com/langchain-ai/langchain/issues/11508 | 1,931,176,253 | 11,508 |
[
"hwchase17",
"langchain"
] | ### Feature request
We propose the addition of Google Scholar querying with the serpapi, as google Scholar is a prominent platform for accessing academic and scholarly articles.
### Motivation
Google scholar is a crucial resource for researchers, students, and professionals in various fields. Integrating Google Scho... | Add support for google scholar querying with serpapi | https://api.github.com/repos/langchain-ai/langchain/issues/11505/comments | 4 | 2023-10-06T23:45:22Z | 2023-11-13T20:13:57Z | https://github.com/langchain-ai/langchain/issues/11505 | 1,931,050,084 | 11,505 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain==0.0305
Mac
python == 3.9.6
### 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
-... | Retry limit is not respected | https://api.github.com/repos/langchain-ai/langchain/issues/11500/comments | 2 | 2023-10-06T21:37:53Z | 2024-02-07T16:22:18Z | https://github.com/langchain-ai/langchain/issues/11500 | 1,930,961,933 | 11,500 |
[
"hwchase17",
"langchain"
] | ### Feature request
The Redis Vectorstore `add_documents()` method calls `add_texts()` which embeds documents one by one like:
```
embedding = (
embeddings[i] if embeddings else self._embeddings.embed_query(text)
)
```
The `add_documents()` method would seem to imply that it is a good... | Redis Vectorestore.add_documents() should use embed_documents() instead of embed_query() | https://api.github.com/repos/langchain-ai/langchain/issues/11496/comments | 3 | 2023-10-06T20:31:55Z | 2024-02-12T16:12:09Z | https://github.com/langchain-ai/langchain/issues/11496 | 1,930,899,139 | 11,496 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS, PGVector, TypeScript, NodeJS.
### 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 Par... | await PGVectorStore throws an ts(1378) error. | https://api.github.com/repos/langchain-ai/langchain/issues/11492/comments | 2 | 2023-10-06T17:37:48Z | 2024-02-06T16:25:41Z | https://github.com/langchain-ai/langchain/issues/11492 | 1,930,691,209 | 11,492 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The llm loader `load_llm_from_config` defined [here](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/llms/loading.py#L12) only returns `BaseLLM`s. There is no equivalent chat_model loader in langchain to load Chat Model LLMs from a config that I'm aware of.... | Issue: load_llm_from_config doesn't working with Chat Models | https://api.github.com/repos/langchain-ai/langchain/issues/11485/comments | 1 | 2023-10-06T15:52:46Z | 2023-10-11T23:29:10Z | https://github.com/langchain-ai/langchain/issues/11485 | 1,930,491,541 | 11,485 |
[
"hwchase17",
"langchain"
] | ### Feature request
The SentimentAnalysis chain is designed to analyze the sentiment of textual data using langchain. It uses a language model like OpenAI's GPT-3.5 & 4 to process text inputs and provide sentiment labels and scores. This chain can be used for various applications, including sentiment analysis of produ... | Sentimental analysis chain | https://api.github.com/repos/langchain-ai/langchain/issues/11480/comments | 2 | 2023-10-06T14:21:14Z | 2024-02-06T16:25:46Z | https://github.com/langchain-ai/langchain/issues/11480 | 1,930,280,545 | 11,480 |
[
"hwchase17",
"langchain"
] | ### System Info
pip 23.2.1 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
Python 3.12.0 (main, Oct 3 2023, 01:48:15) [GCC 12.2.0] on linux
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LL... | Unable to use Python 3.12 due to `aiohttp` and other dependencies not supporting 3.12 yet | https://api.github.com/repos/langchain-ai/langchain/issues/11479/comments | 9 | 2023-10-06T14:05:06Z | 2024-03-09T07:27:40Z | https://github.com/langchain-ai/langchain/issues/11479 | 1,930,250,920 | 11,479 |
[
"hwchase17",
"langchain"
] | ### System Info
pyython: 3.11
langChain:0.0.309
SO: windows 10
pip list:
Package Version
---------------------------------------- ---------
aiofiles 23.2.1
aiohttp 3.8.5
aiosignal ... | Fail using langchain extractor with AzureOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/11478/comments | 8 | 2023-10-06T13:29:21Z | 2024-03-18T16:05:39Z | https://github.com/langchain-ai/langchain/issues/11478 | 1,930,190,172 | 11,478 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.294
### Who can help?
@hwchase17 , @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ... | 'RunnableLambda' object has no attribute 'run' | https://api.github.com/repos/langchain-ai/langchain/issues/11477/comments | 2 | 2023-10-06T12:19:43Z | 2024-02-09T16:18:34Z | https://github.com/langchain-ai/langchain/issues/11477 | 1,930,053,551 | 11,477 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.279
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Documen... | Parser Error with Langchain/agents/Conversational/Output_parser.py | https://api.github.com/repos/langchain-ai/langchain/issues/11475/comments | 3 | 2023-10-06T12:08:15Z | 2024-02-08T16:22:05Z | https://github.com/langchain-ai/langchain/issues/11475 | 1,930,035,345 | 11,475 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I'm trying to change dynamically a prompt, based on the value of the context in a ConversationalRetrievalChain
```
prompt_template = """You are an AI assistant.
Use the following pieces of context to answer the question, in a precise way, at the end.
Context: {context i... | Add condition in Prompt based on the retriever | https://api.github.com/repos/langchain-ai/langchain/issues/11474/comments | 12 | 2023-10-06T11:45:34Z | 2024-02-20T16:08:12Z | https://github.com/langchain-ai/langchain/issues/11474 | 1,930,003,162 | 11,474 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I use Qdrant through langchain to store vectors. But I can't find any example in docs where the dataset is searched based on a previously created collection. How to load the data? I found that Pinecone has "from_existing_index" function, which probably does the thing. But Qdrant doesn'... | Qdrant - Load the saved vector db/store ? | https://api.github.com/repos/langchain-ai/langchain/issues/11471/comments | 6 | 2023-10-06T10:37:36Z | 2024-01-08T12:29:50Z | https://github.com/langchain-ai/langchain/issues/11471 | 1,929,887,356 | 11,471 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am using Weaviate with ConversationalRetrievalChain
I am using `similarity_score_threshold` search type.
It will call `similarity_search_with_score` in `vectorstore/weaviate.py`
Currently it's written like this
` if not self._by_text:
vector = {"vector": embedded_qu... | Vectorstore and ConversationalRetrievalChain should return the certainty of the relevance | https://api.github.com/repos/langchain-ai/langchain/issues/11470/comments | 1 | 2023-10-06T10:29:22Z | 2024-02-06T16:26:01Z | https://github.com/langchain-ai/langchain/issues/11470 | 1,929,874,506 | 11,470 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The first code example following the Pydantic section, right after "Lets define a class with attributes annotated with types."
results for me in the following pydantic errors using gpt-4:
RuntimeError: no validator found for <class '__main__.Properties'>, see `arbitrary_type... | DOC: pydantic extraction example code not working | https://api.github.com/repos/langchain-ai/langchain/issues/11468/comments | 2 | 2023-10-06T09:27:55Z | 2024-02-10T16:14:42Z | https://github.com/langchain-ai/langchain/issues/11468 | 1,929,774,144 | 11,468 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain latest version: 0.0.161
"mammoth": "^1.6.0",
### 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 Selec... | DOCX loader is not working properly in js | https://api.github.com/repos/langchain-ai/langchain/issues/11466/comments | 3 | 2023-10-06T07:22:12Z | 2024-02-08T16:22:16Z | https://github.com/langchain-ai/langchain/issues/11466 | 1,929,588,339 | 11,466 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version : 0.0.292
Python version: 3.9.13
Platform: Apple M1, Sonoma 14.0
### Who can help?
@eyurtsev @hwc
### Information
- [x] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | The MIME type is 'video/mp4'. This file type is not currently supported in unstructured. | https://api.github.com/repos/langchain-ai/langchain/issues/11464/comments | 2 | 2023-10-06T03:04:26Z | 2024-02-06T16:26:17Z | https://github.com/langchain-ai/langchain/issues/11464 | 1,929,358,704 | 11,464 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
we are following https://python.langchain.com/docs/modules/agents/how_to/custom_llm_agent however, by default it's using one input only, how to make it accept multiple inputs same as STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, thanks.
### Suggestion:
_No response_ | Issue: how to use multiple inputs with custom llm agent | https://api.github.com/repos/langchain-ai/langchain/issues/11460/comments | 2 | 2023-10-06T01:08:12Z | 2024-01-31T23:38:04Z | https://github.com/langchain-ai/langchain/issues/11460 | 1,929,282,468 | 11,460 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = "^0.0.304"
Python 3.11.5
MacBook Pro, Apple M2 chip, 8GB memory
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templa... | OnlinePDFLoader crashes with import error | https://api.github.com/repos/langchain-ai/langchain/issues/11459/comments | 4 | 2023-10-05T23:46:16Z | 2024-05-20T18:23:03Z | https://github.com/langchain-ai/langchain/issues/11459 | 1,929,226,840 | 11,459 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.250
Python: 3.11.4
OS: Pop 22.04
### Who can help?
@agola11
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Select... | `OpenAIWhisperParser` raises error if audio has duration too close to the chunk limit | https://api.github.com/repos/langchain-ai/langchain/issues/11449/comments | 4 | 2023-10-05T19:44:40Z | 2024-02-23T18:09:09Z | https://github.com/langchain-ai/langchain/issues/11449 | 1,928,949,307 | 11,449 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When I'm running the code "from langchain.chains import LLMChain", I'm getting the following error:
'RuntimeError: no validator found for <class 're.Pattern'>, see `arbitrary_types_allowed` in Config'
<img width="887" alt="Screenshot 2023-10-06 at 12 01 49 AM" src="https://github.co... | Error while importing LLMChain | https://api.github.com/repos/langchain-ai/langchain/issues/11448/comments | 3 | 2023-10-05T18:32:29Z | 2024-02-10T16:14:47Z | https://github.com/langchain-ai/langchain/issues/11448 | 1,928,839,177 | 11,448 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm trying to make a general chat bot when ever I try to get it to write code I get [ERROR] OutputParserException: Could not parse LLM output:
is there a way to parse all parse of output?
Any help would be great.
### Suggestion:
_No response_ | Issue: Trying to be able to parse all parse of LLM outputs | https://api.github.com/repos/langchain-ai/langchain/issues/11447/comments | 3 | 2023-10-05T17:10:23Z | 2024-02-07T16:22:53Z | https://github.com/langchain-ai/langchain/issues/11447 | 1,928,727,245 | 11,447 |
[
"hwchase17",
"langchain"
] | ### System Info
**Specs:**
langchain 0.0.301
Python 3.11.4
embeddings =HuggingFace embeddings
llm = Claud 2
EXAMPLE:
1. Chunks object below in my code contains the following string: leflunomide **(LEF) (≤ 20 mg/day)**
`Chroma.from_documents(documents=chunks, embedding=embeddings, collection_name=collect... | Chroma is adding an extra space (very consistently) in front of '≤ ’ characters and it has a real impact. | https://api.github.com/repos/langchain-ai/langchain/issues/11441/comments | 7 | 2023-10-05T16:00:27Z | 2024-02-12T16:12:14Z | https://github.com/langchain-ai/langchain/issues/11441 | 1,928,619,715 | 11,441 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | Issue: Is it possible to use a HF LLM using Conversational Retrieval Agent? | https://api.github.com/repos/langchain-ai/langchain/issues/11440/comments | 3 | 2023-10-05T15:54:16Z | 2024-02-10T16:14:57Z | https://github.com/langchain-ai/langchain/issues/11440 | 1,928,609,140 | 11,440 |
[
"hwchase17",
"langchain"
] | Hello there,
I have deployed an OpenLLM on a managed service that is protected by the use of an auth Bearer token:
```bash
curl -X 'POST' \
'https://themodel.url/v1/generate' \
-H "Authorization: Bearer Sh6Kh4[ . . . super long bearer token ]W18UiWuzsz+0r+U"
-H 'accept: application/json' \
-H 'Conten... | Bearer token support for self-deployed OpenLLM | https://api.github.com/repos/langchain-ai/langchain/issues/11438/comments | 4 | 2023-10-05T15:09:13Z | 2024-02-10T16:15:02Z | https://github.com/langchain-ai/langchain/issues/11438 | 1,928,525,648 | 11,438 |
[
"hwchase17",
"langchain"
] | ### System Info
python: 3.11
langchain: 0.0.306
### Who can help?
Although PGVector implementation utilizes SQLAlchemy that supports connection pooling features, it gets one connection from the pool, saves it as a class attribute and reuses in all requests.
```python
class PGVector(VectorStore):
# ...
... | PGVector bound to a single database connection | https://api.github.com/repos/langchain-ai/langchain/issues/11433/comments | 7 | 2023-10-05T12:52:39Z | 2024-05-11T16:07:07Z | https://github.com/langchain-ai/langchain/issues/11433 | 1,928,223,846 | 11,433 |
[
"hwchase17",
"langchain"
] | ### System Info
Windows 11
Python 3.10
Langchain 0.0.286
Pyinstaller 5.7.0
File "test1.py", line 5, in <module>
File "langchain\document_loaders\unstructured.py", line 86, in load
File "langchain\document_loaders\pdf.py", line 57, in _get_elements
File "<frozen importlib._bootstrap>", line 1178, in ... | Loading UnstructeredPDF fails after build with PyInstaller | https://api.github.com/repos/langchain-ai/langchain/issues/11430/comments | 5 | 2023-10-05T12:08:46Z | 2023-10-05T20:04:59Z | https://github.com/langchain-ai/langchain/issues/11430 | 1,928,130,885 | 11,430 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using Python 3.11.5 and I run into this issue with `ModuleNotFoundError: No module named 'langchain.document_loaders'` after running `pip install 'langchain[all]'`, which appears to be installing langchain-0.0.39
If I then run `pip uninstall langchain`, followed by `pip install langchain`, it... | pip installing 'langchain[all]' installs a newer (broken) version than pip install langchain does | https://api.github.com/repos/langchain-ai/langchain/issues/11426/comments | 1 | 2023-10-05T10:49:12Z | 2023-10-05T11:18:44Z | https://github.com/langchain-ai/langchain/issues/11426 | 1,927,989,312 | 11,426 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In [QA using a Retriever docs](https://python.langchain.com/docs/use_cases/question_answering/how_to/vector_db_qa) you can observe that after each LLM reply we observe additional empty space. What is the purpose of having this space or is it just a bug in Prompt?
Copied from t... | DOC: QA using a Retriever, why do we need additional empty space? | https://api.github.com/repos/langchain-ai/langchain/issues/11425/comments | 2 | 2023-10-05T10:09:14Z | 2024-02-07T16:23:13Z | https://github.com/langchain-ai/langchain/issues/11425 | 1,927,900,506 | 11,425 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to access documents from SharePoint using Langchain's [SharePointLoader](https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.sharepoint.SharePointLoader.html).
I changed the redirect URI to a local host on this [documentation](https://pyt... | Issue: Custom Redirect URI as parameter in SharePointLoader | https://api.github.com/repos/langchain-ai/langchain/issues/11423/comments | 3 | 2023-10-05T06:16:38Z | 2024-02-07T16:23:18Z | https://github.com/langchain-ai/langchain/issues/11423 | 1,927,461,674 | 11,423 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.300
supabase==1.1.1
### Who can help?
@hwaking @eyurtsev @agola11 @eyurtsev @hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt T... | SupabaseVectorStore.from_documents is not working | https://api.github.com/repos/langchain-ai/langchain/issues/11422/comments | 28 | 2023-10-05T05:39:43Z | 2024-07-04T16:06:49Z | https://github.com/langchain-ai/langchain/issues/11422 | 1,927,423,576 | 11,422 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using UnstructuredWordDocumentLoader module to load a .docx file. I already tried several things... but the text data returned is always without the percentages that are several times in the .docx file.
How can I maintain / get this (%) percentage symbol?
Thanks
### Who can help?
@hw... | UnstructuredWordDocumentLoader - Missing Percentages (%) characters in data | https://api.github.com/repos/langchain-ai/langchain/issues/11416/comments | 3 | 2023-10-05T00:35:06Z | 2024-02-07T16:23:23Z | https://github.com/langchain-ai/langchain/issues/11416 | 1,927,175,230 | 11,416 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the documentation for some examples like [Weaviate](https://api.python.langchain.com/en/latest/vectorstores/langchain.vectorstores.weaviate.Weaviate.html#langchain.vectorstores.weaviate.Weaviate.delete) and [ElasticsearchVectorStore](https://api.python.langchain.com/en/latest/v... | DOC: optional ids issue in delete method in vectorstores | https://api.github.com/repos/langchain-ai/langchain/issues/11414/comments | 1 | 2023-10-04T22:50:28Z | 2024-02-06T16:27:01Z | https://github.com/langchain-ai/langchain/issues/11414 | 1,927,090,102 | 11,414 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to implement a `ListOutputParser` that could transform Markdown list into a string list
### Motivation
It seems that most of the lists generated by LLMs are Markdown lists, so I think this will be useful.
It might also make it easier to handle cases where the generated list do... | Feature: Markdown list output parser | https://api.github.com/repos/langchain-ai/langchain/issues/11410/comments | 1 | 2023-10-04T21:38:14Z | 2023-10-07T01:57:03Z | https://github.com/langchain-ai/langchain/issues/11410 | 1,927,019,118 | 11,410 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.303, python 3.9, redis-py 5.0.1, latest redis stack with RedisSearch module
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pr... | Redis from_existing_index does not raise ValueError when index does not exist | https://api.github.com/repos/langchain-ai/langchain/issues/11409/comments | 5 | 2023-10-04T21:30:28Z | 2023-10-09T15:05:22Z | https://github.com/langchain-ai/langchain/issues/11409 | 1,927,010,913 | 11,409 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, I am using LLMChainFilter.from_llm(llm) but while running, I am getting this error:
ValueError: BooleanOutputParser expected output value to either be YES or NO. Received Yes, the context is relevant to the question as it provides information about the problem in the.
How do I resolve this er... | BooleanOutputParser expected output value error | https://api.github.com/repos/langchain-ai/langchain/issues/11408/comments | 6 | 2023-10-04T21:18:38Z | 2024-04-09T20:43:32Z | https://github.com/langchain-ai/langchain/issues/11408 | 1,926,997,959 | 11,408 |
[
"hwchase17",
"langchain"
] | ### System Info
I’m running this on a local machine Windows 10, Spyder 5.2.1 IDE with Anaconda package management, using python 3.10.
### Who can help?
@leo-gan @holtskinner
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLM... | Error "InvalidArgument: 400 Request" by following tutorial for Document AI | https://api.github.com/repos/langchain-ai/langchain/issues/11407/comments | 18 | 2023-10-04T20:32:22Z | 2024-02-15T16:08:50Z | https://github.com/langchain-ai/langchain/issues/11407 | 1,926,936,215 | 11,407 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hey there, I'm trying got find a way to prevent an agent from going over the token limit, I've looked at the docs, asked around and had no luck.
This is the error for better content:
[ERROR] InvalidRequestError: This model's maximum context length is 16384 tokens. However, your mess... | Issue: prevent a agent from exceeding the token limit | https://api.github.com/repos/langchain-ai/langchain/issues/11405/comments | 9 | 2023-10-04T20:11:52Z | 2024-02-14T16:09:53Z | https://github.com/langchain-ai/langchain/issues/11405 | 1,926,907,879 | 11,405 |
[
"hwchase17",
"langchain"
] | ### System Info
python:3.10.13 bookworm (docker)
streamlit
Version: 1.27.1
langchain
Version: 0.0.306
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | StreamlitCallbackHandler thinking.. / spinner Not stopping | https://api.github.com/repos/langchain-ai/langchain/issues/11398/comments | 14 | 2023-10-04T19:30:40Z | 2024-06-25T16:13:40Z | https://github.com/langchain-ai/langchain/issues/11398 | 1,926,846,508 | 11,398 |
[
"hwchase17",
"langchain"
] | ### System Info
"There was a BUG when using return_source_documents = True with any chain, it was always raising an error!!
!!, this is a temporary fix that requires the 'answer' key to be present there, but FIX IT, it is now impossible to to return_source_docs !!!!!!!!!!!!"
def _get_input_output(
self, in... | Retrun_source_documets does not work !!!! | https://api.github.com/repos/langchain-ai/langchain/issues/11396/comments | 2 | 2023-10-04T19:13:38Z | 2024-02-06T16:27:06Z | https://github.com/langchain-ai/langchain/issues/11396 | 1,926,823,792 | 11,396 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.308
Python: 3.8
def get_ml_response(self, question):
try:
chain = create_conversation_retrieval_chain()
llm_response = chain({'question': question, "chat_history": []})
logger.info(f"LLm Response: {llm_response}")
except Ex... | Access Denied Exception while accessing Cross Account Sagemaker endpoints. | https://api.github.com/repos/langchain-ai/langchain/issues/11392/comments | 2 | 2023-10-04T17:32:33Z | 2024-02-06T16:27:11Z | https://github.com/langchain-ai/langchain/issues/11392 | 1,926,681,297 | 11,392 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm using Google Colab, authenticating with my own account.
Packages installation:
!pip install google-cloud-discoveryengine google-cloud-aiplatform langchain==0.0.236 -q
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts... | Sources are not returned in RetrievalQAWithSourcesChain | https://api.github.com/repos/langchain-ai/langchain/issues/11387/comments | 2 | 2023-10-04T16:54:58Z | 2024-02-06T16:27:16Z | https://github.com/langchain-ai/langchain/issues/11387 | 1,926,626,279 | 11,387 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using Lang chain version 0.0.307 and I noticed an issue with the similarity_score_threshold. I just upgraded from 0.0.208 or 288 (I forgot).
This is the code I am using to retrieve the documents from pinecone:
```
docsearch = Pinecone.from_existing_index(index, embeddings, ... | Issue: similarity_score_threshold not working with pinecone as expected | https://api.github.com/repos/langchain-ai/langchain/issues/11386/comments | 2 | 2023-10-04T16:48:26Z | 2024-02-07T16:23:28Z | https://github.com/langchain-ai/langchain/issues/11386 | 1,926,617,079 | 11,386 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I got this error when I built an ChatBot with Langchain using VertexAI. I'm seeing this error and couldn't find any details so far.
File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 292, in __call__
raise e
File "/opt/conda/lib/python3.10/site-pac... | Issue: TypeError: TextGenerationModel.predict() got an unexpected keyword argument 'stop_sequences' | https://api.github.com/repos/langchain-ai/langchain/issues/11384/comments | 3 | 2023-10-04T16:10:08Z | 2024-02-11T16:12:46Z | https://github.com/langchain-ai/langchain/issues/11384 | 1,926,558,948 | 11,384 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I have implemented the indexing workflow as in https://python.langchain.com/docs/modules/data_connection/indexing making use of Pinecone and sqlite. This runs perfect within a Pycharm dev environment. But after building the app with Pyinstaller, I get the following error: sqlite3.Ope... | Issue: sqlite3.OperationalError: unable to open database file | https://api.github.com/repos/langchain-ai/langchain/issues/11379/comments | 4 | 2023-10-04T12:16:34Z | 2023-10-05T11:22:05Z | https://github.com/langchain-ai/langchain/issues/11379 | 1,926,086,161 | 11,379 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain==0.0.306
Python 3.10.12
(Ubuntu Linux 20.04.6)
### Who can help?
The `ConversationBufferMemory` returns an empty string instead of an empty list when there's nothing stored, which breaks the expectations of the `MessagesPlaceholder` used within the Conversational REACT agent.
Rel... | ConversationBufferMemory returns empty string (and not a list) when empty, breaking agents with memory ("should be a list of base messages, got") | https://api.github.com/repos/langchain-ai/langchain/issues/11376/comments | 3 | 2023-10-04T09:18:45Z | 2024-03-20T18:51:23Z | https://github.com/langchain-ai/langchain/issues/11376 | 1,925,768,723 | 11,376 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have applied RetrievalQA's chain_type to map_reduce in my application and would like to customize its system message.
### Suggestion:
There is a way to modify the map_reduce_prompt code in the question answering, but I would like to know how to change it to the argument value of Retr... | How to change the system message of qa chain? | https://api.github.com/repos/langchain-ai/langchain/issues/11375/comments | 2 | 2023-10-04T08:53:33Z | 2024-02-06T16:27:36Z | https://github.com/langchain-ai/langchain/issues/11375 | 1,925,720,401 | 11,375 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am having python REST API which calls to Open AI using following code for embedding.
`openai.Embedding.create(input=text, engine='text-embedding-ada-002')['data'][0]['embedding']`
I am having text length below the 8191 (max token size for text-embedding-ada-002).
When I am cal... | Issue: Open AI embedding dose not returning results for some times | https://api.github.com/repos/langchain-ai/langchain/issues/11373/comments | 3 | 2023-10-04T05:46:24Z | 2024-02-07T16:23:38Z | https://github.com/langchain-ai/langchain/issues/11373 | 1,925,448,887 | 11,373 |
[
"hwchase17",
"langchain"
] | ### System Info
I running code in Google Colab:
LangChain version: 0.0.306
Python 3.10.12
Transformers library 4.34.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
... | RAG - TypeError: unhashable type: 'list' | https://api.github.com/repos/langchain-ai/langchain/issues/11371/comments | 5 | 2023-10-04T03:33:06Z | 2023-10-04T15:35:46Z | https://github.com/langchain-ai/langchain/issues/11371 | 1,925,341,660 | 11,371 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm creating a langchain chatbot (Conversationl-ReACT-description) with zep long term memory and that bot has access to real-time data. How do I prevent use the memory when same query asked again few minutes later?
### Suggestion:
_No response_ | Issue: Limit Memory Access on LangChain Bot | https://api.github.com/repos/langchain-ai/langchain/issues/11370/comments | 2 | 2023-10-04T03:27:22Z | 2024-02-06T16:27:46Z | https://github.com/langchain-ai/langchain/issues/11370 | 1,925,333,897 | 11,370 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I want to clarify some questions about tool and llm usage.
If an agent is initialized with multiple llm and tools,
1. how does the agent choose which llm or tool to use to answer the prompt?
2. How is llm different from tools? Can you give some examples of each category?
3... | Issue: differences between tool and llm | https://api.github.com/repos/langchain-ai/langchain/issues/11365/comments | 2 | 2023-10-03T21:42:07Z | 2024-02-06T16:27:51Z | https://github.com/langchain-ai/langchain/issues/11365 | 1,924,996,244 | 11,365 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When I use directory loader, does langchain index the speaker notes in powerpoint?
### Suggestion:
_No response_ | Does langchain index the speaker notes in powerpoint? | https://api.github.com/repos/langchain-ai/langchain/issues/11363/comments | 6 | 2023-10-03T21:00:18Z | 2024-02-10T16:15:22Z | https://github.com/langchain-ai/langchain/issues/11363 | 1,924,939,090 | 11,363 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Trying to submit a code update. This would be a first. Help a non software eng out. :)
Here's a manual diff of the intended change:
```
langchain\libs\langchain\langchain\document_loaders\text.py
<<[41] with open(self.file_path, encoding=self.encoding) as f:
>>[41] ... | Issue: Fixed unicode decode byte error | https://api.github.com/repos/langchain-ai/langchain/issues/11359/comments | 4 | 2023-10-03T19:47:13Z | 2024-05-10T16:07:15Z | https://github.com/langchain-ai/langchain/issues/11359 | 1,924,832,590 | 11,359 |
[
"hwchase17",
"langchain"
] | ### Feature request
Chatbot using prompt template (Langchain) gives proper response to first prompt "Hi there!" but gives below error to second prompt "Give me a few tips on how to start a new garden."
_```
ValueError: Error: Prompt must alternate between '
Human:' and '
Assistant:'.
### Motivation
Yes... | BedrockChat Error | https://api.github.com/repos/langchain-ai/langchain/issues/11358/comments | 2 | 2023-10-03T19:43:11Z | 2024-02-06T16:28:01Z | https://github.com/langchain-ai/langchain/issues/11358 | 1,924,827,161 | 11,358 |
[
"hwchase17",
"langchain"
] | ### System Info
Today, all of a sudden I'm getting a error status code 429 using the Conversation chain. Nothing has changed, expect the day I've run the script. Any ideas?
It works with the normal LLM chain, so it must be to do with the Conversation Chain not working or the memories.
Using Flowise.
Chrome
@hw... | Conversational Chain Error 429 | https://api.github.com/repos/langchain-ai/langchain/issues/11347/comments | 4 | 2023-10-03T16:28:32Z | 2024-02-10T16:15:27Z | https://github.com/langchain-ai/langchain/issues/11347 | 1,924,512,627 | 11,347 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.286
### 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
- [ ] Doc... | Missing 1 required positional argument for function that has `self` argument. | https://api.github.com/repos/langchain-ai/langchain/issues/11341/comments | 6 | 2023-10-03T15:06:00Z | 2024-07-15T04:32:06Z | https://github.com/langchain-ai/langchain/issues/11341 | 1,924,354,324 | 11,341 |
[
"hwchase17",
"langchain"
] | ### System Info
latest version of langchain. python=3.11.4
### Who can help?
@all
### Information
- [x] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parse... | OperationalError: (pyodbc.OperationalError) ('08001', '[08001] | https://api.github.com/repos/langchain-ai/langchain/issues/11337/comments | 25 | 2023-10-03T14:39:18Z | 2024-02-15T16:08:56Z | https://github.com/langchain-ai/langchain/issues/11337 | 1,924,300,917 | 11,337 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi! I am trying to create a question answering chatbot with PDFs. There is something different in these documents. I have different articles with their number, example: article 1.2.2.1.3, article 1.2.3.4.5, article 2.3.4.1.3, etc.
When I ask for a specific article, it can't find the a... | Issue: Documents embeddings with many and similar numbers don't return good results | https://api.github.com/repos/langchain-ai/langchain/issues/11331/comments | 5 | 2023-10-03T12:04:42Z | 2024-02-12T16:12:34Z | https://github.com/langchain-ai/langchain/issues/11331 | 1,923,981,257 | 11,331 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Yeah, so I've been attempting to load Llama2 and utilize Langchain to create a condensed model for my documents. I managed to accomplish the task successfully, as Llama2 generated the results quite effectively. However, when I tried to speed up the process by referencing Langchain's [LLM... | Issue: LLMChain arun running with Llama7B encounter NotImplementError | https://api.github.com/repos/langchain-ai/langchain/issues/11325/comments | 2 | 2023-10-03T09:18:23Z | 2024-02-07T16:23:58Z | https://github.com/langchain-ai/langchain/issues/11325 | 1,923,694,958 | 11,325 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Is there a codeinterpreter plugin for langchain?
Use Case: I want to generate insights with charts as like the paid ChatGPT out there. Is this possible?
### Suggestion:
_No response_ | CodeInterpreter for Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/11319/comments | 1 | 2023-10-03T04:45:52Z | 2024-02-06T16:28:21Z | https://github.com/langchain-ai/langchain/issues/11319 | 1,923,299,236 | 11,319 |
[
"hwchase17",
"langchain"
] | ### System Info
- Langchain Version: 0.0.306
- Python Version: 3.10.11
- Azure Cognitive Seach (any sku)
- Embedding that has batch functionality
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Azure Cognitive Search vector DB store performs slow embedding as it does not utilize the batch embedding functionality | https://api.github.com/repos/langchain-ai/langchain/issues/11313/comments | 6 | 2023-10-02T21:42:29Z | 2024-02-27T11:12:59Z | https://github.com/langchain-ai/langchain/issues/11313 | 1,922,776,905 | 11,313 |
[
"hwchase17",
"langchain"
] | ### System Info
v: 0.0306
python version: Python 3.11.4
### 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 / Prompt Templates / Prompt Selec... | Upgrade to v :0.0.306 - AttributeError: Could not find: llms | https://api.github.com/repos/langchain-ai/langchain/issues/11306/comments | 2 | 2023-10-02T19:50:11Z | 2024-05-01T16:05:15Z | https://github.com/langchain-ai/langchain/issues/11306 | 1,922,568,920 | 11,306 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi everyone,
I've encountered an issue while trying to instantiate the ConversationalRetrievalChain in the Langchain library. It seems to be related to the abstract class BaseRetriever and the required method _get_relevant_documents.
Here's my base code:
```
import os
from lan... | Issue: Abstract Class Implementation problem in Retrievers | https://api.github.com/repos/langchain-ai/langchain/issues/11303/comments | 21 | 2023-10-02T19:06:33Z | 2023-11-15T12:51:45Z | https://github.com/langchain-ai/langchain/issues/11303 | 1,922,487,402 | 11,303 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.291
### 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
- [ ] Documen... | PGVector 'mmr' does not apply the filter at the time of retrieval | https://api.github.com/repos/langchain-ai/langchain/issues/11295/comments | 4 | 2023-10-02T16:36:34Z | 2024-02-11T16:13:06Z | https://github.com/langchain-ai/langchain/issues/11295 | 1,922,260,149 | 11,295 |
[
"hwchase17",
"langchain"
] | ### Feature request
we are using your VLLMOpenAI class in a project to connect to our vLLM. we however don't use openAI, and found kind of weird that you have this implemented, but naming suggests it is specifically for openAI only. You could generalise this class so that it can be used with any kind of vLLM (which it... | VLLMOpenAI class should be generalised | https://api.github.com/repos/langchain-ai/langchain/issues/11291/comments | 5 | 2023-10-02T14:25:10Z | 2024-02-09T16:19:48Z | https://github.com/langchain-ai/langchain/issues/11291 | 1,922,030,381 | 11,291 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, I'd like to request the chain type of Chain-of-Verification (CoVe).
### Motivation
I see that there's already a `LLMCheckerChain` and a `SmartLLMChain` which use related techniques, but implementing the below four-step process as described in https://arxiv.org/abs/2309.11495 would, I think, s... | [Feature Request] Chain-of-Verification (CoVe) | https://api.github.com/repos/langchain-ai/langchain/issues/11285/comments | 6 | 2023-10-02T13:38:39Z | 2024-02-13T16:11:28Z | https://github.com/langchain-ai/langchain/issues/11285 | 1,921,942,394 | 11,285 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.305
Python version 3.101.1
Platform VScode
I am trying to create a chatbot using langchain and streamlit by running this code:
```
import os
import streamlit as st
from st_chat_message import message
from dotenv import load_dotenv
from langchain.chat_models import C... | ModuleNotFoundError: No module named 'langchain.chat_models' | https://api.github.com/repos/langchain-ai/langchain/issues/11277/comments | 4 | 2023-10-02T06:45:42Z | 2024-02-21T16:08:24Z | https://github.com/langchain-ai/langchain/issues/11277 | 1,921,339,371 | 11,277 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want simple methods to use on the various memory classes to enable easy serialization and de serialization of the current state of the convo, crucially including system messages as json dictionaries.
If this is currently already included, I cannot for the life of me find it anywhere in the do... | Simple Serialization and Deserialization of Memory classes to and from dictionaries w/ System Messages included | https://api.github.com/repos/langchain-ai/langchain/issues/11275/comments | 8 | 2023-10-02T04:50:53Z | 2024-02-15T16:09:05Z | https://github.com/langchain-ai/langchain/issues/11275 | 1,921,243,571 | 11,275 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is possible utilizate another languaje, like spanish?
### Motivation
Another Languaje
### Your contribution
I don't | Another Languaje | https://api.github.com/repos/langchain-ai/langchain/issues/11272/comments | 3 | 2023-10-02T00:27:49Z | 2024-02-08T16:23:26Z | https://github.com/langchain-ai/langchain/issues/11272 | 1,921,054,820 | 11,272 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm trying to use langchain with cache using gptcache, using pydantic models
(prior to this message I'm building prompt of mixed human and system messages)
```
chain = create_structured_output_chain(Job, llm, prompt, verbose=False)
res = chain.run({'job': job})
```
when not using cache e... | Chat cache results in KeyError: 'message' | https://api.github.com/repos/langchain-ai/langchain/issues/11268/comments | 7 | 2023-10-01T17:48:12Z | 2024-02-16T16:08:26Z | https://github.com/langchain-ai/langchain/issues/11268 | 1,920,886,661 | 11,268 |
[
"hwchase17",
"langchain"
] | I'm using create_conversational_retrieval_agent to create an agent and also passing in a system prompt. However , the prompt is passed in as user message, is this expected behavior?
```
conv_agent_executor = create_conversational_retrieval_agent(
llm, tools, verbose=False,
system_message=SystemM... | SystemMessage not updating system prompt | https://api.github.com/repos/langchain-ai/langchain/issues/11262/comments | 2 | 2023-10-01T13:18:15Z | 2024-02-07T16:24:28Z | https://github.com/langchain-ai/langchain/issues/11262 | 1,920,763,561 | 11,262 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version v0.0.305
Python 3.11
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ... | SmartLLMChain errors with Bedrock Anthropic models and n_ideas>1 | https://api.github.com/repos/langchain-ai/langchain/issues/11261/comments | 8 | 2023-10-01T13:06:07Z | 2024-05-11T16:07:02Z | https://github.com/langchain-ai/langchain/issues/11261 | 1,920,758,064 | 11,261 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, does langchain have a feature similar to LlamaIndex's [Sub Question Query Engine](https://gpt-index.readthedocs.io/en/latest/examples/query_engine/sub_question_query_engine.html)? If not, I'd like to submit a feature request!
### Motivation
This capability is very useful!
### Your contributi... | Sub Question Query Engine | https://api.github.com/repos/langchain-ai/langchain/issues/11260/comments | 10 | 2023-10-01T12:37:44Z | 2024-05-11T16:06:57Z | https://github.com/langchain-ai/langchain/issues/11260 | 1,920,745,638 | 11,260 |
[
"hwchase17",
"langchain"
] | ### System Info
|Name|Detail|
|--------|--------|
| Python | `3.10.13` |
| LangChain | `0.0.301` |
| System | MacOS `12.2.1` |
### Bug Detail
Playing around with a recursive function to decrement value `k` and ran into an issue whereby `self` is overwritten and bound to instance of `openai.error.InvalidReque... | ChatOpenAI: Exception InvalidRequestError changes bound "self" | https://api.github.com/repos/langchain-ai/langchain/issues/11258/comments | 2 | 2023-10-01T10:23:41Z | 2023-10-01T11:52:12Z | https://github.com/langchain-ai/langchain/issues/11258 | 1,920,688,423 | 11,258 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is it possible to integrate any language model (LM) trained on source code or opensource codebases on various programming languages e.g. :
- [StarCoder](https://github.com/bigcode-project/starcoder)
- [replit/replit-code-v1-3b](https://huggingface.co/replit/replit-code-v1-3b)
- [Bloom](https://b... | Implement a custom LangChain class wrapper (LLM model/Agent) for StarCoder model | https://api.github.com/repos/langchain-ai/langchain/issues/11252/comments | 11 | 2023-09-30T17:57:16Z | 2024-03-13T19:58:25Z | https://github.com/langchain-ai/langchain/issues/11252 | 1,920,348,709 | 11,252 |
[
"hwchase17",
"langchain"
] | ### System Info
I am following this example: https://python.langchain.com/docs/integrations/memory/dynamodb_chat_message_history
When attempting to import DynamoDBChatMessageHistory I am receiving an error
`from langchain.memory.chat_message_histories import DynamoDBChatMessageHistory`
`---------------------... | Error importing DynamoDBChatMessageHistory | https://api.github.com/repos/langchain-ai/langchain/issues/11250/comments | 2 | 2023-09-30T15:34:02Z | 2024-01-30T00:43:41Z | https://github.com/langchain-ai/langchain/issues/11250 | 1,920,300,925 | 11,250 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.305
MacOS M1 Silicon
### 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 P... | MathpixPDFLoader never finishes | https://api.github.com/repos/langchain-ai/langchain/issues/11249/comments | 6 | 2023-09-30T12:12:22Z | 2024-03-13T20:04:02Z | https://github.com/langchain-ai/langchain/issues/11249 | 1,920,235,293 | 11,249 |
[
"hwchase17",
"langchain"
] | ### System Info
version 0.300
<img width="1397" alt="Screenshot 2023-09-30 at 5 36 41 AM" src="https://github.com/langchain-ai/langchain/assets/17947802/124b1f2a-db02-497f-9cd0-dbad1033b6c8">
\\nObservation: requests_put is not a valid tool, try one of [requests_get, requests_post].\\nThought:I need to use requests_... | Hierarchical Planner - Observation: requests_put is not a valid tool, try one of [requests_get, requests_post]. | https://api.github.com/repos/langchain-ai/langchain/issues/11244/comments | 5 | 2023-09-30T02:45:21Z | 2024-01-30T00:42:35Z | https://github.com/langchain-ai/langchain/issues/11244 | 1,920,074,483 | 11,244 |
[
"hwchase17",
"langchain"
] | ### Feature request
We all want to have our clients to interact with the database using LLM, langchain with create_sql_agent, are great, the only problem I see, there is no way to limit user access to the database and fence him to his data.
For example we have table called AI_Product with many columns and one of t... | Limit Data and Enforcing Security for SQLDatabase & Agents | https://api.github.com/repos/langchain-ai/langchain/issues/11243/comments | 17 | 2023-09-29T22:31:23Z | 2024-03-25T16:06:18Z | https://github.com/langchain-ai/langchain/issues/11243 | 1,919,979,559 | 11,243 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
while RAG we create a db and then we ask a query to the db in this way,
`index = VectorstoreIndexCreator(
vectorstore_cls=DocArrayInMemorySearch
).from_loaders([loader])`
`index.query(llm=chat, question=query)`
we get some response.
Now lets say wanted to create dat... | Issue: < Urgent Help needed related to VectorstoreIndexCreator > | https://api.github.com/repos/langchain-ai/langchain/issues/11242/comments | 2 | 2023-09-29T21:53:43Z | 2023-10-31T07:58:55Z | https://github.com/langchain-ai/langchain/issues/11242 | 1,919,948,621 | 11,242 |
[
"hwchase17",
"langchain"
] | ### Feature request
[LanguageParser](https://github.com/langchain-ai/langchain/blob/e9b51513e9bab738c741a348ffbf0f36ce19faf6/libs/langchain/langchain/document_loaders/parsers/language/language_parser.py#L21C7-L21C21) is a parser for Document Loaders that, given source code, splits each top-level function or class into... | Add support for a variety of languages to LanguageParser | https://api.github.com/repos/langchain-ai/langchain/issues/11229/comments | 33 | 2023-09-29T16:07:57Z | 2024-06-26T09:34:16Z | https://github.com/langchain-ai/langchain/issues/11229 | 1,919,554,598 | 11,229 |
[
"hwchase17",
"langchain"
] | ### System Info
Python = 3.8.16
langchain==0.0.304
langchainhub==0.1.13
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Promp... | Encountering a "type object is not subscriptable" error when invoking hub.pull. | https://api.github.com/repos/langchain-ai/langchain/issues/11226/comments | 12 | 2023-09-29T15:55:14Z | 2024-02-27T11:46:37Z | https://github.com/langchain-ai/langchain/issues/11226 | 1,919,535,609 | 11,226 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent? The document do not clarify it.
### Idea or request for content:
_No response_ | DOC: What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent? | https://api.github.com/repos/langchain-ai/langchain/issues/11225/comments | 4 | 2023-09-29T15:51:08Z | 2024-02-12T16:12:59Z | https://github.com/langchain-ai/langchain/issues/11225 | 1,919,529,912 | 11,225 |
[
"hwchase17",
"langchain"
] | When using async `LLMChain` calls, the logger prints out a ton of info statements that looks like this:
```
2023-09-29 08:24:51,038:INFO - message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=7 request_id=0cde8ecb8d402ec3db4ec674f0450ade response_code=200
```
I tried setti... | How to disable logger streaming for async LLMChain calls? | https://api.github.com/repos/langchain-ai/langchain/issues/11223/comments | 1 | 2023-09-29T15:26:52Z | 2023-09-29T15:41:29Z | https://github.com/langchain-ai/langchain/issues/11223 | 1,919,488,448 | 11,223 |
[
"hwchase17",
"langchain"
] | ### System Info
while trying to use BedrockChat , it threw my error below , the updated prompt which am using after the recent changes in claude prompt is below .
prompt_template = """
Human:
You are a helpful, respectful, and honest assistant, dedicated to providing valuable and accurat... | raise ValueError(ALTERNATION_ERROR) ValueError: Error: Prompt must alternate between ' Human:' and ' Assistant:'. | https://api.github.com/repos/langchain-ai/langchain/issues/11220/comments | 16 | 2023-09-29T13:18:59Z | 2024-05-11T16:06:52Z | https://github.com/langchain-ai/langchain/issues/11220 | 1,919,260,245 | 11,220 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I fetch the result from pinecone using Pinecone's from_existing_index function.
My single Index contains multiple namespaces in pinecone.
Now I have 2 cases:
1. I want to get the result of particular namespace.
2. secondly I want to fetch the result from all the index's namespace.
... | Issue: How can I fetch the response from Pinecone using namespace with similarity_search | https://api.github.com/repos/langchain-ai/langchain/issues/11212/comments | 2 | 2023-09-29T08:39:49Z | 2024-01-30T00:41:52Z | https://github.com/langchain-ai/langchain/issues/11212 | 1,918,850,778 | 11,212 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have custom memory with memory key as 'context' as follows which i would like to use in the underling chain as readonly memory
```
memory = ScopeContextMemory(memory_key='context')
readonlymemory = ReadOnlySharedMemory(memory_key='context', memory=memory)
```
i have the... | Issue: SQLDatabaseChain fails to run when initialised with custom read only memory | https://api.github.com/repos/langchain-ai/langchain/issues/11211/comments | 8 | 2023-09-29T07:59:22Z | 2023-09-29T14:32:37Z | https://github.com/langchain-ai/langchain/issues/11211 | 1,918,785,813 | 11,211 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi,
I am working on Document QA, and using ConversationalRetrievalChain, with map-reduce as chain type.
In the final result of ConversationalRetrievalChain, I want to get the individual output from each map-chain.
### Motivation
This is a separate issue, and I think there should be a parame... | Return output from map chain in the final result of ConversationalRetrievalChain. | https://api.github.com/repos/langchain-ai/langchain/issues/11209/comments | 4 | 2023-09-29T07:23:10Z | 2024-02-07T16:24:38Z | https://github.com/langchain-ai/langchain/issues/11209 | 1,918,733,653 | 11,209 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How do you stream a langchain response from Flask to React?
I am having issues with it. I successfully implemented it with Azure OpenAI API only but langchain doesn't give me the right implementation.
### Suggestion:
_No response_ | How do you stream a langchain response from Flask to React? | https://api.github.com/repos/langchain-ai/langchain/issues/11208/comments | 3 | 2023-09-29T04:59:39Z | 2024-04-27T16:28:23Z | https://github.com/langchain-ai/langchain/issues/11208 | 1,918,600,924 | 11,208 |
[
"hwchase17",
"langchain"
] | ### System Info
Following the steps of indexing from [ https://python.langchain.com/docs/modules/data_connection/indexing ](url) you'll find the following error "redis.exceptions.ResponseError: my_docs: no such index".
You'll get this exception while using redis as retriever:
 | vectorstore.as_retriever(),
"question": lambda x: x['question'],
} | qa_prompt | ChatOpenAI(streaming=True, callbacks=[Queu... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/11173/comments | 3 | 2023-09-28T13:22:51Z | 2024-01-30T00:36:52Z | https://github.com/langchain-ai/langchain/issues/11173 | 1,917,547,206 | 11,173 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
full_chain = {
"source1": {"question": lambda x: x["question"]} | query_chain | db.run,
"source2": (lambda x: x['question']) | vectorstore.as_retriever(),
"question": lambda x: x['question'],
} | qa_prompt | ChatOpenAI(streaming=True, callbacks=[Queu... | how to add chat history to runnablesequence instance | https://api.github.com/repos/langchain-ai/langchain/issues/11171/comments | 6 | 2023-09-28T12:54:18Z | 2024-01-30T00:40:13Z | https://github.com/langchain-ai/langchain/issues/11171 | 1,917,489,116 | 11,171 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.