issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.173
faiss-cpu 1.7.4
python 3.10.11
Void linux
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Promp... | FAISS should allow you to specify id when using add_text | https://api.github.com/repos/langchain-ai/langchain/issues/5065/comments | 6 | 2023-05-21T16:39:28Z | 2023-05-25T05:26:48Z | https://github.com/langchain-ai/langchain/issues/5065 | 1,718,564,503 | 5,065 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/424a573266c848fe2e53bc2d50c2dc7fc72f2c15/langchain/vectorstores/chroma.py#L275
The line above would only select the candidates based on MMR, and not reorder them based on MMR's ranking.
This is not the case for any other vectorstores that support MMR.
cc @hwchase17
... | [Bug] MMR ordering is not preserved for the Chroma Vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/5061/comments | 3 | 2023-05-21T15:50:19Z | 2023-09-17T17:16:54Z | https://github.com/langchain-ai/langchain/issues/5061 | 1,718,549,470 | 5,061 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using the babyagi with the zeroshotagent the prompt length error is persistent , how can we fix it possibly summarise the agent_scratchpad and if someone could explain how does it work by default ? does It keep appending the bot and human response in it or just the previous ones?
#... | Issue: How do I fix the prompt length error in any agent that uses LLMCHAIN ? | https://api.github.com/repos/langchain-ai/langchain/issues/5057/comments | 2 | 2023-05-21T12:42:59Z | 2023-09-10T16:14:20Z | https://github.com/langchain-ai/langchain/issues/5057 | 1,718,490,382 | 5,057 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
By way of example from the official docs,
memory = ConversationTokenBufferMemory(llm=llm, max_token_limit=10)
memory. save_context({"input": "hi"}, {"ouput": "what's up"})
memory. save_context({"input": "not much you"}, {"ouput": "not much"})
memory. load_memory_variables({})
If it ... | The problem that ConversationTokenBufferMemory cannot be trimmed normally due to the use of persistent messages | https://api.github.com/repos/langchain-ai/langchain/issues/5053/comments | 4 | 2023-05-21T10:41:45Z | 2024-05-20T08:01:06Z | https://github.com/langchain-ai/langchain/issues/5053 | 1,718,455,217 | 5,053 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm working on Q&A using OpenAI for pdf and another documents. Below is the code
```
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores import Chroma
from langchain import OpenAI, VectorDBQA
import pickle
import textwrap
from langchain.text_splitter import Rec... | Regarding explaination of answer which is returned by OpenAI embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/5052/comments | 1 | 2023-05-21T10:11:49Z | 2023-09-10T16:14:25Z | https://github.com/langchain-ai/langchain/issues/5052 | 1,718,447,024 | 5,052 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hey,
I am willing to use { and } chars as an example in my prompt template (I want to prompt my chain to generate css code), but this generates this error:
```
Traceback (most recent call last):
File "/Users/thomas/workspace/j4rvis/j4rvis/tools/document_tools.py", line 43, in <mo... | Issue: Escaping { and } chars in a langchain.prompts.PromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/5051/comments | 4 | 2023-05-21T09:25:49Z | 2023-09-22T16:08:39Z | https://github.com/langchain-ai/langchain/issues/5051 | 1,718,432,064 | 5,051 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS Ventura, zshell
`pyenv virtualenv 3.11 langchain`, clean environment
`pyenv local langchain`, automatically activate environment
`curl -sSL https://install.python-poetry.org | python -`, install poetry
`export PATH="/Users/steven/.local/bin:$PATH`, added this to allow for poetry to be accessi... | poetry install -E all` fails because `torch` undetected | https://api.github.com/repos/langchain-ai/langchain/issues/5048/comments | 10 | 2023-05-21T05:19:15Z | 2024-02-13T16:16:32Z | https://github.com/langchain-ai/langchain/issues/5048 | 1,718,375,450 | 5,048 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
for the following code there is a dimension error -> InvalidDimensionException: Dimensionality of (1536) does not match index dimensionality (384)
```embeddingsFunction = OpenAIEmbeddings(model="text-embedding-ada-002", chunk_size=1)
persist_directory = "chromaDB_csv"
vecto... | Issue: Chroma DB | https://api.github.com/repos/langchain-ai/langchain/issues/5046/comments | 20 | 2023-05-20T20:35:07Z | 2024-07-29T09:33:13Z | https://github.com/langchain-ai/langchain/issues/5046 | 1,718,283,195 | 5,046 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi All,
I'm developing a chatbot that run over PDF documents that stored on Pinecone.
I have an agent that use one tool (in my case it's `ConversationalRetrievalChain`) the chain works perfect when I'm asking any question.
But when I move forward and pass this chain as a tool I'm ge... | Agent answer questions that is not related to my custom data | https://api.github.com/repos/langchain-ai/langchain/issues/5044/comments | 6 | 2023-05-20T19:42:03Z | 2023-09-11T08:17:08Z | https://github.com/langchain-ai/langchain/issues/5044 | 1,718,266,994 | 5,044 |
[
"hwchase17",
"langchain"
] | ### System Info
"langchain": "^0.0.75"
"@supabase/supabase-js": "^2.21.0"
### Who can help?
@hwchase17
### Information
- [x] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Promp... | not able to use memory.saveContent and metadata filtering together. | https://api.github.com/repos/langchain-ai/langchain/issues/5043/comments | 2 | 2023-05-20T19:14:01Z | 2023-05-30T18:17:46Z | https://github.com/langchain-ai/langchain/issues/5043 | 1,718,260,661 | 5,043 |
[
"hwchase17",
"langchain"
] | ### System Info
I have tried to run the AzureOpenAI example here for embedding: https://python.langchain.com/en/latest/modules/models/text_embedding/examples/azureopenai.html
Doing so, I get the following error:
`InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.... | AzureOpenAI example error (embeddding) | https://api.github.com/repos/langchain-ai/langchain/issues/5042/comments | 2 | 2023-05-20T18:11:22Z | 2023-05-20T20:27:10Z | https://github.com/langchain-ai/langchain/issues/5042 | 1,718,245,431 | 5,042 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to access dolly-v2-3b using Langchain and HuggingFaceHub using the tutorial provided on the [website](https://python.langchain.com/en/latest/modules/models/llms/integrations/huggingface_hub.html).
However I am facing a few issues.
1. The instruction to `!pip install huggi... | Issue: Accessing Dolly-v2-3b via HuggingFaceHub and langchain | https://api.github.com/repos/langchain-ai/langchain/issues/5040/comments | 2 | 2023-05-20T16:05:33Z | 2023-09-15T16:12:11Z | https://github.com/langchain-ai/langchain/issues/5040 | 1,718,214,309 | 5,040 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Within the documentation, in the last sentence change should be **charge**.
Reference link: https://python.langchain.com/en/latest/modules/agents.html
<img width="511" alt="image" src="https://github.com/hwchase17/langchain/assets/67931050/52f6eacd-7930-451f-abd7-05eca94793... | DOC: Misspelling in agents.rst | https://api.github.com/repos/langchain-ai/langchain/issues/5039/comments | 0 | 2023-05-20T15:50:20Z | 2023-06-01T01:06:04Z | https://github.com/langchain-ai/langchain/issues/5039 | 1,718,210,139 | 5,039 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS, Python 3.11.2, langchain 0.0.174
### Who can help?
@vowelparrot
### Information
- [X] My own modified scripts
### Related Components
- [X] Tools / Toolkits
### Reproduction
I hit a strange error when using PythonREPL in an agent. It happens with this **recursive** Pyth... | Reproducible NameError with recursive function in PythonREPL() | https://api.github.com/repos/langchain-ai/langchain/issues/5035/comments | 2 | 2023-05-20T14:08:20Z | 2024-06-07T08:08:18Z | https://github.com/langchain-ai/langchain/issues/5035 | 1,718,183,052 | 5,035 |
[
"hwchase17",
"langchain"
] | ### Feature request
Have we considered the ability for an agent to spawn and manage other agents? It would be nice to be able to continue chatting with the main agent while other agents execute queries in the background.
Is this possible today? If so, what class should be used? If not, have we thought about how we... | Spawning and managing agents | https://api.github.com/repos/langchain-ai/langchain/issues/5033/comments | 3 | 2023-05-20T12:50:55Z | 2023-09-10T16:14:41Z | https://github.com/langchain-ai/langchain/issues/5033 | 1,718,162,981 | 5,033 |
[
"hwchase17",
"langchain"
] | ### Feature request
We want to request the addition of OAuth 2.0 support to the langchain package. OAuth 2.0 is a widely adopted industry-standard protocol for authorization. It would be immensely beneficial if langchain could incorporate this feature into its framework.
### Motivation
Our organization and many othe... | OAuth 2.0 Support | https://api.github.com/repos/langchain-ai/langchain/issues/5032/comments | 3 | 2023-05-20T12:19:52Z | 2023-09-19T16:09:50Z | https://github.com/langchain-ai/langchain/issues/5032 | 1,718,155,380 | 5,032 |
[
"hwchase17",
"langchain"
] | ### System Info
aiohttp==3.8.4
aiosignal==1.3.1
aniso8601==9.0.1
anyio==3.6.2
async-timeout==4.0.2
attrs==23.1.0
backoff==2.2.1
blinker==1.6.2
certifi==2023.5.7
charset-normalizer==3.1.0
chromadb==0.3.23
click==8.1.3
clickhouse-connect==0.5.24
colorama==0.4.6
dataclasses-json==0.5.7
duckdb=... | AttributeError: 'Collection' object has no attribute 'update_document' | https://api.github.com/repos/langchain-ai/langchain/issues/5031/comments | 4 | 2023-05-20T12:01:57Z | 2023-09-15T22:13:00Z | https://github.com/langchain-ai/langchain/issues/5031 | 1,718,150,791 | 5,031 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
INFO: Will watch for changes in these directories: ['/Users/abdibrokhim/VisualStudioCode/draft/antrophicCloudeLangchainTutorialApp']
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [58140] using WatchFiles
Process SpawnP... | Help me please, even i installed langchain library it says "No module named 'langchain'" why? | https://api.github.com/repos/langchain-ai/langchain/issues/5028/comments | 3 | 2023-05-20T10:55:13Z | 2023-05-20T19:24:56Z | https://github.com/langchain-ai/langchain/issues/5028 | 1,718,135,190 | 5,028 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version = 0.0.167
Python version = 3.11.0
System = Windows 11 (using Jupyter)
### Who can help?
- @hwchase17
- @agola11
- @UmerHA (I have a fix ready, will submit a PR)
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
... | ChatOpenAI models don't work with prompts created via ChatPromptTemplate.from_role_strings | https://api.github.com/repos/langchain-ai/langchain/issues/5027/comments | 1 | 2023-05-20T10:39:18Z | 2023-05-30T20:56:20Z | https://github.com/langchain-ai/langchain/issues/5027 | 1,718,131,410 | 5,027 |
[
"hwchase17",
"langchain"
] | ### Feature request
A utility to cleanup documents or texts after loading into langchain document formats. The LLMs sometime even consider redundant whitespaces in the context as tokens leading to wastage of tokens. What I'm proposing is an utility that binds with the existing adapters in langchain and/or llama-index ... | Document Cleanup Tools | https://api.github.com/repos/langchain-ai/langchain/issues/5026/comments | 1 | 2023-05-20T10:36:52Z | 2023-09-19T16:09:56Z | https://github.com/langchain-ai/langchain/issues/5026 | 1,718,130,806 | 5,026 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using version `0.0.171` of Langchain.
Running a mac, M1, 2021, OS Ventura. Can do most all of Langchain operations without errors.
Except for this issue. Installed through pyenv, python 3.11.
```requirements.txt
aiohttp==3.8.4
aiosignal==1.3.1
anyio==3.6.2
appnope==0.1.3
argilla==1... | Cannot load python files for Directory Loader | https://api.github.com/repos/langchain-ai/langchain/issues/5025/comments | 1 | 2023-05-20T09:48:56Z | 2023-09-10T16:14:45Z | https://github.com/langchain-ai/langchain/issues/5025 | 1,718,119,181 | 5,025 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.173
numpy version: 1.24.3
### Related Components
- [X] Embedding Models
### Reproduction
```python
from sentence_transformers import SentenceTransformer
import numpy as np
from langchain.embeddings import HuggingFaceEmbeddings
t = 'langchain embedding'
m =... | Precision of HuggingFaceEmbeddings.embed_query changes | https://api.github.com/repos/langchain-ai/langchain/issues/5024/comments | 2 | 2023-05-20T08:44:51Z | 2023-09-10T16:14:51Z | https://github.com/langchain-ai/langchain/issues/5024 | 1,718,103,064 | 5,024 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to query databases with multiple tables. Because of DB metadata, the prompt length exceeds the max token limit of 4000 of OpenAI . Do you have any ideas on how to solve this problem for databases with medium to large metadata? I have tried it for Postgrsql and Presto.
`I... | SQL database with metadata exceeding 4000 token limit of Open AI. | https://api.github.com/repos/langchain-ai/langchain/issues/5023/comments | 1 | 2023-05-20T08:26:04Z | 2023-05-20T08:30:26Z | https://github.com/langchain-ai/langchain/issues/5023 | 1,718,098,699 | 5,023 |
[
"hwchase17",
"langchain"
] | ### Feature request
i have using RWKV llm with langchian and everything is ok,
but i don't know how to rewrite `_call` for add lora for my own RWKV Model, can you give some tips
### Motivation
-
### Your contribution
- | How to add lora for RWKV in using langchian | https://api.github.com/repos/langchain-ai/langchain/issues/5022/comments | 1 | 2023-05-20T08:12:51Z | 2023-09-10T16:14:57Z | https://github.com/langchain-ai/langchain/issues/5022 | 1,718,095,658 | 5,022 |
[
"hwchase17",
"langchain"
] |
I was trying to use `gpt-3.5` family for models as a proxy for codex to generate code.
I tried using `PromptTemplate` and `PydanticOutputParser` parser to get code output. But turns out the LLM mixes up the Prompt template example in the response
**Parser**
```python
class CodeCompletion(BaseModel):
code: ... | Issue: Prompt template does not work with Code related queries | https://api.github.com/repos/langchain-ai/langchain/issues/5020/comments | 2 | 2023-05-20T07:22:06Z | 2023-09-15T22:12:59Z | https://github.com/langchain-ai/langchain/issues/5020 | 1,718,084,155 | 5,020 |
[
"hwchase17",
"langchain"
] | ### System Info
Python Version = 3.10
Langchain Version = 0.0.174
### 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 Selec... | Text Generation on an 8 bit model. | https://api.github.com/repos/langchain-ai/langchain/issues/5019/comments | 2 | 2023-05-20T05:49:32Z | 2023-05-21T20:58:06Z | https://github.com/langchain-ai/langchain/issues/5019 | 1,718,062,726 | 5,019 |
[
"hwchase17",
"langchain"
] | ### RetrievalQA chain with GPT4All takes an extremely long time to run (doesn't end)
I encounter massive runtimes when [running a RetrievalQA chain](https://python.langchain.com/en/latest/modules/chains/index_examples/vector_db_qa.html) with a locally downloaded GPT4All LLM. Unsure what's causing this.
I pass a ... | Issue: Very long runtimes for RetrievalQA chain with GPT4All | https://api.github.com/repos/langchain-ai/langchain/issues/5016/comments | 8 | 2023-05-20T03:57:58Z | 2024-01-06T03:53:34Z | https://github.com/langchain-ai/langchain/issues/5016 | 1,718,038,199 | 5,016 |
[
"hwchase17",
"langchain"
] | ### Feature request
None of the search tools have async support.
### Motivation
Async calls are being used langchain setup with FastAPI. Not having async support for these tools blocks there use.
### Your contribution
Happy to help out where needed. | Async Support | Search Tools | https://api.github.com/repos/langchain-ai/langchain/issues/5011/comments | 9 | 2023-05-20T01:37:04Z | 2024-06-01T00:07:30Z | https://github.com/langchain-ai/langchain/issues/5011 | 1,717,978,496 | 5,011 |
[
"hwchase17",
"langchain"
] | ### Feature request
I have been playing around with the Plan & Execute Agent.
Would love to see async support implemented.
### Motivation
Would like to use it as a drop in agent replacement for my existing async setup.
### Your contribution
Happy to help out where needed. | Async Support | Plan & Execute | https://api.github.com/repos/langchain-ai/langchain/issues/5010/comments | 2 | 2023-05-20T01:34:11Z | 2023-09-12T16:14:29Z | https://github.com/langchain-ai/langchain/issues/5010 | 1,717,977,580 | 5,010 |
[
"hwchase17",
"langchain"
] | ### System Info
Broken by #4915
Error: `Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>`
I'm putting a PR out to fix this now.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modifi... | Azure OpenAI Embeddings failed due to no deployment_id set. | https://api.github.com/repos/langchain-ai/langchain/issues/5001/comments | 2 | 2023-05-19T20:18:47Z | 2023-05-22T06:43:51Z | https://github.com/langchain-ai/langchain/issues/5001 | 1,717,774,987 | 5,001 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.169
openai==0.27.6
### Who can help?
@hwchase17
@agola11
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | ChatOpenAI: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'> | https://api.github.com/repos/langchain-ai/langchain/issues/5000/comments | 19 | 2023-05-19T20:17:41Z | 2024-02-09T16:10:57Z | https://github.com/langchain-ai/langchain/issues/5000 | 1,717,773,530 | 5,000 |
[
"hwchase17",
"langchain"
] | ### System Info
I tried using `code-davinci-002` model with LangChain, looks like it is not supported in the LLM wrapper'
```openai.error.InvalidRequestError: The model: `code-davinci-001` does not exist```
<img width="619" alt="image" src="https://github.com/hwchase17/langchain/assets/41926176/4b8bb7a7-ad4c-4618-a5... | code-davinci-002 does not work with LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/4999/comments | 6 | 2023-05-19T20:17:35Z | 2024-01-11T12:31:46Z | https://github.com/langchain-ai/langchain/issues/4999 | 1,717,773,452 | 4,999 |
[
"hwchase17",
"langchain"
] | ### System Info
```
from langchain.agents.agent_toolkits.openapi import planner
from langchain.llms import PromptLayerOpenAI
llm = PromptLayerOpenAI(model_name="gpt-4", temperature=0.25)
content_agent = planner.create_openapi_agent(api_spec=content_api_spec, requests_wrapper=Requests(headers = {"Authorization"... | PromptLayerOpenAI doesn't work with planner | https://api.github.com/repos/langchain-ai/langchain/issues/4995/comments | 1 | 2023-05-19T18:56:35Z | 2023-09-10T16:15:07Z | https://github.com/langchain-ai/langchain/issues/4995 | 1,717,682,308 | 4,995 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3, Google Colab/Mac-OS Conda Env, Langchain v0.0.173, Dev2049/obsidian patch #4204
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Promp... | ObsidianLoader doesn't Parse Frontmatter of Obsidian Files according to YAML, but line-by-line and only for key-value pairs | https://api.github.com/repos/langchain-ai/langchain/issues/4991/comments | 1 | 2023-05-19T16:45:59Z | 2023-09-10T16:15:11Z | https://github.com/langchain-ai/langchain/issues/4991 | 1,717,534,417 | 4,991 |
[
"hwchase17",
"langchain"
] | ### System Info
aiohttp==3.8.4
aiosignal==1.3.1
altair==4.2.2
anyio @ file:///C:/ci_311/anyio_1676425491996/work/dist
argilla==1.6.0
argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
argon2-cffi-bindings @ file:///C:/ci_311/argon2-cffi-bindings_1676424443321/work
asttokens @ file:///opt/c... | How to create a vectorstoreinfo using a custom tool. | https://api.github.com/repos/langchain-ai/langchain/issues/4980/comments | 3 | 2023-05-19T12:11:25Z | 2023-09-15T16:12:26Z | https://github.com/langchain-ai/langchain/issues/4980 | 1,717,149,421 | 4,980 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.173
### 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
- [X] Output Parsers
- [ ] Document ... | QAGenerateChain cannot be loaded | https://api.github.com/repos/langchain-ai/langchain/issues/4977/comments | 2 | 2023-05-19T11:38:43Z | 2023-05-21T22:56:09Z | https://github.com/langchain-ai/langchain/issues/4977 | 1,717,108,430 | 4,977 |
[
"hwchase17",
"langchain"
] | ### Feature request
https://arxiv.org/pdf/2305.10601.pdf
### Motivation
Language models are increasingly being deployed for general problem-solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks ... | consider introduce ToT approch in langchain🐱🐱 | https://api.github.com/repos/langchain-ai/langchain/issues/4975/comments | 23 | 2023-05-19T10:50:30Z | 2023-08-17T20:58:11Z | https://github.com/langchain-ai/langchain/issues/4975 | 1,717,046,200 | 4,975 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi!
Can you change the version of pydantic in the dependencies? There is a vulnerability in this version, because it depends on pydantic. I can't install new versions of langchain because they don't pass the security check on my PC.
https://github.com/kuimono/openapi-schema-pydantic/is... | Issue: openapi-schema-pydantic vulnerability | https://api.github.com/repos/langchain-ai/langchain/issues/4974/comments | 3 | 2023-05-19T10:39:37Z | 2024-03-13T16:12:28Z | https://github.com/langchain-ai/langchain/issues/4974 | 1,717,032,053 | 4,974 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.173
Platform: Ubuntu 22.04.2 LTS
Python: 3.10.6
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | SupabaseVectorStore ValueError in .as_retriever(search_type="mmr").get_relevant_documents() | https://api.github.com/repos/langchain-ai/langchain/issues/4972/comments | 1 | 2023-05-19T08:38:01Z | 2023-05-19T09:03:00Z | https://github.com/langchain-ai/langchain/issues/4972 | 1,716,866,155 | 4,972 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi guys,
New to github and my first post here.
Been testing out LLM + Langchain SQL agent and it's really cool.
However, I'm running into this issue constantly.
Say there are 3 types of continents in my SQL, the US, Asia, and Europe.
When I ask about 2 of them it works, but Asia kep... | Issue: The table does not have a column called $ when there clearly is. | https://api.github.com/repos/langchain-ai/langchain/issues/4968/comments | 1 | 2023-05-19T06:21:01Z | 2023-09-10T16:15:21Z | https://github.com/langchain-ai/langchain/issues/4968 | 1,716,692,511 | 4,968 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm trying to query from my knowledge base in csv by creating embeddings.
I was able to do it with OpenAI LLM model. But when I'm trying with AzureOpenAI model, I'm getting an error.
I've checked the LLM object for both OpenAI modela and AzureOpenAI model, attributes are all same, but ... | Issue: RetrievalQA is not working with AzureOpenAI LLM model | https://api.github.com/repos/langchain-ai/langchain/issues/4966/comments | 2 | 2023-05-19T06:12:01Z | 2023-05-20T09:06:11Z | https://github.com/langchain-ai/langchain/issues/4966 | 1,716,680,713 | 4,966 |
[
"hwchase17",
"langchain"
] | ### Feature request
support for kotlin language
### Motivation
1.Safety and Reliability: Kotlin emphasizes on safety and reliability, and it can help developers avoid common programming errors through type checks, null safety, exception handling, and other mechanisms. Additionally, Kotlin provides a functional progr... | Is it possible to support the kotlin language?Like langchainkt. | https://api.github.com/repos/langchain-ai/langchain/issues/4963/comments | 7 | 2023-05-19T05:34:35Z | 2024-06-15T14:01:51Z | https://github.com/langchain-ai/langchain/issues/4963 | 1,716,644,366 | 4,963 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In the doc as mentioned below:-
https://python.langchain.com/en/latest/modules/chains/examples/llm_summarization_checker.html
Assumptions is misspelled as assumtions.
### Idea or request for content:
Fix the misspelling in the doc markdown. | DOC: Misspelling in LLMSummarizationCheckerChain documentation | https://api.github.com/repos/langchain-ai/langchain/issues/4959/comments | 1 | 2023-05-19T04:45:16Z | 2023-09-10T16:15:26Z | https://github.com/langchain-ai/langchain/issues/4959 | 1,716,598,909 | 4,959 |
[
"hwchase17",
"langchain"
] | ### Feature request
- Neo4j
[Neo4j](https://github.com/neo4j/neo4j)
- langchain2neo4j
[langchain2neo4j](https://github.com/tomasonjo/langchain2neo4j)
- langchain2ongdb
[langchain2ongdb](https://github.com/ongdb-contrib/langchain2ongdb)
### Motivation
We are building some question answering tools based on ... | Consider adding the default Neo4jDatabaseChain tool to the Chains component | https://api.github.com/repos/langchain-ai/langchain/issues/4957/comments | 1 | 2023-05-19T03:33:24Z | 2023-06-08T00:41:58Z | https://github.com/langchain-ai/langchain/issues/4957 | 1,716,553,534 | 4,957 |
[
"hwchase17",
"langchain"
] | I am trying on the Custom Agent with Tool Retrieval example, there are some times (not always 100%) when the Agent Executor will return the answer itself in the Action Input. The inconsistency make things even worse.
For example: I have a Small Talk Tool that will be in charge of answering casual conversation from u... | Issue: Agent Executor tends to answer user question directly and set it as Action Input during the iterative thought process. | https://api.github.com/repos/langchain-ai/langchain/issues/4955/comments | 4 | 2023-05-19T02:34:55Z | 2023-09-27T16:07:00Z | https://github.com/langchain-ai/langchain/issues/4955 | 1,716,519,016 | 4,955 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.173
Redis version: 4.5.5
Python version: 3.11
OS: Windows 10
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Promp... | vectorstore redis return TypeError | https://api.github.com/repos/langchain-ai/langchain/issues/4952/comments | 16 | 2023-05-19T00:53:22Z | 2023-12-12T16:31:54Z | https://github.com/langchain-ai/langchain/issues/4952 | 1,716,453,446 | 4,952 |
[
"hwchase17",
"langchain"
] | ## Question
I'm interested in creating a conversational app using RetrievalQA that can also answer using external knowledge. However, I'm curious whether RetrievalQA supports replying in a streaming manner. I couldn't find any related articles, so I would like to ask everyone here. | Issue: Does RetrievalQA Support Streaming Replies? | https://api.github.com/repos/langchain-ai/langchain/issues/4950/comments | 30 | 2023-05-19T00:13:39Z | 2024-08-05T11:55:14Z | https://github.com/langchain-ai/langchain/issues/4950 | 1,716,429,367 | 4,950 |
[
"hwchase17",
"langchain"
] | ### System Info
Colab standard Python 3 backend
### Who can help?
@O-Roma
### 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
- [ ] ... | GraphQL example notebook not working | https://api.github.com/repos/langchain-ai/langchain/issues/4946/comments | 4 | 2023-05-18T21:46:51Z | 2023-09-12T17:06:03Z | https://github.com/langchain-ai/langchain/issues/4946 | 1,716,309,110 | 4,946 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using Python Flask app for chat over data. So in the console I am getting streamable response directly from the OpenAI since I can enable streming with a flag streaming=True.
The problem is, that I can't “forward” the stream or “show” the strem than in my API call.
Code for th... | Issue: Stream a response from LangChain's OpenAI with Pyton Flask API | https://api.github.com/repos/langchain-ai/langchain/issues/4945/comments | 30 | 2023-05-18T21:41:40Z | 2024-03-07T21:26:59Z | https://github.com/langchain-ai/langchain/issues/4945 | 1,716,304,777 | 4,945 |
[
"hwchase17",
"langchain"
] | ### System Info
0.1173
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | False "Index not found" messages | https://api.github.com/repos/langchain-ai/langchain/issues/4944/comments | 8 | 2023-05-18T21:10:59Z | 2023-09-19T16:10:07Z | https://github.com/langchain-ai/langchain/issues/4944 | 1,716,269,896 | 4,944 |
[
"hwchase17",
"langchain"
] | ### Feature request
FLARE is providing some more accurate output when it works. I would love to switch to it. However, I do find that it often breaches the 4k context length.
I still don't have GPT4 access because I am a pleb (approve me plz OpenAI).
The stuff / map-reduce / refine chains used in the retrieval ... | FLARE | Add CombineChain to handle long context | https://api.github.com/repos/langchain-ai/langchain/issues/4943/comments | 3 | 2023-05-18T20:04:50Z | 2023-09-15T16:12:36Z | https://github.com/langchain-ai/langchain/issues/4943 | 1,716,194,737 | 4,943 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.162
python: 3.10
My all .eml email files are of 4.99 GB in total. Number of Documents generated are 5900000 .. and there are around 7 million tokens generated .
I have 2 questions:
1) since the documents contain simple plain text, why are there so many tokens generate... | loading .eml Email files of 5 GB as documents generating large number of tokens (7 million) on index creation | https://api.github.com/repos/langchain-ai/langchain/issues/4942/comments | 1 | 2023-05-18T18:54:10Z | 2023-09-10T16:15:38Z | https://github.com/langchain-ai/langchain/issues/4942 | 1,716,110,918 | 4,942 |
[
"hwchase17",
"langchain"
] | ### System Info
While loading an already existing index with existing openAI embeddings (data indexed using haystack framework)
```python
elastic_vector_search = ElasticVectorSearch(
elasticsearch_url=es_url,
index_name=index,
embedding=embeddings
)
```
Running below command
```python
elastic_ve... | Error while loading saved index in Elasticsearch | https://api.github.com/repos/langchain-ai/langchain/issues/4940/comments | 1 | 2023-05-18T17:34:22Z | 2023-09-15T22:12:58Z | https://github.com/langchain-ai/langchain/issues/4940 | 1,716,005,900 | 4,940 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The author of the issue/PR cannot add a label to it.
Of course, some labels should be accessible only with high privilege (like `bug`(?), `close`) but some should be accessible for everybody. Like `agent`, `chains`, and `documentation`.
The label is a powerful tool to filter out the... | Issue: Filling an issue or PR with `label(s)` | https://api.github.com/repos/langchain-ai/langchain/issues/4934/comments | 3 | 2023-05-18T16:09:57Z | 2023-08-31T17:08:05Z | https://github.com/langchain-ai/langchain/issues/4934 | 1,715,894,918 | 4,934 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.173
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | langchain AzureOpenAI Embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/4925/comments | 3 | 2023-05-18T12:56:40Z | 2023-05-19T20:11:46Z | https://github.com/langchain-ai/langchain/issues/4925 | 1,715,594,468 | 4,925 |
[
"hwchase17",
"langchain"
] | ### System Info
The llm model using default davinci example provided in https://python.langchain.com/en/latest/ecosystem/wandb_tracking.html is OK. But seems not able to handle ChatOpenAI object. How to solve this?
The code is as below:
### Who can help?
_No response_
### Information
- [X] The official example ... | Seems Langchain Wandb can not handle the ChatOpenAI object? | https://api.github.com/repos/langchain-ai/langchain/issues/4922/comments | 6 | 2023-05-18T11:51:57Z | 2023-09-14T03:11:01Z | https://github.com/langchain-ai/langchain/issues/4922 | 1,715,504,366 | 4,922 |
[
"hwchase17",
"langchain"
] | ### System Info
windows 11, anaconda, langchain .__version__: '0.0.171' python 3.9.16
### 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 / ... | ValueError: Got unknown type R | https://api.github.com/repos/langchain-ai/langchain/issues/4921/comments | 1 | 2023-05-18T11:32:44Z | 2023-05-18T14:51:39Z | https://github.com/langchain-ai/langchain/issues/4921 | 1,715,480,235 | 4,921 |
[
"hwchase17",
"langchain"
] | ### System Info
Below is the code which I have written
```
from langchain.document_loaders import ImageCaptionLoader
import transformers
import pytessearct
pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
loader = ImageCaptionLoader(r"C:\Users\q,k and v in self-attent... | Unable to use ImageCaptionLoader function | https://api.github.com/repos/langchain-ai/langchain/issues/4919/comments | 4 | 2023-05-18T11:24:00Z | 2023-11-01T16:07:25Z | https://github.com/langchain-ai/langchain/issues/4919 | 1,715,469,726 | 4,919 |
[
"hwchase17",
"langchain"
] | ### System Info
How to enable precise formatting for the input of a tools utility class, such as accepting data of type list[str]? Is this achievable?
```python
class QueryTokenAssetsInput(BaseModel):
addresses: str = Field(description="like 'address1,address2,address3',should be a list of addresses")
@tool(... | How to enable precise formatting for the input of a tools utility class, such as accepting data of type list[str]? Is this achievable? | https://api.github.com/repos/langchain-ai/langchain/issues/4918/comments | 4 | 2023-05-18T10:10:20Z | 2023-10-08T07:25:51Z | https://github.com/langchain-ai/langchain/issues/4918 | 1,715,371,728 | 4,918 |
[
"hwchase17",
"langchain"
] | ### System Info
Working on Windows machine using a conda environment.
aiohttp==3.8.4
aiosignal==1.3.1
altair==4.2.2
anyio @ file:///C:/ci_311/anyio_1676425491996/work/dist
argilla==1.6.0
argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
argon2-cffi-bindings @ file:///C:/ci_311/argon2-cf... | llm-math Tools takes a word problem rather than a numerical expression. | https://api.github.com/repos/langchain-ai/langchain/issues/4917/comments | 3 | 2023-05-18T09:20:29Z | 2023-12-11T20:49:37Z | https://github.com/langchain-ai/langchain/issues/4917 | 1,715,302,612 | 4,917 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I use two agents, the same LLM, why is one Observation the output of the tool and the other not. **How to make the output of Observation the return result of TOOL**
```python
class CustomAgentExecutor(object):
def __init__(self, template: str, tools: List[BaseTool], llm):
... | Issue: How to make the output of Observation the return result of TOOL | https://api.github.com/repos/langchain-ai/langchain/issues/4916/comments | 10 | 2023-05-18T07:52:21Z | 2024-02-15T16:11:50Z | https://github.com/langchain-ai/langchain/issues/4916 | 1,715,187,690 | 4,916 |
[
"hwchase17",
"langchain"
] | ### Feature request
# Example
I have a tool that has access to my email. This tool is used by a long running agent. I'd like the tool to have long standing Read permissions but only have short lived Write permissions.
Like Githubs sudo permission, I'd like a message sent to a designated device, email, or simila... | Add permission model to tools (simple sudo like at first) | https://api.github.com/repos/langchain-ai/langchain/issues/4912/comments | 5 | 2023-05-18T06:31:01Z | 2023-12-31T13:20:34Z | https://github.com/langchain-ai/langchain/issues/4912 | 1,715,084,795 | 4,912 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
ERROR: Could not find a version that satisfies the requirement langchain==0.0.172 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25,... | Issue: Could not find a version that satisfies the requirement langchain==0.0.172 | https://api.github.com/repos/langchain-ai/langchain/issues/4909/comments | 1 | 2023-05-18T06:02:43Z | 2023-05-26T10:46:41Z | https://github.com/langchain-ai/langchain/issues/4909 | 1,715,042,505 | 4,909 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: latest
environment: latest Google collab
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | faiss-cpu uses GPU | https://api.github.com/repos/langchain-ai/langchain/issues/4908/comments | 3 | 2023-05-18T05:29:31Z | 2024-06-07T07:35:21Z | https://github.com/langchain-ai/langchain/issues/4908 | 1,715,007,824 | 4,908 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to receive a prompt and depending on the prompt route to a dataframe agent or a llmchain. For example, the question may be about the aggregation of data in which I would like to utilize the dataframe agent. If the question is about pdf files I would like to use the llmchain to handle t... | Allow for routing between agents and llmchain | https://api.github.com/repos/langchain-ai/langchain/issues/4904/comments | 16 | 2023-05-18T04:51:16Z | 2024-04-20T16:20:33Z | https://github.com/langchain-ai/langchain/issues/4904 | 1,714,977,472 | 4,904 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using a next.js app for this
Code Used:
```
import { OpenAI } from 'langchain/llms/openai';
import { LLMChain } from "langchain/chains";
import { PromptTemplate } from "langchain/prompts";
const model = new OpenAI({
openAIApiKey: process.env.OPENAI_API_KEY,
temperature: 0,... | Module parse failed: Unexpected character '' (1:0) The module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack | https://api.github.com/repos/langchain-ai/langchain/issues/4901/comments | 1 | 2023-05-18T04:09:27Z | 2023-05-18T05:18:59Z | https://github.com/langchain-ai/langchain/issues/4901 | 1,714,950,417 | 4,901 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi @hwchase17 @agola11
In the langchain v0.0.171 there is not feature to load 8 bit models because specifying it requires `device_map = auto` to be set which I am unable to set in the [HuggingFacePipeline](https://github.com/hwchase17/langchain/blob/master/langchain/llms/huggingface_pipeline.py)
... | loading 8 bit models and throwing device_map = auto errors | https://api.github.com/repos/langchain-ai/langchain/issues/4900/comments | 1 | 2023-05-18T03:37:36Z | 2023-06-03T18:38:23Z | https://github.com/langchain-ai/langchain/issues/4900 | 1,714,929,586 | 4,900 |
[
"hwchase17",
"langchain"
] | ### System Info
```
Python 3.10.4
langchain==0.0.171
redis==4.5.5
redisearch==2.1.1
```
### Who can help?
@tylerhutcherson
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt... | Redis Vectorstore: Did not find redis_url, please add an environment variable `REDIS_URL` which contains it, or pass `redis_url` as a named parameter. | https://api.github.com/repos/langchain-ai/langchain/issues/4899/comments | 5 | 2023-05-18T03:15:21Z | 2023-09-19T16:10:11Z | https://github.com/langchain-ai/langchain/issues/4899 | 1,714,917,051 | 4,899 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain="^0.0.172"
The `from langchain.callbacks import get_openai_callback` callback seems to have broken in a new release. It was working when I was on "^0.0.158". The callback is working but no token or costs are appearing.
```
2023-05-18T02:41:37.844174Z [info ] openai charges ... | Breaking Changes | OpenAI Callback | https://api.github.com/repos/langchain-ai/langchain/issues/4897/comments | 12 | 2023-05-18T02:51:23Z | 2024-03-18T16:04:34Z | https://github.com/langchain-ai/langchain/issues/4897 | 1,714,900,925 | 4,897 |
[
"hwchase17",
"langchain"
] | ### System Info
```
Python 3.10.4
langchain==0.0.171
redis==3.5.3
redisearch==2.1.1
```
### Who can help?
@tylerhutcherson
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Te... | Redis Vectorstore: Redis.from_texts_return_keys() got multiple values for argument 'cls' | https://api.github.com/repos/langchain-ai/langchain/issues/4896/comments | 6 | 2023-05-18T02:46:53Z | 2023-09-22T16:09:08Z | https://github.com/langchain-ai/langchain/issues/4896 | 1,714,898,261 | 4,896 |
[
"hwchase17",
"langchain"
] | ### System Info
- Softwares:
LangChain 0.0.171
Python 3.10.11
Jupyterlab 3.5.3
Anaconda 2.4.0
- Platforms:
Mac OSX Ventura 13.3.1
Apple M1 Max
### Who can help?
@eyurtsev please have a look on this issue. Thanks!
### Information
- [X] The official example notebooks/scripts
- [ ] My own modifie... | Failed to load Word document over 100MB. | https://api.github.com/repos/langchain-ai/langchain/issues/4894/comments | 1 | 2023-05-18T01:39:56Z | 2023-09-10T16:15:57Z | https://github.com/langchain-ai/langchain/issues/4894 | 1,714,857,116 | 4,894 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.172
Platform: Linux (Ubuntu)
### Who can help?
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | PythonREPL agent toolkit does not recognize PythonREPL as a valid tool | https://api.github.com/repos/langchain-ai/langchain/issues/4889/comments | 10 | 2023-05-17T23:26:11Z | 2024-06-06T13:04:03Z | https://github.com/langchain-ai/langchain/issues/4889 | 1,714,774,587 | 4,889 |
[
"hwchase17",
"langchain"
] | Enviorment: DATABRICKS_RUNTIME_VERSION: 10.4
Python 3.8.10
Langchain 0.0.172
I was following along with the basic tutorial here: [Self-querying retriever with Chroma](https://python.langchain.com/en/latest/modules/indexes/retrievers/examples/chroma_self_query_retriever.html) and I keep getting **TypeError: 'NoneTy... | TypeError when using SelfQueryRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/4887/comments | 8 | 2023-05-17T22:42:25Z | 2023-09-22T16:08:59Z | https://github.com/langchain-ai/langchain/issues/4887 | 1,714,743,745 | 4,887 |
[
"hwchase17",
"langchain"
] | ### System Info
macos
langchain 0.0.172
### Who can help?
@vowelparrot
### 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
- [ ]... | RequestsPostTool parsing of the input text is naive and tend to fail since JSON has prefixes sometimes. | https://api.github.com/repos/langchain-ai/langchain/issues/4886/comments | 1 | 2023-05-17T22:18:43Z | 2023-09-10T16:16:03Z | https://github.com/langchain-ai/langchain/issues/4886 | 1,714,726,354 | 4,886 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi there, the load_tools function implemented in https://python.langchain.com/en/latest/_modules/langchain/agents/load_tools.html won't accept custom tools. I'm trying to enrich Agent debates with tools discussed here https://python.langchain.com/en/latest/use_cases/agent_simulations/two... | ValueError(f"Got unknown tool {name}") hardcoded for custom tools in load_tools.py | https://api.github.com/repos/langchain-ai/langchain/issues/4884/comments | 8 | 2023-05-17T22:06:33Z | 2023-05-20T16:32:10Z | https://github.com/langchain-ai/langchain/issues/4884 | 1,714,715,520 | 4,884 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to delete a single document from Chroma db using the following code:
chroma_db = Chroma(persist_directory = embeddings_save_path,
embedding_function = OpenAIEmbeddings(model = os.getenv("EMBEDDING_MODEL_NAME"),
chunk_size = 1,
... | Issue: Chromadb document deletion not working | https://api.github.com/repos/langchain-ai/langchain/issues/4880/comments | 18 | 2023-05-17T20:16:45Z | 2024-08-10T13:28:34Z | https://github.com/langchain-ai/langchain/issues/4880 | 1,714,599,007 | 4,880 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be helpful if we could define what file types we want to load via the [Google Drive loader](https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/google_drive.html#) i.e.: only docs or sheets or PDFs.
### Motivation
The current loads will load 3 file types: doc... | Add the possibility to define what file types you want to load from a Google Drive | https://api.github.com/repos/langchain-ai/langchain/issues/4878/comments | 1 | 2023-05-17T19:46:54Z | 2023-09-10T16:16:08Z | https://github.com/langchain-ai/langchain/issues/4878 | 1,714,556,155 | 4,878 |
[
"hwchase17",
"langchain"
] | ### System Info
I am trying to implement versioning of chains with prompt and llm config files separated from the chain.json file. When trying to call load_chain from langchain.chains with a chat-based LLM in the llm.json config, it yields:
[c:\Users\KellerBrown\.virtualenvs\llm_pipeline-pYWy7I0v\lib\site-packag... | load_chain giving UserWarning when llm.json configured for chat model | https://api.github.com/repos/langchain-ai/langchain/issues/4872/comments | 1 | 2023-05-17T18:07:04Z | 2023-09-10T16:16:13Z | https://github.com/langchain-ai/langchain/issues/4872 | 1,714,400,903 | 4,872 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
One thing I constantly find myself doing is trying to dig up the prompts that are default for various agent notebook tutorials in the docs. If there was a link to the default prompts corresponding to each agent's mention, I wouldn't have to dig them up to find them, and the learni... | DOC: Incorporate links to the underlying prompts in example docs | https://api.github.com/repos/langchain-ai/langchain/issues/4871/comments | 1 | 2023-05-17T18:04:53Z | 2023-09-10T16:16:18Z | https://github.com/langchain-ai/langchain/issues/4871 | 1,714,397,028 | 4,871 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.171, Python 3.9.0, OS Ubuntu 20.04.6 LTS
Hi @hwchase17 @agola11
Using dolly-v2-7b model with Langchain, I am [running into this issue ](https://github.com/databrickslabs/dolly/issues/174) my question is how to chain the input properly so that chunk from the first chain is fed into... | Using Dolly-v2-7b with langchain getting error: The size of tensor a (2048) must match the size of tensor b (2049) at non-singleton dimension 3 | https://api.github.com/repos/langchain-ai/langchain/issues/4866/comments | 1 | 2023-05-17T16:27:08Z | 2023-09-10T16:16:23Z | https://github.com/langchain-ai/langchain/issues/4866 | 1,714,260,769 | 4,866 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using custom tools. I used zero shot react description agent and it was not giving the final answer. It stopped after using 1st tool.
So, I created a custom agent with custom examples in the prompt. It is still behaving the same way.
This is the output of the agent executer f... | Langchain agent is not continuing the entire flow of execution | https://api.github.com/repos/langchain-ai/langchain/issues/4865/comments | 7 | 2023-05-17T16:12:55Z | 2024-07-15T07:20:59Z | https://github.com/langchain-ai/langchain/issues/4865 | 1,714,241,439 | 4,865 |
[
"hwchase17",
"langchain"
] | ### code
```python
tool_ = load_tools(["serpapi"], serpapi_api_key=serpapi_api_key)
agent = initialize_agent(tool_, llm, agent="zero-shot-react-description", verbose=True, return_intermediate_steps=True)
response = agent({"input":"45*456=?"})
```
### log
> Entering new AgentExecutor chain...
I need to calcula... | Issue: The agent with the text-davinci-003 model and serpapi tool attempted to utilize a non-existent tool | https://api.github.com/repos/langchain-ai/langchain/issues/4863/comments | 3 | 2023-05-17T15:32:21Z | 2023-05-22T07:25:47Z | https://github.com/langchain-ai/langchain/issues/4863 | 1,714,170,658 | 4,863 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain v0.0.171
Mac OS
### Who can help?
@jeffchuber
### 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... | MMR Search in Chroma not working, typo suspected | https://api.github.com/repos/langchain-ai/langchain/issues/4861/comments | 3 | 2023-05-17T14:41:48Z | 2023-06-11T22:33:33Z | https://github.com/langchain-ai/langchain/issues/4861 | 1,714,064,997 | 4,861 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to create a FAISS index with xml files that I have downloaded. However, there doesn't seem to be a loader available for this. Are there any workarounds, or plans to add in a loader for xml files that can't be loaded with MWDumpLoader?
### Suggestion:
Highlight a workaround ... | Issue: Unable to load xml files | https://api.github.com/repos/langchain-ai/langchain/issues/4859/comments | 4 | 2023-05-17T14:05:54Z | 2024-01-10T13:56:44Z | https://github.com/langchain-ai/langchain/issues/4859 | 1,713,995,413 | 4,859 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm trying to load multiple doc files, it is not loading, below is the code
```
txt_loader = DirectoryLoader(folder_path, glob="./*.docx", loader_cls=UnstructuredWordDocumentLoader)
txt_documents = txt_loader.load()
```
I have tried below code too
```
def get_documents(folder_path):
d... | Unable to load multiple word docx | https://api.github.com/repos/langchain-ai/langchain/issues/4856/comments | 3 | 2023-05-17T12:57:21Z | 2023-05-18T10:01:03Z | https://github.com/langchain-ai/langchain/issues/4856 | 1,713,851,650 | 4,856 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: master
OS: Debian GNU/Linux 11 (bullseye)
python: 3.11.3
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prom... | GPT4ALL segfaults when using RetrievalQA | https://api.github.com/repos/langchain-ai/langchain/issues/4855/comments | 3 | 2023-05-17T12:36:49Z | 2023-09-12T16:14:55Z | https://github.com/langchain-ai/langchain/issues/4855 | 1,713,813,644 | 4,855 |
[
"hwchase17",
"langchain"
] |
[SUPPORTED_LOCATIONS](https://github.com/hwchase17/langchain/blob/720ac49f4237e8c177ac65a27903da6215fe91c8/langchain/tools/openapi/utils/api_models.py#L46) does not list APIPropertyLocation.HEADER as supported. However the comments under APIPropertyLocation next to [COOKIE](https://github.com/hwchase17/langchain/bl... | Is APIPropertyLocation.HEADER supported? | https://api.github.com/repos/langchain-ai/langchain/issues/4854/comments | 3 | 2023-05-17T12:26:39Z | 2024-05-21T01:46:21Z | https://github.com/langchain-ai/langchain/issues/4854 | 1,713,795,337 | 4,854 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hi,
I need to get just the query only for a natural language input query.
I don't want to get the results/output of the query from the db, how do I do that?
Thanks!
### Idea or request for content:
_No response_ | DOC: Get only the sql query not the output of the query in SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/4853/comments | 17 | 2023-05-17T12:26:11Z | 2024-06-29T15:25:41Z | https://github.com/langchain-ai/langchain/issues/4853 | 1,713,794,430 | 4,853 |
[
"hwchase17",
"langchain"
] | ### System Info
version 0.0.171
llamacpp.py
doesn't accepts parameter n_gpu_layer
whereas code has it
### Who can help?
@hw
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | llamacpp.py doesn't accepts n_gpu_layer | https://api.github.com/repos/langchain-ai/langchain/issues/4852/comments | 1 | 2023-05-17T11:51:09Z | 2023-09-10T16:16:38Z | https://github.com/langchain-ai/langchain/issues/4852 | 1,713,731,745 | 4,852 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version:0.0.171
windows 10
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selector... | Arbitrary code execution in load_prompt | https://api.github.com/repos/langchain-ai/langchain/issues/4849/comments | 2 | 2023-05-17T10:36:17Z | 2023-08-29T17:58:01Z | https://github.com/langchain-ai/langchain/issues/4849 | 1,713,606,278 | 4,849 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I use the ChatOpenAI and set the verbose be true, but I think this can only get the format prompt, not the final prompt.
How can i get the final prompt that is inputted into ChatGPT?
Thanks for your time.
### Suggestion:
_No response_ | How can I obtain the final Prompt that is inputted into ChatGPT? | https://api.github.com/repos/langchain-ai/langchain/issues/4848/comments | 2 | 2023-05-17T09:59:15Z | 2023-09-12T16:15:00Z | https://github.com/langchain-ai/langchain/issues/4848 | 1,713,548,834 | 4,848 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I found `BaseMultiActionAgentpen` class in langchain but no implementation, maybe it has already in the process of development. I want to implement based on this class (execute multi action in one step) but i encounter some errors. Is there any one has noticed this and has already implem... | Issue: implementation of BaseMultiActionAgentpen | https://api.github.com/repos/langchain-ai/langchain/issues/4846/comments | 1 | 2023-05-17T09:25:20Z | 2023-09-10T16:16:49Z | https://github.com/langchain-ai/langchain/issues/4846 | 1,713,494,765 | 4,846 |
[
"hwchase17",
"langchain"
] | ### Feature request
The [Microsoft Guidance Repository](https://github.com/microsoft/guidance/blob/main/README.md) is a tool designed to enhance the control over modern language models. It allows for a more effective and efficient control than traditional prompting or chaining. It offers features like simple, intuit... | Support for https://github.com/microsoft/guidance | https://api.github.com/repos/langchain-ai/langchain/issues/4843/comments | 3 | 2023-05-17T08:41:08Z | 2023-08-18T19:07:42Z | https://github.com/langchain-ai/langchain/issues/4843 | 1,713,418,715 | 4,843 |
[
"hwchase17",
"langchain"
] | ### System Info
- Python 3.11.3 on Windows 11
- langchain==0.0.171
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
... | SQLDatabaseChain returned for more than just the expected answer | https://api.github.com/repos/langchain-ai/langchain/issues/4840/comments | 2 | 2023-05-17T06:15:49Z | 2023-09-25T16:07:12Z | https://github.com/langchain-ai/langchain/issues/4840 | 1,713,198,963 | 4,840 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, thanks for creating such a great tool, I'm using it well at work and for personal use.
But for production use, I need a more tightly managed, revision-controlled Prompt Template Store.
I know that load_prompt already supported, but I wonder if it can be extended to utilize remote store, like ... | Extending Prompt Template Store to Git | https://api.github.com/repos/langchain-ai/langchain/issues/4839/comments | 3 | 2023-05-17T06:15:12Z | 2023-08-31T05:34:20Z | https://github.com/langchain-ai/langchain/issues/4839 | 1,713,198,334 | 4,839 |
[
"hwchase17",
"langchain"
] | ### Feature request
When you request a webpage using a library like requests or aiohttp, you're getting the initial HTML of the page, but any content that's loaded via JavaScript after the page loads will not be included. That's why you might see template tags like (item.price)}} taka instead of the actual values. Tho... | Make an option in WebBaseLoader to handle dynamic content that is loaded via JavaScript. | https://api.github.com/repos/langchain-ai/langchain/issues/4838/comments | 3 | 2023-05-17T06:06:30Z | 2023-09-19T16:10:37Z | https://github.com/langchain-ai/langchain/issues/4838 | 1,713,187,340 | 4,838 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I was trying to create a pipeline using Langchain and GPT4All (gpt4all-converted.bin). The pipeline ran fine when we tried on a windows system. But now when I am trying to run the same code on a RHEL 8 AWS (p3.8x) instance it is generating gibberish response.
This is my code -
``... | Issue: GPT4All with Langchain generating \x0f\x0f | https://api.github.com/repos/langchain-ai/langchain/issues/4837/comments | 2 | 2023-05-17T05:59:30Z | 2023-09-12T11:15:28Z | https://github.com/langchain-ai/langchain/issues/4837 | 1,713,178,012 | 4,837 |
[
"hwchase17",
"langchain"
] | llama-cpp-python added support for n_gpu_layers
Here is the comment confirming it https://github.com/abetlen/llama-cpp-python/issues/207#issuecomment-1550578859 | [Feature request] Add support for GPU offloading to Llama.cpp llm | https://api.github.com/repos/langchain-ai/langchain/issues/4836/comments | 0 | 2023-05-17T05:37:28Z | 2023-05-17T15:35:22Z | https://github.com/langchain-ai/langchain/issues/4836 | 1,713,157,876 | 4,836 |
[
"hwchase17",
"langchain"
] | ### Feature request
Wrong outputs of the model will raise some exception. So, it may be better to provide clear feedback to the LLM on the specific issue (i.e. incorrect formatting). This would allow the LLM to do self-adjustments and retry, making it robust.
### Motivation
Since when I was using the chain to test... | Making the chain more robust (self-correct) | https://api.github.com/repos/langchain-ai/langchain/issues/4835/comments | 2 | 2023-05-17T05:35:55Z | 2024-04-21T21:16:06Z | https://github.com/langchain-ai/langchain/issues/4835 | 1,713,156,564 | 4,835 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version:0.0.171
windows 10
### 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 Selector... | Arbitrary code execution in JiraAPIWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/4833/comments | 5 | 2023-05-17T04:11:40Z | 2024-03-13T16:12:28Z | https://github.com/langchain-ai/langchain/issues/4833 | 1,713,072,690 | 4,833 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.