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"
] | ### Issue you'd like to raise.
Hello everyone,
I have HuggingFaceTextGenInference API running on my server with **authentication token**. I would like to call this API through Langchain. So, I am using the following code:
```
from langchain.llms import HuggingFaceTextGenInference
llm = HuggingFaceTextGenInfe... | Authentication to HuggingFaceTextGenInference API running on custom server | https://api.github.com/repos/langchain-ai/langchain/issues/10965/comments | 2 | 2023-09-22T22:39:06Z | 2023-12-30T16:05:14Z | https://github.com/langchain-ai/langchain/issues/10965 | 1,909,592,111 | 10,965 |
[
"langchain-ai",
"langchain"
] | I just got here from a Twitter link that a colleague sent me (https://twitter.com/llm_sec/status/1668711587287375876?s=20). I'm only a causal observer (not a Langchain user or contributor), but I thought it might be good to drop these links in case you're unaware of the ways that attackers can escape from... | I just got here from a Twitter link that a colleague sent me (https://twitter.com/llm_sec/status/1668711587287375876?s=20). I'm only a causal observer (not a Langchain user or contributor), but I thought it might be good to drop these links in case you're unaware of the ways that attackers can escape from AST-based Pyt... | https://api.github.com/repos/langchain-ai/langchain/issues/10962/comments | 1 | 2023-09-22T20:51:22Z | 2023-12-30T16:05:19Z | https://github.com/langchain-ai/langchain/issues/10962 | 1,909,505,147 | 10,962 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi @harrisoUnable to load the model logged using mlflow
```
import mlflow
logged_model = 'runs:/runid/sql_database_chain'
# Load model as a PyFuncModel.
loaded_model = mlflow.pyfunc.load_model(logged_model)
```
mlflow -> 2.7.2.dev0
langchain ->0.0.297
langchain-experimental -> 0.0.20
Exc... | SQLDatabaseChain. It's "azure-openai-chat LLM cannot be loaded | https://api.github.com/repos/langchain-ai/langchain/issues/10961/comments | 19 | 2023-09-22T20:50:31Z | 2024-07-21T16:05:40Z | https://github.com/langchain-ai/langchain/issues/10961 | 1,909,504,385 | 10,961 |
[
"langchain-ai",
"langchain"
] | . | . | https://api.github.com/repos/langchain-ai/langchain/issues/10955/comments | 1 | 2023-09-22T19:37:41Z | 2023-09-23T17:12:48Z | https://github.com/langchain-ai/langchain/issues/10955 | 1,909,429,553 | 10,955 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Not sure this is the right place to raise this, but I'm having difficulty with the return value of ConversationalRetrievalChain (called "qa" in my code) when return_source_documents=True. The object returned is (I believe) a python dictionary object with two keys, "answer" and "source_d... | Issue: getting ValueError(f"One output key expected, got {outputs.keys()}") in a ConversationalRetrievalChain call | https://api.github.com/repos/langchain-ai/langchain/issues/10953/comments | 3 | 2023-09-22T19:04:44Z | 2023-10-06T17:19:41Z | https://github.com/langchain-ai/langchain/issues/10953 | 1,909,392,916 | 10,953 |
[
"langchain-ai",
"langchain"
] | ### GPT4AllEmbeddings() throwing GGML Assert Error
I am trying to follow this use case
https://python.langchain.com/docs/use_cases/question_answering/how_to/local_retrieval_qa
This was working till yesterday, Today its not working
```
from langchain.vectorstores import Chroma
from langchain.embeddings import... | Issue: GPT4AllEmbeddings() throwing GGML Assert Error | https://api.github.com/repos/langchain-ai/langchain/issues/10949/comments | 2 | 2023-09-22T18:04:19Z | 2023-12-30T16:05:24Z | https://github.com/langchain-ai/langchain/issues/10949 | 1,909,320,931 | 10,949 |
[
"langchain-ai",
"langchain"
] | ### System Info
Using langchain==0.0.299 in Ubuntu 22.04.1 LTS (GNU/Linux 5.19.0-1028-aws x86_64). I get the following error:
pydantic.errors.ConfigError: duplicate validator function "langchain.document_loaders.embaas.BaseEmbaasLoader.validate_environment"; if this is intended, set `allow_reuse=True`
I'm not i... | duplicate validator function | https://api.github.com/repos/langchain-ai/langchain/issues/10943/comments | 4 | 2023-09-22T16:18:55Z | 2023-09-22T22:10:44Z | https://github.com/langchain-ai/langchain/issues/10943 | 1,909,193,378 | 10,943 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Ruff replaced isort but it's still in the `pyproject.toml` ; we can remove isort.
### Suggestion:
I can do it; just leaving this issue as a to-do | Issue: (Chore) remove dependency on `isort` | https://api.github.com/repos/langchain-ai/langchain/issues/10942/comments | 2 | 2023-09-22T16:00:02Z | 2023-09-23T14:24:18Z | https://github.com/langchain-ai/langchain/issues/10942 | 1,909,165,621 | 10,942 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When I set up the local environment and try to run `make coverage`, I get this error:
```bash
; make coverage
poetry run pytest --cov \
--cov-config=.coveragerc \
--cov-report xml \
--cov-report term-missing:skip-covered
====================================================... | Issue: `make coverage` doesn't work locally | https://api.github.com/repos/langchain-ai/langchain/issues/10941/comments | 1 | 2023-09-22T15:58:24Z | 2023-09-23T23:03:55Z | https://github.com/langchain-ai/langchain/issues/10941 | 1,909,163,325 | 10,941 |
[
"langchain-ai",
"langchain"
] | ### System Info
When I ask the agent what kind of data does the pandas dataframe has. It gave me this error. I wanted to know what did the rows indicate and what could the LLM make out of the data. Like is it a financial data or some sales data.
### Who can help?
_No response_
### Information
- [ ] The official ex... | OutputParserException: Could not parse LLM output: `The dataframe has a mix of integer and object data types.` | https://api.github.com/repos/langchain-ai/langchain/issues/10929/comments | 2 | 2023-09-22T11:15:19Z | 2023-12-30T16:05:29Z | https://github.com/langchain-ai/langchain/issues/10929 | 1,908,712,574 | 10,929 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version : 0.0.297
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | MatchingEngine does not store metadata in embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/10924/comments | 3 | 2023-09-22T08:29:48Z | 2023-12-30T16:05:34Z | https://github.com/langchain-ai/langchain/issues/10924 | 1,908,439,944 | 10,924 |
[
"langchain-ai",
"langchain"
] | ### System Info
`LangChain==0.0.298`, Python==3.11.5
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | typing errors in OllamaEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/10919/comments | 1 | 2023-09-22T04:07:19Z | 2023-12-05T22:36:01Z | https://github.com/langchain-ai/langchain/issues/10919 | 1,908,146,930 | 10,919 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Current default prompt template named CHAT_PROMPT in `chains/question_answering/stuff_prompt.py` contains a `SystemMessage` and `HumanMessage` combination, In which `SystemMessage` just looks like this:
```python
"""Use the following pieces of context to answer the users question.
If... | Issue: unreasonable default template in document retrieval task | https://api.github.com/repos/langchain-ai/langchain/issues/10918/comments | 3 | 2023-09-22T03:45:55Z | 2023-12-30T16:05:39Z | https://github.com/langchain-ai/langchain/issues/10918 | 1,908,133,024 | 10,918 |
[
"langchain-ai",
"langchain"
] | ### System Info
when I run this command `python3 ./libs/langchain/tests/integration_tests/llms/test_minimax.py`
It always reports this error `ValueError: "Minimax" object has no field "_client"`
After I replaced "_client" with "client", it works.
version is `langchain==0.0.297`
### Who can help?
_No respons... | "Minimax" object has no field "_client" | https://api.github.com/repos/langchain-ai/langchain/issues/10917/comments | 5 | 2023-09-22T02:36:07Z | 2024-04-14T16:16:42Z | https://github.com/langchain-ai/langchain/issues/10917 | 1,908,088,497 | 10,917 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain v0.0.298
Python 3.11.4
Pop!OS 22.04
### Who can help?
@hwchase17 @agol
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | Crashes when trying to stream Chat Vertex AI | https://api.github.com/repos/langchain-ai/langchain/issues/10916/comments | 2 | 2023-09-22T01:39:08Z | 2023-09-22T02:53:07Z | https://github.com/langchain-ai/langchain/issues/10916 | 1,908,042,597 | 10,916 |
[
"langchain-ai",
"langchain"
] | ### Feature request
[LARGE LANGUAGE MODELS AS OPTIMIZERS](https://arxiv.org/pdf/2309.03409.pdf) is promising method to optimize prompts, to find the best prompts.
Not sure the LangChain is the best tool to apply this method but Hey, it is LangChain :exclamation:
### Motivation
For workflows that use a stable pro... | Optimization by PROmpting (OPRO) | https://api.github.com/repos/langchain-ai/langchain/issues/10913/comments | 7 | 2023-09-22T00:33:14Z | 2024-02-05T18:14:03Z | https://github.com/langchain-ai/langchain/issues/10913 | 1,907,963,041 | 10,913 |
[
"langchain-ai",
"langchain"
] | ### System Info
macOS Ventura 13.5.2, M1
### Who can help?
@mudler
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | LocalAI embeddings shouldn't require OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/10912/comments | 5 | 2023-09-22T00:17:24Z | 2023-09-22T16:57:48Z | https://github.com/langchain-ai/langchain/issues/10912 | 1,907,951,529 | 10,912 |
[
"langchain-ai",
"langchain"
] | ### System Info
v0.0.298
### Who can help?
@hwchase17 @ago
### 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
- [ ] Document Loader... | `_identifying_params` broken in `ChatAnthropic` class | https://api.github.com/repos/langchain-ai/langchain/issues/10909/comments | 4 | 2023-09-21T23:28:35Z | 2024-03-30T16:05:06Z | https://github.com/langchain-ai/langchain/issues/10909 | 1,907,914,039 | 10,909 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.198
MacOS 13.5.2 Ventura
Python 3.11
### Who can help?
@agola11
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pro... | Support for openai finetuned models | https://api.github.com/repos/langchain-ai/langchain/issues/10900/comments | 3 | 2023-09-21T18:22:47Z | 2024-01-30T00:37:10Z | https://github.com/langchain-ai/langchain/issues/10900 | 1,907,528,565 | 10,900 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
https://github.com/langchain-ai/langchain/blob/ebe08412ad1649c33501cc80edffbb908cc0157e/libs/langchain/langchain/chains/combine_documents/reduce.py#L247
In this loop:
```
while num_tokens is not None and num_tokens > _token_max:
new_result_doc_list = _split_list_of_docs... | Issue: ReduceDocumentsChain may loop for many iterations | https://api.github.com/repos/langchain-ai/langchain/issues/10888/comments | 2 | 2023-09-21T13:18:28Z | 2023-12-28T16:04:52Z | https://github.com/langchain-ai/langchain/issues/10888 | 1,906,968,615 | 10,888 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.81
Python: 3.11.5
System: Ubuntu
Trying to install Langchain and run the basic Quick Start sample code. Importing langchain.chat_models thows a ModuleNotFoundError.
```
$ python3
Python 3.11.5 (main, Aug 25 2023, 07:43:52) [GCC 12.2.0] on linux
Type "help", "copyright", "credi... | langchain.chat_models import fails | https://api.github.com/repos/langchain-ai/langchain/issues/10887/comments | 3 | 2023-09-21T12:58:28Z | 2023-09-22T00:42:08Z | https://github.com/langchain-ai/langchain/issues/10887 | 1,906,918,594 | 10,887 |
[
"langchain-ai",
"langchain"
] | ### System Info
Getting errors while using GooglePalm class. Have a look at the error below.
File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/home/jupyter/vertexai-pocs-in-python/contact-centre/palm2... | Issue with GooglePalm class. | https://api.github.com/repos/langchain-ai/langchain/issues/10886/comments | 3 | 2023-09-21T11:39:15Z | 2024-03-26T18:27:17Z | https://github.com/langchain-ai/langchain/issues/10886 | 1,906,770,938 | 10,886 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.285
python==3.10.12
Using VSCode Dev Container
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates /... | Streaming output doesn't work for `CHAT_CONVERSATIONAL_REACT_DESCRIPTION` with `FinalStreamingStdOutCallbackHandler` | https://api.github.com/repos/langchain-ai/langchain/issues/10885/comments | 2 | 2023-09-21T11:33:30Z | 2023-12-28T16:05:02Z | https://github.com/langchain-ai/langchain/issues/10885 | 1,906,761,048 | 10,885 |
[
"langchain-ai",
"langchain"
] | ### System Info
Windows(server on linux), python, poetry
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Promp... | Error get_num_tokens_from_messages() with gpt-3.5-turbo-0613 | https://api.github.com/repos/langchain-ai/langchain/issues/10884/comments | 2 | 2023-09-21T11:29:34Z | 2023-09-21T11:49:45Z | https://github.com/langchain-ai/langchain/issues/10884 | 1,906,754,123 | 10,884 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi Team,
I'm not sure if this is possible: ReAct agent support using Google PaLM 2.
Now, when using PaLM 2 as the supporting model for ReAct agent, as following code:
```python
from langchain.agents import load_tools
from langchain.agents import initialize_agent
from langchain.agents i... | ReAct agent support using Google PaLM 2 | https://api.github.com/repos/langchain-ai/langchain/issues/10883/comments | 3 | 2023-09-21T10:41:49Z | 2023-12-28T16:05:07Z | https://github.com/langchain-ai/langchain/issues/10883 | 1,906,662,893 | 10,883 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It should be possible to modify input keys, output keys and memory keys for all chains. Currently, this does not seem to be the case. For instance, while all these keys can be modified for the ConversationChain, not all of them can be modified for the ConversationalRetrievalChain.
**Conversati... | Possibility to rename input keys, output keys and memory keys for all chains consistently | https://api.github.com/repos/langchain-ai/langchain/issues/10882/comments | 1 | 2023-09-21T10:22:11Z | 2023-12-28T16:05:12Z | https://github.com/langchain-ai/langchain/issues/10882 | 1,906,629,969 | 10,882 |
[
"langchain-ai",
"langchain"
] | ### System Info
BigQuery table is not able to load. Here is the code:
```python
from langchain.document_loaders import BigQueryLoader
BASE_QUERY = """
SELECT * FROM arindam-2banerjee-0525-pimy.sf_transport.bikeshare_trips
"""
loader = BigQueryLoader(BASE_QUERY)
loader.load()
```
Error messa... | BigQuery - document loader, load() function throws error | https://api.github.com/repos/langchain-ai/langchain/issues/10879/comments | 2 | 2023-09-21T08:45:23Z | 2023-10-13T15:24:30Z | https://github.com/langchain-ai/langchain/issues/10879 | 1,906,441,411 | 10,879 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using langchain.document_loaders.image.UnstructuredImageLoader to load data from an image with a table on it. I chose PaddleOCR by setting os.environ["TABLE_OCR"] = "paddle" . However, I didn't find a place to set the detection language to other language. Could you please let me kno... | Issue: How to set the language (default is English) when using UnstructuredImageLoader with PaddleOCR | https://api.github.com/repos/langchain-ai/langchain/issues/10876/comments | 4 | 2023-09-21T07:05:38Z | 2023-12-30T16:05:44Z | https://github.com/langchain-ai/langchain/issues/10876 | 1,906,261,175 | 10,876 |
[
"langchain-ai",
"langchain"
] | ### Feature request
First of all BIG thanks for the working you are doing guys!!!
It will be nice if you can add a stop generate response implementation.
### Motivation
I'm always frustrated when I need to wait until the final response returned and then ask new question.
Sometimes my chatbot sending long JSON resp... | Python - Stop generate response functionality | https://api.github.com/repos/langchain-ai/langchain/issues/10874/comments | 1 | 2023-09-21T06:14:41Z | 2023-12-28T16:05:22Z | https://github.com/langchain-ai/langchain/issues/10874 | 1,906,192,130 | 10,874 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
try:
# Skip any validation in case of forced collection recreate.
if force_recreate:
raise ValueError
# Get the vector configuration of the existing collection and vector, if it
# was specified. If the old configuration... | Qdrant collection issue | https://api.github.com/repos/langchain-ai/langchain/issues/10872/comments | 1 | 2023-09-21T05:52:25Z | 2023-09-21T07:01:10Z | https://github.com/langchain-ai/langchain/issues/10872 | 1,906,164,528 | 10,872 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.295
python 3.11
os macOS 12.5
### 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
- [ ... | The model appears to be missing from the _default_params method in the baidu_qianfan_endpoint.py file | https://api.github.com/repos/langchain-ai/langchain/issues/10867/comments | 7 | 2023-09-21T02:30:24Z | 2024-01-30T00:41:06Z | https://github.com/langchain-ai/langchain/issues/10867 | 1,905,974,168 | 10,867 |
[
"langchain-ai",
"langchain"
] | ### System Info
- OS: Ubuntu 20.04
- `langhcain==0.0.297`
- ` chromadb==0.4.12`
- Python 3.9.18
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompt... | When `search_type="similarity_score_threshold`, retriever returns negative scores | https://api.github.com/repos/langchain-ai/langchain/issues/10864/comments | 23 | 2023-09-20T23:14:16Z | 2024-08-01T22:17:48Z | https://github.com/langchain-ai/langchain/issues/10864 | 1,905,836,300 | 10,864 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langhchain version: 0.0.296
Python version: 3.9.7
Platform: Windows 10
### Who can help?
I need to implement a fallback for my RAG application based on Langchain conversational retrievers because my application needs to use GPT 4 only for RAG and GPT 3.5 for generic questions (eg.: ChatGPT). ... | create_conversational_retrieval_agent does not work with fallbacks | https://api.github.com/repos/langchain-ai/langchain/issues/10852/comments | 7 | 2023-09-20T19:39:26Z | 2024-01-30T00:41:06Z | https://github.com/langchain-ai/langchain/issues/10852 | 1,905,609,497 | 10,852 |
[
"langchain-ai",
"langchain"
] | ### integration tests.
I have tried to follow the readme in langchain/tests to run the integration tests but got these errors :
`ModuleNotFoundError: No module named 'qdrant_client'`
Using poetry with python version = 3.10
I already tried the `poetry install` and` poetry install --with test_integration` bu... | Issue: running integration tests | https://api.github.com/repos/langchain-ai/langchain/issues/10849/comments | 1 | 2023-09-20T16:50:05Z | 2023-09-21T11:13:05Z | https://github.com/langchain-ai/langchain/issues/10849 | 1,905,383,407 | 10,849 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.18
langchain 0.0.292
transformers 4.33.2
torch 2.0.1
os macOs Ventura 13.5.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own ... | ValueError: The following `model_kwargs` are not used by the model while running Microsoft/Phi-1.5 using HuggingFacePipeline | https://api.github.com/repos/langchain-ai/langchain/issues/10848/comments | 3 | 2023-09-20T16:49:29Z | 2023-12-27T16:04:18Z | https://github.com/langchain-ai/langchain/issues/10848 | 1,905,382,623 | 10,848 |
[
"langchain-ai",
"langchain"
] | ### System Info
Linux, Python 3.11.5
### 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 P... | Installing from source (pip install -e .) fails with multiple top-level packags found | https://api.github.com/repos/langchain-ai/langchain/issues/10844/comments | 3 | 2023-09-20T15:51:04Z | 2024-01-22T06:20:00Z | https://github.com/langchain-ai/langchain/issues/10844 | 1,905,287,813 | 10,844 |
[
"langchain-ai",
"langchain"
] | ### System Info
LANGCHAIN - 0.0.0286
OS - Windows
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ... | Directory loader does not extract text between <strong> </strong> tags in HTML | https://api.github.com/repos/langchain-ai/langchain/issues/10841/comments | 3 | 2023-09-20T14:50:31Z | 2024-03-13T20:01:58Z | https://github.com/langchain-ai/langchain/issues/10841 | 1,905,168,973 | 10,841 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.294
python=3.10
### 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 Selecto... | Confused behavior of CharacterTextSplitter with regex | https://api.github.com/repos/langchain-ai/langchain/issues/10840/comments | 5 | 2023-09-20T14:16:53Z | 2024-04-09T16:13:27Z | https://github.com/langchain-ai/langchain/issues/10840 | 1,905,102,656 | 10,840 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/10835
<div type='discussions-op-text'>
<sup>Originally posted by **astro-siddhesh** September 20, 2023</sup>
import pandas as pd
import streamlit as st
from langchain.chat_models import ChatOpenAI
from langchain.agents.agent_toolkits impor... | below code is not able to show grpahs at frontend , rather it returns code , | https://api.github.com/repos/langchain-ai/langchain/issues/10836/comments | 2 | 2023-09-20T11:52:08Z | 2023-12-27T16:04:28Z | https://github.com/langchain-ai/langchain/issues/10836 | 1,904,823,416 | 10,836 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
in docs,has a simple demo to use LongContextReorder to reorder docs.
but ,if i want use it with RetrievalQAChain ,how can i use it. thx
### Suggestion:
_No response_ | how to use LongContextReorder with RetrievalQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/10834/comments | 9 | 2023-09-20T11:22:57Z | 2024-03-29T16:06:10Z | https://github.com/langchain-ai/langchain/issues/10834 | 1,904,777,227 | 10,834 |
[
"langchain-ai",
"langchain"
] | ### System Info
My systeminfo:
langchain 0.0.295
Python 3.11
### 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
- [ ... | LLMSingleActionAgent mixes up tools | https://api.github.com/repos/langchain-ai/langchain/issues/10833/comments | 5 | 2023-09-20T11:14:36Z | 2023-10-18T15:11:47Z | https://github.com/langchain-ai/langchain/issues/10833 | 1,904,764,017 | 10,833 |
[
"langchain-ai",
"langchain"
] | ### System Info
The GoogleDrive loader currently uses the PyPDF2 library instead of the PyPDF.
Since PyPDF2 was already merged to the original one, it shouldn't be used anymore.
[https://data.safetycli.com/v/59234/f17/?utm_source=pyupio&utm_medium=redirect&utm_campaign=pyup_rd&utm_id=081](url)
This is the vulnera... | PyPDF2 used in Google Drive loader has vulnerability issues | https://api.github.com/repos/langchain-ai/langchain/issues/10832/comments | 4 | 2023-09-20T10:26:26Z | 2023-12-27T16:04:33Z | https://github.com/langchain-ai/langchain/issues/10832 | 1,904,680,537 | 10,832 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`
llm = QianfanChatEndpoint(
model="ChatGLM2-6B-32K",
qianfan_ak="xxx",
qianfan_sk="xxx"
)
embedding = ErnieEmbeddings(
qianfan_ak="xxx",
qianfan_sk="xxx"
)
db = Chroma.from_documents(texts, embedding)
retriever = db.as_retriever()
qa = RetrievalQA.from_ch... | Issue: use QianfanChatEndpoint and RetrievalQA Error | https://api.github.com/repos/langchain-ai/langchain/issues/10831/comments | 5 | 2023-09-20T10:18:23Z | 2024-01-30T00:41:08Z | https://github.com/langchain-ai/langchain/issues/10831 | 1,904,666,457 | 10,831 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello! I'm using Conversational Retrieval Agents in a Nodejs environment with Faiss vectorStore. The problem is that the agent does not search for simurality. Vectors are normally well created and saved in a folder by Faiss.
It should be noted that the chatbot communicates well but does not take vecto... | Simirality search not working for Conversational Retrieval Agents | https://api.github.com/repos/langchain-ai/langchain/issues/10829/comments | 3 | 2023-09-20T10:06:42Z | 2023-12-27T16:04:43Z | https://github.com/langchain-ai/langchain/issues/10829 | 1,904,646,977 | 10,829 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: tested with both versions 0.0.294 and 0.0.295.
Python Version: 3.10.10 running on Linux x86_64 (Ubuntu 22.04).
Tested with OpenAI library, both versions 0.27.8 and 0.28.0.
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scri... | Providing `-1` to `max_tokens` while creating an OpenAI LLM using the `gpt-3.5-turbo-instruct` is failing | https://api.github.com/repos/langchain-ai/langchain/issues/10822/comments | 2 | 2023-09-20T07:58:46Z | 2023-09-20T08:10:49Z | https://github.com/langchain-ai/langchain/issues/10822 | 1,904,404,073 | 10,822 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When using MongoDBAtlasVectorSearch, the user is limited to only first populate a MongoDB collection of documents using either add_document or add_text methods. Those methods create documents on the given collection using a fixed structure. What if the user already has a collection on MongoDB wit... | MongoDBAtlasVectorSearch: Make It Work with Existing MongoDB Collection (rather than having to create a new one) | https://api.github.com/repos/langchain-ai/langchain/issues/10820/comments | 2 | 2023-09-20T06:52:26Z | 2024-02-06T16:29:31Z | https://github.com/langchain-ai/langchain/issues/10820 | 1,904,284,433 | 10,820 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac OS ventura 13.4.1
### 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
- [ ] Docu... | SeleniumURLLoader load asynchronous js, need wait | https://api.github.com/repos/langchain-ai/langchain/issues/10814/comments | 4 | 2023-09-20T04:00:24Z | 2024-05-10T16:06:50Z | https://github.com/langchain-ai/langchain/issues/10814 | 1,904,069,804 | 10,814 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using latest langchain version 0.0.295. It turns out langchain SQLAgent always connects to Postgres public schema. I need SQLAgent to check all schemas to generate SQL query. How to configure SQLAgent to connect to all Postgres schemas?
Tried both pg_uri = f"postgresql+psycopg2://{username}:{... | SQLAgent fails to connect to Postgres multiple schemas | https://api.github.com/repos/langchain-ai/langchain/issues/10811/comments | 3 | 2023-09-20T01:19:04Z | 2023-12-27T16:04:48Z | https://github.com/langchain-ai/langchain/issues/10811 | 1,903,925,576 | 10,811 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.0
LangChain==0.0.295
Azure-ai-vision==0.15.1b1
Streamlit
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | INTERMITTENT ERROR: AzureCogsImageAnalysisTool._run() got an unexpected keyword argument 'url' | https://api.github.com/repos/langchain-ai/langchain/issues/10810/comments | 3 | 2023-09-20T00:25:58Z | 2023-12-27T16:04:53Z | https://github.com/langchain-ai/langchain/issues/10810 | 1,903,890,762 | 10,810 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
While following the Quickstart guide in the LangChain documentation, I encountered an AttributeError when trying to use the `predict` method with an instance of the OpenAI class. It seems like the `predict` method is not available in the OpenAI class as described in the guide.
... | OpenAI class missing `predict` method as described in the Quickstart guide | https://api.github.com/repos/langchain-ai/langchain/issues/10809/comments | 1 | 2023-09-19T23:51:29Z | 2023-09-20T00:00:51Z | https://github.com/langchain-ai/langchain/issues/10809 | 1,903,867,154 | 10,809 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.295 (just upgraded to this version to use gpt-3.5-turbo-instruct)
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompt... | Error when using gpt-3.5-turbo-instruct: model_token_mapping is missing an entry for gpt-3.5-turbo-instruct | https://api.github.com/repos/langchain-ai/langchain/issues/10806/comments | 1 | 2023-09-19T23:26:18Z | 2023-09-20T00:03:17Z | https://github.com/langchain-ai/langchain/issues/10806 | 1,903,852,127 | 10,806 |
[
"langchain-ai",
"langchain"
] | Using the GrobidParser with `segment_sentences=False` results in `langchain/document_loaders/parsers/grobid.py", line 87, in process_xml
chunk_bboxes[0][0]["page"],
IndexError: list index out of range` for some PDFs.
From my own testing with the offending PDFs I suspect the following if-block in the GrobidPars... | GrobidParser: process_xml chunk_bboxes[0][0]["page"], IndexError: list index out of range | https://api.github.com/repos/langchain-ai/langchain/issues/10801/comments | 4 | 2023-09-19T21:09:13Z | 2024-03-27T13:14:05Z | https://github.com/langchain-ai/langchain/issues/10801 | 1,903,726,835 | 10,801 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
According to the [ReadTheDocsLoader documentation](https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.readthedocs.ReadTheDocsLoader.html), this loader iterates through all the files located under a specified path and extracts the actual content of th... | Query: Is It Possible to Extract Content Using All HTML Tags in ReadTheDocsLoader? | https://api.github.com/repos/langchain-ai/langchain/issues/10798/comments | 4 | 2023-09-19T20:15:53Z | 2023-12-26T16:04:46Z | https://github.com/langchain-ai/langchain/issues/10798 | 1,903,665,132 | 10,798 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
**I tried to use create_pandas_dataframe_agent with GPT4ALL to query a csv. This is the output:**
```
Enter a query: Analyse the data and give precise answer to the question that is given below. Provide answer only to what
is asked. Answer should be with respect to the whole docume... | Issue: output_parser raises error when using create_pandas_dataframe_agent with GPT4ALL model | https://api.github.com/repos/langchain-ai/langchain/issues/10792/comments | 2 | 2023-09-19T17:03:06Z | 2023-12-26T16:04:51Z | https://github.com/langchain-ai/langchain/issues/10792 | 1,903,398,229 | 10,792 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm building a chatbot to introduce matching job openings from files to users. When the user input "I want to find a job", it is modified to "What kind of job are you looking for?" which ask the model what job he is looking for, but of course, it won't get an answer.
Human input: I want to find a ... | Prompt was changed to different meaning | https://api.github.com/repos/langchain-ai/langchain/issues/10789/comments | 2 | 2023-09-19T15:51:05Z | 2023-09-27T13:52:06Z | https://github.com/langchain-ai/langchain/issues/10789 | 1,903,281,810 | 10,789 |
[
"langchain-ai",
"langchain"
] | ### System Info
Having basicaly this demo code and the issue is that it's not working reliably!
Sometimes OPENAI_FUNCTIONS just doesn't look into tools and telling that he can't find the documents.
Seems like this happens because OpenAI decides on it's own if he rather use tools or replies on his own knowledge.
... | Document Comparison, OPENAI_FUNCTIONS does not always look into the tools | https://api.github.com/repos/langchain-ai/langchain/issues/10787/comments | 6 | 2023-09-19T15:22:10Z | 2023-12-26T16:04:57Z | https://github.com/langchain-ai/langchain/issues/10787 | 1,903,231,986 | 10,787 |
[
"langchain-ai",
"langchain"
] | ### System Info
`Python 3.11.4`
`langchain==0.0.271`
`lark==1.1.7`
`openai==0.27.8`
### Who can help?
Getting the following error:
```sh
retriever = SelfQueryRetriever.from_llm(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-pac... | initializing and using a Supabase vector store using SupabaseVectorStore | https://api.github.com/repos/langchain-ai/langchain/issues/10784/comments | 2 | 2023-09-19T14:46:15Z | 2023-12-26T16:07:16Z | https://github.com/langchain-ai/langchain/issues/10784 | 1,903,159,588 | 10,784 |
[
"langchain-ai",
"langchain"
] | ### System Info
My systeminfo:
langchain 0.0.294
Python 3.11
### Who can help?
Im not sure, maybe @hwchase17 and @agola11 can help
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
... | Message History not working with LLMSingleActionAgent | https://api.github.com/repos/langchain-ai/langchain/issues/10783/comments | 7 | 2023-09-19T13:59:39Z | 2023-09-20T13:14:16Z | https://github.com/langchain-ai/langchain/issues/10783 | 1,903,062,021 | 10,783 |
[
"langchain-ai",
"langchain"
] | ### Feature request
This is the current implementation. You get your Vectorstore and turn it into a retriever. You pass search kwargs into the as_retriever method.
```
retriever = db.as_retriever(search_type="similarity_score_threshold", search_kwargs={"score_threshold": .5})
docs = retriever.get_relevant_documen... | Vector store-backed retriever -> allow using search_kwargs in get_relevant_documents function (PGVector) | https://api.github.com/repos/langchain-ai/langchain/issues/10781/comments | 2 | 2023-09-19T13:19:02Z | 2023-12-26T16:05:07Z | https://github.com/langchain-ai/langchain/issues/10781 | 1,902,965,145 | 10,781 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Most of the tools are currently sync tools, so if an async agent executor calls them tools raise `NotImplementedError`
My suggestion is to change `_arun` method of the `langchain.tools.base.BaseTool` class with a bolierplate code asyncer. An [example is given in the gh issues](https://github.com... | Make tools async by default unless user overrides `_arun` | https://api.github.com/repos/langchain-ai/langchain/issues/10779/comments | 2 | 2023-09-19T12:52:13Z | 2023-09-19T13:04:35Z | https://github.com/langchain-ai/langchain/issues/10779 | 1,902,915,680 | 10,779 |
[
"langchain-ai",
"langchain"
] | ### System Info
Using this Code I am getting this error:
TypeError: Chain.__call__() got an unexpected keyword argument 'question'
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedd... | Using StructuredTool with agent | https://api.github.com/repos/langchain-ai/langchain/issues/10778/comments | 19 | 2023-09-19T12:21:53Z | 2024-06-23T14:28:42Z | https://github.com/langchain-ai/langchain/issues/10778 | 1,902,863,147 | 10,778 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am developing a macOS application that uses Swift to call Python. To achieve this, I have integrated PythonKit, which also works properly. When I followed the integration of Ollama guided by Langchain, I encountered a problem and reported an error in 'from langchain.llms import Ollama'. The subsequ... | In xcode, use swift to call Python code and introduce Ollama error | https://api.github.com/repos/langchain-ai/langchain/issues/10773/comments | 5 | 2023-09-19T10:22:23Z | 2023-12-27T16:05:03Z | https://github.com/langchain-ai/langchain/issues/10773 | 1,902,666,640 | 10,773 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.249
Python 3.10.9
### 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 Parser... | lib/python3.10/site-packages/langchain/agents/conversational/output_parser.py", line 26, in parse raise OutputParserException(f"Could not parse LLM output: `{text}`") langchain.schema.output_parser.OutputParserException: Could not parse LLM output: `Do I need to use a tool? No | https://api.github.com/repos/langchain-ai/langchain/issues/10770/comments | 3 | 2023-09-19T08:05:47Z | 2023-12-26T16:05:21Z | https://github.com/langchain-ai/langchain/issues/10770 | 1,902,432,993 | 10,770 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain v0.0.294
### 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 Parse... | Issue with BaseChatMessageHistory Attribute Scope | https://api.github.com/repos/langchain-ai/langchain/issues/10764/comments | 2 | 2023-09-19T02:02:29Z | 2023-12-28T16:05:52Z | https://github.com/langchain-ai/langchain/issues/10764 | 1,902,072,269 | 10,764 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python Version: `Python 3.10.12`
LangChain Version: `master`
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templ... | pip install from source creates UNKNOWN package | https://api.github.com/repos/langchain-ai/langchain/issues/10760/comments | 2 | 2023-09-19T01:16:26Z | 2023-09-19T04:59:02Z | https://github.com/langchain-ai/langchain/issues/10760 | 1,902,034,213 | 10,760 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using LLMSingleActionAgent with ReAct Prompt. Most of the times it fails to give the proper response to the input. For example, when I greet the agent, it is not greeting back most of the times. Below is the response snippet
, always replied back with out of context response.
Currently we are passing request payload as using langchain:
System prompt: sys msg + context
Human pr... | LLaMa-2-13B-chat deployed on azureml studio giving out of context response | https://api.github.com/repos/langchain-ai/langchain/issues/10747/comments | 3 | 2023-09-18T20:12:19Z | 2023-12-26T16:05:31Z | https://github.com/langchain-ai/langchain/issues/10747 | 1,901,665,767 | 10,747 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I propose to add the Python client of gradient.ai as a `LLM`.
`gradient_ai.py` under https://github.com/langchain-ai/langchain/tree/master/libs/langchain/langchain/llms
```python
class GradientAI(LLM):
# client for Large Language Models on gradient.ai
#
```
See: API docs
htt... | Support of Gradient.ai LLM | https://api.github.com/repos/langchain-ai/langchain/issues/10745/comments | 1 | 2023-09-18T18:42:19Z | 2023-09-22T09:33:42Z | https://github.com/langchain-ai/langchain/issues/10745 | 1,901,534,677 | 10,745 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.292
Python 3.11.5
GPT4ALL with LLAMA q4_0 3b model running on CPU
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Promp... | Cannot use LangChain Tools with GPT4ALL and LLaMA model | https://api.github.com/repos/langchain-ai/langchain/issues/10744/comments | 4 | 2023-09-18T18:28:42Z | 2024-05-10T16:06:45Z | https://github.com/langchain-ai/langchain/issues/10744 | 1,901,513,550 | 10,744 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Return the Youtube video links in full format like `https://www.youtube.com/watch?v=VIDEO_ID`
Currently the links are like `/watch?v=VIDEO_ID`
Return the links as List like `['link1, 'link2']`
Currently it is returning the whole list as string ` "['link1, 'link2']" `
### Motivation
If the li... | Update return parameter of YouTubeSearchTool | https://api.github.com/repos/langchain-ai/langchain/issues/10742/comments | 1 | 2023-09-18T17:47:53Z | 2023-09-20T00:04:08Z | https://github.com/langchain-ai/langchain/issues/10742 | 1,901,452,804 | 10,742 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using langchain with Pinecone to push the embedding into the Pincone vector db. using below code. But I see that there is too many IDs created for the single PDF file in Pincone Browswer(My PDF file more than 250 pages). I want to update my PDF for the same Index. How can I do ?
... | Issue: How to update Pinecone vectors data using langchain | https://api.github.com/repos/langchain-ai/langchain/issues/10739/comments | 5 | 2023-09-18T13:31:20Z | 2024-02-11T16:14:12Z | https://github.com/langchain-ai/langchain/issues/10739 | 1,900,951,737 | 10,739 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello everyone,
I am facing an issue with a Python function that I have created to handle some chat functionality with the ChatGPT model. The function is part of a bigger project that aims to use Pinecone to search and retrieve similar documents.
Here is a simplified version of m... | Issue: <Langchain Retriever Agent Function Not Passing “ChatMessageHistory” When Called in Console - Python> | https://api.github.com/repos/langchain-ai/langchain/issues/10737/comments | 2 | 2023-09-18T13:17:46Z | 2023-09-21T10:06:11Z | https://github.com/langchain-ai/langchain/issues/10737 | 1,900,924,280 | 10,737 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.292
The type of text_splitter must be TextSplitter and not RecursiveCharacterTextSplitter
```
class WebResearchRetriever(BaseRetriever):
...
text_splitter: **TextSplitter** = Field(
RecursiveCharacterTextSplitter(chunk_size=1500, chunk_overlap=50),
descrip... | Typing error in WebResearchRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/10736/comments | 2 | 2023-09-18T12:58:58Z | 2023-09-19T07:29:37Z | https://github.com/langchain-ai/langchain/issues/10736 | 1,900,884,697 | 10,736 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain==0.0.291
chromadb==0.4.10
Python 3.10.0
22.6.0 Darwin Kernel
```
### Who can help?
@agola11 @hwchase17 bug map_reduce - reproducible
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat... | bug: map_reduce (RetrievalQAWithSourcesChain.from_chain_type) with embeddings - reproducible | https://api.github.com/repos/langchain-ai/langchain/issues/10735/comments | 6 | 2023-09-18T12:38:22Z | 2024-03-25T16:05:56Z | https://github.com/langchain-ai/langchain/issues/10735 | 1,900,847,417 | 10,735 |
[
"langchain-ai",
"langchain"
] | ### System Info
pydantic '1.10.0' or '2.3.0'
langchain '0.0.292'
python '3.11.5'
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts ... | get_openapi_chain throws error when running example from docs | https://api.github.com/repos/langchain-ai/langchain/issues/10733/comments | 18 | 2023-09-18T11:39:49Z | 2024-04-02T16:05:50Z | https://github.com/langchain-ai/langchain/issues/10733 | 1,900,747,180 | 10,733 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain-0.0.292, python-3, vsCode
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | data_manager not working with cache init for chatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/10731/comments | 2 | 2023-09-18T10:15:38Z | 2023-12-25T16:05:54Z | https://github.com/langchain-ai/langchain/issues/10731 | 1,900,607,849 | 10,731 |
[
"langchain-ai",
"langchain"
] | In intermediateSteps, how to get the response status code if I using the tool request_get or post.. | Tool request how to know response status code | https://api.github.com/repos/langchain-ai/langchain/issues/10730/comments | 2 | 2023-09-18T09:15:46Z | 2023-12-25T16:06:00Z | https://github.com/langchain-ai/langchain/issues/10730 | 1,900,506,801 | 10,730 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Switch to motor in the [MongoDBChatMessageHistory](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/memory/chat_message_histories/mongodb.py) class for asyncio support.
### Motivation
There is already a PR #10645 for async Document Loader for MongoDB, this way we can... | async mongodb chat message history | https://api.github.com/repos/langchain-ai/langchain/issues/10729/comments | 3 | 2023-09-18T07:53:53Z | 2024-01-04T14:01:15Z | https://github.com/langchain-ai/langchain/issues/10729 | 1,900,370,220 | 10,729 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "D:\Users\DHANKA01\vox-usecase-wrdm-nco-dev\src\backend\api.py", line 49, in nco_generate
result=final_run(Paths.prompt_lib,Paths.sdpk_path)
File "D:\Users\DHANKA01\vox-usecase-wrdm-nco-dev\src\... | Issue: unexpected keyword argument 'stop' | https://api.github.com/repos/langchain-ai/langchain/issues/10723/comments | 8 | 2023-09-18T04:03:36Z | 2024-01-05T10:48:25Z | https://github.com/langchain-ai/langchain/issues/10723 | 1,900,123,795 | 10,723 |
[
"langchain-ai",
"langchain"
] | ```
agent_chain = initialize_agent(
tools,
llm,
agent=AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION,
verbose=True,
return_intermediate_steps=True,
handle_parsing_errors=True,
memory=memory
)
```
how to overwrite the PREFIX, SUFFIX and FORMAT_INSTRUCTIONS when I using the CHAT_... | How to custom prompt in agent type CHAT_CONVERSATIONAL_REACT_DESCRIPTION | https://api.github.com/repos/langchain-ai/langchain/issues/10721/comments | 6 | 2023-09-18T03:53:27Z | 2024-05-10T16:06:40Z | https://github.com/langchain-ai/langchain/issues/10721 | 1,900,116,688 | 10,721 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I configured it to use the OpenAPI toolkit by merging various APIs, but I could not solve the problem of having to redefine the header at the request stage.
### Suggestion:
I'm not sure if there is a way to solve this in langchain or if I need to apply a separate module such as a reque... | using the OpenAPI toolkit, override the headers for each request | https://api.github.com/repos/langchain-ai/langchain/issues/10719/comments | 4 | 2023-09-18T03:30:15Z | 2024-01-30T00:42:11Z | https://github.com/langchain-ai/langchain/issues/10719 | 1,900,100,967 | 10,719 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.287 langchain
### 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
- [ ] Document... | Custom Tool Return Direct BUT only if it doesnt raise a Tool Exception | https://api.github.com/repos/langchain-ai/langchain/issues/10714/comments | 4 | 2023-09-17T23:22:13Z | 2024-05-24T20:22:30Z | https://github.com/langchain-ai/langchain/issues/10714 | 1,899,959,947 | 10,714 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I cannot handle my custom_tool's raised errors.
I have this weatherTool:
```
class GetCurrentWeatherTool(BaseTool):
name = "get_current_weather"
description = "Get the current weather for a specified location"
args_schema: Type[WeatherInput] = WeatherInput
... | DOC: Custom Tool Error Handling is not Clear | https://api.github.com/repos/langchain-ai/langchain/issues/10710/comments | 4 | 2023-09-17T22:47:35Z | 2024-06-08T16:07:20Z | https://github.com/langchain-ai/langchain/issues/10710 | 1,899,949,896 | 10,710 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The current MRKL `FORMAT_INSTRUCTIONS` prompt ([here](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/agents/mrkl/prompt.py)) looks like this:
``` python
FORMAT_INSTRUCTIONS = """Use the following format:
Question: the input question you must answer
Thought: ... | Bring MRKL prompts in line with the other Agent prompts | https://api.github.com/repos/langchain-ai/langchain/issues/10709/comments | 2 | 2023-09-17T19:56:51Z | 2023-12-25T16:06:09Z | https://github.com/langchain-ai/langchain/issues/10709 | 1,899,899,705 | 10,709 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello everyone,
I am encountering an issue while trying to use Pinecone store in my Node.js environment.
When i try to store the vector in an existing index, I am receiving the following error:
PineconeArgumentError: The argument to upsert had type errors: argument must be array.
here is ... | PineconeArgumentError: The argument to upsert had type errors: argument must be array. | https://api.github.com/repos/langchain-ai/langchain/issues/10708/comments | 16 | 2023-09-17T19:11:15Z | 2024-05-17T09:57:20Z | https://github.com/langchain-ai/langchain/issues/10708 | 1,899,886,459 | 10,708 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In the **Multiple Retrieval Sources** page (https://python.langchain.com/docs/use_cases/question_answering/how_to/multiple_retrieval)
There is a link to **Langchain Expression Language** (https://python.langchain.com/docs/use_cases/)
Selecting the link results in the following m... | DOC: Link to Langchain Expression Language link results in Page not Found | https://api.github.com/repos/langchain-ai/langchain/issues/10705/comments | 2 | 2023-09-17T17:59:32Z | 2023-12-25T16:06:15Z | https://github.com/langchain-ai/langchain/issues/10705 | 1,899,865,868 | 10,705 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi , I want to know how it would be possible to filter with the Sitemap Loader updated pages of 2023 from a website. I do not want to get all the website but only 2023 updated pages.
Here is my code:
`# fixes a bug with asyncio and jupyter
import nest_asyncio
nest_asyncio.apply()
... | Issue:Sitemap Loader filter updated pages | https://api.github.com/repos/langchain-ai/langchain/issues/10703/comments | 4 | 2023-09-17T15:06:35Z | 2023-12-25T16:06:19Z | https://github.com/langchain-ai/langchain/issues/10703 | 1,899,814,125 | 10,703 |
[
"langchain-ai",
"langchain"
] | I know the intermediate steps can get the list of list of action and observation tuples.
If I use the Aiplugin tool to create the api call. Can I get the detail of request and response that agent make?
I want to know what request and response that agent make for debugging, because agent not work correctly often.
| get more detail fo intermediate steps | https://api.github.com/repos/langchain-ai/langchain/issues/10702/comments | 2 | 2023-09-17T14:48:26Z | 2023-12-25T16:06:24Z | https://github.com/langchain-ai/langchain/issues/10702 | 1,899,808,521 | 10,702 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
There is now no setup.py file in the llama-cpp-python library
I tried installing using these instructions:
Llama.cpp
https://python.langchain.com/docs/integrations/llms/llamacpp
The installation was done as described in the paragraph:
Windows installation
### Idea or r... | DOC: <Please write a comprehensive title after the 'DOC: Please update the instructions on the langchain site for istallation llama-cpp-python on Windows with GPU NVidia Support' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/10697/comments | 2 | 2023-09-17T08:24:35Z | 2023-12-25T16:06:30Z | https://github.com/langchain-ai/langchain/issues/10697 | 1,899,702,496 | 10,697 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.287
### Who can help?
People who knows to create custom tools/ toolkits for custom agents.
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pro... | Custom Agent Doesn't Accept Custom Tool | https://api.github.com/repos/langchain-ai/langchain/issues/10694/comments | 1 | 2023-09-17T01:02:39Z | 2023-09-17T14:22:44Z | https://github.com/langchain-ai/langchain/issues/10694 | 1,899,615,677 | 10,694 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The parameters listed in the [DallEAPIWrapper documentation](https://api.python.langchain.com/en/latest/utilities/langchain.utilities.dalle_image_generator.DallEAPIWrapper.html) are incorrect for:
- n
- open_api_key
- size
### Idea or request for content:
See [OpenAI AP... | DOC: parameters listed in the DallEAPIWrapper documentation are incorrect | https://api.github.com/repos/langchain-ai/langchain/issues/10692/comments | 1 | 2023-09-16T23:14:30Z | 2023-10-28T23:30:05Z | https://github.com/langchain-ai/langchain/issues/10692 | 1,899,594,024 | 10,692 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The [`openai.Image.create()` endpoint](https://platform.openai.com/docs/api-reference/images/create) has an `n` parameter that allows you to generate 1-10 images. However, I used the looked at the langchain `DallEAPIWrapper()` and only got one image URL. After looking at its [source code](https://g... | DallEAPIWrapper currently only returns the first image URL, even if `n` parameter is set to >1 | https://api.github.com/repos/langchain-ai/langchain/issues/10691/comments | 2 | 2023-09-16T23:05:37Z | 2023-11-26T21:52:32Z | https://github.com/langchain-ai/langchain/issues/10691 | 1,899,592,343 | 10,691 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain ==0.0.287
python
fastapi
### 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 Selecto... | How to create CustomAgentOutputParser that uses Retry parser | https://api.github.com/repos/langchain-ai/langchain/issues/10689/comments | 1 | 2023-09-16T21:57:11Z | 2023-09-17T14:23:00Z | https://github.com/langchain-ai/langchain/issues/10689 | 1,899,578,553 | 10,689 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hey, I am trying to follow various approaches online to create a simple chat interface in streamlit to chat with your pandas dataframe. I always face the issue, that I cant extract the full description of the steps. One example is the following code:
```
from langchain.agents impor... | Issue: How to get Pandas agent to return and write full steps to a streamlit chat | https://api.github.com/repos/langchain-ai/langchain/issues/10688/comments | 3 | 2023-09-16T21:38:22Z | 2023-12-25T16:06:34Z | https://github.com/langchain-ai/langchain/issues/10688 | 1,899,574,753 | 10,688 |
[
"langchain-ai",
"langchain"
] | ### System Info
python==3.8
langchain==217
### 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 Selectors
- [X] O... | Is there a way to pass Dictionary as an Action input when you use Zero Shot Agent? | https://api.github.com/repos/langchain-ai/langchain/issues/10681/comments | 3 | 2023-09-16T19:21:00Z | 2024-07-29T13:02:07Z | https://github.com/langchain-ai/langchain/issues/10681 | 1,899,542,362 | 10,681 |
[
"langchain-ai",
"langchain"
] | *I may take a stab at fixing this, but don't have the time now, sharing my research notes*
In my iMessage DB, many of my messages have null ```text```, because the content is now encoded in ```attributedBody```. Here is the research I did in case it helps others
Discussion of the issue:
https://www.reddit.com... | iMessageChatLoader doesn't load new text conent , due to ChatHistory schema change | https://api.github.com/repos/langchain-ai/langchain/issues/10680/comments | 5 | 2023-09-16T15:29:29Z | 2024-02-11T16:14:16Z | https://github.com/langchain-ai/langchain/issues/10680 | 1,899,473,938 | 10,680 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Here is the documentation that I'm talking: https://python.langchain.com/docs/modules/agents/how_to/custom_llm_agent
The problem with is that its not returning the actual final answer but the observation.
Normally it should return this as written:
```
> Entering new Ag... | DOC: Custom LLM Agent Tutorial is not working. | https://api.github.com/repos/langchain-ai/langchain/issues/10679/comments | 2 | 2023-09-16T14:11:20Z | 2023-09-16T14:32:43Z | https://github.com/langchain-ai/langchain/issues/10679 | 1,899,449,952 | 10,679 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.285
python 3.11.4
### 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
- ... | HuggingFace Data Loader fails when context is not str | https://api.github.com/repos/langchain-ai/langchain/issues/10674/comments | 15 | 2023-09-16T10:49:37Z | 2023-11-29T03:33:18Z | https://github.com/langchain-ai/langchain/issues/10674 | 1,899,393,311 | 10,674 |
[
"langchain-ai",
"langchain"
] | ### System Info
The code snipped will execute. However, when changing the chunk size down, executing again, and then changing the chunk size up again, the chunk size will stay on the low value.
It seems that the chunk size is sometimes saved, even though the objects get ge-instantiated.
I ran the code snipped in a... | RecursiveCharacterTextSplitter immutably memorizes chunk size | https://api.github.com/repos/langchain-ai/langchain/issues/10673/comments | 2 | 2023-09-16T10:06:24Z | 2023-09-16T10:25:46Z | https://github.com/langchain-ai/langchain/issues/10673 | 1,899,381,260 | 10,673 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When calling from_documents directly from vectorstore I do this:
```
vector_db = Milvus.from_documents(
docs,
embeddings,
connection_args={
"host": config.MILVUS_HOST,
"port": config.MILVUS_PORT,
},
collection_name = collectio... | Milvus - Pymilvus insert is not offering partition_name as optional argument | https://api.github.com/repos/langchain-ai/langchain/issues/10671/comments | 1 | 2023-09-16T09:53:17Z | 2023-12-25T16:06:44Z | https://github.com/langchain-ai/langchain/issues/10671 | 1,899,377,692 | 10,671 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.