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"
] | ### System Info
langchain@0.0.192
I upgrade my langchain lib by execute pip install -U langchain, and the verion is 0.0.192ใBut i found that openai.api_base not working. I use azure openai service as openai backend, the openai.api_base is very import for me. I hava compared tag/0.0.192 and tag/0.0.191, and figure out... | skip openai params when embedding | https://api.github.com/repos/langchain-ai/langchain/issues/5822/comments | 0 | 2023-06-07T08:36:23Z | 2023-06-07T14:32:59Z | https://github.com/langchain-ai/langchain/issues/5822 | 1,745,358,828 | 5,822 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have encountered the following error:
`RateLimitError: The server had an error while processing your request. Sorry about that!`
This is the call stack:
```---------------------------------------------------------------------------
RateLimitError Tracebac... | Issue: RateLimitError: The server had an error while processing your request. Sorry about that! | https://api.github.com/repos/langchain-ai/langchain/issues/5820/comments | 8 | 2023-06-07T07:51:10Z | 2023-12-18T23:50:03Z | https://github.com/langchain-ai/langchain/issues/5820 | 1,745,282,711 | 5,820 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
so I am successfully use CPU version of LLama,
However, when I want to use cuBLAS to accelerate, BLAS = 0 in model properties.
My process is as following:
1. Since I am using HPC, I firstly load CUDA tookit by `module load`.
2. Set environment variable LLAMA_CUBLAS=1
3. Reinstall ll... | Issue: cannot using cuBLAS to accelerate | https://api.github.com/repos/langchain-ai/langchain/issues/5819/comments | 1 | 2023-06-07T07:40:36Z | 2023-09-13T16:06:37Z | https://github.com/langchain-ai/langchain/issues/5819 | 1,745,264,416 | 5,819 |
[
"hwchase17",
"langchain"
] | ### System Info
python: 3.9
langchain: 0.0.190
MacOS 13.2.1 (22D68)
### Who can help?
@hwchase17
### Information
I use **CombinedMemory** which contains **VectorStoreRetrieverMemory** and **ConversationBufferMemory** in my app. It seems that ConversationBufferMemory is easy to clear, but when I use... | how to clear VectorStoreRetrieverMemory? | https://api.github.com/repos/langchain-ai/langchain/issues/5817/comments | 1 | 2023-06-07T07:20:29Z | 2023-06-08T02:57:48Z | https://github.com/langchain-ai/langchain/issues/5817 | 1,745,229,585 | 5,817 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/b3ae6bcd3f42ec85ee65eb29c922ab22a17a0210/langchain/embeddings/openai.py#L100
I was profoundly misled by it when using it, the parameters used in the use case depicted in the example have been renamed to openai_api_base, which seems to be an exact bug, the correct example:
`... | Issue: OpenAIEmbeddings class about Azure Openai usage example error | https://api.github.com/repos/langchain-ai/langchain/issues/5816/comments | 3 | 2023-06-07T06:52:58Z | 2023-07-19T10:10:33Z | https://github.com/langchain-ai/langchain/issues/5816 | 1,745,171,377 | 5,816 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Integration tests for faiss vector store fail when run.
It appears that the tests are not in sync with the module implementation.
command: poetry run pytest tests/integration_tests/vectorstores/test_faiss.py
Results summary:
===================================================... | Issue: Integration tests fail for faiss vector store | https://api.github.com/repos/langchain-ai/langchain/issues/5807/comments | 0 | 2023-06-07T03:49:08Z | 2023-06-19T00:25:50Z | https://github.com/langchain-ai/langchain/issues/5807 | 1,744,977,363 | 5,807 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`json_spec_list_keys` works with not exists list index `[0]` and no error occurs.
Here is a a simple example.
```python
# [test.json]
#
# {
# "name": "Andrew Lee",
# "assets": {"cash": 10000, "stock": 5000}
# }
json_spec = JsonSpec.from_file(pathlib.Path("test.json"))... | Issue: JSON agent tool "json_spec_list_keys" does not error when access non existing list | https://api.github.com/repos/langchain-ai/langchain/issues/5803/comments | 1 | 2023-06-07T01:54:03Z | 2023-09-13T16:06:41Z | https://github.com/langchain-ai/langchain/issues/5803 | 1,744,890,796 | 5,803 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi!
It's possible to integrate the langchain library with a SQL database, enabling the execution of SQL queries with spatial analysis capabilities?
Specifically, I'd like to leverage GIS functions to perform spatial operations such as distance calculations, point-in-polygon queries, and othe... | Utilizing langchain library for SQL database querying with GIS functionality | https://api.github.com/repos/langchain-ai/langchain/issues/5799/comments | 20 | 2023-06-07T00:00:19Z | 2024-03-13T23:36:27Z | https://github.com/langchain-ai/langchain/issues/5799 | 1,744,793,878 | 5,799 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello,
I am getting an error in import
Here are my import statements:
from llama_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
from langchain import OpenAI
import sys
import os
from IPython.display import Markdown, display
... | Getting Import Error Basemodel | https://api.github.com/repos/langchain-ai/langchain/issues/5795/comments | 5 | 2023-06-06T20:07:52Z | 2023-09-18T16:09:09Z | https://github.com/langchain-ai/langchain/issues/5795 | 1,744,520,207 | 5,795 |
[
"hwchase17",
"langchain"
] | ### Feature request
The goal of this issue is to enable the use of Unstructured loaders in conjunction with the Google drive loader.
### Motivation
This would enable the use of the GoogleDriveLoader with document types other than the standard Google Drive documents/spreadsheets/presentations.
### Your contribution
... | Enable the use of Unstructured loaders with Google drive loader | https://api.github.com/repos/langchain-ai/langchain/issues/5791/comments | 3 | 2023-06-06T17:42:09Z | 2023-11-06T14:57:07Z | https://github.com/langchain-ai/langchain/issues/5791 | 1,744,309,218 | 5,791 |
[
"hwchase17",
"langchain"
] | ### Feature request
Now when the `HumanInputRun` is run, it goes through three steps in order:
1. print out the query that is to be clarified to console
2. call input function to get user input
3. return the user input to the downstream
Hopefully the query in 1st step can be exported as a string **variable** l... | Not only print HumanInputRun tool query to console, but also export query as a string variable | https://api.github.com/repos/langchain-ai/langchain/issues/5788/comments | 1 | 2023-06-06T15:04:18Z | 2023-09-12T16:09:48Z | https://github.com/langchain-ai/langchain/issues/5788 | 1,744,062,702 | 5,788 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like a way to capture observations in the same way you can capture new llm tokens using the callback's on_llm_new_token.
### Motivation
I've written a basic self-improving agent. I get it to "self-improve" by feeding the entire previous chain output to a meta agent that then refines the b... | Capture agent observations for further processing | https://api.github.com/repos/langchain-ai/langchain/issues/5787/comments | 3 | 2023-06-06T15:01:23Z | 2023-08-05T08:12:41Z | https://github.com/langchain-ai/langchain/issues/5787 | 1,744,057,044 | 5,787 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
For the code of class`MapReduceDocumentsChain`, there is a comment in `combine_docs` saying that
"""Combine documents in a map reduce manner.
Combine by mapping first chain over all documents, then reducing the results.
This reducing can be done rec... | Issue: How to do the recursivley summarization with the summarize_chain? | https://api.github.com/repos/langchain-ai/langchain/issues/5785/comments | 2 | 2023-06-06T14:45:51Z | 2023-10-12T16:09:08Z | https://github.com/langchain-ai/langchain/issues/5785 | 1,744,027,285 | 5,785 |
[
"hwchase17",
"langchain"
] | ### Feature request
Regarding issue #4999, the `code-davinci-002` model has been deprecated, so we can no longer use it with langchain.llm.OpenAI. Additionally, OpenAI also released the API called [edit models](https://platform.openai.com/docs/api-reference/edits), which includes `text-davinc-edit-001` and `code-davin... | [Feature] Implementation of OpenAI's Edit Models | https://api.github.com/repos/langchain-ai/langchain/issues/5779/comments | 1 | 2023-06-06T12:07:22Z | 2023-09-12T16:09:53Z | https://github.com/langchain-ai/langchain/issues/5779 | 1,743,725,820 | 5,779 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.184
Python 3.11.3
Mac OS Ventura 13.3.1
### Who can help?
@hwchase17 @agola11
I was reading [this](https://python.langchain.com/en/latest/modules/chains/index_examples/chat_vector_db.html?highlight=conversationalretriever) and changed one part of the code to `return_messages=False... | ConversationalRetrievalChain is not robust to default conversation memory configurations. | https://api.github.com/repos/langchain-ai/langchain/issues/5775/comments | 6 | 2023-06-06T07:42:49Z | 2023-09-20T16:08:51Z | https://github.com/langchain-ai/langchain/issues/5775 | 1,743,279,348 | 5,775 |
[
"hwchase17",
"langchain"
] | ### Feature request
Maybe I didn't get the idea: Some tools can be loaded like 'google-search' other tools can't be loaded like duckduckgo-search by the load_tools: langchain/agents/load_tools.py
E.g. specified in _EXTRA_OPTIONAL_TOOLS.
As for custom tools they can't be loaded at all it seems in that way. It would... | Dynamic loading of tools and custom tools | https://api.github.com/repos/langchain-ai/langchain/issues/5774/comments | 2 | 2023-06-06T05:57:15Z | 2023-09-19T18:34:06Z | https://github.com/langchain-ai/langchain/issues/5774 | 1,743,139,375 | 5,774 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
when i read your code ๏ผi had something donโt understand๏ผhttps://github.com/hwchase17/langchain/blob/master/langchain/agents/loading.py#L80๏ผ
in here ":=" is not a python syntax๏ผhow could it run in python(when i run langchain,it run well !)
### Suggestion:
_No response_ | Issue: Source code issues | https://api.github.com/repos/langchain-ai/langchain/issues/5773/comments | 0 | 2023-06-06T05:49:53Z | 2023-06-06T06:04:21Z | https://github.com/langchain-ai/langchain/issues/5773 | 1,743,131,616 | 5,773 |
[
"hwchase17",
"langchain"
] | ### Feature request
Vux.design - How can I be part of this project?
### Motivation
Vux.design - How can I be part of this project?
### Your contribution
Vux.design - How can I be part of this project? | I am a professional UX & UI designer and I want to contribute to this project. | https://api.github.com/repos/langchain-ai/langchain/issues/5771/comments | 2 | 2023-06-06T05:10:07Z | 2023-09-13T16:06:53Z | https://github.com/langchain-ai/langchain/issues/5771 | 1,743,094,118 | 5,771 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.191 , python version 3.9.15
### Who can help?
@agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | ML flow call backs fails at missing keys | https://api.github.com/repos/langchain-ai/langchain/issues/5770/comments | 3 | 2023-06-06T04:53:33Z | 2023-10-09T16:07:22Z | https://github.com/langchain-ai/langchain/issues/5770 | 1,743,078,641 | 5,770 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to propose the addition of an **observability feature** to LangChain, enabling developers to monitor and analyze their applications more effectively. This feature aims to provide metrics, data tracking, and graph visualization capabilities to enhance observability.
Key aspects of th... | Observability Feature Request: Metrics, Data Monitoring, and Graph Visualization | https://api.github.com/repos/langchain-ai/langchain/issues/5767/comments | 5 | 2023-06-06T04:09:20Z | 2023-06-25T08:41:58Z | https://github.com/langchain-ai/langchain/issues/5767 | 1,743,048,083 | 5,767 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/5730
<div type='discussions-op-text'>
<sup>Originally posted by **Radvian** June 5, 2023</sup>
Hello, not sure if I should ask this in Discussion or Issue, so apologies beforehand.
I'm doing a passion project in which I try to create a kno... | Improving Custom Agent Speed? | https://api.github.com/repos/langchain-ai/langchain/issues/5763/comments | 4 | 2023-06-06T02:44:39Z | 2023-11-08T16:08:55Z | https://github.com/langchain-ai/langchain/issues/5763 | 1,742,972,131 | 5,763 |
[
"hwchase17",
"langchain"
] | ### Feature request
When performing knnSearch or hybridKnnSearch return `Document` object
### Motivation
Currently the return a `dict` object. It would be more useful to return [langchain.schema.Document](https://github.com/hwchase17/langchain/blob/d5b160821641df77df447e6dfce21b58fbb13d75/langchain/schema.py#LL266C1... | Modify ElasticKnnSearch to return Document object | https://api.github.com/repos/langchain-ai/langchain/issues/5760/comments | 1 | 2023-06-06T01:24:07Z | 2023-09-12T16:10:09Z | https://github.com/langchain-ai/langchain/issues/5760 | 1,742,895,996 | 5,760 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The Json Agent tools (json_spec_list_keys, json_spec_get_value) fails when dict key of Action Input is surrounded by single quotes.
It only accepts double quotes. Here is a simple example.
```python
import pathlib
from langchain.tools.json.tool import JsonSpec
# [test.json]
#... | Issue: Json Agent tool fails when dict key is surrounded by single quotes | https://api.github.com/repos/langchain-ai/langchain/issues/5759/comments | 1 | 2023-06-06T00:59:00Z | 2023-09-12T16:10:14Z | https://github.com/langchain-ai/langchain/issues/5759 | 1,742,877,157 | 5,759 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hi, how can I see what my final prompt looks like when retrieving docs? For example, I'm not quite sure how this will end up looking:
```python
prompt_template = """Answer based on context:\n\n{context}\n\n{question}"""
PROMPT = PromptTemplate(template=prompt_template, inpu... | DOC: PrompTemplate format with docs | https://api.github.com/repos/langchain-ai/langchain/issues/5756/comments | 9 | 2023-06-05T21:33:49Z | 2023-11-07T16:26:16Z | https://github.com/langchain-ai/langchain/issues/5756 | 1,742,656,975 | 5,756 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain == 0.0.190
Google Colab
### 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 Parse... | Pinecone.from_documents() does not create the index if it does not exist | https://api.github.com/repos/langchain-ai/langchain/issues/5748/comments | 19 | 2023-06-05T19:12:00Z | 2024-06-15T12:40:51Z | https://github.com/langchain-ai/langchain/issues/5748 | 1,742,421,560 | 5,748 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I saw in a recent notebook demo that a custom `SagemakerEndpointEmbeddingsJumpStart` class was needed to deploy a SageMaker JumpStart text embedding model. I couldn't find any langchain docs for this.
```python
from langchain.embeddings.sagemaker_endpoint import EmbeddingsCont... | DOC: SageMaker JumpStart Embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/5741/comments | 1 | 2023-06-05T15:52:39Z | 2023-09-11T16:58:07Z | https://github.com/langchain-ai/langchain/issues/5741 | 1,742,067,857 | 5,741 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Getting the following error
TypeError: issubclass() arg 1 must be a class
when i execute:
from langchain.embeddings import HuggingFaceEmbeddings
#from transformers import pipeline
#Download model from Hugging face
model_name = "sentence-transformers/all-mpnet-base-v2"
hf... | Issue: TypeError: issubclass() arg 1 must be a class | https://api.github.com/repos/langchain-ai/langchain/issues/5740/comments | 13 | 2023-06-05T15:24:37Z | 2023-11-29T15:01:38Z | https://github.com/langchain-ai/langchain/issues/5740 | 1,742,023,144 | 5,740 |
[
"hwchase17",
"langchain"
] | ### System Info
Here is the error call stack. The code is attached to this submission.
I did a workaround to prevent the crash. However, this is not the correct fix.
Hacked FIX
def add_user_message(self, message: str) -> None:
"""Add a user message to the store"""
print(type(message))
**i... | add_user_message() fails. called with List instead of a string. | https://api.github.com/repos/langchain-ai/langchain/issues/5734/comments | 3 | 2023-06-05T14:32:00Z | 2023-09-13T03:54:38Z | https://github.com/langchain-ai/langchain/issues/5734 | 1,741,915,767 | 5,734 |
[
"hwchase17",
"langchain"
] | ### System Info
run on docker image with continuumio/miniconda3 on linux
langchain-0.0.190 installed
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- ... | AttributeError: 'GPT4All' object has no attribute 'model_type' | https://api.github.com/repos/langchain-ai/langchain/issues/5729/comments | 4 | 2023-06-05T13:20:31Z | 2023-09-18T16:09:19Z | https://github.com/langchain-ai/langchain/issues/5729 | 1,741,774,247 | 5,729 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have a huge database hosted in BigQuery. The recommended approach to querying this via natural language is using agents. However, this diminishes the control I have over the intermediate steps, and that leads to many problems.
- The generated query isn't correct, and this cannot be re... | Issue: Correctness of generated SQL queries | https://api.github.com/repos/langchain-ai/langchain/issues/5726/comments | 2 | 2023-06-05T13:04:04Z | 2023-10-05T16:09:31Z | https://github.com/langchain-ai/langchain/issues/5726 | 1,741,740,806 | 5,726 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version : [0.0.190]
Python Version : 3.10.7
OS : Windows 10
### Who can help?
@eyurtsev @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt ... | FAISS load_local() file path issue. | https://api.github.com/repos/langchain-ai/langchain/issues/5725/comments | 6 | 2023-06-05T12:15:19Z | 2023-07-23T03:01:24Z | https://github.com/langchain-ai/langchain/issues/5725 | 1,741,652,313 | 5,725 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello guys,
I'm wondering how can I get total_tokens for each chain in sequential chain. I'm working on optimisation of sequential chains and want to check how much does each step cost. Unfortunately get_openai_callback returns total_tokens for the whole sequential chain rather then e... | Issue: Getting total_tokens for each chain in sequential chains | https://api.github.com/repos/langchain-ai/langchain/issues/5724/comments | 5 | 2023-06-05T10:20:30Z | 2024-02-27T11:55:12Z | https://github.com/langchain-ai/langchain/issues/5724 | 1,741,461,098 | 5,724 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to generate a chain from langchain and append it to the configuration within nemoguard rails. I am getting error message LLMChain' object has no attribute 'postprocessors
I am on Langchain version 0.0.167 and nemoguardrails 0.2.0 . Nemoguard rails 0.2.0 is compatible onl... | postprocessors append - Langchain and Nemoguardrails | https://api.github.com/repos/langchain-ai/langchain/issues/5723/comments | 1 | 2023-06-05T10:18:32Z | 2023-09-11T16:58:12Z | https://github.com/langchain-ai/langchain/issues/5723 | 1,741,458,138 | 5,723 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I might've not noticed but I didn't see anywhere in the document instructions to install langchain from source so developers can work/test latest updates.the
### Idea or request for content:
Add setup instructions from the source in the installation section in README.md. | DOC: How to install from source? | https://api.github.com/repos/langchain-ai/langchain/issues/5722/comments | 3 | 2023-06-05T10:06:50Z | 2023-11-10T16:09:02Z | https://github.com/langchain-ai/langchain/issues/5722 | 1,741,438,633 | 5,722 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, this is related to #5651 but (on my machine ;) ) the issue is still there.
## Versions
* Intel Mac with latest OSX
* Python 3.11.2
* langchain 0.0.190, includes fix for #5651
* ggml-mpt-7b-instruct.bin, downloaded at June 5th from https://gpt4all.io/models/ggml-mpt-7b-instruct.bin
##... | AttributeError: 'GPT4All' object has no attribute 'model_type' (langchain 0.0.190) | https://api.github.com/repos/langchain-ai/langchain/issues/5720/comments | 7 | 2023-06-05T09:44:08Z | 2023-06-06T07:30:11Z | https://github.com/langchain-ai/langchain/issues/5720 | 1,741,397,634 | 5,720 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: `0.0.189`
OS: Ubuntu `22.04.2`
Python version: `3.10.7`
### Who can help?
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Temp... | Regular Expression Fails to Match Newline-Starting Action Inputs | https://api.github.com/repos/langchain-ai/langchain/issues/5717/comments | 2 | 2023-06-05T08:59:46Z | 2023-11-01T16:06:55Z | https://github.com/langchain-ai/langchain/issues/5717 | 1,741,315,782 | 5,717 |
[
"hwchase17",
"langchain"
] | im getting this error
AttributeError: module 'chromadb.errors' has no attribute 'NotEnoughElementsException'
here my code
```
persist_directory = 'vectorstore'
embeddings = OpenAIEmbeddings()
vectorstore = Chroma(persist_directory=persist_directory, embedding_function=embeddings)
chat_history = []
vec... | NotEnoughElementsException | https://api.github.com/repos/langchain-ai/langchain/issues/5714/comments | 5 | 2023-06-05T07:13:18Z | 2023-10-06T16:07:55Z | https://github.com/langchain-ai/langchain/issues/5714 | 1,741,133,007 | 5,714 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version 0.0.190
Python 3.9
### Who can help?
@seanpmorgan @3coins
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | Inference parameters for Bedrock titan models not working | https://api.github.com/repos/langchain-ai/langchain/issues/5713/comments | 12 | 2023-06-05T06:48:57Z | 2023-08-16T16:31:01Z | https://github.com/langchain-ai/langchain/issues/5713 | 1,741,095,321 | 5,713 |
[
"hwchase17",
"langchain"
] | ### Feature request
Create sleep tool
### Motivation
Some external processes require time to be done. So agent need to just wait
### Your contribution
I'll do it and create pull request | Create sleep tool | https://api.github.com/repos/langchain-ai/langchain/issues/5712/comments | 3 | 2023-06-05T06:40:46Z | 2023-09-05T05:32:01Z | https://github.com/langchain-ai/langchain/issues/5712 | 1,741,086,318 | 5,712 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am trying to view the documentation about tracing via Use Cases --> Evaluation --> Question Answering Benchmarking: State of the Union Address --> "See [here](https://langchain.readthedocs.io/en/latest/tracing.html) for an explanation of what tracing is and how to set it up", bu... | DOC: tracing documentation "404 Not Found" | https://api.github.com/repos/langchain-ai/langchain/issues/5710/comments | 1 | 2023-06-05T05:27:47Z | 2023-09-11T16:58:18Z | https://github.com/langchain-ai/langchain/issues/5710 | 1,740,992,217 | 5,710 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I was wondering if there is any way of getting the pandas dataframe during the execution of create_pandas_dataframe_agent.
### Suggestion:
_No response_ | Issue: get intermediate df from create_pandas_dataframe_agent | https://api.github.com/repos/langchain-ai/langchain/issues/5709/comments | 1 | 2023-06-05T04:25:03Z | 2023-09-11T16:58:22Z | https://github.com/langchain-ai/langchain/issues/5709 | 1,740,936,061 | 5,709 |
[
"hwchase17",
"langchain"
] | Hi, I load a folder with txt file and using Directory Loader. It keeps show this error
> File "/Users/mycompany/test-venv/lib/python3.8/site-packages/unstructured/partition/json.py", line 45, in partition_json
> raise ValueError("Not a valid json")
> ValueError: Not a valid json
When I tried with just 10 tx... | ValueError: Not a valid json with Directory Loader function | https://api.github.com/repos/langchain-ai/langchain/issues/5707/comments | 8 | 2023-06-05T03:32:38Z | 2024-01-16T10:02:18Z | https://github.com/langchain-ai/langchain/issues/5707 | 1,740,854,796 | 5,707 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
JsonSpec() failes to init when top level of json is List.
It seems the JsonSpec only supports a top level dict object.
We can avoid the error by adding a dummy key to the list, but is this an intended limitation?
test.json
```json
[
{"name": "Mark", "age":16},
{"name": ... | JSON Agent fails when top level of input json is List object. | https://api.github.com/repos/langchain-ai/langchain/issues/5706/comments | 5 | 2023-06-05T02:45:49Z | 2024-04-21T16:24:59Z | https://github.com/langchain-ai/langchain/issues/5706 | 1,740,788,181 | 5,706 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be great if mailman could be supported in document loader, reference: https://list.org/
### Motivation
For the purpose of digesting content in mailman and quering.
### Your contribution
Not sure. | Support mailman in document loader | https://api.github.com/repos/langchain-ai/langchain/issues/5702/comments | 1 | 2023-06-05T00:41:41Z | 2023-09-11T16:58:27Z | https://github.com/langchain-ai/langchain/issues/5702 | 1,740,690,391 | 5,702 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Not sure if this is actually a documentation error, but at least the error is in the code's typehints in `langchain.chain.base.py`, where:
```
def __call__(
self,
inputs: Union[Dict[str, Any], Any],
return_only_outputs: bool = False,
cal... | DOC: Type hint mismatch indicating that chain.apply should return Dict[str, str] instead of Dict[str, Any] | https://api.github.com/repos/langchain-ai/langchain/issues/5700/comments | 1 | 2023-06-04T23:31:01Z | 2023-09-15T22:13:02Z | https://github.com/langchain-ai/langchain/issues/5700 | 1,740,659,389 | 5,700 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/8d9e9e013ccfe72d839dcfa37a3f17c340a47a88/langchain/document_loaders/sitemap.py#L83
if
```
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>
https://tatum.com/
</loc>
... | Sitemap filters not working due to lack of stripping whitespace and newlines | https://api.github.com/repos/langchain-ai/langchain/issues/5699/comments | 0 | 2023-06-04T22:49:54Z | 2023-06-05T23:33:57Z | https://github.com/langchain-ai/langchain/issues/5699 | 1,740,645,238 | 5,699 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Currently the [Helicone integration docs](https://python.langchain.com/en/latest/integrations/helicone.html) don't include the fact that an [API key now must be used by passing this header](https://docs.helicone.ai/quickstart/integrate-in-one-minute):
```
Helicone-Auth: Bearer $... | DOC: Update Helicone docs to include requirement for API key | https://api.github.com/repos/langchain-ai/langchain/issues/5697/comments | 1 | 2023-06-04T21:30:25Z | 2023-09-10T16:07:47Z | https://github.com/langchain-ai/langchain/issues/5697 | 1,740,613,739 | 5,697 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.8, langchain 0.0.187
### Who can help?
@hwchase17 @vowelparrot
### 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... | prompt template not reset when reinstantiating SQLDatabase object | https://api.github.com/repos/langchain-ai/langchain/issues/5691/comments | 1 | 2023-06-04T17:06:40Z | 2023-09-10T16:07:54Z | https://github.com/langchain-ai/langchain/issues/5691 | 1,740,480,164 | 5,691 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi guys, can we just launch SelfHostedEmbedding without runhouse, as a matter of fact, runhouse its self is still in the early development stage and has some issues, why does langchain depends on it for selfhosted instead of call cuda directly?
for example:
device = torch.device('cuda')
... | support local GPU server without runhouse !!! | https://api.github.com/repos/langchain-ai/langchain/issues/5689/comments | 7 | 2023-06-04T15:56:15Z | 2023-12-13T16:09:13Z | https://github.com/langchain-ai/langchain/issues/5689 | 1,740,448,094 | 5,689 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.100
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | ValueError: fix_text not implemented for this agent. | https://api.github.com/repos/langchain-ai/langchain/issues/5684/comments | 3 | 2023-06-04T11:25:01Z | 2023-06-15T02:25:14Z | https://github.com/langchain-ai/langchain/issues/5684 | 1,740,317,450 | 5,684 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10.10 (virtual env) on macos 11.7.6
langchain 0.0.187
duckdb 0.7.1
duckduckgo-search 3.7.1
chromadb 0.3.21
tiktoken 0.3.3
torch 2.0.0
### Who can help?
@hwchase17 @eyur
### Information
- [ ] The of... | Index not found when trying to use ChromaDB instead of FAISS in the AutoGPT example | https://api.github.com/repos/langchain-ai/langchain/issues/5683/comments | 6 | 2023-06-04T11:23:19Z | 2023-11-09T16:11:30Z | https://github.com/langchain-ai/langchain/issues/5683 | 1,740,316,838 | 5,683 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi everyone,
I am a beginner of Python and I can not run the first part of the code

but those code is supposed to output feetful of fun
. | option to limit response length | https://api.github.com/repos/langchain-ai/langchain/issues/5678/comments | 4 | 2023-06-04T06:57:45Z | 2023-12-18T23:50:07Z | https://github.com/langchain-ai/langchain/issues/5678 | 1,740,191,702 | 5,678 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10.6
Win 11 WSL running:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
AMD 5950x CPU w/128GB mem
Python packages installed:
Package Version
----------------------- -----------
aiohttp 3.8.... | UnstructuredURLLoader hangs on some URLs | https://api.github.com/repos/langchain-ai/langchain/issues/5670/comments | 2 | 2023-06-03T23:46:59Z | 2023-09-13T16:07:07Z | https://github.com/langchain-ai/langchain/issues/5670 | 1,739,996,533 | 5,670 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.189, windows, python 3.11.3
### Who can help?
Will submit PR to resolve.
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | Model settings (temp, max tokens, topk, topp) ignored with vertexai | https://api.github.com/repos/langchain-ai/langchain/issues/5667/comments | 1 | 2023-06-03T23:26:24Z | 2023-06-03T23:50:17Z | https://github.com/langchain-ai/langchain/issues/5667 | 1,739,986,947 | 5,667 |
[
"hwchase17",
"langchain"
] | ### Feature request
Support for Hugging Face's Question Answering Models would be great.
### Motivation
It would allow for the construction of extractive Question Answering Pipelines, making use of the vast amount of open Q&A Models on Hugging Face.
### Your contribution
I would be happy to tackle the implementati... | Support for Hugging Face Question Answering Models | https://api.github.com/repos/langchain-ai/langchain/issues/5660/comments | 1 | 2023-06-03T17:54:22Z | 2023-09-10T16:08:08Z | https://github.com/langchain-ai/langchain/issues/5660 | 1,739,715,128 | 5,660 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
**Severity:** Minor
**Where:**
Use Cases -> Agent Simulations -> Simulations with two agents -> CAMEL
Direct link:
[CAMEL Role-Playing Autonomous Cooperative Agents](https://python.langchain.com/en/latest/use_cases/agent_simulations/camel_role_playing.html)
**What:**
... | DOC: Annotation error in the CAMELAgent helper class | https://api.github.com/repos/langchain-ai/langchain/issues/5658/comments | 1 | 2023-06-03T15:44:03Z | 2023-09-10T16:08:13Z | https://github.com/langchain-ai/langchain/issues/5658 | 1,739,633,584 | 5,658 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
agent_chain.run does not allow for more than a single output, when calling RetrievalQA.from_chain_type directly with the same query it has no issues returning multiple outputs, however agent_chain is where all of my custom tools and configurations are.
agent_chain.run in my code at ... | Issue: When using agent_chain.run to query documents, I want to return both the LLM answer and Source documents, however agent_chain.run only allows for exactly 1 output | https://api.github.com/repos/langchain-ai/langchain/issues/5656/comments | 4 | 2023-06-03T13:58:57Z | 2023-09-25T16:06:26Z | https://github.com/langchain-ai/langchain/issues/5656 | 1,739,566,153 | 5,656 |
[
"hwchase17",
"langchain"
] | ### System Info
run on docker image with python:3.11.3-bullseye in MAC m1
### 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 Tem... | AttributeError: 'LLModel' object has no attribute 'model_type' (gpt4all) | https://api.github.com/repos/langchain-ai/langchain/issues/5651/comments | 4 | 2023-06-03T10:37:42Z | 2023-06-16T14:29:32Z | https://github.com/langchain-ai/langchain/issues/5651 | 1,739,392,895 | 5,651 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.189
Platform: Ubuntu 22.04.2 LTS
Python: 3.10.10
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | Bug in langchain.llms.Modal which raised ValueError("LangChain requires 'prompt' key in response.") | https://api.github.com/repos/langchain-ai/langchain/issues/5648/comments | 4 | 2023-06-03T09:27:01Z | 2023-12-13T16:09:23Z | https://github.com/langchain-ai/langchain/issues/5648 | 1,739,315,605 | 5,648 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.179
Ubuntu 20.4
### Who can help?
@hwchase17 @agola11 @vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Se... | Trying to load an external model Llama-30B-Supercot results in below error | https://api.github.com/repos/langchain-ai/langchain/issues/5647/comments | 2 | 2023-06-03T07:13:52Z | 2023-06-03T08:05:47Z | https://github.com/langchain-ai/langchain/issues/5647 | 1,739,243,294 | 5,647 |
[
"hwchase17",
"langchain"
] | ### Feature request
Due to security reasons, it is not always possible to connect directly to the DB. I want SQLDatabaseChain to support ssh tunnel because I have to connect to a specific kind of stepping stone server before I can connect to the DB.
If there is already a way to accomplish this, I apologize.
### Mo... | I want ssh tunnel support in SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/5645/comments | 2 | 2023-06-03T04:43:36Z | 2023-09-14T16:06:47Z | https://github.com/langchain-ai/langchain/issues/5645 | 1,739,157,088 | 5,645 |
[
"hwchase17",
"langchain"
] | ### System Info
## System Info
- `langchain.__version__` is `0.0.184`
- Python 3.11
- Mac OS Ventura 13.3.1(a)
### Who can help?
@hwchase17
## Summary
The **sources** component of the output of `RetrievalQAWithSourcesChain` is not providing transparency into what documents the retriever returns, it is in... | RetrievalQAWithSourcesChain provides unreliable sources | https://api.github.com/repos/langchain-ai/langchain/issues/5642/comments | 1 | 2023-06-03T02:45:24Z | 2023-09-18T16:09:24Z | https://github.com/langchain-ai/langchain/issues/5642 | 1,739,087,949 | 5,642 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the left nav of the docs, "Amazon Bedrock" is alphabetized after "Beam integration for langchain" and before "Cerebrium AI", not with the rest of the A-named integrations.
<img width="254" alt="image" src="https://github.com/hwchase17/langchain/assets/93281816/20836ca0-3946-... | DOC: "Amazon Bedrock" is not sorted in Integrations section of nav | https://api.github.com/repos/langchain-ai/langchain/issues/5638/comments | 0 | 2023-06-02T23:41:12Z | 2023-06-04T21:39:26Z | https://github.com/langchain-ai/langchain/issues/5638 | 1,738,950,805 | 5,638 |
[
"hwchase17",
"langchain"
] | ### System Info
The [_default_knn_query](https://github.com/jeffvestal/langchain/blob/10f34bf62e2d53f0b1a7b15ba21c2328b64862cd/langchain/vectorstores/elastic_vector_search.py#L402) takes `field` arg to specify the field to use when performing knn and hybrid search.
both [knn_search](https://github.com/jeffvestal/la... | Allow query field to be passed in ElasticKnnSearch.knnSearch | https://api.github.com/repos/langchain-ai/langchain/issues/5633/comments | 2 | 2023-06-02T20:16:03Z | 2023-09-10T16:08:24Z | https://github.com/langchain-ai/langchain/issues/5633 | 1,738,770,687 | 5,633 |
[
"hwchase17",
"langchain"
] | ### Feature request
Make `embedding` an [optional arg](https://github.com/jeffvestal/langchain/blob/10f34bf62e2d53f0b1a7b15ba21c2328b64862cd/langchain/vectorstores/elastic_vector_search.py#L332) when creating `ElasticKnnSearch` class
### Motivation
If a user is only going to run knn/hybrid search AND use the `query_... | Make embedding object optional for ElasticKnnSearch | https://api.github.com/repos/langchain-ai/langchain/issues/5631/comments | 1 | 2023-06-02T19:52:37Z | 2023-09-10T16:08:28Z | https://github.com/langchain-ai/langchain/issues/5631 | 1,738,736,481 | 5,631 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.188
Python 3.8
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | ConversationalRetrievalChain unable to use ConversationBufferMemory when return_source_documents=True | https://api.github.com/repos/langchain-ai/langchain/issues/5630/comments | 9 | 2023-06-02T18:54:26Z | 2023-11-09T16:13:41Z | https://github.com/langchain-ai/langchain/issues/5630 | 1,738,661,160 | 5,630 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Pages in Modules: Models, Prompts, Memory, ...
They all have repeated parts. See a picture.

### Idea or request for content:
The whole "Go Deeper" section can be remo... | DOC: repetitive parts in Modules pages | https://api.github.com/repos/langchain-ai/langchain/issues/5627/comments | 0 | 2023-06-02T18:24:00Z | 2023-06-04T01:43:06Z | https://github.com/langchain-ai/langchain/issues/5627 | 1,738,622,995 | 5,627 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.189
os:windows11
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
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | cannot import name 'FigmaFileLoader' | https://api.github.com/repos/langchain-ai/langchain/issues/5623/comments | 1 | 2023-06-02T16:39:41Z | 2023-06-03T01:48:51Z | https://github.com/langchain-ai/langchain/issues/5623 | 1,738,498,708 | 5,623 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:

### Idea or request for content:
The program is stuck and will not return | DOC: can't execute the code of Async API for Chain | https://api.github.com/repos/langchain-ai/langchain/issues/5622/comments | 1 | 2023-06-02T16:16:48Z | 2023-09-10T16:08:33Z | https://github.com/langchain-ai/langchain/issues/5622 | 1,738,473,740 | 5,622 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using Python for INdexing Document to OpenELastic search
Python for Indexing---->
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
docs = text_splitter.split_documents(documents)
vs = OpenSearchVectorSearch.from_documents(
... | Opensearch for Indexing and Retrieval | https://api.github.com/repos/langchain-ai/langchain/issues/5615/comments | 4 | 2023-06-02T12:25:19Z | 2024-04-30T16:28:28Z | https://github.com/langchain-ai/langchain/issues/5615 | 1,738,108,763 | 5,615 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.188
python 3.8.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | MarkdownTextSplitter: multiple repeat at position 4 (line 3, column 2) | https://api.github.com/repos/langchain-ai/langchain/issues/5614/comments | 0 | 2023-06-02T12:20:41Z | 2023-06-05T23:40:28Z | https://github.com/langchain-ai/langchain/issues/5614 | 1,738,102,515 | 5,614 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
So, I am working on a project that involves data extraction from csv files and involves creating charts and graphs from them.
below is a snippet of code for the agent that I have created :
```python
tools = [
python_repl_tool,
csv_ident_tool,
csv_extractor_tool,
]... | create_csv_agent: How to save a dataframe once information has been extracted using create_csv_agent. | https://api.github.com/repos/langchain-ai/langchain/issues/5611/comments | 9 | 2023-06-02T10:38:14Z | 2023-09-30T16:06:49Z | https://github.com/langchain-ai/langchain/issues/5611 | 1,737,940,580 | 5,611 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using the ConversationalRetrievalQAChain to retrieve answers for questions while condensing the chat history to a standalone question. The issue I am facing is that the first token returned by the chain.call handleLLMNewToken is the standalone condensed question when there is a chat... | Issue: ConversationalRetrievalQAChain returns the qaTemplate condensed question as the first token | https://api.github.com/repos/langchain-ai/langchain/issues/5608/comments | 9 | 2023-06-02T10:19:03Z | 2023-09-08T04:02:54Z | https://github.com/langchain-ai/langchain/issues/5608 | 1,737,908,101 | 5,608 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I am using Langchain to implement a customer service agent. I am using AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION and ConversationBufferMemory.
Findings:
1. the Agent works very well with lookup & retrieve QA, e.g., what is the material of a t-shirt, how long does it ta... | Issue: How to let Agent act in a more consistent way, e.g., not jumping from a tool to another before a task is finished | https://api.github.com/repos/langchain-ai/langchain/issues/5607/comments | 3 | 2023-06-02T09:52:25Z | 2023-09-18T16:09:29Z | https://github.com/langchain-ai/langchain/issues/5607 | 1,737,860,885 | 5,607 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I am using Langchain to implement a customer service agent. I am using AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION and ConversationBufferMemory.
Findings:
1. the Agent works very well with lookup & retrieve QA, e.g., what is the material of a t-shirt, how long does it ta... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/5606/comments | 0 | 2023-06-02T09:46:27Z | 2023-06-02T09:47:06Z | https://github.com/langchain-ai/langchain/issues/5606 | 1,737,848,873 | 5,606 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I am using Langchain to implement a customer service agent. I am using AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION and ConversationBufferMemory.
Findings:
1. the Agent works very well with lookup & retrieve QA, e.g., what is the material of a t-shirt, how long does it ta... | Issue: How to let Agent behave in a more consistent way, e.g., under my customer service SOP? | https://api.github.com/repos/langchain-ai/langchain/issues/5605/comments | 0 | 2023-06-02T09:43:30Z | 2023-06-02T09:44:59Z | https://github.com/langchain-ai/langchain/issues/5605 | 1,737,843,814 | 5,605 |
[
"hwchase17",
"langchain"
] | ### System Info
The MRKL and chat output parsers currently will allow an LLM response to generate a valid action, as well as hallucinate a "final answer" based on that response.
[Logic](https://github.com/hwchase17/langchain/blob/master/langchain/agents/chat/output_parser.py#L15)
This is because the parser is ... | OutputParsers currently allows model to hallucinate the output of an action | https://api.github.com/repos/langchain-ai/langchain/issues/5601/comments | 0 | 2023-06-02T08:01:50Z | 2023-06-04T21:40:51Z | https://github.com/langchain-ai/langchain/issues/5601 | 1,737,658,153 | 5,601 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Say I have a huge database stored in BigQuery, and I'd like to use the SQL Database Agent to query this database using natural language prompts. I can't store the data in memory because it's too huge. Does the [`SQLDatabase`](https://python.langchain.com/en/latest/modules/agents/toolkits... | Issue: Does langchain store the database in memory? | https://api.github.com/repos/langchain-ai/langchain/issues/5600/comments | 3 | 2023-06-02T07:45:48Z | 2023-06-22T15:21:40Z | https://github.com/langchain-ai/langchain/issues/5600 | 1,737,637,047 | 5,600 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
My name is Even Kang and I am a Chinese developer studying Langchain in China. We have translated the Langchain Chinese documentation (www.langchain.asia / www.langchain.com.cn) and launched the website on May 7th. In just one month, our community has grown from 0 to 500 members, all of ... | I want to promote Langchain in China and publish a book about it. Can I have your permission? | https://api.github.com/repos/langchain-ai/langchain/issues/5599/comments | 5 | 2023-06-02T07:29:06Z | 2023-06-02T13:57:56Z | https://github.com/langchain-ai/langchain/issues/5599 | 1,737,617,443 | 5,599 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
Whenever I am trying to upload a directory containing multiple files using DirectoryLoader, It is loading files properly.
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings ... | Issue: .doc files are not supported by DirectoryLoader and ask to download LibreOffice | https://api.github.com/repos/langchain-ai/langchain/issues/5598/comments | 2 | 2023-06-02T07:08:24Z | 2023-10-12T16:09:13Z | https://github.com/langchain-ai/langchain/issues/5598 | 1,737,592,161 | 5,598 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version = 0.0.187
Python version = 3.9
### Who can help?
Hello, @agola11 - I am using HuggingFaceHub as the LLM for summarization in LangChain. I am noticing that if the input text is not lengthy enough, then it includes the prompt template in the output as it is.
### Information
- [... | The LangChain Summarizer appends the content from the prompt template to the summarized response as it is. | https://api.github.com/repos/langchain-ai/langchain/issues/5597/comments | 1 | 2023-06-02T07:00:43Z | 2023-10-05T16:09:27Z | https://github.com/langchain-ai/langchain/issues/5597 | 1,737,582,152 | 5,597 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The Example provided in the Documentation for the Integration of the Sagemaker Endpoint is giving the error
```
An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message "{
"code": 400,
"type": "Inter... | DOC: Under Modules/LLM/Integrations, the Sagemaker Endpoint integration example the "ContentHandler()" is giving an error | https://api.github.com/repos/langchain-ai/langchain/issues/5594/comments | 6 | 2023-06-02T05:28:41Z | 2023-09-29T16:07:20Z | https://github.com/langchain-ai/langchain/issues/5594 | 1,737,494,782 | 5,594 |
[
"hwchase17",
"langchain"
] | ### System Info
- langchain 0.0.187
- openai-python 0.27.7
- Python 3.11.2
- macOS Ventura 13.4 (Apple M2)
- OPENAI_API_TYPE azure
- OPENAI_API_VERSION 2023-05-15
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
###... | The ConstitutionalChain examples violate Azure OpenAI's content management policy. | https://api.github.com/repos/langchain-ai/langchain/issues/5592/comments | 2 | 2023-06-02T02:21:41Z | 2023-10-15T21:35:27Z | https://github.com/langchain-ai/langchain/issues/5592 | 1,737,356,578 | 5,592 |
[
"hwchase17",
"langchain"
] | Hi
So, I am already using ChatOpenAI with Langchain to get a chatbot.
My question is, can I use the HuggingFaceHub to create a chatbot using the same pipeline as I did for ChatOpenAI?
What are the disadvantages of using the LLM wrappers for a chatbot?
Thanks | Can we use an LLM for chat? | https://api.github.com/repos/langchain-ai/langchain/issues/5585/comments | 1 | 2023-06-01T23:54:33Z | 2023-09-10T16:08:43Z | https://github.com/langchain-ai/langchain/issues/5585 | 1,737,251,364 | 5,585 |
[
"hwchase17",
"langchain"
] | ### System Info
update_document only embeds a single document, but the single page_content string is cast to a list before embedding, resulting in a per-character embedding not a per-document embedding.
https://github.com/hwchase17/langchain/blob/4c572ffe959957b515528a9036b374f56cef027f/langchain/vectorstores/chrom... | Chroma.update_document bug | https://api.github.com/repos/langchain-ai/langchain/issues/5582/comments | 0 | 2023-06-01T23:13:30Z | 2023-06-02T18:12:50Z | https://github.com/langchain-ai/langchain/issues/5582 | 1,737,225,668 | 5,582 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Is it possible at all to run Gpt4All on GPU? For example for llamacpp I see parameter n_gpu_layers, but for gpt4all.py - not.
Sorry for stupid question :)
### Suggestion:
_No response_ | Issue: How to run GPT4All on GPU? | https://api.github.com/repos/langchain-ai/langchain/issues/5577/comments | 3 | 2023-06-01T21:15:36Z | 2024-01-09T11:56:26Z | https://github.com/langchain-ai/langchain/issues/5577 | 1,737,107,384 | 5,577 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, ConversationSummaryBufferMemory generates a summary of the conversation, then it passes this as part of the prompt to the MLL. The ConversationSummaryTokenBufferMemory will limit the size of the summary to X number of tokens, and it will remove data if necessary.
I believe adding one ... | ConversationSummaryBufferMemory (enhanced) | https://api.github.com/repos/langchain-ai/langchain/issues/5576/comments | 1 | 2023-06-01T20:25:30Z | 2023-09-10T16:08:50Z | https://github.com/langchain-ai/langchain/issues/5576 | 1,737,034,627 | 5,576 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I see there is a bit of documentation about the [GraphCypherQAChain](https://python.langchain.com/en/latest/modules/chains/examples/graph_cypher_qa.html). There is also a documentation about using [mlflow with langchain](https://sj-langchain.readthedocs.io/en/latest/ecosystem/mlfl... | DOC: mlflow logging for GraphCypherQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/5565/comments | 1 | 2023-06-01T14:41:12Z | 2023-09-10T16:08:53Z | https://github.com/langchain-ai/langchain/issues/5565 | 1,736,477,317 | 5,565 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I tried adding stream to reduce_llm like the code below to make it work but it doesn't seem to work.
```
reduce_llm = OpenAI(
streaming=True,
verbose=True,
callback_manager=callback,
temperature=0,
max_tokens=1000,
)
llm = OpenAI(
temperature=0,
... | Issue: does the stream of load_summarize_chain work? | https://api.github.com/repos/langchain-ai/langchain/issues/5562/comments | 3 | 2023-06-01T13:27:12Z | 2023-09-28T09:39:03Z | https://github.com/langchain-ai/langchain/issues/5562 | 1,736,331,518 | 5,562 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
prompt_template = """Use the following pieces of context to answer the question at the end based on the examples provided in between ++++++++ If you don't know the answer, just answer with [], don't try to make up an answer.
++++++++
Here are some examples:
r... | prompt issue and handling answers | https://api.github.com/repos/langchain-ai/langchain/issues/5561/comments | 3 | 2023-06-01T13:24:54Z | 2023-08-31T16:17:37Z | https://github.com/langchain-ai/langchain/issues/5561 | 1,736,327,704 | 5,561 |
[
"hwchase17",
"langchain"
] | ### Feature request
I'd like to extend `SequentialChain` to create pre-built class which has a pre-populated list of `chains` in it. Consider the following example:
```
class CoolChain(LLMChain):
...
class CalmChain(LLMChain):
...
class CoolCalmChain(SequentialChain):
llm: BaseLanguageMo... | Extendable SequentialChain | https://api.github.com/repos/langchain-ai/langchain/issues/5557/comments | 2 | 2023-06-01T11:49:10Z | 2023-09-14T16:07:02Z | https://github.com/langchain-ai/langchain/issues/5557 | 1,736,135,856 | 5,557 |
[
"hwchase17",
"langchain"
] | Hi,
I am using langchain to create collections in my local directory after that I am persisting it using below code
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings
from langchain.text_splitter import Re... | Query With Multiple Collections | https://api.github.com/repos/langchain-ai/langchain/issues/5555/comments | 13 | 2023-06-01T11:18:06Z | 2024-04-06T16:04:12Z | https://github.com/langchain-ai/langchain/issues/5555 | 1,736,083,127 | 5,555 |
[
"hwchase17",
"langchain"
] | ### System Info
The first time I query the LLM evertything is okay, the second time and in all the calls after that user query is totally changed.
For example my input was "How are you today?" and the chain while trying to make this a standalone question gets confused and totally changes the question,
file:///home/... | ConversationalRetrievalChain is changing context of input | https://api.github.com/repos/langchain-ai/langchain/issues/5553/comments | 2 | 2023-06-01T10:49:37Z | 2023-09-10T16:09:04Z | https://github.com/langchain-ai/langchain/issues/5553 | 1,736,029,435 | 5,553 |
[
"hwchase17",
"langchain"
] | ### System Info
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /opt/conda/lib/python3.10/site-packages/langchain/chains/query_constructor/base.py:36 in parse โ
โ ... | Self-querying with Chroma bug - Got invalid return object. Expected markdown code snippet with JSON object, but got ... | https://api.github.com/repos/langchain-ai/langchain/issues/5552/comments | 9 | 2023-06-01T10:25:32Z | 2023-12-14T16:08:08Z | https://github.com/langchain-ai/langchain/issues/5552 | 1,735,984,739 | 5,552 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.187, Python 3.8.16, Linux Mint.
### Who can help?
@hwchase17 @ago
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | Incorrect PromptTemplate memorizing | https://api.github.com/repos/langchain-ai/langchain/issues/5551/comments | 1 | 2023-06-01T09:54:09Z | 2023-09-10T16:09:09Z | https://github.com/langchain-ai/langchain/issues/5551 | 1,735,921,910 | 5,551 |
[
"hwchase17",
"langchain"
] | ### Feature request
Please add support for the model Guanaco 65B, which is trained via qLoRA method. To be able to swap OpenAI model to Guanaco and perform same operations over it.
### Motivation
The best performance and free model out there up to date 01.06.2023.
### Your contribution
- | Guanaco 65B model support | https://api.github.com/repos/langchain-ai/langchain/issues/5548/comments | 2 | 2023-06-01T08:42:42Z | 2023-09-14T16:07:08Z | https://github.com/langchain-ai/langchain/issues/5548 | 1,735,790,487 | 5,548 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
In the current implementation, when an APOC procedure fails, a generic error message is raised stating: "Could not use APOC procedures. Please install the APOC plugin in Neo4j." This message can lead to user confusion as it suggests the APOC plugin is not installed when in reality it may... | Issue: Improve Error Messaging When APOC Procedures Fail in Neo4jGraph | https://api.github.com/repos/langchain-ai/langchain/issues/5545/comments | 0 | 2023-06-01T08:04:16Z | 2023-06-03T23:56:40Z | https://github.com/langchain-ai/langchain/issues/5545 | 1,735,730,197 | 5,545 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
loaders = [TextLoader("13.txt"), TextLoader("14.txt"), TextLoader("15.txt"),TextLoader("16.txt"), TextLoader("17.txt"), TextLoader("18.txt")]
documents = []
for loader in loaders:
documents.extend(loader.load())
text_splitter = CharacterTextSplitter(chunk_size=500, chunk_o... | The same code, sometimes throwing an exception(ValueError: Could not parse output), sometimes running correctly | https://api.github.com/repos/langchain-ai/langchain/issues/5544/comments | 2 | 2023-06-01T07:13:59Z | 2023-11-27T16:09:56Z | https://github.com/langchain-ai/langchain/issues/5544 | 1,735,643,747 | 5,544 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I got a scenario where I'm using the `ConversationalRetrievalChain` with chat history. The problem is, it was streaming the condensed output of the question. Not the actual answer. So I separated the models, one for condensing the question and one for answering with streaming. But as I s... | Issue: previous message condensing time on `ConversationalRetrievalChain` | https://api.github.com/repos/langchain-ai/langchain/issues/5542/comments | 3 | 2023-06-01T06:37:44Z | 2023-10-05T16:10:16Z | https://github.com/langchain-ai/langchain/issues/5542 | 1,735,589,481 | 5,542 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.