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
I encountered an issue when executing a SQL statement that involves joining multiple tables. I am working with a SQL Server database, and the following SQL query is returning an error:
SELECT TOP 50000 [StoreNo], [StoreName], [Quantity], [GoodsName], [GoodsNo]
FROM [JBStore]
JOIN [CKCurrStore] O... | Handling Errors in SQL Statements That Involve Multiple Table Joins | https://api.github.com/repos/langchain-ai/langchain/issues/4832/comments | 2 | 2023-05-17T04:01:52Z | 2024-02-07T19:07:29Z | https://github.com/langchain-ai/langchain/issues/4832 | 1,713,063,873 | 4,832 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.170
Platform: Linux X86_64
Python: 3.9
### Who can help?
@SimFG
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts /... | GPTCache keep creating new gptcache cache_obj | https://api.github.com/repos/langchain-ai/langchain/issues/4830/comments | 0 | 2023-05-17T03:26:37Z | 2023-05-18T16:42:38Z | https://github.com/langchain-ai/langchain/issues/4830 | 1,713,035,478 | 4,830 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version 0.0.171
python version 3.9.13
macos
### 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 Templat... | TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType' | https://api.github.com/repos/langchain-ai/langchain/issues/4825/comments | 7 | 2023-05-17T02:24:24Z | 2023-05-22T22:47:05Z | https://github.com/langchain-ai/langchain/issues/4825 | 1,712,990,151 | 4,825 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.171, Python 3.10.10
running the code:
index = pinecone.Index('ssk')
print(index.describe_index_stats())
vectorstore = Pinecone(index=index, embedding_function=OpenAIEmbeddings.embed_query, text_key='text')
documents = vectorstore.similarity_search('How can several llama_indexes b... | pinecone.similarity_search -> TypeError: OpenAIEmbeddings.embed_query() missing 1 required positional argument: 'text' | https://api.github.com/repos/langchain-ai/langchain/issues/4821/comments | 4 | 2023-05-17T01:03:52Z | 2024-03-23T14:37:37Z | https://github.com/langchain-ai/langchain/issues/4821 | 1,712,933,277 | 4,821 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 171, gpt4 model in a region, text-embedding-ada002 in another
### 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 ... | Resource does not exists when using both OpenAIEmbeddings and AzureChatOpenAI in two different Azure region/ endpoints | https://api.github.com/repos/langchain-ai/langchain/issues/4819/comments | 6 | 2023-05-16T23:36:25Z | 2023-11-03T08:33:02Z | https://github.com/langchain-ai/langchain/issues/4819 | 1,712,871,337 | 4,819 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/4817
<div type='discussions-op-text'>
<sup>Originally posted by **markanth** May 16, 2023</sup>
Under Use Cases -> Code Understanding, you will find:
The full tutorial is available below.
[Twitter the-algorithm codebase analysis with Deep La... | Typo in DeepLake Code Analysis Tutorials | https://api.github.com/repos/langchain-ai/langchain/issues/4818/comments | 0 | 2023-05-16T22:21:09Z | 2023-05-17T15:52:24Z | https://github.com/langchain-ai/langchain/issues/4818 | 1,712,813,069 | 4,818 |
[
"hwchase17",
"langchain"
] | ### Feature request
The LlamaCpp wrapper doesn't implement the get_num_tokens functions, which then defauls to a GPT2 tokenizer, and returns a wrong number of tokens
### Motivation
-
### Your contribution
- | Implement get_num_tokens in LlamaCpp | https://api.github.com/repos/langchain-ai/langchain/issues/4815/comments | 1 | 2023-05-16T21:24:51Z | 2023-09-10T16:17:04Z | https://github.com/langchain-ai/langchain/issues/4815 | 1,712,756,362 | 4,815 |
[
"hwchase17",
"langchain"
] | ### System Info
Just working my way through the AutoGPT instructions here https://python.langchain.com/en/latest/use_cases/autonomous_agents/autogpt.html
and getting the error:
---------------------------------------------------------------------------
```
ModuleNotFoundError Traceback (m... | No module named 'faiss' | https://api.github.com/repos/langchain-ai/langchain/issues/4810/comments | 2 | 2023-05-16T19:45:26Z | 2023-09-10T16:17:09Z | https://github.com/langchain-ai/langchain/issues/4810 | 1,712,642,408 | 4,810 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: v0.0.170
Platform: Linux/Debian
python: 3.9.2
### 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 / P... | OpenAPI agent treating 'headers' as query parameters for any endpoint in the openapi spec | https://api.github.com/repos/langchain-ai/langchain/issues/4807/comments | 1 | 2023-05-16T18:45:06Z | 2023-09-10T16:17:15Z | https://github.com/langchain-ai/langchain/issues/4807 | 1,712,558,489 | 4,807 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How can one use SelfQueryRetriever to query `datetime`, I've added a `datetime` object as string to the metadata, not sure if that is right or if we should use `timestamp`, but things got weird with this prompt:
```
I want to watch a movie rated higher than 8.5 and released today
... | Question: How to use datetime type with SelfQueryRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/4801/comments | 4 | 2023-05-16T17:49:50Z | 2023-11-10T19:38:14Z | https://github.com/langchain-ai/langchain/issues/4801 | 1,712,469,831 | 4,801 |
[
"hwchase17",
"langchain"
] | ### Feature request
`langchain.llms.LlamaCpp` wraps around `llama_cpp`, which recently added a `n_gpu_layers` argument. It would be great to have it in the wrapper.
Current workaround:
```
llm = LlamaCpp(...)
state = llm.client.__getstate__()
state["n_gpu_layers"] = n_gpu_layers
llm.client.__setstate__(state)
... | Add `n_gpu_layers` arg to langchain.llms.LlamaCpp | https://api.github.com/repos/langchain-ai/langchain/issues/4797/comments | 1 | 2023-05-16T16:16:25Z | 2023-05-16T16:18:38Z | https://github.com/langchain-ai/langchain/issues/4797 | 1,712,335,442 | 4,797 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose a tool that can extract the content of each section from one `.tex` file or a latex project with multiple `.tex` files. Moreover, the tool is able to filter the unrequired contents like figure blocks, labels and comments and output the resulting contents in the form of a python dict as ... | A tool that can extract and divide sections from one or more .tex and pdf files | https://api.github.com/repos/langchain-ai/langchain/issues/4792/comments | 1 | 2023-05-16T15:34:27Z | 2023-09-17T17:17:55Z | https://github.com/langchain-ai/langchain/issues/4792 | 1,712,267,546 | 4,792 |
[
"hwchase17",
"langchain"
] | ### Feature request
When you call `add_texts` and `add_docuemnts` methods from a Weaviate instance, it always generate UUIDs for you, which is a neat feature
https://github.com/hwchase17/langchain/blob/bee136efa4393219302208a1a458d32129f5d539/langchain/vectorstores/weaviate.py#L137
However, there are specific us... | Accept UUID list as an argument to add texts and documents into Weaviate vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/4791/comments | 0 | 2023-05-16T15:31:48Z | 2023-05-16T22:26:48Z | https://github.com/langchain-ai/langchain/issues/4791 | 1,712,263,240 | 4,791 |
[
"hwchase17",
"langchain"
] | ### System Info
I ran the below code
`output = agent.run("what is Grass Type which pokemnon has highest speed and lowest speed?")`
The above code gave the below output
```
> Entering new AgentExecutor chain...
Thought: I need to find the pokemon with the highest and lowest speed that are of type Grass
Acti... | How to return the text which is after Finished Chain or Final Answer? | https://api.github.com/repos/langchain-ai/langchain/issues/4783/comments | 13 | 2023-05-16T13:31:55Z | 2024-02-14T03:35:22Z | https://github.com/langchain-ai/langchain/issues/4783 | 1,712,039,344 | 4,783 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi guys,
it is my understanding that for GPT4 we have to use the ChatOpenAI api. Due to the more restrictive rate limit for GPT4 the use of map_reduce chains seems very limited.
### Suggestion:
Provide a configurable batch_size - like in #1073 - for the ChatOpenAI api | ChatOpenAI: Number of parallel jobs in the MapReduce chain | https://api.github.com/repos/langchain-ai/langchain/issues/4782/comments | 2 | 2023-05-16T13:29:08Z | 2023-10-16T14:08:56Z | https://github.com/langchain-ai/langchain/issues/4782 | 1,712,034,290 | 4,782 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add GPT4All chat model integration to Langchain
### Motivation
I am building a chat-bot using langchain and the openAI Chat model. However I have seen that langchain added around the 0.0.130 version the integration with GPT4All to use it as a LLM provider. I would like to know if there is ... | GPT4All Chat Model Integration | https://api.github.com/repos/langchain-ai/langchain/issues/4779/comments | 6 | 2023-05-16T10:51:16Z | 2023-12-19T00:50:53Z | https://github.com/langchain-ai/langchain/issues/4779 | 1,711,766,113 | 4,779 |
[
"hwchase17",
"langchain"
] | ### Feature request
The Airbyte loader should place some separator token between attributes from different records in the final document to help the LLM associating the right attributes with each other
### Motivation
The Airbyte loaders loads data from the Airbyte local JSON destination into documents. As Airb... | Improve Airbyte loader to help LLM differentiate entities | https://api.github.com/repos/langchain-ai/langchain/issues/4776/comments | 5 | 2023-05-16T08:49:32Z | 2023-09-19T16:10:46Z | https://github.com/langchain-ai/langchain/issues/4776 | 1,711,556,396 | 4,776 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.169
### Who can help?
@hwchase17
@ekzh
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | LangChain classes share openai global values | https://api.github.com/repos/langchain-ai/langchain/issues/4775/comments | 14 | 2023-05-16T08:48:53Z | 2023-06-13T18:15:13Z | https://github.com/langchain-ai/langchain/issues/4775 | 1,711,555,266 | 4,775 |
[
"hwchase17",
"langchain"
] | ### Feature request
i find this version can only support faiss-gpu, does it support faiss-gpu. maybe we can add something like annoy, hnswlib and so on
### Motivation
add more embedding search tools, faiss, annoy, hnswlib
### Your contribution
support more embedding search tools | this version also supprot faiss-gpu version | https://api.github.com/repos/langchain-ai/langchain/issues/4773/comments | 1 | 2023-05-16T08:11:11Z | 2023-09-10T16:17:19Z | https://github.com/langchain-ai/langchain/issues/4773 | 1,711,486,994 | 4,773 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Context:
I'm trying to chat with my dataset as customer reviews from a restaurant.
I would like to have LLM make a summary for every single store individually, I found it difficult to generate the expected output using any types of chains, so alternatively I preprocess my dataset befo... | Challange when using Langchain for customer review analysis. | https://api.github.com/repos/langchain-ai/langchain/issues/4772/comments | 7 | 2023-05-16T08:06:51Z | 2023-09-19T16:10:51Z | https://github.com/langchain-ai/langchain/issues/4772 | 1,711,479,747 | 4,772 |
[
"hwchase17",
"langchain"
] | ### System Info
windows 10
### Who can help?
@vowelparrot @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docu... | KeyError: 'tools' when initialize_agent with python_repl tool | https://api.github.com/repos/langchain-ai/langchain/issues/4769/comments | 6 | 2023-05-16T06:44:22Z | 2023-09-19T16:10:56Z | https://github.com/langchain-ai/langchain/issues/4769 | 1,711,345,791 | 4,769 |
[
"hwchase17",
"langchain"
] | ### System Info
env python == 3.10.10
langchain==0.0.170
mysql==5.7
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | The exception 'SQLDatabaseSequentialChain or SQLDatabaseChain configuration parameter use_query_checker=True' occurred. | https://api.github.com/repos/langchain-ai/langchain/issues/4768/comments | 4 | 2023-05-16T06:26:18Z | 2023-10-30T16:07:03Z | https://github.com/langchain-ai/langchain/issues/4768 | 1,711,325,729 | 4,768 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | Will the langchain support ChatGLM? | https://api.github.com/repos/langchain-ai/langchain/issues/4766/comments | 4 | 2023-05-16T05:59:26Z | 2023-10-17T16:07:29Z | https://github.com/langchain-ai/langchain/issues/4766 | 1,711,294,010 | 4,766 |
[
"hwchase17",
"langchain"
] | ### System Info
I just set up a local tracing server, I change the port to 8005.

when I visit localhost:4173, It shows:
, ('best_of', 2), ('frequency_penalty', 0), ('logit_bias', {}), ('max_tokens', 256), ('model_name', 'text-davinci-002'), ('n', 2), ('presence_penalty', 0), ('request_timeout', None), ('stop', None), ('temperature', 0.7), ('top_p',... | https://api.github.com/repos/langchain-ai/langchain/issues/4757/comments | 1 | 2023-05-16T01:14:21Z | 2023-05-19T23:35:38Z | https://github.com/langchain-ai/langchain/issues/4757 | 1,711,055,714 | 4,757 |
[
"hwchase17",
"langchain"
] | ### Feature request
Capability to retrieve relevance scores along with document has been added to VectorStoreRetriever as part of PR#4359.
The search_type == "similarity_score_threshold" alternative is handled in the sync flow (VectorStoreRetriever.get_relevant_documents) but not in the async flow (VectorStoreRetrie... | search_type "similarity_score_threshold" is missing on async aget_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/4756/comments | 2 | 2023-05-16T01:10:03Z | 2023-06-06T12:39:39Z | https://github.com/langchain-ai/langchain/issues/4756 | 1,711,052,281 | 4,756 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i just tried the [gptcache](https://python.langchain.com/en/latest/modules/models/llms/examples/llm_caching.html?highlight=cache#gptcache) using ChatOpenAI
```python
from gptcache import Cache
from gptcache.adapter.api import init_similar_cache
from langchain.cache import GPTCache
... | Question: Does Chat Model support caching? | https://api.github.com/repos/langchain-ai/langchain/issues/4755/comments | 1 | 2023-05-16T01:09:04Z | 2023-05-16T01:23:30Z | https://github.com/langchain-ai/langchain/issues/4755 | 1,711,051,594 | 4,755 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.170, Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Python 3.9
```python
Generative_Result_Message = """Given the following schema table, sql query and sql result. Provide a human readable answer to the question
{sql_answering_document}
Question: {question}
Resu... | LLM Not Receiving prompt ARGS | https://api.github.com/repos/langchain-ai/langchain/issues/4752/comments | 0 | 2023-05-15T23:51:55Z | 2023-06-03T21:41:05Z | https://github.com/langchain-ai/langchain/issues/4752 | 1,710,996,090 | 4,752 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How do I stop the stream when using callbacks like async callback?
When I stop the stream, does the openAI still charges the remainders of the generation?
### Suggestion:
_No response_ | How to stop the stream? and does it stop the openai charging? | https://api.github.com/repos/langchain-ai/langchain/issues/4743/comments | 7 | 2023-05-15T20:07:08Z | 2024-06-09T09:32:30Z | https://github.com/langchain-ai/langchain/issues/4743 | 1,710,750,362 | 4,743 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
[similarity_search](https://github.com/hwchase17/langchain/blob/09587a32014bb3fd9233d7a567c8935c17fe901e/langchain/vectorstores/weaviate.py#L174-L175) in weaviate uses near_text.
This requires weaviate to be set up with a [text2vec module](https://weaviate.io/developers/weaviate/modul... | Issue: Weaviate: why similarity_search uses with_near_text? | https://api.github.com/repos/langchain-ai/langchain/issues/4742/comments | 5 | 2023-05-15T18:37:07Z | 2023-05-17T02:43:16Z | https://github.com/langchain-ai/langchain/issues/4742 | 1,710,614,532 | 4,742 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.166
Python 3.10.9
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-20-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics P... | LlamaCppEmbeddings crashing (reboot) Linux Kubuntu 23.04 machine | https://api.github.com/repos/langchain-ai/langchain/issues/4738/comments | 1 | 2023-05-15T17:15:38Z | 2023-09-10T16:17:24Z | https://github.com/langchain-ai/langchain/issues/4738 | 1,710,499,528 | 4,738 |
[
"hwchase17",
"langchain"
] | ### System Info
Main branch.
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loader... | Identical Docstring for `ConversationalChatAgent` and `ConversationalAgent`. | https://api.github.com/repos/langchain-ai/langchain/issues/4736/comments | 4 | 2023-05-15T16:30:08Z | 2023-12-20T16:07:51Z | https://github.com/langchain-ai/langchain/issues/4736 | 1,710,433,310 | 4,736 |
[
"hwchase17",
"langchain"
] | ### Feature request
In the [Chameleon paper](https://arxiv.org/abs/2304.09842), there are some prompt tricks different from langchain, such as:
1. There is a planner responsible for generating "steps to use the tool"
For example, a generated "steps" looks like:

### 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 Sel... | Summarization Notebook: No module named 'tiktoken' | https://api.github.com/repos/langchain-ai/langchain/issues/4728/comments | 2 | 2023-05-15T15:02:38Z | 2023-09-12T16:15:11Z | https://github.com/langchain-ai/langchain/issues/4728 | 1,710,288,233 | 4,728 |
[
"hwchase17",
"langchain"
] | ### Feature request
Enum's don't work well with the structured agent. The data validation works fine, but it would be great if we took the ideas from the `StructuredChatOutputParserWithRetries` and applied it to the StructuredTool's.
For example, when a validation error raises due to an enum breach, parse the erro... | Enums Don't Work Well With Structured Agent | https://api.github.com/repos/langchain-ai/langchain/issues/4724/comments | 3 | 2023-05-15T13:13:07Z | 2023-10-15T16:07:13Z | https://github.com/langchain-ai/langchain/issues/4724 | 1,710,079,527 | 4,724 |
[
"hwchase17",
"langchain"
] | ### System Info
```
langchain version==0.0.169
python=3.10.10
platform=dev_containers
```
The code given below is not able to utilise memory for answering questions with references
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scr... | ConversationalRetrievalChain doesn't work with memory | https://api.github.com/repos/langchain-ai/langchain/issues/4722/comments | 10 | 2023-05-15T11:46:00Z | 2023-09-28T16:06:54Z | https://github.com/langchain-ai/langchain/issues/4722 | 1,709,924,459 | 4,722 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add summarization task type for HuggingFace APIs.
This task type is described by [HuggingFace inference API](https://huggingface.co/docs/api-inference/detailed_parameters#summarization-task)
### Motivation
My project utilizes LangChain to connect multiple LLMs, including various HuggingFace mode... | Add summarization task type for HuggingFace APIs | https://api.github.com/repos/langchain-ai/langchain/issues/4720/comments | 0 | 2023-05-15T11:23:49Z | 2023-05-15T23:26:20Z | https://github.com/langchain-ai/langchain/issues/4720 | 1,709,886,048 | 4,720 |
[
"hwchase17",
"langchain"
] | ### Feature request
The qdrant vector store has "must" in filter, is it possible to add "must_not" and/or "should" as well?
Ref: https://qdrant.tech/documentation/filtering/
### Motivation
Having a filter is really nice, but its hard to use row level authorization without "must_not"
So we can say "must" incl... | Qdrant filtering methods | https://api.github.com/repos/langchain-ai/langchain/issues/4718/comments | 5 | 2023-05-15T10:49:29Z | 2023-09-15T22:12:57Z | https://github.com/langchain-ai/langchain/issues/4718 | 1,709,831,906 | 4,718 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I created an AgentExecutor with the ConversationalChatAgent and I could pass a system message as I initialize the agent executor. Is it possible to add system messages to individual prompts, not just one in the beginning? My code:
```
from langchain import PromptTemplate
from langch... | Issue: Is it possible to add system message with the prompt? | https://api.github.com/repos/langchain-ai/langchain/issues/4716/comments | 2 | 2023-05-15T09:51:06Z | 2023-09-10T16:17:39Z | https://github.com/langchain-ai/langchain/issues/4716 | 1,709,729,606 | 4,716 |
[
"hwchase17",
"langchain"
] | ### Feature request
Right now, streaming in LLM's are can be seen in stdout in terminals but not as output responses. I'm using conversation chain where i see my output in the terminal as streaming but not while return the output through API.
### Motivation
Responses may get started typing and the user may have some... | Streaming Responses As Ouput Using FastAPI Support | https://api.github.com/repos/langchain-ai/langchain/issues/4715/comments | 16 | 2023-05-15T06:56:02Z | 2023-09-30T16:07:19Z | https://github.com/langchain-ai/langchain/issues/4715 | 1,709,434,878 | 4,715 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version:0.0.168
python version 3.10
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | Error in on_llm callback: 'AsyncIteratorCallbackHandler' object has no attribute 'on_llm' | https://api.github.com/repos/langchain-ai/langchain/issues/4714/comments | 2 | 2023-05-15T06:30:00Z | 2023-05-16T01:36:23Z | https://github.com/langchain-ai/langchain/issues/4714 | 1,709,405,469 | 4,714 |
[
"hwchase17",
"langchain"
] | ### Feature request
https://platform.openai.com/docs/api-reference/embeddings/create?lang=python supports a user parameter, where we can pass user details to the openai api. https://github.com/hwchase17/langchain/blob/master/langchain/embeddings/openai.py#L66 can take a user parameter (optional) , which needs to be pa... | Support for user parameter in OpenAI Embeddings Create class, which exists in OpenAI API | https://api.github.com/repos/langchain-ai/langchain/issues/4711/comments | 4 | 2023-05-15T05:26:16Z | 2023-12-09T16:06:51Z | https://github.com/langchain-ai/langchain/issues/4711 | 1,709,341,947 | 4,711 |
[
"hwchase17",
"langchain"
] | I was using RetrievalQA.from_chain_type, to which I had passed parameters as:-
`RetrievalQA.from_chain_type(llm, chain_type, retriever = chroma_db.as_retriever(), return_source_documents = True)`
Here,
return_source_documents = True, only returns the chunks from which it generated the response. _Is there a way in wh... | How to use return_source_documents to also extract similarity score?? | https://api.github.com/repos/langchain-ai/langchain/issues/4710/comments | 13 | 2023-05-15T04:44:31Z | 2024-05-14T16:15:02Z | https://github.com/langchain-ai/langchain/issues/4710 | 1,709,303,133 | 4,710 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/en/latest/modules/chains/examples/sqlite.html#customize-prompt
When looking at the Cutomize prompt example, the subsequent `db_chain.run()` command is just like the pre-prompt chain.
It is currently like:
`db_chain.run("How many employees are ... | DOC: SQL Chain Example - Customise Prompt | https://api.github.com/repos/langchain-ai/langchain/issues/4703/comments | 17 | 2023-05-15T02:10:11Z | 2023-10-19T16:08:23Z | https://github.com/langchain-ai/langchain/issues/4703 | 1,709,196,707 | 4,703 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The embedding models of cohere are
1. embed-english-light-v2.0
2. embed-english-v2.0
3. embed-multilingual-v2.0
The corresponding embedding wrapper in langchain will need to reflect that. Currently it is defaulted to large
### Suggestion:
_No response_ | Issue: The cohere embedding model has the model defaulted to large. These names are deprecated | https://api.github.com/repos/langchain-ai/langchain/issues/4694/comments | 0 | 2023-05-15T00:09:11Z | 2023-05-16T23:27:25Z | https://github.com/langchain-ai/langchain/issues/4694 | 1,709,123,191 | 4,694 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be nice to have the ability to get the positions of the extracted texts - i.e. the beginning and end (character position) of the split text from the text body, or the line and line character position of the extracted text.
### Motivation
I'm working on a way ingest a code repo into a vec... | Ability to get the character or the line and line character positions from a split text | https://api.github.com/repos/langchain-ai/langchain/issues/4692/comments | 1 | 2023-05-14T23:10:03Z | 2023-09-10T16:17:45Z | https://github.com/langchain-ai/langchain/issues/4692 | 1,709,106,195 | 4,692 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.168
OS: Mac
### 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 Par... | SQLDatabaseChain did not read PostgreSQL database table information correctly | https://api.github.com/repos/langchain-ai/langchain/issues/4690/comments | 6 | 2023-05-14T22:58:23Z | 2024-01-30T00:42:49Z | https://github.com/langchain-ai/langchain/issues/4690 | 1,709,102,621 | 4,690 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I encountered a `TypeError: string indices must be integers` error when using the library to retrieve chat messages from a PostgreSQL database. This error occurs specifically in the `messages_from_dict` function.
Upon further investigation, it appears that the error arises when trying... | Issue: TypeError: string indices must be integers when retrieving messages from PostgreSQL | https://api.github.com/repos/langchain-ai/langchain/issues/4684/comments | 6 | 2023-05-14T19:53:52Z | 2023-12-03T16:07:36Z | https://github.com/langchain-ai/langchain/issues/4684 | 1,709,054,913 | 4,684 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.168, Python 3.11.3
### Who can help?
@anihamde
### 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
- [... | Setting overwrite to False on DeepLake constructor still overwrites | https://api.github.com/repos/langchain-ai/langchain/issues/4682/comments | 1 | 2023-05-14T19:15:22Z | 2023-09-10T16:17:56Z | https://github.com/langchain-ai/langchain/issues/4682 | 1,709,045,521 | 4,682 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi team,
I am a developer relations engineer working at Google on PaLM API. I want to participate and contribute to adding Google PaLM potentially to LangChain. How is our current dev stage of adding Google PaLM API?
### Motivation
Better user experience with PaLM API :)
### Your cont... | Add Google PaLM API | https://api.github.com/repos/langchain-ai/langchain/issues/4681/comments | 20 | 2023-05-14T19:08:05Z | 2024-01-30T00:52:41Z | https://github.com/langchain-ai/langchain/issues/4681 | 1,709,043,509 | 4,681 |
[
"hwchase17",
"langchain"
] | ### Feature request
LLM usually limits text by Tokens.
It may be useful to split a large text into chunks according to the number of Tokens rather than the number of characters.
For example, if LLM allows us to use 8000 tokens, and we want to split the text into chunks of up to 4000-tokens, then we can call
```p... | Split by Tokens instead of characters: RecursiveCharacterTextSplitter | https://api.github.com/repos/langchain-ai/langchain/issues/4678/comments | 35 | 2023-05-14T18:16:05Z | 2024-06-21T16:37:58Z | https://github.com/langchain-ai/langchain/issues/4678 | 1,709,029,487 | 4,678 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using Chroma's client-server configuration and I have trouble setting up a retriever for ConversationalRetrievalChain.from_llm() function.
I can't find anything related to this. Can someone guide me on how can I do that or if someone has any solution?
For the locally stored ... | Issue: Set up a Chroma retriever for client-server configuration of Chroma | https://api.github.com/repos/langchain-ai/langchain/issues/4676/comments | 3 | 2023-05-14T18:08:39Z | 2024-03-16T22:56:10Z | https://github.com/langchain-ai/langchain/issues/4676 | 1,709,027,393 | 4,676 |
[
"hwchase17",
"langchain"
] | ### System Info
```
langchain==0.0.168
chromadb==0.3.22
```
### 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
- [ ] ... | langchain chroma vectorstore calls ChromaDB API incorrectly when ChromaDB is running in Docker | https://api.github.com/repos/langchain-ai/langchain/issues/4674/comments | 6 | 2023-05-14T17:26:09Z | 2023-10-31T16:07:20Z | https://github.com/langchain-ai/langchain/issues/4674 | 1,709,016,097 | 4,674 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm trying to make use of the sequential chaining functionality by chaining together two prompts like so:
```
# importing frameworks and such
import os
from apikey import apikey
import streamlit as st
from langchain.llms import OpenAI
from langchain.prompts import PromptTemplate
from langch... | ValueError: Missing some input keys: {'input'} | https://api.github.com/repos/langchain-ai/langchain/issues/4673/comments | 3 | 2023-05-14T16:30:59Z | 2023-08-08T20:08:15Z | https://github.com/langchain-ai/langchain/issues/4673 | 1,709,000,599 | 4,673 |
[
"hwchase17",
"langchain"
] | ### System Info
I tried to run this example: https://python.langchain.com/en/latest/use_cases/agent_simulations/characters.html
But when I set the LLM with AzureChatOpenAI doesn't work. The error is:
```
Traceback (most recent call last):
File "/home/adrian-ubuntu/projects/generative-agents/langchain_genera... | Generative Agents don't work with AzureChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/4670/comments | 1 | 2023-05-14T14:54:48Z | 2023-09-10T16:18:00Z | https://github.com/langchain-ai/langchain/issues/4670 | 1,708,972,374 | 4,670 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/en/latest/modules/agents/agents/custom_agent.html
### Idea or request for content:
I was going through the documentation for creating a custom agent (https://python.langchain.com/en/latest/modules/agents/agents/custom_agent.html) and noticed a pote... | DOC: Typo in Custom Agent Documentation | https://api.github.com/repos/langchain-ai/langchain/issues/4668/comments | 0 | 2023-05-14T12:52:17Z | 2023-05-18T04:02:24Z | https://github.com/langchain-ai/langchain/issues/4668 | 1,708,934,167 | 4,668 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
In ingest process, a long document was splitted into multiple documents and embedding into vector DB.
In inference process, the top K trunks were returned as context feeding to LLM.
In most of the cases this machanism works well, but what if I want to make an overall summary of the d... | Is it possible to digest every piece of document befero inferece? | https://api.github.com/repos/langchain-ai/langchain/issues/4667/comments | 3 | 2023-05-14T11:14:14Z | 2023-09-12T16:15:15Z | https://github.com/langchain-ai/langchain/issues/4667 | 1,708,906,341 | 4,667 |
[
"hwchase17",
"langchain"
] | ### Feature request
Rewriting Langchain codebase and library with Mojo.
https://www.modular.com/mojo
### Motivation
Up to 35000x faster than Python for ML / DL applications.
Utilize the full power of the hardware, including multiple cores, vector units, and exotic accelerator units, with the world's most advanced ... | Rewrite Langchain in Mojo | https://api.github.com/repos/langchain-ai/langchain/issues/4666/comments | 4 | 2023-05-14T09:17:24Z | 2023-12-14T16:08:38Z | https://github.com/langchain-ai/langchain/issues/4666 | 1,708,874,996 | 4,666 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain>=0.0.123
sqlalchemy==1.4.48
PyAthena[SQLAlchemy]>=1.2.0,<2.0.0
Python 3.10.11
### Who can help?
@hwchase17, @eyurtsev, @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mo... | error while calling SQLDatabaseChain on AWS Athena | https://api.github.com/repos/langchain-ai/langchain/issues/4664/comments | 1 | 2023-05-14T08:21:50Z | 2023-05-18T04:24:46Z | https://github.com/langchain-ai/langchain/issues/4664 | 1,708,859,989 | 4,664 |
[
"hwchase17",
"langchain"
] | ### System Info
Runs under jupyterlab in docker
platform : Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29
python : 3.8.5
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/... | Using LLama Embedings still rely on OpenAI key | https://api.github.com/repos/langchain-ai/langchain/issues/4661/comments | 7 | 2023-05-14T07:04:36Z | 2023-12-26T16:07:56Z | https://github.com/langchain-ai/langchain/issues/4661 | 1,708,841,518 | 4,661 |
[
"hwchase17",
"langchain"
] | ### System Info
error:
```
Traceback (most recent call last):
File "/Users/delip/workspace/tmp/main3.py", line 38, in <module>
asyncio.run(main())
File "/Users/delip/opt/anaconda3/envs/lhenv/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Users/deli... | ChatOpenAI.agenerate seems broken in 0.0.168? | https://api.github.com/repos/langchain-ai/langchain/issues/4643/comments | 4 | 2023-05-14T00:55:12Z | 2023-09-25T10:13:04Z | https://github.com/langchain-ai/langchain/issues/4643 | 1,708,780,067 | 4,643 |
[
"hwchase17",
"langchain"
] | ### System Info
Google Colab
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | OpenAIEmbeddings has "AuthenticationError" | https://api.github.com/repos/langchain-ai/langchain/issues/4639/comments | 1 | 2023-05-13T23:44:10Z | 2023-05-16T20:08:06Z | https://github.com/langchain-ai/langchain/issues/4639 | 1,708,767,827 | 4,639 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
What is the best approach to create a rule based chatbot with LangChain?
Context: I need to create a chatbot that needs to collect some basic user's info at the beginning (things like name, email, phone) and then continue providing some general responses based on custom information.
... | Rule based chatbot using LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/4634/comments | 2 | 2023-05-13T17:03:41Z | 2023-09-10T16:18:10Z | https://github.com/langchain-ai/langchain/issues/4634 | 1,708,685,295 | 4,634 |
[
"hwchase17",
"langchain"
] | ### Feature request
Per title, request is to add feature for streaming output response, something like this:
```python
from langchain.llms.huggingface_text_gen_inference import HuggingFaceTextGenInference
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
llm = HuggingFaceTextG... | [feature] Add support for streaming response output to HuggingFaceTextGenInference LLM | https://api.github.com/repos/langchain-ai/langchain/issues/4631/comments | 0 | 2023-05-13T16:16:48Z | 2023-05-15T14:59:14Z | https://github.com/langchain-ai/langchain/issues/4631 | 1,708,671,913 | 4,631 |
[
"hwchase17",
"langchain"
] | ### Feature request
Components containing LLM are hard to be unit-tested, because their output is not deterministic, and they rely on API which could fail.
So I propose a method to mock LLM output by simply recording and replaying the responses.
### Motivation
It could be helpful in TDD-based workflow, in... | [feature] Mock LLM by record and replay responses | https://api.github.com/repos/langchain-ai/langchain/issues/4629/comments | 5 | 2023-05-13T15:46:06Z | 2023-11-14T16:24:55Z | https://github.com/langchain-ai/langchain/issues/4629 | 1,708,662,472 | 4,629 |
[
"hwchase17",
"langchain"
] | ### Feature request
The official gpt4all python bindings now exist in the `gpt4all` pip package. [Langchain](https://python.langchain.com/en/latest/modules/models/llms/integrations/gpt4all.html) currently relies on the no-longer maintained pygpt4all package. Langchain should use the `gpt4all` python package with sou... | GPT4All Python Bindings out of date [move to new multiplatform bindings] | https://api.github.com/repos/langchain-ai/langchain/issues/4628/comments | 2 | 2023-05-13T15:15:06Z | 2023-09-10T16:18:15Z | https://github.com/langchain-ai/langchain/issues/4628 | 1,708,650,720 | 4,628 |
[
"hwchase17",
"langchain"
] | ### System Info
v.0.0.167
MacOS 13.3.1 (a) (22E772610a)
### 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 Selec... | `chromadb.errors.InvalidDimensionException` introduced somewhere between v0.0.123 and 0.0.167 | https://api.github.com/repos/langchain-ai/langchain/issues/4627/comments | 3 | 2023-05-13T14:58:47Z | 2023-10-16T16:08:04Z | https://github.com/langchain-ai/langchain/issues/4627 | 1,708,641,207 | 4,627 |
[
"hwchase17",
"langchain"
] | ### Feature request
There is a need for graph databases to be integrated in langchain. NetworkX isn't suitable for scalable graph databases that would be desired to be queried, particularly with tens of thousands or more nodes and edges. This is necessary for graph databases to compete with vector databases on the l... | Integrate Neo4j as a Graph Index, Vector Index, and as tools in the ecosystem | https://api.github.com/repos/langchain-ai/langchain/issues/4625/comments | 10 | 2023-05-13T13:47:57Z | 2023-06-12T14:29:19Z | https://github.com/langchain-ai/langchain/issues/4625 | 1,708,610,568 | 4,625 |
[
"hwchase17",
"langchain"
] | ### System Info
---------------------------------------------------------------------------
ValidationError Traceback (most recent call last)
[<ipython-input-54-a735363693fb>](https://localhost:8080/#) in <cell line: 2>()
1 # sql chain
----> 2 db_chain = SQLDatabaseChain.from_llm(ll... | use_query_checker in SQLDatabaseChain not working | https://api.github.com/repos/langchain-ai/langchain/issues/4624/comments | 4 | 2023-05-13T12:52:25Z | 2023-09-19T16:11:02Z | https://github.com/langchain-ai/langchain/issues/4624 | 1,708,593,108 | 4,624 |
[
"hwchase17",
"langchain"
] | ### System Info
I was trying out the langchain arxiv chain and I got the cannot parse LLM error.
Here is some additional info that might help.
`
> Entering new AgentExecutor chain...
I need to search for papers related to AI in the oil and gas industry.
Action: Arxiv
Action Input: "AI in oil and gas industry... | Arxiv chain : cannot parse output | https://api.github.com/repos/langchain-ai/langchain/issues/4622/comments | 1 | 2023-05-13T11:43:21Z | 2023-09-10T16:18:20Z | https://github.com/langchain-ai/langchain/issues/4622 | 1,708,571,207 | 4,622 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi. I have used an integration of langchain with Pinecone, as well as ChromaDB. My question is whether you recommend any alternative vector database that is free?
### Suggestion:
_No response_ | Issue: Free Vector Database? | https://api.github.com/repos/langchain-ai/langchain/issues/4621/comments | 4 | 2023-05-13T10:03:49Z | 2023-09-19T16:11:06Z | https://github.com/langchain-ai/langchain/issues/4621 | 1,708,544,666 | 4,621 |
[
"hwchase17",
"langchain"
] | Knowing that Pandas and spark cannot be compared to the speed of Polars, please can you create a Polars Dataframe Agent? It is 15x faster than Pandas. | Polars Dataframe Agent Needed | https://api.github.com/repos/langchain-ai/langchain/issues/4620/comments | 3 | 2023-05-13T08:46:09Z | 2024-03-08T12:38:36Z | https://github.com/langchain-ai/langchain/issues/4620 | 1,708,521,121 | 4,620 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.167
python=3.10.10
system: Windows
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | SQLDatabaseChain has no attribute from_llm | https://api.github.com/repos/langchain-ai/langchain/issues/4618/comments | 6 | 2023-05-13T07:40:59Z | 2024-03-26T09:21:00Z | https://github.com/langchain-ai/langchain/issues/4618 | 1,708,504,243 | 4,618 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be great if LangChain could support more HuggingFace embedding models. Prompt techniques don't work very well with currently available sentence transformer models. Open-source-powered technology could benefit from the adoption of updated models like Cerebras-GPT and Dolly.
### Motivation... | Support for new Hugging Face models like Cerebras-GPT, Dolly and others. | https://api.github.com/repos/langchain-ai/langchain/issues/4617/comments | 3 | 2023-05-13T06:48:25Z | 2023-09-15T16:13:37Z | https://github.com/langchain-ai/langchain/issues/4617 | 1,708,471,497 | 4,617 |
[
"hwchase17",
"langchain"
] | Hello 👋
I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@r3pwnx) has found a potential issue, which I would be eager to share with you.
Could you add a `SECURITY.md` file with an e-mail address for me to send further details to? GitHub [recommends](https://docs.github.com/en/cod... | Add a security policy | https://api.github.com/repos/langchain-ai/langchain/issues/4614/comments | 1 | 2023-05-13T04:20:13Z | 2023-09-10T16:18:36Z | https://github.com/langchain-ai/langchain/issues/4614 | 1,708,426,607 | 4,614 |
[
"hwchase17",
"langchain"
] | ### System Info
def _split_list_of_docs(
docs: List[Document], length_func: Callable, token_max: int, **kwargs: Any
) -> List[List[Document]]:
new_result_doc_list = []
_sub_result_docs = []
for doc in docs:
_sub_result_docs.append(doc)
_num_tokens = length_func(_sub_result_docs... | map_reduce._split_list_of_docs has bugs | https://api.github.com/repos/langchain-ai/langchain/issues/4613/comments | 7 | 2023-05-13T04:04:27Z | 2023-10-12T16:09:49Z | https://github.com/langchain-ai/langchain/issues/4613 | 1,708,422,949 | 4,613 |
[
"hwchase17",
"langchain"
] |
How do i add memory to RetrievalQA.from_chain_type? or, how do I add a custom prompt to ConversationalRetrievalChain?
For the past 2 weeks ive been trying to make a chatbot that can chat over documents (so not in just a semantic search/qa so with memory) but also with a custom prompt. I've tried every combinati... | How do i add memory to RetrievalQA.from_chain_type? or, how do I add a custom prompt to ConversationalRetrievalChain? | https://api.github.com/repos/langchain-ai/langchain/issues/4608/comments | 21 | 2023-05-13T02:41:24Z | 2024-06-07T00:21:07Z | https://github.com/langchain-ai/langchain/issues/4608 | 1,708,402,102 | 4,608 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/ed0d557ede8776921cc3c5ca1f3aef81d3d0c7b5/langchain/chat_models/google_palm.py#L65
Fix: `if author == "ai or author == "1":` seems to do the trick.
Happy to submit a patch if y'all agree!
The [Google Palm Chat API](https://developers.generativeai.google/tutorials/cha... | GooglePalm `author` is returned as "1" but code is expecting "ai" | https://api.github.com/repos/langchain-ai/langchain/issues/4606/comments | 3 | 2023-05-12T23:48:59Z | 2023-09-15T16:13:43Z | https://github.com/langchain-ai/langchain/issues/4606 | 1,708,344,927 | 4,606 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain ver 0.0.167, MacBook Pro 2018, Mac OS Ventura.
### 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 Select... | RWKV | https://api.github.com/repos/langchain-ai/langchain/issues/4604/comments | 4 | 2023-05-12T22:41:16Z | 2023-10-09T16:07:52Z | https://github.com/langchain-ai/langchain/issues/4604 | 1,708,300,793 | 4,604 |
[
"hwchase17",
"langchain"
] | Hi ,
how can i remove the escape sequences that serves to coloring in langchain output. I want to pars the output and this escape are really a problem
thanks | how to remove all coloring escape sequences in sqlquery and result output | https://api.github.com/repos/langchain-ai/langchain/issues/4600/comments | 4 | 2023-05-12T20:38:36Z | 2023-09-04T07:05:03Z | https://github.com/langchain-ai/langchain/issues/4600 | 1,708,182,875 | 4,600 |
[
"hwchase17",
"langchain"
] | ### System Info

### Who can help?
@vowelparrot
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedd... | Even use "print", the chatgpt is still "hallucinating"?? | https://api.github.com/repos/langchain-ai/langchain/issues/4599/comments | 2 | 2023-05-12T20:31:16Z | 2023-05-12T21:21:14Z | https://github.com/langchain-ai/langchain/issues/4599 | 1,708,173,986 | 4,599 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When I try to perform a similarity_search on an opensearch index on AWS of size 50GB (approx 2 million documents with vectors for each), i sometimes get this error. It does not happen all the time. Usually the first time when I make a request the response is successful, subsequent call... | langchain OpenSearchVectorSearch similarity_search error | https://api.github.com/repos/langchain-ai/langchain/issues/4597/comments | 3 | 2023-05-12T19:53:04Z | 2023-11-21T16:07:20Z | https://github.com/langchain-ai/langchain/issues/4597 | 1,708,132,505 | 4,597 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac OSX10.16
python 3.9
langchain 0.0.166
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | Problem with SelfQueryRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/4587/comments | 5 | 2023-05-12T16:54:43Z | 2023-05-12T17:32:26Z | https://github.com/langchain-ai/langchain/issues/4587 | 1,707,934,037 | 4,587 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.166
### Who can help?
@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
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] ... | get_openai_callback dosen't work with streaming = True | https://api.github.com/repos/langchain-ai/langchain/issues/4583/comments | 12 | 2023-05-12T15:07:29Z | 2024-07-30T10:15:36Z | https://github.com/langchain-ai/langchain/issues/4583 | 1,707,797,834 | 4,583 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
PlanAndExecute agent is rising errors when no questions are asked (e.g. a greeting interaction).
Is there any Chat implementation where a simple LLM chat interaction is available among the available tools?
Thank you in advance.
### Suggestion:
_No response_ | Issue: PlanAndExecute agent fails in chat mode when a simple chat interaction is required. | https://api.github.com/repos/langchain-ai/langchain/issues/4582/comments | 4 | 2023-05-12T14:25:16Z | 2023-09-19T16:11:11Z | https://github.com/langchain-ai/langchain/issues/4582 | 1,707,730,929 | 4,582 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am having issues with the flow of a conversation and the chat memory. When deployed in a flask app and queried using netlify the memory is not mantained. Any suggestions?
### Suggestion:
_No response_ | Issue:Problems with serverless architecture and ConversationBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/4581/comments | 4 | 2023-05-12T13:41:33Z | 2023-11-01T16:07:30Z | https://github.com/langchain-ai/langchain/issues/4581 | 1,707,660,358 | 4,581 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version == 0.0.166
Embeddings = OpenAIEmbeddings - model: text-embedding-ada-002 version 2
LLM = AzureOpenAI
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] ... | AzureOpenAI InvalidRequestError: Too many inputs. The max number of inputs is 1. | https://api.github.com/repos/langchain-ai/langchain/issues/4575/comments | 28 | 2023-05-12T12:38:50Z | 2024-02-28T03:59:37Z | https://github.com/langchain-ai/langchain/issues/4575 | 1,707,564,739 | 4,575 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
CHAT_CONVERSATIONAL_REACT_DESCRIPTION agent is able to use only 1 tool per turn. The same is not happening for CONVERSATIONAL_REACT_DESCRIPTION.
Is that done on purpose? How can I fix the agent to allow more than 1 tool per turn?
Thank you.
### Suggestion:
_No response_ | Issue: CHAT_CONVERSATIONAL_REACT_DESCRIPTION only uses 1 tool per turn | https://api.github.com/repos/langchain-ai/langchain/issues/4574/comments | 4 | 2023-05-12T12:38:32Z | 2023-12-25T16:10:39Z | https://github.com/langchain-ai/langchain/issues/4574 | 1,707,564,297 | 4,574 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi!
I implemented a chatbot with gpt-4 and a docx file which is provided as context. If I ask questions according to this context, it is returning relevant answers, but if I want to ask a question which is out of this context, it responses 'Based on the provided context I cannot answe... | Issue: Not answering questions out of context using RetrievalQA Chain and ConversationalChatAgent | https://api.github.com/repos/langchain-ai/langchain/issues/4573/comments | 24 | 2023-05-12T12:08:52Z | 2024-08-08T03:46:58Z | https://github.com/langchain-ai/langchain/issues/4573 | 1,707,522,559 | 4,573 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i have a chromadb store that contains 3 to 4 pdfs stored, and i need to search the database for documents with metadata by the filter={'source':'PDFname'}, so it doesnt return with different docs containing similar data,
the same is done with using similaritysearch() without any proble... | can't seem to add filters in ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/4572/comments | 6 | 2023-05-12T11:52:19Z | 2023-07-17T07:58:48Z | https://github.com/langchain-ai/langchain/issues/4572 | 1,707,488,023 | 4,572 |
[
"hwchase17",
"langchain"
] | I tried incorporating confluence document loader in my code. Its throwing some error. Can anyone help me out. Attaching the screenshots and required information.
Code :
```
from langchain.document_loaders import ConfluenceLoader
loader = ConfluenceLoader(
url="https://vs2001.atlassian.net/wiki/spaces/<spa... | Confluence Document Loader not working | https://api.github.com/repos/langchain-ai/langchain/issues/4571/comments | 3 | 2023-05-12T11:09:50Z | 2023-05-15T14:23:41Z | https://github.com/langchain-ai/langchain/issues/4571 | 1,707,431,483 | 4,571 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac
vs code
python :Python 3.10.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Par... | When using embedding, the Chinese reply will be incomplete | https://api.github.com/repos/langchain-ai/langchain/issues/4569/comments | 4 | 2023-05-12T11:02:03Z | 2023-05-24T07:43:59Z | https://github.com/langchain-ai/langchain/issues/4569 | 1,707,420,231 | 4,569 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
### Describe the bug
When using the db.get_usable_table_names() function with a MS SQL database, it doesn't return any table names. However, when using the same function with SQLite3, it works as expected. Interestingly, the db.run() method works correctly, returning expected records fo... | Issue: db.get_usable_table_names() return nothing | https://api.github.com/repos/langchain-ai/langchain/issues/4565/comments | 5 | 2023-05-12T09:28:35Z | 2024-03-11T13:35:37Z | https://github.com/langchain-ai/langchain/issues/4565 | 1,707,286,145 | 4,565 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = "^0.0.154"
Platform - macos
Python Version - python 3.10.4
### Who can help?
@eyurtsev There is no directory called .credentials in my home directory thats why getting this error. Is this intional? why not create this directory before opening token_path to write the token json.
Code r... | FileNotFoundError: [Errno 2] No such file or directory: '$HOME/.credentials/token.json' | https://api.github.com/repos/langchain-ai/langchain/issues/4564/comments | 1 | 2023-05-12T08:55:44Z | 2023-09-10T16:18:46Z | https://github.com/langchain-ai/langchain/issues/4564 | 1,707,232,005 | 4,564 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi i am using ConversationalRetrievalChain with agent and agent.run function is not returning source documents.
Is this by functionality or is it a missing feature?
```
def llm_answer(query):
chat_history = []
result = qa({"question": query, "chat_history": chat_history})
print('resu... | ConversationalRetrievalChain with Custom Agent is not returning source documents | https://api.github.com/repos/langchain-ai/langchain/issues/4562/comments | 10 | 2023-05-12T08:18:15Z | 2024-03-04T14:51:38Z | https://github.com/langchain-ai/langchain/issues/4562 | 1,707,179,648 | 4,562 |
[
"hwchase17",
"langchain"
] | ### Feature request
TLDR:
Working on using `chat-conversational-react-description` agent and `RetrievalQA` as tool to answer queries using vectorDB.
Issue:
If question is asked in japanese (Vectordb is in japanese as well), the agent's initial `action_input` is complete nonsensical (agent automatically trans... | Using agents with custom tools completely changes the input if question is asked in different language | https://api.github.com/repos/langchain-ai/langchain/issues/4561/comments | 12 | 2023-05-12T08:10:18Z | 2023-10-31T01:54:50Z | https://github.com/langchain-ai/langchain/issues/4561 | 1,707,169,022 | 4,561 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
我通过langchain向openai进行提问,langchain会将我的提问与我的聊天历史记录合并为一个新的问题,然后再向openai进行提问。但是新的提问有时候与我旧的提问相差不小。
比如说我问langchain:你好
langchain提问openai:How can I assist you today?
所以我有的时候会得到一些奇怪的回答。为什么会这样以及我该怎么处理呢?
(
i talk to openai by langchain, but langchain will trans my question to a new question... | 我的提问被langchain修改了(langchain change my question) | https://api.github.com/repos/langchain-ai/langchain/issues/4555/comments | 9 | 2023-05-12T06:01:15Z | 2024-03-18T16:04:29Z | https://github.com/langchain-ai/langchain/issues/4555 | 1,706,981,762 | 4,555 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using colab.

### Who can help?
@hwchase17
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Langchain python agent calculation is wrong!!! | https://api.github.com/repos/langchain-ai/langchain/issues/4551/comments | 4 | 2023-05-12T04:59:05Z | 2023-08-06T22:13:05Z | https://github.com/langchain-ai/langchain/issues/4551 | 1,706,926,023 | 4,551 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When I using agent with a llm of gpt-3.5 and a search tool of google, the AI's response is always in English, regardless of my input being in Chinese. Are there any ideas on how to ensure that the input and output languages are consistent?
### Suggestion:
_No response_ | Any ideas on making input and output languages consistent? | https://api.github.com/repos/langchain-ai/langchain/issues/4550/comments | 12 | 2023-05-12T04:45:55Z | 2024-01-19T08:29:11Z | https://github.com/langchain-ai/langchain/issues/4550 | 1,706,917,102 | 4,550 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.