issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
TL;DR: The use of exec() in agents can lead to remote code execution vulnerabilities. Some Huggingface projects use such agents, despite the potential harm of LLM-generated Python code.
#1026 and #814 discuss the security concerns regarding the use of `exec()` in llm_math chain.... | Issue: security concerns with `exec()` via multiple agents and Shell tool | https://api.github.com/repos/langchain-ai/langchain/issues/5294/comments | 3 | 2023-05-26T11:38:23Z | 2024-03-13T16:12:29Z | https://github.com/langchain-ai/langchain/issues/5294 | 1,727,460,382 | 5,294 |
[
"hwchase17",
"langchain"
] | ### Feature request
It's very userful when use the history paremeter.
```
history = [("who are you", " i'm a ai")]
llm = OpenAI()
llm("hello", history)
llm = LLMChain({ llm, prompt })
llm({"query": "hello", "history": history})
```
### Motivation
*
### Your contribution
* | support history in LLMChain and LLM | https://api.github.com/repos/langchain-ai/langchain/issues/5289/comments | 1 | 2023-05-26T09:11:16Z | 2023-09-10T16:11:37Z | https://github.com/langchain-ai/langchain/issues/5289 | 1,727,217,498 | 5,289 |
[
"hwchase17",
"langchain"
] | ### System Info
`import os
from langchain import OpenAI, SQLDatabase, SQLDatabaseChain
from langchain.chat_models import ChatOpenAI
from dotenv import load_dotenv
load_dotenv()
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
db = SQLDatabase.from_uri("sqlite:///data/data.db")
llm = ChatOpenAI(tempera... | SQL chain generates extra add on question if I use ChatOpenAI inplace of OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/5286/comments | 7 | 2023-05-26T06:48:08Z | 2023-10-16T22:55:29Z | https://github.com/langchain-ai/langchain/issues/5286 | 1,727,005,383 | 5,286 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hey guys,thanks for your amazing work, if I want to get a dictionary SQL result instead of the default tuple in SQLDatabaseChain, what settings do I need to change?
### Motivation
Without database table header fields, the articles generated by LLM may contain errors.
### Your contribution
I a... | change tuple sql result to dict sql result | https://api.github.com/repos/langchain-ai/langchain/issues/5284/comments | 2 | 2023-05-26T05:27:36Z | 2023-09-18T16:10:51Z | https://github.com/langchain-ai/langchain/issues/5284 | 1,726,931,734 | 5,284 |
[
"hwchase17",
"langchain"
] | ### System Info
windows
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ... | Stop logic should be optimezed to be compatible with "Conversation 1:" | https://api.github.com/repos/langchain-ai/langchain/issues/5283/comments | 1 | 2023-05-26T05:21:00Z | 2023-09-10T16:11:42Z | https://github.com/langchain-ai/langchain/issues/5283 | 1,726,925,790 | 5,283 |
[
"hwchase17",
"langchain"
] | ### Feature request
loader = SitemapLoader(
"https://langchain.readthedocs.io/sitemap.xml",
filter_modified_dates=["2023-", "2022-12-"]
)
documents = loader.load()
### Motivation
Provide enhanced filtering on larger sites
### Your contribution
Provide enhanced filtering on larger sites | Sitemap - add filtering by modified date | https://api.github.com/repos/langchain-ai/langchain/issues/5280/comments | 1 | 2023-05-26T04:52:49Z | 2023-09-10T16:11:47Z | https://github.com/langchain-ai/langchain/issues/5280 | 1,726,903,889 | 5,280 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.180
google-cloud-aiplatform==1.25.0
Have Google Cloud CLI and ran and logged in using `gcloud auth login`
Running locally and online in Google Colab
### Who can help?
@hwchase17 @hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] M... | Issue Passing in Credential to VertexAI model | https://api.github.com/repos/langchain-ai/langchain/issues/5279/comments | 0 | 2023-05-26T04:34:54Z | 2023-05-26T15:31:04Z | https://github.com/langchain-ai/langchain/issues/5279 | 1,726,889,243 | 5,279 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.180
python==3.10
google-cloud-aiplatform==1.25.0
### Who can help?
@hwc
### Information
- [] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | VertexAI ChatModel implementation misses few-shot "examples" | https://api.github.com/repos/langchain-ai/langchain/issues/5278/comments | 1 | 2023-05-26T04:02:46Z | 2023-09-15T22:13:02Z | https://github.com/langchain-ai/langchain/issues/5278 | 1,726,867,648 | 5,278 |
[
"hwchase17",
"langchain"
] | ### System Info
Cannot specify both model and engine
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | when i create ClientChatOpenAI error | https://api.github.com/repos/langchain-ai/langchain/issues/5277/comments | 1 | 2023-05-26T03:42:55Z | 2023-09-10T16:11:53Z | https://github.com/langchain-ai/langchain/issues/5277 | 1,726,855,450 | 5,277 |
[
"hwchase17",
"langchain"
] | ### Feature request
In the JS SDK of Milvus, there is a function to query documents from an existing collection, while in the Python SDK, this function is not available. Instead, the collection can be constructed using the following way:
```python
vector_db = Milvus.from_documents(
docs,
embeddings,
c... | python SDK can't query documents from an existing collection | https://api.github.com/repos/langchain-ai/langchain/issues/5276/comments | 2 | 2023-05-26T03:40:09Z | 2023-06-01T00:28:00Z | https://github.com/langchain-ai/langchain/issues/5276 | 1,726,853,363 | 5,276 |
[
"hwchase17",
"langchain"
] | ### System Info
When I initialise ChatVeretexAI in a fastAPI app the thread pool never returns to idle blocking the server returning the below error.
E0526 10:18:51.289447000 4300375424 thread_pool.cc:230] Waiting for thread pool to idle before forking
on langchain 0.180
### Who can help?
@hwcha... | When initializing ChatVertexAI fastapi thread pool becomes unaccessible | https://api.github.com/repos/langchain-ai/langchain/issues/5275/comments | 2 | 2023-05-26T00:48:15Z | 2023-09-10T16:11:57Z | https://github.com/langchain-ai/langchain/issues/5275 | 1,726,669,439 | 5,275 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/7652d2abb01208fd51115e34e18b066824e7d921/langchain/agents/mrkl/output_parser.py#L47
Due to the line above the `ShellTool` fails when using it with the `ZeroShotAgent`. In using `langchain.OpenAI` as the `llm` I encountered a scenario where ChatGPT provides a string surroun... | ZeroShotAgent fails with ShellTool due to quotes in llm output | https://api.github.com/repos/langchain-ai/langchain/issues/5271/comments | 3 | 2023-05-25T22:18:12Z | 2023-10-08T16:06:56Z | https://github.com/langchain-ai/langchain/issues/5271 | 1,726,558,628 | 5,271 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.180
google-cloud-aiplatform==1.25.0
SQLAlchemy==2.0.15
duckdb==0.8.0
duckdb-engine==0.7.3
Running inside GCP Vertex AI Notebook (Jupyter Lab essentially jupyterlab==3.4.8)
python 3.7
### Who can help?
@Jflick58
@lkuligin
@hwchase17
### Information
- [X] The off... | use_query_checker for VertexAI fails | https://api.github.com/repos/langchain-ai/langchain/issues/5270/comments | 5 | 2023-05-25T21:22:26Z | 2023-10-05T16:09:44Z | https://github.com/langchain-ai/langchain/issues/5270 | 1,726,507,623 | 5,270 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.180
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | pandas dataframe agent generates correct Action Input, but returns incorrect result | https://api.github.com/repos/langchain-ai/langchain/issues/5269/comments | 11 | 2023-05-25T21:03:00Z | 2024-06-04T21:03:44Z | https://github.com/langchain-ai/langchain/issues/5269 | 1,726,486,276 | 5,269 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi everybody,
I'm working with an LLM setup inspired from @pelyhe 's implementation #4573 .
It uses a RetrievalQA that queries a persistent embedded ChromaDB, then feeds it into a ConversationalChatAgent and then an AgentExecutor.
Currently, this setup works for only basic situati... | Issue: RetrievalQA -> ConversationalChatAgent -> AgentExecutor gives no response if document-related | https://api.github.com/repos/langchain-ai/langchain/issues/5266/comments | 11 | 2023-05-25T19:58:01Z | 2023-09-18T16:10:56Z | https://github.com/langchain-ai/langchain/issues/5266 | 1,726,411,036 | 5,266 |
[
"hwchase17",
"langchain"
] | ### System Info
```
langchain==0.0.180
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Windows 11
```
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | UnstructuredMarkdownLoader resulting in `zipfile.BadZipFile: File is not a zip file` | https://api.github.com/repos/langchain-ai/langchain/issues/5264/comments | 10 | 2023-05-25T18:59:18Z | 2023-11-29T17:55:26Z | https://github.com/langchain-ai/langchain/issues/5264 | 1,726,337,382 | 5,264 |
[
"hwchase17",
"langchain"
] | ```
~\Anaconda3\lib\site-packages\langchain\memory\vectorstore.py in save_context(self, inputs, outputs)
67 """Save context from this conversation to buffer."""
68 documents = self._form_documents(inputs, outputs)
---> 69 self.retriever.add_documents(documents)
70
71 ... | Assertion Error when using VertexAIEmbeddings with faiss vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/5262/comments | 6 | 2023-05-25T18:28:41Z | 2023-12-20T19:12:22Z | https://github.com/langchain-ai/langchain/issues/5262 | 1,726,293,593 | 5,262 |
[
"hwchase17",
"langchain"
] | ```
~\Anaconda3\lib\site-packages\langchain\chat_models\base.py in generate_prompt(self, prompts, stop, callbacks)
141 ) -> LLMResult:
142 prompt_messages = [p.to_messages() for p in prompts]
--> 143 return self.generate(prompt_messages, stop=stop, callbacks=callbacks)
144
145... | Internal error encountered when using VertexAI in ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/5258/comments | 1 | 2023-05-25T16:38:50Z | 2023-09-10T16:12:07Z | https://github.com/langchain-ai/langchain/issues/5258 | 1,726,151,388 | 5,258 |
[
"hwchase17",
"langchain"
] | ### Feature request
Would be amazing to scan and get all the contents from the Github API, such as PRs, Issues and Discussions.
### Motivation
this would allows to ask questions on the history of the project, issues that other users might have found, and much more!
### Your contribution
Not really a python develop... | Github integration | https://api.github.com/repos/langchain-ai/langchain/issues/5257/comments | 11 | 2023-05-25T16:27:21Z | 2023-11-29T21:21:01Z | https://github.com/langchain-ai/langchain/issues/5257 | 1,726,136,467 | 5,257 |
[
"hwchase17",
"langchain"
] | ### Feature request
Integration with LocalAI and with its extended endpoints to download models from the gallery.
### Motivation
LocalAI is a self-hosted OpenAI drop-in replacement with support for multiple model families: https://github.com/go-skynet/LocalAI
### Your contribution
Not a python guru, so might take ... | Add integration for LocalAI | https://api.github.com/repos/langchain-ai/langchain/issues/5256/comments | 7 | 2023-05-25T16:25:18Z | 2024-05-03T16:04:00Z | https://github.com/langchain-ai/langchain/issues/5256 | 1,726,133,919 | 5,256 |
[
"hwchase17",
"langchain"
] | ### Question
Will there be future updates where we are allowed to customize answer_gen_llm when using FlareChain?
### Context
In the [documentation](https://python.langchain.com/en/latest/modules/chains/examples/flare.html) it says that:
In order to set up this chain, we will need three things:
- An LLM to gen... | Inconsistent documentation for langchain.chains.FlareChain | https://api.github.com/repos/langchain-ai/langchain/issues/5255/comments | 2 | 2023-05-25T16:15:17Z | 2023-09-10T16:12:14Z | https://github.com/langchain-ai/langchain/issues/5255 | 1,726,121,249 | 5,255 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
hi, team:
I created Chain_A and Chain_B and set streaming=True for both of them.
overall_chain = SequentialChain(
chains=[chain_A, chain_B],
input_variables=["era", "title"],
output_variables=["synopsis", "review"],
verbose=True)
However, the streaming does n... | Issue: <Streaming mode not work for Sequential Chains> | https://api.github.com/repos/langchain-ai/langchain/issues/5254/comments | 2 | 2023-05-25T15:25:01Z | 2023-09-10T16:12:18Z | https://github.com/langchain-ai/langchain/issues/5254 | 1,726,041,996 | 5,254 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am using langchain + openai api to create a chatbot for private data, i can use langchain directory loader class to load files from a directory, but if any new files added to that directory, how to automatically load it?
### Motivation
https://python.langchain.com/en/latest/modules/indexes/docu... | how to monitoring the new files after directory loader class used | https://api.github.com/repos/langchain-ai/langchain/issues/5252/comments | 3 | 2023-05-25T14:33:02Z | 2023-09-14T16:09:01Z | https://github.com/langchain-ai/langchain/issues/5252 | 1,725,950,539 | 5,252 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, would it be possible to add the topics (tags) to the repositories, it would be easier to find and organize them afterward. And its also usefull for external tools that are fetching github API to track repos ! Here is an example from HuggingFace :
.
<img width="538" alt="Capture ... | Issue: Add topics to the GitHub repos | https://api.github.com/repos/langchain-ai/langchain/issues/5249/comments | 4 | 2023-05-25T14:05:59Z | 2023-12-09T16:06:41Z | https://github.com/langchain-ai/langchain/issues/5249 | 1,725,901,643 | 5,249 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`!pip3 install langchain==0.0.179 boto3`
After installing langchain using the above command and trying to run the example mentioned in
[](https://python.langchain.com/en/latest/modules/models/llms/integrations/sagemaker.html)
Getting the below error.
`ImportError:` cannot imp... | Issue: import 'LLMContentHandler' from 'langchain.llms.sagemaker_endpoint failing | https://api.github.com/repos/langchain-ai/langchain/issues/5245/comments | 3 | 2023-05-25T13:28:29Z | 2023-09-14T16:09:07Z | https://github.com/langchain-ai/langchain/issues/5245 | 1,725,833,687 | 5,245 |
[
"hwchase17",
"langchain"
] | ### Feature request
For a deployment behind a corporate proxy, it's useful to be able to access the API by specifying an explicit proxy.
### Motivation
Currently it's possible to do this by setting the environment variables http_proxy / https_proxy to set a proxy for the whole python interpreter. However this then ... | Add possibility to set a proxy for openai API access | https://api.github.com/repos/langchain-ai/langchain/issues/5243/comments | 0 | 2023-05-25T13:00:09Z | 2023-05-25T16:50:27Z | https://github.com/langchain-ai/langchain/issues/5243 | 1,725,784,636 | 5,243 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using langchain version of 0.0.176 and hitting the error of 'numpy._DTypeMeta' object is not subscriptable while using Chroma DB for carrying out any operation.
### Who can help?
@hwchase17 - please help me out with this error -- do I need to upgrade the version of Langchain to overcome this p... | 'numpy._DTypeMeta' object is not subscriptable | https://api.github.com/repos/langchain-ai/langchain/issues/5242/comments | 2 | 2023-05-25T12:43:16Z | 2023-09-12T16:13:19Z | https://github.com/langchain-ai/langchain/issues/5242 | 1,725,751,778 | 5,242 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi everybody, does anyone know if there is a way to make a post request using a custom agent/tool? The idea is when the user need a specific thing the agent intercept it and the custom tool make it. I can't find anything useful in the documentation, the fact is that when I try it does... | Issue: How to make a request into an agent/tool | https://api.github.com/repos/langchain-ai/langchain/issues/5241/comments | 1 | 2023-05-25T12:31:15Z | 2023-09-10T16:12:38Z | https://github.com/langchain-ai/langchain/issues/5241 | 1,725,733,180 | 5,241 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
LangChain 0.0.179, hosted elasticsearch (Platinum edition)
V0.0.179 introduced elasticsearch embeddings, great!
But it is only implemented for elastic cloud.
I want to be able to do embeddings on my own elastic cluster.
@jeffvestal @derickson
### Suggestion:
_No r... | Issue: ElasticsearchEmbeddings does not work on hosted elasticsearch (Platinum) | https://api.github.com/repos/langchain-ai/langchain/issues/5239/comments | 5 | 2023-05-25T12:21:19Z | 2023-05-31T07:40:33Z | https://github.com/langchain-ai/langchain/issues/5239 | 1,725,718,432 | 5,239 |
[
"hwchase17",
"langchain"
] | ### System Info
When i try to use chatgpt plugin with agents like showed in the documentantion, some plugins like the MediumPluginGPT will reach the token limit during the task and give an error.

### Who can he... | Token limit reached trying to use plugin | https://api.github.com/repos/langchain-ai/langchain/issues/5237/comments | 1 | 2023-05-25T11:17:24Z | 2023-09-10T16:12:44Z | https://github.com/langchain-ai/langchain/issues/5237 | 1,725,616,952 | 5,237 |
[
"hwchase17",
"langchain"
] | ### System Info
I need to use OpenAPI for calling an API , but that API needs some params in body, and that value needs to be taken from User,
I need to understand the way that can take slots name that needs to be filled from user , is there any wat to do this?
### Who can help?
_No response_
### Information
- [... | Slots Filling in Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/5236/comments | 3 | 2023-05-25T10:50:38Z | 2023-09-17T13:10:59Z | https://github.com/langchain-ai/langchain/issues/5236 | 1,725,576,992 | 5,236 |
[
"hwchase17",
"langchain"
] | ### Feature request
Allow a user to specify a record ttl for messages/sessions persisted to dynamodb in https://github.com/hwchase17/langchain/blob/5cfa72a130f675c8da5963a11d416f553f692e72/langchain/memory/chat_message_histories/dynamodb.py#L17-L20.
### Motivation
This will allow automated purging of chat history af... | Support for ttl in DynamoDBChatMessageHistory | https://api.github.com/repos/langchain-ai/langchain/issues/5235/comments | 2 | 2023-05-25T10:35:27Z | 2023-11-24T14:35:31Z | https://github.com/langchain-ai/langchain/issues/5235 | 1,725,555,032 | 5,235 |
[
"hwchase17",
"langchain"
] | ### Feature request
There are other vector database that support the use of async in Langchain, adding Redis to those list would be better for programmers who use asynchronous programming in python. I believe with package like aioredis, this should be easily achievable.
### Motivation
The motivation to to be a... | Make Redis Vector database operations Asynchronous | https://api.github.com/repos/langchain-ai/langchain/issues/5234/comments | 3 | 2023-05-25T10:04:53Z | 2023-09-25T16:07:01Z | https://github.com/langchain-ai/langchain/issues/5234 | 1,725,509,252 | 5,234 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello,
I'm trying to use ChatVertexAI and I noticed that the following import is not working :
```python
from langchain.chat_models import ChatVertexAI
```
But this one is working correctly :
```python
from langchain.chat_models.vertexai import ChatVertexAI
```
### Who can help?
@hw... | ChatVertexAI is not imported | https://api.github.com/repos/langchain-ai/langchain/issues/5233/comments | 2 | 2023-05-25T08:46:26Z | 2023-06-02T11:55:03Z | https://github.com/langchain-ai/langchain/issues/5233 | 1,725,368,096 | 5,233 |
[
"hwchase17",
"langchain"
] | ### System Info
code snippet:
https://python.langchain.com/en/latest/modules/callbacks/getting_started.html?highlight=callbacks#async-callbacks
python:Python 3.9.6
langchain :Version: 0.0.178
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts... | AsyncCallbacks : Wrong document and stuck when running in terminal ,which finnal turn out to be error retry | https://api.github.com/repos/langchain-ai/langchain/issues/5229/comments | 2 | 2023-05-25T07:02:21Z | 2023-10-02T16:07:46Z | https://github.com/langchain-ai/langchain/issues/5229 | 1,725,213,622 | 5,229 |
[
"hwchase17",
"langchain"
] |
I want to build a langchain which can
• can chat with human on greetings etc
And
• can do what the create_csv_agent does
And
• has a memory.
So i was using a conversational agent for chat models to do this with memory buffer
It is able to perform 1 and 3 from the things i want. I also gave
tools = [P... | Issue: Dataframe with conversation agent for chat models | https://api.github.com/repos/langchain-ai/langchain/issues/5227/comments | 2 | 2023-05-25T03:26:09Z | 2023-09-10T16:12:59Z | https://github.com/langchain-ai/langchain/issues/5227 | 1,725,018,973 | 5,227 |
[
"hwchase17",
"langchain"
] | ### System Info
I am trying to use the File System tools to generate some boilerplate source code using OpenAI's APIs, and the chain works, but does not write the file to the file-system.
I think it is because there's an issue with the size of the text that needs to be written to the file, the agent fails to exe... | Write File action_input issues. How to handle when action input is large | https://api.github.com/repos/langchain-ai/langchain/issues/5226/comments | 6 | 2023-05-25T01:38:22Z | 2023-10-24T16:08:23Z | https://github.com/langchain-ai/langchain/issues/5226 | 1,724,948,886 | 5,226 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How to use callback functions in a Langchain sequential chain, such as 1->2->3. I want to loop through the 2 function n times in the middle, where the output of the 2 function is its input. At the end of the loop, the output of the 2 function is input to the 3 function, and the final res... | Issue:How to use callback functions in a Langchain sequential chain | https://api.github.com/repos/langchain-ai/langchain/issues/5225/comments | 6 | 2023-05-25T01:00:58Z | 2023-11-20T13:09:03Z | https://github.com/langchain-ai/langchain/issues/5225 | 1,724,924,866 | 5,225 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.176
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | PALChain loading fails | https://api.github.com/repos/langchain-ai/langchain/issues/5224/comments | 0 | 2023-05-25T00:58:09Z | 2023-05-29T13:44:48Z | https://github.com/langchain-ai/langchain/issues/5224 | 1,724,922,616 | 5,224 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.178
python3.11
### 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
- [ ] Output Pa... | openai.error.AuthenticationError: <empty message> | https://api.github.com/repos/langchain-ai/langchain/issues/5215/comments | 4 | 2023-05-24T22:04:59Z | 2023-09-18T16:11:06Z | https://github.com/langchain-ai/langchain/issues/5215 | 1,724,798,523 | 5,215 |
[
"hwchase17",
"langchain"
] | Using the following script, I can only return maximum 4 documents. With k = 1, k= 2, k=3, k = 4, k =5, k=6, ... similarity_search_with_score returns 1, 2, 3, 4, 4, 4... docs.
opensearch_url = "xxxxxxxxx.com"
docsearch = OpenSearchVectorSearch.from_documents(docs,
... | OpenSearch VectorStore cannot return more than 4 retrieved result. | https://api.github.com/repos/langchain-ai/langchain/issues/5212/comments | 2 | 2023-05-24T20:49:47Z | 2023-05-25T16:51:25Z | https://github.com/langchain-ai/langchain/issues/5212 | 1,724,714,949 | 5,212 |
[
"hwchase17",
"langchain"
] | Hi, I believe this issue is related to this one: #1372
I'm using GPT4All integration and get the following error after running `ConversationalRetrievalChain` with `AsyncCallbackManager`:
`ERROR:root:Async generation not implemented for this LLM.`
Changing to `CallbackManager` does not fix anything.
The issue i... | GPT4All chat error with async calls | https://api.github.com/repos/langchain-ai/langchain/issues/5210/comments | 27 | 2023-05-24T19:27:35Z | 2024-03-29T23:22:46Z | https://github.com/langchain-ai/langchain/issues/5210 | 1,724,609,382 | 5,210 |
[
"hwchase17",
"langchain"
] | ### Feature request
Enable chains for Chat Models.
I spend some time looking at the following docs:
https://python.langchain.com/en/latest/modules/chains/index_examples/summarize.html
https://docs.langchain.com/docs/components/chains/index_related_chains
as well looking into the codebase, it seems this works o... | Enable chains (MapReduce, Refine, ...) for Chat Models. | https://api.github.com/repos/langchain-ai/langchain/issues/5209/comments | 1 | 2023-05-24T19:09:24Z | 2023-05-24T20:38:29Z | https://github.com/langchain-ai/langchain/issues/5209 | 1,724,587,758 | 5,209 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.178
Python 3.11.2
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | Chroma integration .from_documents() isn't working | https://api.github.com/repos/langchain-ai/langchain/issues/5207/comments | 3 | 2023-05-24T18:34:51Z | 2023-09-18T16:11:11Z | https://github.com/langchain-ai/langchain/issues/5207 | 1,724,543,505 | 5,207 |
[
"hwchase17",
"langchain"
] | ### System Info
Here is the link to the tutorial: https://python.langchain.com/en/latest/modules/indexes/retrievers/examples/chroma_self_query.html
You can see on the page that the results do not seem to correlate to the question. First question about dinosaurs brings back two movies that are nothing to do with di... | I don't think Self-querying with Chroma is right | https://api.github.com/repos/langchain-ai/langchain/issues/5205/comments | 5 | 2023-05-24T18:13:30Z | 2023-09-11T16:57:00Z | https://github.com/langchain-ai/langchain/issues/5205 | 1,724,516,597 | 5,205 |
[
"hwchase17",
"langchain"
] | HI, I have a requirement to customize the format instructions for multiple languages.
Specifically, I need to make modifications to the output_parser.get_format_instructions() string. This function currently utilizes the following structured format instructions:
```
STRUCTURED_FORMAT_INSTRUCTIONS = """The output... | Issue: Customizing 'structured_format_instructions' for Non-English Languages | https://api.github.com/repos/langchain-ai/langchain/issues/5203/comments | 7 | 2023-05-24T16:32:42Z | 2024-03-27T16:06:12Z | https://github.com/langchain-ai/langchain/issues/5203 | 1,724,375,986 | 5,203 |
[
"hwchase17",
"langchain"
] | ### Wrong condition to raise ValueError in LLMChain.prep_prompts
In `LLMChain`, in the `prep_prompts` method, a `ValueError` may be raised on lines 112-114:
https://github.com/hwchase17/langchain/blob/fd866d1801793d22dca5cabe200df4f2b80fa7a4/langchain/chains/llm.py#L100-L114
The issue is that the condition tha... | Issue: Wrong condition to raise ValueError in LLMChain.prep_prompts | https://api.github.com/repos/langchain-ai/langchain/issues/5202/comments | 1 | 2023-05-24T16:13:55Z | 2023-09-10T16:13:04Z | https://github.com/langchain-ai/langchain/issues/5202 | 1,724,346,533 | 5,202 |
[
"hwchase17",
"langchain"
] | I'm using FAISS in memory and I need to obtain the vector of embeddings.
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1500, chunk_overlap=100, separators=["\n\n", "\n", "\t", '. '])
documents = text_splitter.split_documents(docs)
total_chuks = len(documents)
for i, d in enumerate(documents):
d.... | Embeddings vectors from FAISS objects | https://api.github.com/repos/langchain-ai/langchain/issues/5199/comments | 3 | 2023-05-24T14:30:23Z | 2023-09-18T16:11:16Z | https://github.com/langchain-ai/langchain/issues/5199 | 1,724,140,220 | 5,199 |
[
"hwchase17",
"langchain"
] | ### System Info
like:
import openai
openai.api_key = openai_api_key
problem:
api_key is a global variable, it is not safe on concurrency if we have different api_keys to be used concurrency. api_key will out of control.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/sc... | openai.api_key in OpenAIEmbeddings is unsafe on concurrency | https://api.github.com/repos/langchain-ai/langchain/issues/5195/comments | 3 | 2023-05-24T12:45:23Z | 2023-09-18T16:11:21Z | https://github.com/langchain-ai/langchain/issues/5195 | 1,723,907,172 | 5,195 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The [Atlassian API](https://atlassian-python-api.readthedocs.io/) (including Confluence) supports just passing a PAT (as token=<PAT>) to authenticate as a user, unfortunately the LangChain abstraction doesn't.
### Suggestion:
Add an optional "token" parameter to ConfluenceLoader... | Support personal access token (PAT) in ConfluenceLoader | https://api.github.com/repos/langchain-ai/langchain/issues/5191/comments | 3 | 2023-05-24T11:15:54Z | 2023-06-03T21:57:51Z | https://github.com/langchain-ai/langchain/issues/5191 | 1,723,748,960 | 5,191 |
[
"hwchase17",
"langchain"
] | ### System Info
**MacOS Ventura Version 13.3.1
LangChain==0.0.178**
**When querying the database, the answer does not show in the terminal. Instead, the AI response is always: "Is there anything else I can help you with?". The response seems fine when not using the SQL tool.**
```
db_chain = SQLDatabaseChain.... | Answer from the SQLDatabaseChain does not output when using the Agent 'conversational-react-description' | https://api.github.com/repos/langchain-ai/langchain/issues/5188/comments | 3 | 2023-05-24T09:59:16Z | 2023-10-24T05:51:11Z | https://github.com/langchain-ai/langchain/issues/5188 | 1,723,618,860 | 5,188 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Langchain == 0.0.178
llama-cpp-python == 0.1.54
LLM def:
`callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])`
`llm = LlamaCpp(model_path=f"{self.llm_path}/{self.selection}.bin", n_gpu_layers=25, n_ctx=1024, n_threads=8, callback_manager=callback_manager, ve... | Issue: LlamaCPP still uses cpu after passing the n_gpu_layer param | https://api.github.com/repos/langchain-ai/langchain/issues/5187/comments | 5 | 2023-05-24T09:34:07Z | 2023-08-17T10:12:23Z | https://github.com/langchain-ai/langchain/issues/5187 | 1,723,569,792 | 5,187 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest, macOS ventura, 3.8/11
It seems to be a bug when calling the server in create_openapi_agent. This is returning only the first letter of the server. Please see attached.
<img width="616" alt="image" src="https://github.com/hwchase17/langchain/assets/10047986/11b95d67-e05b-406e-a1f1-c35ef3d... | Bug in openapi agent planner | https://api.github.com/repos/langchain-ai/langchain/issues/5186/comments | 4 | 2023-05-24T09:29:23Z | 2023-09-18T16:11:26Z | https://github.com/langchain-ai/langchain/issues/5186 | 1,723,561,148 | 5,186 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.166
platform linux
python 3.8
### 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
- [ ] O... | why not langchain conversation reply to user step by step? | https://api.github.com/repos/langchain-ai/langchain/issues/5183/comments | 2 | 2023-05-24T09:02:08Z | 2023-10-15T16:07:03Z | https://github.com/langchain-ai/langchain/issues/5183 | 1,723,509,200 | 5,183 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am writing to seek assistance regarding the functionality of the LangChain API. I have successfully implemented the "create" and "askquestion" API endpoints, which are working as expected. However, I am facing challenges with the "update," "delete," and "view" functionalities based on... | Need Support: <Need Assistance with Update, Delete, and View Functions in LangChain API prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/5180/comments | 1 | 2023-05-24T08:34:18Z | 2023-09-10T16:13:14Z | https://github.com/langchain-ai/langchain/issues/5180 | 1,723,462,516 | 5,180 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/5159
<div type='discussions-op-text'>
<sup>Originally posted by **axiangcoding** May 24, 2023</sup>
code example here:
```
async def summary(callback: BaseCallbackHandler):
llm = AzureChatOpenAI(
deployment_name=os.environ["OPENA... | How to get the final output from the load_summarize_chain async run? | https://api.github.com/repos/langchain-ai/langchain/issues/5176/comments | 2 | 2023-05-24T07:40:45Z | 2023-09-15T22:13:01Z | https://github.com/langchain-ai/langchain/issues/5176 | 1,723,374,761 | 5,176 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add support for more code text splitters
### Motivation
For now langchain only supports python
### Your contribution
Add more code text splitters | Add support for more code text splitters | https://api.github.com/repos/langchain-ai/langchain/issues/5170/comments | 0 | 2023-05-24T05:35:01Z | 2023-05-24T18:39:52Z | https://github.com/langchain-ai/langchain/issues/5170 | 1,723,203,164 | 5,170 |
[
"hwchase17",
"langchain"
] | Hi,
I've seen applications that are able to give fast responses using the Langchain & OpenAI (chat with own data).
However, in my case responses on simple questions seem to take a long time. I've been playing around with settings but I am wondering if there is anything else I can do to increase speed.
Current ... | Tips for speeding up OpenAI API answers? | https://api.github.com/repos/langchain-ai/langchain/issues/5169/comments | 6 | 2023-05-24T05:20:27Z | 2023-09-18T16:11:31Z | https://github.com/langchain-ai/langchain/issues/5169 | 1,723,192,424 | 5,169 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.170
python: 3.8
### 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 ... | Invalid Output Parser Format for "Router Chain" | https://api.github.com/repos/langchain-ai/langchain/issues/5163/comments | 22 | 2023-05-24T03:40:35Z | 2023-12-20T02:12:18Z | https://github.com/langchain-ai/langchain/issues/5163 | 1,723,124,127 | 5,163 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.176
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | StuffDocumentsChain input_keys does not contain "question" | https://api.github.com/repos/langchain-ai/langchain/issues/5160/comments | 0 | 2023-05-24T02:36:47Z | 2023-08-11T23:25:14Z | https://github.com/langchain-ai/langchain/issues/5160 | 1,723,080,995 | 5,160 |
[
"hwchase17",
"langchain"
] | ### Feature request
There are some tables out there with comments.
It would be nice if the sql agent could read them.
### Motivation
Sometimes, column names do not describe perfectly well what they contain.
If sql agent can consider the table and column comments, it will be able to better respond to queries.
##... | It would be nice to make the SQL helper consider the table and column comments | https://api.github.com/repos/langchain-ai/langchain/issues/5158/comments | 11 | 2023-05-24T00:40:35Z | 2024-03-27T16:06:07Z | https://github.com/langchain-ai/langchain/issues/5158 | 1,722,985,477 | 5,158 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.178
python==3.10.11
os=win
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | InvalidRequestError: Resource not found when running qa_chain.run with azureopenai llm | https://api.github.com/repos/langchain-ai/langchain/issues/5149/comments | 2 | 2023-05-23T21:42:04Z | 2023-09-10T16:13:20Z | https://github.com/langchain-ai/langchain/issues/5149 | 1,722,827,675 | 5,149 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I got the error `OSError: [Errno 22] Invalid argument` when trying to pickle the faiss vector store. with the following code
```
merge_file_path = "combined_hf_faiss_vectorstore.pkl"
with open(merge_file_path, "wb") as f:
pickle.dump(csfaq_index, f)
```
It works on mac local ... | Can't pickle the faiss vector store object in langchain | https://api.github.com/repos/langchain-ai/langchain/issues/5145/comments | 9 | 2023-05-23T19:56:17Z | 2024-04-26T03:26:11Z | https://github.com/langchain-ai/langchain/issues/5145 | 1,722,695,626 | 5,145 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hello,
I would like to contribute a new feature in the api module for langchain, specifically we're looking to build a mechnism to translate natural language to APIs for the Adobe Experience Platform: https://developer.adobe.com/experience-platform-apis/ . I would like to lead and contribute thi... | AEP API Module | https://api.github.com/repos/langchain-ai/langchain/issues/5141/comments | 4 | 2023-05-23T17:10:45Z | 2023-12-06T17:46:05Z | https://github.com/langchain-ai/langchain/issues/5141 | 1,722,482,074 | 5,141 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, I am trying to query tabular data and play with it using langchain SparkSQLAgent, from the below link.
https://python.langchain.com/en/latest/modules/agents/toolkits/examples/spark_sql.html
I got the below error
**"ModuleNotFoundError: No module named 'pyspark.errors'"** because of the below... | Unable to Use "Spark SQL Agent" in Azure Synapse Spark Pool (pyspark 3.3 version) | https://api.github.com/repos/langchain-ai/langchain/issues/5139/comments | 1 | 2023-05-23T16:42:17Z | 2023-09-10T16:13:31Z | https://github.com/langchain-ai/langchain/issues/5139 | 1,722,444,819 | 5,139 |
[
"hwchase17",
"langchain"
] | ### Feature request
Change the return type of `BaseRetriever`'s `get_relevant_documents` (and `aget_relevant_documents`) to return an `Iterable[Document]` rather than `List[Document]`:
https://github.com/hwchase17/langchain/blob/753f4cfc26c04debfa02bb086a441d86877884c1/langchain/schema.py#L277-L297
### Motivation
I... | BaseRetriever's get_relevant_documents to return Iterable rather than List | https://api.github.com/repos/langchain-ai/langchain/issues/5133/comments | 1 | 2023-05-23T15:29:29Z | 2023-09-10T16:13:36Z | https://github.com/langchain-ai/langchain/issues/5133 | 1,722,313,908 | 5,133 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.176
### Who can help?
@hwchase17 @dev2049
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] ... | HypotheticalDocumentEmbedder loading fails | https://api.github.com/repos/langchain-ai/langchain/issues/5131/comments | 4 | 2023-05-23T13:59:44Z | 2023-09-18T16:11:36Z | https://github.com/langchain-ai/langchain/issues/5131 | 1,722,147,865 | 5,131 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.176
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | APIChain loading fails | https://api.github.com/repos/langchain-ai/langchain/issues/5128/comments | 3 | 2023-05-23T13:37:40Z | 2023-06-27T22:32:42Z | https://github.com/langchain-ai/langchain/issues/5128 | 1,722,107,136 | 5,128 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently only certain sets of `Chains` support `async`. It would be amazing if we could bring this support to more chains, in my case specifically the OpenAPI chain.
### Motivation
`async` support for more chains would unify code for larger applications that run several different types of chains... | Support `async` calls on `OpenAPI` chains | https://api.github.com/repos/langchain-ai/langchain/issues/5126/comments | 1 | 2023-05-23T10:51:43Z | 2023-09-10T16:13:39Z | https://github.com/langchain-ai/langchain/issues/5126 | 1,721,797,534 | 5,126 |
[
"hwchase17",
"langchain"
] | ### Feature request
Modify GoogleDriveLoader so that it can accept a Google Drive Service instead of relying on file path to token.json and credentials.json
### Motivation
I am deploying LangChain in serverless environment where I use Redis for chat memory and security token store. In this context, it would be usefu... | Pass Google Drive Service to GoogleDriveLoader instead of the token.json and credentials.json | https://api.github.com/repos/langchain-ai/langchain/issues/5125/comments | 1 | 2023-05-23T10:33:51Z | 2023-05-23T21:07:10Z | https://github.com/langchain-ai/langchain/issues/5125 | 1,721,767,347 | 5,125 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.11.3
macosx 13.4
langchain==0.0.177
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Ou... | source metadata cannot be retrieved from Weaviate | https://api.github.com/repos/langchain-ai/langchain/issues/5124/comments | 2 | 2023-05-23T09:14:14Z | 2023-05-24T08:14:58Z | https://github.com/langchain-ai/langchain/issues/5124 | 1,721,600,792 | 5,124 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I am facing slow response times (25 - 30 second) per question with `ConversationalRetrievalQAChain` and pinecone.
```
const chain = ConversationalRetrievalQAChain.fromLLM(
this.llm,
vectorStore.asRetriever(),
);
const res = await chain.call(... | Slow response time with `ConversationalRetrievalQAChain` | https://api.github.com/repos/langchain-ai/langchain/issues/5123/comments | 4 | 2023-05-23T09:01:48Z | 2023-11-09T06:18:06Z | https://github.com/langchain-ai/langchain/issues/5123 | 1,721,576,598 | 5,123 |
[
"hwchase17",
"langchain"
] | ### Feature request
A VectorSearch enabled SQLChain that is capable of doing `JOIN`, `WHERE` filters and vector search at the same time.
It should be agnostic to any SQL database backend that supports common SQL and vector search, with customizable distance function composer.
### Motivation
Hello from [MyScale](h... | Feature Proposal: VectorSearch enabled SQLChain? | https://api.github.com/repos/langchain-ai/langchain/issues/5122/comments | 4 | 2023-05-23T08:32:09Z | 2023-10-10T09:37:42Z | https://github.com/langchain-ai/langchain/issues/5122 | 1,721,520,077 | 5,122 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have been trying to use SQL Database Chain with open-source LLM but have not succeeded.
`from langchain import HuggingFaceHub`
`repo_id = "google/flan-t5-xl"`
`db = SQLDatabase.from_uri(db_url)`
`llm = HuggingFaceHub(repo_id=repo_id)`
`db_chain = SQLDatabaseSequentialChain.from_... | How to use SQL Database chain with an opensource LLM? | https://api.github.com/repos/langchain-ai/langchain/issues/5121/comments | 5 | 2023-05-23T07:16:07Z | 2024-02-12T17:10:23Z | https://github.com/langchain-ai/langchain/issues/5121 | 1,721,388,198 | 5,121 |
[
"hwchase17",
"langchain"
] | ### System Info
- platform
```
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"... | import langchain with python<=3.9 fails | https://api.github.com/repos/langchain-ai/langchain/issues/5113/comments | 31 | 2023-05-23T02:38:48Z | 2023-12-29T18:37:48Z | https://github.com/langchain-ai/langchain/issues/5113 | 1,721,040,284 | 5,113 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.177
Python 3.10.9
Windows 10
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Select... | MyCustomHandler documentation example not working | https://api.github.com/repos/langchain-ai/langchain/issues/5112/comments | 2 | 2023-05-23T02:22:56Z | 2023-10-21T06:32:13Z | https://github.com/langchain-ai/langchain/issues/5112 | 1,721,028,735 | 5,112 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.173
Python 3.10.11
openai 0.27.6
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | AzureOpenAI Repeat words | https://api.github.com/repos/langchain-ai/langchain/issues/5109/comments | 1 | 2023-05-23T01:06:06Z | 2023-07-11T10:01:58Z | https://github.com/langchain-ai/langchain/issues/5109 | 1,720,955,939 | 5,109 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Link: https://python.langchain.com/en/latest/integrations/aim_tracking.html
Below is the section that contains problematic code.
<img width="910" alt="Screenshot 2023-05-22 at 4 42 10 PM" src="https://github.com/hwchase17/langchain/assets/59850826/eb988031-4167-4a6c-a77f-9a0... | DOC: Aim docs contains code that doesn't run | https://api.github.com/repos/langchain-ai/langchain/issues/5107/comments | 1 | 2023-05-22T23:51:58Z | 2023-09-10T16:13:45Z | https://github.com/langchain-ai/langchain/issues/5107 | 1,720,839,918 | 5,107 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
What the docs show:
```python
from langchain.embeddings import OpenAIEmbeddings
embeddings = OpenAIEmbeddings(deployment="your-embeddings-deployment-name")
```
But client is required, so you need
```python
from langchain.embeddings import OpenAIEmbeddings
import opena... | DOC: client required but not in example code | https://api.github.com/repos/langchain-ai/langchain/issues/5105/comments | 2 | 2023-05-22T21:35:22Z | 2023-09-23T16:06:00Z | https://github.com/langchain-ai/langchain/issues/5105 | 1,720,596,854 | 5,105 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi
testing this loader, it looks as tho this is pulling trashed files from folders. I think this should be default to false if anything and be an opt in.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
### Related Components
- [X] D... | GoogleDriveLoader seems to be pulling trashed documents from the folder | https://api.github.com/repos/langchain-ai/langchain/issues/5104/comments | 5 | 2023-05-22T21:21:14Z | 2023-05-25T05:26:19Z | https://github.com/langchain-ai/langchain/issues/5104 | 1,720,575,898 | 5,104 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.175
Platform: macos
Python version: 3.9
Database: Postgres
### Who can help?
@vowelparrot @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Promp... | psycopg2.errors.AmbiguousColumn exception when using SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/5100/comments | 4 | 2023-05-22T17:05:51Z | 2023-10-20T07:27:37Z | https://github.com/langchain-ai/langchain/issues/5100 | 1,720,083,619 | 5,100 |
[
"hwchase17",
"langchain"
] | def load_chain():
global j
os.environ["OPENAI_API_KEY"] =api_key[j%3]
print(api_key[j%3])
j=j+1
#global chain
print("模型加载开始")
#loader = DirectoryLoader('./langchian_gpt/yuliaoku', glob='**/*.txt')
loader = DirectoryLoader('./yuliaoku', glob='**/*.txt')
docs = loader.load()
... | I am still struggling. It does not remember anything in the chat history. What am I doing wrong? Here is my code: | https://api.github.com/repos/langchain-ai/langchain/issues/5099/comments | 2 | 2023-05-22T16:55:26Z | 2023-09-15T16:11:45Z | https://github.com/langchain-ai/langchain/issues/5099 | 1,720,063,351 | 5,099 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.173
python 3.9.16
### Who can help?
@hwchase17 @agola11 @vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / ... | `RetrievalQA` chain with chain_type `map_reduce` fails for custom prompts | https://api.github.com/repos/langchain-ai/langchain/issues/5096/comments | 12 | 2023-05-22T14:39:02Z | 2024-02-14T16:13:53Z | https://github.com/langchain-ai/langchain/issues/5096 | 1,719,836,908 | 5,096 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.176.0
python 3.10
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | Conversational Chat with PythonREPL tool breaks | https://api.github.com/repos/langchain-ai/langchain/issues/5094/comments | 1 | 2023-05-22T14:20:57Z | 2023-09-10T16:13:54Z | https://github.com/langchain-ai/langchain/issues/5094 | 1,719,805,562 | 5,094 |
[
"hwchase17",
"langchain"
] | ### System Info
**LangChain version:** 0.0.176
**Platform:** Local Ubuntu 22.04
**Python version:** 3.10
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] P... | load_summarize_chain doesn't return the specified max_tokens in OpenAI LLM | https://api.github.com/repos/langchain-ai/langchain/issues/5093/comments | 1 | 2023-05-22T14:09:13Z | 2023-05-29T13:38:29Z | https://github.com/langchain-ai/langchain/issues/5093 | 1,719,782,534 | 5,093 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using PlanAndExecuteAgent to answer a complex statement which has multiple placeholders, the placeholders need to be filled from executing multiple sql queries. I tried using planAndExecuteAgent but results were not fruitful. I took planAndExecuteAgent only for planning and used `cr... | Issue: Issue with PlanAndExecuteAgent | https://api.github.com/repos/langchain-ai/langchain/issues/5087/comments | 1 | 2023-05-22T11:11:07Z | 2023-09-10T16:14:00Z | https://github.com/langchain-ai/langchain/issues/5087 | 1,719,462,590 | 5,087 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi maintainer,
In my case, a chain runs for a long time, multiple actions will be executed during this process. The main reason is that there will be multiple conversations with the LLMs.
Now, the `agent.run(...)` returns final value and **intermediate steps** with following setting:
```py... | Yield intermediate steps during the chain execution process | https://api.github.com/repos/langchain-ai/langchain/issues/5086/comments | 5 | 2023-05-22T09:37:01Z | 2023-11-10T11:26:31Z | https://github.com/langchain-ai/langchain/issues/5086 | 1,719,303,615 | 5,086 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.165
Python 3.10.8
macos m2
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | llmchain not work as expect in multiple thread scenario | https://api.github.com/repos/langchain-ai/langchain/issues/5084/comments | 5 | 2023-05-22T09:00:40Z | 2023-09-19T16:09:35Z | https://github.com/langchain-ai/langchain/issues/5084 | 1,719,236,879 | 5,084 |
[
"hwchase17",
"langchain"
] | ### System Info
v0.0.176
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document ... | Azure Content Filtering on Default QA with sources prompt. | https://api.github.com/repos/langchain-ai/langchain/issues/5082/comments | 2 | 2023-05-22T07:16:39Z | 2023-09-15T16:11:55Z | https://github.com/langchain-ai/langchain/issues/5082 | 1,719,055,182 | 5,082 |
[
"hwchase17",
"langchain"
] | I need to limit the number of documents that AzureCognitiveSearchRetriever returns so that I can aggregate only the most relevant documents. Is there a way to do this with the current functionality or do we need to implement it? | Issue: Can we limit the number of relevant documents returned by AzureCognitiveSearchRetriever? | https://api.github.com/repos/langchain-ai/langchain/issues/5081/comments | 16 | 2023-05-22T06:10:42Z | 2023-07-27T05:36:05Z | https://github.com/langchain-ai/langchain/issues/5081 | 1,718,965,240 | 5,081 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add capability to generate and run python code using langchain. I created a [github repo](https://github.com/thismlguy/code-genie) called code-genie to support this. Here's a [starter notebook](https://code-genie.readthedocs.io/en/main/notebooks/Google%20Analytics%20Pipeline%20Example.html) for it.... | Chain for generating and running python code | https://api.github.com/repos/langchain-ai/langchain/issues/5080/comments | 1 | 2023-05-22T05:40:25Z | 2023-09-10T16:14:10Z | https://github.com/langchain-ai/langchain/issues/5080 | 1,718,933,305 | 5,080 |
[
"hwchase17",
"langchain"
] | When I use CosmosDBChatMessageHistory, the conversation history is stored in DB, but every time load message returns None, and each time I run add_user_message, I perform a replace operation, not an increment on the original record.
.
Here are the results for the same prompt on the RTX 4090 GPU.
When using llamacpp-python Llama wrapper directly:

--
ValidationError: 1 vali... | DOC: SQL Database Agent | https://api.github.com/repos/langchain-ai/langchain/issues/5068/comments | 8 | 2023-05-21T19:43:41Z | 2023-11-06T16:08:09Z | https://github.com/langchain-ai/langchain/issues/5068 | 1,718,618,387 | 5,068 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain v0.0.171
ChromaDB v0.3.22
Python v3.10.11
### 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 /... | ConversationalRetrievalChain doesn't return score with sources | https://api.github.com/repos/langchain-ai/langchain/issues/5067/comments | 21 | 2023-05-21T18:40:34Z | 2024-01-11T08:20:25Z | https://github.com/langchain-ai/langchain/issues/5067 | 1,718,600,362 | 5,067 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.