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/11383
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11383/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11383/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11383/events
https://github.com/langchain-ai/langchain/pull/11383
1,926,533,720
PR_kwDOIPDwls5b6vug
11,383
bump 308
{ "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-10-04T15:55:49
2023-10-04T16:10:10
2023-10-04T16:10:09
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11383/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/11383/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11383", "html_url": "https://github.com/langchain-ai/langchain/pull/11383", "diff_url": "https://github.com/langchain-ai/langchain/pull/11383.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11383.patch", "merged_at": "2023-10-04T16:10:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/11382
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11382/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11382/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11382/events
https://github.com/langchain-ai/langchain/pull/11382
1,926,529,440
PR_kwDOIPDwls5b6uzM
11,382
Rely on SQLAlchemy to apply parameterized args for each dialect.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-04T15:53:22
2023-10-05T02:32:38
2023-10-05T02:32:26
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11382/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/11382/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11382", "html_url": "https://github.com/langchain-ai/langchain/pull/11382", "diff_url": "https://github.com/langchain-ai/langchain/pull/11382.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11382.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11381
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11381/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11381/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11381/events
https://github.com/langchain-ai/langchain/pull/11381
1,926,528,192
PR_kwDOIPDwls5b6uiH
11,381
Add _type to json functions output parser
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-04T15:52:38
2023-10-04T15:56:47
2023-10-04T15:56:46
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11381/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/11381/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11381", "html_url": "https://github.com/langchain-ai/langchain/pull/11381", "diff_url": "https://github.com/langchain-ai/langchain/pull/11381.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11381.patch", "merged_at": "2023-10-04T15:56:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/11380
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11380/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11380/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11380/events
https://github.com/langchain-ai/langchain/pull/11380
1,926,284,731
PR_kwDOIPDwls5b55Aw
11,380
bump 307
{ "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-10-04T13:58:13
2023-10-04T14:03:19
2023-10-04T14:03:18
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11380/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/11380/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11380", "html_url": "https://github.com/langchain-ai/langchain/pull/11380", "diff_url": "https://github.com/langchain-ai/langchain/pull/11380.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11380.patch", "merged_at": "2023-10-04T14:03:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/11379
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11379/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11379/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11379/events
https://github.com/langchain-ai/langchain/issues/11379
1,926,086,161
I_kwDOIPDwls5yzb4R
11,379
Issue: sqlite3.OperationalError: unable to open database file
{ "login": "BillBridge", "id": 18249253, "node_id": "MDQ6VXNlcjE4MjQ5MjUz", "avatar_url": "https://avatars.githubusercontent.com/u/18249253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BillBridge", "html_url": "https://github.com/BillBridge", "followers_url": "https://api.github.com/users/BillBridge/followers", "following_url": "https://api.github.com/users/BillBridge/following{/other_user}", "gists_url": "https://api.github.com/users/BillBridge/gists{/gist_id}", "starred_url": "https://api.github.com/users/BillBridge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BillBridge/subscriptions", "organizations_url": "https://api.github.com/users/BillBridge/orgs", "repos_url": "https://api.github.com/users/BillBridge/repos", "events_url": "https://api.github.com/users/BillBridge/events{/privacy}", "received_events_url": "https://api.github.com/users/BillBridge/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" }, { "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": 5932474361, "node_id": "LA_kwDOIPDwls8AAAABYZpf-Q", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone", "name": "integration: pinecone", "color": "BC53BE", "default": false, "description": "Related to Pinecone vector store integration" } ]
closed
false
null
[]
null
4
2023-10-04T12:16:34
2023-10-05T11:22:05
2023-10-05T11:20:41
NONE
null
### Issue you'd like to raise. Hi, I have implemented the indexing workflow as in https://python.langchain.com/docs/modules/data_connection/indexing making use of Pinecone and sqlite. This runs perfect within a Pycharm dev environment. But after building the app with Pyinstaller, I get the following error: sqlite3.OperationalError: unable to open database file. I think this one is coming from langchain.indexes.index. The error message is very cryptic. Why can't this file be opened? Is it locked? Is it corrupted - no as I can open it with a desktop sql manager app. I tried different locations for storing the sqlite database but makes no difference. Does anyone has some ideas on how to solve this? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11379/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/11379/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11378
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11378/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11378/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11378/events
https://github.com/langchain-ai/langchain/pull/11378
1,925,856,137
PR_kwDOIPDwls5b4aps
11,378
GitHubIssuesLoader Custom API URL Support
{ "login": "daniel-butler-irl", "id": 10742925, "node_id": "MDQ6VXNlcjEwNzQyOTI1", "avatar_url": "https://avatars.githubusercontent.com/u/10742925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daniel-butler-irl", "html_url": "https://github.com/daniel-butler-irl", "followers_url": "https://api.github.com/users/daniel-butler-irl/followers", "following_url": "https://api.github.com/users/daniel-butler-irl/following{/other_user}", "gists_url": "https://api.github.com/users/daniel-butler-irl/gists{/gist_id}", "starred_url": "https://api.github.com/users/daniel-butler-irl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/daniel-butler-irl/subscriptions", "organizations_url": "https://api.github.com/users/daniel-butler-irl/orgs", "repos_url": "https://api.github.com/users/daniel-butler-irl/repos", "events_url": "https://api.github.com/users/daniel-butler-irl/events{/privacy}", "received_events_url": "https://api.github.com/users/daniel-butler-irl/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-10-04T10:08:12
2023-10-04T14:17:47
2023-10-04T14:17:47
CONTRIBUTOR
null
- **Description:** Adds support for custom API URL in the GitHubIssuesLoader. This allows it to be used with Github enterprise instances. <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** Adds support for custom API URL in the GitHubIssuesLoader. This allows it to be used with Github enterprise instances. - **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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11378/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/11378/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11378", "html_url": "https://github.com/langchain-ai/langchain/pull/11378", "diff_url": "https://github.com/langchain-ai/langchain/pull/11378.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11378.patch", "merged_at": "2023-10-04T14:17:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/11377
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11377/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11377/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11377/events
https://github.com/langchain-ai/langchain/pull/11377
1,925,791,540
PR_kwDOIPDwls5b4M05
11,377
a better error description when GCP project is not set
{ "login": "lkuligin", "id": 11026406, "node_id": "MDQ6VXNlcjExMDI2NDA2", "avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lkuligin", "html_url": "https://github.com/lkuligin", "followers_url": "https://api.github.com/users/lkuligin/followers", "following_url": "https://api.github.com/users/lkuligin/following{/other_user}", "gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}", "starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions", "organizations_url": "https://api.github.com/users/lkuligin/orgs", "repos_url": "https://api.github.com/users/lkuligin/repos", "events_url": "https://api.github.com/users/lkuligin/events{/privacy}", "received_events_url": "https://api.github.com/users/lkuligin/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
2
2023-10-04T09:31:48
2023-10-04T15:57:47
2023-10-04T15:57:47
CONTRIBUTOR
null
- **Description:** a little bit better error description - **Issue:** #10879
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11377/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/11377/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11377", "html_url": "https://github.com/langchain-ai/langchain/pull/11377", "diff_url": "https://github.com/langchain-ai/langchain/pull/11377.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11377.patch", "merged_at": "2023-10-04T15:57:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/11376
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11376/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11376/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11376/events
https://github.com/langchain-ai/langchain/issues/11376
1,925,768,723
I_kwDOIPDwls5yyOYT
11,376
ConversationBufferMemory returns empty string (and not a list) when empty, breaking agents with memory ("should be a list of base messages, got")
{ "login": "hemidactylus", "id": 14221764, "node_id": "MDQ6VXNlcjE0MjIxNzY0", "avatar_url": "https://avatars.githubusercontent.com/u/14221764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hemidactylus", "html_url": "https://github.com/hemidactylus", "followers_url": "https://api.github.com/users/hemidactylus/followers", "following_url": "https://api.github.com/users/hemidactylus/following{/other_user}", "gists_url": "https://api.github.com/users/hemidactylus/gists{/gist_id}", "starred_url": "https://api.github.com/users/hemidactylus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hemidactylus/subscriptions", "organizations_url": "https://api.github.com/users/hemidactylus/orgs", "repos_url": "https://api.github.com/users/hemidactylus/repos", "events_url": "https://api.github.com/users/hemidactylus/events{/privacy}", "received_events_url": "https://api.github.com/users/hemidactylus/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" } ]
open
false
null
[]
null
1
2023-10-04T09:18:45
2023-10-04T09:21:02
null
CONTRIBUTOR
null
### System Info LangChain==0.0.306 Python 3.10.12 (Ubuntu Linux 20.04.6) ### Who can help? The `ConversationBufferMemory` returns an empty string instead of an empty list when there's nothing stored, which breaks the expectations of the `MessagesPlaceholder` used within the Conversational REACT agent. Related: https://github.com/langchain-ai/langchain/issues/7365 (where it was commented that changing the loading logic in `ConversationBufferWindowMemory` could break other things). A possible solution that seems safer (in light of the subsequent type-checking code) could be to default empty strings to empty lists in the `format_messages` method of the `MessagesPlaceholder`, i.e.: ``` class MessagesPlaceholder(BaseMessagePromptTemplate): ... def format_messages(self, **kwargs: Any) -> List[BaseMessage]: value = kwargs[self.variable_name] if not value: ## <-- ADDED CODE value = [] ## <-- ADDED CODE if not isinstance(value, list): raise ValueError(...) for v in value: if not isinstance(v, BaseMessage): raise ValueError(...) return value ... ``` ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [X] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction To reproduce the behaviour, make sure you have an OPENAI_API_KEY env var and run the following: ``` # pip install langchain openai import os from langchain.memory import ChatMessageHistory, ConversationBufferMemory from langchain.chat_models import ChatOpenAI from langchain.agents import initialize_agent from langchain.tools import BaseTool conversational_memory = ConversationBufferMemory( memory_key="chat_history", chat_memory=ChatMessageHistory() ) llm = ChatOpenAI( openai_api_key=os.environ['OPENAI_API_KEY'], temperature=0, model_name="gpt-4" ) class MyTool(BaseTool): name = "yell_loud" description = "The tool to yell loud!!!" def _run(self, query, run_manager=None): """Use the tool.""" return 'WAAAAH!' async def _arun(self, query, run_manager=None): """Use the tool asynchronously.""" raise NotImplementedError("no async") agent = initialize_agent( agent="chat-conversational-react-description", tools=[MyTool()], llm=llm, max_iterations=5, verbose=True, memory=conversational_memory, early_stopping_method='generate' ) print(agent.run("Please yell very loud, thank you, and then report the result to me.")) # Will raise: # ValueError: variable chat_history should be a list of base messages, got # at location: # "langchain/prompts/chat.py", line 98, in format_messages ``` ### Expected behavior I would expect the script to not complain when the memory is empty and result in something like the following agent interaction (as I got from the modified `format_messages` tentatively suggested above): ``` $> python agent_script.py > Entering new AgentExecutor chain... '''json { "action": "yell_loud", "action_input": "Please yell very loud, thank you" } ''' Observation: WAAAAH! Thought:'''json { "action": "Final Answer", "action_input": "The response to your last comment was a loud yell, as you requested." } ''' > Finished chain. The response to your last comment was a loud yell, as you requested. ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11376/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/11376/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11375
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11375/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11375/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11375/events
https://github.com/langchain-ai/langchain/issues/11375
1,925,720,401
I_kwDOIPDwls5yyClR
11,375
How to change the system message of qa chain?
{ "login": "chadongho", "id": 124663865, "node_id": "U_kgDOB244OQ", "avatar_url": "https://avatars.githubusercontent.com/u/124663865?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chadongho", "html_url": "https://github.com/chadongho", "followers_url": "https://api.github.com/users/chadongho/followers", "following_url": "https://api.github.com/users/chadongho/following{/other_user}", "gists_url": "https://api.github.com/users/chadongho/gists{/gist_id}", "starred_url": "https://api.github.com/users/chadongho/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chadongho/subscriptions", "organizations_url": "https://api.github.com/users/chadongho/orgs", "repos_url": "https://api.github.com/users/chadongho/repos", "events_url": "https://api.github.com/users/chadongho/events{/privacy}", "received_events_url": "https://api.github.com/users/chadongho/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
1
2023-10-04T08:53:33
2023-10-04T09:03:54
null
NONE
null
### Issue you'd like to raise. I have applied RetrievalQA's chain_type to map_reduce in my application and would like to customize its system message. ### Suggestion: There is a way to modify the map_reduce_prompt code in the question answering, but I would like to know how to change it to the argument value of RetrievalQA.from_chain_type.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11375/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/11375/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11374
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11374/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11374/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11374/events
https://github.com/langchain-ai/langchain/pull/11374
1,925,542,037
PR_kwDOIPDwls5b3XMZ
11,374
Fix ConversationSummaryBufferMemory to flush old interactions with th…
{ "login": "Yeonji-Lim", "id": 57888020, "node_id": "MDQ6VXNlcjU3ODg4MDIw", "avatar_url": "https://avatars.githubusercontent.com/u/57888020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yeonji-Lim", "html_url": "https://github.com/Yeonji-Lim", "followers_url": "https://api.github.com/users/Yeonji-Lim/followers", "following_url": "https://api.github.com/users/Yeonji-Lim/following{/other_user}", "gists_url": "https://api.github.com/users/Yeonji-Lim/gists{/gist_id}", "starred_url": "https://api.github.com/users/Yeonji-Lim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Yeonji-Lim/subscriptions", "organizations_url": "https://api.github.com/users/Yeonji-Lim/orgs", "repos_url": "https://api.github.com/users/Yeonji-Lim/repos", "events_url": "https://api.github.com/users/Yeonji-Lim/events{/privacy}", "received_events_url": "https://api.github.com/users/Yeonji-Lim/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" } ]
open
false
null
[]
null
2
2023-10-04T07:05:33
2023-10-09T00:51:21
null
CONTRIBUTOR
null
…e maximum tokens of the buffer - **Issue:** #3072 - **Relate to:** #3345 - **Description:** I've found same issue in my project with langchain and also read the related PR. However, I thought that instead of actually pruning the messages, just getting the small size buffer is more appropriate. So, this is what I've done. <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11374/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/11374/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11374", "html_url": "https://github.com/langchain-ai/langchain/pull/11374", "diff_url": "https://github.com/langchain-ai/langchain/pull/11374.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11374.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11373
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11373/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11373/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11373/events
https://github.com/langchain-ai/langchain/issues/11373
1,925,448,887
I_kwDOIPDwls5yxAS3
11,373
Issue: Open AI embedding dose not returning results for some times
{ "login": "nuwanwp", "id": 5194602, "node_id": "MDQ6VXNlcjUxOTQ2MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/5194602?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nuwanwp", "html_url": "https://github.com/nuwanwp", "followers_url": "https://api.github.com/users/nuwanwp/followers", "following_url": "https://api.github.com/users/nuwanwp/following{/other_user}", "gists_url": "https://api.github.com/users/nuwanwp/gists{/gist_id}", "starred_url": "https://api.github.com/users/nuwanwp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nuwanwp/subscriptions", "organizations_url": "https://api.github.com/users/nuwanwp/orgs", "repos_url": "https://api.github.com/users/nuwanwp/repos", "events_url": "https://api.github.com/users/nuwanwp/events{/privacy}", "received_events_url": "https://api.github.com/users/nuwanwp/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" } ]
open
false
null
[]
null
2
2023-10-04T05:46:24
2023-10-04T19:54:57
null
NONE
null
### Issue you'd like to raise. I am having python REST API which calls to Open AI using following code for embedding. `openai.Embedding.create(input=text, engine='text-embedding-ada-002')['data'][0]['embedding']` I am having text length below the 8191 (max token size for text-embedding-ada-002). When I am calling it, some times it doesn't return any results or exceptions. (execution get blocks after the calling this. But it is giving result on 2nd or 3rd attempts for same input text. It is happening time to time and not consistence. Kindly help me to resolve this issue. Thanks Nuwan ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11373/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/11373/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11372
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11372/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11372/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11372/events
https://github.com/langchain-ai/langchain/pull/11372
1,925,367,362
PR_kwDOIPDwls5b2yEg
11,372
rupd
{ "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-10-04T04:08:23
2023-11-15T23:33:31
2023-11-15T23:33:31
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11372/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/11372/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11372", "html_url": "https://github.com/langchain-ai/langchain/pull/11372", "diff_url": "https://github.com/langchain-ai/langchain/pull/11372.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11372.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11371
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11371/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11371/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11371/events
https://github.com/langchain-ai/langchain/issues/11371
1,925,341,660
I_kwDOIPDwls5ywmHc
11,371
RAG - TypeError: unhashable type: 'list'
{ "login": "leslliesayrus", "id": 105139455, "node_id": "U_kgDOBkRM_w", "avatar_url": "https://avatars.githubusercontent.com/u/105139455?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leslliesayrus", "html_url": "https://github.com/leslliesayrus", "followers_url": "https://api.github.com/users/leslliesayrus/followers", "following_url": "https://api.github.com/users/leslliesayrus/following{/other_user}", "gists_url": "https://api.github.com/users/leslliesayrus/gists{/gist_id}", "starred_url": "https://api.github.com/users/leslliesayrus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leslliesayrus/subscriptions", "organizations_url": "https://api.github.com/users/leslliesayrus/orgs", "repos_url": "https://api.github.com/users/leslliesayrus/repos", "events_url": "https://api.github.com/users/leslliesayrus/events{/privacy}", "received_events_url": "https://api.github.com/users/leslliesayrus/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" }, { "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-10-04T03:33:06
2023-10-04T15:35:46
2023-10-04T15:14:32
NONE
null
### System Info I running code in Google Colab: LangChain version: 0.0.306 Python 3.10.12 Transformers library 4.34.0 ### Who can help? _No response_ ### 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 - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Hello! I have encountered the following error when trying to develop HuggingFace question answering models: tokenizer = AutoTokenizer.from_pretrained("/content/flan-t5-large") model = AutoModelForSeq2SeqLM.from_pretrained("/content/flan-t5-large") pipe = pipeline("text2text-generation", model=model, tokenizer=tokenizer) llm = HuggingFacePipeline( pipeline = pipeline, model_kwargs={"temperature": 0, "max_length": 512}, ) chain = load_qa_chain(llm, chain_type="stuff") query = "My question?" docs = db.similarity_search(query) chain.run(input_documents=docs, question=query) But the output is: TypeError Traceback (most recent call last) [<ipython-input-34-226234bd6dea>](https://localhost:8080/#) in <cell line: 1>() ----> 1 chain.run(input_documents=docs, question=query) 15 frames [/usr/local/lib/python3.10/dist-packages/transformers/pipelines/__init__.py](https://localhost:8080/#) in pipeline(task, model, config, tokenizer, feature_extractor, image_processor, framework, revision, use_fast, token, device, device_map, torch_dtype, trust_remote_code, model_kwargs, pipeline_class, **kwargs) 773 774 # Retrieve the task --> 775 if task in custom_tasks: 776 normalized_task = task 777 targeted_task, task_options = clean_custom_task(custom_tasks[task]) TypeError: unhashable type: 'list' ### Expected behavior I just wanna find solution, I didn't find nothing about this in the Google.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11371/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/11371/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11370
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11370/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11370/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11370/events
https://github.com/langchain-ai/langchain/issues/11370
1,925,333,897
I_kwDOIPDwls5ywkOJ
11,370
Issue: Limit Memory Access on LangChain Bot
{ "login": "axen2u", "id": 68794951, "node_id": "MDQ6VXNlcjY4Nzk0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68794951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axen2u", "html_url": "https://github.com/axen2u", "followers_url": "https://api.github.com/users/axen2u/followers", "following_url": "https://api.github.com/users/axen2u/following{/other_user}", "gists_url": "https://api.github.com/users/axen2u/gists{/gist_id}", "starred_url": "https://api.github.com/users/axen2u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axen2u/subscriptions", "organizations_url": "https://api.github.com/users/axen2u/orgs", "repos_url": "https://api.github.com/users/axen2u/repos", "events_url": "https://api.github.com/users/axen2u/events{/privacy}", "received_events_url": "https://api.github.com/users/axen2u/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": 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
1
2023-10-04T03:27:22
2023-10-04T03:35:38
null
NONE
null
### Issue you'd like to raise. I'm creating a langchain chatbot (Conversationl-ReACT-description) with zep long term memory and that bot has access to real-time data. How do I prevent use the memory when same query asked again few minutes later? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11370/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/11370/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11369
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11369/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11369/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11369/events
https://github.com/langchain-ai/langchain/pull/11369
1,925,101,328
PR_kwDOIPDwls5b14_3
11,369
send single batch of generations
{ "login": "agola11", "id": 9536492, "node_id": "MDQ6VXNlcjk1MzY0OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agola11", "html_url": "https://github.com/agola11", "followers_url": "https://api.github.com/users/agola11/followers", "following_url": "https://api.github.com/users/agola11/following{/other_user}", "gists_url": "https://api.github.com/users/agola11/gists{/gist_id}", "starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agola11/subscriptions", "organizations_url": "https://api.github.com/users/agola11/orgs", "repos_url": "https://api.github.com/users/agola11/repos", "events_url": "https://api.github.com/users/agola11/events{/privacy}", "received_events_url": "https://api.github.com/users/agola11/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-10-03T23:27:16
2023-10-03T23:27:24
null
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11369/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/11369/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11369", "html_url": "https://github.com/langchain-ai/langchain/pull/11369", "diff_url": "https://github.com/langchain-ai/langchain/pull/11369.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11369.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11368
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11368/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11368/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11368/events
https://github.com/langchain-ai/langchain/pull/11368
1,925,056,404
PR_kwDOIPDwls5b1vT2
11,368
Wfh/eval max concurrency
{ "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-10-03T22:38:48
2023-10-04T03:18:16
2023-10-04T03:18:15
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11368/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/11368/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11368", "html_url": "https://github.com/langchain-ai/langchain/pull/11368", "diff_url": "https://github.com/langchain-ai/langchain/pull/11368.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11368.patch", "merged_at": "2023-10-04T03:18:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/11367
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11367/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11367/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11367/events
https://github.com/langchain-ai/langchain/pull/11367
1,925,032,539
PR_kwDOIPDwls5b1qGK
11,367
add default for async
{ "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" }, { "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-10-03T22:15:17
2023-10-04T00:28:15
2023-10-04T00:28:14
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11367/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/11367/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11367", "html_url": "https://github.com/langchain-ai/langchain/pull/11367", "diff_url": "https://github.com/langchain-ai/langchain/pull/11367.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11367.patch", "merged_at": "2023-10-04T00:28:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/11366
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11366/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11366/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11366/events
https://github.com/langchain-ai/langchain/pull/11366
1,925,025,187
PR_kwDOIPDwls5b1ofw
11,366
Updates to Vectara Implementation
{ "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": 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": 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-10-03T22:07:35
2023-10-03T22:34:39
2023-10-03T22:34:39
CONTRIBUTOR
null
Replace this entire comment with: - **Description:** updates to documentation and API headers - **Tag maintainer:** @baskarya - **Twitter handle:** @ofermend
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11366/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/11366/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11366", "html_url": "https://github.com/langchain-ai/langchain/pull/11366", "diff_url": "https://github.com/langchain-ai/langchain/pull/11366.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11366.patch", "merged_at": "2023-10-03T22:34:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/11365
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11365/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11365/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11365/events
https://github.com/langchain-ai/langchain/issues/11365
1,924,996,244
I_kwDOIPDwls5yvRyU
11,365
Issue: differences between tool and llm
{ "login": "ZyeG", "id": 97558871, "node_id": "U_kgDOBdChVw", "avatar_url": "https://avatars.githubusercontent.com/u/97558871?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZyeG", "html_url": "https://github.com/ZyeG", "followers_url": "https://api.github.com/users/ZyeG/followers", "following_url": "https://api.github.com/users/ZyeG/following{/other_user}", "gists_url": "https://api.github.com/users/ZyeG/gists{/gist_id}", "starred_url": "https://api.github.com/users/ZyeG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZyeG/subscriptions", "organizations_url": "https://api.github.com/users/ZyeG/orgs", "repos_url": "https://api.github.com/users/ZyeG/repos", "events_url": "https://api.github.com/users/ZyeG/events{/privacy}", "received_events_url": "https://api.github.com/users/ZyeG/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": 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
1
2023-10-03T21:42:07
2023-10-04T01:55:45
null
CONTRIBUTOR
null
### Issue you'd like to raise. Hi, I want to clarify some questions about tool and llm usage. If an agent is initialized with multiple llm and tools, 1. how does the agent choose which llm or tool to use to answer the prompt? 2. How is llm different from tools? Can you give some examples of each category? 3. Can the agent use multiple tools/llm? If the agent can use multiple tools, what happen if the output generated by such tools/llm conflict with each other? In that case, which result will be returned to user? for example, in the code beloew (cited from langchain doc), the agent is initialized with both 'llm_chain=llm_chain' (where llm_chain is OpenAI)and 'tools=tools' (where tool is google search engine). Which one is used to generate the result? ```search = GoogleSearchAPIWrapper() tools = [ Tool( name="Search", func=search.run, description="useful for when you need to answer questions about current events", ) ] prefix = """Have a conversation with a human, answering the following questions as best you can. You have access to the following tools:""" suffix = """Begin!" {chat_history} Question: {input} {agent_scratchpad}""" prompt = ZeroShotAgent.create_prompt( tools, prefix=prefix, suffix=suffix, input_variables=["input", "chat_history", "agent_scratchpad"], ) memory = ConversationBufferMemory(memory_key="chat_history") llm_chain = LLMChain(llm=OpenAI(temperature=0), prompt=prompt) agent = ZeroShotAgent(llm_chain=llm_chain, tools=tools, verbose=True) agent_chain = AgentExecutor.from_agent_and_tools( agent=agent, tools=tools, verbose=True, memory=memory ) agent_chain.run(input="How many people live in canada?") agent_chain.run(input="what is their national anthem called?")```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11365/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/11365/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11364
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11364/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11364/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11364/events
https://github.com/langchain-ai/langchain/pull/11364
1,924,944,707
PR_kwDOIPDwls5b1Ww4
11,364
chore: add kotlin code splitter
{ "login": "fynnfluegge", "id": 16321871, "node_id": "MDQ6VXNlcjE2MzIxODcx", "avatar_url": "https://avatars.githubusercontent.com/u/16321871?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fynnfluegge", "html_url": "https://github.com/fynnfluegge", "followers_url": "https://api.github.com/users/fynnfluegge/followers", "following_url": "https://api.github.com/users/fynnfluegge/following{/other_user}", "gists_url": "https://api.github.com/users/fynnfluegge/gists{/gist_id}", "starred_url": "https://api.github.com/users/fynnfluegge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fynnfluegge/subscriptions", "organizations_url": "https://api.github.com/users/fynnfluegge/orgs", "repos_url": "https://api.github.com/users/fynnfluegge/repos", "events_url": "https://api.github.com/users/fynnfluegge/events{/privacy}", "received_events_url": "https://api.github.com/users/fynnfluegge/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" } ]
closed
false
{ "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 }
[ { "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 } ]
null
6
2023-10-03T21:03:18
2023-10-03T22:35:37
2023-10-03T22:35:37
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> - **Description:** Adds Kotlin language to `TextSplitter`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11364/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/11364/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11364", "html_url": "https://github.com/langchain-ai/langchain/pull/11364", "diff_url": "https://github.com/langchain-ai/langchain/pull/11364.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11364.patch", "merged_at": "2023-10-03T22:35:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/11363
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11363/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11363/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11363/events
https://github.com/langchain-ai/langchain/issues/11363
1,924,939,090
I_kwDOIPDwls5yvD1S
11,363
Does langchain index the speaker notes in powerpoint?
{ "login": "rishimalhotra2", "id": 143765342, "node_id": "U_kgDOCJGvXg", "avatar_url": "https://avatars.githubusercontent.com/u/143765342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rishimalhotra2", "html_url": "https://github.com/rishimalhotra2", "followers_url": "https://api.github.com/users/rishimalhotra2/followers", "following_url": "https://api.github.com/users/rishimalhotra2/following{/other_user}", "gists_url": "https://api.github.com/users/rishimalhotra2/gists{/gist_id}", "starred_url": "https://api.github.com/users/rishimalhotra2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rishimalhotra2/subscriptions", "organizations_url": "https://api.github.com/users/rishimalhotra2/orgs", "repos_url": "https://api.github.com/users/rishimalhotra2/repos", "events_url": "https://api.github.com/users/rishimalhotra2/events{/privacy}", "received_events_url": "https://api.github.com/users/rishimalhotra2/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": 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
5
2023-10-03T21:00:18
2023-10-04T20:53:13
null
NONE
null
### Issue you'd like to raise. When I use directory loader, does langchain index the speaker notes in powerpoint? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11363/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/11363/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11362
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11362/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11362/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11362/events
https://github.com/langchain-ai/langchain/pull/11362
1,924,937,380
PR_kwDOIPDwls5b1VHX
11,362
add getattr case for llms.type_to_cls_dict
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/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
1
2023-10-03T20:58:57
2023-10-03T21:34:32
2023-10-03T21:34:31
COLLABORATOR
null
For external libraries that depend on `type_to_cls_dict`, adds a workaround to continue using the old format. Recommend people use `get_type_to_cls_dict()` instead and only resolve the imports when they're used.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11362/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/11362/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11362", "html_url": "https://github.com/langchain-ai/langchain/pull/11362", "diff_url": "https://github.com/langchain-ai/langchain/pull/11362.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11362.patch", "merged_at": "2023-10-03T21:34:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/11361
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11361/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11361/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11361/events
https://github.com/langchain-ai/langchain/pull/11361
1,924,889,604
PR_kwDOIPDwls5b1KpT
11,361
Solves unicode [codec can't decode byte] traceback error.
{ "login": "hackedpassword", "id": 119975434, "node_id": "U_kgDOByauCg", "avatar_url": "https://avatars.githubusercontent.com/u/119975434?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hackedpassword", "html_url": "https://github.com/hackedpassword", "followers_url": "https://api.github.com/users/hackedpassword/followers", "following_url": "https://api.github.com/users/hackedpassword/following{/other_user}", "gists_url": "https://api.github.com/users/hackedpassword/gists{/gist_id}", "starred_url": "https://api.github.com/users/hackedpassword/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hackedpassword/subscriptions", "organizations_url": "https://api.github.com/users/hackedpassword/orgs", "repos_url": "https://api.github.com/users/hackedpassword/repos", "events_url": "https://api.github.com/users/hackedpassword/events{/privacy}", "received_events_url": "https://api.github.com/users/hackedpassword/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
{ "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 }
[ { "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 } ]
null
2
2023-10-03T20:27:13
2023-10-12T15:53:22
2023-10-12T15:53:21
NONE
null
Following up on #11359 - **Description:** a description of the change, privateGPT/ingest.py crashes when parsing a txt file with unexpected unicode. - **Issue:** the issue # it fixes (if applicable), Problem solved: Traceback (most recent call last): File "C:\Program Files\Python3\Lib\site-packages\langchain\document_loaders\text.py", line 41, in load text = f.read() ^^^^^^^^ File "", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 549: invalid start byte - **Dependencies:** any dependencies required for this change, none - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), No idea. - **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! @DigitalVisor
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11361/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/11361/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11361", "html_url": "https://github.com/langchain-ai/langchain/pull/11361", "diff_url": "https://github.com/langchain-ai/langchain/pull/11361.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11361.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11360
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11360/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11360/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11360/events
https://github.com/langchain-ai/langchain/pull/11360
1,924,873,048
PR_kwDOIPDwls5b1HHo
11,360
added interactive login for azure cognitive search vector store
{ "login": "adrienohana", "id": 61504470, "node_id": "MDQ6VXNlcjYxNTA0NDcw", "avatar_url": "https://avatars.githubusercontent.com/u/61504470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adrienohana", "html_url": "https://github.com/adrienohana", "followers_url": "https://api.github.com/users/adrienohana/followers", "following_url": "https://api.github.com/users/adrienohana/following{/other_user}", "gists_url": "https://api.github.com/users/adrienohana/gists{/gist_id}", "starred_url": "https://api.github.com/users/adrienohana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrienohana/subscriptions", "organizations_url": "https://api.github.com/users/adrienohana/orgs", "repos_url": "https://api.github.com/users/adrienohana/repos", "events_url": "https://api.github.com/users/adrienohana/events{/privacy}", "received_events_url": "https://api.github.com/users/adrienohana/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
3
2023-10-03T20:14:32
2023-10-05T23:01:51
2023-10-05T16:20:18
CONTRIBUTOR
null
**Description:** Previously if the access to Azure Cognitive Search was not done via an API key, the default credential was called which doesn't allow to use an interactive login. I simply added the option to use "INTERACTIVE" as a key name, and this will launch a login window upon initialisation of the AzureSearch object.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11360/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/11360/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11360", "html_url": "https://github.com/langchain-ai/langchain/pull/11360", "diff_url": "https://github.com/langchain-ai/langchain/pull/11360.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11360.patch", "merged_at": "2023-10-05T16:20:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/11359
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11359/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11359/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11359/events
https://github.com/langchain-ai/langchain/issues/11359
1,924,832,590
I_kwDOIPDwls5yup1O
11,359
Issue: Fixed unicode decode byte error
{ "login": "hackedpassword", "id": 119975434, "node_id": "U_kgDOByauCg", "avatar_url": "https://avatars.githubusercontent.com/u/119975434?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hackedpassword", "html_url": "https://github.com/hackedpassword", "followers_url": "https://api.github.com/users/hackedpassword/followers", "following_url": "https://api.github.com/users/hackedpassword/following{/other_user}", "gists_url": "https://api.github.com/users/hackedpassword/gists{/gist_id}", "starred_url": "https://api.github.com/users/hackedpassword/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hackedpassword/subscriptions", "organizations_url": "https://api.github.com/users/hackedpassword/orgs", "repos_url": "https://api.github.com/users/hackedpassword/repos", "events_url": "https://api.github.com/users/hackedpassword/events{/privacy}", "received_events_url": "https://api.github.com/users/hackedpassword/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" }, { "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-10-03T19:47:13
2023-10-03T20:31:47
null
NONE
null
### Issue you'd like to raise. Trying to submit a code update. This would be a first. Help a non software eng out. :) Here's a manual diff of the intended change: ``` langchain\libs\langchain\langchain\document_loaders\text.py <<[41] with open(self.file_path, encoding=self.encoding) as f: >>[41] with open(self.file_path, encoding=self.encoding, errors='replace') as f: ``` The COMMIT_EDITMSG file: """ Solves unicode [codec can't decode byte] traceback error: Traceback (most recent call last): File "C:\Program Files\Python3\Lib\site-packages\langchain\document_loaders\text.py", line 41, in load text = f.read() ^^^^^^^^ File "<frozen codecs>", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 549: invalid start byte """ The general flow used: PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> notepad .\text.py PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> git add text.py PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> git checkout -b unicode_replace_fix Switched to a new branch 'unicode_replace_fix' PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> git commit -m "Solves unicode [codec can't decode byte] traceback error." ... // had to update user.name/email PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> git commit --amend --reset-author hint: Waiting for your editor to close the file... unix2dos: converting file C:/Dev/Github/langchain/.git/COMMIT_EDITMSG to DOS format... dos2unix: converting file C:/Dev/Github/langchain/.git/COMMIT_EDITMSG to Unix format... [unicode_replace_fix 09c9cb77e] Solves unicode [codec can't decode byte] traceback error: 1 file changed, 1 insertion(+), 1 deletion(-) // below, I got a github auth popup, went through, succeeded - then denied? PS C:\dev\github\langchain\libs\langchain\langchain\document_loaders> git push origin unicode_replace_fix info: please complete authentication in your browser... remote: Permission to langchain-ai/langchain.git denied to hackedpassword. fatal: unable to access 'https://github.com/langchain-ai/langchain/': The requested URL returned error: 403 // denied but no diff? PS C:\dev\github\langchain> git diff HEAD PS C:\dev\github\langchain> git status On branch unicode_replace_fix nothing to commit, working tree clean PS C:\dev\github\langchain> git diff PS C:\dev\github\langchain> Maybe I'm up against a repo push permission issue? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11359/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/11359/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11358
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11358/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11358/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11358/events
https://github.com/langchain-ai/langchain/issues/11358
1,924,827,161
I_kwDOIPDwls5yuogZ
11,358
BedrockChat Error
{ "login": "hakohli", "id": 146884181, "node_id": "U_kgDOCMFGVQ", "avatar_url": "https://avatars.githubusercontent.com/u/146884181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hakohli", "html_url": "https://github.com/hakohli", "followers_url": "https://api.github.com/users/hakohli/followers", "following_url": "https://api.github.com/users/hakohli/following{/other_user}", "gists_url": "https://api.github.com/users/hakohli/gists{/gist_id}", "starred_url": "https://api.github.com/users/hakohli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hakohli/subscriptions", "organizations_url": "https://api.github.com/users/hakohli/orgs", "repos_url": "https://api.github.com/users/hakohli/repos", "events_url": "https://api.github.com/users/hakohli/events{/privacy}", "received_events_url": "https://api.github.com/users/hakohli/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
1
2023-10-03T19:43:11
2023-10-03T19:49:32
null
NONE
null
### Feature request Chatbot using prompt template (Langchain) gives proper response to first prompt "Hi there!" but gives below error to second prompt "Give me a few tips on how to start a new garden." _``` ValueError: Error: Prompt must alternate between ' Human:' and ' Assistant:'. ### Motivation Yes its a problem being raised by my customer who is blocked currently ### Your contribution NA ![ErrorCapture](https://github.com/langchain-ai/langchain/assets/146884181/818ac5bf-1344-4d29-aa62-8da194cfd8a9) [Error-Test.ipynb.txt](https://github.com/langchain-ai/langchain/files/12796468/Error-Test.ipynb.txt)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11358/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/11358/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11357
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11357/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11357/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11357/events
https://github.com/langchain-ai/langchain/pull/11357
1,924,727,880
PR_kwDOIPDwls5b0nRx
11,357
Create ChatEverlyAI
{ "login": "david-huge", "id": 127131037, "node_id": "U_kgDOB5PdnQ", "avatar_url": "https://avatars.githubusercontent.com/u/127131037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/david-huge", "html_url": "https://github.com/david-huge", "followers_url": "https://api.github.com/users/david-huge/followers", "following_url": "https://api.github.com/users/david-huge/following{/other_user}", "gists_url": "https://api.github.com/users/david-huge/gists{/gist_id}", "starred_url": "https://api.github.com/users/david-huge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/david-huge/subscriptions", "organizations_url": "https://api.github.com/users/david-huge/orgs", "repos_url": "https://api.github.com/users/david-huge/repos", "events_url": "https://api.github.com/users/david-huge/events{/privacy}", "received_events_url": "https://api.github.com/users/david-huge/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
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
5
2023-10-03T18:48:28
2023-10-13T19:25:12
2023-10-13T19:25:12
CONTRIBUTOR
null
- Description: Adds the ChatEverlyAI class with llama-2 7b on [EverlyAI Hosted Endpoints](https://everlyai.xyz/) - It inherits from ChatOpenAI and requires openai (probably unnecessary but it made for a quick and easy implementation)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11357/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/11357/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11357", "html_url": "https://github.com/langchain-ai/langchain/pull/11357", "diff_url": "https://github.com/langchain-ai/langchain/pull/11357.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11357.patch", "merged_at": "2023-10-13T19:25:12" }
https://api.github.com/repos/langchain-ai/langchain/issues/11356
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11356/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11356/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11356/events
https://github.com/langchain-ai/langchain/pull/11356
1,924,707,050
PR_kwDOIPDwls5b0ixz
11,356
Use parameterized queries to select SQL schemas.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-03T18:33:59
2023-10-04T04:43:31
2023-10-04T04:43:30
COLLABORATOR
null
This switches to parameterized queries for selecting schemas for all databases, except DuckDB for which I wasn't able to figure out how to get parameterized queries to work: https://github.com/Mause/duckdb_engine/issues/796 For all the other databases, I followed the parameterized query approach described by their docs.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11356/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/11356/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11356", "html_url": "https://github.com/langchain-ai/langchain/pull/11356", "diff_url": "https://github.com/langchain-ai/langchain/pull/11356.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11356.patch", "merged_at": "2023-10-04T04:43:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/11355
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11355/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11355/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11355/events
https://github.com/langchain-ai/langchain/pull/11355
1,924,694,425
PR_kwDOIPDwls5b0gBe
11,355
Tweak type hints to match dependency's behavior.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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": 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-10-03T18:25:31
2023-10-05T02:36:59
2023-10-05T02:36:58
COLLABORATOR
null
Needs #11353 to merge first, and a new `langchain` to be published with those changes.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11355/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/11355/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11355", "html_url": "https://github.com/langchain-ai/langchain/pull/11355", "diff_url": "https://github.com/langchain-ai/langchain/pull/11355.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11355.patch", "merged_at": "2023-10-05T02:36:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/11353
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11353/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11353/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11353/events
https://github.com/langchain-ai/langchain/pull/11353
1,924,680,484
PR_kwDOIPDwls5b0c9e
11,353
Improve type hints and interface for SQL execution functionality.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-03T18:16:34
2023-10-03T19:19:10
2023-10-03T19:19:09
COLLABORATOR
null
The previous API of the `_execute()` function had a few rough edges that this PR addresses: - The `fetch` argument was type-hinted as being able to take any string, but any string other than `"all"` or `"one"` would `raise ValueError`. The new type hints explicitly declare that only those values are supported. - The return type was type-hinted as `Sequence` but using `fetch = "one"` would actually return a single result item. This was incorrectly suppressed using `# type: ignore`. We now always return a list. - Using `fetch = "one"` would return a single item if data was found, or an empty *list* if no data was found. This was confusing, and we now always return a list to simplify. - The return type was `Sequence[Any]` which was a bit difficult to use since it wasn't clear what one could do with the returned rows. I'm making the new type `Dict[str, Any]` that corresponds to the column names and their values in the query. I've updated the use of this method elsewhere in the file to match the new behavior.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11353/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/11353/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11353", "html_url": "https://github.com/langchain-ai/langchain/pull/11353", "diff_url": "https://github.com/langchain-ai/langchain/pull/11353.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11353.patch", "merged_at": "2023-10-03T19:19:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/11350
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11350/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11350/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11350/events
https://github.com/langchain-ai/langchain/pull/11350
1,924,648,216
PR_kwDOIPDwls5b0WFr
11,350
Use an enum for configurable_alternatives to make the generated json schema nicer
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-03T17:54:22
2023-10-04T15:32:43
2023-10-04T15:32:42
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11350/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/11350/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11350", "html_url": "https://github.com/langchain-ai/langchain/pull/11350", "diff_url": "https://github.com/langchain-ai/langchain/pull/11350.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11350.patch", "merged_at": "2023-10-04T15:32:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/11349
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11349/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11349/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11349/events
https://github.com/langchain-ai/langchain/pull/11349
1,924,549,899
PR_kwDOIPDwls5b0AzP
11,349
Make a copy of external data instead of mutating another object's attributes.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-03T16:50:51
2023-10-03T19:27:53
2023-10-03T19:27:52
COLLABORATOR
null
Fix for a bug surfaced as part of #11339. `mypy` caught this since the types didn't match up.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11349/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/11349/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11349", "html_url": "https://github.com/langchain-ai/langchain/pull/11349", "diff_url": "https://github.com/langchain-ai/langchain/pull/11349.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11349.patch", "merged_at": "2023-10-03T19:27:52" }
https://api.github.com/repos/langchain-ai/langchain/issues/11348
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11348/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11348/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11348/events
https://github.com/langchain-ai/langchain/pull/11348
1,924,522,736
PR_kwDOIPDwls5bz7Co
11,348
Add amazon_bedrock_chat to get_type_to_cls_dict
{ "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": 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
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
5
2023-10-03T16:33:10
2023-10-03T21:42:43
2023-10-03T21:42:42
NONE
null
**Description:** Add `BedrockChat` to `get_type_to_cls_dict` map
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11348/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/11348/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11348", "html_url": "https://github.com/langchain-ai/langchain/pull/11348", "diff_url": "https://github.com/langchain-ai/langchain/pull/11348.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11348.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11347
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11347/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11347/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11347/events
https://github.com/langchain-ai/langchain/issues/11347
1,924,512,627
I_kwDOIPDwls5ytbtz
11,347
Conversational Chain Error 429
{ "login": "harchyboy", "id": 3007023, "node_id": "MDQ6VXNlcjMwMDcwMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3007023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harchyboy", "html_url": "https://github.com/harchyboy", "followers_url": "https://api.github.com/users/harchyboy/followers", "following_url": "https://api.github.com/users/harchyboy/following{/other_user}", "gists_url": "https://api.github.com/users/harchyboy/gists{/gist_id}", "starred_url": "https://api.github.com/users/harchyboy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harchyboy/subscriptions", "organizations_url": "https://api.github.com/users/harchyboy/orgs", "repos_url": "https://api.github.com/users/harchyboy/repos", "events_url": "https://api.github.com/users/harchyboy/events{/privacy}", "received_events_url": "https://api.github.com/users/harchyboy/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
3
2023-10-03T16:28:32
2023-10-04T02:01:02
null
NONE
null
### System Info Today, all of a sudden I'm getting a error status code 429 using the Conversation chain. Nothing has changed, expect the day I've run the script. Any ideas? It works with the normal LLM chain, so it must be to do with the Conversation Chain not working or the memories. Using Flowise. Chrome @hwchase17 @agola11 ### 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 Request failed with status code 429 and body {"error":{"message":"Rate limit reached for 10KTPM-200RPM in organization org-ByeURhCRRujcKf7u7QrlrudH on tokens per min. Limit: 10000 / min. Please try again in 6ms. Contact us through our help center at help.openai.com if you continue to have issues.","type":"tokens","param":null,"code":"rate_limit_exceeded"}} ### Expected behavior I expect the LLM chain to write the content.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11347/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/11347/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11346
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11346/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11346/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11346/events
https://github.com/langchain-ai/langchain/pull/11346
1,924,454,276
PR_kwDOIPDwls5bzsK_
11,346
fix get_tool_return
{ "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": 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-10-03T15:58:42
2023-10-03T16:01:07
2023-10-03T16:01:06
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11346/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/11346/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11346", "html_url": "https://github.com/langchain-ai/langchain/pull/11346", "diff_url": "https://github.com/langchain-ai/langchain/pull/11346.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11346.patch", "merged_at": "2023-10-03T16:01:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/11344
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11344/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11344/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11344/events
https://github.com/langchain-ai/langchain/pull/11344
1,924,378,495
PR_kwDOIPDwls5bzb2d
11,344
Upgrade CI workflows to poetry 1.6.1.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-03T15:18:29
2023-10-03T23:23:55
2023-10-03T23:23:54
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11344/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/11344/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11344", "html_url": "https://github.com/langchain-ai/langchain/pull/11344", "diff_url": "https://github.com/langchain-ai/langchain/pull/11344.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11344.patch", "merged_at": "2023-10-03T23:23:54" }
https://api.github.com/repos/langchain-ai/langchain/issues/11343
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11343/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11343/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11343/events
https://github.com/langchain-ai/langchain/pull/11343
1,924,373,230
PR_kwDOIPDwls5bzarW
11,343
Upgrade root poetry dependencies and upgrade to poetry 1.6.1.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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
2
2023-10-03T15:16:07
2023-10-03T23:23:37
2023-10-03T23:23:36
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11343/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/11343/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11343", "html_url": "https://github.com/langchain-ai/langchain/pull/11343", "diff_url": "https://github.com/langchain-ai/langchain/pull/11343.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11343.patch", "merged_at": "2023-10-03T23:23:36" }
https://api.github.com/repos/langchain-ai/langchain/issues/11342
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11342/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11342/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11342/events
https://github.com/langchain-ai/langchain/pull/11342
1,924,359,668
PR_kwDOIPDwls5bzXvu
11,342
better error message on parsing errors
{ "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": 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
1
2023-10-03T15:08:51
2023-10-03T18:37:42
2023-10-03T16:00:17
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11342/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/11342/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11342", "html_url": "https://github.com/langchain-ai/langchain/pull/11342", "diff_url": "https://github.com/langchain-ai/langchain/pull/11342.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11342.patch", "merged_at": "2023-10-03T16:00:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/11341
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11341/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11341/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11341/events
https://github.com/langchain-ai/langchain/issues/11341
1,924,354,324
I_kwDOIPDwls5ys1EU
11,341
Missing 1 required positional argument for function that has `self` argument.
{ "login": "SongpolR", "id": 29683227, "node_id": "MDQ6VXNlcjI5NjgzMjI3", "avatar_url": "https://avatars.githubusercontent.com/u/29683227?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SongpolR", "html_url": "https://github.com/SongpolR", "followers_url": "https://api.github.com/users/SongpolR/followers", "following_url": "https://api.github.com/users/SongpolR/following{/other_user}", "gists_url": "https://api.github.com/users/SongpolR/gists{/gist_id}", "starred_url": "https://api.github.com/users/SongpolR/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SongpolR/subscriptions", "organizations_url": "https://api.github.com/users/SongpolR/orgs", "repos_url": "https://api.github.com/users/SongpolR/repos", "events_url": "https://api.github.com/users/SongpolR/events{/privacy}", "received_events_url": "https://api.github.com/users/SongpolR/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
5
2023-10-03T15:06:00
2023-10-04T02:37:08
2023-10-04T02:27:13
NONE
null
### System Info langchain==0.0.286 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ``` python def add_product(self, input: str): print(f"🟢 Add product {input}") ``` ``` python tools = [ Tool( name="AddProduct", func=add_product, description=""" Add product to order. Input of this tool must be a single string JSON format: For example: '{{"name":"Nike Pegasus 40"}}' """ ) ] ``` ``` python agent = initialize_agent( tools=tools, llm=__gpt4, agent=AgentType.OPENAI_FUNCTIONS, verbose=True, prompt=prompt ) ``` ### Expected behavior Error: ``` TypeError: add_product() missing 1 required positional argument: 'input' ``` Expected: ``` Function `add_product` called with correct input. ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11341/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/11341/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11340
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11340/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11340/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11340/events
https://github.com/langchain-ai/langchain/pull/11340
1,924,351,871
PR_kwDOIPDwls5bzWDO
11,340
Fix typo in agent_structured.ipynb
{ "login": "eltociear", "id": 22633385, "node_id": "MDQ6VXNlcjIyNjMzMzg1", "avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eltociear", "html_url": "https://github.com/eltociear", "followers_url": "https://api.github.com/users/eltociear/followers", "following_url": "https://api.github.com/users/eltociear/following{/other_user}", "gists_url": "https://api.github.com/users/eltociear/gists{/gist_id}", "starred_url": "https://api.github.com/users/eltociear/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eltociear/subscriptions", "organizations_url": "https://api.github.com/users/eltociear/orgs", "repos_url": "https://api.github.com/users/eltociear/repos", "events_url": "https://api.github.com/users/eltociear/events{/privacy}", "received_events_url": "https://api.github.com/users/eltociear/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
1
2023-10-03T15:04:44
2023-10-03T16:00:38
2023-10-03T16:00:38
CONTRIBUTOR
null
therefor -> therefore <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11340/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/11340/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11340", "html_url": "https://github.com/langchain-ai/langchain/pull/11340", "diff_url": "https://github.com/langchain-ai/langchain/pull/11340.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11340.patch", "merged_at": "2023-10-03T16:00:38" }
https://api.github.com/repos/langchain-ai/langchain/issues/11339
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11339/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11339/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11339/events
https://github.com/langchain-ai/langchain/pull/11339
1,924,350,303
PR_kwDOIPDwls5bzVtM
11,339
Upgrade experimental package dependencies and use Poetry 1.6.1.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-03T15:03:53
2023-10-17T01:13:32
2023-10-17T01:13:31
COLLABORATOR
null
Part of upgrading our CI to use Poetry 1.6.1.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11339/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/11339/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11339", "html_url": "https://github.com/langchain-ai/langchain/pull/11339", "diff_url": "https://github.com/langchain-ai/langchain/pull/11339.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11339.patch", "merged_at": "2023-10-17T01:13:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/11338
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11338/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11338/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11338/events
https://github.com/langchain-ai/langchain/pull/11338
1,924,339,819
PR_kwDOIPDwls5bzTav
11,338
Use term keyword according to the official python doc glossary
{ "login": "vreyespue", "id": 42059733, "node_id": "MDQ6VXNlcjQyMDU5NzMz", "avatar_url": "https://avatars.githubusercontent.com/u/42059733?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vreyespue", "html_url": "https://github.com/vreyespue", "followers_url": "https://api.github.com/users/vreyespue/followers", "following_url": "https://api.github.com/users/vreyespue/following{/other_user}", "gists_url": "https://api.github.com/users/vreyespue/gists{/gist_id}", "starred_url": "https://api.github.com/users/vreyespue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vreyespue/subscriptions", "organizations_url": "https://api.github.com/users/vreyespue/orgs", "repos_url": "https://api.github.com/users/vreyespue/repos", "events_url": "https://api.github.com/users/vreyespue/events{/privacy}", "received_events_url": "https://api.github.com/users/vreyespue/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": 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-10-03T14:58:40
2023-10-03T19:56:09
2023-10-03T19:56:09
CONTRIBUTOR
null
- **Description:** use term keyword according to the official python doc glossary, see https://docs.python.org/3/glossary.html - **Issue:** not applicable - **Dependencies:** not applicable - **Tag maintainer:** @hwchase17 - **Twitter handle:** vreyespue
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11338/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/11338/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11338", "html_url": "https://github.com/langchain-ai/langchain/pull/11338", "diff_url": "https://github.com/langchain-ai/langchain/pull/11338.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11338.patch", "merged_at": "2023-10-03T19:56:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/11337
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11337/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11337/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11337/events
https://github.com/langchain-ai/langchain/issues/11337
1,924,300,917
I_kwDOIPDwls5ysoB1
11,337
OperationalError: (pyodbc.OperationalError) ('08001', '[08001]
{ "login": "jyoti194", "id": 109470153, "node_id": "U_kgDOBoZhyQ", "avatar_url": "https://avatars.githubusercontent.com/u/109470153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jyoti194", "html_url": "https://github.com/jyoti194", "followers_url": "https://api.github.com/users/jyoti194/followers", "following_url": "https://api.github.com/users/jyoti194/following{/other_user}", "gists_url": "https://api.github.com/users/jyoti194/gists{/gist_id}", "starred_url": "https://api.github.com/users/jyoti194/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jyoti194/subscriptions", "organizations_url": "https://api.github.com/users/jyoti194/orgs", "repos_url": "https://api.github.com/users/jyoti194/repos", "events_url": "https://api.github.com/users/jyoti194/events{/privacy}", "received_events_url": "https://api.github.com/users/jyoti194/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" } ]
open
false
null
[]
null
24
2023-10-03T14:39:18
2023-10-12T09:21:33
null
NONE
null
### System Info latest version of langchain. python=3.11.4 ### Who can help? @all ### 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 - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction from langchain.agents import * from langchain.llms import OpenAI from langchain.sql_database import SQLDatabase from langchain.agents import create_sql_agent from langchain.agents.agent_toolkits import SQLDatabaseToolkit from langchain.sql_database import SQLDatabase from langchain.llms.openai import OpenAI from langchain.agents import AgentExecutor from langchain.chat_models import ChatOpenAI # from secret_key import openapi_key openapi_key = "######" os.environ['OPENAI_API_KEY'] = openapi_key def chat(question): llm = OpenAI(temperature=0) tools = load_tools(["llm-math"], llm=llm) agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION) driver = 'ODBC Driver 17 for SQL Server' host = '####' database = 'chatgpt' user = 'rnd' password = '###' #db_uri = SQLDatabase.from_uri(f"mssql+pyodbc://{user}:{password}@{host}/{database}?driver={driver}") db = SQLDatabase.from_uri(f"mssql+pyodbc://{user}:{password}@{host}/{database}?driver=ODBC+Driver+17+for+SQL+Server") llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, max_tokens=1000) # toolkit = SQLDatabaseToolkit(db=db) toolkit = SQLDatabaseToolkit(db=db, llm=llm) agent_executor = create_sql_agent( llm=llm, toolkit=toolkit, verbose=True, reduce_k_below_max_tokens=True, ) mrkl = initialize_agent( tools, ChatOpenAI(temperature=0), agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION, verbose=True, handle_parsing_errors=True, ) return agent_executor.run(question) ### Expected behavior i need to connect to test server, but i'm getting an error while connecting to it, but is working fine on local server , been getting "OperationalError: (pyodbc.OperationalError) ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [53]. (53) (SQLDriverConnect); [08001] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0); [08001] [Microsoft][ODBC Driver 17 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. (53)') "
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11337/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/11337/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11336
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11336/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11336/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11336/events
https://github.com/langchain-ai/langchain/pull/11336
1,924,260,720
PR_kwDOIPDwls5bzCI0
11,336
update sec doc
{ "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-10-03T14:21:03
2023-10-03T14:22:54
2023-10-03T14:22:53
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11336/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/11336/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11336", "html_url": "https://github.com/langchain-ai/langchain/pull/11336", "diff_url": "https://github.com/langchain-ai/langchain/pull/11336.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11336.patch", "merged_at": "2023-10-03T14:22:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/11335
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11335/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11335/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11335/events
https://github.com/langchain-ai/langchain/pull/11335
1,924,206,223
PR_kwDOIPDwls5by2OV
11,335
Add explanations to GoogleDriveLoader how to avoid errors
{ "login": "anatoliykmetyuk", "id": 2614813, "node_id": "MDQ6VXNlcjI2MTQ4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/2614813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anatoliykmetyuk", "html_url": "https://github.com/anatoliykmetyuk", "followers_url": "https://api.github.com/users/anatoliykmetyuk/followers", "following_url": "https://api.github.com/users/anatoliykmetyuk/following{/other_user}", "gists_url": "https://api.github.com/users/anatoliykmetyuk/gists{/gist_id}", "starred_url": "https://api.github.com/users/anatoliykmetyuk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anatoliykmetyuk/subscriptions", "organizations_url": "https://api.github.com/users/anatoliykmetyuk/orgs", "repos_url": "https://api.github.com/users/anatoliykmetyuk/repos", "events_url": "https://api.github.com/users/anatoliykmetyuk/events{/privacy}", "received_events_url": "https://api.github.com/users/anatoliykmetyuk/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": 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
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
2
2023-10-03T13:53:42
2023-10-04T15:12:55
2023-10-04T15:12:55
CONTRIBUTOR
null
- **Description:** add a paragraph to the GoogleDriveLoader doc on how to bypass errors on authentication. For some reason, specifying credential path via `credentials_path` constructor parameter when creating `GoogleDriveLoader` makes it so that the oAuth screen is never showing up when first using GoogleDriveLoader. Instead, the `RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})` error happens. Setting it via `os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = ...` solves the problem. Also, `token_path` constructor parameter is mandatory, otherwise another error happens when trying to `load()` for the first time. These errors are tricky and time-consuming to figure out, so I believe it's good to mention them in the docs.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11335/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/11335/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11335", "html_url": "https://github.com/langchain-ai/langchain/pull/11335", "diff_url": "https://github.com/langchain-ai/langchain/pull/11335.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11335.patch", "merged_at": "2023-10-04T15:12:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/11333
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11333/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11333/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11333/events
https://github.com/langchain-ai/langchain/pull/11333
1,924,154,489
PR_kwDOIPDwls5byq9b
11,333
Async support for FAISS
{ "login": "thaiminhpv", "id": 48098520, "node_id": "MDQ6VXNlcjQ4MDk4NTIw", "avatar_url": "https://avatars.githubusercontent.com/u/48098520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thaiminhpv", "html_url": "https://github.com/thaiminhpv", "followers_url": "https://api.github.com/users/thaiminhpv/followers", "following_url": "https://api.github.com/users/thaiminhpv/following{/other_user}", "gists_url": "https://api.github.com/users/thaiminhpv/gists{/gist_id}", "starred_url": "https://api.github.com/users/thaiminhpv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thaiminhpv/subscriptions", "organizations_url": "https://api.github.com/users/thaiminhpv/orgs", "repos_url": "https://api.github.com/users/thaiminhpv/repos", "events_url": "https://api.github.com/users/thaiminhpv/events{/privacy}", "received_events_url": "https://api.github.com/users/thaiminhpv/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
{ "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 }
[ { "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 } ]
null
8
2023-10-03T13:27:18
2023-10-30T22:08:53
2023-10-30T22:08:53
CONTRIBUTOR
null
Following this tutoral about using OpenAI Embeddings with FAISS https://python.langchain.com/docs/integrations/vectorstores/faiss ```python from langchain.embeddings.openai import OpenAIEmbeddings from langchain.text_splitter import CharacterTextSplitter from langchain.vectorstores import FAISS from langchain.document_loaders import TextLoader from langchain.document_loaders import TextLoader loader = TextLoader("../../../extras/modules/state_of_the_union.txt") documents = loader.load() text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0) docs = text_splitter.split_documents(documents) embeddings = OpenAIEmbeddings() ``` This works fine ```python db = FAISS.from_documents(docs, embeddings) query = "What did the president say about Ketanji Brown Jackson" docs = db.similarity_search(query) ``` But the async version is not ```python db = await FAISS.afrom_documents(docs, embeddings) # NotImplementedError query = "What did the president say about Ketanji Brown Jackson" docs = await db.asimilarity_search(query) # this will use await asyncio.get_event_loop().run_in_executor under the hood and will not call OpenAIEmbeddings.aembed_query but call OpenAIEmbeddings.embed_query ``` So this PR add async/await supports for FAISS
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11333/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/11333/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11333", "html_url": "https://github.com/langchain-ai/langchain/pull/11333", "diff_url": "https://github.com/langchain-ai/langchain/pull/11333.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11333.patch", "merged_at": "2023-10-30T22:08:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/11332
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11332/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11332/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11332/events
https://github.com/langchain-ai/langchain/pull/11332
1,924,046,050
PR_kwDOIPDwls5byTx4
11,332
In ProgressBarCallback update the progress counter also when runs fin…
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-03T12:31:30
2023-10-04T04:05:00
2023-10-04T04:04:59
COLLABORATOR
null
…ish with an error <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11332/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/11332/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11332", "html_url": "https://github.com/langchain-ai/langchain/pull/11332", "diff_url": "https://github.com/langchain-ai/langchain/pull/11332.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11332.patch", "merged_at": "2023-10-04T04:04:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/11331
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11331/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11331/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11331/events
https://github.com/langchain-ai/langchain/issues/11331
1,923,981,257
I_kwDOIPDwls5yrZ_J
11,331
Issue: Documents embeddings with many and similar numbers don't return good results
{ "login": "juan-gomez-stellion", "id": 81586639, "node_id": "MDQ6VXNlcjgxNTg2NjM5", "avatar_url": "https://avatars.githubusercontent.com/u/81586639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/juan-gomez-stellion", "html_url": "https://github.com/juan-gomez-stellion", "followers_url": "https://api.github.com/users/juan-gomez-stellion/followers", "following_url": "https://api.github.com/users/juan-gomez-stellion/following{/other_user}", "gists_url": "https://api.github.com/users/juan-gomez-stellion/gists{/gist_id}", "starred_url": "https://api.github.com/users/juan-gomez-stellion/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juan-gomez-stellion/subscriptions", "organizations_url": "https://api.github.com/users/juan-gomez-stellion/orgs", "repos_url": "https://api.github.com/users/juan-gomez-stellion/repos", "events_url": "https://api.github.com/users/juan-gomez-stellion/events{/privacy}", "received_events_url": "https://api.github.com/users/juan-gomez-stellion/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" }, { "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
4
2023-10-03T12:04:42
2023-10-20T19:45:14
null
NONE
null
### Issue you'd like to raise. Hi! I am trying to create a question answering chatbot with PDFs. There is something different in these documents. I have different articles with their number, example: article 1.2.2.1.3, article 1.2.3.4.5, article 2.3.4.1.3, etc. When I ask for a specific article, it can't find the answer and return "the article x.x.x.x.x is not in the context". I have tried with some embeddings techniques and vector store, but it does not work. Any ideas? PD: The PDF documents are around 450 pages ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11331/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/11331/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11329
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11329/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11329/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11329/events
https://github.com/langchain-ai/langchain/pull/11329
1,923,952,970
PR_kwDOIPDwls5bx_Sq
11,329
Add Vespa vector store
{ "login": "lesters", "id": 5798036, "node_id": "MDQ6VXNlcjU3OTgwMzY=", "avatar_url": "https://avatars.githubusercontent.com/u/5798036?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesters", "html_url": "https://github.com/lesters", "followers_url": "https://api.github.com/users/lesters/followers", "following_url": "https://api.github.com/users/lesters/following{/other_user}", "gists_url": "https://api.github.com/users/lesters/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesters/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesters/subscriptions", "organizations_url": "https://api.github.com/users/lesters/orgs", "repos_url": "https://api.github.com/users/lesters/repos", "events_url": "https://api.github.com/users/lesters/events{/privacy}", "received_events_url": "https://api.github.com/users/lesters/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
2
2023-10-03T11:49:15
2023-10-04T18:59:11
2023-10-04T18:59:11
CONTRIBUTOR
null
Addition of Vespa vector store integration including notebook showing its use. Maintainer: @lesters Twitter handle: LesterSolbakken
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11329/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/11329/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11329", "html_url": "https://github.com/langchain-ai/langchain/pull/11329", "diff_url": "https://github.com/langchain-ai/langchain/pull/11329.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11329.patch", "merged_at": "2023-10-04T18:59:11" }
https://api.github.com/repos/langchain-ai/langchain/issues/11328
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11328/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11328/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11328/events
https://github.com/langchain-ai/langchain/pull/11328
1,923,856,712
PR_kwDOIPDwls5bxqkw
11,328
Add client_name="langchain" to Cohere usage
{ "login": "billytrend-cohere", "id": 144115527, "node_id": "U_kgDOCJcHRw", "avatar_url": "https://avatars.githubusercontent.com/u/144115527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/billytrend-cohere", "html_url": "https://github.com/billytrend-cohere", "followers_url": "https://api.github.com/users/billytrend-cohere/followers", "following_url": "https://api.github.com/users/billytrend-cohere/following{/other_user}", "gists_url": "https://api.github.com/users/billytrend-cohere/gists{/gist_id}", "starred_url": "https://api.github.com/users/billytrend-cohere/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/billytrend-cohere/subscriptions", "organizations_url": "https://api.github.com/users/billytrend-cohere/orgs", "repos_url": "https://api.github.com/users/billytrend-cohere/repos", "events_url": "https://api.github.com/users/billytrend-cohere/events{/privacy}", "received_events_url": "https://api.github.com/users/billytrend-cohere/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": 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": 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-10-03T10:48:42
2023-10-30T18:20:55
2023-10-30T18:20:55
CONTRIBUTOR
null
Hey, we're looking to invest more in adding cohere integrations to langchain so would love to get more of an idea for how it's used. Hopefully this pr is acceptable. This week I'm also going to be looking into adding our new [retrieval augmented generation product](https://txt.cohere.com/chat-with-rag/) to langchain.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11328/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/11328/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11328", "html_url": "https://github.com/langchain-ai/langchain/pull/11328", "diff_url": "https://github.com/langchain-ai/langchain/pull/11328.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11328.patch", "merged_at": "2023-10-30T18:20:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/11327
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11327/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11327/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11327/events
https://github.com/langchain-ai/langchain/pull/11327
1,923,803,823
PR_kwDOIPDwls5bxfG9
11,327
Added autodetect_encoding option to csvLoader
{ "login": "Taikono-Himazin", "id": 25480502, "node_id": "MDQ6VXNlcjI1NDgwNTAy", "avatar_url": "https://avatars.githubusercontent.com/u/25480502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Taikono-Himazin", "html_url": "https://github.com/Taikono-Himazin", "followers_url": "https://api.github.com/users/Taikono-Himazin/followers", "following_url": "https://api.github.com/users/Taikono-Himazin/following{/other_user}", "gists_url": "https://api.github.com/users/Taikono-Himazin/gists{/gist_id}", "starred_url": "https://api.github.com/users/Taikono-Himazin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Taikono-Himazin/subscriptions", "organizations_url": "https://api.github.com/users/Taikono-Himazin/orgs", "repos_url": "https://api.github.com/users/Taikono-Himazin/repos", "events_url": "https://api.github.com/users/Taikono-Himazin/events{/privacy}", "received_events_url": "https://api.github.com/users/Taikono-Himazin/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
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
8
2023-10-03T10:18:11
2023-10-09T15:06:44
2023-10-09T15:06:44
CONTRIBUTOR
null
Added autodetect_encoding option to csvLoader like TextLoader.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11327/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/11327/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11327", "html_url": "https://github.com/langchain-ai/langchain/pull/11327", "diff_url": "https://github.com/langchain-ai/langchain/pull/11327.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11327.patch", "merged_at": "2023-10-09T15:06:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/11326
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11326/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11326/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11326/events
https://github.com/langchain-ai/langchain/pull/11326
1,923,704,182
PR_kwDOIPDwls5bxJxS
11,326
Add HTML Title and Page Language into metadata for AsyncHtmlLoader
{ "login": "kkk55596", "id": 32828303, "node_id": "MDQ6VXNlcjMyODI4MzAz", "avatar_url": "https://avatars.githubusercontent.com/u/32828303?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kkk55596", "html_url": "https://github.com/kkk55596", "followers_url": "https://api.github.com/users/kkk55596/followers", "following_url": "https://api.github.com/users/kkk55596/following{/other_user}", "gists_url": "https://api.github.com/users/kkk55596/gists{/gist_id}", "starred_url": "https://api.github.com/users/kkk55596/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kkk55596/subscriptions", "organizations_url": "https://api.github.com/users/kkk55596/orgs", "repos_url": "https://api.github.com/users/kkk55596/repos", "events_url": "https://api.github.com/users/kkk55596/events{/privacy}", "received_events_url": "https://api.github.com/users/kkk55596/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
2
2023-10-03T09:23:35
2023-10-27T03:22:31
2023-10-27T03:22:31
CONTRIBUTOR
null
**Description:** Revise `libs/langchain/langchain/document_loaders/async_html.py` to store the HTML Title and Page Language in the `metadata` of `AsyncHtmlLoader`.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11326/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/11326/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11326", "html_url": "https://github.com/langchain-ai/langchain/pull/11326", "diff_url": "https://github.com/langchain-ai/langchain/pull/11326.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11326.patch", "merged_at": "2023-10-27T03:22:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/11325
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11325/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11325/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11325/events
https://github.com/langchain-ai/langchain/issues/11325
1,923,694,958
I_kwDOIPDwls5yqUFu
11,325
Issue: LLMChain arun running with Llama7B encounter NotImplementError
{ "login": "QI-Joe", "id": 80494923, "node_id": "MDQ6VXNlcjgwNDk0OTIz", "avatar_url": "https://avatars.githubusercontent.com/u/80494923?v=4", "gravatar_id": "", "url": "https://api.github.com/users/QI-Joe", "html_url": "https://github.com/QI-Joe", "followers_url": "https://api.github.com/users/QI-Joe/followers", "following_url": "https://api.github.com/users/QI-Joe/following{/other_user}", "gists_url": "https://api.github.com/users/QI-Joe/gists{/gist_id}", "starred_url": "https://api.github.com/users/QI-Joe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/QI-Joe/subscriptions", "organizations_url": "https://api.github.com/users/QI-Joe/orgs", "repos_url": "https://api.github.com/users/QI-Joe/repos", "events_url": "https://api.github.com/users/QI-Joe/events{/privacy}", "received_events_url": "https://api.github.com/users/QI-Joe/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
1
2023-10-03T09:18:23
2023-10-03T09:26:01
null
NONE
null
### Issue you'd like to raise. Yeah, so I've been attempting to load Llama2 and utilize Langchain to create a condensed model for my documents. I managed to accomplish the task successfully, as Llama2 generated the results quite effectively. However, when I tried to speed up the process by referencing Langchain's [LLMChain ](https://api.python.langchain.com/en/latest/chains/langchain.chains.llm.LLMChain.html?highlight=llmchain#langchain.chains.llm.LLMChain)and one of its function -- arun, I kept encountering an error that said "Not Implement Error". It didn't matter which function I tried to use, whether it was acall, arun, or apredict, they all failed. So here are my codes: ``` # load LLama from local drive tokenizer=AutoTokenizer.from_pretrained("/content/drive/MyDrive/CoLab/LLama7b") model=LlamaForCausalLM.from_pretrained("/content/drive/MyDrive/CoLab/LLama7b",quantization_config=quant_config,device_map="auto",) # define output parameters prefix_llm=transformers.pipeline( model=model, tokenizer=tokenizer, return_full_text=True, task="text-generation",# temperature=0, top_p=0.15, top_k=15, max_new_tokens=1060, repetition_penalty=1.2, do_sample=True ) # wrap up with Langchain HuggingfaceLLm class llm=HuggingFacePipeline(pipeline=prefix_llm, cache=False) # Combine with LLMChain prompt: PromptTemplate, input_variables="words" llm_chain = LLMChain(prompt=prompt, llm=llm) # calling arun input: list[str] llm_chain.run(input[num]) || llm_chain.run(words=input[num]) # run smoothly llm_chain.arun(input) || llm_chain.arun(words=input) # Raise error NotImplementError ``` ``` error comes from langchain/llms/base.py in _agenerate(self, prompts, stop, run_manager, **kwargs) 479 ) -> LLMResult: 480 """Run the LLM on the given prompts.""" --> 481 raise NotImplementedError() 482 483 def _stream( NotImplementedError: # in this last function, "run_manager" should be None, "stop" too. ``` As far as I explored, this process will call 10 frames. Start on ``` langchian/chains/base.py -> def acall() to langchian/chains/base.py -> def agenerate() then jump to langchian/chains/llm.py -> def _acall() to langchian/chains/llm.py -> def agenerate() in the last it stopped at langchian/llms/base.py -> def agenerate() to langchian/llms/base.py -> def agenerate_prompt(), langchian/llms/base.py -> def agenerate_helper() langchian/llms/base.py -> def _agenerate() ``` I don't know what "thing" I should implement or Langchian didn't implement. the calling code is 100% refer to the [Langchain example](https://python.langchain.com/docs/modules/chains/how_to/async_chain). I suspect maybe it's because Langchain didn't fully support Llama? Since it runs smoothly on OpenAI API. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11325/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/11325/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11324
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11324/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11324/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11324/events
https://github.com/langchain-ai/langchain/pull/11324
1,923,643,311
PR_kwDOIPDwls5bw870
11,324
Pass kwargs in runnable retry
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-03T08:51:22
2023-10-03T08:55:04
2023-10-03T08:55:03
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11324/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/11324/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11324", "html_url": "https://github.com/langchain-ai/langchain/pull/11324", "diff_url": "https://github.com/langchain-ai/langchain/pull/11324.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11324.patch", "merged_at": "2023-10-03T08:55:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/11323
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11323/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11323/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11323/events
https://github.com/langchain-ai/langchain/pull/11323
1,923,479,511
PR_kwDOIPDwls5bwaq4
11,323
[Bug] fix when data[key] is False
{ "login": "erlichsefi", "id": 9443798, "node_id": "MDQ6VXNlcjk0NDM3OTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9443798?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erlichsefi", "html_url": "https://github.com/erlichsefi", "followers_url": "https://api.github.com/users/erlichsefi/followers", "following_url": "https://api.github.com/users/erlichsefi/following{/other_user}", "gists_url": "https://api.github.com/users/erlichsefi/gists{/gist_id}", "starred_url": "https://api.github.com/users/erlichsefi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erlichsefi/subscriptions", "organizations_url": "https://api.github.com/users/erlichsefi/orgs", "repos_url": "https://api.github.com/users/erlichsefi/repos", "events_url": "https://api.github.com/users/erlichsefi/events{/privacy}", "received_events_url": "https://api.github.com/users/erlichsefi/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
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
4
2023-10-03T07:19:10
2023-10-04T22:03:03
2023-10-04T22:03:03
NONE
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11323/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/11323/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11323", "html_url": "https://github.com/langchain-ai/langchain/pull/11323", "diff_url": "https://github.com/langchain-ai/langchain/pull/11323.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11323.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11322
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11322/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11322/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11322/events
https://github.com/langchain-ai/langchain/pull/11322
1,923,409,083
PR_kwDOIPDwls5bwL2H
11,322
Fixed exception type in py files
{ "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": 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" }, { "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-10-03T06:25:09
2023-10-04T01:46:26
2023-10-04T01:46:26
CONTRIBUTOR
null
I've refactored the code to ensure that ImportError is consistently handled. Instead of using ValueError as before, I've now followed the standard practice of raising ImportError along with clear and informative error messages. This change enhances the code's clarity and explicitly signifies that any problems are associated with module imports. CC: @baskaryan , @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11322/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/11322/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11322", "html_url": "https://github.com/langchain-ai/langchain/pull/11322", "diff_url": "https://github.com/langchain-ai/langchain/pull/11322.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11322.patch", "merged_at": "2023-10-04T01:46:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/11320
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11320/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11320/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11320/events
https://github.com/langchain-ai/langchain/pull/11320
1,923,329,528
PR_kwDOIPDwls5bv6sh
11,320
update schema
{ "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-10-03T05:16:16
2023-11-06T23:14:19
2023-11-06T23:14:18
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11320/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/11320/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11320", "html_url": "https://github.com/langchain-ai/langchain/pull/11320", "diff_url": "https://github.com/langchain-ai/langchain/pull/11320.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11320.patch", "merged_at": "2023-11-06T23:14:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/11319
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11319/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11319/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11319/events
https://github.com/langchain-ai/langchain/issues/11319
1,923,299,236
I_kwDOIPDwls5yozek
11,319
CodeInterpreter for Langchain
{ "login": "miggytrinidad", "id": 11906579, "node_id": "MDQ6VXNlcjExOTA2NTc5", "avatar_url": "https://avatars.githubusercontent.com/u/11906579?v=4", "gravatar_id": "", "url": "https://api.github.com/users/miggytrinidad", "html_url": "https://github.com/miggytrinidad", "followers_url": "https://api.github.com/users/miggytrinidad/followers", "following_url": "https://api.github.com/users/miggytrinidad/following{/other_user}", "gists_url": "https://api.github.com/users/miggytrinidad/gists{/gist_id}", "starred_url": "https://api.github.com/users/miggytrinidad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/miggytrinidad/subscriptions", "organizations_url": "https://api.github.com/users/miggytrinidad/orgs", "repos_url": "https://api.github.com/users/miggytrinidad/repos", "events_url": "https://api.github.com/users/miggytrinidad/events{/privacy}", "received_events_url": "https://api.github.com/users/miggytrinidad/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
0
2023-10-03T04:45:52
2023-10-03T04:48:00
null
NONE
null
### Issue you'd like to raise. Is there a codeinterpreter plugin for langchain? Use Case: I want to generate insights with charts as like the paid ChatGPT out there. Is this possible? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11319/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/11319/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11318
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11318/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11318/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11318/events
https://github.com/langchain-ai/langchain/pull/11318
1,923,262,056
PR_kwDOIPDwls5bvsDf
11,318
Update clarifai.mdx
{ "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": 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-10-03T04:10:00
2023-10-03T05:16:51
2023-10-03T05:16:00
CONTRIBUTOR
null
@baskaryan , Small typo fix
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11318/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/11318/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11318", "html_url": "https://github.com/langchain-ai/langchain/pull/11318", "diff_url": "https://github.com/langchain-ai/langchain/pull/11318.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11318.patch", "merged_at": "2023-10-03T05:16:00" }
https://api.github.com/repos/langchain-ai/langchain/issues/11317
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11317/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11317/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11317/events
https://github.com/langchain-ai/langchain/pull/11317
1,923,257,179
PR_kwDOIPDwls5bvq90
11,317
Fixed typo errors
{ "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": 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-10-03T04:06:07
2023-10-03T04:31:11
2023-10-03T04:15:56
CONTRIBUTOR
null
@baskaryan, Fixed a small typo errors
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11317/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/11317/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11317", "html_url": "https://github.com/langchain-ai/langchain/pull/11317", "diff_url": "https://github.com/langchain-ai/langchain/pull/11317.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11317.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11316
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11316/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11316/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11316/events
https://github.com/langchain-ai/langchain/pull/11316
1,923,098,963
PR_kwDOIPDwls5bvIu4
11,316
Change warning class for deprecations used in init
{ "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
2
2023-10-03T01:18:02
2023-12-02T02:37:34
2023-12-02T02:37:34
COLLABORATOR
null
Change warning class to LangChain Deprecation Warning instead of generic User Warning
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11316/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/11316/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11316", "html_url": "https://github.com/langchain-ai/langchain/pull/11316", "diff_url": "https://github.com/langchain-ai/langchain/pull/11316.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11316.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11315
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11315/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11315/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11315/events
https://github.com/langchain-ai/langchain/pull/11315
1,923,030,055
PR_kwDOIPDwls5bu5rt
11,315
Add prompt hub support for Mistral w/ Ollama
{ "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": 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
1
2023-10-03T00:06:54
2023-10-03T15:17:48
2023-10-03T15:17:47
COLLABORATOR
null
Add Mistral example with prompt support
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11315/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/11315/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11315", "html_url": "https://github.com/langchain-ai/langchain/pull/11315", "diff_url": "https://github.com/langchain-ai/langchain/pull/11315.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11315.patch", "merged_at": "2023-10-03T15:17:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/11314
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11314/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11314/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11314/events
https://github.com/langchain-ai/langchain/pull/11314
1,922,977,270
PR_kwDOIPDwls5but7C
11,314
Adds Tavily Search API retriever
{ "login": "jacoblee93", "id": 6952323, "node_id": "MDQ6VXNlcjY5NTIzMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacoblee93", "html_url": "https://github.com/jacoblee93", "followers_url": "https://api.github.com/users/jacoblee93/followers", "following_url": "https://api.github.com/users/jacoblee93/following{/other_user}", "gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}", "starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions", "organizations_url": "https://api.github.com/users/jacoblee93/orgs", "repos_url": "https://api.github.com/users/jacoblee93/repos", "events_url": "https://api.github.com/users/jacoblee93/events{/privacy}", "received_events_url": "https://api.github.com/users/jacoblee93/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
1
2023-10-02T23:21:30
2023-10-03T00:12:18
2023-10-03T00:12:17
CONTRIBUTOR
null
@baskaryan @efriis
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11314/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/11314/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11314", "html_url": "https://github.com/langchain-ai/langchain/pull/11314", "diff_url": "https://github.com/langchain-ai/langchain/pull/11314.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11314.patch", "merged_at": "2023-10-03T00:12:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/11313
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11313/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11313/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11313/events
https://github.com/langchain-ai/langchain/issues/11313
1,922,776,905
I_kwDOIPDwls5ymz9J
11,313
Azure Cognitive Search vector DB store performs slow embedding as it does not utilize the batch embedding functionality
{ "login": "butlfrazp", "id": 19225108, "node_id": "MDQ6VXNlcjE5MjI1MTA4", "avatar_url": "https://avatars.githubusercontent.com/u/19225108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/butlfrazp", "html_url": "https://github.com/butlfrazp", "followers_url": "https://api.github.com/users/butlfrazp/followers", "following_url": "https://api.github.com/users/butlfrazp/following{/other_user}", "gists_url": "https://api.github.com/users/butlfrazp/gists{/gist_id}", "starred_url": "https://api.github.com/users/butlfrazp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/butlfrazp/subscriptions", "organizations_url": "https://api.github.com/users/butlfrazp/orgs", "repos_url": "https://api.github.com/users/butlfrazp/repos", "events_url": "https://api.github.com/users/butlfrazp/events{/privacy}", "received_events_url": "https://api.github.com/users/butlfrazp/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": 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
4
2023-10-02T21:42:29
2023-11-06T11:52:03
null
NONE
null
### System Info - Langchain Version: 0.0.306 - Python Version: 3.10.11 - Azure Cognitive Seach (any sku) - Embedding that has batch functionality ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Steps to reproduce: 1. Get a document (or set of documents) that will produce a few hundred chunks 2. Run the sample code provided by Langchain to index those documents into the Azure Search vector store (sample code below) 3. Run steps 1 and 2 on another vector store that supports batch embedding (milvus implementation supports batch embeddings) 4. Analyze the delta between the two vectorization speeds (Azure Search should be noticeably slower) Sample code: ```python import openai import os from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores.azuresearch import AzureSearch vector_store_address: str = "YOUR_AZURE_SEARCH_ENDPOINT" vector_store_password: str = "YOUR_AZURE_SEARCH_ADMIN_KEY" embeddings: OpenAIEmbeddings = OpenAIEmbeddings(deployment=model, chunk_size=1) index_name: str = "langchain-vector-demo" vector_store: AzureSearch = AzureSearch( azure_search_endpoint=vector_store_address, azure_search_key=vector_store_password, index_name=index_name, embedding_function=embeddings.embed_query, ) from langchain.document_loaders import TextLoader from langchain.text_splitter import CharacterTextSplitter loader = TextLoader("../../../state_of_the_union.txt", encoding="utf-8") documents = loader.load() text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0) docs = text_splitter.split_documents(documents) vector_store.add_documents(documents=docs) ``` ### Expected behavior The expected behavior for the Azure search implementation to also support batch embedding if the implementation of the embedding class supports batch embedding. This should result in significant speed improvements when comparing the single embedding approach vs the batch embedding approach.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11313/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/11313/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11312
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11312/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11312/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11312/events
https://github.com/langchain-ai/langchain/pull/11312
1,922,763,464
PR_kwDOIPDwls5bt8s8
11,312
merge pages into `google` and `AWS` pages
{ "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": 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": 5959659008, "node_id": "LA_kwDOIPDwls8AAAABYzkuAA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws", "name": "integration: aws", "color": "C5DEF5", "default": false, "description": "Related to Amazon Web Services (AWS) integrations" } ]
closed
false
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
3
2023-10-02T21:34:40
2023-10-04T22:14:47
2023-10-04T20:44:23
COLLABORATOR
null
There are several pages in `integrations/providers/more` that belongs to Google and AWS `integrations/providers`. - moved content of these pages into the Google and AWS `integrations/providers` pages - removed these individual pages
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11312/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/11312/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11312", "html_url": "https://github.com/langchain-ai/langchain/pull/11312", "diff_url": "https://github.com/langchain-ai/langchain/pull/11312.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11312.patch", "merged_at": "2023-10-04T20:44:23" }
https://api.github.com/repos/langchain-ai/langchain/issues/11311
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11311/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11311/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11311/events
https://github.com/langchain-ai/langchain/pull/11311
1,922,730,856
PR_kwDOIPDwls5bt1Wc
11,311
Deprecate direct access to globals like `debug` and `verbose`.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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
4
2023-10-02T21:15:54
2023-10-17T04:02:36
2023-10-12T22:48:04
COLLABORATOR
null
Instead of accessing `langchain.debug`, `langchain.verbose`, or `langchain.llm_cache`, please use the new getter/setter functions in `langchain.globals`: - `langchain.globals.set_debug()` and `langchain.globals.get_debug()` - `langchain.globals.set_verbose()` and `langchain.globals.get_verbose()` - `langchain.globals.set_llm_cache()` and `langchain.globals.get_llm_cache()` Using the old globals directly will now raise a warning.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11311/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/11311/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11311", "html_url": "https://github.com/langchain-ai/langchain/pull/11311", "diff_url": "https://github.com/langchain-ai/langchain/pull/11311.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11311.patch", "merged_at": "2023-10-12T22:48:04" }
https://api.github.com/repos/langchain-ai/langchain/issues/11310
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11310/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11310/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11310/events
https://github.com/langchain-ai/langchain/pull/11310
1,922,700,475
PR_kwDOIPDwls5btuir
11,310
Fix Fake LLM tool usage example
{ "login": "olegsinavski", "id": 2086260, "node_id": "MDQ6VXNlcjIwODYyNjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2086260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/olegsinavski", "html_url": "https://github.com/olegsinavski", "followers_url": "https://api.github.com/users/olegsinavski/followers", "following_url": "https://api.github.com/users/olegsinavski/following{/other_user}", "gists_url": "https://api.github.com/users/olegsinavski/gists{/gist_id}", "starred_url": "https://api.github.com/users/olegsinavski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/olegsinavski/subscriptions", "organizations_url": "https://api.github.com/users/olegsinavski/orgs", "repos_url": "https://api.github.com/users/olegsinavski/repos", "events_url": "https://api.github.com/users/olegsinavski/events{/privacy}", "received_events_url": "https://api.github.com/users/olegsinavski/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" }, { "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-10-02T20:58:02
2023-10-08T12:54:05
2023-10-08T12:54:05
CONTRIBUTOR
null
**Description:** Mock action in a FakeListLLM uses a wrong name for the REPL tool (the correct one uses '_'). Without it, an error pops up: "Python REPL is not a valid tool, try one of [Python_REPL]."
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11310/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/11310/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11310", "html_url": "https://github.com/langchain-ai/langchain/pull/11310", "diff_url": "https://github.com/langchain-ai/langchain/pull/11310.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11310.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11309
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11309/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11309/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11309/events
https://github.com/langchain-ai/langchain/pull/11309
1,922,644,899
PR_kwDOIPDwls5bth9p
11,309
Added custom retry decorator support in ChatOpenAI
{ "login": "rohan-uiuc", "id": 123789373, "node_id": "U_kgDOB2DgPQ", "avatar_url": "https://avatars.githubusercontent.com/u/123789373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rohan-uiuc", "html_url": "https://github.com/rohan-uiuc", "followers_url": "https://api.github.com/users/rohan-uiuc/followers", "following_url": "https://api.github.com/users/rohan-uiuc/following{/other_user}", "gists_url": "https://api.github.com/users/rohan-uiuc/gists{/gist_id}", "starred_url": "https://api.github.com/users/rohan-uiuc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rohan-uiuc/subscriptions", "organizations_url": "https://api.github.com/users/rohan-uiuc/orgs", "repos_url": "https://api.github.com/users/rohan-uiuc/repos", "events_url": "https://api.github.com/users/rohan-uiuc/events{/privacy}", "received_events_url": "https://api.github.com/users/rohan-uiuc/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
{ "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 }
[ { "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 } ]
null
9
2023-10-02T20:29:18
2023-10-12T19:44:36
null
NONE
null
Description: This PR adds the ability for users to provide a custom retry decorator when creating an instance of the ChatOpenAI class. The custom decorator will be used in the acompletion_with_retry and completion_with_retry methods to handle retries for the API calls. If a custom decorator is not provided, the default retry decorator will be used. This feature provides users the flexibility to handle specific use cases and errors in specific ways. Issue: https://github.com/langchain-ai/langchain/issues/3109 Dependencies: No new dependencies are required for this change.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11309/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/11309/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11309", "html_url": "https://github.com/langchain-ai/langchain/pull/11309", "diff_url": "https://github.com/langchain-ai/langchain/pull/11309.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11309.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11308
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11308/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11308/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11308/events
https://github.com/langchain-ai/langchain/pull/11308
1,922,622,643
PR_kwDOIPDwls5btc-v
11,308
Add optional arg that provides fix for #11261 (Anthropic w/ BedrockChat)
{ "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": 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
3
2023-10-02T20:18:38
2023-12-03T01:40:38
null
NONE
null
Fixes #11261
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11308/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/11308/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11308", "html_url": "https://github.com/langchain-ai/langchain/pull/11308", "diff_url": "https://github.com/langchain-ai/langchain/pull/11308.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11308.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11307
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11307/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11307/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11307/events
https://github.com/langchain-ai/langchain/pull/11307
1,922,583,650
PR_kwDOIPDwls5btUQh
11,307
Upgrade `langchain` dependency versions to resolve dependabot alerts.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2023-10-02T19:57:51
2023-10-02T22:06:42
2023-10-02T22:06:42
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11307/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/11307/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11307", "html_url": "https://github.com/langchain-ai/langchain/pull/11307", "diff_url": "https://github.com/langchain-ai/langchain/pull/11307.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11307.patch", "merged_at": "2023-10-02T22:06:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/11306
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11306/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11306/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11306/events
https://github.com/langchain-ai/langchain/issues/11306
1,922,568,920
I_kwDOIPDwls5ymBLY
11,306
Upgrade to v :0.0.306 - AttributeError: Could not find: llms
{ "login": "gautam-goudar", "id": 131703167, "node_id": "U_kgDOB9mhfw", "avatar_url": "https://avatars.githubusercontent.com/u/131703167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gautam-goudar", "html_url": "https://github.com/gautam-goudar", "followers_url": "https://api.github.com/users/gautam-goudar/followers", "following_url": "https://api.github.com/users/gautam-goudar/following{/other_user}", "gists_url": "https://api.github.com/users/gautam-goudar/gists{/gist_id}", "starred_url": "https://api.github.com/users/gautam-goudar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gautam-goudar/subscriptions", "organizations_url": "https://api.github.com/users/gautam-goudar/orgs", "repos_url": "https://api.github.com/users/gautam-goudar/repos", "events_url": "https://api.github.com/users/gautam-goudar/events{/privacy}", "received_events_url": "https://api.github.com/users/gautam-goudar/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
1
2023-10-02T19:50:11
2023-10-03T02:58:02
null
NONE
null
### System Info v: 0.0306 python version: Python 3.11.4 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Recently upgraded to version 0.0.306 of langchainversion. (from 0.0.259) I see to run into the below error ``` 2023-10-02T19:42:20.279102248Z File "/home/appuser/.local/lib/python3.11/site-packages/langchain/__init__.py", line 322, in __getattr__ 2023-10-02T19:42:20.279258947Z raise AttributeError(f"Could not find: {name}") 2023-10-02T19:42:20.279296147Z AttributeError: Could not find: llms ``` I have no idea as to what is causing this and from where the call is being made. I know that the error is coming from the below file (line 328) https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/__init__.py I am not able find any attribute called "llms" that is being set in any of our code base - hence more confused about the Attribute error. ### Expected behavior - Perhaps a stack trace that shows the flow of calls - Documentation that shows the possibilities of the error
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11306/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/11306/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11305
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11305/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11305/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11305/events
https://github.com/langchain-ai/langchain/pull/11305
1,922,541,068
PR_kwDOIPDwls5btKuI
11,305
add LLMBashChain to experimental
{ "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 }
[]
closed
false
null
[]
null
2
2023-10-02T19:35:28
2023-10-02T20:00:15
2023-10-02T20:00:14
COLLABORATOR
null
Add LLMBashChain to experimental
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11305/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/11305/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11305", "html_url": "https://github.com/langchain-ai/langchain/pull/11305", "diff_url": "https://github.com/langchain-ai/langchain/pull/11305.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11305.patch", "merged_at": "2023-10-02T20:00:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/11304
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11304/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11304/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11304/events
https://github.com/langchain-ai/langchain/pull/11304
1,922,495,596
PR_kwDOIPDwls5btApq
11,304
add youdotcom retriever skeleton
{ "login": "sam-h-bean", "id": 43734688, "node_id": "MDQ6VXNlcjQzNzM0Njg4", "avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam-h-bean", "html_url": "https://github.com/sam-h-bean", "followers_url": "https://api.github.com/users/sam-h-bean/followers", "following_url": "https://api.github.com/users/sam-h-bean/following{/other_user}", "gists_url": "https://api.github.com/users/sam-h-bean/gists{/gist_id}", "starred_url": "https://api.github.com/users/sam-h-bean/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sam-h-bean/subscriptions", "organizations_url": "https://api.github.com/users/sam-h-bean/orgs", "repos_url": "https://api.github.com/users/sam-h-bean/repos", "events_url": "https://api.github.com/users/sam-h-bean/events{/privacy}", "received_events_url": "https://api.github.com/users/sam-h-bean/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" } ]
closed
false
null
[]
null
2
2023-10-02T19:10:53
2023-10-05T21:36:32
2023-10-05T20:48:11
CONTRIBUTOR
null
Replace this entire comment with: - **Description:** Add you.com retriever to langchain, - **Issue:** N/A, - **Dependencies:** N/A, - **Tag maintainer:** @hwchase17 , - **Twitter handle:** TBD! 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11304/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/11304/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11304", "html_url": "https://github.com/langchain-ai/langchain/pull/11304", "diff_url": "https://github.com/langchain-ai/langchain/pull/11304.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11304.patch", "merged_at": "2023-10-05T20:48:11" }
https://api.github.com/repos/langchain-ai/langchain/issues/11303
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11303/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11303/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11303/events
https://github.com/langchain-ai/langchain/issues/11303
1,922,487,402
I_kwDOIPDwls5yltRq
11,303
Issue: Abstract Class Implementation problem in Retrievers
{ "login": "murasz", "id": 16989472, "node_id": "MDQ6VXNlcjE2OTg5NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/16989472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/murasz", "html_url": "https://github.com/murasz", "followers_url": "https://api.github.com/users/murasz/followers", "following_url": "https://api.github.com/users/murasz/following{/other_user}", "gists_url": "https://api.github.com/users/murasz/gists{/gist_id}", "starred_url": "https://api.github.com/users/murasz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/murasz/subscriptions", "organizations_url": "https://api.github.com/users/murasz/orgs", "repos_url": "https://api.github.com/users/murasz/repos", "events_url": "https://api.github.com/users/murasz/events{/privacy}", "received_events_url": "https://api.github.com/users/murasz/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" } ]
closed
false
null
[]
null
21
2023-10-02T19:06:33
2023-11-15T12:51:45
2023-10-06T09:38:26
NONE
null
### Issue you'd like to raise. Hi everyone, I've encountered an issue while trying to instantiate the ConversationalRetrievalChain in the Langchain library. It seems to be related to the abstract class BaseRetriever and the required method _get_relevant_documents. Here's my base code: ``` import os from langchain.vectorstores import FAISS from langchain.chat_models import ChatOpenAI from langchain.chains.question_answering import load_qa_chain from langchain.embeddings.openai import OpenAIEmbeddings from dotenv import load_dotenv from langchain.memory import ConversationBufferMemory from langchain.chains import ConversationalRetrievalChain # Load environment variables load_dotenv("info.env") OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # Initialize the FAISS vector database embeddings = OpenAIEmbeddings(openai_api_key=OPENAI_API_KEY) index_filenames = ["index1", "index2"] dbs = {f"category{i+1}": FAISS.load_local(filename, embeddings) for i, filename in enumerate(index_filenames)} # Load chat model and question answering chain llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, openai_api_key=OPENAI_API_KEY) chain = load_qa_chain(llm, chain_type="map_reduce") # Initialize conversation memory memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) # Set the role of the AI role = "Assistant" # Write the role of the AI memory.save_context({"input": f"AI: As an {role}, I can help you with your questions based on the retrievers and my own data."}, {"output": ""}) # Initialize the ConversationalRetrievalChain with memory and custom retrievers qa = ConversationalRetrievalChain.from_llm(llm, retriever=dbs, memory=memory) # Pass in chat history using the memory while True: user_input = input("User: ") # Add user input to the conversation history memory.save_context({"input": f"User: {user_input}"}, {"output": ""}) # Check if the user wants to exit if user_input == "!exit": break # Run the chain on the user's query response = qa.run(user_input) # Print the response with a one-line space and role indication print("\n" + f"{role}:\n{response}" + "\n") ``` And here's the error message I received: ``` pydantic.v1.error_wrappers.ValidationError: 1 validation error for ConversationalRetrievalChain retriever Can't instantiate abstract class BaseRetriever with abstract method _get_relevant_documents (type=type_error) ``` It appears that the retriever I provided doesn't fully implement the required methods. Could someone provide guidance on how to properly implement a retriever for ConversationalRetrievalChain and help update the code based on that? Any help would be greatly appreciated. Thank you! ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11303/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/11303/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11302
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11302/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11302/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11302/events
https://github.com/langchain-ai/langchain/pull/11302
1,922,465,371
PR_kwDOIPDwls5bs54r
11,302
Bump min version of numexpr
{ "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 }
[]
closed
false
null
[]
null
2
2023-10-02T18:55:39
2023-10-04T21:11:15
2023-10-02T19:06:32
COLLABORATOR
null
After this PR, numexpr is an optional dependency. In addition, the min version constraint of 2.8.6 means that there is input sanitization.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11302/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/11302/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11302", "html_url": "https://github.com/langchain-ai/langchain/pull/11302", "diff_url": "https://github.com/langchain-ai/langchain/pull/11302.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11302.patch", "merged_at": "2023-10-02T19:06:32" }
https://api.github.com/repos/langchain-ai/langchain/issues/11301
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11301/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11301/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11301/events
https://github.com/langchain-ai/langchain/pull/11301
1,922,415,450
PR_kwDOIPDwls5bsv4T
11,301
Anthropic system message 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": 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
15
2023-10-02T18:28:10
2023-10-04T15:56:40
2023-10-04T15:32:24
COLLABORATOR
null
Bedrock anthropic api enforces that Human and Assistant messages must be interleaved (cannot have same type twice in a row). We current treat System Messages as human messages when converting messages -> string prompt. Our validation when using Bedrock/BedrockChat raises an error when this happens. For ChatAnthropic we don't validate this so no error is raised, but perhaps the behavior is still suboptimal. Would love input from folks more familiar with Anthropic intended usage and Bedrock API.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11301/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/11301/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11301", "html_url": "https://github.com/langchain-ai/langchain/pull/11301", "diff_url": "https://github.com/langchain-ai/langchain/pull/11301.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11301.patch", "merged_at": "2023-10-04T15:32:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/11300
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11300/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11300/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11300/events
https://github.com/langchain-ai/langchain/pull/11300
1,922,390,093
PR_kwDOIPDwls5bsqWP
11,300
Start deprecation of LLMBashChain
{ "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" }, { "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-10-02T18:11:20
2023-10-05T16:48:23
2023-10-05T16:48:22
COLLABORATOR
null
In preparation for migration LLMBashChain and related tools add a derprecation warning to the code.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11300/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/11300/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11300", "html_url": "https://github.com/langchain-ai/langchain/pull/11300", "diff_url": "https://github.com/langchain-ai/langchain/pull/11300.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11300.patch", "merged_at": "2023-10-05T16:48:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/11299
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11299/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11299/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11299/events
https://github.com/langchain-ai/langchain/pull/11299
1,922,333,591
PR_kwDOIPDwls5bseLC
11,299
Add Python 3.12 to CI testing matrix.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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
4
2023-10-02T17:30:15
2023-10-09T23:12:45
null
COLLABORATOR
null
Python 3.12 came out a few hours ago, so in this PR: - We make linting use 3.12 instead of 3.11, since that's the max version we support. (We also lint on 3.8, the min version we support.) - We add 3.12 to the test matrices for all other CI runs. Fixes #11479.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11299/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/11299/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11299", "html_url": "https://github.com/langchain-ai/langchain/pull/11299", "diff_url": "https://github.com/langchain-ai/langchain/pull/11299.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11299.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11298
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11298/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11298/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11298/events
https://github.com/langchain-ai/langchain/pull/11298
1,922,287,069
PR_kwDOIPDwls5bsUP0
11,298
Docs: improve similarity search examples
{ "login": "olegsinavski", "id": 2086260, "node_id": "MDQ6VXNlcjIwODYyNjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2086260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/olegsinavski", "html_url": "https://github.com/olegsinavski", "followers_url": "https://api.github.com/users/olegsinavski/followers", "following_url": "https://api.github.com/users/olegsinavski/following{/other_user}", "gists_url": "https://api.github.com/users/olegsinavski/gists{/gist_id}", "starred_url": "https://api.github.com/users/olegsinavski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/olegsinavski/subscriptions", "organizations_url": "https://api.github.com/users/olegsinavski/orgs", "repos_url": "https://api.github.com/users/olegsinavski/repos", "events_url": "https://api.github.com/users/olegsinavski/events{/privacy}", "received_events_url": "https://api.github.com/users/olegsinavski/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": 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-10-02T16:55:30
2023-10-04T01:47:08
2023-10-04T01:47:08
CONTRIBUTOR
null
**Description:** Examples in the "Select by similarity" section were not really highlighting capabilities of similarity search. E.g. "# Input is a measurement, so should select the tall/short example" was still outputting the "mood" example. I tweaked the inputs a bit and fixed the examples (checking that those are indeed what the search outputs).
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11298/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/11298/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11298", "html_url": "https://github.com/langchain-ai/langchain/pull/11298", "diff_url": "https://github.com/langchain-ai/langchain/pull/11298.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11298.patch", "merged_at": "2023-10-04T01:47:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/11297
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11297/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11297/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11297/events
https://github.com/langchain-ai/langchain/pull/11297
1,922,268,584
PR_kwDOIPDwls5bsQSF
11,297
Revert "Rm additional file check for scheduled tests (#11192)"
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-02T16:42:00
2023-10-04T15:35:56
2023-10-04T15:35:55
COLLABORATOR
null
This reverts commit ff90bb59bf78a85bf561e03385e40ca855745ddb. Requires #11296 to merge first.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11297/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/11297/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11297", "html_url": "https://github.com/langchain-ai/langchain/pull/11297", "diff_url": "https://github.com/langchain-ai/langchain/pull/11297.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11297.patch", "merged_at": "2023-10-04T15:35:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/11296
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11296/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11296/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11296/events
https://github.com/langchain-ai/langchain/pull/11296
1,922,266,698
PR_kwDOIPDwls5bsP3B
11,296
Add Google GitHub Action creds file to gitignore.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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-10-02T16:40:58
2023-10-02T17:53:04
2023-10-02T17:53:03
COLLABORATOR
null
Should resolve the issue here: https://github.com/langchain-ai/langchain/actions/runs/6342767671/job/17229204508#step:7:36 After this merges, we can revert https://github.com/langchain-ai/langchain/pull/11192
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11296/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/11296/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11296", "html_url": "https://github.com/langchain-ai/langchain/pull/11296", "diff_url": "https://github.com/langchain-ai/langchain/pull/11296.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11296.patch", "merged_at": "2023-10-02T17:53:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/11295
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11295/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11295/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11295/events
https://github.com/langchain-ai/langchain/issues/11295
1,922,260,149
I_kwDOIPDwls5yk1y1
11,295
PGVector 'mmr' does not apply the filter at the time of retrieval
{ "login": "ssolta", "id": 139876453, "node_id": "U_kgDOCFZYZQ", "avatar_url": "https://avatars.githubusercontent.com/u/139876453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ssolta", "html_url": "https://github.com/ssolta", "followers_url": "https://api.github.com/users/ssolta/followers", "following_url": "https://api.github.com/users/ssolta/following{/other_user}", "gists_url": "https://api.github.com/users/ssolta/gists{/gist_id}", "starred_url": "https://api.github.com/users/ssolta/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ssolta/subscriptions", "organizations_url": "https://api.github.com/users/ssolta/orgs", "repos_url": "https://api.github.com/users/ssolta/repos", "events_url": "https://api.github.com/users/ssolta/events{/privacy}", "received_events_url": "https://api.github.com/users/ssolta/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" } ]
open
false
null
[]
null
3
2023-10-02T16:36:34
2023-10-31T19:17:00
null
NONE
null
### System Info langchain==0.0.291 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ``` elements_for_filter = ['a10','b10'] the_filter = { 'type': { 'in': elements_for_filter } } if rag_similarity_strategy == 'similarity_score_threshold': retriever = vectordb.as_retriever(search_type=rag_similarity_strategy, search_kwargs={ "k": 4, 'score_threshold': 0.6, 'filter': the_filter}) elif rag_similarity_strategy == 'mmr': retriever = vectordb.as_retriever(search_type=rag_similarity_strategy, search_kwargs={ 'filter': the_filter, "k": 4, 'lambda_mult': 0.5, 'fetch_k': 20, }) ``` ### Expected behavior I expect the retrieve apply the filter when I use 'mmr' as it does when I used 'similarity_score_threshold' but it does not.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11295/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/11295/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11294
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11294/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11294/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11294/events
https://github.com/langchain-ai/langchain/pull/11294
1,922,245,262
PR_kwDOIPDwls5bsLKN
11,294
Fix closing bracket in length-based selector snippet
{ "login": "olegsinavski", "id": 2086260, "node_id": "MDQ6VXNlcjIwODYyNjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2086260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/olegsinavski", "html_url": "https://github.com/olegsinavski", "followers_url": "https://api.github.com/users/olegsinavski/followers", "following_url": "https://api.github.com/users/olegsinavski/following{/other_user}", "gists_url": "https://api.github.com/users/olegsinavski/gists{/gist_id}", "starred_url": "https://api.github.com/users/olegsinavski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/olegsinavski/subscriptions", "organizations_url": "https://api.github.com/users/olegsinavski/orgs", "repos_url": "https://api.github.com/users/olegsinavski/repos", "events_url": "https://api.github.com/users/olegsinavski/events{/privacy}", "received_events_url": "https://api.github.com/users/olegsinavski/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-10-02T16:27:25
2023-10-02T19:36:58
2023-10-02T19:36:58
CONTRIBUTOR
null
**Description:** Fix a forgotten closing bracket in the length-based selector snippet
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11294/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/11294/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11294", "html_url": "https://github.com/langchain-ai/langchain/pull/11294", "diff_url": "https://github.com/langchain-ai/langchain/pull/11294.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11294.patch", "merged_at": "2023-10-02T19:36:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/11293
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11293/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11293/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11293/events
https://github.com/langchain-ai/langchain/pull/11293
1,922,080,346
PR_kwDOIPDwls5brnfp
11,293
Small changes to runnable docs
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-02T14:51:52
2023-10-02T15:27:13
2023-10-02T15:27:12
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11293/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/11293/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11293", "html_url": "https://github.com/langchain-ai/langchain/pull/11293", "diff_url": "https://github.com/langchain-ai/langchain/pull/11293.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11293.patch", "merged_at": "2023-10-02T15:27:12" }
https://api.github.com/repos/langchain-ai/langchain/issues/11292
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11292/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11292/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11292/events
https://github.com/langchain-ai/langchain/pull/11292
1,922,049,346
PR_kwDOIPDwls5brgze
11,292
Fix documents for RetrievalQAWithSourcesChain
{ "login": "devleejb", "id": 52884648, "node_id": "MDQ6VXNlcjUyODg0NjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/52884648?v=4", "gravatar_id": "", "url": "https://api.github.com/users/devleejb", "html_url": "https://github.com/devleejb", "followers_url": "https://api.github.com/users/devleejb/followers", "following_url": "https://api.github.com/users/devleejb/following{/other_user}", "gists_url": "https://api.github.com/users/devleejb/gists{/gist_id}", "starred_url": "https://api.github.com/users/devleejb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/devleejb/subscriptions", "organizations_url": "https://api.github.com/users/devleejb/orgs", "repos_url": "https://api.github.com/users/devleejb/repos", "events_url": "https://api.github.com/users/devleejb/events{/privacy}", "received_events_url": "https://api.github.com/users/devleejb/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-10-02T14:35:18
2023-10-04T00:36:17
2023-10-04T00:36:17
CONTRIBUTOR
null
- **Description:** Fix typo about `RetrievalQAWithSourceChain` -> `RetrievalQAWithSourcesChain` <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11292/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/11292/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11292", "html_url": "https://github.com/langchain-ai/langchain/pull/11292", "diff_url": "https://github.com/langchain-ai/langchain/pull/11292.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11292.patch", "merged_at": "2023-10-04T00:36:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/11291
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11291/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11291/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11291/events
https://github.com/langchain-ai/langchain/issues/11291
1,922,030,381
I_kwDOIPDwls5yj9st
11,291
VLLMOpenAI class should be generalised
{ "login": "mauri3112", "id": 35557443, "node_id": "MDQ6VXNlcjM1NTU3NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/35557443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mauri3112", "html_url": "https://github.com/mauri3112", "followers_url": "https://api.github.com/users/mauri3112/followers", "following_url": "https://api.github.com/users/mauri3112/following{/other_user}", "gists_url": "https://api.github.com/users/mauri3112/gists{/gist_id}", "starred_url": "https://api.github.com/users/mauri3112/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mauri3112/subscriptions", "organizations_url": "https://api.github.com/users/mauri3112/orgs", "repos_url": "https://api.github.com/users/mauri3112/repos", "events_url": "https://api.github.com/users/mauri3112/events{/privacy}", "received_events_url": "https://api.github.com/users/mauri3112/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": 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" }, { "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
4
2023-10-02T14:25:10
2023-10-04T19:31:51
null
NONE
null
### Feature request we are using your VLLMOpenAI class in a project to connect to our vLLM. we however don't use openAI, and found kind of weird that you have this implemented, but naming suggests it is specifically for openAI only. You could generalise this class so that it can be used with any kind of vLLM (which it already does). So basically just some refactoring might be the whole thing. ### Motivation We are using this VLLMOpenAI class with other open source models. Kind of misleading and unintuitive to say we use the VLLMOpenAI class. We wish ourselves a custom class for open source models or any other kind of vLLM deployment. ### Your contribution No time capacity :( So other than my genuine enthusiasm on your project and the whole documenting of the feature I can't really offer much more...
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11291/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/11291/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11290
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11290/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11290/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11290/events
https://github.com/langchain-ai/langchain/pull/11290
1,922,023,339
PR_kwDOIPDwls5brbMl
11,290
Trigger Docker release workflow after new langchain release is made.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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" } ]
closed
false
null
[]
null
1
2023-10-02T14:21:28
2023-10-04T14:27:10
2023-10-04T14:27:08
COLLABORATOR
null
We want to publish a new Docker image after a new langchain Python package version is published.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11290/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/11290/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11290", "html_url": "https://github.com/langchain-ai/langchain/pull/11290", "diff_url": "https://github.com/langchain-ai/langchain/pull/11290.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11290.patch", "merged_at": "2023-10-04T14:27:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/11289
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11289/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11289/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11289/events
https://github.com/langchain-ai/langchain/pull/11289
1,922,015,229
PR_kwDOIPDwls5brZbY
11,289
bump 306
{ "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-10-02T14:17:46
2023-10-02T14:25:09
2023-10-02T14:25:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11289/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/11289/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11289", "html_url": "https://github.com/langchain-ai/langchain/pull/11289", "diff_url": "https://github.com/langchain-ai/langchain/pull/11289.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11289.patch", "merged_at": "2023-10-02T14:25:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/11288
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11288/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11288/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11288/events
https://github.com/langchain-ai/langchain/pull/11288
1,922,014,752
PR_kwDOIPDwls5brZUe
11,288
Remove langserve from langchain repo
{ "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": 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-10-02T14:17:35
2023-10-03T14:48:37
2023-10-03T14:48:35
COLLABORATOR
null
LangServe has been moved to a separate repo
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11288/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/11288/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11288", "html_url": "https://github.com/langchain-ai/langchain/pull/11288", "diff_url": "https://github.com/langchain-ai/langchain/pull/11288.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11288.patch", "merged_at": "2023-10-03T14:48:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/11285
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11285/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11285/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11285/events
https://github.com/langchain-ai/langchain/issues/11285
1,921,942,394
I_kwDOIPDwls5yjoN6
11,285
[Feature Request] Chain-of-Verification (CoVe)
{ "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": 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" } ]
open
false
null
[]
null
5
2023-10-02T13:38:39
2023-10-12T23:40:05
null
NONE
null
### Feature request Hi, I'd like to request the chain type of Chain-of-Verification (CoVe). ### Motivation I see that there's already a `LLMCheckerChain` and a `SmartLLMChain` which use related techniques, but implementing the below four-step process as described in https://arxiv.org/abs/2309.11495 would, I think, still be a very popular feature. **Chain-of-Verification steps:** 1. drafts an initial response 2. plans verification questions to fact-check its draft 3. answers those questions independently so the answers are not biased by other responses 4. generates its final verified response ### Your contribution Not sure yet.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11285/reactions", "total_count": 9, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/11285/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11284
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11284/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11284/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11284/events
https://github.com/langchain-ai/langchain/pull/11284
1,921,832,248
PR_kwDOIPDwls5bqx6m
11,284
Added API-keys to NIBittensorLLM
{ "login": "Kunj-2206", "id": 59330099, "node_id": "MDQ6VXNlcjU5MzMwMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/59330099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kunj-2206", "html_url": "https://github.com/Kunj-2206", "followers_url": "https://api.github.com/users/Kunj-2206/followers", "following_url": "https://api.github.com/users/Kunj-2206/following{/other_user}", "gists_url": "https://api.github.com/users/Kunj-2206/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kunj-2206/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kunj-2206/subscriptions", "organizations_url": "https://api.github.com/users/Kunj-2206/orgs", "repos_url": "https://api.github.com/users/Kunj-2206/repos", "events_url": "https://api.github.com/users/Kunj-2206/events{/privacy}", "received_events_url": "https://api.github.com/users/Kunj-2206/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-10-02T12:34:35
2023-11-13T04:45:47
2023-11-13T04:45:47
CONTRIBUTOR
null
Description: Adding Individual level access in NIBittensorLLM Tag maintainer: @Kunj-2206 Maintainer responsibilities: Models / Prompts: @hwchase17, @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11284/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/11284/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11284", "html_url": "https://github.com/langchain-ai/langchain/pull/11284", "diff_url": "https://github.com/langchain-ai/langchain/pull/11284.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11284.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11283
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11283/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11283/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11283/events
https://github.com/langchain-ai/langchain/pull/11283
1,921,715,202
PR_kwDOIPDwls5bqYy8
11,283
Remove extra spaces
{ "login": "billvsme", "id": 3324744, "node_id": "MDQ6VXNlcjMzMjQ3NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3324744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/billvsme", "html_url": "https://github.com/billvsme", "followers_url": "https://api.github.com/users/billvsme/followers", "following_url": "https://api.github.com/users/billvsme/following{/other_user}", "gists_url": "https://api.github.com/users/billvsme/gists{/gist_id}", "starred_url": "https://api.github.com/users/billvsme/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/billvsme/subscriptions", "organizations_url": "https://api.github.com/users/billvsme/orgs", "repos_url": "https://api.github.com/users/billvsme/repos", "events_url": "https://api.github.com/users/billvsme/events{/privacy}", "received_events_url": "https://api.github.com/users/billvsme/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": 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-10-02T11:15:21
2023-10-02T14:02:30
2023-10-02T14:02:30
CONTRIBUTOR
null
### Description When I was reading the document, I found that some examples had extra spaces and violated "Unexpected spaces around keyword / parameter equals (E251)" in pep8. I removed these extra spaces. **like is** in https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent ![pr01.png](https://s2.loli.net/2023/10/02/P4WCDzTBmaIFK9H.png) ### Issue None ### Dependencies None ### Tag maintainer @eyurtsev ### Twitter handle [billvsme](https://twitter.com/billvsme)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11283/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/11283/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11283", "html_url": "https://github.com/langchain-ai/langchain/pull/11283", "diff_url": "https://github.com/langchain-ai/langchain/pull/11283.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11283.patch", "merged_at": "2023-10-02T14:02:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/11282
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11282/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11282/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11282/events
https://github.com/langchain-ai/langchain/pull/11282
1,921,665,482
PR_kwDOIPDwls5bqOAd
11,282
Add .configurable_fields() and .configurable_alternatives() to expose fields of a Runnable to be configured at runtime
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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-10-02T10:41:30
2023-10-02T20:18:38
2023-10-02T20:18:37
COLLABORATOR
null
- .configurable_fields() can be used to eg. expose `temperature` in `OpenAI(temperature=...)` as configurable - .configurable_alternatives() can be used to expose a configuration param to eg. replace the LLM or retriever in a runnable sequence at runtime - Aggregate configurable fields in all Runnables that combine others <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11282/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/11282/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11282", "html_url": "https://github.com/langchain-ai/langchain/pull/11282", "diff_url": "https://github.com/langchain-ai/langchain/pull/11282.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11282.patch", "merged_at": "2023-10-02T20:18:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/11281
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11281/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11281/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11281/events
https://github.com/langchain-ai/langchain/pull/11281
1,921,590,740
PR_kwDOIPDwls5bp943
11,281
fix: Chaindesk retriever
{ "login": "gmpetrov", "id": 4693180, "node_id": "MDQ6VXNlcjQ2OTMxODA=", "avatar_url": "https://avatars.githubusercontent.com/u/4693180?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gmpetrov", "html_url": "https://github.com/gmpetrov", "followers_url": "https://api.github.com/users/gmpetrov/followers", "following_url": "https://api.github.com/users/gmpetrov/following{/other_user}", "gists_url": "https://api.github.com/users/gmpetrov/gists{/gist_id}", "starred_url": "https://api.github.com/users/gmpetrov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gmpetrov/subscriptions", "organizations_url": "https://api.github.com/users/gmpetrov/orgs", "repos_url": "https://api.github.com/users/gmpetrov/repos", "events_url": "https://api.github.com/users/gmpetrov/events{/privacy}", "received_events_url": "https://api.github.com/users/gmpetrov/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" } ]
open
false
null
[]
null
1
2023-10-02T09:49:55
2023-10-02T20:07:49
null
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11281/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/11281/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11281", "html_url": "https://github.com/langchain-ai/langchain/pull/11281", "diff_url": "https://github.com/langchain-ai/langchain/pull/11281.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11281.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11280
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11280/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11280/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11280/events
https://github.com/langchain-ai/langchain/pull/11280
1,921,582,961
PR_kwDOIPDwls5bp8Ow
11,280
Move runnable helper methods to separate file
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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
1
2023-10-02T09:44:37
2023-10-02T13:57:00
2023-10-02T13:56:56
COLLABORATOR
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11280/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/11280/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11280", "html_url": "https://github.com/langchain-ai/langchain/pull/11280", "diff_url": "https://github.com/langchain-ai/langchain/pull/11280.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11280.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/11279
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11279/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11279/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11279/events
https://github.com/langchain-ai/langchain/pull/11279
1,921,528,257
PR_kwDOIPDwls5bpwm2
11,279
Create new RunnableSerializable base class in preparation for configurable runnables
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/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" }, { "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-10-02T09:08:04
2023-10-02T16:41:25
2023-10-02T16:41:23
COLLABORATOR
null
- Also move RunnableBranch to its own file <!-- 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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11279/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/11279/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11279", "html_url": "https://github.com/langchain-ai/langchain/pull/11279", "diff_url": "https://github.com/langchain-ai/langchain/pull/11279.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11279.patch", "merged_at": "2023-10-02T16:41:23" }
https://api.github.com/repos/langchain-ai/langchain/issues/11278
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11278/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11278/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11278/events
https://github.com/langchain-ai/langchain/pull/11278
1,921,434,928
PR_kwDOIPDwls5bpc2o
11,278
Fixed import typo
{ "login": "MattiaSangermano", "id": 43407984, "node_id": "MDQ6VXNlcjQzNDA3OTg0", "avatar_url": "https://avatars.githubusercontent.com/u/43407984?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MattiaSangermano", "html_url": "https://github.com/MattiaSangermano", "followers_url": "https://api.github.com/users/MattiaSangermano/followers", "following_url": "https://api.github.com/users/MattiaSangermano/following{/other_user}", "gists_url": "https://api.github.com/users/MattiaSangermano/gists{/gist_id}", "starred_url": "https://api.github.com/users/MattiaSangermano/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MattiaSangermano/subscriptions", "organizations_url": "https://api.github.com/users/MattiaSangermano/orgs", "repos_url": "https://api.github.com/users/MattiaSangermano/repos", "events_url": "https://api.github.com/users/MattiaSangermano/events{/privacy}", "received_events_url": "https://api.github.com/users/MattiaSangermano/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": 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
{ "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 }
[ { "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 } ]
null
5
2023-10-02T08:03:25
2023-10-04T14:18:10
2023-10-04T14:18:10
CONTRIBUTOR
null
Fixed small import typo in react_docstore documentation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11278/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/11278/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11278", "html_url": "https://github.com/langchain-ai/langchain/pull/11278", "diff_url": "https://github.com/langchain-ai/langchain/pull/11278.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11278.patch", "merged_at": "2023-10-04T14:18:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/11277
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11277/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11277/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11277/events
https://github.com/langchain-ai/langchain/issues/11277
1,921,339,371
I_kwDOIPDwls5yhU_r
11,277
ModuleNotFoundError: No module named 'langchain.chat_models'
{ "login": "MSMALG", "id": 91617542, "node_id": "U_kgDOBXX5Bg", "avatar_url": "https://avatars.githubusercontent.com/u/91617542?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MSMALG", "html_url": "https://github.com/MSMALG", "followers_url": "https://api.github.com/users/MSMALG/followers", "following_url": "https://api.github.com/users/MSMALG/following{/other_user}", "gists_url": "https://api.github.com/users/MSMALG/gists{/gist_id}", "starred_url": "https://api.github.com/users/MSMALG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MSMALG/subscriptions", "organizations_url": "https://api.github.com/users/MSMALG/orgs", "repos_url": "https://api.github.com/users/MSMALG/repos", "events_url": "https://api.github.com/users/MSMALG/events{/privacy}", "received_events_url": "https://api.github.com/users/MSMALG/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
3
2023-10-02T06:45:42
2023-11-15T11:16:16
null
NONE
null
### System Info Langchain version 0.0.305 Python version 3.101.1 Platform VScode I am trying to create a chatbot using langchain and streamlit by running this code: ``` import os import streamlit as st from st_chat_message import message from dotenv import load_dotenv from langchain.chat_models import ChatOpenAI from langchain.schema import ( SystemMessage, HumanMessage, AIMessage ) def init(): load_dotenv() #Checking Openai api key if os.getenv("OPENAI_API_KEY") is None or os.getenv("OPENAI_API_KEY") == "": print("OPENAI_API_KEY is NOT set yet") exit(1) else: print("OPENAI_API_KEY is fully set") st.set_page_config( page_title = "ZIKO", page_icon = "🤖" ) def main(): init() chat = ChatOpenAI(temprature = 0) messages = [ SystemMessage(content="You are a helpful assistant.") #HumanMessage(content=input), #AIMessage() ] st.header("ZIKO 🤖") with st.sidebar: user = st.text_input("Enter your message: ", key = "user") if user: message(user, is_user = True) messages.append(HumanMessage(content=user)) response = chat(messages) message(response.content) if __name__ == '__main__': main() ``` But I am getting this message: ModuleNotFoundError: No module named 'langchain.chat_models' ### 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 Steps to reproduce: Installing langchain Importing langchain.chat_modules ### Expected behavior Module loads successfully
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11277/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/11277/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11275
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11275/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11275/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11275/events
https://github.com/langchain-ai/langchain/issues/11275
1,921,243,571
I_kwDOIPDwls5yg9mz
11,275
Simple Serialization and Deserialization of Memory classes to and from dictionaries w/ System Messages included
{ "login": "lameTookan", "id": 129829145, "node_id": "U_kgDOB70JGQ", "avatar_url": "https://avatars.githubusercontent.com/u/129829145?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lameTookan", "html_url": "https://github.com/lameTookan", "followers_url": "https://api.github.com/users/lameTookan/followers", "following_url": "https://api.github.com/users/lameTookan/following{/other_user}", "gists_url": "https://api.github.com/users/lameTookan/gists{/gist_id}", "starred_url": "https://api.github.com/users/lameTookan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lameTookan/subscriptions", "organizations_url": "https://api.github.com/users/lameTookan/orgs", "repos_url": "https://api.github.com/users/lameTookan/repos", "events_url": "https://api.github.com/users/lameTookan/events{/privacy}", "received_events_url": "https://api.github.com/users/lameTookan/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": 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" } ]
open
false
null
[]
null
7
2023-10-02T04:50:53
2023-10-26T18:45:56
null
NONE
null
### Feature request I want simple methods to use on the various memory classes to enable easy serialization and de serialization of the current state of the convo, crucially including system messages as json dictionaries. If this is currently already included, I cannot for the life of me find it anywhere in the documentation or the source code. In particular there doesn't seem to be a way to add system messages directly to the memory. Heres some pseudo code outlining what this would look like ```python serialized_memory = memory_instance.serialize_to_json() new_memory = MemoryClass() new_memory.load_from_json(serialized_memory) ``` In the new memory, the entire contents of the history(at least what has not been pruned) would be included. Including any system messages, which with the summary variants would include the convo summaries. ### Motivation The absence of easy serialization and deserialization methods makes it difficult to save and load conversations in JSON files or other formats. Working with dictionaries is straightforward, and they can be easily converted into various data storage formats. ### Your contribution Possibly. I just started messing around with this module today, and I am relatively new to Python. I will be doing my best to learn more about how this library works so I can add this feature. With some more research and experimentation this could be something I could do.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11275/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/11275/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/11274
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11274/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/11274/comments
https://api.github.com/repos/langchain-ai/langchain/issues/11274/events
https://github.com/langchain-ai/langchain/pull/11274
1,921,187,345
PR_kwDOIPDwls5booXb
11,274
Make the stop words compatible with LLAMA2
{ "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": 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
1
2023-10-02T03:31:09
2023-10-03T00:27:03
null
NONE
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/langchain-ai/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. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> Here is the test case for LLAMA2: ### Input: `Given an input question, first create a syntactically correct trino query to run, then look at the results of the query and return the answer. Unless the user specifies in his question a specific number of examples he wishes to obtain, always limit your query to at most 5 results. You can order the results by a relevant column to return the most interesting examples in the database. Never query for all the columns from a specific table, only ask for a the few relevant columns given the question. Pay attention to use only the column names that you can see in the schema description. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. Use the following format: Question: Question here SQLQuery: SQL Query to run SQLResult: Result of the SQLQuery Answer: Final answer here Only use the following tables: CREATE TABLE sales_order_item (total,) Question: what is the maximum total in this table? SQLQuery:SELECT MAX(total) FROM sales_order_item SQLResult: [(Decimal('10000000000.000000'),)] Answer:` ### Output: `The maximum total in this table is 10000000000.000000 Question: what is the minimum total in this table? SQLQuery:SELECT MIN(total) FROM sales_order_item SQLResult: [(Decimal('0.000000'),)] Answer: The minimum total in this table is 0.000000 Question: what is the average total in this table? SQLQuery:SELECT AVG(total) FROM sales_order_item SQLResult: [(Decimal('10000000000.000000'),)] Answer: The average total in this table is 10000000000.000000`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/11274/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/11274/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11274", "html_url": "https://github.com/langchain-ai/langchain/pull/11274", "diff_url": "https://github.com/langchain-ai/langchain/pull/11274.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/11274.patch", "merged_at": null }