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/10604
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10604/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10604/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10604/events
https://github.com/langchain-ai/langchain/pull/10604
1,897,374,050
PR_kwDOIPDwls5aYrWT
10,604
bump 291
{ "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-09-14T22:02:07
2023-09-14T22:06:54
2023-09-14T22:06:53
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10604/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/10604/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10604", "html_url": "https://github.com/langchain-ai/langchain/pull/10604", "diff_url": "https://github.com/langchain-ai/langchain/pull/10604.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10604.patch", "merged_at": "2023-09-14T22:06:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/10603
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10603/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10603/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10603/events
https://github.com/langchain-ai/langchain/pull/10603
1,897,370,756
PR_kwDOIPDwls5aYqlx
10,603
Replicate params 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
1
2023-09-14T22:00:17
2023-09-14T22:04:44
2023-09-14T22:04:43
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10603/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/10603/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10603", "html_url": "https://github.com/langchain-ai/langchain/pull/10603", "diff_url": "https://github.com/langchain-ai/langchain/pull/10603.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10603.patch", "merged_at": "2023-09-14T22:04:43" }
https://api.github.com/repos/langchain-ai/langchain/issues/10602
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10602/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10602/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10602/events
https://github.com/langchain-ai/langchain/pull/10602
1,897,340,760
PR_kwDOIPDwls5aYj9G
10,602
bump 290
{ "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-09-14T21:38:36
2023-09-14T21:43:56
2023-09-14T21:43:55
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10602/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/10602/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10602", "html_url": "https://github.com/langchain-ai/langchain/pull/10602", "diff_url": "https://github.com/langchain-ai/langchain/pull/10602.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10602.patch", "merged_at": "2023-09-14T21:43:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/10601
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10601/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10601/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10601/events
https://github.com/langchain-ai/langchain/pull/10601
1,897,328,607
PR_kwDOIPDwls5aYhXb
10,601
Adding Meroka Transformer
{ "login": "rsanaie", "id": 1197498, "node_id": "MDQ6VXNlcjExOTc0OTg=", "avatar_url": "https://avatars.githubusercontent.com/u/1197498?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rsanaie", "html_url": "https://github.com/rsanaie", "followers_url": "https://api.github.com/users/rsanaie/followers", "following_url": "https://api.github.com/users/rsanaie/following{/other_user}", "gists_url": "https://api.github.com/users/rsanaie/gists{/gist_id}", "starred_url": "https://api.github.com/users/rsanaie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rsanaie/subscriptions", "organizations_url": "https://api.github.com/users/rsanaie/orgs", "repos_url": "https://api.github.com/users/rsanaie/repos", "events_url": "https://api.github.com/users/rsanaie/events{/privacy}", "received_events_url": "https://api.github.com/users/rsanaie/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
3
2023-09-14T21:26:17
2023-09-28T22:34:38
2023-09-28T22:34:38
CONTRIBUTOR
null
Meroka Managed Security: Enjoy all the benefits that AI and LLM based platforms have to offer, while maintaining a high standard for your privacy and compliance needs Meroka provides software vendors that use LangChain, the ability for their users to have fine grain control over how their sensitive data (PII/PHI/etc) are being handled by the vendor. They will also gain visibility and insight, around how to improve their data hygiene Twitter: @RayzerCA
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10601/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/10601/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10601", "html_url": "https://github.com/langchain-ai/langchain/pull/10601", "diff_url": "https://github.com/langchain-ai/langchain/pull/10601.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10601.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10600
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10600/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10600/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10600/events
https://github.com/langchain-ai/langchain/pull/10600
1,897,322,512
PR_kwDOIPDwls5aYgFx
10,600
Improve tools
{ "login": "aiswaryasankarwork", "id": 143119412, "node_id": "U_kgDOCIfUNA", "avatar_url": "https://avatars.githubusercontent.com/u/143119412?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aiswaryasankarwork", "html_url": "https://github.com/aiswaryasankarwork", "followers_url": "https://api.github.com/users/aiswaryasankarwork/followers", "following_url": "https://api.github.com/users/aiswaryasankarwork/following{/other_user}", "gists_url": "https://api.github.com/users/aiswaryasankarwork/gists{/gist_id}", "starred_url": "https://api.github.com/users/aiswaryasankarwork/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aiswaryasankarwork/subscriptions", "organizations_url": "https://api.github.com/users/aiswaryasankarwork/orgs", "repos_url": "https://api.github.com/users/aiswaryasankarwork/repos", "events_url": "https://api.github.com/users/aiswaryasankarwork/events{/privacy}", "received_events_url": "https://api.github.com/users/aiswaryasankarwork/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-09-14T21:20:16
2023-09-15T20:30:49
2023-09-15T20:20:01
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. 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/10600/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/10600/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10600", "html_url": "https://github.com/langchain-ai/langchain/pull/10600", "diff_url": "https://github.com/langchain-ai/langchain/pull/10600.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10600.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10599
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10599/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10599/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10599/events
https://github.com/langchain-ai/langchain/pull/10599
1,897,312,992
PR_kwDOIPDwls5aYeD8
10,599
Bagatur/replicate kwargs
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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-09-14T21:11:09
2023-09-14T21:43:43
2023-09-14T21:43: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/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. 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/10599/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/10599/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10599", "html_url": "https://github.com/langchain-ai/langchain/pull/10599", "diff_url": "https://github.com/langchain-ai/langchain/pull/10599.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10599.patch", "merged_at": "2023-09-14T21:43:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/10598
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10598/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10598/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10598/events
https://github.com/langchain-ai/langchain/pull/10598
1,897,300,413
PR_kwDOIPDwls5aYbXw
10,598
fix replicate output type
{ "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
1
2023-09-14T20:59:37
2023-09-14T21:02:03
2023-09-14T21:02:02
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10598/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/10598/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10598", "html_url": "https://github.com/langchain-ai/langchain/pull/10598", "diff_url": "https://github.com/langchain-ai/langchain/pull/10598.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10598.patch", "merged_at": "2023-09-14T21:02:02" }
https://api.github.com/repos/langchain-ai/langchain/issues/10597
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10597/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10597/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10597/events
https://github.com/langchain-ai/langchain/pull/10597
1,897,268,437
PR_kwDOIPDwls5aYU2d
10,597
Refactor Fireworks and add ChatFireworks (#3)
{ "login": "ZixinYang", "id": 17904229, "node_id": "MDQ6VXNlcjE3OTA0MjI5", "avatar_url": "https://avatars.githubusercontent.com/u/17904229?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZixinYang", "html_url": "https://github.com/ZixinYang", "followers_url": "https://api.github.com/users/ZixinYang/followers", "following_url": "https://api.github.com/users/ZixinYang/following{/other_user}", "gists_url": "https://api.github.com/users/ZixinYang/gists{/gist_id}", "starred_url": "https://api.github.com/users/ZixinYang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZixinYang/subscriptions", "organizations_url": "https://api.github.com/users/ZixinYang/orgs", "repos_url": "https://api.github.com/users/ZixinYang/repos", "events_url": "https://api.github.com/users/ZixinYang/events{/privacy}", "received_events_url": "https://api.github.com/users/ZixinYang/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-09-14T20:34:08
2023-09-27T03:11:55
2023-09-27T03:11:55
CONTRIBUTOR
null
Description * Refactor Fireworks within Langchain LLMs. * Remove FireworksChat within Langchain LLMs. * Add ChatFireworks (which uses chat completion api) to Langchain chat models. * Users have to install `fireworks-ai` and register an api key to use the api. Issue - Not applicable Dependencies - None Tag maintainer - @rlancemartin @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10597/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/10597/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10597", "html_url": "https://github.com/langchain-ai/langchain/pull/10597", "diff_url": "https://github.com/langchain-ai/langchain/pull/10597.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10597.patch", "merged_at": "2023-09-27T03:11:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/10596
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10596/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10596/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10596/events
https://github.com/langchain-ai/langchain/pull/10596
1,897,214,892
PR_kwDOIPDwls5aYJYh
10,596
vertex default model_name changed to the stable version
{ "login": "gabrielahrlr", "id": 9153927, "node_id": "MDQ6VXNlcjkxNTM5Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/9153927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gabrielahrlr", "html_url": "https://github.com/gabrielahrlr", "followers_url": "https://api.github.com/users/gabrielahrlr/followers", "following_url": "https://api.github.com/users/gabrielahrlr/following{/other_user}", "gists_url": "https://api.github.com/users/gabrielahrlr/gists{/gist_id}", "starred_url": "https://api.github.com/users/gabrielahrlr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrielahrlr/subscriptions", "organizations_url": "https://api.github.com/users/gabrielahrlr/orgs", "repos_url": "https://api.github.com/users/gabrielahrlr/repos", "events_url": "https://api.github.com/users/gabrielahrlr/events{/privacy}", "received_events_url": "https://api.github.com/users/gabrielahrlr/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" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
2
2023-09-14T19:57:27
2023-11-20T15:32:47
null
NONE
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** the default model_name for VertexAI llm is "text-bison", this model points to text-bison@latest, which is NOT the stable version of text-bison., - **Issue:** llm results when no model_name are not stable, as it is pointing to the latest/experimental model and not to the stable version , - **Dependencies:** no, - **Tag maintainer:** - **Twitter handle:** Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10596/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/10596/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10596", "html_url": "https://github.com/langchain-ai/langchain/pull/10596", "diff_url": "https://github.com/langchain-ai/langchain/pull/10596.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10596.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10595
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10595/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10595/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10595/events
https://github.com/langchain-ai/langchain/pull/10595
1,897,192,980
PR_kwDOIPDwls5aYErW
10,595
Fixed some grammatical and spelling 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": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-14T19:40:56
2023-09-15T00:43:37
2023-09-15T00:43:37
CONTRIBUTOR
null
Fixed some grammatical and spelling errors @baskaryan, @eyurtsev.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10595/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/10595/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10595", "html_url": "https://github.com/langchain-ai/langchain/pull/10595", "diff_url": "https://github.com/langchain-ai/langchain/pull/10595.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10595.patch", "merged_at": "2023-09-15T00:43:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/10594
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10594/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10594/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10594/events
https://github.com/langchain-ai/langchain/pull/10594
1,897,179,182
PR_kwDOIPDwls5aYBug
10,594
RunnableBranch
{ "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": 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-09-14T19:30:19
2023-09-18T15:31:08
2023-09-18T15:31:07
COLLABORATOR
null
Runnable Branch implementation, no streaming logic yet
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10594/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/10594/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10594", "html_url": "https://github.com/langchain-ai/langchain/pull/10594", "diff_url": "https://github.com/langchain-ai/langchain/pull/10594.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10594.patch", "merged_at": "2023-09-18T15:31:07" }
https://api.github.com/repos/langchain-ai/langchain/issues/10593
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10593/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10593/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10593/events
https://github.com/langchain-ai/langchain/pull/10593
1,897,151,661
PR_kwDOIPDwls5aX8C2
10,593
Fix intermediate steps example in docs : replaced json.dumps with Langchain's dumps()
{ "login": "jeremynac", "id": 63456504, "node_id": "MDQ6VXNlcjYzNDU2NTA0", "avatar_url": "https://avatars.githubusercontent.com/u/63456504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jeremynac", "html_url": "https://github.com/jeremynac", "followers_url": "https://api.github.com/users/jeremynac/followers", "following_url": "https://api.github.com/users/jeremynac/following{/other_user}", "gists_url": "https://api.github.com/users/jeremynac/gists{/gist_id}", "starred_url": "https://api.github.com/users/jeremynac/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeremynac/subscriptions", "organizations_url": "https://api.github.com/users/jeremynac/orgs", "repos_url": "https://api.github.com/users/jeremynac/repos", "events_url": "https://api.github.com/users/jeremynac/events{/privacy}", "received_events_url": "https://api.github.com/users/jeremynac/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-09-14T19:10:29
2023-09-27T18:00:30
2023-09-27T18:00:30
CONTRIBUTOR
null
The intermediate steps example in docs has an example on how to retrieve and display the intermediate steps. But the intermediate steps object is of type AgentAction which cannot be passed to json.dumps (it raises an error). I replaced it with Langchain's dumps function (from langchain.load.dump import dumps) which is the preferred way to do so.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10593/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/10593/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10593", "html_url": "https://github.com/langchain-ai/langchain/pull/10593", "diff_url": "https://github.com/langchain-ai/langchain/pull/10593.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10593.patch", "merged_at": "2023-09-27T18:00:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/10592
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10592/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10592/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10592/events
https://github.com/langchain-ai/langchain/pull/10592
1,897,135,258
PR_kwDOIPDwls5aX4hi
10,592
ArcGIS Summarizer
{ "login": "joshuasundance-swca", "id": 84336755, "node_id": "MDQ6VXNlcjg0MzM2NzU1", "avatar_url": "https://avatars.githubusercontent.com/u/84336755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joshuasundance-swca", "html_url": "https://github.com/joshuasundance-swca", "followers_url": "https://api.github.com/users/joshuasundance-swca/followers", "following_url": "https://api.github.com/users/joshuasundance-swca/following{/other_user}", "gists_url": "https://api.github.com/users/joshuasundance-swca/gists{/gist_id}", "starred_url": "https://api.github.com/users/joshuasundance-swca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joshuasundance-swca/subscriptions", "organizations_url": "https://api.github.com/users/joshuasundance-swca/orgs", "repos_url": "https://api.github.com/users/joshuasundance-swca/repos", "events_url": "https://api.github.com/users/joshuasundance-swca/events{/privacy}", "received_events_url": "https://api.github.com/users/joshuasundance-swca/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": 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-09-14T18:57:33
2023-09-17T17:31:20
2023-09-17T17:31:20
CONTRIBUTOR
null
This PR enhances the utility of the `ArcGISLoader` by introducing a document transformer and chains for converting query results into natural language summaries. The following features have been added: * `langchain.chains.arcgis.row.base.ArcGISRowSummaryChain` * `langchain.document_transformers.ArcGISRowSummaryTransformer` * `langchain.chains.arcgis.layer.base.ArcGISLayerSummaryInnerChain` * `langchain.chains.arcgis.layer.base.ArcGISLayerStuffSummaryChain` * Notebooks demonstrating the functionalities of these new classes
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10592/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/10592/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10592", "html_url": "https://github.com/langchain-ai/langchain/pull/10592", "diff_url": "https://github.com/langchain-ai/langchain/pull/10592.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10592.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10591
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10591/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10591/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10591/events
https://github.com/langchain-ai/langchain/pull/10591
1,897,007,598
PR_kwDOIPDwls5aXc7J
10,591
Added template_format to from_template_file
{ "login": "HTahboub", "id": 11031224, "node_id": "MDQ6VXNlcjExMDMxMjI0", "avatar_url": "https://avatars.githubusercontent.com/u/11031224?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HTahboub", "html_url": "https://github.com/HTahboub", "followers_url": "https://api.github.com/users/HTahboub/followers", "following_url": "https://api.github.com/users/HTahboub/following{/other_user}", "gists_url": "https://api.github.com/users/HTahboub/gists{/gist_id}", "starred_url": "https://api.github.com/users/HTahboub/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HTahboub/subscriptions", "organizations_url": "https://api.github.com/users/HTahboub/orgs", "repos_url": "https://api.github.com/users/HTahboub/repos", "events_url": "https://api.github.com/users/HTahboub/events{/privacy}", "received_events_url": "https://api.github.com/users/HTahboub/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
6
2023-09-14T17:24:09
2023-12-07T22:30:01
2023-12-07T22:30:01
CONTRIBUTOR
null
Issue: #10519 There is no clear reason for `PromptTemplate.from_template` and `PromptTemplate.from_file` to be implemented so differently. I added the ability to `PromptTemplate.from_file` to infer `input_variables` from the template when they are not given by using the new `template_format` parameter. Also made sure to maintain backward compatibility. Added a few tests for the new functionality.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10591/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/10591/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10591", "html_url": "https://github.com/langchain-ai/langchain/pull/10591", "diff_url": "https://github.com/langchain-ai/langchain/pull/10591.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10591.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10590
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10590/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10590/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10590/events
https://github.com/langchain-ai/langchain/issues/10590
1,896,999,033
I_kwDOIPDwls5xEeh5
10,590
Llama - n_ctx defaults to 512 even if overide passed during invocation
{ "login": "nimblestart", "id": 8524446, "node_id": "MDQ6VXNlcjg1MjQ0NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8524446?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nimblestart", "html_url": "https://github.com/nimblestart", "followers_url": "https://api.github.com/users/nimblestart/followers", "following_url": "https://api.github.com/users/nimblestart/following{/other_user}", "gists_url": "https://api.github.com/users/nimblestart/gists{/gist_id}", "starred_url": "https://api.github.com/users/nimblestart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nimblestart/subscriptions", "organizations_url": "https://api.github.com/users/nimblestart/orgs", "repos_url": "https://api.github.com/users/nimblestart/repos", "events_url": "https://api.github.com/users/nimblestart/events{/privacy}", "received_events_url": "https://api.github.com/users/nimblestart/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-14T17:17:33
2023-12-21T16:05:59
2023-12-21T16:05:58
NONE
null
### System Info Langain 0.288 Windows 11 Python 3.11 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction called using the below code, where model_n_ctx is set to 1024 llm = LlamaCpp(model_path=model_path, max_tokens=model_n_ctx, n_batch=model_n_batch, callbacks=callbacks, verbose=model_verbose, echo=True) when executing inference getting error inputs token exceed 512 ### Expected behavior called using the below code, where model_n_ctx is set to 1024 llm = LlamaCpp(model_path=model_path, max_tokens=model_n_ctx, n_batch=model_n_batch, callbacks=callbacks, verbose=model_verbose, echo=True) when executing inference getting error inputs token exceed 512
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10590/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/10590/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10589
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10589/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10589/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10589/events
https://github.com/langchain-ai/langchain/issues/10589
1,896,971,125
I_kwDOIPDwls5xEXt1
10,589
Add Google Cloud Document AI integration
{ "login": "holtskinner", "id": 13262395, "node_id": "MDQ6VXNlcjEzMjYyMzk1", "avatar_url": "https://avatars.githubusercontent.com/u/13262395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/holtskinner", "html_url": "https://github.com/holtskinner", "followers_url": "https://api.github.com/users/holtskinner/followers", "following_url": "https://api.github.com/users/holtskinner/following{/other_user}", "gists_url": "https://api.github.com/users/holtskinner/gists{/gist_id}", "starred_url": "https://api.github.com/users/holtskinner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/holtskinner/subscriptions", "organizations_url": "https://api.github.com/users/holtskinner/orgs", "repos_url": "https://api.github.com/users/holtskinner/repos", "events_url": "https://api.github.com/users/holtskinner/events{/privacy}", "received_events_url": "https://api.github.com/users/holtskinner/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": 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-09-14T16:57:14
2023-10-09T15:05:54
2023-10-09T15:05:54
CONTRIBUTOR
null
### Feature request Add integration for [Document AI](https://cloud.google.com/document-ai/docs/overview) from Google Cloud for intelligent document processing. ### Motivation This product offers Optical Character Recognition, specialized processors from specific document types, and built in Generative AI processing for Document Summarization and entity extraction. ### Your contribution I can implement this myself, I mostly want to understand where and how this could fit into the library. Should it be a document transformer? An LLM? An output parser? A Retriever? Document AI does all of these in some capacity. Document AI is designed as a platform that non-ML engineers can use to extract information from documents, and I could see several features being useful to Langchain (Like Document OCR to extract text and fields before sending it to an LLM) or using the Document AI Processors with Generative AI directly for the summarization/q&a output.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10589/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/10589/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10588
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10588/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10588/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10588/events
https://github.com/langchain-ai/langchain/pull/10588
1,896,963,859
PR_kwDOIPDwls5aXTlq
10,588
Refactor: Generated speech in-memory
{ "login": "mateusz-wosinski-ds", "id": 142883372, "node_id": "U_kgDOCIQ6LA", "avatar_url": "https://avatars.githubusercontent.com/u/142883372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mateusz-wosinski-ds", "html_url": "https://github.com/mateusz-wosinski-ds", "followers_url": "https://api.github.com/users/mateusz-wosinski-ds/followers", "following_url": "https://api.github.com/users/mateusz-wosinski-ds/following{/other_user}", "gists_url": "https://api.github.com/users/mateusz-wosinski-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/mateusz-wosinski-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mateusz-wosinski-ds/subscriptions", "organizations_url": "https://api.github.com/users/mateusz-wosinski-ds/orgs", "repos_url": "https://api.github.com/users/mateusz-wosinski-ds/repos", "events_url": "https://api.github.com/users/mateusz-wosinski-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/mateusz-wosinski-ds/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": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
2
2023-09-14T16:52:30
2023-11-30T01:10:52
2023-11-30T01:10:51
CONTRIBUTOR
null
### Description: Keeps speech in memory instead of saving it into the temporary file. - Temporary files will probably stay there forever, whereas there is no evident reason to keep them. - Demonstration notebooks have been updated according to the new implementation. ### Twitter handle: @deepsense_ai, @matt_wosinski
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10588/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/10588/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10588", "html_url": "https://github.com/langchain-ai/langchain/pull/10588", "diff_url": "https://github.com/langchain-ai/langchain/pull/10588.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10588.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10587
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10587/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10587/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10587/events
https://github.com/langchain-ai/langchain/pull/10587
1,896,864,008
PR_kwDOIPDwls5aW9zp
10,587
add routing notebook
{ "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": 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-09-14T15:52:10
2023-09-15T20:48:37
2023-09-15T20:48:36
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10587/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/10587/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10587", "html_url": "https://github.com/langchain-ai/langchain/pull/10587", "diff_url": "https://github.com/langchain-ai/langchain/pull/10587.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10587.patch", "merged_at": "2023-09-15T20:48:36" }
https://api.github.com/repos/langchain-ai/langchain/issues/10586
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10586/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10586/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10586/events
https://github.com/langchain-ai/langchain/pull/10586
1,896,851,019
PR_kwDOIPDwls5aW7BJ
10,586
bump 289
{ "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-09-14T15:45:15
2023-09-14T15:53:52
2023-09-14T15:53:50
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/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. 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/10586/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/10586/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10586", "html_url": "https://github.com/langchain-ai/langchain/pull/10586", "diff_url": "https://github.com/langchain-ai/langchain/pull/10586.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10586.patch", "merged_at": "2023-09-14T15:53:50" }
https://api.github.com/repos/langchain-ai/langchain/issues/10585
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10585/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10585/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10585/events
https://github.com/langchain-ai/langchain/pull/10585
1,896,707,639
PR_kwDOIPDwls5aWb3F
10,585
Fix typo in URL document loader example
{ "login": "0xniklas", "id": 113973095, "node_id": "U_kgDOBssXZw", "avatar_url": "https://avatars.githubusercontent.com/u/113973095?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0xniklas", "html_url": "https://github.com/0xniklas", "followers_url": "https://api.github.com/users/0xniklas/followers", "following_url": "https://api.github.com/users/0xniklas/following{/other_user}", "gists_url": "https://api.github.com/users/0xniklas/gists{/gist_id}", "starred_url": "https://api.github.com/users/0xniklas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xniklas/subscriptions", "organizations_url": "https://api.github.com/users/0xniklas/orgs", "repos_url": "https://api.github.com/users/0xniklas/repos", "events_url": "https://api.github.com/users/0xniklas/events{/privacy}", "received_events_url": "https://api.github.com/users/0xniklas/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
2
2023-09-14T14:33:29
2023-09-21T18:35:34
2023-09-21T18:35:27
CONTRIBUTOR
null
- **Description:** Fix typo in URL document loader example - **Issue:** N/A - **Dependencies:** N/A - **Tag maintainer:** not urgent
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10585/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/10585/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10585", "html_url": "https://github.com/langchain-ai/langchain/pull/10585", "diff_url": "https://github.com/langchain-ai/langchain/pull/10585.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10585.patch", "merged_at": "2023-09-21T18:35:27" }
https://api.github.com/repos/langchain-ai/langchain/issues/10584
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10584/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10584/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10584/events
https://github.com/langchain-ai/langchain/pull/10584
1,896,690,048
PR_kwDOIPDwls5aWYFc
10,584
Refactor/clickup
{ "login": "rodrigo-clickup", "id": 141281053, "node_id": "U_kgDOCGvHHQ", "avatar_url": "https://avatars.githubusercontent.com/u/141281053?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rodrigo-clickup", "html_url": "https://github.com/rodrigo-clickup", "followers_url": "https://api.github.com/users/rodrigo-clickup/followers", "following_url": "https://api.github.com/users/rodrigo-clickup/following{/other_user}", "gists_url": "https://api.github.com/users/rodrigo-clickup/gists{/gist_id}", "starred_url": "https://api.github.com/users/rodrigo-clickup/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rodrigo-clickup/subscriptions", "organizations_url": "https://api.github.com/users/rodrigo-clickup/orgs", "repos_url": "https://api.github.com/users/rodrigo-clickup/repos", "events_url": "https://api.github.com/users/rodrigo-clickup/events{/privacy}", "received_events_url": "https://api.github.com/users/rodrigo-clickup/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
1
2023-09-14T14:24:19
2023-09-14T14:24:47
2023-09-14T14:24:47
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10584/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/10584/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10584", "html_url": "https://github.com/langchain-ai/langchain/pull/10584", "diff_url": "https://github.com/langchain-ai/langchain/pull/10584.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10584.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10583
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10583/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10583/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10583/events
https://github.com/langchain-ai/langchain/issues/10583
1,896,687,080
I_kwDOIPDwls5xDSXo
10,583
PythonAstREPLTool won't execute code with functions/lambdas
{ "login": "ivandkh", "id": 23613107, "node_id": "MDQ6VXNlcjIzNjEzMTA3", "avatar_url": "https://avatars.githubusercontent.com/u/23613107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ivandkh", "html_url": "https://github.com/ivandkh", "followers_url": "https://api.github.com/users/ivandkh/followers", "following_url": "https://api.github.com/users/ivandkh/following{/other_user}", "gists_url": "https://api.github.com/users/ivandkh/gists{/gist_id}", "starred_url": "https://api.github.com/users/ivandkh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivandkh/subscriptions", "organizations_url": "https://api.github.com/users/ivandkh/orgs", "repos_url": "https://api.github.com/users/ivandkh/repos", "events_url": "https://api.github.com/users/ivandkh/events{/privacy}", "received_events_url": "https://api.github.com/users/ivandkh/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
3
2023-09-14T14:22:45
2023-12-25T16:08:00
2023-12-25T16:07:59
NONE
null
### System Info langchain==0.0.288 python==3.10 This bug is reproducible on older langchain version (0.0.240) and different os (Windows, Debian). ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat 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 ```python from langchain.tools.python.tool import PythonAstREPLTool query = """ import pandas as pd import random import string def generate_random_text(): return ''.join(random.choices(string.ascii_letters + string.digits, k=128)) df = pd.DataFrame({ 'Column1': [generate_random_text() for _ in range(1000)], 'Column2': [generate_random_text() for _ in range(1000)], 'Column3': [generate_random_text() for _ in range(1000)] }) df """ ast_repl = PythonAstREPLTool() ast_repl(query) >>> "NameError: name 'generate_random_text' is not defined" ``` ### Expected behavior I expect it to return a df.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10583/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/10583/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10582
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10582/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10582/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10582/events
https://github.com/langchain-ai/langchain/issues/10582
1,896,670,788
I_kwDOIPDwls5xDOZE
10,582
Issue: an agent that can get the current time
{ "login": "isayahc", "id": 18591926, "node_id": "MDQ6VXNlcjE4NTkxOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/18591926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isayahc", "html_url": "https://github.com/isayahc", "followers_url": "https://api.github.com/users/isayahc/followers", "following_url": "https://api.github.com/users/isayahc/following{/other_user}", "gists_url": "https://api.github.com/users/isayahc/gists{/gist_id}", "starred_url": "https://api.github.com/users/isayahc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/isayahc/subscriptions", "organizations_url": "https://api.github.com/users/isayahc/orgs", "repos_url": "https://api.github.com/users/isayahc/repos", "events_url": "https://api.github.com/users/isayahc/events{/privacy}", "received_events_url": "https://api.github.com/users/isayahc/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": 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
5
2023-09-14T14:14:19
2023-09-27T17:30:33
2023-09-27T17:30:33
NONE
null
### Issue you'd like to raise. I am building an agent and need a tool that can get give the agent access to the current datetime. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10582/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/10582/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10581
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10581/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10581/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10581/events
https://github.com/langchain-ai/langchain/issues/10581
1,896,670,748
I_kwDOIPDwls5xDOYc
10,581
Is score return from similarity_search_with_score in Weaviate is really cosine distance?
{ "login": "cyc00518", "id": 96753147, "node_id": "U_kgDOBcRV-w", "avatar_url": "https://avatars.githubusercontent.com/u/96753147?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cyc00518", "html_url": "https://github.com/cyc00518", "followers_url": "https://api.github.com/users/cyc00518/followers", "following_url": "https://api.github.com/users/cyc00518/following{/other_user}", "gists_url": "https://api.github.com/users/cyc00518/gists{/gist_id}", "starred_url": "https://api.github.com/users/cyc00518/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cyc00518/subscriptions", "organizations_url": "https://api.github.com/users/cyc00518/orgs", "repos_url": "https://api.github.com/users/cyc00518/repos", "events_url": "https://api.github.com/users/cyc00518/events{/privacy}", "received_events_url": "https://api.github.com/users/cyc00518/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": 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": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
4
2023-09-14T14:14:17
2023-12-25T16:08:05
2023-12-25T16:08:04
NONE
null
### System Info langchain = 0.0.288 python = 3.8.0 ### Who can help? @hwchase17 @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I'm sorry, I'm not very familiar with this field, but I don't quite understand how the description of this function differs from its actual operation. ``` def similarity_search_with_score( self, query: str, k: int = 4, **kwargs: Any ) -> List[Tuple[Document, float]]: """ Return list of documents most similar to the query text and cosine distance in float for each. Lower score represents more similarity. """ if self._embedding is None: raise ValueError( "_embedding cannot be None for similarity_search_with_score" ) content: Dict[str, Any] = {"concepts": [query]} if kwargs.get("search_distance"): content["certainty"] = kwargs.get("search_distance") query_obj = self._client.query.get(self._index_name, self._query_attrs) if kwargs.get("where_filter"): query_obj = query_obj.with_where(kwargs.get("where_filter")) embedded_query = self._embedding.embed_query(query) if not self._by_text: vector = {"vector": embedded_query} result = ( query_obj.with_near_vector(vector) .with_limit(k) .with_additional("vector") .do() ) else: result = ( query_obj.with_near_text(content) .with_limit(k) .with_additional("vector") .do() ) if "errors" in result: raise ValueError(f"Error during query: {result['errors']}") docs_and_scores = [] for res in result["data"]["Get"][self._index_name]: text = res.pop(self._text_key) score = np.dot(res["_additional"]["vector"], embedded_query) docs_and_scores.append((Document(page_content=text, metadata=res), score)) return docs_and_scores ``` ### Expected behavior `score = np.dot(res["_additional"]["vector"], embedded_query)` As you can see, the description mentions that the `score` corresponds to `cosine distance`, but the `code` seems to only calculate the `dot product`. Am I missing something? And Here is some definition from Weaviate: [https://weaviate.io/blog/distance-metrics-in-vector-search#cosine-similarity](url) ![image](https://github.com/langchain-ai/langchain/assets/96753147/bee3b733-6bb5-4a9e-80f6-aa9179659393) Thanks for your kind help!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10581/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/10581/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10580
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10580/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10580/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10580/events
https://github.com/langchain-ai/langchain/issues/10580
1,896,548,466
I_kwDOIPDwls5xCwhy
10,580
GoogleCloudEnterpriseSearchRetriever fails to where location is "us"
{ "login": "Adi8885", "id": 31382824, "node_id": "MDQ6VXNlcjMxMzgyODI0", "avatar_url": "https://avatars.githubusercontent.com/u/31382824?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Adi8885", "html_url": "https://github.com/Adi8885", "followers_url": "https://api.github.com/users/Adi8885/followers", "following_url": "https://api.github.com/users/Adi8885/following{/other_user}", "gists_url": "https://api.github.com/users/Adi8885/gists{/gist_id}", "starred_url": "https://api.github.com/users/Adi8885/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Adi8885/subscriptions", "organizations_url": "https://api.github.com/users/Adi8885/orgs", "repos_url": "https://api.github.com/users/Adi8885/repos", "events_url": "https://api.github.com/users/Adi8885/events{/privacy}", "received_events_url": "https://api.github.com/users/Adi8885/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-09-14T13:11:37
2023-11-01T05:59:16
2023-11-01T05:59:16
NONE
null
### System Info 'OS_NAME': 'DEBIAN_10' Langchain version : '0.0.288' python : 3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction This issue only occurs when region != "global". The retriever works well when region is set to "global" Steps to reproduce : 1. Create a Enterprise search App with region = 'us' ![BHJRUwAReLjYUxb](https://github.com/langchain-ai/langchain/assets/31382824/89dc0e15-c8ce-4d64-be4c-9087705870da) 3. Import langchain version 0.0.288 ``` import langchain from langchain.retrievers import GoogleCloudEnterpriseSearchRetriever PROJECT_ID = "<PROJECT_ID>" # Set to your Project ID SEARCH_ENGINE_ID = "<SEARCH_ENGINE_ID>"#"# Set to your data store ID retriever = GoogleCloudEnterpriseSearchRetriever( project_id=PROJECT_ID, search_engine_id=SEARCH_ENGINE_ID, max_documents=3 , location_id = "us" ) retriever.get_relevant_documents("What is capital of India?") ``` 4. Code errors out with below ``` --------------------------------------------------------------------------- _InactiveRpcError Traceback (most recent call last) File /opt/conda/envs/python310/lib/python3.10/site-packages/google/api_core/grpc_helpers.py:72, in _wrap_unary_errors.<locals>.error_remapped_callable(*args, **kwargs) 71 try: ---> 72 return callable_(*args, **kwargs) 73 except grpc.RpcError as exc: File /opt/conda/envs/python310/lib/python3.10/site-packages/grpc/_channel.py:1161, in _UnaryUnaryMultiCallable.__call__(self, request, timeout, metadata, credentials, wait_for_ready, compression) 1155 ( 1156 state, 1157 call, 1158 ) = self._blocking( 1159 request, timeout, metadata, credentials, wait_for_ready, compression 1160 ) -> 1161 return _end_unary_response_blocking(state, call, False, None) File /opt/conda/envs/python310/lib/python3.10/site-packages/grpc/_channel.py:1004, in _end_unary_response_blocking(state, call, with_call, deadline) 1003 else: -> 1004 raise _InactiveRpcError(state) _InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.NOT_FOUND details = "DataStore projects/PROJECT_ID/locations/us/collections/default_collection/dataStores/SEARCH_ENGINE_ID not found." debug_error_string = "UNKNOWN:Error received from peer ipv4:172.253.120.95:443 {created_time:"2023-09-14T12:55:00.327037809+00:00", grpc_status:5, grpc_message:"DataStore projects/PROJECT_ID/locations/us/collections/default_collection/dataStores/SEARCH_ENGINE_ID not found."}" > The above exception was the direct cause of the following exception: NotFound Traceback (most recent call last) Cell In[365], line 1 ----> 1 retriever.get_relevant_documents("What is capital of India?") File ~/.local/lib/python3.10/site-packages/langchain/schema/retriever.py:208, in BaseRetriever.get_relevant_documents(self, query, callbacks, tags, metadata, **kwargs) 206 except Exception as e: 207 run_manager.on_retriever_error(e) --> 208 raise e 209 else: 210 run_manager.on_retriever_end( 211 result, 212 **kwargs, 213 ) File ~/.local/lib/python3.10/site-packages/langchain/schema/retriever.py:201, in BaseRetriever.get_relevant_documents(self, query, callbacks, tags, metadata, **kwargs) 199 _kwargs = kwargs if self._expects_other_args else {} 200 if self._new_arg_supported: --> 201 result = self._get_relevant_documents( 202 query, run_manager=run_manager, **_kwargs 203 ) 204 else: 205 result = self._get_relevant_documents(query, **_kwargs) File ~/.local/lib/python3.10/site-packages/langchain/retrievers/google_cloud_enterprise_search.py:254, in GoogleCloudEnterpriseSearchRetriever._get_relevant_documents(self, query, run_manager) 251 search_request = self._create_search_request(query) 253 try: --> 254 response = self._client.search(search_request) 255 except InvalidArgument as e: 256 raise type(e)( 257 e.message + " This might be due to engine_data_type not set correctly." 258 ) File /opt/conda/envs/python310/lib/python3.10/site-packages/google/cloud/discoveryengine_v1beta/services/search_service/client.py:577, in SearchServiceClient.search(self, request, retry, timeout, metadata) 570 metadata = tuple(metadata) + ( 571 gapic_v1.routing_header.to_grpc_metadata( 572 (("serving_config", request.serving_config),) 573 ), 574 ) 576 # Send the request. --> 577 response = rpc( 578 request, 579 retry=retry, 580 timeout=timeout, 581 metadata=metadata, 582 ) 584 # This method is paged; wrap the response in a pager, which provides 585 # an `__iter__` convenience method. 586 response = pagers.SearchPager( 587 method=rpc, 588 request=request, 589 response=response, 590 metadata=metadata, 591 ) File /opt/conda/envs/python310/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py:113, in _GapicCallable.__call__(self, timeout, retry, *args, **kwargs) 110 metadata.extend(self._metadata) 111 kwargs["metadata"] = metadata --> 113 return wrapped_func(*args, **kwargs) File /opt/conda/envs/python310/lib/python3.10/site-packages/google/api_core/grpc_helpers.py:74, in _wrap_unary_errors.<locals>.error_remapped_callable(*args, **kwargs) 72 return callable_(*args, **kwargs) 73 except grpc.RpcError as exc: ---> 74 raise exceptions.from_grpc_error(exc) from exc NotFound: 404 DataStore projects/PROJECT_ID/locations/us/collections/default_collection/dataStores/SEARCH_ENGINE_ID not found. ``` ### Expected behavior Code should return three relevant documents from Enterprise Search
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10580/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/10580/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10579
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10579/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10579/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10579/events
https://github.com/langchain-ai/langchain/issues/10579
1,896,536,091
I_kwDOIPDwls5xCtgb
10,579
Document' object has no attribute '_lc_kwargs
{ "login": "taweijm", "id": 105797032, "node_id": "U_kgDOBk5VqA", "avatar_url": "https://avatars.githubusercontent.com/u/105797032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/taweijm", "html_url": "https://github.com/taweijm", "followers_url": "https://api.github.com/users/taweijm/followers", "following_url": "https://api.github.com/users/taweijm/following{/other_user}", "gists_url": "https://api.github.com/users/taweijm/gists{/gist_id}", "starred_url": "https://api.github.com/users/taweijm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taweijm/subscriptions", "organizations_url": "https://api.github.com/users/taweijm/orgs", "repos_url": "https://api.github.com/users/taweijm/repos", "events_url": "https://api.github.com/users/taweijm/events{/privacy}", "received_events_url": "https://api.github.com/users/taweijm/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": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
5
2023-09-14T13:04:51
2023-12-26T16:02:15
null
NONE
null
### System Info langchain version 0.0.285 langsmith version 0.0.28 Python version 3.11.2 ### Who can help? @hwchase17 ### Information - [X ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I followed tutorial in RAG cookbook with "With Memory and returning source documents" Steps for changing behaviour 1. use FAISS.from documents and save to files embeddings = OpenAIEmbeddings() vectorstore = FAISS.from_documents(documents, embeddings) vectorstore.save_local("data/faiss_index") 2. load from file embeddings = OpenAIEmbeddings() vectorstore = FAISS.load_local("data/faiss_index", embeddings) retriever = vectorstore.as_retriever() 3. error raised "Document' object has no attribute '_lc_kwargs" in step 5 final_inputs = { "context": lambda x: _combine_documents(x["docs"]), "question": itemgetter("question") } here is the screen shot when using langsmith <img width="543" alt="RAG" src="https://github.com/langchain-ai/langchain/assets/105797032/038b1b98-4dde-47a1-a79b-4061014c05a2"> ### Expected behavior Expected behaviour is LLM give result without error
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10579/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/10579/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10578
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10578/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10578/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10578/events
https://github.com/langchain-ai/langchain/pull/10578
1,896,499,689
PR_kwDOIPDwls5aVu5a
10,578
Fix typing of RecursiveUrlLoader's exclude_dirs
{ "login": "ind1go", "id": 1038350, "node_id": "MDQ6VXNlcjEwMzgzNTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1038350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ind1go", "html_url": "https://github.com/ind1go", "followers_url": "https://api.github.com/users/ind1go/followers", "following_url": "https://api.github.com/users/ind1go/following{/other_user}", "gists_url": "https://api.github.com/users/ind1go/gists{/gist_id}", "starred_url": "https://api.github.com/users/ind1go/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ind1go/subscriptions", "organizations_url": "https://api.github.com/users/ind1go/orgs", "repos_url": "https://api.github.com/users/ind1go/repos", "events_url": "https://api.github.com/users/ind1go/events{/privacy}", "received_events_url": "https://api.github.com/users/ind1go/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-14T12:44:17
2023-09-27T18:16:53
2023-09-27T18:16:53
NONE
null
- **Description:** This fixes an issue in `RecursiveUrlLoader` where a typing appears to be incorrect. The `exclude_dirs` parameter is iterated over, yet is defined as `Optional[str]` - this PR changes that to `Optional[Iterable[str]]`. - **Issue:** None - this is a find-and-fix. - **Dependencies:** None - **Tag maintainer:** Maybe @rlancemartin? - **Twitter handle:** @benc_uk
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10578/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/10578/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10578", "html_url": "https://github.com/langchain-ai/langchain/pull/10578", "diff_url": "https://github.com/langchain-ai/langchain/pull/10578.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10578.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10577
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10577/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10577/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10577/events
https://github.com/langchain-ai/langchain/pull/10577
1,896,343,360
PR_kwDOIPDwls5aVMvl
10,577
Filtering graph schema for Cypher generation
{ "login": "tomasonjo", "id": 19948365, "node_id": "MDQ6VXNlcjE5OTQ4MzY1", "avatar_url": "https://avatars.githubusercontent.com/u/19948365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomasonjo", "html_url": "https://github.com/tomasonjo", "followers_url": "https://api.github.com/users/tomasonjo/followers", "following_url": "https://api.github.com/users/tomasonjo/following{/other_user}", "gists_url": "https://api.github.com/users/tomasonjo/gists{/gist_id}", "starred_url": "https://api.github.com/users/tomasonjo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomasonjo/subscriptions", "organizations_url": "https://api.github.com/users/tomasonjo/orgs", "repos_url": "https://api.github.com/users/tomasonjo/repos", "events_url": "https://api.github.com/users/tomasonjo/events{/privacy}", "received_events_url": "https://api.github.com/users/tomasonjo/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
8
2023-09-14T11:11:38
2023-09-27T07:28:59
2023-09-25T21:14:15
CONTRIBUTOR
null
Sometimes you don't want the LLM to be aware of the whole graph schema, and want it to ignore parts of the graph when it is constructing Cypher statements. @katarinasupe @brettdbrewer : Can you check if the MemGraph integration works? @jexp
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10577/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/10577/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10577", "html_url": "https://github.com/langchain-ai/langchain/pull/10577", "diff_url": "https://github.com/langchain-ai/langchain/pull/10577.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10577.patch", "merged_at": "2023-09-25T21:14:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/10575
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10575/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10575/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10575/events
https://github.com/langchain-ai/langchain/issues/10575
1,896,207,622
I_kwDOIPDwls5xBdUG
10,575
The RetrievalQAWithSourcesChain doesn't return SOURCES.
{ "login": "portswigger-katie", "id": 129072260, "node_id": "U_kgDOB7F8hA", "avatar_url": "https://avatars.githubusercontent.com/u/129072260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/portswigger-katie", "html_url": "https://github.com/portswigger-katie", "followers_url": "https://api.github.com/users/portswigger-katie/followers", "following_url": "https://api.github.com/users/portswigger-katie/following{/other_user}", "gists_url": "https://api.github.com/users/portswigger-katie/gists{/gist_id}", "starred_url": "https://api.github.com/users/portswigger-katie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/portswigger-katie/subscriptions", "organizations_url": "https://api.github.com/users/portswigger-katie/orgs", "repos_url": "https://api.github.com/users/portswigger-katie/repos", "events_url": "https://api.github.com/users/portswigger-katie/events{/privacy}", "received_events_url": "https://api.github.com/users/portswigger-katie/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" } ]
open
false
null
[]
null
4
2023-09-14T10:01:45
2023-11-11T16:58:58
null
NONE
null
### System Info I have a question&answer over docs chatbot application, that uses the RetrievalQAWithSourcesChain and ChatPromptTemplate. In langchain version 0.0.238 it used to return sources but this seems to be broken in the releases since then. Python version: Python 3.11.4 LangChain version: 0.0.287 Example response with missing sources: > Entering new RetrievalQAWithSourcesChain chain... > Finished chain. {'question': 'what is sql injection', 'answer': 'SQL injection is a web security vulnerability that allows an attacker to interfere with the queries that an application makes to its database. By manipulating the input data, an attacker can execute their own malicious SQL queries, which can lead to unauthorized access, data theft, or modification of the database. This vulnerability can be exploited to view sensitive data, modify or delete data, or even take control of the database server. SQL injection is a serious issue that can result in high-profile data breaches and compromises of user accounts. It is important for developers to implement proper input validation and parameterized queries to prevent SQL injection attacks.\n\n', 'sources': ''} ### 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 - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python import pickle import gradio as gr from langchain.vectorstores import FAISS from langchain.chains import RetrievalQAWithSourcesChain from langchain.chat_models import PromptLayerChatOpenAI from langchain.prompts.chat import ( ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate, ) pkl_file_path = "faiss_store.pkl" event = {"question": "what is sql injection"} system_template = """ Use the provided articles delimited by triple quotes to answer questions. If the answer cannot be found in the articles, write "I could not find an answer." If you don't know the answer, just say "Hmm..., I'm not sure.", don't try to make up an answer. ALWAYS return a "SOURCES" part in your answer. The "SOURCES" part should be a reference to the source of the document from which you got your answer. Example of your response should be: The answer is foo SOURCES: 1. abc 2. xyz Begin! ---------------- {summaries} """ def get_chain(store: FAISS, prompt_template: ChatPromptTemplate): return RetrievalQAWithSourcesChain.from_chain_type( PromptLayerChatOpenAI( pl_tags=["burpbot"], temperature=0, ), chain_type="stuff", retriever=store.as_retriever(), chain_type_kwargs={"prompt": prompt_template}, reduce_k_below_max_tokens=True, verbose=True, ) def create_prompt_template() -> ChatPromptTemplate: return ChatPromptTemplate.from_messages( [ SystemMessagePromptTemplate.from_template(system_template), HumanMessagePromptTemplate.from_template("{question}"), ] ) def load_remote_faiss_store() -> FAISS: with open(pkl_file_path, "rb") as f: return pickle.load(f) def main() -> dict: prompt_template = create_prompt_template() store: FAISS = load_remote_faiss_store() chain = get_chain(store, prompt_template) result = chain(event) print(result) ``` ### Expected behavior expected output: >{'question': 'what is sql injection', 'answer': 'SQL injection is a web security vulnerability that allows an attacker to interfere with the queries that an application makes to its database. By manipulating the input data, an attacker can execute their own malicious SQL queries, which can lead to unauthorized access, data theft, or modification of the database. This vulnerability can be exploited to view sensitive data, modify or delete data, or even take control of the database server. SQL injection is a serious issue that can result in high-profile data breaches and compromises of user accounts. It is important for developers to implement proper input validation and parameterized queries to prevent SQL injection attacks.\n\n', 'sources': 'https://example.net/web-security/sql-injection'}
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10575/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/10575/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10573
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10573/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10573/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10573/events
https://github.com/langchain-ai/langchain/pull/10573
1,896,046,235
PR_kwDOIPDwls5aULIH
10,573
fix 'Thought:' prefix for structured chat agent
{ "login": "edwardzjl", "id": 7287580, "node_id": "MDQ6VXNlcjcyODc1ODA=", "avatar_url": "https://avatars.githubusercontent.com/u/7287580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edwardzjl", "html_url": "https://github.com/edwardzjl", "followers_url": "https://api.github.com/users/edwardzjl/followers", "following_url": "https://api.github.com/users/edwardzjl/following{/other_user}", "gists_url": "https://api.github.com/users/edwardzjl/gists{/gist_id}", "starred_url": "https://api.github.com/users/edwardzjl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edwardzjl/subscriptions", "organizations_url": "https://api.github.com/users/edwardzjl/orgs", "repos_url": "https://api.github.com/users/edwardzjl/repos", "events_url": "https://api.github.com/users/edwardzjl/events{/privacy}", "received_events_url": "https://api.github.com/users/edwardzjl/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-09-14T08:38:39
2023-11-12T07:11:19
2023-11-12T07:00:01
CONTRIBUTOR
null
The current implementation of the `StructuredChatAgent` includes a system prompt that is less than ideal for the following reasons: - The first "Thought:" prefix is added to the system prompt before the human message. - Subsequent "Thought:" prefixes are added everytime the `agent_scratchpad` is created. As a result, the input format presented to the LLMs in the first round appears as follows: ``` You are an agent ... ... Begin! Thought: Human: {input} ``` In the subsequent rounds, the input format is as follows: ``` You are an agent ... ... Begin! Thought: Human: {input} This was your previous work (but I haven\'t seen any of it! I only see what you return as final answer): Action: ... Observation: ... Thought: ``` The issue here is that the first "Thought:" prefix precedes the human input, which can be misleading to the LLM, causing it to sometimes skip generating any thoughts in the first round. This misplaced "Thought:" also disrupts the intended format instruction, which is designed to guide the LLM to follow the routing sequence of Question -> Thought -> Action -> Observation -> ... -> Final Answer. This PR fixes this issue by removing the "Thought:" prefix in the system prompt, and add it back in the `agent_scratchpad`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10573/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/10573/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10573", "html_url": "https://github.com/langchain-ai/langchain/pull/10573", "diff_url": "https://github.com/langchain-ai/langchain/pull/10573.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10573.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10572
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10572/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10572/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10572/events
https://github.com/langchain-ai/langchain/issues/10572
1,895,728,355
I_kwDOIPDwls5w_oTj
10,572
agent got "No I need to use a tool? No" response from llmm,which CANNOT be parsed
{ "login": "JxKim", "id": 88940655, "node_id": "MDQ6VXNlcjg4OTQwNjU1", "avatar_url": "https://avatars.githubusercontent.com/u/88940655?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JxKim", "html_url": "https://github.com/JxKim", "followers_url": "https://api.github.com/users/JxKim/followers", "following_url": "https://api.github.com/users/JxKim/following{/other_user}", "gists_url": "https://api.github.com/users/JxKim/gists{/gist_id}", "starred_url": "https://api.github.com/users/JxKim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JxKim/subscriptions", "organizations_url": "https://api.github.com/users/JxKim/orgs", "repos_url": "https://api.github.com/users/JxKim/repos", "events_url": "https://api.github.com/users/JxKim/events{/privacy}", "received_events_url": "https://api.github.com/users/JxKim/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-14T05:33:02
2023-12-15T05:47:20
2023-12-15T05:47:12
NONE
null
### System Info def parse(self, text: str) -> Union[AgentAction, AgentFinish]: if f"{self.ai_prefix}:" in text: return AgentFinish( {"output": text.split(f"{self.ai_prefix}:")[-1].strip()}, text ) regex = r"Action: (.*?)[\n]*Action Input: (.*)" match = re.search(regex, text) if not match: raise OutputParserException(f"Could not parse LLM output: `{text}`") action = match.group(1) action_input = match.group(2) return AgentAction(action.strip(), action_input.strip(" ").strip('"'), text) ### 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 1. init an agent 2. ask the agent a simple question which it can solve without using any tools ### Expected behavior DONT RAISE ERROR
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10572/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/10572/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10571
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10571/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10571/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10571/events
https://github.com/langchain-ai/langchain/pull/10571
1,895,633,956
PR_kwDOIPDwls5aSvjB
10,571
Feature/csharp text splitter doc
{ "login": "Ather23", "id": 2106106, "node_id": "MDQ6VXNlcjIxMDYxMDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2106106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ather23", "html_url": "https://github.com/Ather23", "followers_url": "https://api.github.com/users/Ather23/followers", "following_url": "https://api.github.com/users/Ather23/following{/other_user}", "gists_url": "https://api.github.com/users/Ather23/gists{/gist_id}", "starred_url": "https://api.github.com/users/Ather23/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ather23/subscriptions", "organizations_url": "https://api.github.com/users/Ather23/orgs", "repos_url": "https://api.github.com/users/Ather23/repos", "events_url": "https://api.github.com/users/Ather23/events{/privacy}", "received_events_url": "https://api.github.com/users/Ather23/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-14T04:27:24
2023-10-05T19:22:55
2023-10-05T19:22:55
CONTRIBUTOR
null
- **Description:** Just docs related to csharp code splitter - **Issue:** It's related to a request made by @baskaryan in a comment on my previous PR #10350 - **Dependencies:** None - **Twitter handle:** @ather19
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10571/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/10571/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10571", "html_url": "https://github.com/langchain-ai/langchain/pull/10571", "diff_url": "https://github.com/langchain-ai/langchain/pull/10571.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10571.patch", "merged_at": "2023-10-05T19:22:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/10570
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10570/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10570/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10570/events
https://github.com/langchain-ai/langchain/pull/10570
1,895,610,544
PR_kwDOIPDwls5aSqh7
10,570
Removed duplicate heading
{ "login": "ShorthillsAI", "id": 141953346, "node_id": "U_kgDOCHYJQg", "avatar_url": "https://avatars.githubusercontent.com/u/141953346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShorthillsAI", "html_url": "https://github.com/ShorthillsAI", "followers_url": "https://api.github.com/users/ShorthillsAI/followers", "following_url": "https://api.github.com/users/ShorthillsAI/following{/other_user}", "gists_url": "https://api.github.com/users/ShorthillsAI/gists{/gist_id}", "starred_url": "https://api.github.com/users/ShorthillsAI/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShorthillsAI/subscriptions", "organizations_url": "https://api.github.com/users/ShorthillsAI/orgs", "repos_url": "https://api.github.com/users/ShorthillsAI/repos", "events_url": "https://api.github.com/users/ShorthillsAI/events{/privacy}", "received_events_url": "https://api.github.com/users/ShorthillsAI/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
3
2023-09-14T03:55:36
2023-09-14T19:36:53
2023-09-14T19:35:37
CONTRIBUTOR
null
**I recently reviewed the content and identified that there heading appeared twice on the docs.** ![image](https://github.com/shorthills-ai/langchain/assets/142393903/b5da8ff3-1573-410c-8210-277732e8d355) @baskaryan , @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10570/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/10570/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10570", "html_url": "https://github.com/langchain-ai/langchain/pull/10570", "diff_url": "https://github.com/langchain-ai/langchain/pull/10570.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10570.patch", "merged_at": "2023-09-14T19:35:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/10569
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10569/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10569/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10569/events
https://github.com/langchain-ai/langchain/issues/10569
1,895,600,673
I_kwDOIPDwls5w_JIh
10,569
Link in the Readme is invalid.
{ "login": "Unintented", "id": 34183928, "node_id": "MDQ6VXNlcjM0MTgzOTI4", "avatar_url": "https://avatars.githubusercontent.com/u/34183928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Unintented", "html_url": "https://github.com/Unintented", "followers_url": "https://api.github.com/users/Unintented/followers", "following_url": "https://api.github.com/users/Unintented/following{/other_user}", "gists_url": "https://api.github.com/users/Unintented/gists{/gist_id}", "starred_url": "https://api.github.com/users/Unintented/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Unintented/subscriptions", "organizations_url": "https://api.github.com/users/Unintented/orgs", "repos_url": "https://api.github.com/users/Unintented/repos", "events_url": "https://api.github.com/users/Unintented/events{/privacy}", "received_events_url": "https://api.github.com/users/Unintented/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
3
2023-09-14T03:40:51
2023-12-27T16:05:23
2023-12-27T16:05:23
NONE
null
### Issue with current documentation: https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain <img width="399" alt="WX20230914-113935@2x" src="https://github.com/langchain-ai/langchain/assets/34183928/1d61724a-152f-4ad2-8197-0dfc0fd44f98"> ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10569/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/10569/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10567
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10567/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10567/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10567/events
https://github.com/langchain-ai/langchain/issues/10567
1,895,548,600
I_kwDOIPDwls5w-8a4
10,567
Can not use QianfanLLMEndpoint
{ "login": "WAL-l", "id": 71575576, "node_id": "MDQ6VXNlcjcxNTc1NTc2", "avatar_url": "https://avatars.githubusercontent.com/u/71575576?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WAL-l", "html_url": "https://github.com/WAL-l", "followers_url": "https://api.github.com/users/WAL-l/followers", "following_url": "https://api.github.com/users/WAL-l/following{/other_user}", "gists_url": "https://api.github.com/users/WAL-l/gists{/gist_id}", "starred_url": "https://api.github.com/users/WAL-l/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WAL-l/subscriptions", "organizations_url": "https://api.github.com/users/WAL-l/orgs", "repos_url": "https://api.github.com/users/WAL-l/repos", "events_url": "https://api.github.com/users/WAL-l/events{/privacy}", "received_events_url": "https://api.github.com/users/WAL-l/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
6
2023-09-14T02:32:37
2023-12-26T16:05:47
2023-12-26T16:05:46
NONE
null
### System Info Unresolved reference 'QianfanLLMEndpoint' Name: langchain Version: 0.0.288 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction from langchain.llms.baidu_qianfan_endpoint import QianfanLLMEndpoint ### Expected behavior I hope to use Qianfan model but I can't import it, even though i have update my langchain, it can't work.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10567/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/10567/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10566
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10566/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10566/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10566/events
https://github.com/langchain-ai/langchain/issues/10566
1,895,540,285
I_kwDOIPDwls5w-6Y9
10,566
Issue: Agent keeps using the wrong type
{ "login": "isayahc", "id": 18591926, "node_id": "MDQ6VXNlcjE4NTkxOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/18591926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isayahc", "html_url": "https://github.com/isayahc", "followers_url": "https://api.github.com/users/isayahc/followers", "following_url": "https://api.github.com/users/isayahc/following{/other_user}", "gists_url": "https://api.github.com/users/isayahc/gists{/gist_id}", "starred_url": "https://api.github.com/users/isayahc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/isayahc/subscriptions", "organizations_url": "https://api.github.com/users/isayahc/orgs", "repos_url": "https://api.github.com/users/isayahc/repos", "events_url": "https://api.github.com/users/isayahc/events{/privacy}", "received_events_url": "https://api.github.com/users/isayahc/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
10
2023-09-14T02:22:18
2023-09-27T20:09:53
2023-09-27T20:09:52
NONE
null
### Issue you'd like to raise. Attempting to make a google calendar agent, however it keeps making a field that should be a datetime object a string object. the prompt: ```prefix = """Date format: datetime(2023, 5, 2, 10, 0, 0) Based on this event description: "Joey birthday tomorrow at 7 pm", output a json of the following parameters: Today's datetime on UTC time datetime(2023, 5, 2, 10, 0, 0), it's Tuesday and timezone of the user is -5, take into account the timezone of the user and today's date. 1. summary 2. start 3. end 4. location 5. description 6. user_timezone event_summary: {{ "summary": "Joey birthday", "start": "datetime(2023, 5, 3, 19, 0, 0)", "end": "datetime(2023, 5, 3, 20, 0, 0)", "location": "", "description": "", "user_timezone": "America/New_York" }} Date format: datetime(YYYY, MM, DD, hh, mm, ss) Based on this event description: "Create a meeting for 5 pm on Saturday with Joey", output a json of the following parameters: Today's datetime on UTC time datetime(2023, 5, 4, 10, 0, 0), it's Thursday and timezone of the user is -5, take into account the timezone of the user and today's date. 1. summary 2. start 3. end 4. location 5. description 6. user_timezone event_summary: {{ "summary": "Meeting with Joey", "start": "datetime(2023, 5, 6, 17, 0, 0)", "end": "datetime(2023, 5, 6, 18, 0, 0)", "location": "", "description": "", "user_timezone": "America/New_York" }} """``` the tool ``` class CalnederEventTool(BaseTool): """A tool used to create events on google calendar.""" name = "custom_search" description = "a tool used to create events on google calendar" def _run( self, summary: str, start: datetime, end: Union[datetime, None], recurrence: Optional[str] = None, # Changed from Optional[Recurrence] to Optional[str] run_manager: Optional['CallbackManagerForToolRun'] = None, ) -> str: GOOGLE_EMAIL = environ.get('GOOGLE_EMAIL') CREDENTIALS_PATH = environ.get('CREDENTIALS_PATH') calendar = GoogleCalendar( GOOGLE_EMAIL, credentials_path=CREDENTIALS_PATH ) event = Event(summary=summary, start=start, end=end) calendar.add_event(event) async def _arun( self, query: str, run_manager: Optional[AsyncCallbackManagerForToolRun] = None ) -> str: """Use the tool asynchronously.""" raise NotImplementedError("custom_search does not support async") ``` ``` > Entering new AgentExecutor chain... Action: ``` { "action": "custom_search", "action_input": { "summary": "Going to the bar", "start": "2020-09-01T17:00:00", "end": "2020-09-01T18:00:00", "recurrence": "" } } ``` ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10566/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/10566/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10565
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10565/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10565/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10565/events
https://github.com/langchain-ai/langchain/pull/10565
1,895,511,997
PR_kwDOIPDwls5aSWq0
10,565
implement get_num_tokens to use google's count_tokens function
{ "login": "hsuyuming", "id": 23413676, "node_id": "MDQ6VXNlcjIzNDEzNjc2", "avatar_url": "https://avatars.githubusercontent.com/u/23413676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hsuyuming", "html_url": "https://github.com/hsuyuming", "followers_url": "https://api.github.com/users/hsuyuming/followers", "following_url": "https://api.github.com/users/hsuyuming/following{/other_user}", "gists_url": "https://api.github.com/users/hsuyuming/gists{/gist_id}", "starred_url": "https://api.github.com/users/hsuyuming/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hsuyuming/subscriptions", "organizations_url": "https://api.github.com/users/hsuyuming/orgs", "repos_url": "https://api.github.com/users/hsuyuming/repos", "events_url": "https://api.github.com/users/hsuyuming/events{/privacy}", "received_events_url": "https://api.github.com/users/hsuyuming/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
13
2023-09-14T01:53:22
2023-10-30T22:10:07
2023-10-30T22:10:06
CONTRIBUTOR
null
can get the correct token count instead of using gpt-2 model **Description:** Implement get_num_tokens within VertexLLM to use google's count_tokens function. (https://cloud.google.com/vertex-ai/docs/generative-ai/get-token-count). So we don't need to download gpt-2 model from huggingface, also when we do the mapreduce chain we can get correct token count. **Tag maintainer:** @lkuligin **Twitter handle:** My twitter: @abehsu1992626
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10565/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/10565/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10565", "html_url": "https://github.com/langchain-ai/langchain/pull/10565", "diff_url": "https://github.com/langchain-ai/langchain/pull/10565.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10565.patch", "merged_at": "2023-10-30T22:10:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/10564
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10564/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10564/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10564/events
https://github.com/langchain-ai/langchain/pull/10564
1,895,419,748
PR_kwDOIPDwls5aSGIe
10,564
Update LangSmith Walkthrough
{ "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": 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-09-14T00:05:26
2023-09-14T00:13:19
2023-09-14T00:13:18
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10564/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/10564/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10564", "html_url": "https://github.com/langchain-ai/langchain/pull/10564", "diff_url": "https://github.com/langchain-ai/langchain/pull/10564.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10564.patch", "merged_at": "2023-09-14T00:13:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/10563
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10563/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10563/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10563/events
https://github.com/langchain-ai/langchain/pull/10563
1,895,410,296
PR_kwDOIPDwls5aSEI6
10,563
CassandraCache and CassandraSemanticCache can handle any "Generation"
{ "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": 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
6
2023-09-13T23:52:46
2023-09-18T16:16:05
2023-09-14T15:33:06
CONTRIBUTOR
null
Hello, this PR improves coverage for caching by the two Cassandra-related caches (i.e. exact-match and semantic alike) by switching to the more general `dumps`/`loads` serdes utilities. This enables cache usage within e.g. `ChatOpenAI` contexts (which need to store lists of `ChatGeneration` instead of `Generation`s), which was not possible as long as the cache classes were relying on the legacy `_dump_generations_to_json` and `_load_generations_from_json`). Additionally, a slightly different init signature is introduced for the cache objects: - named parameters required for init, to pave the way for easier changes in the future connect-to-db flow (and tests adjusted accordingly) - added a `skip_provisioning` optional passthrough parameter for use cases where the user knows the underlying DB table, etc already exist. Thank you for a review!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10563/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/10563/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10563", "html_url": "https://github.com/langchain-ai/langchain/pull/10563", "diff_url": "https://github.com/langchain-ai/langchain/pull/10563.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10563.patch", "merged_at": "2023-09-14T15:33:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/10562
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10562/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10562/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10562/events
https://github.com/langchain-ai/langchain/pull/10562
1,895,326,576
PR_kwDOIPDwls5aRyW2
10,562
Francisco/sql agent improvements
{ "login": "fpingham", "id": 24279597, "node_id": "MDQ6VXNlcjI0Mjc5NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/24279597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fpingham", "html_url": "https://github.com/fpingham", "followers_url": "https://api.github.com/users/fpingham/followers", "following_url": "https://api.github.com/users/fpingham/following{/other_user}", "gists_url": "https://api.github.com/users/fpingham/gists{/gist_id}", "starred_url": "https://api.github.com/users/fpingham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fpingham/subscriptions", "organizations_url": "https://api.github.com/users/fpingham/orgs", "repos_url": "https://api.github.com/users/fpingham/repos", "events_url": "https://api.github.com/users/fpingham/events{/privacy}", "received_events_url": "https://api.github.com/users/fpingham/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" } ]
open
false
null
[]
null
2
2023-09-13T22:02:43
2023-11-20T19:51:50
null
COLLABORATOR
null
A few changes to the sql agent in the spirit of making it much more efficient without compromising accuracy: - removed the instruction to use the query checker before running a query - table names are not a tool, but are appended automatically to the prompt - dynamic retrievers (including few shots) can be used automatically by the agent instead of being selected as a chosen tool
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10562/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/10562/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10562", "html_url": "https://github.com/langchain-ai/langchain/pull/10562", "diff_url": "https://github.com/langchain-ai/langchain/pull/10562.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10562.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10561
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10561/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10561/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10561/events
https://github.com/langchain-ai/langchain/issues/10561
1,895,297,545
I_kwDOIPDwls5w9_IJ
10,561
Issue: Dynamically select from multiple retrievers
{ "login": "karthik1881", "id": 114410061, "node_id": "U_kgDOBtHCTQ", "avatar_url": "https://avatars.githubusercontent.com/u/114410061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karthik1881", "html_url": "https://github.com/karthik1881", "followers_url": "https://api.github.com/users/karthik1881/followers", "following_url": "https://api.github.com/users/karthik1881/following{/other_user}", "gists_url": "https://api.github.com/users/karthik1881/gists{/gist_id}", "starred_url": "https://api.github.com/users/karthik1881/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karthik1881/subscriptions", "organizations_url": "https://api.github.com/users/karthik1881/orgs", "repos_url": "https://api.github.com/users/karthik1881/repos", "events_url": "https://api.github.com/users/karthik1881/events{/privacy}", "received_events_url": "https://api.github.com/users/karthik1881/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-13T21:34:13
2023-09-13T22:29:56
2023-09-13T22:29:56
NONE
null
### Issue you'd like to raise. chain = MultiRetrievalQAChain.from_retrievers(OpenAI(), retriever_infos, verbose=True) I'm receiving this error when I try to call the above:(I'm following this doc https://python.langchain.com/docs/use_cases/question_answering/how_to/multi_retrieval_qa_router) ``` ValidationError Traceback (most recent call last) Cell In[7], line 1 ----> 1 chain = MultiRetrievalQAChain.from_retrievers(OpenAI(), retriever_infos) File ~/anaconda3/lib/python3.11/site-packages/langchain/chains/router/multi_retrieval_qa.py:66, in MultiRetrievalQAChain.from_retrievers(cls, llm, retriever_infos, default_retriever, default_prompt, default_chain, **kwargs) 64 prompt = r_info.get("prompt") 65 retriever = r_info["retriever"] ---> 66 chain = RetrievalQA.from_llm(llm, prompt=prompt, retriever=retriever) 67 name = r_info["name"] 68 destination_chains[name] = chain File ~/anaconda3/lib/python3.11/site-packages/langchain/chains/retrieval_qa/base.py:84, in BaseRetrievalQA.from_llm(cls, llm, prompt, callbacks, **kwargs) 74 document_prompt = PromptTemplate( 75 input_variables=["page_content"], template="Context:\n{page_content}" 76 ) 77 combine_documents_chain = StuffDocumentsChain( 78 llm_chain=llm_chain, 79 document_variable_name="context", 80 document_prompt=document_prompt, 81 callbacks=callbacks, 82 ) ---> 84 return cls( 85 combine_documents_chain=combine_documents_chain, 86 callbacks=callbacks, 87 **kwargs, 88 ) File ~/anaconda3/lib/python3.11/site-packages/langchain/load/serializable.py:75, in Serializable.__init__(self, **kwargs) 74 def __init__(self, **kwargs: Any) -> None: ---> 75 super().__init__(**kwargs) 76 self._lc_kwargs = kwargs File ~/anaconda3/lib/python3.11/site-packages/pydantic/main.py:341, in pydantic.main.BaseModel.__init__() ValidationError: 1 validation error for RetrievalQA retriever Can't instantiate abstract class BaseRetriever with abstract method _get_relevant_documents (type=type_error) ``` ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10561/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/10561/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10560
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10560/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10560/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10560/events
https://github.com/langchain-ai/langchain/pull/10560
1,895,252,225
PR_kwDOIPDwls5aRiHW
10,560
explicitly check openllm return type
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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-09-13T20:54:26
2023-09-13T21:13:17
2023-09-13T21:13:15
COLLABORATOR
null
cc @aarnphm
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10560/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/10560/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10560", "html_url": "https://github.com/langchain-ai/langchain/pull/10560", "diff_url": "https://github.com/langchain-ai/langchain/pull/10560.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10560.patch", "merged_at": "2023-09-13T21:13:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/10558
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10558/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10558/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10558/events
https://github.com/langchain-ai/langchain/pull/10558
1,895,210,849
PR_kwDOIPDwls5aRZFW
10,558
ArcGISLoader: add keyword arguments, error handling, and better tests
{ "login": "joshuasundance-swca", "id": 84336755, "node_id": "MDQ6VXNlcjg0MzM2NzU1", "avatar_url": "https://avatars.githubusercontent.com/u/84336755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joshuasundance-swca", "html_url": "https://github.com/joshuasundance-swca", "followers_url": "https://api.github.com/users/joshuasundance-swca/followers", "following_url": "https://api.github.com/users/joshuasundance-swca/following{/other_user}", "gists_url": "https://api.github.com/users/joshuasundance-swca/gists{/gist_id}", "starred_url": "https://api.github.com/users/joshuasundance-swca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joshuasundance-swca/subscriptions", "organizations_url": "https://api.github.com/users/joshuasundance-swca/orgs", "repos_url": "https://api.github.com/users/joshuasundance-swca/repos", "events_url": "https://api.github.com/users/joshuasundance-swca/events{/privacy}", "received_events_url": "https://api.github.com/users/joshuasundance-swca/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-09-13T20:23:01
2023-09-13T21:41:40
2023-09-13T21:12:42
CONTRIBUTOR
null
* More clarity around how geometry is handled. Not returned by default; when returned, stored in metadata. This is because it's usually a waste of tokens, but it should be accessible if needed. * User can supply layer description to avoid errors when layer properties are inaccessible due to passthrough access. * Enhanced testing * Updated notebook
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10558/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/10558/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10558", "html_url": "https://github.com/langchain-ai/langchain/pull/10558", "diff_url": "https://github.com/langchain-ai/langchain/pull/10558.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10558.patch", "merged_at": "2023-09-13T21:12:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/10557
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10557/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10557/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10557/events
https://github.com/langchain-ai/langchain/issues/10557
1,895,083,788
I_kwDOIPDwls5w9K8M
10,557
RetrievalQA custom prompt to accept prompts other than context and question e.g. language for use in Sequential Chain
{ "login": "PeterWelchWork", "id": 94061260, "node_id": "U_kgDOBZtCzA", "avatar_url": "https://avatars.githubusercontent.com/u/94061260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PeterWelchWork", "html_url": "https://github.com/PeterWelchWork", "followers_url": "https://api.github.com/users/PeterWelchWork/followers", "following_url": "https://api.github.com/users/PeterWelchWork/following{/other_user}", "gists_url": "https://api.github.com/users/PeterWelchWork/gists{/gist_id}", "starred_url": "https://api.github.com/users/PeterWelchWork/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PeterWelchWork/subscriptions", "organizations_url": "https://api.github.com/users/PeterWelchWork/orgs", "repos_url": "https://api.github.com/users/PeterWelchWork/repos", "events_url": "https://api.github.com/users/PeterWelchWork/events{/privacy}", "received_events_url": "https://api.github.com/users/PeterWelchWork/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
2
2023-09-13T18:59:17
2023-10-19T21:42:54
null
NONE
null
### Feature request Update RetrievalQA chain so that custom prompts can accept parameters other than input_documents and question. Current functionality is limited by call to StuffDocumentsChain: answer = self.combine_documents_chain.run( input_documents=docs, question=question, callbacks=_run_manager.get_child() ) Any additional parameters required aren't passed, including chat history. 2 line code update required: inputs['input_documents'] = docs answer = self.combine_documents_chain.run( inputs, callbacks=_run_manager.get_child() ) ### Motivation Improve flexibility of the RetrievalQA chain enabling system message to be customised, chat history to be passed so GPT can reference back to previous answers. Customise language in answer in QA chain etc. ### Your contribution Will submit PR with above change in-line with contributing guidelines.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10557/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/10557/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10556
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10556/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10556/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10556/events
https://github.com/langchain-ai/langchain/pull/10556
1,895,042,137
PR_kwDOIPDwls5aQz1x
10,556
add mmr support to redis retriever
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 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": 5955630415, "node_id": "LA_kwDOIPDwls8AAAABYvu1Tw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis", "name": "integration: redis", "color": "F9D0C4", "default": false, "description": "Any integration that uses Redis" } ]
closed
false
null
[]
null
1
2023-09-13T18:28:25
2023-09-14T15:55:16
2023-09-14T15:43:50
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/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. 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/10556/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/10556/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10556", "html_url": "https://github.com/langchain-ai/langchain/pull/10556", "diff_url": "https://github.com/langchain-ai/langchain/pull/10556.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10556.patch", "merged_at": "2023-09-14T15:43:50" }
https://api.github.com/repos/langchain-ai/langchain/issues/10555
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10555/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10555/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10555/events
https://github.com/langchain-ai/langchain/issues/10555
1,894,977,351
I_kwDOIPDwls5w8w9H
10,555
LangChain's Chroma similarity_search return results from other db
{ "login": "fengyuyan", "id": 7063292, "node_id": "MDQ6VXNlcjcwNjMyOTI=", "avatar_url": "https://avatars.githubusercontent.com/u/7063292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fengyuyan", "html_url": "https://github.com/fengyuyan", "followers_url": "https://api.github.com/users/fengyuyan/followers", "following_url": "https://api.github.com/users/fengyuyan/following{/other_user}", "gists_url": "https://api.github.com/users/fengyuyan/gists{/gist_id}", "starred_url": "https://api.github.com/users/fengyuyan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fengyuyan/subscriptions", "organizations_url": "https://api.github.com/users/fengyuyan/orgs", "repos_url": "https://api.github.com/users/fengyuyan/repos", "events_url": "https://api.github.com/users/fengyuyan/events{/privacy}", "received_events_url": "https://api.github.com/users/fengyuyan/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": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
open
false
null
[]
null
6
2023-09-13T17:42:19
2023-12-06T13:20:08
null
NONE
null
### System Info LangChain 0.0.281 Platform: Centos ### 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 - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Hi, I have two vector stores: splitter = RecursiveCharacterTextSplitter(chunk_size=400, chunk_overlap=50) splits_1 = splitter.split_documents(docs_1) splits_2 = splitter.split_documents(docs_2) store1 = Chroma.from_documents(documents=splits_1, embedding=HuggingFaceEmbeddings()) store2 = Chroma.from_documents(documents=splits_2, embedding=HuggingFaceEmbeddings()) Then I use store2 to do similarity search, it returns results from splits_1, that's very wired. Can someone please help? Thanks Tom ### Expected behavior Different vector store should use its own pool to do the similarity search
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10555/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/10555/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10554
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10554/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10554/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10554/events
https://github.com/langchain-ai/langchain/issues/10554
1,894,953,189
I_kwDOIPDwls5w8rDl
10,554
Issue: Parsing issue
{ "login": "KingCam12", "id": 72319290, "node_id": "MDQ6VXNlcjcyMzE5Mjkw", "avatar_url": "https://avatars.githubusercontent.com/u/72319290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KingCam12", "html_url": "https://github.com/KingCam12", "followers_url": "https://api.github.com/users/KingCam12/followers", "following_url": "https://api.github.com/users/KingCam12/following{/other_user}", "gists_url": "https://api.github.com/users/KingCam12/gists{/gist_id}", "starred_url": "https://api.github.com/users/KingCam12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KingCam12/subscriptions", "organizations_url": "https://api.github.com/users/KingCam12/orgs", "repos_url": "https://api.github.com/users/KingCam12/repos", "events_url": "https://api.github.com/users/KingCam12/events{/privacy}", "received_events_url": "https://api.github.com/users/KingCam12/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-13T17:23:30
2023-12-20T16:05:06
2023-12-20T16:05:05
NONE
null
### Issue you'd like to raise. import pandas as pd import pandas_gpt df = pd.read_csv('aisc-shapes-database-v16.0.csv', index_col=0, header=0, usecols = ["A:F"], names = [ "Type", "EDI_Std_Nomenclature", "AISC_Manual_Label", "T_F", "W", "Area"]) df.ask('what is the area of W12X12?') Need help getting this file to read with pandas.read_csv [aisc-shapes-database-v16.0.csv](https://github.com/langchain-ai/langchain/files/12600284/aisc-shapes-database-v16.0.csv) ### Suggestion: This is my error message File "c:\Users\camer\import pandas as pd.py", line 4, in <module> df = pd.read_csv('aisc-shapes-database-v16.0.csv', index_col=0, header=0, usecols = ["A:F"], names = [ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\camer\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\parsers\readers.py", line 948, in read_csv return _read(filepath_or_buffer, kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\camer\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\parsers\readers.py", line 611, in _read parser = TextFileReader(filepath_or_buffer, **kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\camer\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\parsers\readers.py", line 1448, in __init__ self._engine = self._make_engine(f, self.engine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\camer\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\parsers\readers.py", line 1723, in _make_engine return mapping[engine](f, **self.options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\camer\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 93, in __init__ self._reader = parsers.TextReader(src, **kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "parsers.pyx", line 579, in pandas._libs.parsers.TextReader.__cinit__ File "parsers.pyx", line 668, in pandas._libs.parsers.TextReader._get_header File "parsers.pyx", line 879, in pandas._libs.parsers.TextReader._tokenize_rows File "parsers.pyx", line 890, in pandas._libs.parsers.TextReader._check_tokenize_status File "parsers.pyx", line 2050, in pandas._libs.parsers.raise_parser_error UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 703: invalid start byte
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10554/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/10554/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10553
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10553/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10553/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10553/events
https://github.com/langchain-ai/langchain/issues/10553
1,894,880,317
I_kwDOIPDwls5w8ZQ9
10,553
Issue: Can I load THUDM/chatglm-6b?
{ "login": "ggnicolau", "id": 79374447, "node_id": "MDQ6VXNlcjc5Mzc0NDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/79374447?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ggnicolau", "html_url": "https://github.com/ggnicolau", "followers_url": "https://api.github.com/users/ggnicolau/followers", "following_url": "https://api.github.com/users/ggnicolau/following{/other_user}", "gists_url": "https://api.github.com/users/ggnicolau/gists{/gist_id}", "starred_url": "https://api.github.com/users/ggnicolau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ggnicolau/subscriptions", "organizations_url": "https://api.github.com/users/ggnicolau/orgs", "repos_url": "https://api.github.com/users/ggnicolau/repos", "events_url": "https://api.github.com/users/ggnicolau/events{/privacy}", "received_events_url": "https://api.github.com/users/ggnicolau/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
4
2023-09-13T16:32:12
2023-11-11T02:27:34
null
NONE
null
I've been searching for a large-context LLM with a relatively low parameter count suitable for local execution on multiple T4 GPUs or a single A100. My primary goal is to summarize extensive financial reports. While I came across FinGPT v1, it seems it isn't hosted on HuggingFace. However, I did find chatglm-6b, which serves as the foundation for FinGPT v1. This model is accessible on HuggingFace, but I'm facing issues loading it. Here's a snippet that successfully loads and uses the model outside Langchain: ``` from transformers import AutoModel, AutoTokenizer model_name = "THUDM/chatglm2-6b" tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True) # model = AutoModel.from_pretrained(model_name, trust_remote_code=True).cuda() # 按需修改,目前只支持 4/8 bit 量化 # model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).quantize(4).cuda() import torch has_cuda = torch.cuda.is_available() # has_cuda = False # force cpu if has_cuda: #model = AutoModel.from_pretrained("THUDM/chatglm2-6b-int4",trust_remote_code=True).half().cuda() # 3.92 model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).quantize(4).cuda() else: model = AutoModel.from_pretrained("THUDM/chatglm2-6b-int4",trust_remote_code=True).half() # float() response, history = model.chat(tokenizer, f"Summarize this in a few words: {a}", history=[]) ``` But, when I try the following, to use in Langchain: ``` from langchain.llms import HuggingFacePipeline llm = HuggingFacePipeline.from_model_id( model_id="THUDM/chatglm-6b", task="text-generation", model_kwargs={"temperature": 0, "max_length": 64}, ) ``` I encounter this error: ``` ValueError: Tokenizer class ChatGLMTokenizer does not exist or is not currently imported. ``` From what I gather, the ChatGLM model cannot be passed directly to HuggingFace's pipeline. While the Langchain documentation does mention using ChatGLM as a local model, it seems to primarily focus on using it via an API endpoint: ``` endpoint_url = "http://127.0.0.1:8000" # direct access endpoint in a proxied environment # os.environ['NO_PROXY'] = '127.0.0.1' llm = ChatGLM( endpoint_url=endpoint_url, max_token=80000, history=[["我将从美国到中国来旅游,出行前希望了解中国的城市", "欢迎问我任何问题。"]], top_p=0.9, model_kwargs={"sample_model_args": False}, ) ``` Would anyone have insights on how to correctly load ChatGLM for tasks within Langchain? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10553/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/10553/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10552
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10552/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10552/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10552/events
https://github.com/langchain-ai/langchain/issues/10552
1,894,837,821
I_kwDOIPDwls5w8O49
10,552
DOC: inexistent documentation for index
{ "login": "RoderickVM", "id": 64725908, "node_id": "MDQ6VXNlcjY0NzI1OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/64725908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RoderickVM", "html_url": "https://github.com/RoderickVM", "followers_url": "https://api.github.com/users/RoderickVM/followers", "following_url": "https://api.github.com/users/RoderickVM/following{/other_user}", "gists_url": "https://api.github.com/users/RoderickVM/gists{/gist_id}", "starred_url": "https://api.github.com/users/RoderickVM/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RoderickVM/subscriptions", "organizations_url": "https://api.github.com/users/RoderickVM/orgs", "repos_url": "https://api.github.com/users/RoderickVM/repos", "events_url": "https://api.github.com/users/RoderickVM/events{/privacy}", "received_events_url": "https://api.github.com/users/RoderickVM/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-13T16:04:16
2023-12-20T16:05:11
2023-12-20T16:05:10
NONE
null
### Issue with current documentation: The `index` [API Reference document](https://api.python.langchain.com/en/latest/indexes/langchain.indexes._api.index.html) that is linked in the [Indexing documentation](https://python.langchain.com/docs/modules/data_connection/indexing#quickstart) returns a 404 error. ### Idea or request for content: Please include detailed documentation for `index` to use correctly `SQLRecordManager`.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10552/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/10552/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10551
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10551/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10551/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10551/events
https://github.com/langchain-ai/langchain/issues/10551
1,894,829,054
I_kwDOIPDwls5w8Mv-
10,551
SQLRecordManager index adds documents outside existing Redis vectorstore index
{ "login": "RoderickVM", "id": 64725908, "node_id": "MDQ6VXNlcjY0NzI1OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/64725908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RoderickVM", "html_url": "https://github.com/RoderickVM", "followers_url": "https://api.github.com/users/RoderickVM/followers", "following_url": "https://api.github.com/users/RoderickVM/following{/other_user}", "gists_url": "https://api.github.com/users/RoderickVM/gists{/gist_id}", "starred_url": "https://api.github.com/users/RoderickVM/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RoderickVM/subscriptions", "organizations_url": "https://api.github.com/users/RoderickVM/orgs", "repos_url": "https://api.github.com/users/RoderickVM/repos", "events_url": "https://api.github.com/users/RoderickVM/events{/privacy}", "received_events_url": "https://api.github.com/users/RoderickVM/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": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" }, { "id": 5955630415, "node_id": "LA_kwDOIPDwls8AAAABYvu1Tw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis", "name": "integration: redis", "color": "F9D0C4", "default": false, "description": "Any integration that uses Redis" } ]
open
false
null
[]
null
3
2023-09-13T15:58:42
2023-12-25T16:01:50
null
NONE
null
### System Info langchain_version: "0.0.287" library: "langchain" library_version: "0.0.287" platform: "Linux-6.1.0-12-amd64-x86_64-with-glibc2.36" py_implementation: "CPython" runtime: "python" runtime_version: "3.11.2" ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction After following the [indexing instructions](https://python.langchain.com/docs/modules/data_connection/indexing), `index` stores the documents in a Redis vectorstore, but it does so outside the vectorstore's index. ``` import os, time, json, openai from langchain.vectorstores.redis import Redis from langchain.embeddings.openai import OpenAIEmbeddings from langchain.indexes import SQLRecordManager, index from langchain.schema import Document from datetime import datetime from pathlib import Path openai.api_key = os.environ['OPENAI_API_KEY'] VECTORS_INDEX_NAME = 'Vectors' COLLECTION_NAME = 'DocsDB' NAMESPACE = f"Redis/{COLLECTION_NAME}" REDIS_URL = "redis://10.0.1.21:6379" embeddings = OpenAIEmbeddings() record_manager = SQLRecordManager(NAMESPACE, db_url="sqlite:///cache_Redis.sql") record_manager.create_schema() rds_vectorstore = Redis.from_existing_index( embeddings, index_name=VECTORS_INDEX_NAME, redis_url=REDIS_URL, schema='Redis_schema.yaml' ) index( document, record_manager, rds_vectorstore, cleanup = "full", # None: for first document load; "incremental": for following documents source_id_key = "title", ) ``` When exploring the Redis vectorstore, all `documents` loaded outside the specified `VECTORS_INDEX_NAME`. When `documents` are loaded to the vectorstore without `RecordManager` `index`, they are created inside the specified `VECTORS_INDEX_NAME` when using the following code: ``` rds = Redis.from_documents( document, embeddings, index_name=VECTORS_INDEX_NAME, redis_url=REDIS_URL, index_schema='Redis_schema.yaml' ) ``` ### Expected behavior `Documents` loaded into a Redis vectorstore using `index` `RecordManager` should be created inside the vectorstore's index.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10551/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/10551/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10550
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10550/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10550/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10550/events
https://github.com/langchain-ai/langchain/issues/10550
1,894,829,007
I_kwDOIPDwls5w8MvP
10,550
MMR search_type not implemented for Google Vertex AI Matching Engine Vector Store (new name of Matching Engine- Vector Search)
{ "login": "UmerQam", "id": 138873074, "node_id": "U_kgDOCEcI8g", "avatar_url": "https://avatars.githubusercontent.com/u/138873074?v=4", "gravatar_id": "", "url": "https://api.github.com/users/UmerQam", "html_url": "https://github.com/UmerQam", "followers_url": "https://api.github.com/users/UmerQam/followers", "following_url": "https://api.github.com/users/UmerQam/following{/other_user}", "gists_url": "https://api.github.com/users/UmerQam/gists{/gist_id}", "starred_url": "https://api.github.com/users/UmerQam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/UmerQam/subscriptions", "organizations_url": "https://api.github.com/users/UmerQam/orgs", "repos_url": "https://api.github.com/users/UmerQam/repos", "events_url": "https://api.github.com/users/UmerQam/events{/privacy}", "received_events_url": "https://api.github.com/users/UmerQam/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" } ]
open
false
null
[]
null
1
2023-09-13T15:58:41
2023-12-01T14:01:06
null
NONE
null
### Feature request MMR search_type is not implemented for Google Vertex AI Matching Engine Vector Store (new name of Matching Engine- Vector Search). I am getting the error `NotImplementedError` Below is the code that I had used `retriever = me.as_retriever( search_type="mmr", search_kwargs={ "k": 10, "search_distance": 0.6, "fetch_k": 15, "lambda_mult": 0.7 }}` Please implement it at the earliest, request the team if they can provide ETA too ### Motivation I am working for a client where they are using only Google Vertex AI components for creating LLM chatbot agents using various unstructured document types. We are not getting optimal results with the default `search_type="similarity"` , we understand that results can improve a lot with MMR search. Hence kindly requesting the team to add the `search_type="mmr"` feature ### Your contribution Can provide feedback on the new feature performance
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10550/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/10550/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10549
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10549/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10549/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10549/events
https://github.com/langchain-ai/langchain/issues/10549
1,894,815,399
I_kwDOIPDwls5w8Jan
10,549
Issue: Not sure whether my transformation using the model I created was correct, as I am getting an error.
{ "login": "SanjayDevarajan03", "id": 119276096, "node_id": "U_kgDOBxwCQA", "avatar_url": "https://avatars.githubusercontent.com/u/119276096?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SanjayDevarajan03", "html_url": "https://github.com/SanjayDevarajan03", "followers_url": "https://api.github.com/users/SanjayDevarajan03/followers", "following_url": "https://api.github.com/users/SanjayDevarajan03/following{/other_user}", "gists_url": "https://api.github.com/users/SanjayDevarajan03/gists{/gist_id}", "starred_url": "https://api.github.com/users/SanjayDevarajan03/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SanjayDevarajan03/subscriptions", "organizations_url": "https://api.github.com/users/SanjayDevarajan03/orgs", "repos_url": "https://api.github.com/users/SanjayDevarajan03/repos", "events_url": "https://api.github.com/users/SanjayDevarajan03/events{/privacy}", "received_events_url": "https://api.github.com/users/SanjayDevarajan03/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
5
2023-09-13T15:50:31
2023-12-20T16:05:16
2023-12-20T16:05:15
NONE
null
### Issue you'd like to raise. # The code for my model for sentiment analysis (this works, the problem is in the next part of my code) from datasets import load_dataset,Dataset from sentence_transformers.losses import CosineSimilarityLoss from setfit import SetFitModel, SetFitTrainer, sample_dataset from transformers import pipeline import pandas as pd import langchain # df = pd.read_csv("C:/Users/sanja/OneDrive/Desktop/Trillo InternShip/train.csv",encoding='ISO-8859-1') df = pd.read_csv("C:/Users/sanja/OneDrive/Desktop/Trillo InternShip/train-utf-8.csv") # Create a mapping from string labels to integer labels label_mapping = {"negative": 0, "neutral": 1, "positive": 2} # Customize this mapping as needed # Apply the mapping to the "sentiment" column df['label'] = df['label'].map(label_mapping) # Specify the columns for text (input) and label (output) text_column = "selected_text" label_column = "label" # Assuming you have already preprocessed and tokenized your text data dataset = Dataset.from_pandas(df) num_samples_per_class = 8 # Simulate the few-shot regime by sampling 8 examples per class train_dataset = sample_dataset(dataset, label_column=label_column, num_samples=num_samples_per_class) eval_dataset = dataset # Assuming you want to evaluate on the same DataFrame # Load a SetFit model from Hub model = SetFitModel.from_pretrained("sentence-transformers/paraphrase-mpnet-base-v2") # Create trainer trainer1 = SetFitTrainer( model=model, train_dataset=train_dataset, eval_dataset=eval_dataset, loss_class=CosineSimilarityLoss, metric="accuracy", batch_size=16, num_iterations=20, # The number of text pairs to generate for contrastive learning num_epochs=1, # The number of epochs to use for contrastive learning column_mapping={text_column: "text", label_column: "label"} # Map dataset columns to text/label expected by trainer ) # Train and evaluate trainer1.train() metrics = trainer1.evaluate() # Pushing model to hub trainer1.push_to_hub("Sanjay1234/Trillo-Project") # But here I get a problem when I do transformation, from langchain.chains import TransformChain, LLMChain, SimpleSequentialChain from sentence_transformers.losses import CosineSimilarityLoss from setfit import SetFitModel, SetFitTrainer, sample_dataset from transformers import pipeline def transform_func(text): shortened_text = "\n\n".join(text.split("\n\n")[:3]) return shortened_text transform_chain = TransformChain( input_variables=["text"], output_variables=["output_text"], transform=transform_func ) # I get a problem here llm_chain = LLMChain( llm={"llm": "Sanjay1234/Trillo-Project"}, # Provide the llm parameter as a dictionary prompt={"prompt": "Summarize this text:"} ) sequential_chain = SimpleSequentialChain(chains=[transform_chain, llm_chain]) text = "This is a long text. I want to transform it to only the first 3 paragraphs." transformed_text = sequential_chain.run(text) print(transformed_text) I get the following error.- --------------------------------------------------------------------------- ValidationError Traceback (most recent call last) Cell In[26], line 1 ----> 1 llm_chain = LLMChain( 2 llm={"llm": "Sanjay1234/Trillo-Project"}, # Provide the llm parameter as a dictionary 3 prompt={"prompt": "Summarize this text:"} 4 ) File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\langchain\load\serializable.py:74, in Serializable.__init__(self, **kwargs) 73 def __init__(self, **kwargs: Any) -> None: ---> 74 super().__init__(**kwargs) 75 self._lc_kwargs = kwargs File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\pydantic\main.py:341, in pydantic.main.BaseModel.__init__() ValidationError: 2 validation errors for LLMChain prompt Can't instantiate abstract class BasePromptTemplate with abstract methods format, format_prompt (type=type_error) llm Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, apredict, apredict_messages, generate_prompt, invoke, predict, predict_messages (type=type_error) ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10549/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/10549/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10548
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10548/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10548/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10548/events
https://github.com/langchain-ai/langchain/pull/10548
1,894,798,632
PR_kwDOIPDwls5aP-3e
10,548
bump 288
{ "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-09-13T15:41:22
2023-09-13T15:57:44
2023-09-13T15:57:43
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/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10548/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/10548/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10548", "html_url": "https://github.com/langchain-ai/langchain/pull/10548", "diff_url": "https://github.com/langchain-ai/langchain/pull/10548.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10548.patch", "merged_at": "2023-09-13T15:57:43" }
https://api.github.com/repos/langchain-ai/langchain/issues/10546
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10546/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10546/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10546/events
https://github.com/langchain-ai/langchain/pull/10546
1,894,742,556
PR_kwDOIPDwls5aPyqy
10,546
Fix `GoogleEnterpriseSearchRetriever`
{ "login": "tomaspiaggio", "id": 18428646, "node_id": "MDQ6VXNlcjE4NDI4NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/18428646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomaspiaggio", "html_url": "https://github.com/tomaspiaggio", "followers_url": "https://api.github.com/users/tomaspiaggio/followers", "following_url": "https://api.github.com/users/tomaspiaggio/following{/other_user}", "gists_url": "https://api.github.com/users/tomaspiaggio/gists{/gist_id}", "starred_url": "https://api.github.com/users/tomaspiaggio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomaspiaggio/subscriptions", "organizations_url": "https://api.github.com/users/tomaspiaggio/orgs", "repos_url": "https://api.github.com/users/tomaspiaggio/repos", "events_url": "https://api.github.com/users/tomaspiaggio/events{/privacy}", "received_events_url": "https://api.github.com/users/tomaspiaggio/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-13T15:08:51
2023-09-13T18:45:24
2023-09-13T18:45:08
CONTRIBUTOR
null
Replace this entire comment with: - Description: fixed Google Enterprise Search Retriever where it was consistently returning empty results, - Issue: related to [issue 8219](https://github.com/langchain-ai/langchain/issues/8219), - Dependencies: no dependencies, - Tag maintainer: @hwchase17 , - Twitter handle: [Tomas Piaggio](https://twitter.com/TomasPiaggio)!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10546/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/10546/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10546", "html_url": "https://github.com/langchain-ai/langchain/pull/10546", "diff_url": "https://github.com/langchain-ai/langchain/pull/10546.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10546.patch", "merged_at": "2023-09-13T18:45:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/10544
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10544/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10544/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10544/events
https://github.com/langchain-ai/langchain/issues/10544
1,894,630,727
I_kwDOIPDwls5w7cVH
10,544
Issue: Want to get this to run, im suspecting that the csv. file is causing the problem
{ "login": "KingCam12", "id": 72319290, "node_id": "MDQ6VXNlcjcyMzE5Mjkw", "avatar_url": "https://avatars.githubusercontent.com/u/72319290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KingCam12", "html_url": "https://github.com/KingCam12", "followers_url": "https://api.github.com/users/KingCam12/followers", "following_url": "https://api.github.com/users/KingCam12/following{/other_user}", "gists_url": "https://api.github.com/users/KingCam12/gists{/gist_id}", "starred_url": "https://api.github.com/users/KingCam12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KingCam12/subscriptions", "organizations_url": "https://api.github.com/users/KingCam12/orgs", "repos_url": "https://api.github.com/users/KingCam12/repos", "events_url": "https://api.github.com/users/KingCam12/events{/privacy}", "received_events_url": "https://api.github.com/users/KingCam12/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-13T14:15:08
2023-12-20T16:05:20
2023-12-20T16:05:20
NONE
null
### Issue you'd like to raise. imports import langchain import os from apikey import apikey import openai from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain import OpenAI from langchain.document_loaders import UnstructuredFileLoader from langchain.text_splitter import CharacterTextSplitter from langchain.chains import RetrievalQA import streamlit as st from langchain.document_loaders import TextLoader from langchain.embeddings.openai import OpenAIEmbeddings from langchain.llms import OpenAI from langchain.text_splitter import CharacterTextSplitter import nltk nltk.download("punkt") #loading file loader = UnstructuredFileLoader("aisc-shapes-database-v16.0.csv","aisc-shapes-database-v16.0_a1085.pdf") documents = loader.load() len(documents) text_splitter = CharacterTextSplitter(chunk_size =1000000000, chunk_overlap = 0) text = text_splitter.split_documents(documents) embeddings = OpenAIEmbeddings()#(openai_api_key = os.environ['OPENAI_API_KEY']) doc_search = Chroma.from_documents(text, embeddings) chain = RetrievalQA.from_chain_type(llm =OpenAI(), chain_type="stuff", retriever=doc_search.as_retriever(search_kwargs={"k":1})) query = "What is the area of wide flange W44X408" result = chain.run(query) print(result) model.save('CIVEN-GPT') ### Suggestion: It runs without the csv. file so im assuming it is that however I would like to be able to include the data in the file in the training.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10544/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/10544/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10543
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10543/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10543/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10543/events
https://github.com/langchain-ai/langchain/pull/10543
1,894,573,196
PR_kwDOIPDwls5aPNgn
10,543
openai_functions_multi_agent: solved the case when the "arguments" is valid JSON but it does not contain `actions` key
{ "login": "laurentiupiciu", "id": 9489444, "node_id": "MDQ6VXNlcjk0ODk0NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9489444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laurentiupiciu", "html_url": "https://github.com/laurentiupiciu", "followers_url": "https://api.github.com/users/laurentiupiciu/followers", "following_url": "https://api.github.com/users/laurentiupiciu/following{/other_user}", "gists_url": "https://api.github.com/users/laurentiupiciu/gists{/gist_id}", "starred_url": "https://api.github.com/users/laurentiupiciu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/laurentiupiciu/subscriptions", "organizations_url": "https://api.github.com/users/laurentiupiciu/orgs", "repos_url": "https://api.github.com/users/laurentiupiciu/repos", "events_url": "https://api.github.com/users/laurentiupiciu/events{/privacy}", "received_events_url": "https://api.github.com/users/laurentiupiciu/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": 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-09-13T13:45:41
2023-10-05T18:14:14
2023-10-05T18:08:09
CONTRIBUTOR
null
Description: There are cases when the output from the LLM comes fine (i.e. function_call["arguments"] is a valid JSON object), but it does not contain the key "actions". So I split the validation in 2 steps: loading arguments as JSON and then checking for "actions" in it.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10543/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/10543/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10543", "html_url": "https://github.com/langchain-ai/langchain/pull/10543", "diff_url": "https://github.com/langchain-ai/langchain/pull/10543.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10543.patch", "merged_at": "2023-10-05T18:08:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/10542
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10542/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10542/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10542/events
https://github.com/langchain-ai/langchain/issues/10542
1,894,566,864
I_kwDOIPDwls5w7MvQ
10,542
Get input prompt in a callback handler
{ "login": "kevin-guimard-ext", "id": 140074762, "node_id": "U_kgDOCFlfCg", "avatar_url": "https://avatars.githubusercontent.com/u/140074762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevin-guimard-ext", "html_url": "https://github.com/kevin-guimard-ext", "followers_url": "https://api.github.com/users/kevin-guimard-ext/followers", "following_url": "https://api.github.com/users/kevin-guimard-ext/following{/other_user}", "gists_url": "https://api.github.com/users/kevin-guimard-ext/gists{/gist_id}", "starred_url": "https://api.github.com/users/kevin-guimard-ext/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kevin-guimard-ext/subscriptions", "organizations_url": "https://api.github.com/users/kevin-guimard-ext/orgs", "repos_url": "https://api.github.com/users/kevin-guimard-ext/repos", "events_url": "https://api.github.com/users/kevin-guimard-ext/events{/privacy}", "received_events_url": "https://api.github.com/users/kevin-guimard-ext/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
0
2023-09-13T13:42:49
2023-10-31T18:15:10
null
NONE
null
### Feature request I want to intercept the input prompt and the output of a chain, so I added a custom callback to the chain (derived from _BaseCallbackHandler_), but the input prompt seems quite tricky to retrieve. The _on_chain_start_ method has the information hidden in the "serialized" variable, but accessing it is quite cumbersome. I let you judge by yourself: ``` def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> Any: """Run when chain starts running.""" print(serialized["kwargs"]["prompt"]["kwargs"]["messages"][0]["kwargs"]["prompt"]["kwargs"]["template"]) ``` Note that the format of _serialized_ changes from time to time for a reason I ignore, and it doesn't seem to be documented. This makes it unusable. Moreover, the "template" value is not the final prompt passed to the LLM after replacement of variables. As for the _on_text_ method, it contains a formatted and colored text: > Prompt after formatting: > Human: prompt in green Are there simpler ways to retrieve the input prompt from a callback handler? ### Motivation Showing both input and output could help debugging and it may be desirable to customize the outputs given by the _verbose_ mode. ### Your contribution Maybe simply add the input message in the parameters of the _on_chain_start_ method, regardless of the way it has been generated.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10542/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/10542/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10541
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10541/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10541/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10541/events
https://github.com/langchain-ai/langchain/issues/10541
1,894,532,433
I_kwDOIPDwls5w7EVR
10,541
Issue: Agents using GPTQ models from huggingface is really slow.
{ "login": "sauravm8", "id": 20572827, "node_id": "MDQ6VXNlcjIwNTcyODI3", "avatar_url": "https://avatars.githubusercontent.com/u/20572827?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sauravm8", "html_url": "https://github.com/sauravm8", "followers_url": "https://api.github.com/users/sauravm8/followers", "following_url": "https://api.github.com/users/sauravm8/following{/other_user}", "gists_url": "https://api.github.com/users/sauravm8/gists{/gist_id}", "starred_url": "https://api.github.com/users/sauravm8/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sauravm8/subscriptions", "organizations_url": "https://api.github.com/users/sauravm8/orgs", "repos_url": "https://api.github.com/users/sauravm8/repos", "events_url": "https://api.github.com/users/sauravm8/events{/privacy}", "received_events_url": "https://api.github.com/users/sauravm8/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": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-13T13:26:28
2023-12-20T16:05:26
2023-12-20T16:05:25
NONE
null
### Issue you'd like to raise. While trying to load a GPTQ model through a HuggingFace Pipeline and then run an agent on it, the inference time is really slow. ``` # Load configuration from the model to avoid warnings generation_config = GenerationConfig.from_pretrained(model_name_or_path) # Create a pipeline for text generation pipe = pipeline( task="text-generation", model=model, tokenizer=tokenizer, max_new_tokens=1024, do_sample=True, repetition_penalty=1.15, generation_config=generation_config, use_cache=False ) local_llm = HuggingFacePipeline(pipeline=pipe) logging.info("Local LLM Loaded") ``` The model is getting loaded on GPU ![image](https://github.com/langchain-ai/langchain/assets/20572827/3df28d2b-527c-492f-9a01-b6bf9f7b8933) However the inference is really slow. I am waiting around 10 minutes for one iteration to complete. `agent = create_csv_agent( local_llm, "titanic.csv", verbose=True, agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION, handle_parsing_errors=True )` `agent.run("What is the total number of rows in titanic.csv") ` Also, I get an error message -` Observation: len() is not a valid tool, try one of [python_repl_ast].` How to enable all tools so that the agent can use them? ### Suggestion: No suggestion, require help.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10541/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/10541/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10540
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10540/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10540/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10540/events
https://github.com/langchain-ai/langchain/pull/10540
1,894,516,796
PR_kwDOIPDwls5aPBJR
10,540
Add language detection example
{ "login": "mateusz-wosinski-ds", "id": 142883372, "node_id": "U_kgDOCIQ6LA", "avatar_url": "https://avatars.githubusercontent.com/u/142883372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mateusz-wosinski-ds", "html_url": "https://github.com/mateusz-wosinski-ds", "followers_url": "https://api.github.com/users/mateusz-wosinski-ds/followers", "following_url": "https://api.github.com/users/mateusz-wosinski-ds/following{/other_user}", "gists_url": "https://api.github.com/users/mateusz-wosinski-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/mateusz-wosinski-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mateusz-wosinski-ds/subscriptions", "organizations_url": "https://api.github.com/users/mateusz-wosinski-ds/orgs", "repos_url": "https://api.github.com/users/mateusz-wosinski-ds/repos", "events_url": "https://api.github.com/users/mateusz-wosinski-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/mateusz-wosinski-ds/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-09-13T13:18:02
2023-10-05T17:39:09
2023-10-05T17:39:09
CONTRIBUTOR
null
### Description Adds language detection examples based on [langdetect](https://github.com/Mimino666/langdetect/tree/master/langdetect) and [fasttext](https://github.com/facebookresearch/fastText/) libraries. These frameworks can be especially useful together with components that require selection of the language (e.g. data-anonymizer) ### Twitter handle @deepsense_ai, @matt_wosinski
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10540/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/10540/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10540", "html_url": "https://github.com/langchain-ai/langchain/pull/10540", "diff_url": "https://github.com/langchain-ai/langchain/pull/10540.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10540.patch", "merged_at": "2023-10-05T17:39:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/10539
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10539/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10539/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10539/events
https://github.com/langchain-ai/langchain/issues/10539
1,894,471,329
I_kwDOIPDwls5w61ah
10,539
Will langchain be able to support Baidu Qianfan in the future?
{ "login": "614TChen", "id": 47622353, "node_id": "MDQ6VXNlcjQ3NjIyMzUz", "avatar_url": "https://avatars.githubusercontent.com/u/47622353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/614TChen", "html_url": "https://github.com/614TChen", "followers_url": "https://api.github.com/users/614TChen/followers", "following_url": "https://api.github.com/users/614TChen/following{/other_user}", "gists_url": "https://api.github.com/users/614TChen/gists{/gist_id}", "starred_url": "https://api.github.com/users/614TChen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/614TChen/subscriptions", "organizations_url": "https://api.github.com/users/614TChen/orgs", "repos_url": "https://api.github.com/users/614TChen/repos", "events_url": "https://api.github.com/users/614TChen/events{/privacy}", "received_events_url": "https://api.github.com/users/614TChen/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-09-13T12:55:51
2023-09-28T01:19:12
2023-09-28T01:19:12
NONE
null
### Feature request New features to support Baudu's Qianfan ### Motivation I believe that Baidu's recently launched LLM platform, Qianfan, which offers a range of APIs, will soon become widely adopted. It would be beneficial to consider incorporating features that facilitate seamless integration between Langchain and Qianfan, making it easier for developers to build applications. ### Your contribution https://github.com/langchain-ai/langchain/pull/10496
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10539/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/10539/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10538
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10538/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10538/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10538/events
https://github.com/langchain-ai/langchain/issues/10538
1,894,462,413
I_kwDOIPDwls5w6zPN
10,538
SimpleJsonOutputParser not working
{ "login": "LarsAC", "id": 84110, "node_id": "MDQ6VXNlcjg0MTEw", "avatar_url": "https://avatars.githubusercontent.com/u/84110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LarsAC", "html_url": "https://github.com/LarsAC", "followers_url": "https://api.github.com/users/LarsAC/followers", "following_url": "https://api.github.com/users/LarsAC/following{/other_user}", "gists_url": "https://api.github.com/users/LarsAC/gists{/gist_id}", "starred_url": "https://api.github.com/users/LarsAC/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LarsAC/subscriptions", "organizations_url": "https://api.github.com/users/LarsAC/orgs", "repos_url": "https://api.github.com/users/LarsAC/repos", "events_url": "https://api.github.com/users/LarsAC/events{/privacy}", "received_events_url": "https://api.github.com/users/LarsAC/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": 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-09-13T12:50:53
2023-12-20T16:05:31
2023-12-20T16:05:30
CONTRIBUTOR
null
### System Info Langchain 0.0.287 In output_parsers there is a `SimpleJsonOutputParser` defined (json.py). This looks very reasonable for easily getting answers back in structured a format. However, the class does not work as it does not specify the method `get_format_instructions`and thus calling the parse method raises a `NotImplementedError`. In addition, there is no documentation and the class is not imported into the `__init__.py` of the directory. Is this intended behavior ? I am ok to submit a small patch - for my case the class comes very handy and has less complexity than the approach via Pydantic. ### 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 - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Steps to reproduce 1. from langchain.output_parsers.json import SimpleJsonOutputParser 2. output_parser = SimpleJsonOutputParser() 3. format_instructions = output_parser.get_format_instructions() ### Expected behavior SimpleJsonOutputParser works like any other output parser.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10538/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/10538/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10536
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10536/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10536/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10536/events
https://github.com/langchain-ai/langchain/issues/10536
1,894,354,179
I_kwDOIPDwls5w6Y0D
10,536
Issue: google calendar agent
{ "login": "isayahc", "id": 18591926, "node_id": "MDQ6VXNlcjE4NTkxOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/18591926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isayahc", "html_url": "https://github.com/isayahc", "followers_url": "https://api.github.com/users/isayahc/followers", "following_url": "https://api.github.com/users/isayahc/following{/other_user}", "gists_url": "https://api.github.com/users/isayahc/gists{/gist_id}", "starred_url": "https://api.github.com/users/isayahc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/isayahc/subscriptions", "organizations_url": "https://api.github.com/users/isayahc/orgs", "repos_url": "https://api.github.com/users/isayahc/repos", "events_url": "https://api.github.com/users/isayahc/events{/privacy}", "received_events_url": "https://api.github.com/users/isayahc/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" } ]
closed
false
null
[]
null
1
2023-09-13T11:46:22
2023-09-14T02:37:27
2023-09-14T02:37:27
NONE
null
### Issue you'd like to raise. Is there an agent toolkit for google calendar? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10536/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/10536/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10535
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10535/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10535/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10535/events
https://github.com/langchain-ai/langchain/pull/10535
1,894,353,050
PR_kwDOIPDwls5aOdPl
10,535
Added Streaming Capability to SageMaker LLMs
{ "login": "dazajuandaniel", "id": 7788126, "node_id": "MDQ6VXNlcjc3ODgxMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/7788126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dazajuandaniel", "html_url": "https://github.com/dazajuandaniel", "followers_url": "https://api.github.com/users/dazajuandaniel/followers", "following_url": "https://api.github.com/users/dazajuandaniel/following{/other_user}", "gists_url": "https://api.github.com/users/dazajuandaniel/gists{/gist_id}", "starred_url": "https://api.github.com/users/dazajuandaniel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dazajuandaniel/subscriptions", "organizations_url": "https://api.github.com/users/dazajuandaniel/orgs", "repos_url": "https://api.github.com/users/dazajuandaniel/repos", "events_url": "https://api.github.com/users/dazajuandaniel/events{/privacy}", "received_events_url": "https://api.github.com/users/dazajuandaniel/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" }, { "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
null
[]
null
10
2023-09-13T11:45:36
2023-10-25T16:08:00
2023-10-05T18:08:44
CONTRIBUTOR
null
This PR adds the ability to declare a Streaming response in the SageMaker LLM by leveraging the `invoke_endpoint_with_response_stream` capability in `boto3`. It is heavily based on the AWS Blog Post announcement linked [here](https://aws.amazon.com/blogs/machine-learning/elevating-the-generative-ai-experience-introducing-streaming-support-in-amazon-sagemaker-hosting/). It does not add any additional dependencies since it uses the existing `boto3` version.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10535/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/10535/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10535", "html_url": "https://github.com/langchain-ai/langchain/pull/10535", "diff_url": "https://github.com/langchain-ai/langchain/pull/10535.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10535.patch", "merged_at": "2023-10-05T18:08:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/10534
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10534/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10534/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10534/events
https://github.com/langchain-ai/langchain/pull/10534
1,894,334,794
PR_kwDOIPDwls5aOZOT
10,534
Fix SingleStoreDB
{ "login": "volodymyr-memsql", "id": 57520563, "node_id": "MDQ6VXNlcjU3NTIwNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/57520563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/volodymyr-memsql", "html_url": "https://github.com/volodymyr-memsql", "followers_url": "https://api.github.com/users/volodymyr-memsql/followers", "following_url": "https://api.github.com/users/volodymyr-memsql/following{/other_user}", "gists_url": "https://api.github.com/users/volodymyr-memsql/gists{/gist_id}", "starred_url": "https://api.github.com/users/volodymyr-memsql/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/volodymyr-memsql/subscriptions", "organizations_url": "https://api.github.com/users/volodymyr-memsql/orgs", "repos_url": "https://api.github.com/users/volodymyr-memsql/repos", "events_url": "https://api.github.com/users/volodymyr-memsql/events{/privacy}", "received_events_url": "https://api.github.com/users/volodymyr-memsql/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-13T11:33:27
2023-09-18T07:17:22
2023-09-13T19:09:46
CONTRIBUTOR
null
After the refactoring #6570, the DistanceStrategy class was moved to another module and this introduced a bug into the SingleStoreDB vector store, as the `DistanceStrategy.EUCLEDIAN_DISTANCE` started to convert into the 'DistanceStrategy.EUCLEDIAN_DISTANCE' string, instead of just 'EUCLEDIAN_DISTANCE' (same for 'DOT_PRODUCT'). In this change, I check the type of the parameter and use `.name` attribute to get the correct object's name.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10534/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/10534/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10534", "html_url": "https://github.com/langchain-ai/langchain/pull/10534", "diff_url": "https://github.com/langchain-ai/langchain/pull/10534.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10534.patch", "merged_at": "2023-09-13T19:09:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/10533
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10533/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10533/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10533/events
https://github.com/langchain-ai/langchain/issues/10533
1,894,264,876
I_kwDOIPDwls5w6DAs
10,533
Issue: Is LangSmith playground compatible with Azure OpenAI?
{ "login": "gchlodzinski", "id": 561223, "node_id": "MDQ6VXNlcjU2MTIyMw==", "avatar_url": "https://avatars.githubusercontent.com/u/561223?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchlodzinski", "html_url": "https://github.com/gchlodzinski", "followers_url": "https://api.github.com/users/gchlodzinski/followers", "following_url": "https://api.github.com/users/gchlodzinski/following{/other_user}", "gists_url": "https://api.github.com/users/gchlodzinski/gists{/gist_id}", "starred_url": "https://api.github.com/users/gchlodzinski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gchlodzinski/subscriptions", "organizations_url": "https://api.github.com/users/gchlodzinski/orgs", "repos_url": "https://api.github.com/users/gchlodzinski/repos", "events_url": "https://api.github.com/users/gchlodzinski/events{/privacy}", "received_events_url": "https://api.github.com/users/gchlodzinski/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
11
2023-09-13T10:48:45
2023-10-11T10:43:39
null
NONE
null
### Issue you'd like to raise. 1. I have downloaded original LangSmith walkthrough notebook and modified it to run AzureOpenAI llm instead of OpenAI 2. After successful run of the first example I went to Langsmith, selected first LLM call and opened it in the Playground. 3. I have filled up OpenAI key and hit 'Start' Here is the error I get: Error: Invalid namespace: $ -> {"id":["langchain","chat_models","azure_openai","AzureChatOpenAI"],"lc":1,"type":"constructor","kwargs":{"temperature":0,"openai_api_key":{"id":["xxx"],"lc":1,"type":"secret"},"deployment_name":"chat-gpt","openai_api_base":"yyy","openai_api_type":"azure","openai_api_version":"2023-03-15-preview"}} I have played with different ways of setting OPEN_API_KEY but none of them works, the same error is consistently displayed. So it is a bug or Azure Open AI does not work by design in the Playground? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10533/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/10533/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10532
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10532/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10532/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10532/events
https://github.com/langchain-ai/langchain/pull/10532
1,894,161,102
PR_kwDOIPDwls5aNzDk
10,532
Add support for Exllama
{ "login": "EkChinHui", "id": 57344608, "node_id": "MDQ6VXNlcjU3MzQ0NjA4", "avatar_url": "https://avatars.githubusercontent.com/u/57344608?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EkChinHui", "html_url": "https://github.com/EkChinHui", "followers_url": "https://api.github.com/users/EkChinHui/followers", "following_url": "https://api.github.com/users/EkChinHui/following{/other_user}", "gists_url": "https://api.github.com/users/EkChinHui/gists{/gist_id}", "starred_url": "https://api.github.com/users/EkChinHui/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EkChinHui/subscriptions", "organizations_url": "https://api.github.com/users/EkChinHui/orgs", "repos_url": "https://api.github.com/users/EkChinHui/repos", "events_url": "https://api.github.com/users/EkChinHui/events{/privacy}", "received_events_url": "https://api.github.com/users/EkChinHui/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
6
2023-09-13T09:48:14
2023-12-18T22:44:20
null
NONE
null
- Description: Integrate exllama as an LLM, - Issue: #8385 , - Dependencies: https://github.com/jllllll/exllama Referenced https://github.com/CoffeeVampir3/exllama-langchain-example/tree/master
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10532/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/10532/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10532", "html_url": "https://github.com/langchain-ai/langchain/pull/10532", "diff_url": "https://github.com/langchain-ai/langchain/pull/10532.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10532.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10531
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10531/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10531/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10531/events
https://github.com/langchain-ai/langchain/issues/10531
1,894,137,855
I_kwDOIPDwls5w5j__
10,531
ValueError: Missing some input keys: {'input'}
{ "login": "awais-akhtar", "id": 70436174, "node_id": "MDQ6VXNlcjcwNDM2MTc0", "avatar_url": "https://avatars.githubusercontent.com/u/70436174?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awais-akhtar", "html_url": "https://github.com/awais-akhtar", "followers_url": "https://api.github.com/users/awais-akhtar/followers", "following_url": "https://api.github.com/users/awais-akhtar/following{/other_user}", "gists_url": "https://api.github.com/users/awais-akhtar/gists{/gist_id}", "starred_url": "https://api.github.com/users/awais-akhtar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/awais-akhtar/subscriptions", "organizations_url": "https://api.github.com/users/awais-akhtar/orgs", "repos_url": "https://api.github.com/users/awais-akhtar/repos", "events_url": "https://api.github.com/users/awais-akhtar/events{/privacy}", "received_events_url": "https://api.github.com/users/awais-akhtar/received_events", "type": "User", "site_admin": false }
[ { "id": 4678528832, "node_id": "LA_kwDOIPDwls8AAAABFtyvQA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/question", "name": "question", "color": "d876e3", "default": true, "description": "Further information is requested" }, { "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" }, { "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
7
2023-09-13T09:36:13
2024-01-05T17:21:22
null
NONE
null
### System Info langchain deplopment on sagemaker ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [x] Embedding Models - [x] Prompts / Prompt Templates / Prompt Selectors - [x] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [x] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction from langchain import SagemakerEndpoint from langchain.llms.sagemaker_endpoint import LLMContentHandler from typing import Dict import json class HFContentHandler(LLMContentHandler): content_type = "application/json" accepts = "application/json" def transform_input(self, prompt: str, model_kwargs: Dict) -> bytes: input_dict = { "input": { "question": prompt, "context": model_kwargs } } input_str = json.dumps(input_dict) return input_str.encode('utf-8') def transform_output(self, output: bytes) -> str: response_json = output.read().decode('utf-8') res = json.loads(response_json) # Stripping away the input prompt from the returned response ans = res[0]['generated_text'][self.len_prompt:] ans = ans[:ans.rfind("Human")].strip() return ans # Example parameters parameters = { 'do_sample': True, 'top_p': 0.3, 'max_new_tokens': 1024, 'temperature': 0.6, 'watermark': True } llm = SagemakerEndpoint( endpoint_name="huggingface-pytorch-inference-**********", region_name="us-east-1", model_kwargs=parameters, content_handler=HFContentHandler(), ) from langchain.memory import ConversationBufferMemory from langchain.chains import ConversationChain memory = ConversationBufferMemory() # Creating a chain with buffer memory to keep track of conversations chain = ConversationChain(llm=llm, memory=memory) chain.predict({"input": {"question": "this is test", "context": "this is answer"}}) ### Expected behavior there is error in content handler please help to correct it. --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[87], line 8 5 # Creating a chain with buffer memory to keep track of conversations 6 chain = ConversationChain(llm=llm, memory=memory) ----> 8 chain.predict({"input": {"question": "this is test", "context": "this is answer"}}) File ~/anaconda3/envs/python3/lib/python3.10/site-packages/langchain/chains/llm.py:255, in LLMChain.predict(self, callbacks, **kwargs) 240 def predict(self, callbacks: Callbacks = None, **kwargs: Any) -> str: 241 """Format prompt with kwargs and pass to LLM. 242 243 Args: (...) 253 completion = llm.predict(adjective="funny") 254 """ --> 255 return self(kwargs, callbacks=callbacks)[self.output_key] File ~/anaconda3/envs/python3/lib/python3.10/site-packages/langchain/chains/base.py:268, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info) 232 def __call__( 233 self, 234 inputs: Union[Dict[str, Any], Any], (...) 241 include_run_info: bool = False, 242 ) -> Dict[str, Any]: 243 """Execute the chain. 244 245 Args: (...) 266 `Chain.output_keys`. 267 """ --> 268 inputs = self.prep_inputs(inputs) 269 callback_manager = CallbackManager.configure( 270 callbacks, 271 self.callbacks, (...) 276 self.metadata, 277 ) 278 new_arg_supported = inspect.signature(self._call).parameters.get("run_manager") File ~/anaconda3/envs/python3/lib/python3.10/site-packages/langchain/chains/base.py:425, in Chain.prep_inputs(self, inputs) 423 external_context = self.memory.load_memory_variables(inputs) 424 inputs = dict(inputs, **external_context) --> 425 self._validate_inputs(inputs) 426 return inputs File ~/anaconda3/envs/python3/lib/python3.10/site-packages/langchain/chains/base.py:179, in Chain._validate_inputs(self, inputs) 177 missing_keys = set(self.input_keys).difference(inputs) 178 if missing_keys: --> 179 raise ValueError(f"Missing some input keys: {missing_keys}") ValueError: Missing some input keys: {'input'}
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10531/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/10531/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10530
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10530/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10530/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10530/events
https://github.com/langchain-ai/langchain/issues/10530
1,894,127,953
I_kwDOIPDwls5w5hlR
10,530
Can not access to url: https://python.langchain.com/docs/integrations/text_embedding/sentence_transformers
{ "login": "phamkhactu", "id": 42369268, "node_id": "MDQ6VXNlcjQyMzY5MjY4", "avatar_url": "https://avatars.githubusercontent.com/u/42369268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phamkhactu", "html_url": "https://github.com/phamkhactu", "followers_url": "https://api.github.com/users/phamkhactu/followers", "following_url": "https://api.github.com/users/phamkhactu/following{/other_user}", "gists_url": "https://api.github.com/users/phamkhactu/gists{/gist_id}", "starred_url": "https://api.github.com/users/phamkhactu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phamkhactu/subscriptions", "organizations_url": "https://api.github.com/users/phamkhactu/orgs", "repos_url": "https://api.github.com/users/phamkhactu/repos", "events_url": "https://api.github.com/users/phamkhactu/events{/privacy}", "received_events_url": "https://api.github.com/users/phamkhactu/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" }, { "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
3
2023-09-13T09:30:31
2023-12-25T16:08:20
2023-12-25T16:08:19
NONE
null
### Issue you'd like to raise. https://python.langchain.com/docs/integrations/text_embedding/sentence_transformers is unreachable. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10530/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/10530/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10529
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10529/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10529/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10529/events
https://github.com/langchain-ai/langchain/issues/10529
1,894,107,226
I_kwDOIPDwls5w5cha
10,529
compress content when using gpt-4
{ "login": "easontsai", "id": 19547472, "node_id": "MDQ6VXNlcjE5NTQ3NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/19547472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/easontsai", "html_url": "https://github.com/easontsai", "followers_url": "https://api.github.com/users/easontsai/followers", "following_url": "https://api.github.com/users/easontsai/following{/other_user}", "gists_url": "https://api.github.com/users/easontsai/gists{/gist_id}", "starred_url": "https://api.github.com/users/easontsai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/easontsai/subscriptions", "organizations_url": "https://api.github.com/users/easontsai/orgs", "repos_url": "https://api.github.com/users/easontsai/repos", "events_url": "https://api.github.com/users/easontsai/events{/privacy}", "received_events_url": "https://api.github.com/users/easontsai/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": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-13T09:20:29
2023-12-20T16:05:41
2023-12-20T16:05:40
NONE
null
hi team, In langchain agent, any recommendations to compress the content? Hoping to reduce the token usage. Setting max token was not working to reduce the token usage.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10529/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/10529/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10528
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10528/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10528/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10528/events
https://github.com/langchain-ai/langchain/issues/10528
1,894,078,446
I_kwDOIPDwls5w5Vfu
10,528
Handle by default `ToolException`
{ "login": "clemlesne", "id": 10001945, "node_id": "MDQ6VXNlcjEwMDAxOTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/10001945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clemlesne", "html_url": "https://github.com/clemlesne", "followers_url": "https://api.github.com/users/clemlesne/followers", "following_url": "https://api.github.com/users/clemlesne/following{/other_user}", "gists_url": "https://api.github.com/users/clemlesne/gists{/gist_id}", "starred_url": "https://api.github.com/users/clemlesne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/clemlesne/subscriptions", "organizations_url": "https://api.github.com/users/clemlesne/orgs", "repos_url": "https://api.github.com/users/clemlesne/repos", "events_url": "https://api.github.com/users/clemlesne/events{/privacy}", "received_events_url": "https://api.github.com/users/clemlesne/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" } ]
open
false
null
[]
null
1
2023-09-13T09:05:35
2023-10-25T17:07:51
null
NONE
null
### Feature request As of today, if a tool crashes, the whole agent or chain crashes. From a user point-of-view, it is understandable that a specific tool is not available. ### Motivation The user experience should be maintained if a dependency is broken. Plus, catching by default tool error can enhance the software reliability. ### Relates - https://github.com/langchain-ai/langchain/issues/8348
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10528/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/10528/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10526
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10526/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10526/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10526/events
https://github.com/langchain-ai/langchain/issues/10526
1,893,881,183
I_kwDOIPDwls5w4lVf
10,526
Issue: How to retrieve and search from multiple collections or directories?
{ "login": "apurv101", "id": 14235444, "node_id": "MDQ6VXNlcjE0MjM1NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/14235444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apurv101", "html_url": "https://github.com/apurv101", "followers_url": "https://api.github.com/users/apurv101/followers", "following_url": "https://api.github.com/users/apurv101/following{/other_user}", "gists_url": "https://api.github.com/users/apurv101/gists{/gist_id}", "starred_url": "https://api.github.com/users/apurv101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/apurv101/subscriptions", "organizations_url": "https://api.github.com/users/apurv101/orgs", "repos_url": "https://api.github.com/users/apurv101/repos", "events_url": "https://api.github.com/users/apurv101/events{/privacy}", "received_events_url": "https://api.github.com/users/apurv101/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": 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" } ]
closed
false
null
[]
null
2
2023-09-13T07:03:24
2023-12-20T16:05:46
2023-12-20T16:05:45
CONTRIBUTOR
null
### Issue you'd like to raise. Is there any way in langchain to fetch documents from multiple vectorstores, and then combine them to ask the question. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10526/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/10526/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10525
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10525/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10525/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10525/events
https://github.com/langchain-ai/langchain/pull/10525
1,893,801,398
PR_kwDOIPDwls5aMlOR
10,525
Bagatur/elevenlabs
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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-09-13T06:01:10
2023-09-13T06:11:05
2023-09-13T06:11:04
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/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10525/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/10525/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10525", "html_url": "https://github.com/langchain-ai/langchain/pull/10525", "diff_url": "https://github.com/langchain-ai/langchain/pull/10525.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10525.patch", "merged_at": "2023-09-13T06:11:04" }
https://api.github.com/repos/langchain-ai/langchain/issues/10524
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10524/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10524/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10524/events
https://github.com/langchain-ai/langchain/issues/10524
1,893,792,079
I_kwDOIPDwls5w4PlP
10,524
Opensearch metadata_field and metadata_filter not working
{ "login": "abhinavmishra05", "id": 29484957, "node_id": "MDQ6VXNlcjI5NDg0OTU3", "avatar_url": "https://avatars.githubusercontent.com/u/29484957?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhinavmishra05", "html_url": "https://github.com/abhinavmishra05", "followers_url": "https://api.github.com/users/abhinavmishra05/followers", "following_url": "https://api.github.com/users/abhinavmishra05/following{/other_user}", "gists_url": "https://api.github.com/users/abhinavmishra05/gists{/gist_id}", "starred_url": "https://api.github.com/users/abhinavmishra05/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abhinavmishra05/subscriptions", "organizations_url": "https://api.github.com/users/abhinavmishra05/orgs", "repos_url": "https://api.github.com/users/abhinavmishra05/repos", "events_url": "https://api.github.com/users/abhinavmishra05/events{/privacy}", "received_events_url": "https://api.github.com/users/abhinavmishra05/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": 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-09-13T05:51:57
2023-10-17T11:22:52
null
NONE
null
### System Info langchain version = 0.0.281 python = 3.11 opensearch-py = 2.3.0 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I am trying to do metadata based filtering alongside the query execution using `OpensearchVectorSearch.similarity_search()`. But when I use `metadata_field` and `metadata_filter`, the search doesn't seems to take that into account and still returns results outside of those filters. Here is myr code: `response = es.similarity_search( query = "<sample query text>", K =4, metadata_field = "title", metadata_filter = {"match":{"title": "<sample doc title>}}, )` Here `es` is the `OpenSearchVectorSearch` object for `index1` The output structure is like this: `[Document(page_content = ' ', metadata={'vector_field' : [], 'text' : ' ', 'metadata' : {'source' : ' ', 'title' : ' ' }})]` Here the title I see is not the title I specified in my query. Steps to reproduce: 1. Create an Opensearch index with multiple documents. 2. Run similarity_search() query with a metadata_field and/or metadata_filter ### Expected behavior The query should be run against the specified `metadata_field` and `metadata_filter` and in output, I should only see the correct document name I specified in `metadata_field` and `metadata_filter`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10524/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/10524/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10523
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10523/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10523/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10523/events
https://github.com/langchain-ai/langchain/pull/10523
1,893,725,262
PR_kwDOIPDwls5aMUx8
10,523
fix: unify generation outputs on newer openllm release
{ "login": "aarnphm", "id": 29749331, "node_id": "MDQ6VXNlcjI5NzQ5MzMx", "avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aarnphm", "html_url": "https://github.com/aarnphm", "followers_url": "https://api.github.com/users/aarnphm/followers", "following_url": "https://api.github.com/users/aarnphm/following{/other_user}", "gists_url": "https://api.github.com/users/aarnphm/gists{/gist_id}", "starred_url": "https://api.github.com/users/aarnphm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aarnphm/subscriptions", "organizations_url": "https://api.github.com/users/aarnphm/orgs", "repos_url": "https://api.github.com/users/aarnphm/repos", "events_url": "https://api.github.com/users/aarnphm/events{/privacy}", "received_events_url": "https://api.github.com/users/aarnphm/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-13T04:37:36
2023-09-13T20:49:17
2023-09-13T20:49:17
CONTRIBUTOR
null
update newer generation format from OpenLLm where it returns a dictionary for one shot generation cc @baskaryan Signed-off-by: Aaron <[email protected]> <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10523/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/10523/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10523", "html_url": "https://github.com/langchain-ai/langchain/pull/10523", "diff_url": "https://github.com/langchain-ai/langchain/pull/10523.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10523.patch", "merged_at": "2023-09-13T20:49:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/10522
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10522/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10522/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10522/events
https://github.com/langchain-ai/langchain/pull/10522
1,893,647,164
PR_kwDOIPDwls5aMDZV
10,522
Additional Weaviate Filter Comparators
{ "login": "prandell", "id": 52766847, "node_id": "MDQ6VXNlcjUyNzY2ODQ3", "avatar_url": "https://avatars.githubusercontent.com/u/52766847?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prandell", "html_url": "https://github.com/prandell", "followers_url": "https://api.github.com/users/prandell/followers", "following_url": "https://api.github.com/users/prandell/following{/other_user}", "gists_url": "https://api.github.com/users/prandell/gists{/gist_id}", "starred_url": "https://api.github.com/users/prandell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prandell/subscriptions", "organizations_url": "https://api.github.com/users/prandell/orgs", "repos_url": "https://api.github.com/users/prandell/repos", "events_url": "https://api.github.com/users/prandell/events{/privacy}", "received_events_url": "https://api.github.com/users/prandell/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
4
2023-09-13T03:17:45
2023-10-05T17:40:05
2023-10-05T17:40:05
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. --> ### Description When using Weaviate Self-Retrievers, certain common filter comparators generated by user queries were unimplemented, resulting in errors. This PR implements some of them. All linting and format commands have been run and tests passed. ### Issue #10474 ### Dependencies timestamp module
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10522/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/10522/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10522", "html_url": "https://github.com/langchain-ai/langchain/pull/10522", "diff_url": "https://github.com/langchain-ai/langchain/pull/10522.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10522.patch", "merged_at": "2023-10-05T17:40:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/10521
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10521/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10521/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10521/events
https://github.com/langchain-ai/langchain/issues/10521
1,893,622,488
I_kwDOIPDwls5w3mLY
10,521
only use past x messages
{ "login": "MannJadwani", "id": 89898145, "node_id": "MDQ6VXNlcjg5ODk4MTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/89898145?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MannJadwani", "html_url": "https://github.com/MannJadwani", "followers_url": "https://api.github.com/users/MannJadwani/followers", "following_url": "https://api.github.com/users/MannJadwani/following{/other_user}", "gists_url": "https://api.github.com/users/MannJadwani/gists{/gist_id}", "starred_url": "https://api.github.com/users/MannJadwani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MannJadwani/subscriptions", "organizations_url": "https://api.github.com/users/MannJadwani/orgs", "repos_url": "https://api.github.com/users/MannJadwani/repos", "events_url": "https://api.github.com/users/MannJadwani/events{/privacy}", "received_events_url": "https://api.github.com/users/MannJadwani/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-09-13T02:42:51
2023-12-20T16:05:51
2023-12-20T16:05:50
NONE
null
### Feature request An input for conversational chains to be able to limit their context to a set number of chats ### Motivation I am in the process of building a document analysis tool using langchain but when the chat chain becomes too long, I just get an error stating that the limit for the no of openai tokens has been reached because the context keeps becoming longer and longer. is there some way i could limit the context to only a certain no of messages and not take all of them in. ### Your contribution No I am very new to using langchain and having a hard time understanding the codebase. so i am afraid their is nothing i could do to help.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10521/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/10521/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10520
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10520/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10520/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10520/events
https://github.com/langchain-ai/langchain/issues/10520
1,893,566,283
I_kwDOIPDwls5w3YdL
10,520
Reduce azure openai token usage
{ "login": "easontsai", "id": 19547472, "node_id": "MDQ6VXNlcjE5NTQ3NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/19547472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/easontsai", "html_url": "https://github.com/easontsai", "followers_url": "https://api.github.com/users/easontsai/followers", "following_url": "https://api.github.com/users/easontsai/following{/other_user}", "gists_url": "https://api.github.com/users/easontsai/gists{/gist_id}", "starred_url": "https://api.github.com/users/easontsai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/easontsai/subscriptions", "organizations_url": "https://api.github.com/users/easontsai/orgs", "repos_url": "https://api.github.com/users/easontsai/repos", "events_url": "https://api.github.com/users/easontsai/events{/privacy}", "received_events_url": "https://api.github.com/users/easontsai/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": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-13T01:23:29
2023-12-20T16:05:56
2023-12-20T16:05:55
NONE
null
hi team, I am using the Azure openai gpt4-32k as llm in langchain. I implemented openai plugin by agent, but the cost is increasing at an incredible rate. I think the agent would ask gpt4 modal to understand the plugin openapi json that make the token usage increasing. any recommendations to reduce the token usage in agent? thanks
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10520/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/10520/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10519
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10519/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10519/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10519/events
https://github.com/langchain-ai/langchain/issues/10519
1,893,555,356
I_kwDOIPDwls5w3Vyc
10,519
Support jinja2 template format when using ChatPromptTemplate.from_template_file
{ "login": "mep-um", "id": 3371600, "node_id": "MDQ6VXNlcjMzNzE2MDA=", "avatar_url": "https://avatars.githubusercontent.com/u/3371600?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mep-um", "html_url": "https://github.com/mep-um", "followers_url": "https://api.github.com/users/mep-um/followers", "following_url": "https://api.github.com/users/mep-um/following{/other_user}", "gists_url": "https://api.github.com/users/mep-um/gists{/gist_id}", "starred_url": "https://api.github.com/users/mep-um/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mep-um/subscriptions", "organizations_url": "https://api.github.com/users/mep-um/orgs", "repos_url": "https://api.github.com/users/mep-um/repos", "events_url": "https://api.github.com/users/mep-um/events{/privacy}", "received_events_url": "https://api.github.com/users/mep-um/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" } ]
open
false
null
[]
null
6
2023-09-13T01:10:23
2023-10-07T10:26:42
null
NONE
null
### Feature request BaseStringMessagePromptTemplate.from_template supports the template_format variable, while BaseStringMessagePromptTemplate.from_template_file does not. ### Motivation All supported template formats (including Jinja2) should be supported by all template loaders equally. ### Your contribution I'm not experienced enough with the Langchain codebase to submit PRs at this time.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10519/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/10519/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10518
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10518/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10518/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10518/events
https://github.com/langchain-ai/langchain/pull/10518
1,893,540,448
PR_kwDOIPDwls5aLs0c
10,518
add replicate stream
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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-09-13T00:49:58
2023-09-14T15:49:45
2023-09-14T15:44:06
COLLABORATOR
null
support direct replicate streaming. cc @cbh123 @tjaffri
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10518/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/10518/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10518", "html_url": "https://github.com/langchain-ai/langchain/pull/10518", "diff_url": "https://github.com/langchain-ai/langchain/pull/10518.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10518.patch", "merged_at": "2023-09-14T15:44:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/10517
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10517/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10517/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10517/events
https://github.com/langchain-ai/langchain/pull/10517
1,893,454,929
PR_kwDOIPDwls5aLaJv
10,517
cache replicate version
{ "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": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-12T23:12:18
2023-09-14T15:34:06
2023-09-14T15:34:05
COLLABORATOR
null
In subsequent pr will update _call to use replicate.run directly when not streaming, so version object isn't needed at all cc @cbh123 @tjaffri
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10517/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/10517/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10517", "html_url": "https://github.com/langchain-ai/langchain/pull/10517", "diff_url": "https://github.com/langchain-ai/langchain/pull/10517.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10517.patch", "merged_at": "2023-09-14T15:34:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/10516
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10516/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10516/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10516/events
https://github.com/langchain-ai/langchain/pull/10516
1,893,413,058
PR_kwDOIPDwls5aLUsm
10,516
Bagatur/replicate inputs
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2023-09-12T22:46:51
2023-09-12T22:52:14
2023-09-12T22:52:13
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10516/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/10516/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10516", "html_url": "https://github.com/langchain-ai/langchain/pull/10516", "diff_url": "https://github.com/langchain-ai/langchain/pull/10516.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10516.patch", "merged_at": "2023-09-12T22:52:13" }
https://api.github.com/repos/langchain-ai/langchain/issues/10515
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10515/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10515/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10515/events
https://github.com/langchain-ai/langchain/pull/10515
1,893,387,846
PR_kwDOIPDwls5aLPHK
10,515
fixed PR template
{ "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": 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-09-12T22:22:37
2023-09-13T16:36:20
2023-09-13T16:35:48
COLLABORATOR
null
@hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10515/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/10515/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10515", "html_url": "https://github.com/langchain-ai/langchain/pull/10515", "diff_url": "https://github.com/langchain-ai/langchain/pull/10515.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10515.patch", "merged_at": "2023-09-13T16:35:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/10514
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10514/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10514/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10514/events
https://github.com/langchain-ai/langchain/pull/10514
1,893,322,151
PR_kwDOIPDwls5aLEo1
10,514
Moved from InferenceApi to InferenceClient to avoid deprecation warning for huggingface_hub
{ "login": "keenborder786", "id": 45242107, "node_id": "MDQ6VXNlcjQ1MjQyMTA3", "avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/keenborder786", "html_url": "https://github.com/keenborder786", "followers_url": "https://api.github.com/users/keenborder786/followers", "following_url": "https://api.github.com/users/keenborder786/following{/other_user}", "gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}", "starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions", "organizations_url": "https://api.github.com/users/keenborder786/orgs", "repos_url": "https://api.github.com/users/keenborder786/repos", "events_url": "https://api.github.com/users/keenborder786/events{/privacy}", "received_events_url": "https://api.github.com/users/keenborder786/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
4
2023-09-12T21:43:33
2023-12-16T20:28:56
2023-12-16T20:28:55
CONTRIBUTOR
null
Updated huggingface_hub llm to use the new InferenceClient to avoid deprecation warning. Resolves the issue: #10483 @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10514/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/10514/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10514", "html_url": "https://github.com/langchain-ai/langchain/pull/10514", "diff_url": "https://github.com/langchain-ai/langchain/pull/10514.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10514.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10513
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10513/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10513/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10513/events
https://github.com/langchain-ai/langchain/pull/10513
1,893,300,757
PR_kwDOIPDwls5aK_7P
10,513
fix: Update Google Cloud Enterprise Search to Vertex AI Search
{ "login": "holtskinner", "id": 13262395, "node_id": "MDQ6VXNlcjEzMjYyMzk1", "avatar_url": "https://avatars.githubusercontent.com/u/13262395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/holtskinner", "html_url": "https://github.com/holtskinner", "followers_url": "https://api.github.com/users/holtskinner/followers", "following_url": "https://api.github.com/users/holtskinner/following{/other_user}", "gists_url": "https://api.github.com/users/holtskinner/gists{/gist_id}", "starred_url": "https://api.github.com/users/holtskinner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/holtskinner/subscriptions", "organizations_url": "https://api.github.com/users/holtskinner/orgs", "repos_url": "https://api.github.com/users/holtskinner/repos", "events_url": "https://api.github.com/users/holtskinner/events{/privacy}", "received_events_url": "https://api.github.com/users/holtskinner/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
26
2023-09-12T21:25:48
2023-10-06T15:11:45
2023-10-05T17:47:47
CONTRIBUTOR
null
- Description: Google Cloud Enterprise Search was renamed to Vertex AI Search - https://cloud.google.com/blog/products/ai-machine-learning/vertex-ai-search-and-conversation-is-now-generally-available - This PR updates the documentation and Retriever class to use the new terminology. - Changed retriever class from `GoogleCloudEnterpriseSearchRetriever` to `GoogleVertexAISearchRetriever` - Updated documentation to specify that `extractive_segments` requires the new [Enterprise edition](https://cloud.google.com/generative-ai-app-builder/docs/about-advanced-features#enterprise-features) to be enabled. - Fixed spelling errors in documentation. - Change parameter for Retriever from `search_engine_id` to `data_store_id` - When this retriever was originally implemented, there was no distinction between a data store and search engine, but now these have been split. - Fixed an issue blocking some users where the api_endpoint can't be set
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10513/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/10513/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10513", "html_url": "https://github.com/langchain-ai/langchain/pull/10513", "diff_url": "https://github.com/langchain-ai/langchain/pull/10513.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10513.patch", "merged_at": "2023-10-05T17:47:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/10512
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10512/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10512/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10512/events
https://github.com/langchain-ai/langchain/pull/10512
1,893,280,591
PR_kwDOIPDwls5aK7c_
10,512
Fix fine-tuned replicate models with faster cold boot
{ "login": "tjaffri", "id": 749277, "node_id": "MDQ6VXNlcjc0OTI3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/749277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tjaffri", "html_url": "https://github.com/tjaffri", "followers_url": "https://api.github.com/users/tjaffri/followers", "following_url": "https://api.github.com/users/tjaffri/following{/other_user}", "gists_url": "https://api.github.com/users/tjaffri/gists{/gist_id}", "starred_url": "https://api.github.com/users/tjaffri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tjaffri/subscriptions", "organizations_url": "https://api.github.com/users/tjaffri/orgs", "repos_url": "https://api.github.com/users/tjaffri/repos", "events_url": "https://api.github.com/users/tjaffri/events{/privacy}", "received_events_url": "https://api.github.com/users/tjaffri/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-12T21:11:54
2023-09-17T18:54:22
2023-09-12T22:40:55
CONTRIBUTOR
null
With the latest support for faster cold boot in replicate https://replicate.com/blog/fine-tune-cold-boots it looks like the replicate LLM support in langchain is broken since some internal replicate inputs are being returned. Screenshot below illustrates the problem: <img width="1917" alt="image" src="https://github.com/langchain-ai/langchain/assets/749277/d28c27cc-40fb-4258-8710-844c00d3c2b0"> As you can see, the new replicate_weights param is being sent down with x-order = 0 (which is causing langchain to use that param instead of prompt which is x-order = 1) FYI @baskaryan this requires a fix otherwise replicate is broken for these models. I have pinged replicate whether they want to fix it on their end by changing the x-order returned by them. Update: per suggestion I updated the PR to just allow manually setting the prompt_key which can be set to "prompt" in this case by callers... I think this is going to be faster anyway than trying to dynamically query the model every time if you know the prompt key for your model.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10512/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/10512/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10512", "html_url": "https://github.com/langchain-ai/langchain/pull/10512", "diff_url": "https://github.com/langchain-ai/langchain/pull/10512.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10512.patch", "merged_at": "2023-09-12T22:40:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/10511
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10511/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10511/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10511/events
https://github.com/langchain-ai/langchain/issues/10511
1,893,219,675
I_kwDOIPDwls5w2D1b
10,511
APIError: HTTP code 203 from API when running from a Click CLI app on a local Windows terminal
{ "login": "chriscarrollsmith", "id": 75859865, "node_id": "MDQ6VXNlcjc1ODU5ODY1", "avatar_url": "https://avatars.githubusercontent.com/u/75859865?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chriscarrollsmith", "html_url": "https://github.com/chriscarrollsmith", "followers_url": "https://api.github.com/users/chriscarrollsmith/followers", "following_url": "https://api.github.com/users/chriscarrollsmith/following{/other_user}", "gists_url": "https://api.github.com/users/chriscarrollsmith/gists{/gist_id}", "starred_url": "https://api.github.com/users/chriscarrollsmith/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chriscarrollsmith/subscriptions", "organizations_url": "https://api.github.com/users/chriscarrollsmith/orgs", "repos_url": "https://api.github.com/users/chriscarrollsmith/repos", "events_url": "https://api.github.com/users/chriscarrollsmith/events{/privacy}", "received_events_url": "https://api.github.com/users/chriscarrollsmith/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-12T20:33:16
2023-12-19T00:47:23
2023-12-19T00:47:22
NONE
null
### System Info Device name LAPTOP-3BD5HR1V Processor AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10 GHz Installed RAM 20.0 GB (17.9 GB usable) Device ID F8ACB5C8-80FB-46C6-AE6D-33AD019A5728 Product ID 00325-82110-59554-AAOEM System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display Edition Windows 11 Home Version 22H2 Installed on ‎10/‎5/‎2022 OS build 22621.2134 Serial number PF2WCKPH Experience Windows Feature Experience Pack 1000.22659.1000.0 Python 3.11.2 langchain 0.0.272 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I have created a Python CLI tool called 'dir-diary' that uses Chain.run to make API calls. The tool is built on `click`. When I run the tool from a terminal window with a Python virtual environment activated, the tool works okay. It also appears to work okay from both Linux-based and Windows-based Github Actions runners. But when I run it from a vanilla Windows terminal on my own machine, langchain fails to authenticate with Azure DevOps after several retries. There's a whole lot of text returned with the error. The most helpful bits are: .APIError: HTTP code 203 from API. 'Microsoft Internet Explorer&#39;s Enhanced Security Configuration is currently enabled on your environment. This enhanced level of security prevents our web integration experiences from displaying or performing correctly. To continue with your operation please disable this configuration or contact your administrator' 'Unable to complete authentication for user due to looping logins' 'Traceback (most recent call last): File "C:\Users\chris\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 755, in _interpret_response_line data = json.loads(rbody) ^^^^^^^^^^^^^^^^^ File "C:\Users\chris\AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 335, in loads raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)", json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)' Steps to reproduce: I haven't fully figured out the secret to reproducing this yet. Obviously, if it works on a Windows runner, then it's not really a Windows problem. There must be something problematic about my local setup that I can't identify. FWIW, here are my steps: 1. run command `pip install -U dir-diary` from a Windows terminal 2. go to any code project folder 3. run command `summarize` I have tried running as administrator and turning down the Internet security level through Internet Options in Control Panel, but neither of those solutions fixed the problem. ### Expected behavior It's supposed to successfully query the API to summarize the project folder.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10511/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/10511/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10510
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10510/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10510/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10510/events
https://github.com/langchain-ai/langchain/pull/10510
1,893,212,736
PR_kwDOIPDwls5aKsVQ
10,510
Add support for showing IO to chain group
{ "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-09-12T20:27:50
2023-09-17T07:47:53
2023-09-17T07:47:52
COLLABORATOR
null
As well as error propagation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10510/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/10510/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10510", "html_url": "https://github.com/langchain-ai/langchain/pull/10510", "diff_url": "https://github.com/langchain-ai/langchain/pull/10510.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10510.patch", "merged_at": "2023-09-17T07:47:52" }
https://api.github.com/repos/langchain-ai/langchain/issues/10509
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10509/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10509/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10509/events
https://github.com/langchain-ai/langchain/pull/10509
1,893,212,013
PR_kwDOIPDwls5aKsLT
10,509
add avg feedback
{ "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-09-12T20:27:14
2023-09-12T21:05:19
2023-09-12T21:05:18
COLLABORATOR
null
in run_on_dataset agg feedback printout
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10509/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/10509/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10509", "html_url": "https://github.com/langchain-ai/langchain/pull/10509", "diff_url": "https://github.com/langchain-ai/langchain/pull/10509.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10509.patch", "merged_at": "2023-09-12T21:05:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/10506
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10506/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10506/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10506/events
https://github.com/langchain-ai/langchain/issues/10506
1,893,131,951
I_kwDOIPDwls5w1uav
10,506
Elasticsearch ELSER Timeout
{ "login": "DrSebastianK", "id": 129894211, "node_id": "U_kgDOB74HQw", "avatar_url": "https://avatars.githubusercontent.com/u/129894211?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DrSebastianK", "html_url": "https://github.com/DrSebastianK", "followers_url": "https://api.github.com/users/DrSebastianK/followers", "following_url": "https://api.github.com/users/DrSebastianK/following{/other_user}", "gists_url": "https://api.github.com/users/DrSebastianK/gists{/gist_id}", "starred_url": "https://api.github.com/users/DrSebastianK/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DrSebastianK/subscriptions", "organizations_url": "https://api.github.com/users/DrSebastianK/orgs", "repos_url": "https://api.github.com/users/DrSebastianK/repos", "events_url": "https://api.github.com/users/DrSebastianK/events{/privacy}", "received_events_url": "https://api.github.com/users/DrSebastianK/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": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" } ]
open
false
null
[]
null
5
2023-09-12T19:32:37
2023-12-27T16:01:41
null
NONE
null
### System Info Python 3.10.12 Google Colab Elasticsearch Cloud 8.9.2 Langchain - latest ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Steps: 1. Load list of documents 2. Setup ElasticsearchStore of Langchain, with appropriate ES cloud credentials 3. Successfully create index with custom embedding model (HF embedding model, deployed on colab) 4. Deploy ELSER model and run it (with default model id). 5. Try creating index with SparseVectorRetrievalStrategy (ELSER) over the same list of documents. 6. Tried to change timeout, but didn't effect the outcome. 7. NOTE: It does start uploading docs and docs count is increasing, but it stops after about 10 sec. I tried to run the ELSER model on 3 nodes, but nothing changed. ### Expected behavior WARNING:elastic_transport.node_pool:Node <Urllib3HttpNode([https://-------.us-central1.gcp.cloud.es.io:443](https:/------.us-central1.gcp.cloud.es.io/))> has failed for 1 times in a row, putting on 1 second timeout --------------------------------------------------------------------------- ConnectionTimeout Traceback (most recent call last) [<ipython-input-92----------cb>](https://-------colab.googleusercontent.com/outputframe.html?vrz=colab_20230911-060143_RC00_564310758#) in <cell line: 1>() ----> 1 elastic_elser_search = ElasticsearchStore.from_documents( 2 documents=split_texts, 3 es_cloud_id="cloudid", 4 index_name="search-tmd-elser", 5 es_user="elastic", 10 frames [/usr/local/lib/python3.10/dist-packages/elastic_transport/_node/_http_urllib3.py](https://---XXXX-----0-colab.googleusercontent.com/outputframe.html?vrz=colab_---XXXX-----#) in perform_request(self, method, target, body, headers, request_timeout) 197 exception=err, 198 ) --> 199 raise err from None 200 201 meta = ApiResponseMeta( ConnectionTimeout: Connection timed out
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10506/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/10506/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10505
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10505/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10505/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10505/events
https://github.com/langchain-ai/langchain/pull/10505
1,893,051,229
PR_kwDOIPDwls5aKIwC
10,505
JSONLoader Documentation Fix
{ "login": "amdmax", "id": 1109522, "node_id": "MDQ6VXNlcjExMDk1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1109522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amdmax", "html_url": "https://github.com/amdmax", "followers_url": "https://api.github.com/users/amdmax/followers", "following_url": "https://api.github.com/users/amdmax/following{/other_user}", "gists_url": "https://api.github.com/users/amdmax/gists{/gist_id}", "starred_url": "https://api.github.com/users/amdmax/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amdmax/subscriptions", "organizations_url": "https://api.github.com/users/amdmax/orgs", "repos_url": "https://api.github.com/users/amdmax/repos", "events_url": "https://api.github.com/users/amdmax/events{/privacy}", "received_events_url": "https://api.github.com/users/amdmax/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
3
2023-09-12T18:31:36
2023-09-21T18:37:41
2023-09-21T18:37:41
CONTRIBUTOR
null
- Description: Updated JSONLoader usage documentation which was making it unusable - Issue: JSONLoader if used with the documented arguments was failing on various JSON documents. - Dependencies: no dependencies - Twitter handle: @TheSlnArchitect If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10505/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/10505/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10505", "html_url": "https://github.com/langchain-ai/langchain/pull/10505", "diff_url": "https://github.com/langchain-ai/langchain/pull/10505.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10505.patch", "merged_at": "2023-09-21T18:37:41" }
https://api.github.com/repos/langchain-ai/langchain/issues/10504
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10504/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10504/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10504/events
https://github.com/langchain-ai/langchain/pull/10504
1,892,995,250
PR_kwDOIPDwls5aJ8iW
10,504
`fallback` definition
{ "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" } ]
closed
false
null
[]
null
4
2023-09-12T17:48:35
2023-10-03T19:51:06
2023-10-03T19:38:59
COLLABORATOR
null
I've added a definition to `fallback` and fixed couple misspells. It was not really clear what is the "fallback".
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10504/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/10504/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10504", "html_url": "https://github.com/langchain-ai/langchain/pull/10504", "diff_url": "https://github.com/langchain-ai/langchain/pull/10504.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10504.patch", "merged_at": "2023-10-03T19:38:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/10503
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10503/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10503/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10503/events
https://github.com/langchain-ai/langchain/pull/10503
1,892,952,161
PR_kwDOIPDwls5aJy2E
10,503
Update SQLDatabaseChain for intermediate SQLResults
{ "login": "zzfab", "id": 35594229, "node_id": "MDQ6VXNlcjM1NTk0MjI5", "avatar_url": "https://avatars.githubusercontent.com/u/35594229?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zzfab", "html_url": "https://github.com/zzfab", "followers_url": "https://api.github.com/users/zzfab/followers", "following_url": "https://api.github.com/users/zzfab/following{/other_user}", "gists_url": "https://api.github.com/users/zzfab/gists{/gist_id}", "starred_url": "https://api.github.com/users/zzfab/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zzfab/subscriptions", "organizations_url": "https://api.github.com/users/zzfab/orgs", "repos_url": "https://api.github.com/users/zzfab/repos", "events_url": "https://api.github.com/users/zzfab/events{/privacy}", "received_events_url": "https://api.github.com/users/zzfab/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-09-12T17:24:40
2023-11-13T06:45:01
2023-11-13T06:45:01
NONE
null
Description: In the call method within the SQLDatabaseChain class: Amend the intermediate steps dictionary to include a new key, say sql_result, where the SQL results at different stages would be saved. During the SQL execution step, save the SQL result into the sql_result key in the intermediate steps dictionary, similar to how sql_cmd is being saved currently. Issue: #10500 Tag maintainer: zzfab
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10503/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/10503/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10503", "html_url": "https://github.com/langchain-ai/langchain/pull/10503", "diff_url": "https://github.com/langchain-ai/langchain/pull/10503.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10503.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10502
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10502/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10502/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10502/events
https://github.com/langchain-ai/langchain/pull/10502
1,892,908,861
PR_kwDOIPDwls5aJpfw
10,502
docs: `self-query` consistency
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-12T16:53:20
2023-09-13T22:02:32
2023-09-13T21:43:05
COLLABORATOR
null
The `self-que[ring` navbar](https://python.langchain.com/docs/modules/data_connection/retrievers/self_query/) has repeated `self-quering` repeated in each menu item. I've simplified it to be more readable - removed `self-quering` from a title of each page; - added description to the vector stores - added description and link to the Integration Card (`integrations/providers`) of the vector stores when they are missed.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10502/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/10502/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10502", "html_url": "https://github.com/langchain-ai/langchain/pull/10502", "diff_url": "https://github.com/langchain-ai/langchain/pull/10502.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10502.patch", "merged_at": "2023-09-13T21:43:04" }
https://api.github.com/repos/langchain-ai/langchain/issues/10501
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10501/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10501/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10501/events
https://github.com/langchain-ai/langchain/pull/10501
1,892,781,541
PR_kwDOIPDwls5aJNtb
10,501
Instance anonymization
{ "login": "maks-operlejn-ds", "id": 142261444, "node_id": "U_kgDOCHq8xA", "avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maks-operlejn-ds", "html_url": "https://github.com/maks-operlejn-ds", "followers_url": "https://api.github.com/users/maks-operlejn-ds/followers", "following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}", "gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions", "organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs", "repos_url": "https://api.github.com/users/maks-operlejn-ds/repos", "events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/maks-operlejn-ds/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": 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
null
[]
null
3
2023-09-12T15:37:14
2023-10-05T18:23:03
2023-10-05T18:23:03
CONTRIBUTOR
null
### Description Add instance anonymization - if `John Doe` will appear twice in the text, it will be treated as the same entity. The difference between `PresidioAnonymizer` and `PresidioReversibleAnonymizer` is that only the second one has a built-in memory, so it will remember anonymization mapping for multiple texts: ``` >>> anonymizer = PresidioAnonymizer() >>> anonymizer.anonymize("My name is John Doe. Hi John Doe!") 'My name is Noah Rhodes. Hi Noah Rhodes!' >>> anonymizer.anonymize("My name is John Doe. Hi John Doe!") 'My name is Brett Russell. Hi Brett Russell!' ``` ``` >>> anonymizer = PresidioReversibleAnonymizer() >>> anonymizer.anonymize("My name is John Doe. Hi John Doe!") 'My name is Noah Rhodes. Hi Noah Rhodes!' >>> anonymizer.anonymize("My name is John Doe. Hi John Doe!") 'My name is Noah Rhodes. Hi Noah Rhodes!' ``` ### Twitter handle @deepsense_ai / @MaksOpp ### Tag maintainer @baskaryan @hwchase17 @hinthornw
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10501/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/10501/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10501", "html_url": "https://github.com/langchain-ai/langchain/pull/10501", "diff_url": "https://github.com/langchain-ai/langchain/pull/10501.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10501.patch", "merged_at": "2023-10-05T18:23:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/10500
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10500/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10500/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10500/events
https://github.com/langchain-ai/langchain/issues/10500
1,892,729,571
I_kwDOIPDwls5w0MLj
10,500
Enhance SQLDatabaseChain with SQL Results in Intermediate Steps Dictionary
{ "login": "zzfab", "id": 35594229, "node_id": "MDQ6VXNlcjM1NTk0MjI5", "avatar_url": "https://avatars.githubusercontent.com/u/35594229?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zzfab", "html_url": "https://github.com/zzfab", "followers_url": "https://api.github.com/users/zzfab/followers", "following_url": "https://api.github.com/users/zzfab/following{/other_user}", "gists_url": "https://api.github.com/users/zzfab/gists{/gist_id}", "starred_url": "https://api.github.com/users/zzfab/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zzfab/subscriptions", "organizations_url": "https://api.github.com/users/zzfab/orgs", "repos_url": "https://api.github.com/users/zzfab/repos", "events_url": "https://api.github.com/users/zzfab/events{/privacy}", "received_events_url": "https://api.github.com/users/zzfab/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": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-12T15:11:12
2023-12-19T00:47:27
2023-12-19T00:47:27
NONE
null
### Feature request ## Description Currently, the SQLDatabaseChain class is designed to optionally return intermediate steps taken during the SQL command generation and execution. These intermediate steps are helpful in understanding the processing flow, especially during debugging or for logging purposes. However, these intermediate steps do not store the SQL results obtained at various steps, which could offer deeper insights and can aid in further optimizations or analyses. This feature request proposes to enhance the SQLDatabaseChain class to save SQL results from intermediate steps into a dictionary, akin to how SQL commands are currently stored. This would not only facilitate a more comprehensive view of each step but also potentially help in identifying and fixing issues or optimizing the process further. ### Motivation #### Insightful Debugging: Storing SQL results in intermediate steps will facilitate deeper insights during debugging, helping to pinpoint the exact step where a potential issue might be occurring. #### Enhanced Logging: Logging the SQL results at each step can help in creating a more detailed log, which can be instrumental in analyzing the performance and identifying optimization opportunities. Improved Analysis and Optimization: With the SQL results available at each step, it becomes feasible to analyze the results at different stages, which can be used to further optimize the SQL queries or the process flow. ### Your contribution I propose to contribute to implementing this feature by: #### Code Adaptation: Modifying the _call_ method in the SQLDatabaseChain class to include SQL results in the intermediate steps dictionary, similar to how sql_cmd is currently being saved. #### Testing: Developing appropriate unit tests to ensure the correct functioning of the new feature, and that it does not break the existing functionality. #### Documentation: Updating the documentation to include details of the new feature, illustrating how to use it and how it can benefit the users. #### Optimization: Once implemented, analyzing the stored results to propose further optimizations or enhancements to the Langchain project. ## Proposed Changes In the _call_ method within the SQLDatabaseChain class: Amend the intermediate steps dictionary to include a new key, say sql_result, where the SQL results at different stages would be saved. During the SQL execution step, save the SQL result into the sql_result key in the intermediate steps dictionary, similar to how sql_cmd is being saved currently. ``` if not self.use_query_checker: ... intermediate_steps.append({"sql_cmd": sql_cmd, "sql_result": str(result)}) # Save sql result here else: ... intermediate_steps.append({"sql_cmd": checked_sql_command, "sql_result": str(result)}) # Save sql result here ``` I believe that this contribution would be a valuable addition to the Langchain project, and I am eager to collaborate with the team to make it a reality. Looking forward to hearing your thoughts on this proposal.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10500/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/10500/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10499
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10499/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10499/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10499/events
https://github.com/langchain-ai/langchain/pull/10499
1,892,695,091
PR_kwDOIPDwls5aI6ou
10,499
Agent Variant 4
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 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
1
2023-09-12T14:52:51
2023-09-12T14:53:07
null
COLLABORATOR
null
- x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x - x <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10499/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/10499/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10499", "html_url": "https://github.com/langchain-ai/langchain/pull/10499", "diff_url": "https://github.com/langchain-ai/langchain/pull/10499.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10499.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10498
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10498/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10498/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10498/events
https://github.com/langchain-ai/langchain/pull/10498
1,892,695,031
PR_kwDOIPDwls5aI6n3
10,498
bump 287
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-12T14:52:50
2023-09-12T15:06:48
2023-09-12T15:06:47
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10498/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/10498/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10498", "html_url": "https://github.com/langchain-ai/langchain/pull/10498", "diff_url": "https://github.com/langchain-ai/langchain/pull/10498.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10498.patch", "merged_at": "2023-09-12T15:06:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/10497
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10497/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10497/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10497/events
https://github.com/langchain-ai/langchain/issues/10497
1,892,622,763
I_kwDOIPDwls5wzyGr
10,497
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
{ "login": "KingCam12", "id": 72319290, "node_id": "MDQ6VXNlcjcyMzE5Mjkw", "avatar_url": "https://avatars.githubusercontent.com/u/72319290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KingCam12", "html_url": "https://github.com/KingCam12", "followers_url": "https://api.github.com/users/KingCam12/followers", "following_url": "https://api.github.com/users/KingCam12/following{/other_user}", "gists_url": "https://api.github.com/users/KingCam12/gists{/gist_id}", "starred_url": "https://api.github.com/users/KingCam12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KingCam12/subscriptions", "organizations_url": "https://api.github.com/users/KingCam12/orgs", "repos_url": "https://api.github.com/users/KingCam12/repos", "events_url": "https://api.github.com/users/KingCam12/events{/privacy}", "received_events_url": "https://api.github.com/users/KingCam12/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" } ]
closed
false
null
[]
null
4
2023-09-12T14:15:52
2023-12-19T00:47:33
2023-12-19T00:47:32
NONE
null
### Issue you'd like to raise. When I run the code I don't get any errors but I also don't get any output in the terminal or output area either? Can you help? ![Screenshot 2023-09-12 101445](https://github.com/langchain-ai/langchain/assets/72319290/8e7ac61a-8343-409f-bb98-a2cbf7401ad7) ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10497/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/10497/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10496
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10496/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10496/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10496/events
https://github.com/langchain-ai/langchain/pull/10496
1,892,617,612
PR_kwDOIPDwls5aIp2w
10,496
Add Baidu Qianfan endpoint for LLM
{ "login": "stonekim", "id": 1155052, "node_id": "MDQ6VXNlcjExNTUwNTI=", "avatar_url": "https://avatars.githubusercontent.com/u/1155052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stonekim", "html_url": "https://github.com/stonekim", "followers_url": "https://api.github.com/users/stonekim/followers", "following_url": "https://api.github.com/users/stonekim/following{/other_user}", "gists_url": "https://api.github.com/users/stonekim/gists{/gist_id}", "starred_url": "https://api.github.com/users/stonekim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stonekim/subscriptions", "organizations_url": "https://api.github.com/users/stonekim/orgs", "repos_url": "https://api.github.com/users/stonekim/repos", "events_url": "https://api.github.com/users/stonekim/events{/privacy}", "received_events_url": "https://api.github.com/users/stonekim/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
3
2023-09-12T14:13:11
2023-09-13T23:33:17
2023-09-13T23:23:50
CONTRIBUTOR
null
- Description: * Baidu AI Cloud's [Qianfan Platform](https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html) is an all-in-one platform for large model development and service deployment, catering to enterprise developers in China. Qianfan Platform offers a wide range of resources, including the Wenxin Yiyan model (ERNIE-Bot) and various third-party open-source models. - Issue: none - Dependencies: * qianfan - Tag maintainer: @baskaryan - Twitter handle:
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10496/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/10496/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10496", "html_url": "https://github.com/langchain-ai/langchain/pull/10496", "diff_url": "https://github.com/langchain-ai/langchain/pull/10496.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10496.patch", "merged_at": "2023-09-13T23:23:50" }
https://api.github.com/repos/langchain-ai/langchain/issues/10495
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10495/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10495/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10495/events
https://github.com/langchain-ai/langchain/pull/10495
1,892,605,606
PR_kwDOIPDwls5aInNx
10,495
Update pdf.py comment for PyPDFLoader
{ "login": "KylePancamo", "id": 50267605, "node_id": "MDQ6VXNlcjUwMjY3NjA1", "avatar_url": "https://avatars.githubusercontent.com/u/50267605?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KylePancamo", "html_url": "https://github.com/KylePancamo", "followers_url": "https://api.github.com/users/KylePancamo/followers", "following_url": "https://api.github.com/users/KylePancamo/following{/other_user}", "gists_url": "https://api.github.com/users/KylePancamo/gists{/gist_id}", "starred_url": "https://api.github.com/users/KylePancamo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KylePancamo/subscriptions", "organizations_url": "https://api.github.com/users/KylePancamo/orgs", "repos_url": "https://api.github.com/users/KylePancamo/repos", "events_url": "https://api.github.com/users/KylePancamo/events{/privacy}", "received_events_url": "https://api.github.com/users/KylePancamo/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
{ "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-09-12T14:07:04
2023-10-05T18:22:40
2023-10-05T18:22:40
CONTRIBUTOR
null
PyPDF does not chunk at the character level to my understanding. Description: PyPDF does not chunk at the character level, but instead breaks up content by page. Fixup comment
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10495/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/10495/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10495", "html_url": "https://github.com/langchain-ai/langchain/pull/10495", "diff_url": "https://github.com/langchain-ai/langchain/pull/10495.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10495.patch", "merged_at": "2023-10-05T18:22:40" }