issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "hwchase17", "langchain" ]
### 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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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 ![image](https://github.com/langchain-ai/langchain/as...
LLMSingleActionAgent Doesnot provide Expected response
https://api.github.com/repos/langchain-ai/langchain/issues/10749/comments
2
2023-09-18T21:51:30Z
2023-12-25T16:05:44Z
https://github.com/langchain-ai/langchain/issues/10749
1,901,803,694
10,749
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Recently, we re-deployed the llam2-13-B chat model on azure ML Studio, whenever we are trying to do in-contex learning (RAG QA), 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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "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
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.292 OS Windows10 Python 3.11 ### Who can help? Probably @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt...
MapRerankDocumentsChain UserWarning & ValueError
https://api.github.com/repos/langchain-ai/langchain/issues/10670/comments
7
2023-09-16T09:01:39Z
2024-02-13T16:12:12Z
https://github.com/langchain-ai/langchain/issues/10670
1,899,364,157
10,670
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The effect of tools with return_direct=False for CHAT_CONVERSATIONAL_REACT_AGENT only causes the LLM to generate a final answer based on tool observation, but never in another tool invocation. The same is not happening with CONVERSATIONAL_REACT_AGENT which seems able to generate new t...
CHAT_CONVERSATIONAL_REACT_AGENT never uses more than 1 tool per turn.
https://api.github.com/repos/langchain-ai/langchain/issues/10669/comments
4
2023-09-16T08:50:55Z
2023-12-25T16:06:50Z
https://github.com/langchain-ai/langchain/issues/10669
1,899,361,074
10,669
[ "hwchase17", "langchain" ]
### System Info Hello, I noticed that the `AzureOpenAI` is missing from the latest release. Now we kind of have to create our own custom class. Is this the direction of the project? Thank you ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modifie...
AzureOpenAI is missing
https://api.github.com/repos/langchain-ai/langchain/issues/10664/comments
2
2023-09-15T23:52:55Z
2023-12-25T16:06:55Z
https://github.com/langchain-ai/langchain/issues/10664
1,899,214,053
10,664
[ "hwchase17", "langchain" ]
### System Info langchain == 292 ### 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 Loa...
AgentExecutor and ModuleNotFoundError/NameError
https://api.github.com/repos/langchain-ai/langchain/issues/10661/comments
2
2023-09-15T21:55:52Z
2023-12-25T16:06:59Z
https://github.com/langchain-ai/langchain/issues/10661
1,899,121,900
10,661
[ "hwchase17", "langchain" ]
### System Info langchain == 292 ### 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 Lo...
python_repl_ast and package import (ModuleNotFoundError and NameError)
https://api.github.com/repos/langchain-ai/langchain/issues/10660/comments
4
2023-09-15T21:54:31Z
2024-01-17T03:02:33Z
https://github.com/langchain-ai/langchain/issues/10660
1,899,120,362
10,660
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.287, MACOS ### Who can help? **TLDR: Where are the tools in prompts ?** Hi everyone, I am experimenting with the AgentTypes and I found its not showing everything in the prompts. My langchain.debug =True and I am expecting to see every detail about my prompts. However when...
AgentType.OPENAI_FUNCTIONS doesnt show Tools in the prompts.
https://api.github.com/repos/langchain-ai/langchain/issues/10652/comments
2
2023-09-15T18:53:25Z
2023-12-25T16:07:09Z
https://github.com/langchain-ai/langchain/issues/10652
1,898,923,060
10,652
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. this is the function ``` from datetime import datetime from typing import Optional, Union from os import environ from gcsa.google_calendar import GoogleCalendar from gcsa.recurrence import Recurrence, YEARLY, DAILY, WEEKLY, MONTHLY from gcsa.event import Event from langchain.cal...
Issue: I am trying to turn this function into a tool how should i do it?
https://api.github.com/repos/langchain-ai/langchain/issues/10647/comments
4
2023-09-15T15:09:55Z
2023-09-27T18:06:15Z
https://github.com/langchain-ai/langchain/issues/10647
1,898,618,653
10,647
[ "hwchase17", "langchain" ]
### System Info I am using VertexAI model to parse data in a document. Since the documents are large, I am trying to increase the max_output_tokens parameter for "chat-bison-32k" model. I am not able to change this parameter and my output gets truncated after a certain token limit is reached. Is there a way to increas...
Issue : Unable to set max_output_tokens for VertexAI models
https://api.github.com/repos/langchain-ai/langchain/issues/10644/comments
6
2023-09-15T13:48:00Z
2023-12-25T16:07:14Z
https://github.com/langchain-ai/langchain/issues/10644
1,898,471,801
10,644
[ "hwchase17", "langchain" ]
### System Info langchain version:0.0.291 Platform: linux python version: 3.10 ### 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 / Pro...
chat_models.QianfanEndpoint Not Compatiable with SystemMessage
https://api.github.com/repos/langchain-ai/langchain/issues/10643/comments
1
2023-09-15T13:20:23Z
2023-09-20T06:24:28Z
https://github.com/langchain-ai/langchain/issues/10643
1,898,424,717
10,643
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Error message: File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for PromptTemplate __root__ Format specifier missing precision (type=value_error) My prompt looks like this: I want you to generat...
When I use a prompt with "{", I get an error
https://api.github.com/repos/langchain-ai/langchain/issues/10639/comments
4
2023-09-15T11:43:33Z
2024-06-25T19:50:57Z
https://github.com/langchain-ai/langchain/issues/10639
1,898,256,493
10,639
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ## Description I use the Chinook database as an example. ![image](https://github.com/langchain-ai/langchain/assets/91650059/200c3663-f0e0-4cc3-98be-fcad39dff38c) I will create a AI customer service system. The user provides the trackid and question. In addition to providing answ...
Issue: Asks SQLDatabaseChain to return specific columns. Let the main question fail.
https://api.github.com/repos/langchain-ai/langchain/issues/10635/comments
2
2023-09-15T10:34:28Z
2023-12-25T16:07:19Z
https://github.com/langchain-ai/langchain/issues/10635
1,898,155,765
10,635
[ "hwchase17", "langchain" ]
### Feature request SagemakerEndpoint should be capable of assuming cross account role or have a way to inject the boto3 session ### Motivation SagemakerEndpoint currently can run with credentials available but to call sagemaker endpoints in different account there is no way to inject boto3 session or role informati...
Sagemaker Endpoint cross account capability
https://api.github.com/repos/langchain-ai/langchain/issues/10634/comments
2
2023-09-15T10:14:51Z
2023-12-25T16:07:24Z
https://github.com/langchain-ai/langchain/issues/10634
1,898,126,719
10,634
[ "hwchase17", "langchain" ]
### System Info If this error occurs, it is recommended to set the logic for requesting again. ![image](https://github.com/langchain-ai/langchain/assets/52407961/96ead28c-27f4-4ed4-9b25-8fe30534582c) ![image](https://github.com/langchain-ai/langchain/assets/52407961/f81f4875-10e6-46de-8559-f727cf421291) ###...
age power error
https://api.github.com/repos/langchain-ai/langchain/issues/10633/comments
3
2023-09-15T09:56:55Z
2023-12-25T16:07:30Z
https://github.com/langchain-ai/langchain/issues/10633
1,898,099,422
10,633
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.291 Python 3.9.6 Platform = Unix I built an chatbot using langchain and GPT 3.5-turbo as LLM. I am running into issues of the bot not being able to appropriately response to social nuances (e.g. "Thank you.", "That's all, goodbye", etc.). Instead of picking up on social cues, it star...
LangChain incorrectly interpreting question
https://api.github.com/repos/langchain-ai/langchain/issues/10632/comments
2
2023-09-15T09:14:50Z
2023-11-01T11:25:36Z
https://github.com/langchain-ai/langchain/issues/10632
1,898,034,012
10,632
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I am trying to make a chatbot with a LLM based on LLaMa2. When I use the memory (ConversationBufferWindowMemory), it creates a default prompt like: """ Human: input AI: output Human: input """ However, with LLaMa2 I need to create a prompt like: """ [INST]...
Issue: Remove "AI:" and "Human:" prefixes in memory history
https://api.github.com/repos/langchain-ai/langchain/issues/10630/comments
5
2023-09-15T08:47:07Z
2024-02-11T16:14:27Z
https://github.com/langchain-ai/langchain/issues/10630
1,897,986,132
10,630
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ``` llm = AzureOpenAI( deployment_name = "gpt35_0301", model_name = "gpt-35-turbo", max_tokens = 1000, top_p = 0, temperature = 0 ) db = SQLDatabase.from_databricks(catalog = "hive_metastore", schema = "AISchema") db_chain = SQLDatabaseChain.from_llm(llm, d...
Issue: How to stop the agent chain from continuing generate new input in Langchain?
https://api.github.com/repos/langchain-ai/langchain/issues/10629/comments
3
2023-09-15T08:46:25Z
2024-02-07T16:25:33Z
https://github.com/langchain-ai/langchain/issues/10629
1,897,985,077
10,629
[ "hwchase17", "langchain" ]
hi team, Can I use the multiple LLM in agent? Use different model by action. Because I found gpt-4 took too much token in my agent, I just want gpt-4 to handle some action and gpt-3 to handle other action to reduce the token usage. Is it workable?
Use different LLM in agent
https://api.github.com/repos/langchain-ai/langchain/issues/10626/comments
4
2023-09-15T07:43:32Z
2023-12-25T16:07:34Z
https://github.com/langchain-ai/langchain/issues/10626
1,897,890,989
10,626
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.291 ### 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 Parse...
ValueError: Could not parse LLM output: difference between ConversationalAgent and ConversationalChatAgent
https://api.github.com/repos/langchain-ai/langchain/issues/10624/comments
2
2023-09-15T07:03:59Z
2023-12-25T16:07:39Z
https://github.com/langchain-ai/langchain/issues/10624
1,897,836,389
10,624
[ "hwchase17", "langchain" ]
### System Info Platform: local development on MacOS Ventura Python version: 3.10.12 langchain.__version__: 0.0.288 faiss.__version__: 1.7.4 chromadb.__version__: 0.4.10 openai.__version__: 0.28.0 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified...
FAISS.from_documents(docs, embeddings) and Chroma.from_documents(docs, embeddings) result in `AttributeError: data`.
https://api.github.com/repos/langchain-ai/langchain/issues/10622/comments
14
2023-09-15T06:36:52Z
2024-06-21T16:37:56Z
https://github.com/langchain-ai/langchain/issues/10622
1,897,803,767
10,622
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. - Python Version: [Python 3.8] **Issue:** When I used ConversationBufferMemory then it returns the response out of the context. when I remove memory functionality from my code it works fine. **CODE:** `from fastapi import FastAPI, HTTPException from pydantic import BaseModel f...
Issue: Issue with ConversationBufferMemory in FastAPI code
https://api.github.com/repos/langchain-ai/langchain/issues/10621/comments
6
2023-09-15T06:27:51Z
2023-12-25T16:07:45Z
https://github.com/langchain-ai/langchain/issues/10621
1,897,793,321
10,621
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.291 python3.9 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [...
TypeError: Got unknown type F
https://api.github.com/repos/langchain-ai/langchain/issues/10618/comments
3
2023-09-15T04:09:53Z
2023-09-15T09:06:10Z
https://github.com/langchain-ai/langchain/issues/10618
1,897,674,474
10,618
[ "hwchase17", "langchain" ]
### Feature request It would be great to see **thought instruction** be implemented as an alternative to chain of thought (CoT) prompting. **Thought instruction** is proposed as an alternative to chain of thought (CoT) prompting for a more nuanced approach to software development. It involves explicitly addressing ...
Thought Instruction (Alternative to CoT)
https://api.github.com/repos/langchain-ai/langchain/issues/10610/comments
1
2023-09-15T00:34:54Z
2024-01-25T14:17:25Z
https://github.com/langchain-ai/langchain/issues/10610
1,897,522,792
10,610
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi , I'm trying to see how I can put a system message for my chain to tell him that for example "Your name is XX". I've tried a lot of things and saw a lot of issues resolved and documentations but they never worked... Any help will be appreciated. here is the code of my chain.ts: ...
Issue: I cannot seem to find how to make a System role message in my chain.
https://api.github.com/repos/langchain-ai/langchain/issues/10608/comments
2
2023-09-14T23:49:19Z
2023-12-25T16:07:49Z
https://github.com/langchain-ai/langchain/issues/10608
1,897,492,962
10,608
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. As noted here: #10462 and #6819 I've realized I'm thousands of miles away from having the skills to fix this and make a PR (I'm not a Pro Dev) in my attempt to update the `SelfQueryRetriever`. However, I think this will be a great learning opportunity, with help from someone who knows...
Issue: Help fixing "predict_and_parse" deprecation from SelfQueryRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/10606/comments
3
2023-09-14T22:37:24Z
2023-12-25T16:07:54Z
https://github.com/langchain-ai/langchain/issues/10606
1,897,437,974
10,606
[ "hwchase17", "langchain" ]
### System Info Langain 0.288 Windows 11 Python 3.11 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output P...
Llama - n_ctx defaults to 512 even if overide passed during invocation
https://api.github.com/repos/langchain-ai/langchain/issues/10590/comments
2
2023-09-14T17:17:33Z
2023-12-21T16:05:59Z
https://github.com/langchain-ai/langchain/issues/10590
1,896,999,033
10,590
[ "hwchase17", "langchain" ]
### Feature request Add integration for [Document AI](https://cloud.google.com/document-ai/docs/overview) from Google Cloud for intelligent document processing. ### Motivation This product offers Optical Character Recognition, specialized processors from specific document types, and built in Generative AI pr...
Add Google Cloud Document AI integration
https://api.github.com/repos/langchain-ai/langchain/issues/10589/comments
2
2023-09-14T16:57:14Z
2023-10-09T15:05:54Z
https://github.com/langchain-ai/langchain/issues/10589
1,896,971,125
10,589
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.288 python==3.10 This bug is reproducible on older langchain version (0.0.240) and different os (Windows, Debian). ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Mode...
PythonAstREPLTool won't execute code with functions/lambdas
https://api.github.com/repos/langchain-ai/langchain/issues/10583/comments
3
2023-09-14T14:22:45Z
2023-12-25T16:08:00Z
https://github.com/langchain-ai/langchain/issues/10583
1,896,687,080
10,583
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am building an agent and need a tool that can get give the agent access to the current datetime. ### Suggestion: _No response_
Issue: an agent that can get the current time
https://api.github.com/repos/langchain-ai/langchain/issues/10582/comments
5
2023-09-14T14:14:19Z
2023-09-27T17:30:33Z
https://github.com/langchain-ai/langchain/issues/10582
1,896,670,788
10,582