url
stringlengths
63
64
repository_url
stringclasses
1 value
labels_url
stringlengths
77
78
comments_url
stringlengths
72
73
events_url
stringlengths
70
71
html_url
stringlengths
51
54
id
int64
1.73B
2.09B
node_id
stringlengths
18
19
number
int64
5.23k
16.2k
title
stringlengths
1
385
user
dict
labels
list
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
list
milestone
null
comments
int64
0
56
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
author_association
stringclasses
3 values
active_lock_reason
null
body
stringlengths
1
55.4k
reactions
dict
timeline_url
stringlengths
72
73
performed_via_github_app
null
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/langchain-ai/langchain/issues/9152
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9152/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9152/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9152/events
https://github.com/langchain-ai/langchain/issues/9152
1,847,942,408
I_kwDOIPDwls5uJV0I
9,152
Able to query contents of a PG vector table, ever after dropping the table.
{ "login": "rkrkrediffmail", "id": 10477836, "node_id": "MDQ6VXNlcjEwNDc3ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/10477836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rkrkrediffmail", "html_url": "https://github.com/rkrkrediffmail", "followers_url": "https://api.github.com/users/rkrkrediffmail/followers", "following_url": "https://api.github.com/users/rkrkrediffmail/following{/other_user}", "gists_url": "https://api.github.com/users/rkrkrediffmail/gists{/gist_id}", "starred_url": "https://api.github.com/users/rkrkrediffmail/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rkrkrediffmail/subscriptions", "organizations_url": "https://api.github.com/users/rkrkrediffmail/orgs", "repos_url": "https://api.github.com/users/rkrkrediffmail/repos", "events_url": "https://api.github.com/users/rkrkrediffmail/events{/privacy}", "received_events_url": "https://api.github.com/users/rkrkrediffmail/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-12T11:13:01
2023-08-12T12:07:34
2023-08-12T12:07:34
NONE
null
### System Info Hello, Thanks for the wonderful extension on PG. I am using on DigitialOcean for my SAAS app where i have different schemas for each tenant. I had installed PG vector in public schema, so that all the tenants could make use of them. My app is built on OpenAI api and I am using the default method from langchain to define the db **from langchain.vectorstores.pgvector import DistanceStrategy db = PGVector.from_documents( documents= docs, embedding = embeddings, collection_name= "schema.unique_value", distance_strategy = DistanceStrategy.COSINE, connection_string=CONNECTION_STRING)** This create two files in the public scema and i could see and query the contents. below are the tables langchain_pg_colllection langchain_pg_embedding But when i wish to rewrite the contents by deleteing and even dropping the tables, i could still query the content using the below code: **db = PGVector( collection_name=collection_name, connection_string=CONNECTION_STRING, embedding_function=embeddings, ) retriever = db.as_retriever( search_kwargs={"k": 5} )** The deleted table gets automatically restored while query. This feature is strange and not sure what creates it. Also when i pass a non existent value, instead of failing, it creates a new record in the collection table. I raise this issue with PG_VECTOR but was rightly directed to reach out to you. Would seek any inputs to resolve this plase. ### Who can help? @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction **db = PGVector( collection_name=collection_name, connection_string=CONNECTION_STRING, embedding_function=embeddings, ) retriever = db.as_retriever( search_kwargs={"k": 5} )** ### Expected behavior The retriever should get only the contents from the table. If not in the table (or table not available) it should fail. Thanks in anticipation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9152/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9152/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9151
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9151/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9151/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9151/events
https://github.com/langchain-ai/langchain/issues/9151
1,847,930,416
I_kwDOIPDwls5uJS4w
9,151
Custom Parameter/ Json Payload for from_llm_and_api_docs() function
{ "login": "tfbecker", "id": 16575621, "node_id": "MDQ6VXNlcjE2NTc1NjIx", "avatar_url": "https://avatars.githubusercontent.com/u/16575621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tfbecker", "html_url": "https://github.com/tfbecker", "followers_url": "https://api.github.com/users/tfbecker/followers", "following_url": "https://api.github.com/users/tfbecker/following{/other_user}", "gists_url": "https://api.github.com/users/tfbecker/gists{/gist_id}", "starred_url": "https://api.github.com/users/tfbecker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tfbecker/subscriptions", "organizations_url": "https://api.github.com/users/tfbecker/orgs", "repos_url": "https://api.github.com/users/tfbecker/repos", "events_url": "https://api.github.com/users/tfbecker/events{/privacy}", "received_events_url": "https://api.github.com/users/tfbecker/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
5
2023-08-12T10:53:09
2023-11-18T16:04:52
2023-11-18T16:04:51
NONE
null
### Feature request I am trying to use the from_llm_and_api_docs() function with an API that only supports parameters via the "params" parameter in the request library: The from_llm_and_api_docs works well with apis that encode parameters in the URl. Eg: https://api.open-meteo.com/v1/forecast/latitude=123&longitude=123 I would need langchain to generate a json_payload and input it into the "params" parameter in the request header. I looked into the Langchain code and it seems like that this line: requests_wrapper = TextRequestsWrapper(headers=headers) needs to be augmented with a "params" parameter. Example: r = requests.get('https://www.domain.com/endpoint',params=params,cookies=cookies, headers=headers,json=json_data) json_data = { 'field_ids': field_ids, 'order': [ { 'field_id': 'rank_org_company', 'sort': sort_order, }, ], 'query': [ { 'type': 'predicate', 'field_id': 'founded_on', 'operator_id': 'gte', 'values': [ '01/01/2018', ], }, { 'type': 'predicate', 'field_id': 'equity_funding_total', 'operator_id': 'lte', 'values': [ { 'value': 15000000, 'currency': 'usd', }, ], }, { 'type': 'predicate', 'field_id': 'location_identifiers', 'operator_id': 'includes', 'values': [ '6106f5dc-823e-5da8-40d7-51612c0b2c4e', ], } ], 'field_aggregators': [], 'collection_id': 'organization.companies', 'limit': 1000, } How do I need to change the from_llm_and_api_docs() accordingly? ### Motivation Many APIs are controlled via a json payload and not solely via parameters in the URL. ### Your contribution I could look into changing the request wrapper but maybe there is a more elegant way of doing so.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9151/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9151/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9150
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9150/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9150/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9150/events
https://github.com/langchain-ai/langchain/issues/9150
1,847,753,503
I_kwDOIPDwls5uInsf
9,150
Error in AimCallbackHandler.on_chain_start callback: 'input'
{ "login": "srinisubramanian", "id": 8343179, "node_id": "MDQ6VXNlcjgzNDMxNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/8343179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srinisubramanian", "html_url": "https://github.com/srinisubramanian", "followers_url": "https://api.github.com/users/srinisubramanian/followers", "following_url": "https://api.github.com/users/srinisubramanian/following{/other_user}", "gists_url": "https://api.github.com/users/srinisubramanian/gists{/gist_id}", "starred_url": "https://api.github.com/users/srinisubramanian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/srinisubramanian/subscriptions", "organizations_url": "https://api.github.com/users/srinisubramanian/orgs", "repos_url": "https://api.github.com/users/srinisubramanian/repos", "events_url": "https://api.github.com/users/srinisubramanian/events{/privacy}", "received_events_url": "https://api.github.com/users/srinisubramanian/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
5
2023-08-12T04:58:36
2023-11-12T07:23:03
null
NONE
null
### System Info langchain==0.0.262 aim==3.17.5 aim-ui==3.17.5 aimrecords==0.0.7 aimrocks==0.4.0 python: 3.11.4 env: MacOS ### Who can help? @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [X] Callbacks/Tracing - [ ] Async ### Reproduction The AIM Callback example: https://python.langchain.com/docs/integrations/providers/aim_tracking Running only with the LLM works fine. However when using any CHAIN example it fails with the error: > Entering new LLMChain chain... Error in AimCallbackHandler.on_chain_start callback: 'input' > Finished chain. Error in AimCallbackHandler.on_chain_end callback: 'output' No further exceptions are displayed And the trace recorded in AIM is also incomplete. ### Expected behavior Trace should be recorded completely. And no errors should occur on callback for chain start and chain end
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9150/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9150/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9149
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9149/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9149/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9149/events
https://github.com/langchain-ai/langchain/pull/9149
1,847,641,712
PR_kwDOIPDwls5XxTxQ
9,149
Update debugging image link for LangSmith Run
{ "login": "gyliu513", "id": 4461983, "node_id": "MDQ6VXNlcjQ0NjE5ODM=", "avatar_url": "https://avatars.githubusercontent.com/u/4461983?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gyliu513", "html_url": "https://github.com/gyliu513", "followers_url": "https://api.github.com/users/gyliu513/followers", "following_url": "https://api.github.com/users/gyliu513/following{/other_user}", "gists_url": "https://api.github.com/users/gyliu513/gists{/gist_id}", "starred_url": "https://api.github.com/users/gyliu513/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gyliu513/subscriptions", "organizations_url": "https://api.github.com/users/gyliu513/orgs", "repos_url": "https://api.github.com/users/gyliu513/repos", "events_url": "https://api.github.com/users/gyliu513/events{/privacy}", "received_events_url": "https://api.github.com/users/gyliu513/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
5
2023-08-12T01:37:36
2023-09-22T02:36:33
2023-09-22T02:36:30
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9149/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9149/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9149", "html_url": "https://github.com/langchain-ai/langchain/pull/9149", "diff_url": "https://github.com/langchain-ai/langchain/pull/9149.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9149.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9148
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9148/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9148/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9148/events
https://github.com/langchain-ai/langchain/pull/9148
1,847,492,503
PR_kwDOIPDwls5Xwyg_
9,148
docstrings: document_loaders consistency 2
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-08-11T22:17:46
2023-08-14T22:48:36
2023-08-11T23:25:41
COLLABORATOR
null
This is Part 2. See #9139 (Part 1).
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9148/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9148/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9148", "html_url": "https://github.com/langchain-ai/langchain/pull/9148", "diff_url": "https://github.com/langchain-ai/langchain/pull/9148.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9148.patch", "merged_at": "2023-08-11T23:25:41" }
https://api.github.com/repos/langchain-ai/langchain/issues/9146
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9146/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9146/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9146/events
https://github.com/langchain-ai/langchain/issues/9146
1,847,459,877
I_kwDOIPDwls5uHgAl
9,146
Langchain text_generation client hits: pydantic.error_wrappers.ValidationError: 1 validation error for Response
{ "login": "htang2012", "id": 2213339, "node_id": "MDQ6VXNlcjIyMTMzMzk=", "avatar_url": "https://avatars.githubusercontent.com/u/2213339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/htang2012", "html_url": "https://github.com/htang2012", "followers_url": "https://api.github.com/users/htang2012/followers", "following_url": "https://api.github.com/users/htang2012/following{/other_user}", "gists_url": "https://api.github.com/users/htang2012/gists{/gist_id}", "starred_url": "https://api.github.com/users/htang2012/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/htang2012/subscriptions", "organizations_url": "https://api.github.com/users/htang2012/orgs", "repos_url": "https://api.github.com/users/htang2012/repos", "events_url": "https://api.github.com/users/htang2012/events{/privacy}", "received_events_url": "https://api.github.com/users/htang2012/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T21:41:36
2023-08-11T21:45:22
2023-08-11T21:45:08
NONE
null
### System Info langchain 0.0.262 text_generation_server. https://github.com/huggingface/text-generation-inference ### 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 - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction start text_generation_inference server on local host, verify it is working =============== from langchain import PromptTemplate, HuggingFaceTextGenInference llm = HuggingFaceTextGenInference( inference_server_url="http://127.0.0.1:80", max_new_tokens=64, top_k=10, top_p=0.95, typical_p=0.95, temperature=1, repetition_penalty=1.03, ) output = llm("What is Machine Learning?") print(output) ================= root@0b801769b7bd:~/langchain_client# python langchain-client.py Traceback (most recent call last): File "/root/langchain_client/langchain-client.py", line 59, in <module> output = llm("What is Machine Learning?") File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 802, in __call__ self.generate( File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 598, in generate output = self._generate_helper( File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 504, in _generate_helper raise e File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 491, in _generate_helper self._generate( File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 977, in _generate self._call(prompt, stop=stop, run_manager=run_manager, **kwargs) File "/usr/local/lib/python3.10/dist-packages/langchain/llms/huggingface_text_gen_inference.py", line 164, in _call res = self.client.generate(prompt, **invocation_params) File "/usr/local/lib/python3.10/dist-packages/text_generation/client.py", line 150, in generate return Response(**payload[0]) File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for Response details -> tokens -> 6 -> logprob none is not an allowed value (type=type_error.none.not_allowed) ### Expected behavior output text from text generation inference server.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9146/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9146/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9145
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9145/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9145/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9145/events
https://github.com/langchain-ai/langchain/pull/9145
1,847,406,363
PR_kwDOIPDwls5Xwfv6
9,145
fix
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-11T20:43:24
2023-08-11T20:58:25
2023-08-11T20:58:24
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9145/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9145/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9145", "html_url": "https://github.com/langchain-ai/langchain/pull/9145", "diff_url": "https://github.com/langchain-ai/langchain/pull/9145.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9145.patch", "merged_at": "2023-08-11T20:58:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/9144
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9144/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9144/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9144/events
https://github.com/langchain-ai/langchain/issues/9144
1,847,337,972
I_kwDOIPDwls5uHCP0
9,144
GoogleSerperRun._arun() got an unexpected keyword argument 'arg1'
{ "login": "Ajaypawar02", "id": 65480235, "node_id": "MDQ6VXNlcjY1NDgwMjM1", "avatar_url": "https://avatars.githubusercontent.com/u/65480235?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ajaypawar02", "html_url": "https://github.com/Ajaypawar02", "followers_url": "https://api.github.com/users/Ajaypawar02/followers", "following_url": "https://api.github.com/users/Ajaypawar02/following{/other_user}", "gists_url": "https://api.github.com/users/Ajaypawar02/gists{/gist_id}", "starred_url": "https://api.github.com/users/Ajaypawar02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ajaypawar02/subscriptions", "organizations_url": "https://api.github.com/users/Ajaypawar02/orgs", "repos_url": "https://api.github.com/users/Ajaypawar02/repos", "events_url": "https://api.github.com/users/Ajaypawar02/events{/privacy}", "received_events_url": "https://api.github.com/users/Ajaypawar02/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-08-11T19:44:55
2023-08-13T23:07:17
2023-08-13T23:07:17
NONE
null
### Issue you'd like to raise. llm = OpenAI(temperature=0, model_name = args.ModelName) system_message = SystemMessage(content=template) agent_kwargs = { "extra_prompt_messages": [MessagesPlaceholder(variable_name="memory")], "system_message": system_message, } tools = load_tools(["google-serper"], llm=llm) agent_executor = initialize_agent( tools, llm, agent=AgentType.OPENAI_FUNCTIONS, agent_kwargs= agent_kwargs, verbose = True, memory = memory, handle_parsing_errors=True, ) I am getting this error GoogleSerperRun._arun() got an unexpected keyword argument 'arg1'. Can anyone explain why is it so ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9144/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9144/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9143
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9143/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9143/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9143/events
https://github.com/langchain-ai/langchain/pull/9143
1,847,312,252
PR_kwDOIPDwls5XwLFk
9,143
RFC: remove things from init
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
3
2023-08-11T19:20:11
2023-10-03T18:23:54
2023-10-03T18:23:53
COLLABORATOR
null
will speed up imports, cause less weird transient import errors, and set us up to split up the package
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9143/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9143/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9143", "html_url": "https://github.com/langchain-ai/langchain/pull/9143", "diff_url": "https://github.com/langchain-ai/langchain/pull/9143.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9143.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9142
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9142/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9142/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9142/events
https://github.com/langchain-ai/langchain/pull/9142
1,847,309,075
PR_kwDOIPDwls5XwKZV
9,142
rm integration deps
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-11T19:17:03
2023-08-11T19:43:09
2023-08-11T19:43:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9142/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9142/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9142", "html_url": "https://github.com/langchain-ai/langchain/pull/9142", "diff_url": "https://github.com/langchain-ai/langchain/pull/9142.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9142.patch", "merged_at": "2023-08-11T19:43:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/9141
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9141/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9141/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9141/events
https://github.com/langchain-ai/langchain/pull/9141
1,847,292,842
PR_kwDOIPDwls5XwG1G
9,141
Fix for SVM retriever discarding document metadata
{ "login": "MarkusSchiffer", "id": 47703802, "node_id": "MDQ6VXNlcjQ3NzAzODAy", "avatar_url": "https://avatars.githubusercontent.com/u/47703802?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MarkusSchiffer", "html_url": "https://github.com/MarkusSchiffer", "followers_url": "https://api.github.com/users/MarkusSchiffer/followers", "following_url": "https://api.github.com/users/MarkusSchiffer/following{/other_user}", "gists_url": "https://api.github.com/users/MarkusSchiffer/gists{/gist_id}", "starred_url": "https://api.github.com/users/MarkusSchiffer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarkusSchiffer/subscriptions", "organizations_url": "https://api.github.com/users/MarkusSchiffer/orgs", "repos_url": "https://api.github.com/users/MarkusSchiffer/repos", "events_url": "https://api.github.com/users/MarkusSchiffer/events{/privacy}", "received_events_url": "https://api.github.com/users/MarkusSchiffer/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-08-11T19:01:43
2023-08-11T20:08:18
2023-08-11T20:08:17
CONTRIBUTOR
null
As stated in the title the SVM retriever discarded the metadata of passed in docs. This code fixes that. I also added one unit test that should test that. Ultimately it's a simple fix, but unfortunately poetry was not correctly installing dependencies in my environment so I was unable to run the unit test and linting (took way longer to try to set up environment than make my change). Would appreciate if someone with the environment set up could quickly try it out. I did test by directly modifying the langchain source code in my miniconda environment where I initially found the issue and it fixed the bug there, so it's not completely untested.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9141/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9141/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9141", "html_url": "https://github.com/langchain-ai/langchain/pull/9141", "diff_url": "https://github.com/langchain-ai/langchain/pull/9141.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9141.patch", "merged_at": "2023-08-11T20:08:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/9140
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9140/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9140/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9140/events
https://github.com/langchain-ai/langchain/pull/9140
1,847,291,803
PR_kwDOIPDwls5XwGmn
9,140
Bagatur/vectara nit
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-11T19:00:39
2023-08-11T22:32:04
2023-08-11T22:32:03
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9140/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9140/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9140", "html_url": "https://github.com/langchain-ai/langchain/pull/9140", "diff_url": "https://github.com/langchain-ai/langchain/pull/9140.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9140.patch", "merged_at": "2023-08-11T22:32:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/9139
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9139/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9139/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9139/events
https://github.com/langchain-ai/langchain/pull/9139
1,847,279,215
PR_kwDOIPDwls5XwD6P
9,139
docstrings: document_loaders consistency
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
4
2023-08-11T18:48:05
2023-08-14T22:48:52
2023-08-11T20:09:31
COLLABORATOR
null
Formatted docstrings from different formats to consistent format, lile: >Loads processed docs from Docugami. "Load from `Docugami`." >Loader that uses Unstructured to load HTML files. "Load `HTML` files using `Unstructured`." >Load documents from a directory. "Load from a directory." - `Load` - no `Loads` - DocumentLoader always loads Documents, so no more "documents/docs/texts/ etc" - integrated systems and APIs enclosed in backticks,
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9139/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9139/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9139", "html_url": "https://github.com/langchain-ai/langchain/pull/9139", "diff_url": "https://github.com/langchain-ai/langchain/pull/9139.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9139.patch", "merged_at": "2023-08-11T20:09:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/9138
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9138/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9138/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9138/events
https://github.com/langchain-ai/langchain/pull/9138
1,847,251,279
PR_kwDOIPDwls5Xv9tA
9,138
feat: Docusaurus Loader
{ "login": "leedotpang", "id": 4491983, "node_id": "MDQ6VXNlcjQ0OTE5ODM=", "avatar_url": "https://avatars.githubusercontent.com/u/4491983?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leedotpang", "html_url": "https://github.com/leedotpang", "followers_url": "https://api.github.com/users/leedotpang/followers", "following_url": "https://api.github.com/users/leedotpang/following{/other_user}", "gists_url": "https://api.github.com/users/leedotpang/gists{/gist_id}", "starred_url": "https://api.github.com/users/leedotpang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leedotpang/subscriptions", "organizations_url": "https://api.github.com/users/leedotpang/orgs", "repos_url": "https://api.github.com/users/leedotpang/repos", "events_url": "https://api.github.com/users/leedotpang/events{/privacy}", "received_events_url": "https://api.github.com/users/leedotpang/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
10
2023-08-11T18:28:55
2023-11-10T22:21:56
2023-11-10T22:21:55
CONTRIBUTOR
null
Added a Docusaurus Loader Issue: #6353 I had to implement this for working with the Ionic documentation, and wanted to open this up as a draft to get some guidance on building this out further. I wasn't sure if having it be a light extension of the SitemapLoader was in the spirit of a proper feature for the library -- but I'm grateful for the opportunities Langchain has given me and I'd love to build this out properly for the sake of the community. Any feedback welcome!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9138/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9138/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9138", "html_url": "https://github.com/langchain-ai/langchain/pull/9138", "diff_url": "https://github.com/langchain-ai/langchain/pull/9138.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9138.patch", "merged_at": "2023-11-10T22:21:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/9137
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9137/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9137/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9137/events
https://github.com/langchain-ai/langchain/pull/9137
1,847,205,175
PR_kwDOIPDwls5XvzuU
9,137
Move self-check use case to "more" section
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
4
2023-08-11T17:45:56
2023-08-15T01:27:29
2023-08-15T01:27:28
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9137/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9137/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9137", "html_url": "https://github.com/langchain-ai/langchain/pull/9137", "diff_url": "https://github.com/langchain-ai/langchain/pull/9137.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9137.patch", "merged_at": "2023-08-15T01:27:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/9136
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9136/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9136/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9136/events
https://github.com/langchain-ai/langchain/pull/9136
1,847,203,139
PR_kwDOIPDwls5XvzR6
9,136
fix sparql queries for relations in schema description
{ "login": "felixocker", "id": 45704090, "node_id": "MDQ6VXNlcjQ1NzA0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/45704090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felixocker", "html_url": "https://github.com/felixocker", "followers_url": "https://api.github.com/users/felixocker/followers", "following_url": "https://api.github.com/users/felixocker/following{/other_user}", "gists_url": "https://api.github.com/users/felixocker/gists{/gist_id}", "starred_url": "https://api.github.com/users/felixocker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixocker/subscriptions", "organizations_url": "https://api.github.com/users/felixocker/orgs", "repos_url": "https://api.github.com/users/felixocker/repos", "events_url": "https://api.github.com/users/felixocker/events{/privacy}", "received_events_url": "https://api.github.com/users/felixocker/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
5
2023-08-11T17:44:03
2023-11-15T20:34:54
2023-10-25T20:36:58
CONTRIBUTOR
null
- **Description**: Fix for the SPARQL QA chain: fixed SPARQL queries for retrieving information about relations in the graph to create a textual description of the schema for the language model. This should resolve #8907 - **Issue**: #8907 - **Dependencies**: None - **Tag maintainer**: @baskaryan, @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9136/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9136/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9136", "html_url": "https://github.com/langchain-ai/langchain/pull/9136", "diff_url": "https://github.com/langchain-ai/langchain/pull/9136.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9136.patch", "merged_at": "2023-10-25T20:36:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/9135
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9135/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9135/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9135/events
https://github.com/langchain-ai/langchain/pull/9135
1,847,195,238
PR_kwDOIPDwls5Xvxld
9,135
rfc zep search mem
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-11T17:36:32
2023-08-11T17:40:45
2023-08-11T17:40:45
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9135/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9135/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9135", "html_url": "https://github.com/langchain-ai/langchain/pull/9135", "diff_url": "https://github.com/langchain-ai/langchain/pull/9135.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9135.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9134
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9134/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9134/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9134/events
https://github.com/langchain-ai/langchain/pull/9134
1,847,192,412
PR_kwDOIPDwls5Xvw-4
9,134
Move code-writing use case to "more" section
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
2
2023-08-11T17:34:02
2023-08-15T01:27:20
2023-08-15T01:27:19
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9134/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9134/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9134", "html_url": "https://github.com/langchain-ai/langchain/pull/9134", "diff_url": "https://github.com/langchain-ai/langchain/pull/9134.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9134.patch", "merged_at": "2023-08-15T01:27:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/9133
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9133/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9133/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9133/events
https://github.com/langchain-ai/langchain/issues/9133
1,847,171,982
I_kwDOIPDwls5uGZuO
9,133
DOC: `API Reference` `langchain.agents Functions ` table unreadable
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
5
2023-08-11T17:16:33
2023-11-19T22:54:10
2023-11-19T22:52:01
COLLABORATOR
null
### Issue with current documentation: `API Reference` `langchain.agents Functions` table unreadable: ![image](https://github.com/langchain-ai/langchain/assets/2256422/ba09a924-51d2-4f69-bfe8-3d8de1a3939a) The `name` column is soo long, which makes the `description` column unreadable. It is because of this value: `agents.agent_toolkits.conversational_retrieval.openai_functions.create_conversational_retrieval_agent` ### Idea or request for content: Make the namespace [and name] of this function shorter.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9133/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9133/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9132
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9132/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9132/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9132/events
https://github.com/langchain-ai/langchain/issues/9132
1,847,163,390
I_kwDOIPDwls5uGXn-
9,132
Make intent identification in SPARQL QA chain more resilient
{ "login": "felixocker", "id": 45704090, "node_id": "MDQ6VXNlcjQ1NzA0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/45704090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felixocker", "html_url": "https://github.com/felixocker", "followers_url": "https://api.github.com/users/felixocker/followers", "following_url": "https://api.github.com/users/felixocker/following{/other_user}", "gists_url": "https://api.github.com/users/felixocker/gists{/gist_id}", "starred_url": "https://api.github.com/users/felixocker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixocker/subscriptions", "organizations_url": "https://api.github.com/users/felixocker/orgs", "repos_url": "https://api.github.com/users/felixocker/repos", "events_url": "https://api.github.com/users/felixocker/events{/privacy}", "received_events_url": "https://api.github.com/users/felixocker/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
3
2023-08-11T17:09:45
2023-11-16T00:40:56
null
CONTRIBUTOR
null
### Feature request **Make the intent identification (SELECT vs UPDATE) within the SPARQL QA chain more resilient** As originally described in #7758 and further discussed in #8521, some models struggle with providing an unambiguous response to the intent identification prompt, i.e., they return a sentence that contains both keywords instead of returning exactly one keyword. \ This should be resolvable with a loop that reprompts the model if its response is ambiguous. The loop should probably be limited to one or two retries. ### Motivation Make the intent identification within the SPARQL QA chain more resilient, so that it can more easily be used with models other than the OpenAI ones, e.g., StarCoder and NeoGPT3 mentioned in #7758, which are still able to generate sensible SPARQL ### Your contribution I should be able to create a PR soonish, but if somebody else wants to give this a go I would also be happy to review
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9132/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9132/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9131
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9131/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9131/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9131/events
https://github.com/langchain-ai/langchain/pull/9131
1,847,139,430
PR_kwDOIPDwls5XvlYa
9,131
zep/zep-python 1.0 compat
{ "login": "danielchalef", "id": 131175, "node_id": "MDQ6VXNlcjEzMTE3NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/131175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielchalef", "html_url": "https://github.com/danielchalef", "followers_url": "https://api.github.com/users/danielchalef/followers", "following_url": "https://api.github.com/users/danielchalef/following{/other_user}", "gists_url": "https://api.github.com/users/danielchalef/gists{/gist_id}", "starred_url": "https://api.github.com/users/danielchalef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielchalef/subscriptions", "organizations_url": "https://api.github.com/users/danielchalef/orgs", "repos_url": "https://api.github.com/users/danielchalef/repos", "events_url": "https://api.github.com/users/danielchalef/events{/privacy}", "received_events_url": "https://api.github.com/users/danielchalef/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-11T16:49:30
2023-08-15T13:20:49
2023-08-15T02:11:01
CONTRIBUTOR
null
Updating Zep's ZepRetriever and ZepChatHistory classes. The former to be compatible with VectorStoreRetrieverMemory. Both for compatibility with zep-python 1.0. - update zep-python to 1.0.1 - ZepChatHistory, ZepRetriever to zep-python 1.0 compat - Update ZepRetriever + ZepChatHistory unit tests
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9131/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9131/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9131", "html_url": "https://github.com/langchain-ai/langchain/pull/9131", "diff_url": "https://github.com/langchain-ai/langchain/pull/9131.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9131.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9130
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9130/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9130/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9130/events
https://github.com/langchain-ai/langchain/issues/9130
1,847,137,279
I_kwDOIPDwls5uGRP_
9,130
LangChain tools as gpt func, always fails at the JSON decode
{ "login": "dafang", "id": 207689, "node_id": "MDQ6VXNlcjIwNzY4OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/207689?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dafang", "html_url": "https://github.com/dafang", "followers_url": "https://api.github.com/users/dafang/followers", "following_url": "https://api.github.com/users/dafang/following{/other_user}", "gists_url": "https://api.github.com/users/dafang/gists{/gist_id}", "starred_url": "https://api.github.com/users/dafang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dafang/subscriptions", "organizations_url": "https://api.github.com/users/dafang/orgs", "repos_url": "https://api.github.com/users/dafang/repos", "events_url": "https://api.github.com/users/dafang/events{/privacy}", "received_events_url": "https://api.github.com/users/dafang/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
4
2023-08-11T16:48:08
2023-11-19T16:05:06
2023-11-19T16:05:05
NONE
null
### System Info Python 3.10 LangChain: 0.0.245 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I write a 'Python interpreter' tool, as below sample code: ``` class PythonInterpreterTool(BaseTool): name = "python_interpreter" name_display = "Python Interpreter" description = """Give me the Python to execute,it returns the execution result""" def _run(self, code: str) -> str: with PythonInterpreter() as executor: # type: ignore output = executor.run_python_code(code) return output async def _arun(self, code: str) -> str: raise NotImplementedError ``` But, for many times, I always got "Could not parse tool input... because the `arguments` is not valid JSON." error: Could not parse tool input: {'name': 'python_interpreter', 'arguments': '{\n "__arg1": "\nimport moviepy.editor as mp\n\nvideo_path = \'https://video-clip.oss.com/upload/40ae1ae0-3799-11ee-9c80-476f00f64986.mp4\'\noutput_path = \'output.mp3\'\n\nvideo = mp.VideoFileClip(video_path)\nvideo.audio.write_audiofile(output_path)\n"\n}'} because the `arguments` is not valid JSON. ### Expected behavior I write a 'Python interpreter' tool, as below sample code: ``` class PythonInterpreterTool(BaseTool): name = "python_interpreter" name_display = "Python Interpreter" description = """Give me the Python to execute,it returns the execution result""" def _run(self, code: str) -> str: with PythonInterpreter() as executor: # type: ignore output = executor.run_python_code(code) return output async def _arun(self, code: str) -> str: raise NotImplementedError ``` But, for many times, I always got "Could not parse tool input... because the `arguments` is not valid JSON." error: Could not parse tool input: {'name': 'python_interpreter', 'arguments': '{\n "__arg1": "\nimport moviepy.editor as mp\n\nvideo_path = \'https://video-clip.oss.com/upload/40ae1ae0-3799-11ee-9c80-476f00f64986.mp4\'\noutput_path = \'output.mp3\'\n\nvideo = mp.VideoFileClip(video_path)\nvideo.audio.write_audiofile(output_path)\n"\n}'} because the `arguments` is not valid JSON.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9130/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9130/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9129
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9129/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9129/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9129/events
https://github.com/langchain-ai/langchain/issues/9129
1,847,115,156
I_kwDOIPDwls5uGL2U
9,129
[Request] Note that the 'base branch' needs to match the repository's 'default branch'
{ "login": "Zak-Alford", "id": 88165870, "node_id": "MDQ6VXNlcjg4MTY1ODcw", "avatar_url": "https://avatars.githubusercontent.com/u/88165870?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zak-Alford", "html_url": "https://github.com/Zak-Alford", "followers_url": "https://api.github.com/users/Zak-Alford/followers", "following_url": "https://api.github.com/users/Zak-Alford/following{/other_user}", "gists_url": "https://api.github.com/users/Zak-Alford/gists{/gist_id}", "starred_url": "https://api.github.com/users/Zak-Alford/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zak-Alford/subscriptions", "organizations_url": "https://api.github.com/users/Zak-Alford/orgs", "repos_url": "https://api.github.com/users/Zak-Alford/repos", "events_url": "https://api.github.com/users/Zak-Alford/events{/privacy}", "received_events_url": "https://api.github.com/users/Zak-Alford/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
4
2023-08-11T16:31:15
2023-11-20T16:05:11
2023-11-20T16:05:10
NONE
null
### System Info I have an extremely simple setup where I created a GH app following the [Github App Quickstart Guide](https://docs.github.com/en/apps/creating-github-apps/writing-code-for-a-github-app/quickstart). I then start a blank repo with the template `README.md` (just the name of the repo in a title). The agent can successfully create a pull request from one request where I ask the agent to make an ascii art of a whale & insert a new section in the README.md, but after manually merging that pull request myself the agent keeps incorrectly finding the initial value of the `README.md` with (what I'm assuming is) an incorrect commit hash that's never existed in [my repo](https://github.com/Zak-Alford/gh-test-repo2): ``` > Entering new AgentExecutor chain... First, I need to read the current README.md to know its contents. Then, I will update the file with the riddle. Finally, I will create a pull request. Action: Read File Action Input: README.md Observation: # gh-test-repo2 Thought:The file opens with a header for the repository. Now, I will add the riddle to the 'Weekly Challenge' section. Action: Update File Action Input: README.md OLD <<<< # gh-test-repo2 >>>> OLD NEW <<<< # gh-test-repo2 ## Weekly Challenge Riddle: What has keys but can't open locks? >>>> NEW Observation: Unable to update file due to error: 409 {"message": "README.md does not match 87f560c4c6fd9eecce7374b3ac8f5517a975bf63", "documentation_url": "https://docs.github.com/rest/repos/contents#create-or-update-file-contents"} Thought:It seems like there was a conflict when trying to update the file. The file might have been updated after I last read it. I will try to read the file again and then update it. Action: Read File Action Input: README.md Observation: # gh-test-repo2 Thought:The file content hasn't changed, so I'll attempt to update it again. Action: Update File Action Input: README.md OLD <<<< # gh-test-repo2 >>>> OLD NEW <<<< # gh-test-repo2 ## Weekly Challenge Riddle: What has keys but can't open locks? >>>> NEW Observation: Unable to update file due to error: 409 {"message": "README.md does not match 87f560c4c6fd9eecce7374b3ac8f5517a975bf63", "documentation_url": "https://docs.github.com/rest/repos/contents#create-or-update-file-contents"} Thought:There seems to be a problem with updating the file. Maybe the file was updated by someone else in the meantime, or there's an issue with the way I'm trying to update it. I'll try to create a new file with the riddle instead, and then make a pull request to merge it with the README.md. Action: Create File Action Input: WeeklyChallenge.md ## Weekly Challenge Riddle: What has keys but can't open locks? Observation: Unable to make file due to error: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content"} Thought:The creation of the file failed, perhaps the filepath or file name is incorrect. I will try to create the pull request directly and mention the changes proposed in the pull request description. Action: Create Pull Request Action Input: Update README.md with Weekly Challenge In this pull request, I propose adding the following riddle to the 'Weekly Challenge' section of the README.md: Riddle: What has keys but can't open locks? Observation: Unable to make pull request due to error: 422 {"message": "Validation Failed", "errors": [{"resource": "PullRequest", "code": "custom", "message": "No commits between test and bot-branch"}], "documentation_url": "https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} Thought:It seems like the pull request failed because there are no commits between the test and the bot-branch. This could be because I haven't successfully updated or created any files, so there's no changes to commit. I'll try to update the README.md file again, making sure to include the entire content of the file in the OLD <<<< and >>>> OLD tags, in case that was the issue. Action: Update File Action Input: README.md OLD <<<< # gh-test-repo2 >>>> OLD NEW <<<< # gh-test-repo2 ## Weekly Challenge Riddle: What has keys but can't open locks? >>>> NEW Observation: Unable to update file due to error: 409 {"message": "README.md does not match 87f560c4c6fd9eecce7374b3ac8f5517a975bf63", "documentation_url": "https://docs.github.com/rest/repos/contents#create-or-update-file-contents"} Thought:It seems like the error persists despite multiple attempts. There might be an issue with the GitHub repository or the API. At this point, I am unable to complete the task as instructed. Final Answer: I was unable to complete the task due to an error while updating the README.md file. > Finished chain. ``` Code I'm using to initialize the GH agent: ``` import os from langchain.agents import AgentType from langchain.agents import initialize_agent from langchain.agents.agent_toolkits.github.toolkit import GitHubToolkit from langchain.llms import OpenAI from langchain.chat_models import ChatOpenAI from langchain.utilities.github import GitHubAPIWrapper import json import custom_tools # List of required environment variables: env_vars = [ "GITHUB_APP_ID", "GITHUB_APP_PRIVATE_KEY", "GITHUB_REPOSITORY", "GITHUB_BRANCH", "GITHUB_BASE_BRANCH", "OPENAI_API_KEY", ] # Check your json file for key values with open("envvars.json", "r") as f: env_var_values = json.load(f) for var in env_vars: # Check that each key exists. If it doesn't, set it to be "" and then complain later if env_var_values.get(var, "") != "": os.environ[var] = env_var_values[var] else: # Complaint line raise Exception(f"The environment variable {var} was not set. You must set this value to continue.") bot_branch = os.environ["GITHUB_BRANCH"] gh_base_branch = os.environ["GITHUB_BASE_BRANCH"] llm = ChatOpenAI(model="gpt-4") github = GitHubAPIWrapper() toolkit = GitHubToolkit.from_github_api_wrapper(github) tools = [] # unwanted_tools = ['Get Issue','Delete File'] unwanted_tools = [] for tool in toolkit.get_tools(): if tool.name not in unwanted_tools: tools.append(tool) agent = initialize_agent( tools=tools, llm=llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True ) # request = f"Draw an ascii art whale and add it once to the 'Nature' section of the README.md file. Make a pull request back to {gh_base_branch}." request = f"Do a git pull first. Then write a riddle and it once to the 'Weekly Challenge' section of the README.md file. Don't write the answer to the riddle. Make a pull request back to {gh_base_branch}." agent.run(request) ``` scrubbed JSON file I'm using to grab env vars from: ``` { "GITHUB_APP_ID": "<my-app-id>", "GITHUB_APP_PRIVATE_KEY": "<my-path-to-pem>", "GITHUB_REPOSITORY": "Zak-Alford/gh-test-repo2", "GITHUB_BRANCH": "bot-branch", "GITHUB_BASE_BRANCH": "test", "OPENAI_API_KEY": "<my-openai-api-key>" } ``` ### Who can help? @hw ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction 1. Copy my script included above and name the file 2. Run `py (or python3) <filename>.py` ### Expected behavior The github agent should find the latest commit that it itself committed to the branch before creating a new commit with changes.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9129/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9129/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9128
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9128/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9128/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9128/events
https://github.com/langchain-ai/langchain/pull/9128
1,847,094,855
PR_kwDOIPDwls5Xvbtn
9,128
add basic support for redis cluster server
{ "login": "sseide", "id": 5168949, "node_id": "MDQ6VXNlcjUxNjg5NDk=", "avatar_url": "https://avatars.githubusercontent.com/u/5168949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sseide", "html_url": "https://github.com/sseide", "followers_url": "https://api.github.com/users/sseide/followers", "following_url": "https://api.github.com/users/sseide/following{/other_user}", "gists_url": "https://api.github.com/users/sseide/gists{/gist_id}", "starred_url": "https://api.github.com/users/sseide/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sseide/subscriptions", "organizations_url": "https://api.github.com/users/sseide/orgs", "repos_url": "https://api.github.com/users/sseide/repos", "events_url": "https://api.github.com/users/sseide/events{/privacy}", "received_events_url": "https://api.github.com/users/sseide/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-11T16:14:51
2023-08-11T18:37:44
2023-08-11T18:37:44
CONTRIBUTOR
null
This change updates the central utility class to recognize a Redis cluster server after connection and returns an new cluster aware Redis client. The "normal" Redis client would not be able to talk to a cluster node because keys might be stored on other shards of the Redis cluster and therefor not readable or writable. With this patch clients do not need to know what Redis server it is, they just connect though the same API calls for standalone and cluster server. There are no dependencies added due to this MR. Remark - with current redis-py client library (4.6.0) a cluster cannot be used as VectorStore. It can be used for other use-cases. There is a bug / missing feature(?) in the Redis client breaking the VectorStore implementation. I opened an issue at the client library too (redis/redis-py#2888) to fix this. As soon as this is fixed in `redis-py` library it should be usable there too.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9128/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9128/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9128", "html_url": "https://github.com/langchain-ai/langchain/pull/9128", "diff_url": "https://github.com/langchain-ai/langchain/pull/9128.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9128.patch", "merged_at": "2023-08-11T18:37:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/9127
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9127/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9127/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9127/events
https://github.com/langchain-ai/langchain/issues/9127
1,847,039,060
I_kwDOIPDwls5uF5RU
9,127
inference configurations are invalid forBedrockEmbeddings models
{ "login": "HannaHUp", "id": 43529795, "node_id": "MDQ6VXNlcjQzNTI5Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/43529795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HannaHUp", "html_url": "https://github.com/HannaHUp", "followers_url": "https://api.github.com/users/HannaHUp/followers", "following_url": "https://api.github.com/users/HannaHUp/following{/other_user}", "gists_url": "https://api.github.com/users/HannaHUp/gists{/gist_id}", "starred_url": "https://api.github.com/users/HannaHUp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HannaHUp/subscriptions", "organizations_url": "https://api.github.com/users/HannaHUp/orgs", "repos_url": "https://api.github.com/users/HannaHUp/repos", "events_url": "https://api.github.com/users/HannaHUp/events{/privacy}", "received_events_url": "https://api.github.com/users/HannaHUp/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
11
2023-08-11T15:33:52
2023-12-13T16:07:43
2023-12-13T16:07:42
NONE
null
### System Info in sagemaker. langchain==0.0.256 or 0.0.249 (I tried both) Image: Data Science 3.0 Kernel: Python 3 Instance type: ml.t3.medium 2 vCPU + 4 GiB ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/03_QuestionAnswering/01_qa_w_rag_claude.ipynb im trying to following this notebook: i increase the data input size: from urllib.request import urlretrieve ``` os.makedirs("data", exist_ok=True) files = [ "https://www.irs.gov/pub/irs-pdf/p1544.pdf", "https://www.irs.gov/pub/irs-pdf/p15.pdf", "https://www.irs.gov/pub/irs-pdf/p1212.pdf", "https://www.irs.gov/pub/irs-pdf/p3.pdf", "https://www.irs.gov/pub/irs-pdf/p17.pdf", "https://www.irs.gov/pub/irs-pdf/p51.pdf", "https://www.irs.gov/pub/irs-pdf/p54.pdf", ] for url in files: file_path = os.path.join("data", url.rpartition("/")[2]) urlretrieve(url, file_path) ``` my data input: Average length among 1012 documents loaded is 2320 characters. After the split we have 1167 documents more than the original 1012. Average length among 1167 documents (after split) is 2011 characters. ``` import numpy as np from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter from langchain.document_loaders import PyPDFLoader, PyPDFDirectoryLoader loader = PyPDFDirectoryLoader("./data/") documents = loader.load() # - in our testing Character split works better with this PDF data set text_splitter = RecursiveCharacterTextSplitter( # Set a really small chunk size, just to show. chunk_size = 1000, chunk_overlap = 100, ) docs = text_splitter.split_documents(documents) avg_doc_length = lambda documents: sum([len(doc.page_content) for doc in documents])//len(documents) avg_char_count_pre = avg_doc_length(documents) avg_char_count_post = avg_doc_length(docs) print(f'Average length among {len(documents)} documents loaded is {avg_char_count_pre} characters.') print(f'After the split we have {len(docs)} documents more than the original {len(documents)}.') print(f'Average length among {len(docs)} documents (after split) is {avg_char_count_post} characters.') from langchain.chains.question_answering import load_qa_chain from langchain.vectorstores import FAISS from langchain.indexes import VectorstoreIndexCreator from langchain.indexes.vectorstore import VectorStoreIndexWrapper vectorstore_faiss = FAISS.from_documents( docs, bedrock_embeddings, ) wrapper_store_faiss = VectorStoreIndexWrapper(vectorstore=vectorstore_faiss) ``` funny thing is if my doc is smaller(docs[:5]), it worked. vectorstore_faiss = FAISS.from_documents( **docs[:5]**, bedrock_embeddings, ) error: --------------------------------------------------------------------------- ValidationException Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/langchain/embeddings/bedrock.py:120, in BedrockEmbeddings._embedding_func(self, text) 119 try: --> 120 response = self.client.invoke_model( 121 body=body, 122 modelId=self.model_id, 123 accept="application/json", 124 contentType="application/json", 125 ) 126 response_body = json.loads(response.get("body").read()) File /opt/conda/lib/python3.10/site-packages/botocore/client.py:535, in ClientCreator._create_api_method.<locals>._api_call(self, *args, **kwargs) 534 # The "self" in this scope is referring to the BaseClient. --> 535 return self._make_api_call(operation_name, kwargs) File /opt/conda/lib/python3.10/site-packages/botocore/client.py:980, in BaseClient._make_api_call(self, operation_name, api_params) 979 error_class = self.exceptions.from_code(error_code) --> 980 raise error_class(parsed_response, operation_name) 981 else: ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: The provided inference configurations are invalid During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) Cell In[35], line 10 4 from langchain.indexes.vectorstore import VectorStoreIndexWrapper 6 7 8 # 9 # ---> 10 vectorstore_faiss = FAISS.from_documents( 11 docs, 12 bedrock_embeddings, 13 ) 15 wrapper_store_faiss = VectorStoreIndexWrapper(vectorstore=vectorstore_faiss) File /opt/conda/lib/python3.10/site-packages/langchain/vectorstores/base.py:420, in VectorStore.from_documents(cls, documents, embedding, **kwargs) 418 texts = [d.page_content for d in documents] 419 metadatas = [d.metadata for d in documents] --> 420 return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs) File /opt/conda/lib/python3.10/site-packages/langchain/vectorstores/faiss.py:607, in FAISS.from_texts(cls, texts, embedding, metadatas, ids, **kwargs) 581 @classmethod 582 def from_texts( 583 cls, (...) 588 **kwargs: Any, 589 ) -> FAISS: 590 """Construct FAISS wrapper from raw documents. 591 592 This is a user friendly interface that: (...) 605 faiss = FAISS.from_texts(texts, embeddings) 606 """ --> 607 embeddings = embedding.embed_documents(texts) 608 return cls.__from( 609 texts, 610 embeddings, (...) 614 **kwargs, 615 ) File /opt/conda/lib/python3.10/site-packages/langchain/embeddings/bedrock.py:148, in BedrockEmbeddings.embed_documents(self, texts, chunk_size) 146 results = [] 147 for text in texts: --> 148 response = self._embedding_func(text) 149 results.append(response) 150 return results File /opt/conda/lib/python3.10/site-packages/langchain/embeddings/bedrock.py:129, in BedrockEmbeddings._embedding_func(self, text) 127 return response_body.get("embedding") 128 except Exception as e: --> 129 raise ValueError(f"Error raised by inference endpoint: {e}") ValueError: Error raised by inference endpoint: An error occurred (ValidationException) when calling the InvokeModel operation: The provided inference configurations are invalid ### Expected behavior I would like to generate embeddings for the entire corpus and stored in a vector store.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9127/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9127/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9126
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9126/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9126/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9126/events
https://github.com/langchain-ai/langchain/pull/9126
1,847,029,475
PR_kwDOIPDwls5XvNXp
9,126
fix MRKLOutputParser
{ "login": "gcheron", "id": 12097018, "node_id": "MDQ6VXNlcjEyMDk3MDE4", "avatar_url": "https://avatars.githubusercontent.com/u/12097018?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gcheron", "html_url": "https://github.com/gcheron", "followers_url": "https://api.github.com/users/gcheron/followers", "following_url": "https://api.github.com/users/gcheron/following{/other_user}", "gists_url": "https://api.github.com/users/gcheron/gists{/gist_id}", "starred_url": "https://api.github.com/users/gcheron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gcheron/subscriptions", "organizations_url": "https://api.github.com/users/gcheron/orgs", "repos_url": "https://api.github.com/users/gcheron/repos", "events_url": "https://api.github.com/users/gcheron/events{/privacy}", "received_events_url": "https://api.github.com/users/gcheron/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
4
2023-08-11T15:26:43
2024-01-11T16:46:09
2024-01-11T16:46:09
NONE
null
# Description: This PR aims to fix the output parser when the agent hallucinates. Indeed, sometimes the agent outputs an hallucinated **Observation** resulting to errors. Also, when the agent have found the **Final Answer**, it happens that the agent loops to a new hallucinated question and start the MRKL process again. Then, this PR fix the `MRKLOutputParser`: - when agent has hallucinated an observation - when agent has hallucinated a next question after the final answer # Issue: Multiple issues are about errors returned by the output parser, in my case it fixed many parsing errors. @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9126/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9126/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9126", "html_url": "https://github.com/langchain-ai/langchain/pull/9126", "diff_url": "https://github.com/langchain-ai/langchain/pull/9126.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9126.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9125
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9125/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9125/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9125/events
https://github.com/langchain-ai/langchain/pull/9125
1,846,983,070
PR_kwDOIPDwls5XvC11
9,125
dalle nb fix
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-11T15:04:28
2023-08-11T15:21:49
2023-08-11T15:21:49
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9125/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9125/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9125", "html_url": "https://github.com/langchain-ai/langchain/pull/9125", "diff_url": "https://github.com/langchain-ai/langchain/pull/9125.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9125.patch", "merged_at": "2023-08-11T15:21:49" }
https://api.github.com/repos/langchain-ai/langchain/issues/9123
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9123/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9123/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9123/events
https://github.com/langchain-ai/langchain/pull/9123
1,846,973,110
PR_kwDOIPDwls5XvAng
9,123
Create pydantic v1 namespace, add partial compatibility for pydantic v2
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
1
2023-08-11T14:58:51
2023-08-14T13:37:34
2023-08-14T13:37:33
COLLABORATOR
null
First of a few PRs to add full compatibility to both pydantic v1 and v2. This PR creates pydantic v1 namespace and adds it to sys.modules. Upcoming changes: 1. Handle `openapi-schema-pydantic = "^1.2"` and dependent chains/tools 2. bump dependencies to versions that are cross compatible for pydantic or remove them (see below) 3. Add tests to github workflows to test with pydantic v1 and v2 **Dependencies** From a quick look (could be wrong since was done manually) **dependencies pinning pydantic below 2** (some of these can be bumped to newer versions are provide cross-compatible code) anthropic bentoml confection fastapi langsmith octoai-sdk openapi-schema-pydantic qdrant-client spacy steamship thinc zep-python Unpinned marqo (*) nomic (*) xinference(*)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9123/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9123/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9123", "html_url": "https://github.com/langchain-ai/langchain/pull/9123", "diff_url": "https://github.com/langchain-ai/langchain/pull/9123.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9123.patch", "merged_at": "2023-08-14T13:37:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/9122
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9122/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9122/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9122/events
https://github.com/langchain-ai/langchain/issues/9122
1,846,866,526
I_kwDOIPDwls5uFPJe
9,122
Intermediate answer from STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION received as a final answer
{ "login": "igormis", "id": 6599037, "node_id": "MDQ6VXNlcjY1OTkwMzc=", "avatar_url": "https://avatars.githubusercontent.com/u/6599037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/igormis", "html_url": "https://github.com/igormis", "followers_url": "https://api.github.com/users/igormis/followers", "following_url": "https://api.github.com/users/igormis/following{/other_user}", "gists_url": "https://api.github.com/users/igormis/gists{/gist_id}", "starred_url": "https://api.github.com/users/igormis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/igormis/subscriptions", "organizations_url": "https://api.github.com/users/igormis/orgs", "repos_url": "https://api.github.com/users/igormis/repos", "events_url": "https://api.github.com/users/igormis/events{/privacy}", "received_events_url": "https://api.github.com/users/igormis/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
13
2023-08-11T13:52:19
2023-12-28T16:02:48
null
NONE
null
### System Info langchain==0.0.260 model = "gpt-3.5-turbo-16k" temperature = 0.0 ### Who can help? @hwchase17 and @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [X] Memory - [X] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ``` search_agent = initialize_agent( tools=tools, llm=llm, agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, memory = memory, agent_kwargs = { #"suffix": NEW_SUFFIX, "memory_prompts": [chat_history], "input_variables": ["input", "agent_scratchpad", "chat_history"] }, #prompt=cf_template, #handle_parsing_errors=True, #max_iterations=2, #max_execution_time=10, verbose = True, handle_parsing_errors=True, ) from pprint import pprint #planner = load_chat_planner(llm) #executor = load_agent_executor(llm, tools, verbose=True) #search_agent = PlanAndExecute(planner=planner, executor=executor, verbose=True) #print(search_agent.agent.llm_chain.prompt) search_agent.agent.llm_chain.verbose=True question = "What are the stock price for Apple" response = search_agent.run(input = question) print(response) #pprint(search_agent.agent.llm_chain.prompt) question = "What about Google." response = search_agent.run(input = question) print(response) #pprint(search_agent.agent.llm_chain.prompt) question = "Show me news for fires in Greece in the last month." response = search_agent.run(input = question) print(response) question = "what about Macedonia in the previous week." response = search_agent.run(input = question) print(response) ``` ### Expected behavior For the: ``` question = "What about Google." response = search_agent.run(input = question) ``` The Agent response is: ``` Human: What about Google. AI: To provide the current stock price for Google, I will use the "get_current_stock_price" tool. Please wait a moment. ``` Instead it should execute the tool and get the results similar as Apple which is the first query...
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9122/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/9122/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9120
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9120/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9120/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9120/events
https://github.com/langchain-ai/langchain/issues/9120
1,846,760,511
I_kwDOIPDwls5uE1Q_
9,120
Add `do_sample` to HuggingFaceTextGenInference
{ "login": "QLutz", "id": 19982713, "node_id": "MDQ6VXNlcjE5OTgyNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/19982713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/QLutz", "html_url": "https://github.com/QLutz", "followers_url": "https://api.github.com/users/QLutz/followers", "following_url": "https://api.github.com/users/QLutz/following{/other_user}", "gists_url": "https://api.github.com/users/QLutz/gists{/gist_id}", "starred_url": "https://api.github.com/users/QLutz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/QLutz/subscriptions", "organizations_url": "https://api.github.com/users/QLutz/orgs", "repos_url": "https://api.github.com/users/QLutz/repos", "events_url": "https://api.github.com/users/QLutz/events{/privacy}", "received_events_url": "https://api.github.com/users/QLutz/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
3
2023-08-11T12:42:50
2023-11-13T08:45:47
2023-11-13T08:45:38
NONE
null
### Feature request Many parameters described on the TGI [Swagger](https://huggingface.github.io/text-generation-inference/#/Text%20Generation%20Inference/generate) find their direct equivalent in the corresponding LangChain [API](https://api.python.langchain.com/en/latest/llms/langchain.llms.huggingface_text_gen_inference.HuggingFaceTextGenInference.html?highlight=textgeninference#langchain.llms.huggingface_text_gen_inference.HuggingFaceTextGenInference). ### Motivation At least one of those parameters is missing: the `do_sample` parameter which I needed. ### Your contribution Why is this parameter missing? How hard would it be to add this and can this be circumvented?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9120/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9120/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9119
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9119/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9119/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9119/events
https://github.com/langchain-ai/langchain/issues/9119
1,846,740,678
I_kwDOIPDwls5uEwbG
9,119
Chain for planning using PDDL
{ "login": "felixocker", "id": 45704090, "node_id": "MDQ6VXNlcjQ1NzA0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/45704090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felixocker", "html_url": "https://github.com/felixocker", "followers_url": "https://api.github.com/users/felixocker/followers", "following_url": "https://api.github.com/users/felixocker/following{/other_user}", "gists_url": "https://api.github.com/users/felixocker/gists{/gist_id}", "starred_url": "https://api.github.com/users/felixocker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixocker/subscriptions", "organizations_url": "https://api.github.com/users/felixocker/orgs", "repos_url": "https://api.github.com/users/felixocker/repos", "events_url": "https://api.github.com/users/felixocker/events{/privacy}", "received_events_url": "https://api.github.com/users/felixocker/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T12:29:14
2023-11-17T16:05:14
2023-11-17T16:05:13
CONTRIBUTOR
null
### Feature request __A chain for planning using the [Planning Domain Definition Language](https://en.wikipedia.org/wiki/Planning_Domain_Definition_Language) and a dedicated solver__ As described in this [paper by Liu et al.](https://arxiv.org/abs/2304.11477), the LLM can generate the PDDL inputs required by a solver (they used [FastDownward](https://github.com/aibasel/downward), which has PDDL support, see [this info page](https://www.fast-downward.org/PddlSupport)). \ There is an implementation available from the authors, see [llm-pddl](https://github.com/Cranial-XIX/llm-pddl). However, I did not see any license information. \ It would be great having this readily available as a part of langchain. \ I guess implementing this as a chain would make the most sense, since iterations for reformulating the problem might be necessary. ### Motivation LLMs are limited regarding planning in an optimal way and dedicated solvers require inputs that are tedious to create - putting the pieces together just makes sense ### Your contribution I could create a PR, but this might take some time
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9119/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9119/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9118
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9118/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9118/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9118/events
https://github.com/langchain-ai/langchain/issues/9118
1,846,659,504
I_kwDOIPDwls5uEcmw
9,118
StructuredOutputParser.get_format_instructions with only_json=True doesn't return the closing backticks
{ "login": "Nummulit", "id": 39809970, "node_id": "MDQ6VXNlcjM5ODA5OTcw", "avatar_url": "https://avatars.githubusercontent.com/u/39809970?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nummulit", "html_url": "https://github.com/Nummulit", "followers_url": "https://api.github.com/users/Nummulit/followers", "following_url": "https://api.github.com/users/Nummulit/following{/other_user}", "gists_url": "https://api.github.com/users/Nummulit/gists{/gist_id}", "starred_url": "https://api.github.com/users/Nummulit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Nummulit/subscriptions", "organizations_url": "https://api.github.com/users/Nummulit/orgs", "repos_url": "https://api.github.com/users/Nummulit/repos", "events_url": "https://api.github.com/users/Nummulit/events{/privacy}", "received_events_url": "https://api.github.com/users/Nummulit/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-11T11:26:35
2023-11-17T16:05:19
2023-11-17T16:05:18
NONE
null
### System Info - langchain version 0.0.262 - Python version 3.10 ### Who can help? Users I've found through blame ([exact commit](https://github.com/langchain-ai/langchain/commit/1d649b127eb10c426f9b9a67cbd1fe6ec8e6befa)): - @MassimilianoBiancucci - @baskaryan ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Just use the function or look into the source code ([this seems to be the exact commit](https://github.com/langchain-ai/langchain/commit/1d649b127eb10c426f9b9a67cbd1fe6ec8e6befa)). ### Expected behavior Either return the sole JSON or the whole markdown block (including the closing three backticks).
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9118/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9117
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9117/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9117/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9117/events
https://github.com/langchain-ai/langchain/issues/9117
1,846,559,683
I_kwDOIPDwls5uEEPD
9,117
BedrockEmbeddings can't load aws credential profile
{ "login": "dmonisankar", "id": 35489134, "node_id": "MDQ6VXNlcjM1NDg5MTM0", "avatar_url": "https://avatars.githubusercontent.com/u/35489134?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmonisankar", "html_url": "https://github.com/dmonisankar", "followers_url": "https://api.github.com/users/dmonisankar/followers", "following_url": "https://api.github.com/users/dmonisankar/following{/other_user}", "gists_url": "https://api.github.com/users/dmonisankar/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmonisankar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmonisankar/subscriptions", "organizations_url": "https://api.github.com/users/dmonisankar/orgs", "repos_url": "https://api.github.com/users/dmonisankar/repos", "events_url": "https://api.github.com/users/dmonisankar/events{/privacy}", "received_events_url": "https://api.github.com/users/dmonisankar/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
8
2023-08-11T10:10:30
2023-10-09T07:00:40
2023-08-11T14:08:13
NONE
null
### System Info langchain==0.0.261 python 3.10 ------------------ ValidationError Traceback (most recent call last) Cell In[17], line 1 ----> 1 embeddings = BedrockEmbeddings( 2 credentials_profile_name="monisdas-ibm", region_name="us-east-1" 3 ) 4 vectorstore = Chroma.from_documents(docs, embeddings) File ~/Documents/moni/knowlege/unstructured/examples/chroma-news-of-the-day/.py310_unstrcutured/lib/python3.10/site-packages/pydantic/main.py:341, in pydantic.main.BaseModel.__init__() ValidationError: 1 validation error for BedrockEmbeddings __root__ Could not load credentials to authenticate with AWS client. Please check that credentials in the specified profile name are valid. (type=value_error) ------------------- ### 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 - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction try to use BedrockEmbeddings ### Expected behavior it should work.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9117/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9117/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9115
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9115/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9115/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9115/events
https://github.com/langchain-ai/langchain/pull/9115
1,846,494,110
PR_kwDOIPDwls5XtXjt
9,115
Fix web research retriever for unknown links in results
{ "login": "jarnoux", "id": 1254903, "node_id": "MDQ6VXNlcjEyNTQ5MDM=", "avatar_url": "https://avatars.githubusercontent.com/u/1254903?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarnoux", "html_url": "https://github.com/jarnoux", "followers_url": "https://api.github.com/users/jarnoux/followers", "following_url": "https://api.github.com/users/jarnoux/following{/other_user}", "gists_url": "https://api.github.com/users/jarnoux/gists{/gist_id}", "starred_url": "https://api.github.com/users/jarnoux/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jarnoux/subscriptions", "organizations_url": "https://api.github.com/users/jarnoux/orgs", "repos_url": "https://api.github.com/users/jarnoux/repos", "events_url": "https://api.github.com/users/jarnoux/events{/privacy}", "received_events_url": "https://api.github.com/users/jarnoux/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false } ]
null
2
2023-08-11T09:24:52
2023-08-11T17:50:38
2023-08-11T17:50:37
CONTRIBUTOR
null
Fixes an issue with web research retriever for unknown links in results. This is currently making the retrieve crash sometimes. @rlancemartin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9115/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9115/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9115", "html_url": "https://github.com/langchain-ai/langchain/pull/9115", "diff_url": "https://github.com/langchain-ai/langchain/pull/9115.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9115.patch", "merged_at": "2023-08-11T17:50:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/9114
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9114/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9114/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9114/events
https://github.com/langchain-ai/langchain/pull/9114
1,846,440,414
PR_kwDOIPDwls5XtLy8
9,114
feat(llms): support ernie chat
{ "login": "axiangcoding", "id": 49201354, "node_id": "MDQ6VXNlcjQ5MjAxMzU0", "avatar_url": "https://avatars.githubusercontent.com/u/49201354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axiangcoding", "html_url": "https://github.com/axiangcoding", "followers_url": "https://api.github.com/users/axiangcoding/followers", "following_url": "https://api.github.com/users/axiangcoding/following{/other_user}", "gists_url": "https://api.github.com/users/axiangcoding/gists{/gist_id}", "starred_url": "https://api.github.com/users/axiangcoding/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axiangcoding/subscriptions", "organizations_url": "https://api.github.com/users/axiangcoding/orgs", "repos_url": "https://api.github.com/users/axiangcoding/repos", "events_url": "https://api.github.com/users/axiangcoding/events{/privacy}", "received_events_url": "https://api.github.com/users/axiangcoding/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
4
2023-08-11T08:45:11
2023-08-15T08:05:46
2023-08-15T08:05:46
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. --> Description: support ernie (文心一言) chat model Related issue: #7990 Dependencies: None Tag maintainer: @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9114/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9114", "html_url": "https://github.com/langchain-ai/langchain/pull/9114", "diff_url": "https://github.com/langchain-ai/langchain/pull/9114.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9114.patch", "merged_at": "2023-08-15T08:05:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/9113
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9113/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9113/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9113/events
https://github.com/langchain-ai/langchain/pull/9113
1,846,425,202
PR_kwDOIPDwls5XtIfz
9,113
`ArgillaCallbackHandler` to properly use default values for `api_url` and `api_key`
{ "login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvarobartt/followers", "following_url": "https://api.github.com/users/alvarobartt/following{/other_user}", "gists_url": "https://api.github.com/users/alvarobartt/gists{/gist_id}", "starred_url": "https://api.github.com/users/alvarobartt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alvarobartt/subscriptions", "organizations_url": "https://api.github.com/users/alvarobartt/orgs", "repos_url": "https://api.github.com/users/alvarobartt/repos", "events_url": "https://api.github.com/users/alvarobartt/events{/privacy}", "received_events_url": "https://api.github.com/users/alvarobartt/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T08:33:37
2023-08-11T16:48:47
2023-08-11T16:37:07
CONTRIBUTOR
null
Hi to @agola11 or whoever is reading this! 🤗 ## What's in this PR? As of the recent PR at #9043, after some testing we've realised that the default values were not being used for `api_key` and `api_url`. Besides that, the default for `api_key` was set to `argilla.apikey`, but since the default values are intended for people using the Argilla Quickstart (easy to run and setup), the defaults should be instead `owner.apikey` if using Argilla 1.11.0 or higher, or `admin.apikey` if using a lower version of Argilla. Additionally, we've removed the f-string replacements from the docstrings. P.S. Regarding the Twitter/X mention feel free to do so at either https://twitter.com/argilla_io or https://twitter.com/alvarobartt and https://twitter.com/gabrielmbmb_, or both if applicable, otherwise, just the first Twitter/X handle.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9113/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9113", "html_url": "https://github.com/langchain-ai/langchain/pull/9113", "diff_url": "https://github.com/langchain-ai/langchain/pull/9113.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9113.patch", "merged_at": "2023-08-11T16:37:07" }
https://api.github.com/repos/langchain-ai/langchain/issues/9112
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9112/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9112/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9112/events
https://github.com/langchain-ai/langchain/issues/9112
1,846,424,735
I_kwDOIPDwls5uDjSf
9,112
openai.error.InvalidRequestError: Too many inputs.
{ "login": "charles-123456", "id": 50801681, "node_id": "MDQ6VXNlcjUwODAxNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/50801681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/charles-123456", "html_url": "https://github.com/charles-123456", "followers_url": "https://api.github.com/users/charles-123456/followers", "following_url": "https://api.github.com/users/charles-123456/following{/other_user}", "gists_url": "https://api.github.com/users/charles-123456/gists{/gist_id}", "starred_url": "https://api.github.com/users/charles-123456/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charles-123456/subscriptions", "organizations_url": "https://api.github.com/users/charles-123456/orgs", "repos_url": "https://api.github.com/users/charles-123456/repos", "events_url": "https://api.github.com/users/charles-123456/events{/privacy}", "received_events_url": "https://api.github.com/users/charles-123456/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-08-11T08:33:13
2023-12-28T16:06:57
2023-12-28T16:06:56
NONE
null
HI, Is that azure Openai embedding had limitation ? Traceback (most recent call last): File "D:\Corent\AI\LangChain\azure\azure_connection.py", line 45, in <module> VectorStore = Milvus.from_texts( ^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\vectorstores\milvus.py", line 822, in from_texts vector_db.add_texts(texts=texts, metadatas=metadatas) File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\vectorstores\milvus.py", line 422, in add_texts embeddings = self.embedding_func.embed_documents(texts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 478, in embed_documents return self._get_len_safe_embeddings(texts, engine=self.deployment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 364, in _get_len_safe_embeddings response = embed_with_retry( ^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 107, in embed_with_retry return _embed_with_retry(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 289, in wrapped_f return self(f, *args, **kw) ^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 379, in __call__ do = self.iter(retry_state=retry_state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 314, in iter return fut.result() ^^^^^^^^^^^^ File "C:\Users\donbosco\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 449, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\donbosco\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 401, in __get_result raise self._exception File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 382, in __call__ result = fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 104, in _embed_with_retry response = embeddings.client.create(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_resources\embedding.py", line 33, in create response = super().create(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( ^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 298, in request resp, got_stream = self._interpret_response(result, stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response self._interpret_response_line( File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 763, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: Too many inputs. The max number of inputs is 16. We hope to increase the number of inputs per request soon. Please contact us through an Azure support request at: https://go.microsoft.com/fwlink/?linkid=2213926 for further questions.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9112/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9112/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9111
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9111/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9111/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9111/events
https://github.com/langchain-ai/langchain/issues/9111
1,846,415,172
I_kwDOIPDwls5uDg9E
9,111
Issue: when using the map_rerank & refine, occur the " list index out of range" (already modify the llm.py file, but only map_reduce can work well)
{ "login": "jason850124", "id": 52739573, "node_id": "MDQ6VXNlcjUyNzM5NTcz", "avatar_url": "https://avatars.githubusercontent.com/u/52739573?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jason850124", "html_url": "https://github.com/jason850124", "followers_url": "https://api.github.com/users/jason850124/followers", "following_url": "https://api.github.com/users/jason850124/following{/other_user}", "gists_url": "https://api.github.com/users/jason850124/gists{/gist_id}", "starred_url": "https://api.github.com/users/jason850124/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jason850124/subscriptions", "organizations_url": "https://api.github.com/users/jason850124/orgs", "repos_url": "https://api.github.com/users/jason850124/repos", "events_url": "https://api.github.com/users/jason850124/events{/privacy}", "received_events_url": "https://api.github.com/users/jason850124/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
6
2023-08-11T08:26:10
2023-12-06T17:44:20
2023-12-06T17:44:19
NONE
null
### Issue you'd like to raise. I just tried the simple example with the latest version of langchain, but I meet the problem with " list index out of the range", when I modify the chain_type in "RetrievalQA.from_chain_type" function, the error messages are as follows : map_rerank : ----------------------------------------------------------------------------------------------------------------------------- File ~\anaconda3\envs\pytorch\Lib\site-packages\langchain\chains\combine_documents\map_rerank.py:194, in MapRerankDocumentsChain._process_results(self, docs, results) 190 typed_results = cast(List[dict], results) 191 sorted_res = sorted( 192 zip(typed_results, docs), key=lambda x: -int(x[0][self.rank_key]) 193 ) --> 194 output, document = sorted_res[0] 195 extra_info = {} 196 if self.metadata_keys is not None: IndexError: list index out of range ----------------------------------------------------------------------------------------------------------------------------- refine: ----------------------------------------------------------------------------------------------------------------------------- File ~\anaconda3\envs\pytorch\Lib\site-packages\langchain\chains\combine_documents\refine.py:203, in RefineDocumentsChain._construct_initial_inputs(self, docs, **kwargs) 200 def _construct_initial_inputs( 201 self, docs: List[Document], **kwargs: Any 202 ) -> Dict[str, Any]: --> 203 base_info = {"page_content": docs[0].page_content} 204 base_info.update(docs[0].metadata) 205 document_info = {k: base_info[k] for k in self.document_prompt.input_variables} IndexError: list index out of range ----------------------------------------------------------------------------------------------------------------------------- Thanks for your help! ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9111/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9111/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9110
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9110/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9110/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9110/events
https://github.com/langchain-ai/langchain/issues/9110
1,846,399,416
I_kwDOIPDwls5uDdG4
9,110
LLM with empty list of document
{ "login": "pprados", "id": 204694, "node_id": "MDQ6VXNlcjIwNDY5NA==", "avatar_url": "https://avatars.githubusercontent.com/u/204694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pprados", "html_url": "https://github.com/pprados", "followers_url": "https://api.github.com/users/pprados/followers", "following_url": "https://api.github.com/users/pprados/following{/other_user}", "gists_url": "https://api.github.com/users/pprados/gists{/gist_id}", "starred_url": "https://api.github.com/users/pprados/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pprados/subscriptions", "organizations_url": "https://api.github.com/users/pprados/orgs", "repos_url": "https://api.github.com/users/pprados/repos", "events_url": "https://api.github.com/users/pprados/events{/privacy}", "received_events_url": "https://api.github.com/users/pprados/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-11T08:14:57
2023-08-16T07:14:35
2023-08-16T07:14:35
CONTRIBUTOR
null
### System Info If, for some reason, the list of document is empty, an exception is sent from llm.py. ### 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 - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction llm.prep_prompts(input_list=[]) raise exception ### Expected behavior Continue See the pull [request #9109](https://github.com/langchain-ai/langchain/pull/9109)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9110/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9110/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9109
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9109/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9109/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9109/events
https://github.com/langchain-ai/langchain/pull/9109
1,846,398,836
PR_kwDOIPDwls5XtCvZ
9,109
Fix bug in llm.py when the list of documents is empty
{ "login": "pprados", "id": 204694, "node_id": "MDQ6VXNlcjIwNDY5NA==", "avatar_url": "https://avatars.githubusercontent.com/u/204694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pprados", "html_url": "https://github.com/pprados", "followers_url": "https://api.github.com/users/pprados/followers", "following_url": "https://api.github.com/users/pprados/following{/other_user}", "gists_url": "https://api.github.com/users/pprados/gists{/gist_id}", "starred_url": "https://api.github.com/users/pprados/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pprados/subscriptions", "organizations_url": "https://api.github.com/users/pprados/orgs", "repos_url": "https://api.github.com/users/pprados/repos", "events_url": "https://api.github.com/users/pprados/events{/privacy}", "received_events_url": "https://api.github.com/users/pprados/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T08:14:26
2023-08-11T16:38:30
2023-08-11T16:38:29
CONTRIBUTOR
null
llm.prep_prompts(input_list=[]) throw exception. I fix this bug.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9109/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9109/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9109", "html_url": "https://github.com/langchain-ai/langchain/pull/9109", "diff_url": "https://github.com/langchain-ai/langchain/pull/9109.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9109.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9108
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9108/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9108/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9108/events
https://github.com/langchain-ai/langchain/pull/9108
1,846,396,536
PR_kwDOIPDwls5XtCQk
9,108
bump 262
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-11T08:12:42
2023-08-11T08:29:09
2023-08-11T08:29:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9108/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9108", "html_url": "https://github.com/langchain-ai/langchain/pull/9108", "diff_url": "https://github.com/langchain-ai/langchain/pull/9108.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9108.patch", "merged_at": "2023-08-11T08:29:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/9105
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9105/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9105/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9105/events
https://github.com/langchain-ai/langchain/pull/9105
1,846,367,407
PR_kwDOIPDwls5Xs77Q
9,105
fix: chunk_size passing
{ "login": "viccao95", "id": 133215350, "node_id": "U_kgDOB_C0dg", "avatar_url": "https://avatars.githubusercontent.com/u/133215350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/viccao95", "html_url": "https://github.com/viccao95", "followers_url": "https://api.github.com/users/viccao95/followers", "following_url": "https://api.github.com/users/viccao95/following{/other_user}", "gists_url": "https://api.github.com/users/viccao95/gists{/gist_id}", "starred_url": "https://api.github.com/users/viccao95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/viccao95/subscriptions", "organizations_url": "https://api.github.com/users/viccao95/orgs", "repos_url": "https://api.github.com/users/viccao95/repos", "events_url": "https://api.github.com/users/viccao95/events{/privacy}", "received_events_url": "https://api.github.com/users/viccao95/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-08-11T07:50:56
2023-09-11T01:21:29
2023-09-11T01:21:29
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9105/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9105/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9105", "html_url": "https://github.com/langchain-ai/langchain/pull/9105", "diff_url": "https://github.com/langchain-ai/langchain/pull/9105.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9105.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9104
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9104/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9104/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9104/events
https://github.com/langchain-ai/langchain/pull/9104
1,846,358,624
PR_kwDOIPDwls5Xs59G
9,104
fix: chunk_size passing
{ "login": "viccao95", "id": 133215350, "node_id": "U_kgDOB_C0dg", "avatar_url": "https://avatars.githubusercontent.com/u/133215350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/viccao95", "html_url": "https://github.com/viccao95", "followers_url": "https://api.github.com/users/viccao95/followers", "following_url": "https://api.github.com/users/viccao95/following{/other_user}", "gists_url": "https://api.github.com/users/viccao95/gists{/gist_id}", "starred_url": "https://api.github.com/users/viccao95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/viccao95/subscriptions", "organizations_url": "https://api.github.com/users/viccao95/orgs", "repos_url": "https://api.github.com/users/viccao95/repos", "events_url": "https://api.github.com/users/viccao95/events{/privacy}", "received_events_url": "https://api.github.com/users/viccao95/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-08-11T07:45:27
2023-08-11T07:45:59
2023-08-11T07:45:33
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9104/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9104", "html_url": "https://github.com/langchain-ai/langchain/pull/9104", "diff_url": "https://github.com/langchain-ai/langchain/pull/9104.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9104.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9103
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9103/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9103/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9103/events
https://github.com/langchain-ai/langchain/issues/9103
1,846,353,415
I_kwDOIPDwls5uDR4H
9,103
Issue: Elasticsearch BM25
{ "login": "VinuAbraham", "id": 50621969, "node_id": "MDQ6VXNlcjUwNjIxOTY5", "avatar_url": "https://avatars.githubusercontent.com/u/50621969?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VinuAbraham", "html_url": "https://github.com/VinuAbraham", "followers_url": "https://api.github.com/users/VinuAbraham/followers", "following_url": "https://api.github.com/users/VinuAbraham/following{/other_user}", "gists_url": "https://api.github.com/users/VinuAbraham/gists{/gist_id}", "starred_url": "https://api.github.com/users/VinuAbraham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VinuAbraham/subscriptions", "organizations_url": "https://api.github.com/users/VinuAbraham/orgs", "repos_url": "https://api.github.com/users/VinuAbraham/repos", "events_url": "https://api.github.com/users/VinuAbraham/events{/privacy}", "received_events_url": "https://api.github.com/users/VinuAbraham/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
open
false
null
[]
null
2
2023-08-11T07:41:41
2023-11-06T19:45:03
null
NONE
null
### Issue you'd like to raise. I am using Elasticsearch BM25 to fetch relevant documents. How can I add a parameter to tell the retriever to return only first n matching docs? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9103/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/9103/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9102
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9102/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9102/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9102/events
https://github.com/langchain-ai/langchain/pull/9102
1,846,350,706
PR_kwDOIPDwls5Xs4Or
9,102
Minor grammatical error
{ "login": "AayushSameerShah", "id": 83115948, "node_id": "MDQ6VXNlcjgzMTE1OTQ4", "avatar_url": "https://avatars.githubusercontent.com/u/83115948?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AayushSameerShah", "html_url": "https://github.com/AayushSameerShah", "followers_url": "https://api.github.com/users/AayushSameerShah/followers", "following_url": "https://api.github.com/users/AayushSameerShah/following{/other_user}", "gists_url": "https://api.github.com/users/AayushSameerShah/gists{/gist_id}", "starred_url": "https://api.github.com/users/AayushSameerShah/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AayushSameerShah/subscriptions", "organizations_url": "https://api.github.com/users/AayushSameerShah/orgs", "repos_url": "https://api.github.com/users/AayushSameerShah/repos", "events_url": "https://api.github.com/users/AayushSameerShah/events{/privacy}", "received_events_url": "https://api.github.com/users/AayushSameerShah/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T07:39:22
2023-08-11T08:01:41
2023-08-11T08:01:41
CONTRIBUTOR
null
Have corrected a grammatical error in: https://python.langchain.com/docs/modules/model_io/models/llms/ document 😄
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9102/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9102", "html_url": "https://github.com/langchain-ai/langchain/pull/9102", "diff_url": "https://github.com/langchain-ai/langchain/pull/9102.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9102.patch", "merged_at": "2023-08-11T08:01:41" }
https://api.github.com/repos/langchain-ai/langchain/issues/9101
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9101/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9101/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9101/events
https://github.com/langchain-ai/langchain/issues/9101
1,846,348,024
I_kwDOIPDwls5uDQj4
9,101
ConversationalRetrievalChain having trouble with vector store retriever 'as_retriever()'
{ "login": "kanik9", "id": 32274469, "node_id": "MDQ6VXNlcjMyMjc0NDY5", "avatar_url": "https://avatars.githubusercontent.com/u/32274469?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kanik9", "html_url": "https://github.com/kanik9", "followers_url": "https://api.github.com/users/kanik9/followers", "following_url": "https://api.github.com/users/kanik9/following{/other_user}", "gists_url": "https://api.github.com/users/kanik9/gists{/gist_id}", "starred_url": "https://api.github.com/users/kanik9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kanik9/subscriptions", "organizations_url": "https://api.github.com/users/kanik9/orgs", "repos_url": "https://api.github.com/users/kanik9/repos", "events_url": "https://api.github.com/users/kanik9/events{/privacy}", "received_events_url": "https://api.github.com/users/kanik9/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
2
2023-08-11T07:37:03
2023-10-21T09:24:07
null
NONE
null
### System Info Code snapshot: ![image](https://github.com/langchain-ai/langchain/assets/32274469/bb5df33f-9854-48bf-b97c-85253d8d01be) Data in Azure Cognitive Search Vector Store: data ={ "id": " ", "content": "", "content_vector": [], "metadata": "{}", "a": "", "b": "", "c": 20.4, "d": "" } Issue: with langchain==0.0.261, but it is working fine with langchain==0.0.242 Issue Description : SerializationError: (', DeserializationError: (", AttributeError: \'float\' object has no attribute \'lower\'", \'Unable to deserialize to object: type\', AttributeError("\'float\' object has no attribute \'lower\'"))', 'Unable to build a model: (", AttributeError: \'float\' object has no attribute \'lower\'", \'Unable to deserialize to object: type\', AttributeError("\'float\' object has no attribute \'lower\'"))', DeserializationError(", AttributeError: 'float' object has no attribute 'lower'", 'Unable to deserialize to object: type', AttributeError("'float' object has no attribute 'lower'"))) Note: In the upgraded version the response time also increases. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [X] Callbacks/Tracing - [ ] Async ### Reproduction def __llm_client(self, streaming: bool =False): # LLM connection if streaming is False: return AzureOpenAI( deployment_name=AZURE_OPENAI_LLM_MODEL_DEPLOYMENT_NAME, model=AZURE_OPENAI_LLM_MODEL_NAME, openai_api_type=self.__azure_openAI_type, openai_api_version=self.__azure_openAI_version, openai_api_base=self.__azure_openAI_base, openai_api_key=self.__azure_openAI_key, temperature=0.0, max_tokens=2000 ) return AzureOpenAI( deployment_name=AZURE_OPENAI_LLM_MODEL_DEPLOYMENT_NAME, model=AZURE_OPENAI_LLM_MODEL_NAME, openai_api_type=self.__azure_openAI_type, openai_api_version=self.__azure_openAI_version, openai_api_base=self.__azure_openAI_base, openai_api_key=self.__azure_openAI_key, temperature=0.0, max_tokens=2000, streaming=True, callbacks=[StreamingStdOutCallbackHandler()] ) # LLM Embeddings Client def __embeddings_client(self): return OpenAIEmbeddings( model=AZURE_OPENAI_LLM_EMBEDDING_NAME, deployment=AZURE_OPENAI_LLM_EMBEDDING_DEPLOYMENT_NAME, openai_api_type=self.__azure_openAI_type, openai_api_version=self.__azure_openAI_version, openai_api_base=self.__azure_openAI_base, openai_api_key=self.__azure_openAI_key, chunk_size=1536 ) # Embedding vector store client def __vector_store_client(self): acs_vector_store: AzureSearch = AzureSearch( azure_search_endpoint=self.__acs_endpoint, azure_search_key=self.__acs_key, index_name=self.__acs_index_name, embedding_function=self.__embeddings_client().embed_query, ) return acs_vector_store # Langchain Chain Client def __chain_client(self): chain_type = "stuff" return load_qa_chain( llm=self.__llm_client(streaming=True), chain_type=chain_type, document_variable_name='context', prompt=QA_PROMPT # verbose=True ) def __conversational_retrieval_chain_client(self): # print(self.__vector_store_client().as_retriever()) return ConversationalRetrievalChain( retriever=self.__vector_store_client().as_retriever(), question_generator=self.__question_generator(), combine_docs_chain=self.__chain_client(), memory=ConversationBufferMemory( memory_key="chat_history", return_messages=False ) ) def __question_generator(self): return LLMChain( llm=self.__llm_client(), prompt=CONDENSE_QUESTION_PROMPT ) # Main function def smart_chat_bot(self, query: str="*", conversation: list=[]): self.user_input = query print(f"Human Input: {self.user_input}", end="\n") result = self.__conversational_retrieval_chain_client()({"question": self.user_input, "chat_history": conversation}) return result ### Expected behavior It should return the response on the bases of user input and the documents that came from the vector store. And the latency will be lesser.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9101/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9101/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9100
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9100/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9100/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9100/events
https://github.com/langchain-ai/langchain/issues/9100
1,846,343,465
I_kwDOIPDwls5uDPcp
9,100
sync problem
{ "login": "EchoAGI", "id": 1500351, "node_id": "MDQ6VXNlcjE1MDAzNTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1500351?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EchoAGI", "html_url": "https://github.com/EchoAGI", "followers_url": "https://api.github.com/users/EchoAGI/followers", "following_url": "https://api.github.com/users/EchoAGI/following{/other_user}", "gists_url": "https://api.github.com/users/EchoAGI/gists{/gist_id}", "starred_url": "https://api.github.com/users/EchoAGI/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EchoAGI/subscriptions", "organizations_url": "https://api.github.com/users/EchoAGI/orgs", "repos_url": "https://api.github.com/users/EchoAGI/repos", "events_url": "https://api.github.com/users/EchoAGI/events{/privacy}", "received_events_url": "https://api.github.com/users/EchoAGI/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
3
2023-08-11T07:33:15
2023-10-12T14:08:49
null
NONE
null
https://github.com/langchain-ai/langchain/blob/991b448dfce7fa326e70774b5f38c9576f1f304c/libs/langchain/langchain/chains/base.py#L327C25-L327C25 IMPORTANT: chain.acall is a async function. Chain.prep_inputs will invoke memory.load_memory_variables in ConversationBufferWindowMemory.load_memory_variables. ```python buffer: Any = self.buffer[-self.k * 2 :] if self.k > 0 else [] ``` ```python @property def buffer(self) -> List[BaseMessage]: """String buffer of memory.""" return self.chat_memory.messages ``` if chat_memory is type of RedisChatMessageHistory. ```python @property def messages(self) -> List[BaseMessage]: # type: ignore """Retrieve the messages from Redis""" _items = self.redis_client.lrange(self.key, 0, -1) items = [json.loads(m.decode("utf-8")) for m in _items[::-1]] messages = messages_from_dict(items) return messages ``` the lrange is a sync invoking... IMPORTANT: chain.acall is a async function. in fastapi or other scene. a chain.acall will blocking by this invoke. can you change the invoke of Chain.prep_inputs to: ```python inputs = await asyncify(self.prep_inputs)(inputs) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9100/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9100/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9099
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9099/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9099/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9099/events
https://github.com/langchain-ai/langchain/issues/9099
1,846,323,394
I_kwDOIPDwls5uDKjC
9,099
Lazy import in vectorstore
{ "login": "pprados", "id": 204694, "node_id": "MDQ6VXNlcjIwNDY5NA==", "avatar_url": "https://avatars.githubusercontent.com/u/204694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pprados", "html_url": "https://github.com/pprados", "followers_url": "https://api.github.com/users/pprados/followers", "following_url": "https://api.github.com/users/pprados/following{/other_user}", "gists_url": "https://api.github.com/users/pprados/gists{/gist_id}", "starred_url": "https://api.github.com/users/pprados/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pprados/subscriptions", "organizations_url": "https://api.github.com/users/pprados/orgs", "repos_url": "https://api.github.com/users/pprados/repos", "events_url": "https://api.github.com/users/pprados/events{/privacy}", "received_events_url": "https://api.github.com/users/pprados/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
3
2023-08-11T07:16:11
2023-11-29T09:35:50
2023-11-29T09:35:50
CONTRIBUTOR
null
### Feature request To import a big list of documents in a vectorstore, you must load all the documents in memory, split the documents, and import the list of documents. They consume a lot of memory just to import. Sometime, the number of documents is too big to feet in memory. I propose to generalize the `lazy_...()` with some generator. Then, only one document at a time can be in memory. ### Motivation Reduce the memory foot print. Accept to import, in one loop, a big list of documents. ### Your contribution - Small contribution. I use lazy approach in my pull request to load google documents.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9099/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9099/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9098
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9098/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9098/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9098/events
https://github.com/langchain-ai/langchain/pull/9098
1,846,287,070
PR_kwDOIPDwls5XsqV5
9,098
Bagatur/lite llm
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-11T06:45:57
2023-08-11T20:11:44
2023-08-11T20:11:44
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9098/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9098", "html_url": "https://github.com/langchain-ai/langchain/pull/9098", "diff_url": "https://github.com/langchain-ai/langchain/pull/9098.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9098.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9096
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9096/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9096/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9096/events
https://github.com/langchain-ai/langchain/pull/9096
1,846,233,083
PR_kwDOIPDwls5Xsen4
9,096
fix json tool
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-08-11T05:50:06
2023-08-11T06:39:26
2023-08-11T06:39:26
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9096/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9096/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9096", "html_url": "https://github.com/langchain-ai/langchain/pull/9096", "diff_url": "https://github.com/langchain-ai/langchain/pull/9096.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9096.patch", "merged_at": "2023-08-11T06:39:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/9095
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9095/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9095/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9095/events
https://github.com/langchain-ai/langchain/pull/9095
1,846,231,934
PR_kwDOIPDwls5XseXw
9,095
Update pydantic format instruction prompt
{ "login": "caffeinism", "id": 39237502, "node_id": "MDQ6VXNlcjM5MjM3NTAy", "avatar_url": "https://avatars.githubusercontent.com/u/39237502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/caffeinism", "html_url": "https://github.com/caffeinism", "followers_url": "https://api.github.com/users/caffeinism/followers", "following_url": "https://api.github.com/users/caffeinism/following{/other_user}", "gists_url": "https://api.github.com/users/caffeinism/gists{/gist_id}", "starred_url": "https://api.github.com/users/caffeinism/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/caffeinism/subscriptions", "organizations_url": "https://api.github.com/users/caffeinism/orgs", "repos_url": "https://api.github.com/users/caffeinism/repos", "events_url": "https://api.github.com/users/caffeinism/events{/privacy}", "received_events_url": "https://api.github.com/users/caffeinism/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
3
2023-08-11T05:48:27
2023-09-20T17:02:33
2023-08-11T07:22:14
CONTRIBUTOR
null
- remove unopened bracket <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9095/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9095", "html_url": "https://github.com/langchain-ai/langchain/pull/9095", "diff_url": "https://github.com/langchain-ai/langchain/pull/9095.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9095.patch", "merged_at": "2023-08-11T07:22:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/9094
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9094/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9094/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9094/events
https://github.com/langchain-ai/langchain/issues/9094
1,846,221,991
I_kwDOIPDwls5uCxyn
9,094
Issue: Bedrock Doesn't support streaming
{ "login": "brianadityagdp", "id": 128458329, "node_id": "U_kgDOB6geWQ", "avatar_url": "https://avatars.githubusercontent.com/u/128458329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brianadityagdp", "html_url": "https://github.com/brianadityagdp", "followers_url": "https://api.github.com/users/brianadityagdp/followers", "following_url": "https://api.github.com/users/brianadityagdp/following{/other_user}", "gists_url": "https://api.github.com/users/brianadityagdp/gists{/gist_id}", "starred_url": "https://api.github.com/users/brianadityagdp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brianadityagdp/subscriptions", "organizations_url": "https://api.github.com/users/brianadityagdp/orgs", "repos_url": "https://api.github.com/users/brianadityagdp/repos", "events_url": "https://api.github.com/users/brianadityagdp/events{/privacy}", "received_events_url": "https://api.github.com/users/brianadityagdp/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
6
2023-08-11T05:34:22
2023-11-11T13:20:39
null
NONE
null
I just wondering can i do streaming model bedrock like Claude V2 on Langchain? because i don't see support streaming on the Bedrock code. If can, can you give me example for use streaming on bedrock?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9094/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/9094/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9093
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9093/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9093/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9093/events
https://github.com/langchain-ai/langchain/pull/9093
1,846,213,379
PR_kwDOIPDwls5XsaZq
9,093
minor edits
{ "login": "sanzgiri", "id": 291370, "node_id": "MDQ6VXNlcjI5MTM3MA==", "avatar_url": "https://avatars.githubusercontent.com/u/291370?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanzgiri", "html_url": "https://github.com/sanzgiri", "followers_url": "https://api.github.com/users/sanzgiri/followers", "following_url": "https://api.github.com/users/sanzgiri/following{/other_user}", "gists_url": "https://api.github.com/users/sanzgiri/gists{/gist_id}", "starred_url": "https://api.github.com/users/sanzgiri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sanzgiri/subscriptions", "organizations_url": "https://api.github.com/users/sanzgiri/orgs", "repos_url": "https://api.github.com/users/sanzgiri/repos", "events_url": "https://api.github.com/users/sanzgiri/events{/privacy}", "received_events_url": "https://api.github.com/users/sanzgiri/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-11T05:23:17
2023-08-11T06:40:37
2023-08-11T06:40:37
CONTRIBUTOR
null
Description: Minor edit to PR#845 @baskaryan - following up on this comment thread: https://github.com/langchain-ai/langchain/pull/845#issuecomment-1673520449 Thanks!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9093/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9093/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9093", "html_url": "https://github.com/langchain-ai/langchain/pull/9093", "diff_url": "https://github.com/langchain-ai/langchain/pull/9093.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9093.patch", "merged_at": "2023-08-11T06:40:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/9092
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9092/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9092/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9092/events
https://github.com/langchain-ai/langchain/issues/9092
1,846,203,093
I_kwDOIPDwls5uCtLV
9,092
Enums not used with OpenAI Multi Function Agent
{ "login": "rparappuram", "id": 71271657, "node_id": "MDQ6VXNlcjcxMjcxNjU3", "avatar_url": "https://avatars.githubusercontent.com/u/71271657?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rparappuram", "html_url": "https://github.com/rparappuram", "followers_url": "https://api.github.com/users/rparappuram/followers", "following_url": "https://api.github.com/users/rparappuram/following{/other_user}", "gists_url": "https://api.github.com/users/rparappuram/gists{/gist_id}", "starred_url": "https://api.github.com/users/rparappuram/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rparappuram/subscriptions", "organizations_url": "https://api.github.com/users/rparappuram/orgs", "repos_url": "https://api.github.com/users/rparappuram/repos", "events_url": "https://api.github.com/users/rparappuram/events{/privacy}", "received_events_url": "https://api.github.com/users/rparappuram/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-11T05:07:36
2023-11-17T16:05:25
2023-11-17T16:05:24
NONE
null
### System Info langchain==0.0.261 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction When running the OpenAI Multi Functions Agent, **enums** in custom structured tools are not being used. Using the enums for data validation works fine, but the LLM does not use enums to produce enumerated parameter values. For reference, OpenAI's Function Calling takes the JSON schema for a function, which can pass the JSON schema enums to the LLM to be used when producing parameter values. 1. Create a custom structured tool with an enum input 2. Give tool to agent 3. Run a query that uses the tool 4. Agent may hallucinate an invalid enum ### Expected behavior The expected behavior is two-fold: 1. Provide Python type annotations in BaseModel arg_schemas to the LLM instead of just the Field() object 2. Correct the error similar to the `StructuredChatOutputParserWithRetries`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9092/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/9092/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9091
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9091/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9091/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9091/events
https://github.com/langchain-ai/langchain/pull/9091
1,846,149,341
PR_kwDOIPDwls5XsM09
9,091
add support AsyncIteratorCallbackHandler with buffer
{ "login": "jiaqianjing", "id": 16071449, "node_id": "MDQ6VXNlcjE2MDcxNDQ5", "avatar_url": "https://avatars.githubusercontent.com/u/16071449?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiaqianjing", "html_url": "https://github.com/jiaqianjing", "followers_url": "https://api.github.com/users/jiaqianjing/followers", "following_url": "https://api.github.com/users/jiaqianjing/following{/other_user}", "gists_url": "https://api.github.com/users/jiaqianjing/gists{/gist_id}", "starred_url": "https://api.github.com/users/jiaqianjing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jiaqianjing/subscriptions", "organizations_url": "https://api.github.com/users/jiaqianjing/orgs", "repos_url": "https://api.github.com/users/jiaqianjing/repos", "events_url": "https://api.github.com/users/jiaqianjing/events{/privacy}", "received_events_url": "https://api.github.com/users/jiaqianjing/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
open
false
null
[]
null
1
2023-08-11T03:39:05
2023-09-20T17:53:52
null
NONE
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description:Add new class [ChunkAsyncIteratorCallbackHandler], like AsyncIteratorCallbackHandler with buffer (chunk) - Issue: the issue None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9091/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9091/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9091", "html_url": "https://github.com/langchain-ai/langchain/pull/9091", "diff_url": "https://github.com/langchain-ai/langchain/pull/9091.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9091.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9090
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9090/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9090/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9090/events
https://github.com/langchain-ai/langchain/issues/9090
1,846,147,524
I_kwDOIPDwls5uCfnE
9,090
Can the atomicity of multiple write operations be guaranteed through the Agent
{ "login": "essencejay", "id": 78492814, "node_id": "MDQ6VXNlcjc4NDkyODE0", "avatar_url": "https://avatars.githubusercontent.com/u/78492814?v=4", "gravatar_id": "", "url": "https://api.github.com/users/essencejay", "html_url": "https://github.com/essencejay", "followers_url": "https://api.github.com/users/essencejay/followers", "following_url": "https://api.github.com/users/essencejay/following{/other_user}", "gists_url": "https://api.github.com/users/essencejay/gists{/gist_id}", "starred_url": "https://api.github.com/users/essencejay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/essencejay/subscriptions", "organizations_url": "https://api.github.com/users/essencejay/orgs", "repos_url": "https://api.github.com/users/essencejay/repos", "events_url": "https://api.github.com/users/essencejay/events{/privacy}", "received_events_url": "https://api.github.com/users/essencejay/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-08-11T03:35:52
2023-11-17T16:05:30
2023-11-17T16:05:29
NONE
null
### Feature request Can the atomicity of multiple write operations be guaranteed through the Agent ### Motivation If two actions need to be executed within an agent and each action modifies the status of external tools or services, then if the first action writing operation is successful and the second action writing fails. How to ensure the revocation of the first write operation through an agent to ensure atomic: "all or nothing". ### Your contribution Does the default agent runtime of langchain support this operation? If not, can we support it through the following ideas: 1: using langchain callback ? 2: inspired by BabyAGI feature: generate and pretend to execute tasks based on a given objective. I think the pretend operation can meet this requirement. Is this correct?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9090/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9090/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9089
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9089/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9089/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9089/events
https://github.com/langchain-ai/langchain/issues/9089
1,846,125,383
I_kwDOIPDwls5uCaNH
9,089
[BUG] module 'signal' has no attribute 'SIGALRM
{ "login": "wizardforcel", "id": 5080126, "node_id": "MDQ6VXNlcjUwODAxMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/5080126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wizardforcel", "html_url": "https://github.com/wizardforcel", "followers_url": "https://api.github.com/users/wizardforcel/followers", "following_url": "https://api.github.com/users/wizardforcel/following{/other_user}", "gists_url": "https://api.github.com/users/wizardforcel/gists{/gist_id}", "starred_url": "https://api.github.com/users/wizardforcel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wizardforcel/subscriptions", "organizations_url": "https://api.github.com/users/wizardforcel/orgs", "repos_url": "https://api.github.com/users/wizardforcel/repos", "events_url": "https://api.github.com/users/wizardforcel/events{/privacy}", "received_events_url": "https://api.github.com/users/wizardforcel/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-11T02:54:44
2023-08-11T16:04:49
2023-08-11T16:04:49
NONE
null
### System Info ```py In [21]: langchain.__version__ Out[21]: '0.0.223' In [24]: sys.platform Out[24]: 'win32' In [25]: !python -V Python 3.10.10 ``` ### 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 - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```py In [18]: from langchain.embeddings.huggingface import HuggingFaceEmbeddings In [19]: model = HuggingFaceEmbeddings(model_name='d:/src/chatglm2-6b-int4/') No sentence-transformers model found with name d:/src/chatglm2-6b-int4/. Creating a new one with MEAN pooling. --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[19], line 1 ----> 1 model = HuggingFaceEmbeddings(model_name='d:/src/chatglm2-6b-int4/') File D:\Python310\lib\site-packages\langchain\embeddings\huggingface.py:59, in HuggingFaceEmbeddings.__init__(self, **kwargs) 53 except ImportError as exc: 54 raise ImportError( 55 "Could not import sentence_transformers python package. " 56 "Please install it with `pip install sentence_transformers`." 57 ) from exc ---> 59 self.client = sentence_transformers.SentenceTransformer( 60 self.model_name, cache_folder=self.cache_folder, **self.model_kwargs 61 ) File D:\Python310\lib\site-packages\sentence_transformers\SentenceTransformer.py:97, in SentenceTransformer.__init__(self, model_name_or_path, modules, device, cache_folder, use_auth_token) 95 modules = self._load_sbert_model(model_path) 96 else: #Load with AutoModel ---> 97 modules = self._load_auto_model(model_path) 99 if modules is not None and not isinstance(modules, OrderedDict): 100 modules = OrderedDict([(str(idx), module) for idx, module in enumerate(modules)]) File D:\Python310\lib\site-packages\sentence_transformers\SentenceTransformer.py:806, in SentenceTransformer._load_auto_model(self, model_name_or_path) 802 """ 803 Creates a simple Transformer + Mean Pooling model and returns the modules 804 """ 805 logger.warning("No sentence-transformers model found with name {}. Creating a new one with MEAN pooling.".format(model_name_or_path)) --> 806 transformer_model = Transformer(model_name_or_path) 807 pooling_model = Pooling(transformer_model.get_word_embedding_dimension(), 'mean') 808 return [transformer_model, pooling_model] File D:\Python310\lib\site-packages\sentence_transformers\models\Transformer.py:28, in Transformer.__init__(self, model_name_or_path, max_seq_length, model_args, cache_dir, tokenizer_args, do_lower_case, tokenizer_name_or_path) 25 self.config_keys = ['max_seq_length', 'do_lower_case'] 26 self.do_lower_case = do_lower_case ---> 28 config = AutoConfig.from_pretrained(model_name_or_path, **model_args, cache_dir=cache_dir) 29 self._load_model(model_name_or_path, config, cache_dir) 31 self.tokenizer = AutoTokenizer.from_pretrained(tokenizer_name_or_path if tokenizer_name_or_path is not None else model_name_or_path, cache_dir=cache_dir, **tokenizer_args) File D:\Python310\lib\site-packages\transformers\models\auto\configuration_auto.py:986, in AutoConfig.from_pretrained(cls, pretrained_model_name_or_path, **kwargs) 984 has_remote_code = "auto_map" in config_dict and "AutoConfig" in config_dict["auto_map"] 985 has_local_code = "model_type" in config_dict and config_dict["model_type"] in CONFIG_MAPPING --> 986 trust_remote_code = resolve_trust_remote_code( 987 trust_remote_code, pretrained_model_name_or_path, has_local_code, has_remote_code 988 ) 990 if has_remote_code and trust_remote_code: 991 class_ref = config_dict["auto_map"]["AutoConfig"] File D:\Python310\lib\site-packages\transformers\dynamic_module_utils.py:535, in resolve_trust_remote_code(trust_remote_code, model_name, has_local_code, has_remote_code) 533 trust_remote_code = False 534 elif has_remote_code and TIME_OUT_REMOTE_CODE > 0: --> 535 signal.signal(signal.SIGALRM, _raise_timeout_error) 536 signal.alarm(TIME_OUT_REMOTE_CODE) 537 while trust_remote_code is None: AttributeError: module 'signal' has no attribute 'SIGALRM' ``` ### Expected behavior load successfully This is a signal not supported in windows, so it's shouldn't be depended.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9089/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9089/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9088
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9088/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9088/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9088/events
https://github.com/langchain-ai/langchain/issues/9088
1,846,116,995
I_kwDOIPDwls5uCYKD
9,088
I would like GPT to quickly and accurately embody any characters or tools.
{ "login": "limaoyi1", "id": 65377825, "node_id": "MDQ6VXNlcjY1Mzc3ODI1", "avatar_url": "https://avatars.githubusercontent.com/u/65377825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/limaoyi1", "html_url": "https://github.com/limaoyi1", "followers_url": "https://api.github.com/users/limaoyi1/followers", "following_url": "https://api.github.com/users/limaoyi1/following{/other_user}", "gists_url": "https://api.github.com/users/limaoyi1/gists{/gist_id}", "starred_url": "https://api.github.com/users/limaoyi1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/limaoyi1/subscriptions", "organizations_url": "https://api.github.com/users/limaoyi1/orgs", "repos_url": "https://api.github.com/users/limaoyi1/repos", "events_url": "https://api.github.com/users/limaoyi1/events{/privacy}", "received_events_url": "https://api.github.com/users/limaoyi1/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-11T02:39:07
2023-11-17T16:05:35
2023-11-17T16:05:33
NONE
null
### Feature request Sometimes, GPT might not accurately portray characters or tools, so before I ask GPT a question, I need to come up with a set of prompts. However, in most cases, these prompts may not capture the characteristics of the characters or tools effectively. To address this, I've developed a pip package that collects various prompts. How can I make Chain automatically use my package when it needs to embody characters (as a tool)? Or how can I optimize the pip package to better align with LangChain's requirements? This is the address of my repository:[https://github.com/limaoyi1/GPT-prompt](https://github.com/limaoyi1/GPT-prompt) ### Motivation Sometimes, GPT might not accurately portray characters or tools, so before I ask GPT a question, I need to come up with a set of prompts. ### Your contribution Modify my pip package or submit pr
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9088/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9088/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9087
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9087/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9087/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9087/events
https://github.com/langchain-ai/langchain/pull/9087
1,846,074,176
PR_kwDOIPDwls5Xr9Dl
9,087
Bagatur/pinecone by vector
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-11T01:19:06
2023-08-11T01:28:56
2023-08-11T01:28:56
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9087/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9087/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9087", "html_url": "https://github.com/langchain-ai/langchain/pull/9087", "diff_url": "https://github.com/langchain-ai/langchain/pull/9087.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9087.patch", "merged_at": "2023-08-11T01:28:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/9086
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9086/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9086/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9086/events
https://github.com/langchain-ai/langchain/pull/9086
1,846,014,255
PR_kwDOIPDwls5XrwWR
9,086
Add string example mapper
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-10T23:26:43
2023-08-11T00:07:04
2023-08-11T00:07:03
COLLABORATOR
null
Now that we accept any runnable or arbitrary function to evaluate, we don't always look up the input keys. If an evaluator requires references, we should try to infer if there's one key present. We only have delayed validation here but it's better than nothing
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9086/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9086/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9086", "html_url": "https://github.com/langchain-ai/langchain/pull/9086", "diff_url": "https://github.com/langchain-ai/langchain/pull/9086.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9086.patch", "merged_at": "2023-08-11T00:07:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/9085
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9085/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9085/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9085/events
https://github.com/langchain-ai/langchain/pull/9085
1,846,007,473
PR_kwDOIPDwls5Xru4C
9,085
Update Fireworks model names
{ "login": "zchenyu", "id": 1039756, "node_id": "MDQ6VXNlcjEwMzk3NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/1039756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zchenyu", "html_url": "https://github.com/zchenyu", "followers_url": "https://api.github.com/users/zchenyu/followers", "following_url": "https://api.github.com/users/zchenyu/following{/other_user}", "gists_url": "https://api.github.com/users/zchenyu/gists{/gist_id}", "starred_url": "https://api.github.com/users/zchenyu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zchenyu/subscriptions", "organizations_url": "https://api.github.com/users/zchenyu/orgs", "repos_url": "https://api.github.com/users/zchenyu/repos", "events_url": "https://api.github.com/users/zchenyu/events{/privacy}", "received_events_url": "https://api.github.com/users/zchenyu/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T23:15:07
2023-08-12T20:13:42
2023-08-11T02:23:43
CONTRIBUTOR
null
Description: * Remove the "fireworks-" prefix from Fireworks model names * Switch web app link from platform.fireworks.ai to app.fireworks.ai * Minor formatting changes Issue: N/A Dependencies: N/A Tag maintainer: @rlancemartin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9085/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9085/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9085", "html_url": "https://github.com/langchain-ai/langchain/pull/9085", "diff_url": "https://github.com/langchain-ai/langchain/pull/9085.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9085.patch", "merged_at": "2023-08-11T02:23:43" }
https://api.github.com/repos/langchain-ai/langchain/issues/9083
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9083/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9083/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9083/events
https://github.com/langchain-ai/langchain/issues/9083
1,845,949,455
I_kwDOIPDwls5uBvQP
9,083
ConversationSummaryBufferMemory broken due to missing token usage
{ "login": "Fusseldieb", "id": 4715129, "node_id": "MDQ6VXNlcjQ3MTUxMjk=", "avatar_url": "https://avatars.githubusercontent.com/u/4715129?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fusseldieb", "html_url": "https://github.com/Fusseldieb", "followers_url": "https://api.github.com/users/Fusseldieb/followers", "following_url": "https://api.github.com/users/Fusseldieb/following{/other_user}", "gists_url": "https://api.github.com/users/Fusseldieb/gists{/gist_id}", "starred_url": "https://api.github.com/users/Fusseldieb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Fusseldieb/subscriptions", "organizations_url": "https://api.github.com/users/Fusseldieb/orgs", "repos_url": "https://api.github.com/users/Fusseldieb/repos", "events_url": "https://api.github.com/users/Fusseldieb/events{/privacy}", "received_events_url": "https://api.github.com/users/Fusseldieb/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T21:57:40
2023-08-11T13:18:49
2023-08-11T13:15:36
NONE
null
### System Info "langchain": "^0.0.125" Windows 11 x64 ### Who can help? @nfcampos ### 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 Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [X] Callbacks/Tracing - [ ] Async ### Reproduction When trying to retrieve token usage from LangChain, it returns a empty object. There's already an issue open about that. However, it gets slightly worse: Apparently, this breaks other components too, such as the `ConversationSummaryBufferMemory` which relies on Token count. Longer explanation and code on this other issue comment: https://github.com/langchain-ai/langchain/issues/2359#issuecomment-1673926888 ### Expected behavior Completion tokens among others are expected to be returned. Maybe fall back to tiktoken ([py](https://pypi.org/project/tiktoken/)/[js](https://www.npmjs.com/package/@dqbd/tiktoken)) or similar when token count is not available? Just an idea.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9083/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9083/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9082
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9082/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9082/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9082/events
https://github.com/langchain-ai/langchain/issues/9082
1,845,932,723
I_kwDOIPDwls5uBrKz
9,082
Issue: StructuredOutputParser failures due to invalid JSON
{ "login": "elderpinzon", "id": 8204438, "node_id": "MDQ6VXNlcjgyMDQ0Mzg=", "avatar_url": "https://avatars.githubusercontent.com/u/8204438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elderpinzon", "html_url": "https://github.com/elderpinzon", "followers_url": "https://api.github.com/users/elderpinzon/followers", "following_url": "https://api.github.com/users/elderpinzon/following{/other_user}", "gists_url": "https://api.github.com/users/elderpinzon/gists{/gist_id}", "starred_url": "https://api.github.com/users/elderpinzon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elderpinzon/subscriptions", "organizations_url": "https://api.github.com/users/elderpinzon/orgs", "repos_url": "https://api.github.com/users/elderpinzon/repos", "events_url": "https://api.github.com/users/elderpinzon/events{/privacy}", "received_events_url": "https://api.github.com/users/elderpinzon/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T21:38:22
2023-11-17T16:05:39
2023-11-17T16:05:38
NONE
null
### Issue you'd like to raise. I think the `ResponseScheam` and `StructuredOutputParser` functionality is really convenient but unfortunately, it often fails in my use case due to the model outputting a slightly wrongly formatted JSON. It's usually due to extra or missing quotes. Any suggestions on how to solve this? ### Suggestion: Thinking about writing some extra logic to fix the missing/extra quotes issue, but not sure if anyone has a better solution
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9082/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9082/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9081
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9081/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9081/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9081/events
https://github.com/langchain-ai/langchain/pull/9081
1,845,932,173
PR_kwDOIPDwls5Xree-
9,081
Bagatur/bagel
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-08-10T21:37:41
2023-08-10T23:54:54
2023-08-10T23:54:54
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9081/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9081/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9081", "html_url": "https://github.com/langchain-ai/langchain/pull/9081", "diff_url": "https://github.com/langchain-ai/langchain/pull/9081.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9081.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9080
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9080/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9080/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9080/events
https://github.com/langchain-ai/langchain/pull/9080
1,845,930,621
PR_kwDOIPDwls5XreJH
9,080
add async for python repl
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-10T21:35:57
2023-08-10T23:07:08
2023-08-10T23:07:07
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9080/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9080/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9080", "html_url": "https://github.com/langchain-ai/langchain/pull/9080", "diff_url": "https://github.com/langchain-ai/langchain/pull/9080.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9080.patch", "merged_at": "2023-08-10T23:07:07" }
https://api.github.com/repos/langchain-ai/langchain/issues/9079
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9079/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9079/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9079/events
https://github.com/langchain-ai/langchain/pull/9079
1,845,926,615
PR_kwDOIPDwls5XrdRx
9,079
Bagatur/dingo
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-08-10T21:31:46
2023-08-11T17:54:46
2023-08-11T17:54:46
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9079/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9079/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9079", "html_url": "https://github.com/langchain-ai/langchain/pull/9079", "diff_url": "https://github.com/langchain-ai/langchain/pull/9079.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9079.patch", "merged_at": "2023-08-11T17:54:45" }
https://api.github.com/repos/langchain-ai/langchain/issues/9077
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9077/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9077/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9077/events
https://github.com/langchain-ai/langchain/pull/9077
1,845,868,009
PR_kwDOIPDwls5XrQkw
9,077
Support a few list like operations on ChatPromptTemplate
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T20:40:25
2023-08-11T18:49:52
2023-08-11T18:49:51
COLLABORATOR
null
Make it easier to work with chat prompt template
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9077/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9077/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9077", "html_url": "https://github.com/langchain-ai/langchain/pull/9077", "diff_url": "https://github.com/langchain-ai/langchain/pull/9077.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9077.patch", "merged_at": "2023-08-11T18:49:51" }
https://api.github.com/repos/langchain-ai/langchain/issues/9076
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9076/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9076/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9076/events
https://github.com/langchain-ai/langchain/pull/9076
1,845,865,237
PR_kwDOIPDwls5XrP8t
9,076
Bagatur/refac faiss
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
1
2023-08-10T20:38:50
2023-08-15T22:19:01
2023-08-15T22:19:01
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9076/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9076/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9076", "html_url": "https://github.com/langchain-ai/langchain/pull/9076", "diff_url": "https://github.com/langchain-ai/langchain/pull/9076.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9076.patch", "merged_at": "2023-08-15T22:19:01" }
https://api.github.com/repos/langchain-ai/langchain/issues/9074
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9074/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9074/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9074/events
https://github.com/langchain-ai/langchain/pull/9074
1,845,830,404
PR_kwDOIPDwls5XrIWA
9,074
docs: (Mendable Search) Fixes stuck when tabbing out issue
{ "login": "nickscamara", "id": 20311743, "node_id": "MDQ6VXNlcjIwMzExNzQz", "avatar_url": "https://avatars.githubusercontent.com/u/20311743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickscamara", "html_url": "https://github.com/nickscamara", "followers_url": "https://api.github.com/users/nickscamara/followers", "following_url": "https://api.github.com/users/nickscamara/following{/other_user}", "gists_url": "https://api.github.com/users/nickscamara/gists{/gist_id}", "starred_url": "https://api.github.com/users/nickscamara/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nickscamara/subscriptions", "organizations_url": "https://api.github.com/users/nickscamara/orgs", "repos_url": "https://api.github.com/users/nickscamara/repos", "events_url": "https://api.github.com/users/nickscamara/events{/privacy}", "received_events_url": "https://api.github.com/users/nickscamara/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-10T20:12:34
2023-08-10T20:46:07
2023-08-10T20:46:07
CONTRIBUTOR
null
This fixes Mendable not completing when tabbing out and fixes the duplicate message issue as well.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9074/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9074/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9074", "html_url": "https://github.com/langchain-ai/langchain/pull/9074", "diff_url": "https://github.com/langchain-ai/langchain/pull/9074.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9074.patch", "merged_at": "2023-08-10T20:46:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/9073
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9073/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9073/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9073/events
https://github.com/langchain-ai/langchain/pull/9073
1,845,828,104
PR_kwDOIPDwls5XrH2Y
9,073
Fix more incorrect code blocks in doc strings
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-08-10T20:10:52
2023-08-10T20:49:17
2023-08-10T20:49:16
COLLABORATOR
null
Fix 2 more incorrect code blocks in strings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9073/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9073/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9073", "html_url": "https://github.com/langchain-ai/langchain/pull/9073", "diff_url": "https://github.com/langchain-ai/langchain/pull/9073.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9073.patch", "merged_at": "2023-08-10T20:49:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/9072
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9072/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9072/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9072/events
https://github.com/langchain-ai/langchain/issues/9072
1,845,823,677
I_kwDOIPDwls5uBQi9
9,072
Agents final thought as parameter
{ "login": "Rassibassi", "id": 2855550, "node_id": "MDQ6VXNlcjI4NTU1NTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2855550?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rassibassi", "html_url": "https://github.com/Rassibassi", "followers_url": "https://api.github.com/users/Rassibassi/followers", "following_url": "https://api.github.com/users/Rassibassi/following{/other_user}", "gists_url": "https://api.github.com/users/Rassibassi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Rassibassi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rassibassi/subscriptions", "organizations_url": "https://api.github.com/users/Rassibassi/orgs", "repos_url": "https://api.github.com/users/Rassibassi/repos", "events_url": "https://api.github.com/users/Rassibassi/events{/privacy}", "received_events_url": "https://api.github.com/users/Rassibassi/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-10T20:06:59
2023-11-11T21:20:04
2023-11-11T21:19:55
NONE
null
### System Info I am using langchain in a different language, but I cannot change the following sentence as it is hard-coded into the Agent class ``` thoughts += ( "\n\nI now need to return a final answer based on the previous steps:" ) ``` https://github.com/langchain-ai/langchain/blob/a5a4c53280b4dae8ea2e09430fed88e0cd4e03d2/libs/langchain/langchain/agents/agent.py#L588 ### 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 Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction - ### Expected behavior -
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9072/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9072/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9071
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9071/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9071/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9071/events
https://github.com/langchain-ai/langchain/issues/9071
1,845,820,486
I_kwDOIPDwls5uBPxG
9,071
Referencing experimental version of SQLDatabaseChain from the production project
{ "login": "RHendrixn", "id": 60201650, "node_id": "MDQ6VXNlcjYwMjAxNjUw", "avatar_url": "https://avatars.githubusercontent.com/u/60201650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RHendrixn", "html_url": "https://github.com/RHendrixn", "followers_url": "https://api.github.com/users/RHendrixn/followers", "following_url": "https://api.github.com/users/RHendrixn/following{/other_user}", "gists_url": "https://api.github.com/users/RHendrixn/gists{/gist_id}", "starred_url": "https://api.github.com/users/RHendrixn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RHendrixn/subscriptions", "organizations_url": "https://api.github.com/users/RHendrixn/orgs", "repos_url": "https://api.github.com/users/RHendrixn/repos", "events_url": "https://api.github.com/users/RHendrixn/events{/privacy}", "received_events_url": "https://api.github.com/users/RHendrixn/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-10T20:04:27
2023-10-27T19:19:07
2023-10-27T19:19:07
NONE
null
https://github.com/langchain-ai/langchain/blob/a5a4c53280b4dae8ea2e09430fed88e0cd4e03d2/libs/langchain/langchain/chains/loading.py#L376 Work was done earlier this year to move all experimental and vulnerable code over to the experimental project. SQLDatabaseChain had (and still has) an open CVE against it so it was moved to the experimental project. However the experimental version of SQLDatabaseChain is being referenced in the production project on the line above. Our organization would like to start using LangChain but we cannot due to the open High severity CVE. Is it possible to either patch the vulnerability in code or complete the move of SQLDatabaseChain from the production project to the experimental?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9071/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9071/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9069
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9069/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9069/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9069/events
https://github.com/langchain-ai/langchain/pull/9069
1,845,723,696
PR_kwDOIPDwls5XqxB_
9,069
Enhance deprecation decorator to modify docs with sphinx directives
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-10T18:55:30
2023-08-13T19:35:02
2023-08-13T19:35:01
COLLABORATOR
null
Enhance deprecation decorator
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9069/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9069", "html_url": "https://github.com/langchain-ai/langchain/pull/9069", "diff_url": "https://github.com/langchain-ai/langchain/pull/9069.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9069.patch", "merged_at": "2023-08-13T19:35:01" }
https://api.github.com/repos/langchain-ai/langchain/issues/9068
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9068/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9068/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9068/events
https://github.com/langchain-ai/langchain/pull/9068
1,845,695,327
PR_kwDOIPDwls5Xqq0j
9,068
add ttl to RedisCache
{ "login": "glaucocustodio", "id": 1907408, "node_id": "MDQ6VXNlcjE5MDc0MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/1907408?v=4", "gravatar_id": "", "url": "https://api.github.com/users/glaucocustodio", "html_url": "https://github.com/glaucocustodio", "followers_url": "https://api.github.com/users/glaucocustodio/followers", "following_url": "https://api.github.com/users/glaucocustodio/following{/other_user}", "gists_url": "https://api.github.com/users/glaucocustodio/gists{/gist_id}", "starred_url": "https://api.github.com/users/glaucocustodio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/glaucocustodio/subscriptions", "organizations_url": "https://api.github.com/users/glaucocustodio/orgs", "repos_url": "https://api.github.com/users/glaucocustodio/repos", "events_url": "https://api.github.com/users/glaucocustodio/events{/privacy}", "received_events_url": "https://api.github.com/users/glaucocustodio/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-10T18:34:45
2023-08-14T16:59:18
2023-08-14T16:59:18
CONTRIBUTOR
null
Add `ttl` (time to live) to `RedisCache`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9068/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9068/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9068", "html_url": "https://github.com/langchain-ai/langchain/pull/9068", "diff_url": "https://github.com/langchain-ai/langchain/pull/9068.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9068.patch", "merged_at": "2023-08-14T16:59:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/9067
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9067/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9067/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9067/events
https://github.com/langchain-ai/langchain/issues/9067
1,845,693,256
I_kwDOIPDwls5uAwtI
9,067
Issue: I want to attach metadata in my PGVector vector store used as retriever for my ConversationChain memory
{ "login": "RafaelCantoVazquez", "id": 44030094, "node_id": "MDQ6VXNlcjQ0MDMwMDk0", "avatar_url": "https://avatars.githubusercontent.com/u/44030094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RafaelCantoVazquez", "html_url": "https://github.com/RafaelCantoVazquez", "followers_url": "https://api.github.com/users/RafaelCantoVazquez/followers", "following_url": "https://api.github.com/users/RafaelCantoVazquez/following{/other_user}", "gists_url": "https://api.github.com/users/RafaelCantoVazquez/gists{/gist_id}", "starred_url": "https://api.github.com/users/RafaelCantoVazquez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RafaelCantoVazquez/subscriptions", "organizations_url": "https://api.github.com/users/RafaelCantoVazquez/orgs", "repos_url": "https://api.github.com/users/RafaelCantoVazquez/repos", "events_url": "https://api.github.com/users/RafaelCantoVazquez/events{/privacy}", "received_events_url": "https://api.github.com/users/RafaelCantoVazquez/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" } ]
open
false
null
[]
null
5
2023-08-10T18:33:16
2023-12-30T16:02:19
null
NONE
null
### Issue you'd like to raise. I am creating a chatbot that records the history of the conversation through vectors in my vector store per user that uses the chatbot, and for this, I identify who is the owner of the vectors through metadata. How can I add this metadata to the vectors if I'm using the vector store as a retriever for the memory in my ConversationChain? This is my code: ``` import os from langchain.llms import OpenAI from langchain.chains import ConversationChain from langchain.memory import VectorStoreRetrieverMemory from langchain.vectorstores.pgvector import PGVector from langchain.embeddings.openai import OpenAIEmbeddings exit_conditions = ("q", "quit", "exit") metadata={"id": "John Doe", "key": 123} llm = OpenAI(openai_api_key=os.getenv("OPENAI_API_KEY"), temperature=0) store = PGVector( collection_name="chatbot_embeddings", connection_string=os.getenv("POSTGRES_CONNECTION_STRING"), embedding_function=OpenAIEmbeddings(), collection_metadata=metadata ) while True: query = input("> ") if query in exit_conditions: break conversation_with_summary = ConversationChain( llm=llm, memory=VectorStoreRetrieverMemory(retriever=store.as_retriever()), verbose=True, metadata=metadata, ) print(conversation_with_summary.predict(input=query)) ``` ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9067/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9067/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9066
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9066/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9066/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9066/events
https://github.com/langchain-ai/langchain/pull/9066
1,845,692,223
PR_kwDOIPDwls5XqqIx
9,066
Move from test to supported claude-instant-1 model
{ "login": "mikelambert", "id": 7953259, "node_id": "MDQ6VXNlcjc5NTMyNTk=", "avatar_url": "https://avatars.githubusercontent.com/u/7953259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mikelambert", "html_url": "https://github.com/mikelambert", "followers_url": "https://api.github.com/users/mikelambert/followers", "following_url": "https://api.github.com/users/mikelambert/following{/other_user}", "gists_url": "https://api.github.com/users/mikelambert/gists{/gist_id}", "starred_url": "https://api.github.com/users/mikelambert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mikelambert/subscriptions", "organizations_url": "https://api.github.com/users/mikelambert/orgs", "repos_url": "https://api.github.com/users/mikelambert/repos", "events_url": "https://api.github.com/users/mikelambert/events{/privacy}", "received_events_url": "https://api.github.com/users/mikelambert/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T18:32:29
2023-08-10T18:57:29
2023-08-10T18:57:29
CONTRIBUTOR
null
Moves from "test" model to "claude-instant-1" model which is supported and has actual capacity
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9066/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9066/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9066", "html_url": "https://github.com/langchain-ai/langchain/pull/9066", "diff_url": "https://github.com/langchain-ai/langchain/pull/9066.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9066.patch", "merged_at": "2023-08-10T18:57:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/9065
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9065/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9065/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9065/events
https://github.com/langchain-ai/langchain/pull/9065
1,845,685,108
PR_kwDOIPDwls5XqomY
9,065
update api ref exampels
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-10T18:26:58
2023-08-10T18:41:30
2023-08-10T18:28:25
COLLABORATOR
null
manually update for now
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9065/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9065/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9065", "html_url": "https://github.com/langchain-ai/langchain/pull/9065", "diff_url": "https://github.com/langchain-ai/langchain/pull/9065.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9065.patch", "merged_at": "2023-08-10T18:28:25" }
https://api.github.com/repos/langchain-ai/langchain/issues/9064
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9064/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9064/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9064/events
https://github.com/langchain-ai/langchain/pull/9064
1,845,682,050
PR_kwDOIPDwls5Xqn6v
9,064
Add excludes to FileSystemBlobLoader
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-10T18:25:04
2023-08-10T18:57:00
2023-08-10T18:56:59
COLLABORATOR
null
Add option to specify exclude patterns. https://github.com/langchain-ai/langchain/discussions/9059
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9064/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9064/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9064", "html_url": "https://github.com/langchain-ai/langchain/pull/9064", "diff_url": "https://github.com/langchain-ai/langchain/pull/9064.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9064.patch", "merged_at": "2023-08-10T18:56:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/9063
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9063/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9063/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9063/events
https://github.com/langchain-ai/langchain/pull/9063
1,845,661,637
PR_kwDOIPDwls5Xqjgi
9,063
Updating interactive walkthrough link in index.md to resolve 404 error
{ "login": "ShorthillsAI", "id": 141953346, "node_id": "U_kgDOCHYJQg", "avatar_url": "https://avatars.githubusercontent.com/u/141953346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShorthillsAI", "html_url": "https://github.com/ShorthillsAI", "followers_url": "https://api.github.com/users/ShorthillsAI/followers", "following_url": "https://api.github.com/users/ShorthillsAI/following{/other_user}", "gists_url": "https://api.github.com/users/ShorthillsAI/gists{/gist_id}", "starred_url": "https://api.github.com/users/ShorthillsAI/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShorthillsAI/subscriptions", "organizations_url": "https://api.github.com/users/ShorthillsAI/orgs", "repos_url": "https://api.github.com/users/ShorthillsAI/repos", "events_url": "https://api.github.com/users/ShorthillsAI/events{/privacy}", "received_events_url": "https://api.github.com/users/ShorthillsAI/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-08-10T18:09:19
2023-08-11T20:08:57
2023-08-11T20:08:57
CONTRIBUTOR
null
Updated interactive walkthrough link in index.md to resolve 404 error. Also, expressing deep gratitude to LangChain library developers for their exceptional efforts 🥇 . @baskaryan , @hwchase17 , @eyurtsev
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9063/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9063/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9063", "html_url": "https://github.com/langchain-ai/langchain/pull/9063", "diff_url": "https://github.com/langchain-ai/langchain/pull/9063.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9063.patch", "merged_at": "2023-08-11T20:08:57" }
https://api.github.com/repos/langchain-ai/langchain/issues/9062
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9062/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9062/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9062/events
https://github.com/langchain-ai/langchain/pull/9062
1,845,656,337
PR_kwDOIPDwls5XqiX6
9,062
update pr temp
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T18:05:24
2023-08-10T18:10:08
2023-08-10T18:10:07
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9062/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9062/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9062", "html_url": "https://github.com/langchain-ai/langchain/pull/9062", "diff_url": "https://github.com/langchain-ai/langchain/pull/9062.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9062.patch", "merged_at": "2023-08-10T18:10:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/9061
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9061/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9061/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9061/events
https://github.com/langchain-ai/langchain/pull/9061
1,845,646,129
PR_kwDOIPDwls5XqgDW
9,061
fix 9046 issue
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-10T18:00:07
2023-08-10T19:17:53
2023-08-10T18:59:39
COLLABORATOR
null
Fixed #9046 Added ut-s for this fix. @eyurtsev
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9061/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9061/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9061", "html_url": "https://github.com/langchain-ai/langchain/pull/9061", "diff_url": "https://github.com/langchain-ai/langchain/pull/9061.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9061.patch", "merged_at": "2023-08-10T18:59:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/9060
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9060/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9060/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9060/events
https://github.com/langchain-ai/langchain/pull/9060
1,845,636,775
PR_kwDOIPDwls5Xqd9U
9,060
Fix incorrect code blocks in documentation
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-10T17:54:19
2023-08-10T21:13:43
2023-08-10T21:13:42
COLLABORATOR
null
Fixes incorrect code block syntax in doc strings.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9060/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9060/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9060", "html_url": "https://github.com/langchain-ai/langchain/pull/9060", "diff_url": "https://github.com/langchain-ai/langchain/pull/9060.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9060.patch", "merged_at": "2023-08-10T21:13:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/9058
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9058/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9058/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9058/events
https://github.com/langchain-ai/langchain/pull/9058
1,845,573,228
PR_kwDOIPDwls5XqQGt
9,058
updated default of n_sentence_context to 2
{ "login": "ofermend", "id": 1823547, "node_id": "MDQ6VXNlcjE4MjM1NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/1823547?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ofermend", "html_url": "https://github.com/ofermend", "followers_url": "https://api.github.com/users/ofermend/followers", "following_url": "https://api.github.com/users/ofermend/following{/other_user}", "gists_url": "https://api.github.com/users/ofermend/gists{/gist_id}", "starred_url": "https://api.github.com/users/ofermend/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ofermend/subscriptions", "organizations_url": "https://api.github.com/users/ofermend/orgs", "repos_url": "https://api.github.com/users/ofermend/repos", "events_url": "https://api.github.com/users/ofermend/events{/privacy}", "received_events_url": "https://api.github.com/users/ofermend/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-10T17:08:34
2023-08-11T22:32:20
2023-08-11T22:32:20
CONTRIBUTOR
null
n_sentences_context determines the amount of sentences (chunks) that are added before/after the matching chunk when Vectara returns results. This additional context usually results in better context in the Grounded Generation (aka retrieval-augmented generation) use-cases. Replace this comment with: - Description: updated n_sentences_context to default at 2. - Tag maintainer: @rlancemartin, @eyurtsev - Twitter handle: @ofermend
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9058/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9058/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9058", "html_url": "https://github.com/langchain-ai/langchain/pull/9058", "diff_url": "https://github.com/langchain-ai/langchain/pull/9058.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9058.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9057
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9057/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9057/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9057/events
https://github.com/langchain-ai/langchain/issues/9057
1,845,568,042
I_kwDOIPDwls5uASIq
9,057
TypeError: expected string or buffer
{ "login": "charles-123456", "id": 50801681, "node_id": "MDQ6VXNlcjUwODAxNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/50801681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/charles-123456", "html_url": "https://github.com/charles-123456", "followers_url": "https://api.github.com/users/charles-123456/followers", "following_url": "https://api.github.com/users/charles-123456/following{/other_user}", "gists_url": "https://api.github.com/users/charles-123456/gists{/gist_id}", "starred_url": "https://api.github.com/users/charles-123456/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charles-123456/subscriptions", "organizations_url": "https://api.github.com/users/charles-123456/orgs", "repos_url": "https://api.github.com/users/charles-123456/repos", "events_url": "https://api.github.com/users/charles-123456/events{/privacy}", "received_events_url": "https://api.github.com/users/charles-123456/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
2
2023-08-10T17:04:41
2023-11-08T16:44:34
null
NONE
null
When I used to connect and azure openai Emabeddings and Milvus used , Below Exception happende Traceback (most recent call last): File "D:\Corent\AI\LangChain\azure\azure_connection.py", line 29, in <module> VectorStore = Milvus.from_texts( ^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\vectorstores\milvus.py", line 822, in from_texts vector_db.add_texts(texts=texts, metadatas=metadatas) File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\vectorstores\milvus.py", line 422, in add_texts embeddings = self.embedding_func.embed_documents(texts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 478, in embed_documents return self._get_len_safe_embeddings(texts, engine=self.deployment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\embeddings\openai.py", line 341, in _get_len_safe_embeddings token = encoding.encode( ^^^^^^^^^^^^^^^^ File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tiktoken\core.py", line 116, in encode if match := _special_token_regex(disallowed_special).search(text): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or buffer
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9057/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 4 }
https://api.github.com/repos/langchain-ai/langchain/issues/9057/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9056
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9056/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9056/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9056/events
https://github.com/langchain-ai/langchain/pull/9056
1,845,538,302
PR_kwDOIPDwls5XqIf4
9,056
fix sched ci (more)
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T16:42:37
2023-08-11T19:10:27
2023-08-10T17:39:30
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9056/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9056/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9056", "html_url": "https://github.com/langchain-ai/langchain/pull/9056", "diff_url": "https://github.com/langchain-ai/langchain/pull/9056.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9056.patch", "merged_at": "2023-08-10T17:39:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/9055
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9055/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9055/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9055/events
https://github.com/langchain-ai/langchain/pull/9055
1,845,532,370
PR_kwDOIPDwls5XqHNW
9,055
get rid of google-api-python-client as it is has a huge filesystem footprint
{ "login": "BenLinnik", "id": 12953323, "node_id": "MDQ6VXNlcjEyOTUzMzIz", "avatar_url": "https://avatars.githubusercontent.com/u/12953323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BenLinnik", "html_url": "https://github.com/BenLinnik", "followers_url": "https://api.github.com/users/BenLinnik/followers", "following_url": "https://api.github.com/users/BenLinnik/following{/other_user}", "gists_url": "https://api.github.com/users/BenLinnik/gists{/gist_id}", "starred_url": "https://api.github.com/users/BenLinnik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BenLinnik/subscriptions", "organizations_url": "https://api.github.com/users/BenLinnik/orgs", "repos_url": "https://api.github.com/users/BenLinnik/repos", "events_url": "https://api.github.com/users/BenLinnik/events{/privacy}", "received_events_url": "https://api.github.com/users/BenLinnik/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
open
false
null
[]
null
6
2023-08-10T16:38:00
2023-11-13T06:31:43
null
CONTRIBUTOR
null
**Description:** Refactored the `GoogleSearchAPIWrapper` to utilize the `requests` library for direct interactions with the Google Custom Search API. This eliminates the dependency on the `google-api-python-client` library, significantly reducing the filesystem footprint. **Reasoning:** Upon closer inspection, I discovered that the `googleapiclient` has a filesystem footprint of 84.8 MiB. This is particularly heavy for applications, especially when the primary use-case is just a single call to Google Search. I use langchain in a AWS lambda environment and getting rid of `google-api-python-client` greatly helped me to be able to run my agent serverless. Further reasoning: 1. **Microservice Architecture:** In a microservices ecosystem, each service ideally should be lightweight and singular in function. Including bulky libraries for minimal features increases the overhead without proportionate benefits. 2. **AWS Lambdas:** AWS Lambda has packaging size limits. For languages like Python, the deployment package size (zipped) should be under 50 MB for direct upload and under 250 MB when uploaded from S3. Reducing unnecessary bulk is crucial for efficient AWS Lambda deployments. 3. **Optimized Docker Images:** Large libraries increase the size of Docker images, which subsequently affects deployment times, scaling efficiency, and even costs (especially in serverless environments where you pay per execution time). 4. **Faster Start Times:** In cloud functions or similar serverless architectures, a lighter package means faster cold starts. Making this change is a step towards optimized, efficient, and cost-effective deployments, especially in serverless and microservice environments. **Dependencies:** - `requests` **Tag maintainer:** @hinthornw Please help me to test this, I hope some GitHub actions will test this PR, the change is rather small and inside a private function, so I hope all tests will pass.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9055/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9055/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9055", "html_url": "https://github.com/langchain-ai/langchain/pull/9055", "diff_url": "https://github.com/langchain-ai/langchain/pull/9055.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9055.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9054
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9054/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9054/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9054/events
https://github.com/langchain-ai/langchain/pull/9054
1,845,526,981
PR_kwDOIPDwls5XqGBr
9,054
Bagatur/fix sched
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T16:34:34
2023-08-10T16:34:46
2023-08-10T16:34:45
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9054/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9054/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9054", "html_url": "https://github.com/langchain-ai/langchain/pull/9054", "diff_url": "https://github.com/langchain-ai/langchain/pull/9054.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9054.patch", "merged_at": "2023-08-10T16:34:45" }
https://api.github.com/repos/langchain-ai/langchain/issues/9053
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9053/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9053/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9053/events
https://github.com/langchain-ai/langchain/pull/9053
1,845,519,885
PR_kwDOIPDwls5XqEfw
9,053
fix sched ci
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T16:29:38
2023-08-10T16:29:47
2023-08-10T16:29:46
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9053/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9053/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9053", "html_url": "https://github.com/langchain-ai/langchain/pull/9053", "diff_url": "https://github.com/langchain-ai/langchain/pull/9053.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9053.patch", "merged_at": "2023-08-10T16:29:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/9052
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9052/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9052/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9052/events
https://github.com/langchain-ai/langchain/issues/9052
1,845,452,324
I_kwDOIPDwls5t_14k
9,052
ConversationalRetrievalChain having trouble with custom 'combine_docs_chain'
{ "login": "guillaumedelande", "id": 115003496, "node_id": "U_kgDOBtrQaA", "avatar_url": "https://avatars.githubusercontent.com/u/115003496?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaumedelande", "html_url": "https://github.com/guillaumedelande", "followers_url": "https://api.github.com/users/guillaumedelande/followers", "following_url": "https://api.github.com/users/guillaumedelande/following{/other_user}", "gists_url": "https://api.github.com/users/guillaumedelande/gists{/gist_id}", "starred_url": "https://api.github.com/users/guillaumedelande/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/guillaumedelande/subscriptions", "organizations_url": "https://api.github.com/users/guillaumedelande/orgs", "repos_url": "https://api.github.com/users/guillaumedelande/repos", "events_url": "https://api.github.com/users/guillaumedelande/events{/privacy}", "received_events_url": "https://api.github.com/users/guillaumedelande/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T15:45:03
2023-11-16T16:05:16
2023-11-16T16:05:15
CONTRIBUTOR
null
### System Info Langchain 0.247 Python 3.10.11 ### Who can help? @chase ### 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 - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I wanted to adapt the original combine_docs_chain to some customization where a user input (e.g. 'you act like a HR chatbot') would be added to the original prompt. The workaround I found was to rewrite the original prompt files to take in a user input, which works. However, I'm having trouble making the ConversationRetrievalChain work. 1. Adapt the original templates from the source files and load them in: I wanted to add the possibility to add some user input to the pre-made prompts from langchain. So I duplicated the original files and adapted the text of the prompts somewhat ``` from docs.stuff_prompt import create_stuff_prompt_selector STUFF_PROMPT_SELECTOR = create_stuff_prompt_selector(ui_input= ui_input) #adds the ui_input to the prompt stuff_prompt = STUFF_PROMPT_SELECTOR.get_prompt(llm) #based on LLM model, it will return either the regular PromptTemplate version or the chat (ChatPromptTemplate). Same working principle as in the source files combine_docs_chain = load_qa_chain(llm = llm, chain_type = 'stuff', prompt = stuff_prompt ) #create a custom combine_docs_chain ``` 2. Create the ConversationalRetrievalChain.from_llm() object with the custom combine_docs_chain Simply create the object. First time might work, but second won't work ``` from langchain.chains import ConversationalRetrievalChain qa = ConversationalRetrievalChain.from_llm( llm, retriever=vectordb.as_retriever(), return_source_documents = True, memory=memory, verbose = True, combine_docs_chain = combine_docs_chain ) ``` 3. This yields an error: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[25], line 2 1 from langchain.chains import ConversationalRetrievalChain ----> 2 qa = ConversationalRetrievalChain.from_llm( 3 llm, 4 retriever=vectordb.as_retriever(), 5 return_source_documents = True, # when return_source_documents is True, a workaround needs to be found https://github.com/langchain-ai/langchain/issues/2303 6 memory=memory, 7 #, get_chat_history=lambda h : h 8 verbose = True, 9 combine_docs_chain = combine_docs_chain 10 #question_generator 11 ) File [c:\Users\XXX\Anaconda3\envs\langchain-env\lib\site-packages\langchain\chains\conversational_retrieval\base.py:357](file:///C:/Users/XXX/Anaconda3/envs/langchain-env/lib/site-packages/langchain/chains/conversational_retrieval/base.py:357), in ConversationalRetrievalChain.from_llm(cls, llm, retriever, condense_question_prompt, chain_type, verbose, condense_question_llm, combine_docs_chain_kwargs, callbacks, **kwargs) 350 _llm = condense_question_llm or llm 351 condense_question_chain = LLMChain( 352 llm=_llm, 353 prompt=condense_question_prompt, 354 verbose=verbose, 355 callbacks=callbacks, 356 ) --> 357 return cls( 358 retriever=retriever, 359 combine_docs_chain=doc_chain, 360 question_generator=condense_question_chain, 361 callbacks=callbacks, 362 **kwargs, 363 ) TypeError: langchain.chains.conversational_retrieval.base.ConversationalRetrievalChain() got multiple values for keyword argument 'combine_docs_chain' ``` ### Expected behavior It is expected to take in the combine_docs_chain I made and initiate the ConversationalRetrievalChain. Is this a cache error? Where the ConversationalRetrievalChain cannot be changed after it has been initiated before?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9052/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9052/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9051
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9051/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9051/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9051/events
https://github.com/langchain-ai/langchain/pull/9051
1,845,429,944
PR_kwDOIPDwls5Xpw9W
9,051
Fix issue with Metaphor Search Tool throwing error on missing keys in API response
{ "login": "homanp", "id": 2464556, "node_id": "MDQ6VXNlcjI0NjQ1NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/2464556?v=4", "gravatar_id": "", "url": "https://api.github.com/users/homanp", "html_url": "https://github.com/homanp", "followers_url": "https://api.github.com/users/homanp/followers", "following_url": "https://api.github.com/users/homanp/following{/other_user}", "gists_url": "https://api.github.com/users/homanp/gists{/gist_id}", "starred_url": "https://api.github.com/users/homanp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/homanp/subscriptions", "organizations_url": "https://api.github.com/users/homanp/orgs", "repos_url": "https://api.github.com/users/homanp/repos", "events_url": "https://api.github.com/users/homanp/events{/privacy}", "received_events_url": "https://api.github.com/users/homanp/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-08-10T15:30:42
2023-08-10T16:07:01
2023-08-10T16:07:00
CONTRIBUTOR
null
- Description: Fixes an issue with Metaphor Search Tool throwing when missing keys in API response. - Issue: #9048 - Tag maintainer: @hinthornw @hwchase17 - Twitter handle: @pelaseyed
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9051/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9051/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9051", "html_url": "https://github.com/langchain-ai/langchain/pull/9051", "diff_url": "https://github.com/langchain-ai/langchain/pull/9051.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9051.patch", "merged_at": "2023-08-10T16:07:00" }
https://api.github.com/repos/langchain-ai/langchain/issues/9050
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9050/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9050/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9050/events
https://github.com/langchain-ai/langchain/pull/9050
1,845,419,778
PR_kwDOIPDwls5Xpusf
9,050
remove the last ";" if the SQL is end with ";"
{ "login": "Flyfoxs", "id": 11268302, "node_id": "MDQ6VXNlcjExMjY4MzAy", "avatar_url": "https://avatars.githubusercontent.com/u/11268302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Flyfoxs", "html_url": "https://github.com/Flyfoxs", "followers_url": "https://api.github.com/users/Flyfoxs/followers", "following_url": "https://api.github.com/users/Flyfoxs/following{/other_user}", "gists_url": "https://api.github.com/users/Flyfoxs/gists{/gist_id}", "starred_url": "https://api.github.com/users/Flyfoxs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Flyfoxs/subscriptions", "organizations_url": "https://api.github.com/users/Flyfoxs/orgs", "repos_url": "https://api.github.com/users/Flyfoxs/repos", "events_url": "https://api.github.com/users/Flyfoxs/events{/privacy}", "received_events_url": "https://api.github.com/users/Flyfoxs/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
4
2023-08-10T15:25:23
2023-11-10T22:22:59
2023-11-10T22:22:58
NONE
null
<!-- Thank you for contributing to LangChain! Replace this comment with: - Description: remote the useless ; in the end of the sql - Issue: If the sql is end with ";", it will have some problem for hive with sqlalchemy (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. Maintainer responsibilities: - General / Misc / if you don't know who to tag: @baskaryan - DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev - Models / Prompts: @hwchase17, @baskaryan - Memory: @hwchase17 - Agents / Tools / Toolkits: @hinthornw - Tracing / Callbacks: @agola11 - Async: @agola11 If no one reviews your PR within a few days, feel free to @-mention the same people again. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9050/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9050/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9050", "html_url": "https://github.com/langchain-ai/langchain/pull/9050", "diff_url": "https://github.com/langchain-ai/langchain/pull/9050.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9050.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9049
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9049/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9049/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9049/events
https://github.com/langchain-ai/langchain/pull/9049
1,845,416,841
PR_kwDOIPDwls5XpuEZ
9,049
Update faiss.py delete bug fixed
{ "login": "chiquitita-101", "id": 19623404, "node_id": "MDQ6VXNlcjE5NjIzNDA0", "avatar_url": "https://avatars.githubusercontent.com/u/19623404?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chiquitita-101", "html_url": "https://github.com/chiquitita-101", "followers_url": "https://api.github.com/users/chiquitita-101/followers", "following_url": "https://api.github.com/users/chiquitita-101/following{/other_user}", "gists_url": "https://api.github.com/users/chiquitita-101/gists{/gist_id}", "starred_url": "https://api.github.com/users/chiquitita-101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chiquitita-101/subscriptions", "organizations_url": "https://api.github.com/users/chiquitita-101/orgs", "repos_url": "https://api.github.com/users/chiquitita-101/repos", "events_url": "https://api.github.com/users/chiquitita-101/events{/privacy}", "received_events_url": "https://api.github.com/users/chiquitita-101/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
4
2023-08-10T15:23:36
2023-09-20T17:52:10
2023-09-20T17:52:09
NONE
null
# After invoking the 'remove_ids' function, the indices of vectors in the Faiss Index will remain consecutive. # To ensure consistency between the keys of 'index_to_docstore_id' and the indices of vectors in the Faiss Index, modify the keys of 'index_to_docstore_id' to consecutive numbers, like 0, 3, 4 - > 0, 1, 2.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9049/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9049/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9049", "html_url": "https://github.com/langchain-ai/langchain/pull/9049", "diff_url": "https://github.com/langchain-ai/langchain/pull/9049.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9049.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9048
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9048/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9048/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9048/events
https://github.com/langchain-ai/langchain/issues/9048
1,845,415,438
I_kwDOIPDwls5t_s4O
9,048
Metaphor Search throws key error when `publishedDate` is missing
{ "login": "homanp", "id": 2464556, "node_id": "MDQ6VXNlcjI0NjQ1NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/2464556?v=4", "gravatar_id": "", "url": "https://api.github.com/users/homanp", "html_url": "https://github.com/homanp", "followers_url": "https://api.github.com/users/homanp/followers", "following_url": "https://api.github.com/users/homanp/following{/other_user}", "gists_url": "https://api.github.com/users/homanp/gists{/gist_id}", "starred_url": "https://api.github.com/users/homanp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/homanp/subscriptions", "organizations_url": "https://api.github.com/users/homanp/orgs", "repos_url": "https://api.github.com/users/homanp/repos", "events_url": "https://api.github.com/users/homanp/events{/privacy}", "received_events_url": "https://api.github.com/users/homanp/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
5
2023-08-10T15:22:58
2023-11-19T16:05:16
2023-11-19T16:05:15
CONTRIBUTOR
null
### System Info LangChain: v0.0.260 Python: v3.11 ### Who can help? @hwchase17 @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Sometime `Metaphor` tool returns results without publishedDate which makes the Tool wrapper break due not guarding against empty values: ``` langchain/utilities/metaphor_search.py", line 169, in _clean_results "published_date": result["publishedDate"], KeyError: 'publishedDate' ``` ### Expected behavior Preferably the Tool should guard agains missing keys in API response.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9048/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/9048/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9047
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9047/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9047/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9047/events
https://github.com/langchain-ai/langchain/issues/9047
1,845,411,321
I_kwDOIPDwls5t_r35
9,047
ArxivLoader support searching by arxiv id_list
{ "login": "austinmw", "id": 12224358, "node_id": "MDQ6VXNlcjEyMjI0MzU4", "avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/austinmw", "html_url": "https://github.com/austinmw", "followers_url": "https://api.github.com/users/austinmw/followers", "following_url": "https://api.github.com/users/austinmw/following{/other_user}", "gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}", "starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/austinmw/subscriptions", "organizations_url": "https://api.github.com/users/austinmw/orgs", "repos_url": "https://api.github.com/users/austinmw/repos", "events_url": "https://api.github.com/users/austinmw/events{/privacy}", "received_events_url": "https://api.github.com/users/austinmw/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
3
2023-08-10T15:21:01
2023-11-22T16:06:59
2023-11-22T16:06:58
NONE
null
### Feature request If I know exactly what paper(s) I'd like to load, it would be nice to be able to retrieve them by their arxiv IDs. The arxiv library seems to support this: ``` import arxiv paper = next(arxiv.Search(id_list=["1605.08386v1"]).results()) ``` ### Motivation Sometimes searching by exact paper title still returns the incorrect paper. Searching by ID should be more fool-proof. ### Your contribution 🤷🏻‍♂️
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9047/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9047/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9046
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9046/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9046/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9046/events
https://github.com/langchain-ai/langchain/issues/9046
1,845,405,467
I_kwDOIPDwls5t_qcb
9,046
ArxivLoader incorrect results
{ "login": "austinmw", "id": 12224358, "node_id": "MDQ6VXNlcjEyMjI0MzU4", "avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/austinmw", "html_url": "https://github.com/austinmw", "followers_url": "https://api.github.com/users/austinmw/followers", "following_url": "https://api.github.com/users/austinmw/following{/other_user}", "gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}", "starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/austinmw/subscriptions", "organizations_url": "https://api.github.com/users/austinmw/orgs", "repos_url": "https://api.github.com/users/austinmw/repos", "events_url": "https://api.github.com/users/austinmw/events{/privacy}", "received_events_url": "https://api.github.com/users/austinmw/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
4
2023-08-10T15:18:24
2023-08-10T18:59:41
2023-08-10T18:59:40
NONE
null
### System Info Latest pip versions ### Who can help? @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I tried searching by exact title in the following way: ```python docs = ArxivLoader(query="MetaGPT: Meta Programming for Multi-Agent Collaborative Framework", load_max_docs=1).load() ``` But the result is incorrect. The search works properly on the arxiv website. ### Expected behavior Correct paper returned
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9046/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9046/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9045
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9045/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9045/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9045/events
https://github.com/langchain-ai/langchain/pull/9045
1,845,405,137
PR_kwDOIPDwls5Xprbw
9,045
Takeoff integration
{ "login": "hoyungcher", "id": 53276514, "node_id": "MDQ6VXNlcjUzMjc2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/53276514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hoyungcher", "html_url": "https://github.com/hoyungcher", "followers_url": "https://api.github.com/users/hoyungcher/followers", "following_url": "https://api.github.com/users/hoyungcher/following{/other_user}", "gists_url": "https://api.github.com/users/hoyungcher/gists{/gist_id}", "starred_url": "https://api.github.com/users/hoyungcher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hoyungcher/subscriptions", "organizations_url": "https://api.github.com/users/hoyungcher/orgs", "repos_url": "https://api.github.com/users/hoyungcher/repos", "events_url": "https://api.github.com/users/hoyungcher/events{/privacy}", "received_events_url": "https://api.github.com/users/hoyungcher/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-10T15:18:15
2023-08-10T17:56:06
2023-08-10T17:56:06
CONTRIBUTOR
null
## Description: This PR adds the Titan Takeoff Server to the available LLMs in LangChain. Titan Takeoff is an inference server created by [TitanML](https://www.titanml.co/) that allows you to deploy large language models locally on your hardware in a single command. Most generative model architectures are included, such as Falcon, Llama 2, GPT2, T5 and many more. Read more about Titan Takeoff here: - [Blog](https://medium.com/@TitanML/introducing-titan-takeoff-6c30e55a8e1e) - [Docs](https://docs.titanml.co/docs/titan-takeoff/getting-started) #### Testing As Titan Takeoff runs locally on port 8000 by default, no network access is needed. Responses are mocked for testing. - [x] Make Lint - [x] Make Format - [x] Make Test #### Dependencies No new dependencies are introduced. However, users will need to install the titan-iris package in their local environment and start the Titan Takeoff inferencing server in order to use the Titan Takeoff integration. Thanks for your help and please let me know if you have any questions. cc: @hwchase17 @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9045/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9045/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9045", "html_url": "https://github.com/langchain-ai/langchain/pull/9045", "diff_url": "https://github.com/langchain-ai/langchain/pull/9045.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9045.patch", "merged_at": "2023-08-10T17:56:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/9044
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9044/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9044/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9044/events
https://github.com/langchain-ai/langchain/pull/9044
1,845,379,383
PR_kwDOIPDwls5Xplt_
9,044
RedisStore: Update init and Documentation updates
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T15:04:24
2023-08-10T19:30:31
2023-08-10T19:30:30
COLLABORATOR
null
* Update Redis Store to support init from parameters * Update notebook to show how to use redis store, and some fixes in documentation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9044/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9044/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9044", "html_url": "https://github.com/langchain-ai/langchain/pull/9044", "diff_url": "https://github.com/langchain-ai/langchain/pull/9044.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9044.patch", "merged_at": "2023-08-10T19:30:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/9043
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9043/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9043/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9043/events
https://github.com/langchain-ai/langchain/pull/9043
1,845,368,137
PR_kwDOIPDwls5XpjP7
9,043
Update `ArgillaCallbackHandler` as of latest `argilla` release
{ "login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvarobartt/followers", "following_url": "https://api.github.com/users/alvarobartt/following{/other_user}", "gists_url": "https://api.github.com/users/alvarobartt/gists{/gist_id}", "starred_url": "https://api.github.com/users/alvarobartt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alvarobartt/subscriptions", "organizations_url": "https://api.github.com/users/alvarobartt/orgs", "repos_url": "https://api.github.com/users/alvarobartt/repos", "events_url": "https://api.github.com/users/alvarobartt/events{/privacy}", "received_events_url": "https://api.github.com/users/alvarobartt/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-10T14:58:28
2023-08-10T17:59:47
2023-08-10T17:59:46
CONTRIBUTOR
null
Hi @agola11, or whoever is reviewing this PR 😄 ## What's in this PR? As of the latest Argilla release, we'll change and refactor some things to make some workflows easier, one of those is how everything's pushed to Argilla, so that now there's no need to call `push_to_argilla` over a `FeedbackDataset` when either `push_to_argilla` is called for the first time, or `from_argilla` is called; among others. We also add some class variables to make sure those are easy to update in case we update those internally in the future, also to make the `warnings.warn` message lighter from the code view. P.S. Regarding the Twitter/X mention feel free to do so at either https://twitter.com/argilla_io or https://twitter.com/alvarobartt, or both if applicable, otherwise, just the first Twitter/X handle.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9043/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9043/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9043", "html_url": "https://github.com/langchain-ai/langchain/pull/9043", "diff_url": "https://github.com/langchain-ai/langchain/pull/9043.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9043.patch", "merged_at": "2023-08-10T17:59:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/9042
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9042/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9042/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9042/events
https://github.com/langchain-ai/langchain/pull/9042
1,845,358,088
PR_kwDOIPDwls5XphDG
9,042
API Reference: Do not document private modules
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-10T14:53:28
2023-08-11T22:58:15
2023-08-11T22:58:15
COLLABORATOR
null
This PR prevents documentation of private modules in the API reference
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9042/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9042/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9042", "html_url": "https://github.com/langchain-ai/langchain/pull/9042", "diff_url": "https://github.com/langchain-ai/langchain/pull/9042.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9042.patch", "merged_at": "2023-08-11T22:58:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/9041
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9041/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9041/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9041/events
https://github.com/langchain-ai/langchain/pull/9041
1,845,351,771
PR_kwDOIPDwls5XpfnW
9,041
bump 261
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-08-10T14:51:05
2023-08-10T14:59:29
2023-08-10T14:59:28
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9041/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9041/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9041", "html_url": "https://github.com/langchain-ai/langchain/pull/9041", "diff_url": "https://github.com/langchain-ai/langchain/pull/9041.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9041.patch", "merged_at": "2023-08-10T14:59:28" }