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 |
|---|---|---|---|---|---|---|---|---|---|
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain==0.0.228
langchain/utilities/wikipedia.py
```
The run method does not call the language change before execution, so it always runs with lang="en"
```
def run(self, query: str) -> str:
"""Run Wikipedia search and get page summaries."""
#defin... | WIKIPEDIA Language setting not applied in run method | https://api.github.com/repos/langchain-ai/langchain/issues/7733/comments | 5 | 2023-07-14T21:14:07Z | 2024-07-18T21:12:34Z | https://github.com/langchain-ai/langchain/issues/7733 | 1,805,591,388 | 7,733 |
[
"langchain-ai",
"langchain"
] | ### System Info
infra - sagemaker
model - model deployed with `HuggingFaceModel(...).deploy()`
langchain version - v0.0.233
chain types used - RetrievalQA, load_qa_chain
I have a huggingface model deployed behind a sagemaker endpoint which produces outputs as expected when run prediction against it directly. H... | SagemakerEndpoint model doesn't return full output..only when prompted with langchain | https://api.github.com/repos/langchain-ai/langchain/issues/7731/comments | 8 | 2023-07-14T20:56:40Z | 2023-10-31T16:06:15Z | https://github.com/langchain-ai/langchain/issues/7731 | 1,805,568,405 | 7,731 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've set "langchain.debug=True"; however, it does not work for the DirectoryLoader. I have a notebook that tried to load a dozen or more PDFs, and typically, at least one of the files fails (see attached). I looked at the code, and as far as I can tell, there is no trace or debug feature... | Issue: Need a trace or debug feature in Lanchain DirectoryLoader | https://api.github.com/repos/langchain-ai/langchain/issues/7725/comments | 3 | 2023-07-14T18:45:13Z | 2024-03-17T02:32:53Z | https://github.com/langchain-ai/langchain/issues/7725 | 1,805,363,097 | 7,725 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In the Tools\How to\Defining Custom Tools\Handling Tool Errors, it seems that the ToolException import has not been updated to the latest module architecture. (langchain**0.0.233)
```
from langchain.schema import ToolException
from langchain import SerpAPIWrapper
from lang... | DOC: Tools\How to\Defining Custom Tools\Handling Tool Errors Import error with ToolException | https://api.github.com/repos/langchain-ai/langchain/issues/7723/comments | 1 | 2023-07-14T17:55:24Z | 2023-07-14T18:03:04Z | https://github.com/langchain-ai/langchain/issues/7723 | 1,805,271,455 | 7,723 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.232
python==3.8.16
M1 mac
### Who can help?
@hwchase17 @ago
The way that cache is stored in redis is like
> HGET key_name "metadata"
"{\"llm_string\": \"{\\\"lc\\\": 1, \\\"type\\\": \\\"constructor\\\", \\\"id\\\": [\\\"langchain\\\", \\\"chat_models\\\", \\\"openai\\\", \\\"... | Crash occurs when using RedisSemanticCache() as a cache | https://api.github.com/repos/langchain-ai/langchain/issues/7722/comments | 15 | 2023-07-14T17:38:09Z | 2023-11-09T16:14:10Z | https://github.com/langchain-ai/langchain/issues/7722 | 1,805,240,806 | 7,722 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The [Handling Tool Errors section](https://python.langchain.com/docs/modules/agents/tools/how_to/custom_tools#handling-tool-errors) on Defining Custom Tools page has following line as part of the first code cell:
```py
from langchain.schema import ToolException
```
When ru... | DOC: `ToolException` cannot be imported as mentioned on "Defining Custom Tools" page - Python | https://api.github.com/repos/langchain-ai/langchain/issues/7720/comments | 1 | 2023-07-14T17:07:16Z | 2023-07-18T17:08:04Z | https://github.com/langchain-ai/langchain/issues/7720 | 1,805,198,960 | 7,720 |
[
"langchain-ai",
"langchain"
] | ### System Info
Using Lanchain version .233 currently, and each time I make an update and run tests on my project, pip-audit is returning an additional vulnerability. I use Gitlab for the project and I am adding commands to ignore these vulnerabilities in gitlab-ci.yml, but currently the command looks like:
`- pip-... | pip-audit detects numerous vulnerabilities | https://api.github.com/repos/langchain-ai/langchain/issues/7716/comments | 2 | 2023-07-14T16:18:48Z | 2023-10-21T16:06:50Z | https://github.com/langchain-ai/langchain/issues/7716 | 1,805,134,985 | 7,716 |
[
"langchain-ai",
"langchain"
] | ### Feature request
we have the `@tool` decorator and the `Tool.from_function` function.
But they are (or seem to me) inconsistent. The kwargs `handle_tool_error` and `return_direct` are only available in `Tool.from_function` .
Shouldn't be available in both?
Shouldn't be `@tool` just a mirror of `Tool.from... | handle_tool_error in @tool decorator | https://api.github.com/repos/langchain-ai/langchain/issues/7715/comments | 6 | 2023-07-14T16:08:06Z | 2024-06-21T01:05:05Z | https://github.com/langchain-ai/langchain/issues/7715 | 1,805,120,391 | 7,715 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Is there way to Persist Conversation Knowledge Graph Memory to disk or remote storage
### Suggestion:
_No response_ | Persist Conversation Knowledge Graph Memory to disk or remote storage | https://api.github.com/repos/langchain-ai/langchain/issues/7713/comments | 5 | 2023-07-14T15:23:52Z | 2023-12-06T17:45:01Z | https://github.com/langchain-ai/langchain/issues/7713 | 1,805,062,211 | 7,713 |
[
"langchain-ai",
"langchain"
] | ### System Info
Lancghain version 0.0.233.
The arguments Client as well as async_client are ignored since they are set in the pydantic [root_validator ](https://github.com/hwchase17/langchain/blame/master/langchain/llms/huggingface_text_gen_inference.py#L104).
### Who can help?
_No response_
### Information
-... | Client argument ignored in HuggingFaceTextGenInference constructor | https://api.github.com/repos/langchain-ai/langchain/issues/7711/comments | 4 | 2023-07-14T15:08:14Z | 2024-02-07T16:28:48Z | https://github.com/langchain-ai/langchain/issues/7711 | 1,805,040,120 | 7,711 |
[
"langchain-ai",
"langchain"
] | ### System Info
I keep getting an error 'Could not parse LLM output' when using the create_pandas_dataframe_agent with Vicuna 13B as the LLM.
Any solution to this?
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- ... | Could not parse LLM output when using 'create_pandas_dataframe_agent' with open source models (any model other than OpenAI models) | https://api.github.com/repos/langchain-ai/langchain/issues/7709/comments | 7 | 2023-07-14T14:44:30Z | 2024-02-13T16:15:24Z | https://github.com/langchain-ai/langchain/issues/7709 | 1,805,005,018 | 7,709 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Please Create Geo-Argentina in Discord
### Motivation
I want to network with people nearby
### Your contribution
No | Please Create Geo-Argentina in Discord | https://api.github.com/repos/langchain-ai/langchain/issues/7703/comments | 1 | 2023-07-14T12:59:51Z | 2023-07-14T18:42:11Z | https://github.com/langchain-ai/langchain/issues/7703 | 1,804,844,163 | 7,703 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
Python3.9
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [X]... | Getting unwanted/irrelevant/out of context results in document question answering | https://api.github.com/repos/langchain-ai/langchain/issues/7702/comments | 8 | 2023-07-14T12:38:13Z | 2023-12-19T16:23:01Z | https://github.com/langchain-ai/langchain/issues/7702 | 1,804,812,396 | 7,702 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.232
os: ubuntu 20.04
python: 3.9.13
### 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 injection which leads to arbitrary code execution | https://api.github.com/repos/langchain-ai/langchain/issues/7700/comments | 5 | 2023-07-14T10:11:00Z | 2023-10-27T19:17:54Z | https://github.com/langchain-ai/langchain/issues/7700 | 1,804,604,289 | 7,700 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Here is an (incomplete) modification of the documentation for using `CombinedMemory`, but with `VectorStoreRetrieverMemory` instead of `ConversationSummaryMemory`.
```python
from langchain.llms import OpenAI
from langchain.prompts import PromptTemplate
from langchain.chains impor... | Issue: Cannot use CombinedMemory with VectorStoreRetrieverMemory and ConversationTokenBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/7695/comments | 10 | 2023-07-14T06:05:24Z | 2023-08-03T15:00:56Z | https://github.com/langchain-ai/langchain/issues/7695 | 1,804,243,856 | 7,695 |
[
"langchain-ai",
"langchain"
] | ### System Info
### my python code
from langchain import OpenAI, SQLDatabase, SQLDatabaseChain
from langchain.chains import SQLDatabaseSequentialChain
db = SQLDatabase.from_uri("clickhouse://xx:xx@ip/db",
include_tables=include_tables,
custom_table_info=custo... | SQLDatabaseChain runs under the GPT4 model and reports an error | https://api.github.com/repos/langchain-ai/langchain/issues/7691/comments | 11 | 2023-07-14T02:40:44Z | 2024-06-03T14:22:05Z | https://github.com/langchain-ai/langchain/issues/7691 | 1,804,055,036 | 7,691 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.232
Google Colab
### 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... | Executor calling CustomTool with no parameter needed insists to call the tool with a parameter coming from nowhere | https://api.github.com/repos/langchain-ai/langchain/issues/7685/comments | 3 | 2023-07-13T23:08:19Z | 2024-07-01T22:06:48Z | https://github.com/langchain-ai/langchain/issues/7685 | 1,803,880,410 | 7,685 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi!
I have some problem with the `NotebookLoader` loader:
I'm trying to access my repo and detect all of the `.ipynb` files, and then load them to the LLM Chain I'm implementing using LangChain. The repo can be viewed [here](https://github.com/eilone/RepoReader/tree/eilon-br)
```... | Issue: Can't use NotebookLoader to load ipynb files generically | https://api.github.com/repos/langchain-ai/langchain/issues/7671/comments | 3 | 2023-07-13T17:36:30Z | 2023-10-19T16:05:13Z | https://github.com/langchain-ai/langchain/issues/7671 | 1,803,479,936 | 7,671 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.230
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document ... | ArxivRetriever should return a metadata Sources field | https://api.github.com/repos/langchain-ai/langchain/issues/7666/comments | 3 | 2023-07-13T15:46:48Z | 2023-10-21T16:06:55Z | https://github.com/langchain-ai/langchain/issues/7666 | 1,803,303,718 | 7,666 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hello, I was looking into the LangChain `text_splitter` documentation and found that Python documentation for this section is down https://python.langchain.com/docs/modules/data_connection/text_splitters.html. Thank you for checking it!
### Idea or request for content:
_No resp... | DOC: Text Splitter Python Doc down webpage | https://api.github.com/repos/langchain-ai/langchain/issues/7665/comments | 4 | 2023-07-13T15:17:41Z | 2023-10-15T22:30:26Z | https://github.com/langchain-ai/langchain/issues/7665 | 1,803,252,587 | 7,665 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hello, and thanks for this fantastic library!!
In pyproject.toml, the Pydantic library [is pinned to version 1.x](https://github.com/hwchase17/langchain/blob/master/pyproject.toml#L15)
I'd like to unpin that dependency by changing `^1` to `>=1`.
### Motivation
Pydantic 2.0.2 is appar... | Uncap pydantic dependency (allow pydantic 2.x) | https://api.github.com/repos/langchain-ai/langchain/issues/7663/comments | 11 | 2023-07-13T14:59:49Z | 2024-02-08T17:41:20Z | https://github.com/langchain-ai/langchain/issues/7663 | 1,803,218,927 | 7,663 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I'd like to pass in documents to a chain created from `load_qa_with_sources_chain` that are the results of `compression_retriever.get_relevant_documents(user_query)`. It's not clear from the documentation whether this is possible, and, if so, how to accomplish it.
### Idea or re... | DOC: ContextualCompressionRetriever - is it possible to retain sources | https://api.github.com/repos/langchain-ai/langchain/issues/7661/comments | 3 | 2023-07-13T14:06:40Z | 2023-09-05T12:24:39Z | https://github.com/langchain-ai/langchain/issues/7661 | 1,803,109,618 | 7,661 |
[
"langchain-ai",
"langchain"
] | ### System Info
Version: 0.0.201
```
llm = ChatVertexAI(temperature=0)
qa_chain_mr = RetrievalQA.from_chain_type(
llm, retriever=vectordb.as_retriever(), chain_type="refine"
)
result = qa_chain_mr({"query": question})
result["result"]
```
Error:
---------------------------------------------------... | RetrievalQA.from_chain_type not working fine for chain_type="refine" when using ChatVertexAI | https://api.github.com/repos/langchain-ai/langchain/issues/7658/comments | 1 | 2023-07-13T13:41:26Z | 2023-10-19T16:05:23Z | https://github.com/langchain-ai/langchain/issues/7658 | 1,803,060,313 | 7,658 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a case,that there are many tools to be used, so i can't put them all in prompt, is there any good ideas, retrievers, to filtrate the tools?
and i have try the embedding, vector_store ,but it can not filtrate all tools i need, and it can't filtrate the tools which are Indirec... | Issue: Tool many tools, and the embedding can not filter all tools i need, is there any good ideas? | https://api.github.com/repos/langchain-ai/langchain/issues/7657/comments | 1 | 2023-07-13T13:30:49Z | 2023-10-19T16:05:28Z | https://github.com/langchain-ai/langchain/issues/7657 | 1,803,037,316 | 7,657 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
File "/home/ajay/anaconda3/envs/andy/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/home/ajay/MeetsMeta/scripts/streamlit.py", line 72, in <module>
msg = {"role": "assistant", "content":... | Could not parse LLM output: `AI: Alright, if you have any other questions in the future, feel free to ask. Enjoy your day!` | https://api.github.com/repos/langchain-ai/langchain/issues/7655/comments | 3 | 2023-07-13T13:07:52Z | 2023-11-29T16:08:55Z | https://github.com/langchain-ai/langchain/issues/7655 | 1,802,991,660 | 7,655 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
- Azure/OpenAI API has a user (Optional) parameter.
- Create chat completion
- https://platform.openai.com/docs/api-reference/chat/create#chat/create-user
- https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#completions
- Create embeddings
- ... | Set OpenAIEmbeddings parameters, not explicitly specified | https://api.github.com/repos/langchain-ai/langchain/issues/7654/comments | 2 | 2023-07-13T12:59:32Z | 2023-07-20T12:32:49Z | https://github.com/langchain-ai/langchain/issues/7654 | 1,802,976,205 | 7,654 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.231
Python version: 3.10.11
Bug:
There is an issue when clearing LLM cache for SQL Alchemy based caches.
langchain.llm_cache.clear() does not clear the cache for SQLite LLM cache.
Reason: it doesn't commit the deletion database change. The deletion doesn't take effect... | SQLite LLM cache clear does not take effect | https://api.github.com/repos/langchain-ai/langchain/issues/7652/comments | 0 | 2023-07-13T12:36:48Z | 2023-07-13T13:39:06Z | https://github.com/langchain-ai/langchain/issues/7652 | 1,802,933,301 | 7,652 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.229
text-generation==0.6.0
Python 3.10.12
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pr... | HuggingFaceTextGenInference: required fields not permitted, e.g. 'truncate' | https://api.github.com/repos/langchain-ai/langchain/issues/7650/comments | 1 | 2023-07-13T11:30:42Z | 2023-07-14T20:23:58Z | https://github.com/langchain-ai/langchain/issues/7650 | 1,802,820,438 | 7,650 |
[
"langchain-ai",
"langchain"
] | I am using router chaining to route my input. For the destination chains, I have four LLMChains and one ConversationalRetrievalChain.
And to combine this I am using MultiPromptChain. But it isn't working.
Below are the functions to generate router chains and destination chains.
Any suggestions?
```
def gener... | Can't use ConversationalRetrievalChain with router chaining | https://api.github.com/repos/langchain-ai/langchain/issues/7644/comments | 4 | 2023-07-13T08:54:29Z | 2023-10-21T16:07:00Z | https://github.com/langchain-ai/langchain/issues/7644 | 1,802,530,745 | 7,644 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
how to use contextual compression in a ConversationalRetrievalChain
### Suggestion:
_No response_ | how to use contextual compression in a ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7642/comments | 1 | 2023-07-13T07:44:03Z | 2023-07-13T07:50:51Z | https://github.com/langchain-ai/langchain/issues/7642 | 1,802,406,179 | 7,642 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.231, Windows 10, Python 3.10.11
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | RCE vulnerability in CPAL (causal program-aided language) chain | https://api.github.com/repos/langchain-ai/langchain/issues/7641/comments | 1 | 2023-07-13T07:26:31Z | 2023-08-29T18:44:50Z | https://github.com/langchain-ai/langchain/issues/7641 | 1,802,378,837 | 7,641 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using LLMChainFilter and ContextualCompressionRetriever to compress my context, like this
`llm=AzureChatOpenAI(deployment_name="gpt-35-turbo", model_name='gpt-35-turbo', temperature=0
, max_tokens=500)
compressor = LLMChainFilter.from_llm(llm)
compression_retriever =ContextualC... | can LLMChainFilter support default retriever | https://api.github.com/repos/langchain-ai/langchain/issues/7640/comments | 1 | 2023-07-13T07:06:22Z | 2023-10-19T16:05:40Z | https://github.com/langchain-ai/langchain/issues/7640 | 1,802,349,041 | 7,640 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.231 on mac, python 3.11
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | Chroma db w/client: AttributeError: 'Chroma' object has no attribute '_client_settings' | https://api.github.com/repos/langchain-ai/langchain/issues/7638/comments | 2 | 2023-07-13T06:06:50Z | 2023-07-13T13:28:58Z | https://github.com/langchain-ai/langchain/issues/7638 | 1,802,251,081 | 7,638 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.230
### 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
... | chromadb.errors.InvalidDimensionException: Dimensionality of (512) does not match index dimensionality (768) | https://api.github.com/repos/langchain-ai/langchain/issues/7634/comments | 4 | 2023-07-13T03:47:13Z | 2024-03-13T19:57:14Z | https://github.com/langchain-ai/langchain/issues/7634 | 1,802,101,252 | 7,634 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.231 on mac, python 3.11
### Who can help?
@jeffchub
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | Chroma db throws `ValueError: Expected metadata to be a non-empty dict, got {}` as ConversationChain memory | https://api.github.com/repos/langchain-ai/langchain/issues/7633/comments | 10 | 2023-07-13T03:42:31Z | 2023-12-15T10:19:21Z | https://github.com/langchain-ai/langchain/issues/7633 | 1,802,097,263 | 7,633 |
[
"langchain-ai",
"langchain"
] | ### Feature request
import os
from langchain.embeddings import HuggingFaceEmbeddings
EMBEDDING_MODEL = os.getenv("EMBEDDING_MODEL")
model_kwargs = {"device": "cpu"}
encode_kwargs = {"normalize_embeddings": False}
embeddings = HuggingFaceEmbeddings(
model_name=EMBEDDING_MODEL, model_kwargs=model_kwargs, ... | Dimension from embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/7632/comments | 1 | 2023-07-13T03:40:59Z | 2023-10-19T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7632 | 1,802,096,176 | 7,632 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version : 0.0.216
Python version : 3.11.4
System: Windows
### Who can help?
@hwchase17 @eyu
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / ... | How to enable the memory mechanism when using create_pandas_dataframe_agent? | https://api.github.com/repos/langchain-ai/langchain/issues/7625/comments | 3 | 2023-07-12T22:49:20Z | 2023-10-19T16:05:48Z | https://github.com/langchain-ai/langchain/issues/7625 | 1,801,867,603 | 7,625 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi my data has 10 rows and I tried with both pandas and csv agent, in the observations I can see the agents are able to process all rows, but in the final answer both agents only output the first 5 rows from df.head(). I tried to set 'number_of_head_rows' to 10 but it doesn't work. Is there any way to ... | Pandas / CSV agent only show partial results from dataframe head | https://api.github.com/repos/langchain-ai/langchain/issues/7623/comments | 5 | 2023-07-12T22:44:43Z | 2023-10-12T21:14:42Z | https://github.com/langchain-ai/langchain/issues/7623 | 1,801,862,154 | 7,623 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version : 0.0.216
Python version : 3.11.4
System: Windows
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | Is it possible to use open source embedding methods rather than OpenAIEmbeddings? | https://api.github.com/repos/langchain-ai/langchain/issues/7619/comments | 2 | 2023-07-12T21:32:46Z | 2024-04-26T12:42:21Z | https://github.com/langchain-ai/langchain/issues/7619 | 1,801,791,302 | 7,619 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using Windows 11 as OS, RAM = 44GB. Also, I am using LLaMa vicuna-7b-1.1.ggmlv3.q4_0.bin as Local LLM.
I am using Python 3.11.3 in venv virtual environment in VS code IDE and Langchain version 0.0.221.
<img width="948" alt="Screenshot 2023-07-13_Pydantic Error" src="https://github.com/hwcha... | Issue with Langchain LLM Chains | https://api.github.com/repos/langchain-ai/langchain/issues/7618/comments | 4 | 2023-07-12T21:18:33Z | 2023-10-21T16:07:05Z | https://github.com/langchain-ai/langchain/issues/7618 | 1,801,774,854 | 7,618 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain : v0.0.231
### 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 Par... | _get_python_function_name does not work with classes | https://api.github.com/repos/langchain-ai/langchain/issues/7616/comments | 4 | 2023-07-12T21:03:09Z | 2023-10-19T16:05:58Z | https://github.com/langchain-ai/langchain/issues/7616 | 1,801,757,859 | 7,616 |
[
"langchain-ai",
"langchain"
] | ### System Info
It's unclear how to check your langchain version, I can instead detail the steps I have taken.
I am running python 3.10.6 and python 3.11.4
I have uninstalled and reinstalled both versions individually, in path, and attempted to install and run langchain with just one of either of those two vers... | ImportError: cannot import name 'AgentType' from 'langchain.agents' | https://api.github.com/repos/langchain-ai/langchain/issues/7613/comments | 6 | 2023-07-12T20:17:05Z | 2024-02-15T16:11:10Z | https://github.com/langchain-ai/langchain/issues/7613 | 1,801,689,378 | 7,613 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, LangChain community,
just to share that even with the examples mentioned in the official documentation, it is almost impossible to get consistent results when using agents with Wikipedia/Google search tools. Or the search is non conclusive or the LLM is totally hallucinating at th... | Issue: Big issue with inefficient search from Google/Wikipedia and LLM hallucinations with ReAct agent | https://api.github.com/repos/langchain-ai/langchain/issues/7610/comments | 1 | 2023-07-12T20:00:50Z | 2023-10-18T16:05:33Z | https://github.com/langchain-ai/langchain/issues/7610 | 1,801,664,816 | 7,610 |
[
"langchain-ai",
"langchain"
] | ### System Info
Repro:
Running this code sample.
https://github.com/techleadhd/chatgpt-retrieval
```
Traceback (most recent call last):
File "/home/maciej/workdir/intenzia/langchaintest/chatgpt-retrieval/chatgpt.py", line 5, in <module>
from langchain.chains import ConversationalRetrievalChain, Retrieval... | BaseEmbaasLoader validation fails | https://api.github.com/repos/langchain-ai/langchain/issues/7609/comments | 3 | 2023-07-12T19:38:41Z | 2023-07-13T07:50:31Z | https://github.com/langchain-ai/langchain/issues/7609 | 1,801,636,599 | 7,609 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.170
openai==0.27.4
python
windows
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
-... | If we continuously send "Hello" messages to the "conversational retrieval chain," the model produces weired/wrong answers. | https://api.github.com/repos/langchain-ai/langchain/issues/7606/comments | 9 | 2023-07-12T18:25:59Z | 2024-01-05T13:06:23Z | https://github.com/langchain-ai/langchain/issues/7606 | 1,801,539,064 | 7,606 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.206 ; python_version >= "3.11" and python_version < "4.0"
langchainplus-sdk==0.0.16 ; python_version >= "3.11" and python_version < "4.0"
### Who can help?
@hwaking @agola11 Hey Guys! The pinecone wrapper is doing a weird auto-type conversion and its thinking my string ID values are... | Type Error Langchain auto converting string to date.timestamp in Pinecone similarity search when Document pagecontent value is a string that "could" be a date ex: 21070926 | https://api.github.com/repos/langchain-ai/langchain/issues/7605/comments | 2 | 2023-07-12T18:01:54Z | 2023-10-18T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7605 | 1,801,502,750 | 7,605 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support for Meilisearch vector search.
[Meilisearch](https://www.meilisearch.com) is an open-source search engine. See [documentation](https://www.meilisearch.com/docs)
### Motivation
Meilisearch is releasing the vector search/store feature, which should be available from July 31st.
### You... | Add support for Meilisearch vector databases | https://api.github.com/repos/langchain-ai/langchain/issues/7603/comments | 3 | 2023-07-12T15:32:23Z | 2023-07-29T00:06:55Z | https://github.com/langchain-ai/langchain/issues/7603 | 1,801,241,754 | 7,603 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python: 3.10.11
LangChain: 0.0.229
SO: Windows, Linux Ubuntu and Mac
Hi people,
I'm using **ConversationalRetrievalChain** without any modifications, and in 90% of the cases, it responds by repeating words and entire phrases, like in the examples below:
Questions about Duna book:
**How ... | ConversationalRetrievalChain with streaming=True => responds by repeating words and phrases | https://api.github.com/repos/langchain-ai/langchain/issues/7599/comments | 10 | 2023-07-12T13:46:03Z | 2024-05-06T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7599 | 1,801,022,338 | 7,599 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'd like to understand if there is a way to have from OpenAI response a **list of values** (string or objects: it's the same) of a **fixed length**. I read the documentation here: https://python.langchain.com/docs/modules/model_io/output_parsers/comma_separated but I didn't find anything... | Output parser set number of list result | https://api.github.com/repos/langchain-ai/langchain/issues/7598/comments | 3 | 2023-07-12T13:31:51Z | 2023-10-19T16:06:03Z | https://github.com/langchain-ai/langchain/issues/7598 | 1,800,994,485 | 7,598 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hello Langchain community!
I'm currently in the process of developing a company's chatbot, and I've chosen to use both a CSV file and Pinecone DB for the project.
Here's a basic outline of the structure I've adopted so far:
 Allow different choices of threshold kind: allow users to choose whether >= threshold or <= threshold
2) Allow users to choose to return the relevance score along with the docs
### Motivatio... | Improve the usage of relevance score threshold and allow the return of the scores | https://api.github.com/repos/langchain-ai/langchain/issues/7590/comments | 2 | 2023-07-12T09:38:17Z | 2023-10-18T16:05:52Z | https://github.com/langchain-ai/langchain/issues/7590 | 1,800,582,601 | 7,590 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using langchain v0.0.228. But namespace parameter is gone in existing_index() of v0.0.230.
Why the namespace is gone?
@hwchase17 @eyurtsev @agola11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compo... | namespace parameter is gone in pinecone from_existing_index method | https://api.github.com/repos/langchain-ai/langchain/issues/7589/comments | 2 | 2023-07-12T09:34:19Z | 2023-07-12T14:45:09Z | https://github.com/langchain-ai/langchain/issues/7589 | 1,800,575,762 | 7,589 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
if use ElasticVectorSearch as as_retriever and set the params:
```python
elastic_vector_search.as_retriever(search_type="similarity_score_threshold",
search_kwargs={"score_threshold":... | Question:ConversationalRetrievalChain with retriever | https://api.github.com/repos/langchain-ai/langchain/issues/7588/comments | 1 | 2023-07-12T09:28:48Z | 2023-07-13T03:37:20Z | https://github.com/langchain-ai/langchain/issues/7588 | 1,800,566,204 | 7,588 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS
Python 3.10.6
langchain 0.0.230
langchainplus-sdk 0.0.20
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Template... | Error when creating a custom ConversationalChatAgent | https://api.github.com/repos/langchain-ai/langchain/issues/7585/comments | 3 | 2023-07-12T08:21:47Z | 2024-01-19T07:28:12Z | https://github.com/langchain-ai/langchain/issues/7585 | 1,800,444,981 | 7,585 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Below code does not seem to work,
```
db = SQLDatabase.from_uri("mssql+pymssql://<some server>/<some db>",
include_tables=['Some table'], view_support=True)
db1 = SQLDatabase.from_uri("mssql+pymssql://<some other... | DOC: Langchain works well with single database, but in a session if I have to work with multiple database, it does not seem working | https://api.github.com/repos/langchain-ai/langchain/issues/7581/comments | 10 | 2023-07-12T05:02:43Z | 2024-05-23T01:09:42Z | https://github.com/langchain-ai/langchain/issues/7581 | 1,800,186,972 | 7,581 |
[
"langchain-ai",
"langchain"
] | ### Why do I care about this issue?
MLflow also uses sqlalchemy to handle sqlite-based storage, and calls `sqlalchemy.orm.configure_mappers()` during initialization. With langchain>=0.0.228, MLflow fails to start. All MLflow users who choose sqlite-based storage cannot use it with langchain.
### System Info
lan... | sqlalchemy fails to initialize with KeyError "EmbeddingStore" | https://api.github.com/repos/langchain-ai/langchain/issues/7579/comments | 1 | 2023-07-12T04:18:26Z | 2023-07-12T07:35:27Z | https://github.com/langchain-ai/langchain/issues/7579 | 1,800,138,889 | 7,579 |
[
"langchain-ai",
"langchain"
] | https://github.com/hwchase17/langchain/blob/2667ddc6867421842fe027f1946644f452de8eb3/langchain/chains/base.py#L386-L393
when I have this:
```
chain = create_structured_output_chain(Categorization, llm, prompt, verbose=True)
response = chain.run(trx_description)
```
my `response` object is a dict not a str, but ... | chain.run doesn't necessarily return a `str` | https://api.github.com/repos/langchain-ai/langchain/issues/7578/comments | 16 | 2023-07-12T04:11:51Z | 2023-10-13T02:31:07Z | https://github.com/langchain-ai/langchain/issues/7578 | 1,800,131,260 | 7,578 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.230
### Who can help?
@raymond-yuan
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | PGVector.from_documents breaking from 0.0.229 to 0.0.230 | https://api.github.com/repos/langchain-ai/langchain/issues/7577/comments | 2 | 2023-07-12T02:50:01Z | 2023-07-13T03:26:29Z | https://github.com/langchain-ai/langchain/issues/7577 | 1,800,069,048 | 7,577 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.229
Platform: AWS Lambda execution
Python version: 3.9
I get the following error when creating the AmazonKendraRetriever using LangChain version 0.0.229.
Code to create retriever:
`retriever = AmazonKendraRetriever(index_id=kendra_index)`
Error:
```[ERROR] Validat... | AmazonKendraRetriever "Could not load credentials" error in latest release | https://api.github.com/repos/langchain-ai/langchain/issues/7571/comments | 1 | 2023-07-12T00:16:40Z | 2023-07-13T03:47:37Z | https://github.com/langchain-ai/langchain/issues/7571 | 1,799,948,758 | 7,571 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Current version of document loader for Notion DB doesn't supports following properties for metadata
- `unique_id`
- https://www.notion.so/help/unique-id
- `status`
- https://www.notion.so/help/guides/status-property-gives-clarity-on-tasks
- `people`
- useful property when y... | Issue: Document loader for Notion DB doesn't supports some properties | https://api.github.com/repos/langchain-ai/langchain/issues/7569/comments | 0 | 2023-07-12T00:02:03Z | 2023-07-12T07:34:56Z | https://github.com/langchain-ai/langchain/issues/7569 | 1,799,937,363 | 7,569 |
[
"langchain-ai",
"langchain"
] | ### System Info
python==3.9.17
langchain==0.0.190
Win 11 64 bit
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | ` ValueError: Could not parse output` when using `QAGenerateChain`'s `.apply_and_parse()` method | https://api.github.com/repos/langchain-ai/langchain/issues/7559/comments | 6 | 2023-07-11T19:44:49Z | 2023-10-31T16:06:20Z | https://github.com/langchain-ai/langchain/issues/7559 | 1,799,649,527 | 7,559 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There are tools with `func` but whose implementation of coroutine would be just same. E.g.,
```python
def adder(x, y):
return x+y
async def aadder(x, y):
return x+y
adder_tool = Tool(func=adder, coroutine=aadder, ...)
```
I have to define `adder` and `aadder` redundantly.
Of co... | Use `func` as a default `coroutine` method in Tool instantiation | https://api.github.com/repos/langchain-ai/langchain/issues/7558/comments | 2 | 2023-07-11T19:23:13Z | 2023-10-17T16:04:49Z | https://github.com/langchain-ai/langchain/issues/7558 | 1,799,618,568 | 7,558 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Introduce a follow-up query recommender callback to enhance user experience and engagement in case of chatbot use case.
The recommender callback will suggest relevant follow-up queries generated by LLM based on the user's conversation history, facilitating smoother interactions.
The proposed fl... | Follow-up Query Recommender Callback | https://api.github.com/repos/langchain-ai/langchain/issues/7557/comments | 2 | 2023-07-11T18:18:50Z | 2023-12-21T16:07:34Z | https://github.com/langchain-ai/langchain/issues/7557 | 1,799,513,554 | 7,557 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.230
python 3.10
From first example of using calculator from: https://learn.deeplearning.ai/langchain/lesson/7/agents
> Entering new chain...
ACTION: json
{
"action": "Calculator",
"action_input": "25% of 300"
}
The text is what the ChatOutputParser in agents/chat/outp... | Using Agent - ChatOpenAI - response can't be parsed because it starts with 'json' for next action (RC identified and fix proposed) | https://api.github.com/repos/langchain-ai/langchain/issues/7554/comments | 5 | 2023-07-11T16:48:21Z | 2023-10-10T16:15:58Z | https://github.com/langchain-ai/langchain/issues/7554 | 1,799,345,871 | 7,554 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: '0.0.230'
llama-index version: '0.7.4'
python: 3.10.11
### Who can help?
@hwchase17
@agola11
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Pr... | GPTIndexChatMemory doesn't work as expected with langchain and the agent doesn't use the chat history | https://api.github.com/repos/langchain-ai/langchain/issues/7552/comments | 1 | 2023-07-11T16:38:22Z | 2023-10-17T16:04:55Z | https://github.com/langchain-ai/langchain/issues/7552 | 1,799,329,321 | 7,552 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.230
Python: 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | Pass a JSON string and get an error mismatched or missing input parameter | https://api.github.com/repos/langchain-ai/langchain/issues/7551/comments | 3 | 2023-07-11T16:34:25Z | 2023-07-12T00:44:36Z | https://github.com/langchain-ai/langchain/issues/7551 | 1,799,323,572 | 7,551 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.225 also tested with 0.0.229
I can only reproduce it in Azure, I cant reproduce it locally.
### Who can help?
I have a simple python app with streamlit and langchain, I am deploying this to Azure via CI/CD with the following YAML definition
stages:
- stage: Build
d... | TypeError: issubclass() arg 1 must be a class when using langchain in azure | https://api.github.com/repos/langchain-ai/langchain/issues/7548/comments | 23 | 2023-07-11T15:57:23Z | 2024-03-13T07:43:44Z | https://github.com/langchain-ai/langchain/issues/7548 | 1,799,257,114 | 7,548 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.229
cannot instantiate VespaRetriever (error that it takes only 1 argument but 4 were given)
rolling version back
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | 0.0.229 VespaRetriver signature broken | https://api.github.com/repos/langchain-ai/langchain/issues/7547/comments | 3 | 2023-07-11T15:41:42Z | 2023-11-01T16:06:35Z | https://github.com/langchain-ai/langchain/issues/7547 | 1,799,224,657 | 7,547 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Accessing many corporate resources requires special authentication, e.g. Kerberos.
The `requests` library supports passing an auth object, e.g.
`requests.get(url, auth=HttpNegotiateAuth(), verify=False)` to use SSPI.
We're able to pass a `requests_wrapper `to `LLMRequestsChain`, ... | Issue: Passing auth object to LLMRequestsChain | https://api.github.com/repos/langchain-ai/langchain/issues/7542/comments | 0 | 2023-07-11T13:59:38Z | 2023-07-14T12:38:25Z | https://github.com/langchain-ai/langchain/issues/7542 | 1,799,011,449 | 7,542 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to query the documents using the below stack
**Langchain+ embedding tool + vectore store + LLM model**
There are many tools and techniques for this in langchain including **load_qa_chain, RetrievalQA,VectorstoreIndexCreator,ConversationalRetrievalChain**. Those are alre... | Importance of VectorStoreToolkit, vectorstore_agent and VectorStoreInfo in document based domain specific question answering | https://api.github.com/repos/langchain-ai/langchain/issues/7539/comments | 6 | 2023-07-11T13:06:13Z | 2023-10-23T16:07:02Z | https://github.com/langchain-ai/langchain/issues/7539 | 1,798,902,303 | 7,539 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.12
Langchain 0.0.229
OS Linux Mint 21.1
### 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
... | openai.error.InvalidRequestError: Resource not found | https://api.github.com/repos/langchain-ai/langchain/issues/7536/comments | 3 | 2023-07-11T12:23:21Z | 2023-10-17T16:05:04Z | https://github.com/langchain-ai/langchain/issues/7536 | 1,798,820,813 | 7,536 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The sql agent should query in a manner that it gets **unique** values as sample data (metadata) instead of all values. Only then will it be able to understand which columns to query from. Otherwise, it might get confused between similar-sounding column names (ex: age, age_group)
### Motivation
Da... | Support for sparse tables | https://api.github.com/repos/langchain-ai/langchain/issues/7535/comments | 1 | 2023-07-11T12:18:49Z | 2023-10-17T16:05:09Z | https://github.com/langchain-ai/langchain/issues/7535 | 1,798,812,094 | 7,535 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
python 3.9
### 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
- [X] Output Parsers
-... | Generating answers from LLM's pretrianed knowledge base, instead of from the embedded document. | https://api.github.com/repos/langchain-ai/langchain/issues/7532/comments | 6 | 2023-07-11T11:35:56Z | 2023-11-10T16:08:12Z | https://github.com/langchain-ai/langchain/issues/7532 | 1,798,735,631 | 7,532 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to integrate confluence for open ai embedding and vector store using in memory doc-array.
I am sure this must not be issue Langchain but thought of posting here . Any pointer would really appreciated.
I created one free trial version account with atlassian.com and try... | Issue: ConfluenceLoader 403 Forbidden Failed to parse Connect Session Auth Token | https://api.github.com/repos/langchain-ai/langchain/issues/7531/comments | 3 | 2023-07-11T11:29:58Z | 2023-07-12T06:21:31Z | https://github.com/langchain-ai/langchain/issues/7531 | 1,798,725,077 | 7,531 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.228
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X... | $contain is not a valid operator in SelfQueryRetrieval | https://api.github.com/repos/langchain-ai/langchain/issues/7529/comments | 6 | 2023-07-11T11:07:41Z | 2024-03-22T18:02:58Z | https://github.com/langchain-ai/langchain/issues/7529 | 1,798,689,044 | 7,529 |
[
"langchain-ai",
"langchain"
] | ### Using Open source LLM models in SQL Chain
Is it possible to use open source LLM models in SQL chain ?
I have tried using tapex/Flan models in SQL Chain, but getting a serialization error on dict[] classes.
Error:
```
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wr... | Using Open source LLM models in SQL Chain | https://api.github.com/repos/langchain-ai/langchain/issues/7528/comments | 8 | 2023-07-11T10:59:28Z | 2024-02-23T16:08:17Z | https://github.com/langchain-ai/langchain/issues/7528 | 1,798,675,621 | 7,528 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I tested the enable_limit to True and asking thins like
1. Get 3 residents who were born in xxx
2. Get 5 Residens who were bon in xxx
It works pretty well.
However in my use case, users can ask also: List all the residents who were born in xxx.
When questions like this are done, by defa... | SelfQueryRetriever, Add option to return all when user asks | https://api.github.com/repos/langchain-ai/langchain/issues/7527/comments | 3 | 2023-07-11T10:21:55Z | 2023-11-20T16:06:02Z | https://github.com/langchain-ai/langchain/issues/7527 | 1,798,612,838 | 7,527 |
[
"langchain-ai",
"langchain"
] | ### System Info
python==3.10
langchain==0.0.169
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | RetrievalQAWithSourcesChain acall does not write fromatted prompt to terminal if verbose=True | https://api.github.com/repos/langchain-ai/langchain/issues/7526/comments | 3 | 2023-07-11T09:22:43Z | 2023-07-11T11:21:36Z | https://github.com/langchain-ai/langchain/issues/7526 | 1,798,503,336 | 7,526 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain v0.0.229, Python v3.10.12, Ubuntu 20.04.2 LTS
### 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 ... | Specific name of the current chain is not displayed | https://api.github.com/repos/langchain-ai/langchain/issues/7524/comments | 5 | 2023-07-11T08:28:40Z | 2023-07-14T00:14:47Z | https://github.com/langchain-ai/langchain/issues/7524 | 1,798,403,821 | 7,524 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.228
### Who can help?
@lbsnrs
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] V... | AttributeError: 'str' object has no attribute 'upsert' in Pinecone Hybrid Search | https://api.github.com/repos/langchain-ai/langchain/issues/7523/comments | 3 | 2023-07-11T08:19:47Z | 2023-10-18T16:06:03Z | https://github.com/langchain-ai/langchain/issues/7523 | 1,798,387,965 | 7,523 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Traceback (most recent call last):
File "D:\EmbeddingsSearch\llm-python\02b_llama_chroma.py", line 2, in <module>
from llama_index import SimpleDirectoryReader, StorageContext, GPTVectorStoreIndex
File "F:\Anaconda\lib\site-packages\llama_index\__init__.py", line 15, in <modul... | TypeError: issubclass() arg 1 must be a class | https://api.github.com/repos/langchain-ai/langchain/issues/7522/comments | 22 | 2023-07-11T07:59:09Z | 2024-04-30T09:28:55Z | https://github.com/langchain-ai/langchain/issues/7522 | 1,798,351,804 | 7,522 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/retrievers/integrations/pinecone_hybrid_search
### Idea or request for content:
Its not clear on this page how to index data in pinecone for hybrid search, I am already indexing like this and it works, but for... | Hybrid search indexing how to | https://api.github.com/repos/langchain-ai/langchain/issues/7519/comments | 3 | 2023-07-11T06:48:37Z | 2023-10-28T16:05:35Z | https://github.com/langchain-ai/langchain/issues/7519 | 1,798,231,461 | 7,519 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.228
python 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | AttributeError: 'tuple' object has no attribute 'page_content' | https://api.github.com/repos/langchain-ai/langchain/issues/7518/comments | 4 | 2023-07-11T06:24:41Z | 2023-12-30T23:53:45Z | https://github.com/langchain-ai/langchain/issues/7518 | 1,798,199,037 | 7,518 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.8
Langchain==0.0.229
AWS Sagemaker Studio w/ **PyTorch 2.0.0 Python 3.10 GPU Optimized** image
### Who can help?
@hwchase17 or @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Langchain Import Issue | https://api.github.com/repos/langchain-ai/langchain/issues/7509/comments | 21 | 2023-07-11T01:12:10Z | 2024-07-13T00:38:14Z | https://github.com/langchain-ai/langchain/issues/7509 | 1,797,896,792 | 7,509 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using langchain 0.0.218 in python 3.10.0 and when I use glob patterns as a direct argument to initialize the class this does not load anything. e.g. DirectoryLoader(path = root_dir + 'data', glob = "**/*.xml")
But when I use it in loader_kwargs it works perfect.
e.g. DirectoryLoader(path = ... | Glob patterns not finding documents when using it as an argument to DirectoryLoader | https://api.github.com/repos/langchain-ai/langchain/issues/7506/comments | 5 | 2023-07-11T00:04:37Z | 2023-11-09T16:11:45Z | https://github.com/langchain-ai/langchain/issues/7506 | 1,797,824,924 | 7,506 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
It is soooooo **weird** that this repo is still under a personal GitHub account 😕
At this moment in time (1:45pm 7-10-2023)
https://github.com/lang-chain is still available.
It would feel more professional if this repo became an organization.
### Suggestion:
Convert this pers... | MAKE langchain AN ORGANIZATION | https://api.github.com/repos/langchain-ai/langchain/issues/7500/comments | 2 | 2023-07-10T20:46:56Z | 2023-08-17T21:01:34Z | https://github.com/langchain-ai/langchain/issues/7500 | 1,797,559,582 | 7,500 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I keep getting OutputParserException: Could not parse LLM output.
I have tried setting handle_parsing_errors=True as well as handle_parsing_errors="Check your output and make sure it conforms!", and yet most of the times I find myself getting the OutputParserException.
Here is an... | MRKL Agent OutputParser Exception. | https://api.github.com/repos/langchain-ai/langchain/issues/7493/comments | 6 | 2023-07-10T18:46:36Z | 2024-03-21T16:04:42Z | https://github.com/langchain-ai/langchain/issues/7493 | 1,797,326,865 | 7,493 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain-0.0.229
python 3.10
### Who can help?
@delgermurun
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | JinaChat Authentication | https://api.github.com/repos/langchain-ai/langchain/issues/7490/comments | 9 | 2023-07-10T18:15:56Z | 2023-11-21T15:23:24Z | https://github.com/langchain-ai/langchain/issues/7490 | 1,797,274,034 | 7,490 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/7423
<div type='discussions-op-text'>
<sup>Originally posted by **aju22** July 9, 2023</sup>
Here is the code I'm using for initializing a Zero Shot ReAct Agent with some tools for fetching relevant documents from a vector database:
```
cha... | Langchain MRKL Agent not giving useful Final Answer | https://api.github.com/repos/langchain-ai/langchain/issues/7489/comments | 4 | 2023-07-10T17:35:37Z | 2023-08-07T08:28:23Z | https://github.com/langchain-ai/langchain/issues/7489 | 1,797,221,278 | 7,489 |
[
"langchain-ai",
"langchain"
] | ### System Info
When running the following code:
```
from langchain import OpenAI
from langchain.agents import load_tools, initialize_agent, AgentType
from langchain.utilities import GraphQLAPIWrapper
from langchain.memory import ConversationBufferMemory
llm = OpenAI(temperature=0, openai_api_key=openai_... | TransportQueryError when using GraphQL tool | https://api.github.com/repos/langchain-ai/langchain/issues/7488/comments | 5 | 2023-07-10T17:26:29Z | 2023-12-08T16:06:25Z | https://github.com/langchain-ai/langchain/issues/7488 | 1,797,208,894 | 7,488 |
[
"langchain-ai",
"langchain"
] | ### System Info
After v0.0.226, the RecursiveCharacterTextSplitter seems to no longer separate properly at the end of sentences and now cuts many sentences mid-word.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
-... | RecursiveCharacterTextSplitter strange behavior after v0.0.226 | https://api.github.com/repos/langchain-ai/langchain/issues/7485/comments | 16 | 2023-07-10T16:21:55Z | 2024-05-16T16:06:44Z | https://github.com/langchain-ai/langchain/issues/7485 | 1,797,105,833 | 7,485 |
[
"langchain-ai",
"langchain"
] | ### System Info
master
### 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
- [ ] Document Loaders
- ... | tool signature inspection for callbacks fails on certain chains | https://api.github.com/repos/langchain-ai/langchain/issues/7484/comments | 3 | 2023-07-10T16:18:29Z | 2023-10-16T16:05:14Z | https://github.com/langchain-ai/langchain/issues/7484 | 1,797,099,248 | 7,484 |
[
"langchain-ai",
"langchain"
] | ### System Info
windows.
### Who can help?
_No response_
### 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
- [... | Langchain-Replicate integration (max_length issue_ | https://api.github.com/repos/langchain-ai/langchain/issues/7483/comments | 2 | 2023-07-10T16:12:09Z | 2023-07-10T16:39:42Z | https://github.com/langchain-ai/langchain/issues/7483 | 1,797,089,333 | 7,483 |
[
"langchain-ai",
"langchain"
] | ### System Info
on Python 3.10.10
with requirements.txt
```
pandas==2.0.1
beautifulsoup4==4.12.2
langchain==0.0.229
chromadb==0.3.26
tiktoken==0.4.0
gradio==3.36.1
Flask==2.3.2
torch==2.0.1
sentence-transformers==2.2.2
```
### Who can help?
@hwchase17
### Information
- [ ] The offi... | AttributeError: 'Chroma' object has no attribute '_client_settings' | https://api.github.com/repos/langchain-ai/langchain/issues/7482/comments | 4 | 2023-07-10T15:59:17Z | 2023-07-14T11:07:15Z | https://github.com/langchain-ai/langchain/issues/7482 | 1,797,069,693 | 7,482 |
[
"langchain-ai",
"langchain"
] | ### System Info
Works in 0.0.228 but breaks in 0.0.229
### 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
- [ ] Output Par... | 0.0.229 breaks existing code that works with 0.0.228 for ConverstaionalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7481/comments | 3 | 2023-07-10T15:20:34Z | 2023-07-12T00:51:00Z | https://github.com/langchain-ai/langchain/issues/7481 | 1,797,005,937 | 7,481 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
python 3.9
### 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 Parsers
-... | langchain.schema.OutputParserException: Could not parse LLM output: `Thought: Do I need to use a tool? No | https://api.github.com/repos/langchain-ai/langchain/issues/7480/comments | 7 | 2023-07-10T14:40:24Z | 2024-06-11T12:24:18Z | https://github.com/langchain-ai/langchain/issues/7480 | 1,796,927,559 | 7,480 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have a CSV file with profile information, names, birthdate, gender, favoritemovies, etc, etc.
I need to create a chatbot with this and I am trying to use the CSVLoader like this:
```
loader = CSVLoader(file_path="profiles.csv", source_column="IdentityId")
doc = loader.load()
text_s... | UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2810: character maps to <undefined> | https://api.github.com/repos/langchain-ai/langchain/issues/7479/comments | 5 | 2023-07-10T14:37:28Z | 2023-10-17T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7479 | 1,796,921,581 | 7,479 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`def generate_answer(vector_store, question):
chain = load_chain("qna/configs/chains/qa_with_sources_gpt4all.json")
# print(chain)
# qa = VectorDBQAWithSourcesChain(combine_document_chain=chain, vectorstore=vector_store)
qa = RetrievalQAWithSourcesChain(combine_d... | gpt4all+langchain_chain(RetrievalQAWithSourcesChain) | https://api.github.com/repos/langchain-ai/langchain/issues/7475/comments | 3 | 2023-07-10T11:15:34Z | 2023-11-28T16:09:35Z | https://github.com/langchain-ai/langchain/issues/7475 | 1,796,536,439 | 7,475 |
[
"langchain-ai",
"langchain"
] | Hi everyone,
I'm trying to do something and I haven´t found enough information on the internet to make it work properly with Langchain. Here it is:
I want to develop a QA chat using markdown documents as knowledge source, using as relevant documents the ones corresponding to a certain documentation's version that... | Filtering retrieval with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7474/comments | 5 | 2023-07-10T11:10:43Z | 2024-04-15T10:11:15Z | https://github.com/langchain-ai/langchain/issues/7474 | 1,796,527,888 | 7,474 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.