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 Hi there, Currently using PGVector you can pass a filter object. But this filter object only allows key value pairs. `Dict[str, str]. ` I am requesting the ability to also send a list of strings for easy filter across many pieces of data. `Dict[str, list[str]] ` ### Motivation ...
Pgvector support to filter by List
https://api.github.com/repos/langchain-ai/langchain/issues/9726/comments
3
2023-08-24T22:50:34Z
2023-12-11T16:05:58Z
https://github.com/langchain-ai/langchain/issues/9726
1,865,993,227
9,726
[ "hwchase17", "langchain" ]
### System Info Langchain Version: 0.0.258 Python Version 3.8.10 Ubuntu 20.04.5 LTS We are following the instructions from the blog posted at https://python.langchain.com/docs/use_cases/question_answering/ We find that this works on small documents/directories. However when we run it on larger data sets, we...
Langchain QA over large documents results in Rate limit errors
https://api.github.com/repos/langchain-ai/langchain/issues/9717/comments
6
2023-08-24T19:54:13Z
2023-12-12T16:33:44Z
https://github.com/langchain-ai/langchain/issues/9717
1,865,791,331
9,717
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. It looks like it's creating new dataframes to answer complex questions, but in the answer it provides it keeps referencing the variable name rather than the printed variable. Does the current agent not have the ability to create and use new variables? Note: I'm using the CSV agent ...
Issue: pandas agent tries to create new variables but returns along the lines of "the top 10 are {top_10_df}"
https://api.github.com/repos/langchain-ai/langchain/issues/9715/comments
8
2023-08-24T19:07:43Z
2024-07-04T16:06:38Z
https://github.com/langchain-ai/langchain/issues/9715
1,865,729,449
9,715
[ "hwchase17", "langchain" ]
### System Info LangChain Version: 0.0.271, Python 3.11 Like the title says, _aget_relevant_documents isn't implemented in ParentDocumentRetriever so async calls are not working. It throws an NotImplementedError in BaseRetriever: ``` async def _aget_relevant_documents( self, query: str, *, run_manag...
ParentDocumentRetriever doesn't implement BaseRetriever._aget_relevant_documents
https://api.github.com/repos/langchain-ai/langchain/issues/9707/comments
5
2023-08-24T15:28:16Z
2023-12-01T16:07:43Z
https://github.com/langchain-ai/langchain/issues/9707
1,865,405,504
9,707
[ "hwchase17", "langchain" ]
### Issue with current documentation: The "Creating a Custom Prompt Template" documentation is outdated with Pydantic v2. ``` class FunctionExplainerPromptTemplate(StringPromptTemplate, BaseModel): """A custom prompt template that takes in the function name as input, and formats the prompt template to provide...
DOC: Custom Templates issue with Pydantic v2
https://api.github.com/repos/langchain-ai/langchain/issues/9702/comments
20
2023-08-24T14:13:41Z
2024-02-16T16:09:02Z
https://github.com/langchain-ai/langchain/issues/9702
1,865,260,343
9,702
[ "hwchase17", "langchain" ]
### System Info Platform - AWS Python version: 3.11.4 OS - Mac ### Who can help? @3coins , @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prom...
Calude models not able to output more than 8191 tokens.
https://api.github.com/repos/langchain-ai/langchain/issues/9697/comments
6
2023-08-24T12:21:25Z
2024-03-14T06:18:03Z
https://github.com/langchain-ai/langchain/issues/9697
1,865,041,669
9,697
[ "hwchase17", "langchain" ]
### Feature request Initialization with Database Connection: When an instance of the PGVector class is created, it automatically establish a connection with the PostgreSQL Vector database. Method for Closing Connection: we need to implement a method within the PGVector class that allows you to close the established...
No way to Close an open connection in PGVector.py
https://api.github.com/repos/langchain-ai/langchain/issues/9696/comments
3
2023-08-24T11:57:09Z
2023-11-15T20:34:38Z
https://github.com/langchain-ai/langchain/issues/9696
1,865,001,390
9,696
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. It will always output ``` responded: {content} ``` I suppose this [line](https://github.com/langchain-ai/langchain/blob/v0.0.271/libs/langchain/langchain/agents/openai_functions_agent/base.py#L130) is not correct. ### Suggestion: Is the following code the way you need? ...
Agent by AgentType.OPENAI_FUNCTIONS cannot output message content.
https://api.github.com/repos/langchain-ai/langchain/issues/9695/comments
1
2023-08-24T10:03:15Z
2023-11-30T16:06:01Z
https://github.com/langchain-ai/langchain/issues/9695
1,864,822,137
9,695
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. eroory msg: Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/ch...
Issue: APIConnectionError: Error communicating with OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/9688/comments
2
2023-08-24T06:59:49Z
2023-11-30T02:15:30Z
https://github.com/langchain-ai/langchain/issues/9688
1,864,533,468
9,688
[ "hwchase17", "langchain" ]
![image](https://github.com/langchain-ai/langchain/assets/53115668/70a42838-7758-4c0a-be99-ba41ad861aaf) The Prompt was to explain tables in the data. in this case it should query into the SQL database.
DQL DB Langchain : When running an db_run query based on the prompt it should execute sql query only when needed.
https://api.github.com/repos/langchain-ai/langchain/issues/9686/comments
5
2023-08-24T06:35:24Z
2024-01-24T10:41:11Z
https://github.com/langchain-ai/langchain/issues/9686
1,864,499,596
9,686
[ "hwchase17", "langchain" ]
### System Info > Entering new AgentExecutor chain... Invoking: `duckduckgo_search` with `2023年8月的新闻` An error occurred: 'DDGS' object does not support the context manager protocol ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scri...
An error occurred: 'DDGS' object does not support the context manager protocol
https://api.github.com/repos/langchain-ai/langchain/issues/9685/comments
2
2023-08-24T05:50:09Z
2023-11-30T16:06:11Z
https://github.com/langchain-ai/langchain/issues/9685
1,864,451,518
9,685
[ "hwchase17", "langchain" ]
### Feature request Enable the option to specify arbitrary keyword arguments (e.g. gpu_memory_utilization=0.98) in langchain.llms.VLLM() constructor ### Motivation Currently, vllm library provides many useful keyword arguments which enables a lot of usages on a wide variety of devices, but langchain doesn't. e.g....
Allow specifying arbitrary keyword arguments in `langchain.llms.VLLM`
https://api.github.com/repos/langchain-ai/langchain/issues/9682/comments
2
2023-08-24T05:41:55Z
2023-11-30T16:06:16Z
https://github.com/langchain-ai/langchain/issues/9682
1,864,443,617
9,682
[ "hwchase17", "langchain" ]
### System Info langchain version == 0.0.271 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
initialize_agent not saving and returning messages in memory
https://api.github.com/repos/langchain-ai/langchain/issues/9681/comments
1
2023-08-24T05:30:13Z
2023-08-24T05:40:45Z
https://github.com/langchain-ai/langchain/issues/9681
1,864,433,344
9,681
[ "hwchase17", "langchain" ]
### Issue with current documentation: The basic documents for the output parser are out of date for pydantic. Tried with python 3.9 and 3.11. ``` pip install langchain pip install python-dotenv ``` The copied code: ``` from langchain.prompts import PromptTemplate, ChatPromptTemplate, HumanMessagePromptTem...
DOC: <Please write a comprehensive title after the 'DOC: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/9680/comments
2
2023-08-24T05:17:48Z
2023-11-30T16:06:21Z
https://github.com/langchain-ai/langchain/issues/9680
1,864,422,532
9,680
[ "hwchase17", "langchain" ]
### System Info langchain version == 0.0.271 ### Who can help? @hw ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Documen...
Initialize_agent not storing messages when memory is present
https://api.github.com/repos/langchain-ai/langchain/issues/9679/comments
1
2023-08-24T05:04:25Z
2023-08-24T05:25:36Z
https://github.com/langchain-ai/langchain/issues/9679
1,864,411,414
9,679
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I tried to use Erine Bot as an agent like below ```python tools = [faq_tool, query_order_tool] FORMAT_INSTRUCTIONS = """要使用工具,请按照以下格式返回: Thought: 我是否需要使用一个工具? 是 Action: 采取的action应该是以下之一:[{tool_names}] Action Input: action的输入参数 Observation: action的返回结果 如果你不需要使用工具, 请按以下格式返回: ...
Issue: ERNIE Bot is not able to call tool
https://api.github.com/repos/langchain-ai/langchain/issues/9678/comments
5
2023-08-24T03:51:14Z
2023-11-30T16:06:26Z
https://github.com/langchain-ai/langchain/issues/9678
1,864,353,926
9,678
[ "hwchase17", "langchain" ]
### Issue with current documentation: _No response_ ### Idea or request for content: _No response_
Please share a complete document PDF OR markdown etc about langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9677/comments
2
2023-08-24T03:07:12Z
2023-11-30T16:06:31Z
https://github.com/langchain-ai/langchain/issues/9677
1,864,308,955
9,677
[ "hwchase17", "langchain" ]
### Feature request We are currently using OpenAI's ChatCompletion API with custom ChatPromptTemplate, as converting langchain's ChatPromptTemplate to dict (or vice versa) seems not working well. So I'd like to suggest new feature, to enable loading [ChatPromptTemplate](https://github.com/langchain-ai/langchain/blo...
Support load ChatPromptTemplate from config dict
https://api.github.com/repos/langchain-ai/langchain/issues/9676/comments
2
2023-08-24T03:04:38Z
2023-11-30T16:06:36Z
https://github.com/langchain-ai/langchain/issues/9676
1,864,307,161
9,676
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. langchain==0.0.250 platform = macOS Python version 3.11 I am not sure if this is by design, I think it is not and hence reporting this as an issue. When looping through a list of pdf files to get a summary for each I am creating an index using - VectorstoreIndexCreator().from_doc...
Issue: vectorstore hence indexes and embeddings are persisting when they should not be.
https://api.github.com/repos/langchain-ai/langchain/issues/9668/comments
3
2023-08-23T23:32:29Z
2023-11-30T16:06:41Z
https://github.com/langchain-ai/langchain/issues/9668
1,864,147,213
9,668
[ "hwchase17", "langchain" ]
### System Info - Version: 0.0.271 - Platform: Macbook Pro M1 macos 13.5 - Python Version: 3.11.4 ### Who can help? @... ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templat...
Could not parse LLM output: `Action: json_spec_list_keys(data)`
https://api.github.com/repos/langchain-ai/langchain/issues/9658/comments
2
2023-08-23T15:39:38Z
2023-11-29T16:06:24Z
https://github.com/langchain-ai/langchain/issues/9658
1,863,582,262
9,658
[ "hwchase17", "langchain" ]
### Issue with current documentation: Modules -> prompt templates This set code which is there in documentation is throwing error `from langchain import PromptTemplate` `invalid_prompt = PromptTemplate(` ` input_variables=["adjective"],` ` template="Tell me a {adjective} joke about {content}."` `)` Be...
Error in the code given in the prompt template
https://api.github.com/repos/langchain-ai/langchain/issues/9656/comments
3
2023-08-23T15:02:55Z
2023-12-04T16:05:28Z
https://github.com/langchain-ai/langchain/issues/9656
1,863,519,793
9,656
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.235 / python 3.10.11 / File: libs/langchain/langchain/output_parsers/json.py There is a bug in the function `parse_json_markdown`. When the input json_string contains \`\`\` $code \`\`\` . It mistakenly interprets $code as json format and fails to parse. ### Who can help? _No...
output_parser has a bug while the output string has ``` code ```
https://api.github.com/repos/langchain-ai/langchain/issues/9654/comments
1
2023-08-23T11:58:25Z
2023-11-29T16:06:34Z
https://github.com/langchain-ai/langchain/issues/9654
1,863,187,495
9,654
[ "hwchase17", "langchain" ]
### Issue with current documentation: Link not working: [OpenAPI](https://python.langchain.com/docs/use_cases/apis/openapi_openai) where is the link? https://python.langchain.com/docs/modules/chains/how_to/openai_functions ### Idea or request for content: _No response_
DOC: Not working: <OpenAPI spec and create + execute valid requests against the API>
https://api.github.com/repos/langchain-ai/langchain/issues/9653/comments
2
2023-08-23T11:28:20Z
2023-11-29T16:06:39Z
https://github.com/langchain-ai/langchain/issues/9653
1,863,141,243
9,653
[ "hwchase17", "langchain" ]
I wrote a ChatGLM class that inherits LLM class as below. ``` class ChatGLM(LLM): def _call(self, prompt: str, stop: Optional[List[str]] = None) -> str: message = [{"role": "user", "content": prompt}] payload = {"model": "string", ...} headers = {"Content-Type": "appl...
sql_cmd Error: SQLDatabaseChain with ChatGLM2-6B
https://api.github.com/repos/langchain-ai/langchain/issues/9651/comments
2
2023-08-23T10:31:14Z
2023-11-30T16:06:51Z
https://github.com/langchain-ai/langchain/issues/9651
1,863,049,747
9,651
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.268 python 3.9 Windows 10 ### 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 Sele...
PydanticOutputParser not called by chain
https://api.github.com/repos/langchain-ai/langchain/issues/9650/comments
2
2023-08-23T10:00:55Z
2023-08-23T11:45:35Z
https://github.com/langchain-ai/langchain/issues/9650
1,862,997,610
9,650
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using ConversationalRetrievalChain for the RAG question-answer bot. There is one LLM call that I have not configured and it is reducing the quality of responses and increasing the time. The prompt in the LLM call is: > Given the following conversation and a follow up question...
Issue: How to stop extra LLM call in ConversationalRetrievalChain for question rephrasing
https://api.github.com/repos/langchain-ai/langchain/issues/9649/comments
17
2023-08-23T09:53:18Z
2024-06-24T20:10:42Z
https://github.com/langchain-ai/langchain/issues/9649
1,862,983,742
9,649
[ "hwchase17", "langchain" ]
### System Info VLLM from langchain gives the below error and stops executing: code: `python from langchain.llms import VLLM llm = VLLM(model="facebook/opt-125m" tensor_parallel_size=2, trust_remote_code=True, # mandatory for hf models max_new_tokens=128, top_k=1...
VLLM from langchain.llms
https://api.github.com/repos/langchain-ai/langchain/issues/9646/comments
3
2023-08-23T09:05:03Z
2023-11-29T16:06:49Z
https://github.com/langchain-ai/langchain/issues/9646
1,862,893,898
9,646
[ "hwchase17", "langchain" ]
### System Info win10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [...
Load a jpg using UnstructuredImageLoader from Langchain.
https://api.github.com/repos/langchain-ai/langchain/issues/9644/comments
2
2023-08-23T08:39:20Z
2023-11-29T16:06:54Z
https://github.com/langchain-ai/langchain/issues/9644
1,862,851,384
9,644
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. def get_connection(): user=os.environ.get('DB_USERNAME') database= os.environ.get('DB_DATABASE') password=os.environ.get('DB_PASSWORD') host= os.environ.get('DB_HOST') port= os.environ.get('DB_PORT') return create_engine( url="mysql+pymysql:/...
Issue: I am working with SQLChain and initialize_agent it is not answering from the connected database.
https://api.github.com/repos/langchain-ai/langchain/issues/9641/comments
4
2023-08-23T06:54:38Z
2023-11-29T16:06:59Z
https://github.com/langchain-ai/langchain/issues/9641
1,862,687,289
9,641
[ "hwchase17", "langchain" ]
### System Info Win10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [...
When using Langchain to upload a .docx file to the Milvus database, an error occurs.
https://api.github.com/repos/langchain-ai/langchain/issues/9640/comments
2
2023-08-23T06:25:55Z
2023-11-29T16:07:05Z
https://github.com/langchain-ai/langchain/issues/9640
1,862,651,370
9,640
[ "hwchase17", "langchain" ]
### Issue with current documentation: There is a notebook link in [QA using a Retriever ](https://python.langchain.com/docs/use_cases/question_answering/how_to/vector_db_qa) that should open a [notebook](https://python.langchain.com/docs/modules/chains/additional/question_answering.html) But link is boken. Page d...
DOC: Broken notebook link
https://api.github.com/repos/langchain-ai/langchain/issues/9639/comments
2
2023-08-23T06:17:03Z
2023-11-29T16:07:11Z
https://github.com/langchain-ai/langchain/issues/9639
1,862,640,640
9,639
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.271 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document L...
PipelinePromptTemplate does not respect partial_variables
https://api.github.com/repos/langchain-ai/langchain/issues/9636/comments
2
2023-08-23T02:31:08Z
2023-11-29T16:07:15Z
https://github.com/langchain-ai/langchain/issues/9636
1,862,450,431
9,636
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.266 Python3.11.4 Sample python snippet: ```with open("openapi_request_body.yaml") as f: raw_api_spec = yaml.load(f, Loader=yaml.Loader) api_spec = reduce_openapi_spec(raw_api_spec) requests_wrapper = RequestsWrapper() from langchain.llms.openai import OpenAI fro...
create_openapi_agent always generating same chain no matter what question
https://api.github.com/repos/langchain-ai/langchain/issues/9634/comments
2
2023-08-23T00:54:53Z
2023-08-23T05:08:57Z
https://github.com/langchain-ai/langchain/issues/9634
1,862,387,605
9,634
[ "hwchase17", "langchain" ]
### Feature request Add the option to output progress bar Methods that add documents to an index, e.g., `from_documents`. ### Motivation Methods that add documents to an index can take a long time to execute, e.g., `from_documents`. When executing from a notebook or CLI it would be very convenient to be able to tr...
Monitoring the progress of long running vectorDB index updates
https://api.github.com/repos/langchain-ai/langchain/issues/9630/comments
2
2023-08-22T22:08:51Z
2024-02-25T16:06:52Z
https://github.com/langchain-ai/langchain/issues/9630
1,862,271,039
9,630
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.246 Python 3.11.4 SQLAlchemy 1.4.39 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors -...
SQLDatabaseChain: sqlite3.Warning: You can only execute one statement at a time.
https://api.github.com/repos/langchain-ai/langchain/issues/9627/comments
3
2023-08-22T20:04:19Z
2023-11-29T16:07:20Z
https://github.com/langchain-ai/langchain/issues/9627
1,862,121,036
9,627
[ "hwchase17", "langchain" ]
### Issue with current documentation: The current documentation recommends running the following SQL function to create a table and function for using a supabase postgres database as a vector store. ```postgres -- Enable the pgvector extension to work with embedding vectors create extension vector; -- Create ...
DOC: Langchain Supabase Vectorstore ID Incompatability
https://api.github.com/repos/langchain-ai/langchain/issues/9624/comments
6
2023-08-22T19:07:33Z
2023-12-04T20:18:50Z
https://github.com/langchain-ai/langchain/issues/9624
1,862,041,049
9,624
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.193 python 3.8.10 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templa...
duckdb too small to be a Parquet file
https://api.github.com/repos/langchain-ai/langchain/issues/9616/comments
3
2023-08-22T15:12:51Z
2024-02-08T16:26:11Z
https://github.com/langchain-ai/langchain/issues/9616
1,861,679,027
9,616
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.270 Croma Db Wrapper not considering the **kwargs for querying the collection Method: similarity_search_with_score Code : results = self.__query_collection( query_embeddings=[query_embedding], n_results=k, where=filter ) the query collection does...
Croma Db Wrapper not considering the **kwargs for quering the collection
https://api.github.com/repos/langchain-ai/langchain/issues/9611/comments
2
2023-08-22T14:12:14Z
2023-11-29T16:07:30Z
https://github.com/langchain-ai/langchain/issues/9611
1,861,554,770
9,611
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.270 python version: 3.11.0 os: Ubuntu 20.04.6 LTS ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates...
import DirectoryLoader generate error
https://api.github.com/repos/langchain-ai/langchain/issues/9609/comments
3
2023-08-22T13:19:30Z
2023-08-22T17:00:35Z
https://github.com/langchain-ai/langchain/issues/9609
1,861,452,000
9,609
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.249 ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [X] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pa...
TypeError: Object of type ConversationalRetrievalChain is not JSON serializable
https://api.github.com/repos/langchain-ai/langchain/issues/9607/comments
4
2023-08-22T12:48:52Z
2024-02-07T16:27:08Z
https://github.com/langchain-ai/langchain/issues/9607
1,861,394,996
9,607
[ "hwchase17", "langchain" ]
### Feature request Greetings everyone, I'm interested in directly saving the chromaDB vector store to an S3 bucket. Is there a way to accomplish this? ### Motivation I want to run my LLM directly in the AWS cloud, but firstly I need to deal with implementation of efficient loading and saving of my db. ### Yo...
Upload ChromDB vectordb from s3
https://api.github.com/repos/langchain-ai/langchain/issues/9606/comments
8
2023-08-22T12:43:32Z
2024-02-14T16:11:38Z
https://github.com/langchain-ai/langchain/issues/9606
1,861,385,729
9,606
[ "hwchase17", "langchain" ]
### Describe the feature or improvement you're requesting When making a direct call to OpenAI's POST /v1/chat/completions endpoint, we receive valuable headers that provide information about the rate limiting, including: ``` x-ratelimit-limit-requests: 3500 x-ratelimit-remaining-requests: 3499 x-ratelimit-rese...
Expose x-ratelimit-* headers from OpenAI API with Langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9601/comments
3
2023-08-22T11:04:51Z
2024-05-14T16:06:16Z
https://github.com/langchain-ai/langchain/issues/9601
1,861,223,410
9,601
[ "hwchase17", "langchain" ]
### System Info python==3.9 langchain==0.0.246 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - ...
MultiRouteChain not working as expected
https://api.github.com/repos/langchain-ai/langchain/issues/9600/comments
4
2023-08-22T10:31:29Z
2024-06-15T23:43:20Z
https://github.com/langchain-ai/langchain/issues/9600
1,861,170,095
9,600
[ "hwchase17", "langchain" ]
### System Info (.venv) yale@LAPTOP-MATEBOOK:~/work/llm-app$ python --version Python 3.10.12 (.venv) yale@LAPTOP-MATEBOOK:~/work/llm-app$ pip list|grep langchain langchain 0.0.262 langchainplus-sdk 0.0.20 ### Who can help? _No response_ ### Information - [ ] The official example noteboo...
_to_args_and_kwargs() failed to handle tool definition with no arguments
https://api.github.com/repos/langchain-ai/langchain/issues/9599/comments
2
2023-08-22T10:20:56Z
2023-11-28T16:07:40Z
https://github.com/langchain-ai/langchain/issues/9599
1,861,150,371
9,599
[ "hwchase17", "langchain" ]
Hi Team, Is there schedule to support plugins with auth? thanks.
Schedule for supporting plugins with auth
https://api.github.com/repos/langchain-ai/langchain/issues/9597/comments
1
2023-08-22T09:49:48Z
2023-11-28T16:07:45Z
https://github.com/langchain-ai/langchain/issues/9597
1,861,082,845
9,597
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.270 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Doc...
List in ChatMessageHistory is not correctly initialized
https://api.github.com/repos/langchain-ai/langchain/issues/9595/comments
1
2023-08-22T09:38:59Z
2023-08-25T12:08:49Z
https://github.com/langchain-ai/langchain/issues/9595
1,861,060,406
9,595
[ "hwchase17", "langchain" ]
### Feature request Add option to specify dtype (e.g. `float16`) in `langchain.llms.VLLM()` constructor, ### Motivation Currently, `vllm` library provides an argument to use `float16` dtype, but langchain doesn't. There is no way to use langchain VLLM with a GPU < 8.0 compute capability. ![image](https://git...
Allow specifying dtype in `langchain.llms.VLLM`
https://api.github.com/repos/langchain-ai/langchain/issues/9593/comments
1
2023-08-22T09:33:12Z
2023-08-23T03:30:28Z
https://github.com/langchain-ai/langchain/issues/9593
1,861,049,462
9,593
[ "hwchase17", "langchain" ]
### System Info LangChain Version: 0.0.260 Python Version: 3.11.4 Operating System: ubuntu-22.04 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] P...
Regression: Additional arguments in TransformChain subclass no longer work
https://api.github.com/repos/langchain-ai/langchain/issues/9587/comments
2
2023-08-22T07:34:56Z
2023-11-28T16:07:50Z
https://github.com/langchain-ai/langchain/issues/9587
1,860,801,274
9,587
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.267 ### Who can help? @hwchase17 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
Direct initial redis database can't successfully use searching function since index missing
https://api.github.com/repos/langchain-ai/langchain/issues/9585/comments
6
2023-08-22T07:24:40Z
2024-02-11T16:16:17Z
https://github.com/langchain-ai/langchain/issues/9585
1,860,784,286
9,585
[ "hwchase17", "langchain" ]
### Feature request ``` if self.show_progress_bar: try: import tqdm _iter = tqdm.tqdm(range(0, len(tokens), _chunk_size)) except ImportError: _iter = range(0, len(tokens), _chunk_size) ``` Current code does not work very well on jupyter notebook, so replace it with `tqdm.auto`...
Replace `tqdm` with `tqdm.auto`
https://api.github.com/repos/langchain-ai/langchain/issues/9582/comments
2
2023-08-22T06:56:51Z
2023-08-23T00:41:43Z
https://github.com/langchain-ai/langchain/issues/9582
1,860,735,901
9,582
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.270 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Doc...
make test in experimental crash
https://api.github.com/repos/langchain-ai/langchain/issues/9581/comments
2
2023-08-22T06:49:07Z
2023-09-19T08:47:29Z
https://github.com/langchain-ai/langchain/issues/9581
1,860,722,360
9,581
[ "hwchase17", "langchain" ]
### Feature request Add support for DocAI from Google Cloud as a pdf parser ### Motivation It might be faster for large samples of documents (and maybe better in some cases). ### Your contribution yep, I'm happy to
Add support for DocAI from Google Cloud as a pdf parser
https://api.github.com/repos/langchain-ai/langchain/issues/9578/comments
2
2023-08-22T05:52:46Z
2023-11-28T16:07:55Z
https://github.com/langchain-ai/langchain/issues/9578
1,860,625,662
9,578
[ "hwchase17", "langchain" ]
### System Info HuggingFaceEndpoint Returns an Empty String both when prompted using ._call() method and when used as an LLM in a QA chain. Examples of what I've tried, below: ``` from langchain.llms import HuggingFaceEndpoint from langchain.chains.question_answering import load_qa_chain from langchain.vectors...
HuggingFaceEndpoint Returns an Empty String
https://api.github.com/repos/langchain-ai/langchain/issues/9576/comments
2
2023-08-22T03:52:51Z
2023-11-28T16:08:00Z
https://github.com/langchain-ai/langchain/issues/9576
1,860,497,298
9,576
[ "hwchase17", "langchain" ]
### Issue with current documentation: I'm getting this: Page Not Found We could not find what you were looking for. Please contact the owner of the site that linked you to the original URL and let them know their link is broken. When visiting: - https://python.langchain.com/docs/modules/chains/additional/ -...
Additional/Popular chains Page Not Found
https://api.github.com/repos/langchain-ai/langchain/issues/9575/comments
2
2023-08-22T03:24:06Z
2023-11-28T16:08:05Z
https://github.com/langchain-ai/langchain/issues/9575
1,860,477,232
9,575
[ "hwchase17", "langchain" ]
### Feature request It might be very helpful to let users react with each page of the documentation so that contributors, users and people working will know which document has been out-dated / not usable. ### Motivation I saw many inconsistencies in different docs and some codes are no longer usable as the dependanc...
Adding thumbs-up and thumbs-down for documentations
https://api.github.com/repos/langchain-ai/langchain/issues/9559/comments
1
2023-08-21T19:23:20Z
2023-11-27T16:06:16Z
https://github.com/langchain-ai/langchain/issues/9559
1,859,998,066
9,559
[ "hwchase17", "langchain" ]
### System Info I am trying to use a template to pre customize the AI, but my Code is not working! Any idea why it's not working? This is the basic part of my code: ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Compo...
using PromptTemplate with initialze_agent
https://api.github.com/repos/langchain-ai/langchain/issues/9553/comments
8
2023-08-21T17:47:57Z
2023-11-27T16:06:21Z
https://github.com/langchain-ai/langchain/issues/9553
1,859,861,388
9,553
[ "hwchase17", "langchain" ]
### Feature request appreciate your efforts on show how integrate Hugginface models with langchain: https://python.langchain.com/docs/integrations/llms/huggingface_pipelines but this is just a shallow port from huggingface to langchain not yet a full integration on the [Chat model](https://github.com/langchain-ai/l...
llama 2 through HF further integration with langchain on chat model
https://api.github.com/repos/langchain-ai/langchain/issues/9550/comments
2
2023-08-21T17:37:45Z
2023-11-27T16:06:26Z
https://github.com/langchain-ai/langchain/issues/9550
1,859,842,021
9,550
[ "hwchase17", "langchain" ]
### Feature request The RetryOutputParser class has several drawbacks: - it must point to a chain different from the one that calls it - it does not make it possible to specify a number of retries ### Motivation Following a request, ChatGPT sometimes answers with an invalid format and the same request must be rese...
Being able to retry a chain until the output is valid
https://api.github.com/repos/langchain-ai/langchain/issues/9546/comments
10
2023-08-21T16:17:22Z
2024-05-21T16:07:30Z
https://github.com/langchain-ai/langchain/issues/9546
1,859,715,484
9,546
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using the Cognitive search retriever according to the documentation, however I run into an error, regarding the type of return value. **Reproduction**: import os from langchain.retrievers import AzureCognitiveSearchRetriever os.environ["AZURE_COGNITIVE_SEARCH_SERVICE_NAME"] = ...
Azure cognitive search retriever: ValidationError: 1 validation error for Document page_content
https://api.github.com/repos/langchain-ai/langchain/issues/9545/comments
2
2023-08-21T15:58:11Z
2023-08-21T19:33:47Z
https://github.com/langchain-ai/langchain/issues/9545
1,859,684,763
9,545
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.268 Python 3.9 Windows 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 Selectors - [X...
Impossible to enrich BaseOutputParser with a custom object member
https://api.github.com/repos/langchain-ai/langchain/issues/9540/comments
5
2023-08-21T14:43:51Z
2024-06-01T00:07:33Z
https://github.com/langchain-ai/langchain/issues/9540
1,859,531,876
9,540
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am working with SQLDatabaseChain in Django framework everytime I execute the code it shows below error. File "C:\Users\ehsuser\AppData\Local\Programs\Python\Python310\lib\socket.py", line 705, in readinto return self._sock.recv_into(b) ConnectionAbortedError: [WinError 10053] ...
Issue: I am using GPT-4 with SQLDatabaseChain it shows ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine error
https://api.github.com/repos/langchain-ai/langchain/issues/9538/comments
2
2023-08-21T14:18:28Z
2023-11-27T16:06:31Z
https://github.com/langchain-ai/langchain/issues/9538
1,859,484,256
9,538
[ "hwchase17", "langchain" ]
### System Info ``` pip freeze | grep langchain langchain==0.0.268 langchainplus-sdk==0.0.17 ``` ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts...
Plain models are not calling callbacks when cached
https://api.github.com/repos/langchain-ai/langchain/issues/9537/comments
7
2023-08-21T14:12:46Z
2024-04-09T16:12:35Z
https://github.com/langchain-ai/langchain/issues/9537
1,859,472,931
9,537
[ "hwchase17", "langchain" ]
### System Info This regression affects Langchain >=0.0.262. This regression was introduced with #8965. If an agent's output to input to a tool (e.g. to generate an `AgentAction`) contains either backticks (such as to represent a code block with ```), or embedded JSON (such as a structured JSON string in the `act...
Regression in structured_chat agent's Output parser
https://api.github.com/repos/langchain-ai/langchain/issues/9535/comments
2
2023-08-21T14:05:33Z
2023-11-27T16:06:36Z
https://github.com/langchain-ai/langchain/issues/9535
1,859,456,565
9,535
[ "hwchase17", "langchain" ]
### System Info Langchain version = 0.0.268 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ...
SelfQueryRetriever returns duplicate document data using with chromaDB
https://api.github.com/repos/langchain-ai/langchain/issues/9532/comments
6
2023-08-21T12:15:55Z
2024-03-26T13:13:52Z
https://github.com/langchain-ai/langchain/issues/9532
1,859,248,153
9,532
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.74 Python 3.10 Windows 10 ### 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 - [ ] Outpu...
AttributeError: 'RecursiveCharacterTextSplitter' object has no attribute 'split_documents'
https://api.github.com/repos/langchain-ai/langchain/issues/9528/comments
2
2023-08-21T08:54:33Z
2023-11-27T16:06:46Z
https://github.com/langchain-ai/langchain/issues/9528
1,858,916,366
9,528
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, Iam using langchain version 0.0.187. Here are the steps that I have followed to get chat response uisng langchain ``` def initlize_llm_chain_prompt(self): print("initilizing llm chain prompt") llm_model=AzureOpenAI(deployment_name=self.AZURE_OPENAI_CHATGPT_...
Chatbot responses are deterorating on using langchain compared to open AI completion
https://api.github.com/repos/langchain-ai/langchain/issues/9526/comments
2
2023-08-21T08:00:24Z
2023-11-30T16:07:01Z
https://github.com/langchain-ai/langchain/issues/9526
1,858,823,860
9,526
[ "hwchase17", "langchain" ]
### Feature request Issue you'd like to raise. langchain==0.0.162 Hi, I am using a fine tuned model that generates user prompts to SQL queries, instead of the default model provided by langchain. The reason for doing this is because langchain does not know about all the data from the database unless you provide co...
Request for using custom fine tuned models
https://api.github.com/repos/langchain-ai/langchain/issues/9523/comments
2
2023-08-21T05:59:17Z
2023-11-27T16:06:56Z
https://github.com/langchain-ai/langchain/issues/9523
1,858,654,621
9,523
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. This is my code, I'm not sure if it's correct: `from langchain.llms import ChatGLM from langchain.agents import load_tools, initialize_agent from langchain.agents import AgentType, tool from datetime import date @tool def time(text: str) -> str: """返回今天的日期,用于回答用户关于今天日期的问题。 ...
Issue: Proxy not successfully used
https://api.github.com/repos/langchain-ai/langchain/issues/9522/comments
6
2023-08-21T03:49:38Z
2023-11-28T16:08:20Z
https://github.com/langchain-ai/langchain/issues/9522
1,858,529,130
9,522
[ "hwchase17", "langchain" ]
### System Info Langchain version 0.0.268 ### 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 - [ ] O...
AttributeError: 'super' object has no attribute 'parse_obj' when using OpenAPISpec.from_file
https://api.github.com/repos/langchain-ai/langchain/issues/9520/comments
15
2023-08-21T02:28:34Z
2024-06-26T11:19:14Z
https://github.com/langchain-ai/langchain/issues/9520
1,858,436,969
9,520
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.268 python=3.9 mac ### Who can help? I used the FAISS as the vector store. it seems that the `similarity_search_with_score` (supposedly ranked by distance: low to high) and `similarity_search_with_relevance_scores`((supposedly ranked by relevance: high to low) produce conflicti...
FAISS vectorstore `similarity_search_with_relevance_scores` returns strange/false result with `MAX_INNER_PRODUCT`
https://api.github.com/repos/langchain-ai/langchain/issues/9519/comments
3
2023-08-21T02:21:28Z
2023-12-25T16:09:00Z
https://github.com/langchain-ai/langchain/issues/9519
1,858,432,029
9,519
[ "hwchase17", "langchain" ]
https://github.com/langchain-ai/langchain/blame/e51bccdb2890fa193ce7eb5bf7e13c28afef4dc4/libs/langchain/langchain/vectorstores/pgvector.py#L117 @hwchase17
pgvector extension is not installed
https://api.github.com/repos/langchain-ai/langchain/issues/9511/comments
2
2023-08-20T12:52:42Z
2023-12-06T17:44:06Z
https://github.com/langchain-ai/langchain/issues/9511
1,858,114,722
9,511
[ "hwchase17", "langchain" ]
### System Info Python 3.8.16 langchain==0.0.268 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selec...
missing model_name param in ChatAnthropic
https://api.github.com/repos/langchain-ai/langchain/issues/9510/comments
4
2023-08-20T12:37:45Z
2023-12-07T16:06:40Z
https://github.com/langchain-ai/langchain/issues/9510
1,858,110,406
9,510
[ "hwchase17", "langchain" ]
### System Info `ValueError Traceback (most recent call last) Cell In[35], line 3 1 query = "What did the president say about the Supreme Court" 2 docs = db.similarity_search(query) ----> 3 chain.run(input_documents=docs, question=query) File [~/.local/lib/python3.10/s...
TimeOutError unhandled
https://api.github.com/repos/langchain-ai/langchain/issues/9509/comments
2
2023-08-20T11:50:21Z
2023-11-26T16:06:29Z
https://github.com/langchain-ai/langchain/issues/9509
1,858,096,249
9,509
[ "hwchase17", "langchain" ]
how to improve the perfromance of agents to get better responses from the local model like gpt4all
how to improve the perfromance of agents to get better responses from the local model like gpt4all
https://api.github.com/repos/langchain-ai/langchain/issues/9506/comments
6
2023-08-20T06:25:58Z
2023-12-02T16:06:07Z
https://github.com/langchain-ai/langchain/issues/9506
1,857,998,389
9,506
[ "hwchase17", "langchain" ]
The `QAGenerationChain` as it is currently written is prone to a `JSONDecodeError`, as mentioned in https://github.com/langchain-ai/langchain/pull/9503. That was my naive attempt to fix the problem I was having, but as I explained in closing the PR, I think a `PydanticOutputParser` with a more instructive prompt or an ...
QAGenerationChain.run often ends in JSONDecodeError
https://api.github.com/repos/langchain-ai/langchain/issues/9505/comments
6
2023-08-20T06:01:56Z
2024-02-08T03:16:35Z
https://github.com/langchain-ai/langchain/issues/9505
1,857,988,199
9,505
[ "hwchase17", "langchain" ]
### System Info ! pip show langchain Name: langchain Version: 0.0.268 Summary: Building applications with LLMs through composability Home-page: https://www.github.com/hwchase17/langchain ! pip show openlm Name: openlm Version: 0.0.5 Summary: Drop-in OpenAI-compatible that can call LLMs from other providers ...
LLM Chain: Unable to run OpenLM - unexpected keyword argument 'api_key' in Completion.create class
https://api.github.com/repos/langchain-ai/langchain/issues/9504/comments
6
2023-08-20T05:26:12Z
2023-11-27T16:07:11Z
https://github.com/langchain-ai/langchain/issues/9504
1,857,958,938
9,504
[ "hwchase17", "langchain" ]
> from langchain.llms import HuggingFacePipeline `ImportError: cannot import name 'HuggingFacePipeline' from 'langchain.llms'`
Issue: Can't import HuggingFacePipeline
https://api.github.com/repos/langchain-ai/langchain/issues/9502/comments
12
2023-08-20T02:53:24Z
2024-06-13T20:44:44Z
https://github.com/langchain-ai/langchain/issues/9502
1,857,932,992
9,502
[ "hwchase17", "langchain" ]
### System Info requirements.txt: ``` langchain==0.0.254 atlassian-python-api==3.36.0 chromadb==0.3.25 huggingface-hub==0.16.4 torch==2.0.1 sentence-transformers==2.2.2 InstructorEmbedding==1.0.0 p4python==2023.1.2454917 lxml==4.9.2 bs4==0.0.1 ``` Dockerfile ```Dockerfile FROM python:3.10 # Creat...
HuggingFaceInstructEmbeddings hangs in Docker container, but runs fine on MacOS
https://api.github.com/repos/langchain-ai/langchain/issues/9498/comments
9
2023-08-19T20:07:57Z
2024-03-13T20:01:26Z
https://github.com/langchain-ai/langchain/issues/9498
1,857,854,089
9,498
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have the following code: ``` pipe = transformers.pipeline( model=llm_model, tokenizer=tokenizer, return_full_text=True, task='text-generation', temperature=0.2, max_new_tokens=200 ) llm = HuggingFacePipeline(pipeline=pipe) retriever = vector_db.a...
Issue: RetrievalQA runs twice faster than huggingface model call
https://api.github.com/repos/langchain-ai/langchain/issues/9492/comments
5
2023-08-19T15:26:52Z
2023-11-30T16:07:16Z
https://github.com/langchain-ai/langchain/issues/9492
1,857,775,366
9,492
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I bumped langchain to version 0.0.268 and encountered below error while implementing 'with_fallbacks'. Error: pydantic.error_wrappers.ValidationError: 1 validation error for LLMChain llm Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, ap...
Issue: RunnableWithFallbacks: Can't instantiate abstract class BaseLanguageModel ???
https://api.github.com/repos/langchain-ai/langchain/issues/9489/comments
19
2023-08-19T11:55:03Z
2024-05-21T16:35:19Z
https://github.com/langchain-ai/langchain/issues/9489
1,857,687,357
9,489
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. May I ask if there are any plans to support baiduwenxin llm in the near future? I saw that the JavaScript version has baiduwenxin, but Python does not ### Suggestion: _No response_
[ask]: about baiduwenxin LLM
https://api.github.com/repos/langchain-ai/langchain/issues/9488/comments
2
2023-08-19T07:19:40Z
2023-11-25T16:06:48Z
https://github.com/langchain-ai/langchain/issues/9488
1,857,615,923
9,488
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I use embedding model from huggingface vinai/phobert-base: ![image](https://github.com/langchain-ai/langchain/assets/90046327/a5fef433-ae15-4d30-abf0-0fe14f1ca7db) Then it has this problem: WARNING:sentence_transformers.SentenceTransformer:No sentence-transformers model found with n...
Problem with embedding model
https://api.github.com/repos/langchain-ai/langchain/issues/9486/comments
12
2023-08-19T03:25:59Z
2023-12-02T16:06:12Z
https://github.com/langchain-ai/langchain/issues/9486
1,857,522,891
9,486
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. In my problem statement I am defining multiple tools which are all based on retrieval chain and I am using OpenAiAgent as the agent to call this tools. So when I am running a query it invokes to a single vectorstore. But I need my agent to access different vectorstores if the answer is...
Invoke Multiple tools
https://api.github.com/repos/langchain-ai/langchain/issues/9483/comments
3
2023-08-18T23:09:08Z
2023-11-24T16:06:09Z
https://github.com/langchain-ai/langchain/issues/9483
1,857,382,588
9,483
[ "hwchase17", "langchain" ]
### System Info Name: langchain Version: 0.0.268 Python 3.10.10 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Select...
RunnableWithFallbacks
https://api.github.com/repos/langchain-ai/langchain/issues/9474/comments
1
2023-08-18T20:22:34Z
2023-10-15T15:32:35Z
https://github.com/langchain-ai/langchain/issues/9474
1,857,249,373
9,474
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.264 sqlalchemy 1.4.39 Platform mac os ventura 13.2.1 Python 3.11.4 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Pro...
SQLDatabase object returns empty list with get_usable_table_names()
https://api.github.com/repos/langchain-ai/langchain/issues/9469/comments
7
2023-08-18T18:43:24Z
2024-01-30T00:41:12Z
https://github.com/langchain-ai/langchain/issues/9469
1,857,140,529
9,469
[ "hwchase17", "langchain" ]
### Feature request I propose an enhancement to the pgvector functionality: the addition of an update feature in [pgvector.py](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/vectorstores/pgvector.py). As it stands, the code only seems to allow for the addition of new embeddings. I belie...
Add Functionality to Update Embeddings in pgvector
https://api.github.com/repos/langchain-ai/langchain/issues/9461/comments
7
2023-08-18T17:07:12Z
2024-01-18T01:38:08Z
https://github.com/langchain-ai/langchain/issues/9461
1,857,029,157
9,461
[ "hwchase17", "langchain" ]
The following code throws ```langchain.schema.output_parser.OutputParserException``` 90% of the time: ```python model = ChatOpenAI(model='gpt-4-0613') # code generation on gpt-3.5 isn't strong enough prompt = ChatPromptTemplate(messages=[ SystemMessagePromptTemplate.from_template("Write code to so...
langchain.schema.output_parser.OutputParserException: Could not parse function call data: Invalid control character Using JsonOutputFunctionParser
https://api.github.com/repos/langchain-ai/langchain/issues/9460/comments
5
2023-08-18T16:52:56Z
2024-01-11T07:32:13Z
https://github.com/langchain-ai/langchain/issues/9460
1,857,013,821
9,460
[ "hwchase17", "langchain" ]
### System Info I am playing around with tools in LangChain, but I am running into an issue where the output of the model is not a `FunctionMessage` type even though the LLM is making a function call. For example in this code below ```python # Import libraries from langchain.chat_models import ChatOpenAI from l...
OpenAI function call is not a FunctionMessage type
https://api.github.com/repos/langchain-ai/langchain/issues/9457/comments
4
2023-08-18T15:54:11Z
2023-08-18T22:23:26Z
https://github.com/langchain-ai/langchain/issues/9457
1,856,945,358
9,457
[ "hwchase17", "langchain" ]
### System Info I got this error from on my office laptop OS: Win 10 I checked AzureAI key, url, deployment and model names. No problem about that. This guy having same issue with me : https://stackoverflow.com/questions/76750207/azureopenai-not-available-in-langchain I deleted "import openai" part but no ch...
cannot import name 'AzureOpenAI' from 'langchain.llms'
https://api.github.com/repos/langchain-ai/langchain/issues/9453/comments
5
2023-08-18T15:19:17Z
2024-02-13T16:13:37Z
https://github.com/langchain-ai/langchain/issues/9453
1,856,898,665
9,453
[ "hwchase17", "langchain" ]
### System Info Hello! I wrote a code that is very similar to this one https://python.langchain.com/docs/integrations/toolkits/document_comparison_toolkit ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] ...
Aksing about uploaded documents only works when I first ask the AI on a specific one
https://api.github.com/repos/langchain-ai/langchain/issues/9451/comments
2
2023-08-18T14:23:13Z
2023-11-25T16:06:54Z
https://github.com/langchain-ai/langchain/issues/9451
1,856,811,221
9,451
[ "hwchase17", "langchain" ]
### Feature request For the chains in libs/langchain/langchain/chains/summarize, it might be useful to add to the prompt something like: "Try to limit the summary to {length} words", and set the length as an input parameter. So that we can have some influence over the length of the output summary. I know that m...
Add some control over the summary length for summarize chains
https://api.github.com/repos/langchain-ai/langchain/issues/9449/comments
4
2023-08-18T13:49:38Z
2024-04-17T05:59:06Z
https://github.com/langchain-ai/langchain/issues/9449
1,856,760,404
9,449
[ "hwchase17", "langchain" ]
### System Info I use Python 3.10.12 and langchain 0.0.262. Using a chroma vector database within langchain, I encounter different behaviors between the .get() and .peek() methods. Specifically, when I use .get(), the embeddings field appears as None. However, when I use .peek(), the embeddings field is complete. ...
Inconsistent Embedding Field Behavior Between .get() and .peek() Methods in Vector Database within Langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9442/comments
1
2023-08-18T09:24:20Z
2023-08-18T09:36:04Z
https://github.com/langchain-ai/langchain/issues/9442
1,856,376,828
9,442
[ "hwchase17", "langchain" ]
### System Info ### Environment: Google COLAB project. When running `!cat /etc/os-release` it prints: ``` PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="...
StructuredTool raises an error when instantiated
https://api.github.com/repos/langchain-ai/langchain/issues/9441/comments
9
2023-08-18T08:45:10Z
2024-01-23T06:13:17Z
https://github.com/langchain-ai/langchain/issues/9441
1,856,316,147
9,441
[ "hwchase17", "langchain" ]
### System Info LangChain 0.0.267, Python 3.10, Poetry virtualenv, Pop_OS 22.04 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templa...
TransformChain wrong function types, enforced since 0.0.267
https://api.github.com/repos/langchain-ai/langchain/issues/9440/comments
5
2023-08-18T08:41:31Z
2023-11-25T16:06:59Z
https://github.com/langchain-ai/langchain/issues/9440
1,856,311,063
9,440
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi everyone, I'm trying to deploy and use langsmith locally. I deployed in a docker container using ``` langsmith start --expose --openai-api-key=<my azure OpenAi key> ``` the docker container looks good ![image](https://github.com/langchain-ai/langchain/assets/12852824/28aae23a...
Langsmith expose is not working Azure OpenAI services
https://api.github.com/repos/langchain-ai/langchain/issues/9438/comments
4
2023-08-18T08:06:33Z
2024-01-30T00:45:35Z
https://github.com/langchain-ai/langchain/issues/9438
1,856,263,823
9,438
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.267 ### Who can help? @hwaking @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 - [...
ConvoOutputParser randomly fails to parse LLM output
https://api.github.com/repos/langchain-ai/langchain/issues/9436/comments
2
2023-08-18T07:23:52Z
2023-11-24T16:06:34Z
https://github.com/langchain-ai/langchain/issues/9436
1,856,204,649
9,436
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello, I'm trying to run langsmith locally, together with Azure OpenAi services. I started langsmith in docker and it looks like below ![image](https://github.com/langchain-ai/langchain/assets/12852824/cf63b177-a2b3-4a63-b821-e1b7d51b4885) And I'm running the chatbot from here ht...
Running Langsmith locally not working
https://api.github.com/repos/langchain-ai/langchain/issues/9435/comments
1
2023-08-18T07:11:45Z
2023-08-18T07:57:29Z
https://github.com/langchain-ai/langchain/issues/9435
1,856,187,220
9,435
[ "hwchase17", "langchain" ]
### System Info LangChain Version: 0.0.267 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
While using a GPT-4 deployed on AzureOpenAI, model name is showing as 'gpt-3.5-turbo', while the engine is showing as 'gpt-4'
https://api.github.com/repos/langchain-ai/langchain/issues/9434/comments
3
2023-08-18T06:36:12Z
2023-12-20T16:06:41Z
https://github.com/langchain-ai/langchain/issues/9434
1,856,141,970
9,434
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a JSONL file that has the format: { "question": ... "answer": ... } I only want to use "question" for "page_content" to retrieve, because if I merge "question" and "answer" into "page_content", it will be noise to retrieve. I have an idea that after retrieving: - I will...
Issue: How to replace "page_content" after "retrieval"
https://api.github.com/repos/langchain-ai/langchain/issues/9429/comments
4
2023-08-18T04:04:37Z
2023-11-24T16:06:39Z
https://github.com/langchain-ai/langchain/issues/9429
1,856,013,098
9,429
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. template = """Answer the following questions as best you can. You have access to the following tools: {tools} {chat_history} Use the following format: Question: the input question you must answer Thought: you should always think about what to do Action: the action to take, sh...
Add System message in the LLMSingleActionAgent
https://api.github.com/repos/langchain-ai/langchain/issues/9427/comments
1
2023-08-18T02:54:56Z
2023-11-24T16:06:44Z
https://github.com/langchain-ai/langchain/issues/9427
1,855,964,090
9,427