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/14783 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14783/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14783/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14783/events | https://github.com/langchain-ai/langchain/pull/14783 | 2,044,481,553 | PR_kwDOIPDwls5iJrh5 | 14,783 | [mistralai]: Add langchain-mistralai partner package | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 4 | 2023-12-15T23:13:19 | 2023-12-19T15:34:20 | 2023-12-19T15:34:19 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14783/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/14783/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14783",
"html_url": "https://github.com/langchain-ai/langchain/pull/14783",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14783.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14783.patch",
"merged_at": "2023-12-19T15:34:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14782 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14782/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14782/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14782/events | https://github.com/langchain-ai/langchain/pull/14782 | 2,044,461,257 | PR_kwDOIPDwls5iJnGh | 14,782 | Generalized streaming control stop_sequences | {
"login": "ArthurBook",
"id": 49250723,
"node_id": "MDQ6VXNlcjQ5MjUwNzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/49250723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurBook",
"html_url": "https://github.com/ArthurBook",
"followers_url": "https://api.github.com/users/ArthurBook/followers",
"following_url": "https://api.github.com/users/ArthurBook/following{/other_user}",
"gists_url": "https://api.github.com/users/ArthurBook/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ArthurBook/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ArthurBook/subscriptions",
"organizations_url": "https://api.github.com/users/ArthurBook/orgs",
"repos_url": "https://api.github.com/users/ArthurBook/repos",
"events_url": "https://api.github.com/users/ArthurBook/events{/privacy}",
"received_events_url": "https://api.github.com/users/ArthurBook/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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | open | false | null | [] | null | 3 | 2023-12-15T22:43:21 | 2024-01-16T16:49:21 | null | NONE | null | - **Description:**
Introduces `StopSequenceAwareStreamer` that enhances streaming control by allowing end users to specify arbitrary stop sequences spanning multiple tokens, without knowledge of the tokenizer. This generalizes current functionality, adding capabilities without changing API. End users' current implementations will work the same while allowing longer stop sequences.
- **Issue:** -
- **Dependencies:** None
- **Twitter handle:** https://twitter.com/TheRealABook
Happy Friday <:)
This is still a draft in the sense that I would welcome your thoughts on: 1) where this logic would best be centralized. 2) which LLMs that we want to implement this for.
I've tested this out locally but will happily add unit tests for the components once we firm up the above two points!
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14782/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/14782/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14782",
"html_url": "https://github.com/langchain-ai/langchain/pull/14782",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14782.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14782.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14781 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14781/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14781/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14781/events | https://github.com/langchain-ai/langchain/pull/14781 | 2,044,455,479 | PR_kwDOIPDwls5iJl3E | 14,781 | docs `google drive` update | {
"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": 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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T22:34:48 | 2023-12-16T00:55:46 | 2023-12-16T00:03:59 | COLLABORATOR | null | The [Google Drive toolkit](https://python.langchain.com/docs/integrations/toolkits/google_drive) page is a duplicate of the [Google Drive tool](https://python.langchain.com/docs/integrations/tools/google_drive) page.
- Removed the `Google Drive toolkit` page (it shouldn't be a toolkit but tool)
- Removed the correspondent reference in the Google platform page
- Redirected the removed page to the tool page. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14781/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/14781/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14781",
"html_url": "https://github.com/langchain-ai/langchain/pull/14781",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14781.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14781.patch",
"merged_at": "2023-12-16T00:03:59"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14780 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14780/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14780/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14780/events | https://github.com/langchain-ai/langchain/pull/14780 | 2,044,430,982 | PR_kwDOIPDwls5iJggO | 14,780 | [Documentation] Minor documentation prior to NVIDIA Integration announcement | {
"login": "VKudlay",
"id": 32310964,
"node_id": "MDQ6VXNlcjMyMzEwOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32310964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VKudlay",
"html_url": "https://github.com/VKudlay",
"followers_url": "https://api.github.com/users/VKudlay/followers",
"following_url": "https://api.github.com/users/VKudlay/following{/other_user}",
"gists_url": "https://api.github.com/users/VKudlay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VKudlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VKudlay/subscriptions",
"organizations_url": "https://api.github.com/users/VKudlay/orgs",
"repos_url": "https://api.github.com/users/VKudlay/repos",
"events_url": "https://api.github.com/users/VKudlay/events{/privacy}",
"received_events_url": "https://api.github.com/users/VKudlay/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 8 | 2023-12-15T22:07:01 | 2023-12-18T17:24:10 | 2023-12-18T17:13:42 | CONTRIBUTOR | null | - **Description:** Modification of descriptions for marketing purposes and transitioning towards `platforms` directory if possible.
- **Issue:** Some marketing opportunities, lodging PR and awaiting later discussions.
-
This PR is intended to be merged when decisions settle/hopefully after further considerations. Submitting as Draft for now. Nobody @'d yet. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14780/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/14780/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14780",
"html_url": "https://github.com/langchain-ai/langchain/pull/14780",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14780.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14780.patch",
"merged_at": "2023-12-18T17:13:42"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14779 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14779/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14779/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14779/events | https://github.com/langchain-ai/langchain/pull/14779 | 2,044,423,115 | PR_kwDOIPDwls5iJevC | 14,779 | Docs `cloudflare` update | {
"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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T22:00:59 | 2023-12-15T22:44:17 | 2023-12-15T22:39:41 | COLLABORATOR | null | Added provider page.
Added links, descriptions | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14779/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/14779/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14779",
"html_url": "https://github.com/langchain-ai/langchain/pull/14779",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14779.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14779.patch",
"merged_at": "2023-12-15T22:39:41"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14778 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14778/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14778/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14778/events | https://github.com/langchain-ai/langchain/pull/14778 | 2,044,387,897 | PR_kwDOIPDwls5iJXDn | 14,778 | docs `Steam` update | {
"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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T21:23:13 | 2023-12-15T22:25:11 | 2023-12-15T22:18:53 | COLLABORATOR | null | Updated the page title. It was inconsistent.
Updated page with links; description and setting details. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14778/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/14778/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14778",
"html_url": "https://github.com/langchain-ai/langchain/pull/14778",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14778.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14778.patch",
"merged_at": "2023-12-15T22:18:53"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14777 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14777/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14777/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14777/events | https://github.com/langchain-ai/langchain/issues/14777 | 2,044,354,117 | I_kwDOIPDwls552l5F | 14,777 | ParentDocumentRetriever does not have any save to local option | {
"login": "ankur287",
"id": 30616576,
"node_id": "MDQ6VXNlcjMwNjE2NTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/30616576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ankur287",
"html_url": "https://github.com/ankur287",
"followers_url": "https://api.github.com/users/ankur287/followers",
"following_url": "https://api.github.com/users/ankur287/following{/other_user}",
"gists_url": "https://api.github.com/users/ankur287/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ankur287/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ankur287/subscriptions",
"organizations_url": "https://api.github.com/users/ankur287/orgs",
"repos_url": "https://api.github.com/users/ankur287/repos",
"events_url": "https://api.github.com/users/ankur287/events{/privacy}",
"received_events_url": "https://api.github.com/users/ankur287/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"
}
] | open | false | null | [] | null | 1 | 2023-12-15T20:51:06 | 2023-12-15T20:55:50 | null | NONE | null | ### System Info
Hi,
I am trying to save the ParentDocumentRetriever after adding documents data to it. Since there a lot of documents that needs to be added, its not possible to do it every time. I tried saving via pickle but got the error: TypeError: cannot pickle 'sqlite3.Connection' object
Is there any way to save the retreiver and load it at the inference time?
### 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
retriever = ParentDocumentRetriever(
vectorstore=vectorstore,
docstore=store,
child_splitter=child_splitter,
parent_splitter=parent_splitter,
search_kwargs={"k": 3}
)
retriever.add_documents(docs, ids=None)
import pickle
with open('ParentDocumentRetriever.pkl', 'wb') as f:
pickle.dump(retriever, f, protocol = pickle.HIGHEST_PROTOCOL)
### Expected behavior
Provide a save to local option for the retreiver with added data | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14777/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/14777/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14776 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14776/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14776/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14776/events | https://github.com/langchain-ai/langchain/pull/14776 | 2,044,339,686 | PR_kwDOIPDwls5iJMbd | 14,776 | docs: developer docs | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T20:37:27 | 2023-12-17T20:55:50 | 2023-12-17T20:55:49 | COLLABORATOR | null | Builds out a developer documentation section in the docs
- Links it from contributing.md
- Adds an initial guide on how to contribute an integration | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14776/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/14776/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14776",
"html_url": "https://github.com/langchain-ai/langchain/pull/14776",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14776.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14776.patch",
"merged_at": "2023-12-17T20:55:49"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14775 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14775/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14775/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14775/events | https://github.com/langchain-ai/langchain/pull/14775 | 2,044,329,565 | PR_kwDOIPDwls5iJKPK | 14,775 | Chat integration for MistralAI API | {
"login": "thehunmonkgroup",
"id": 43772,
"node_id": "MDQ6VXNlcjQzNzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/43772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thehunmonkgroup",
"html_url": "https://github.com/thehunmonkgroup",
"followers_url": "https://api.github.com/users/thehunmonkgroup/followers",
"following_url": "https://api.github.com/users/thehunmonkgroup/following{/other_user}",
"gists_url": "https://api.github.com/users/thehunmonkgroup/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thehunmonkgroup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thehunmonkgroup/subscriptions",
"organizations_url": "https://api.github.com/users/thehunmonkgroup/orgs",
"repos_url": "https://api.github.com/users/thehunmonkgroup/repos",
"events_url": "https://api.github.com/users/thehunmonkgroup/events{/privacy}",
"received_events_url": "https://api.github.com/users/thehunmonkgroup/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"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 5 | 2023-12-15T20:26:57 | 2023-12-16T13:38:13 | 2023-12-16T13:37:56 | CONTRIBUTOR | null | - **Description:** `ChatMistralAI` integration for https://docs.mistral.ai/api
- **Dependencies:** Must install the `mistralai` package
- **Tag maintainer:** @hwchase17
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14775/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/14775/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14775",
"html_url": "https://github.com/langchain-ai/langchain/pull/14775",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14775.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14775.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14774 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14774/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14774/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14774/events | https://github.com/langchain-ai/langchain/pull/14774 | 2,044,296,439 | PR_kwDOIPDwls5iJC-p | 14,774 | docs redundant pages | {
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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"
},
{
"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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T19:53:47 | 2023-12-18T16:58:27 | 2023-12-17T22:54:48 | COLLABORATOR | null | [ScaNN](https://python.langchain.com/docs/integrations/providers/scann) and [DynamoDB](https://python.langchain.com/docs/integrations/platforms/aws#aws-dynamodb) pages in `providers` are redundant because we have those references in the Google and AWS platform pages. It is confusing.
- I removed unnecessary pages, redirected files to new nams; | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14774/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/14774/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14774",
"html_url": "https://github.com/langchain-ai/langchain/pull/14774",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14774.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14774.patch",
"merged_at": "2023-12-17T22:54:48"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14773 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14773/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14773/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14773/events | https://github.com/langchain-ai/langchain/pull/14773 | 2,044,260,224 | PR_kwDOIPDwls5iI7Ep | 14,773 | Update YandexGPT API | {
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T19:20:42 | 2023-12-16T00:25:19 | 2023-12-16T00:25:09 | CONTRIBUTOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
Update LLMand Chat model to use new api version | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14773/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/14773/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14773",
"html_url": "https://github.com/langchain-ai/langchain/pull/14773",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14773.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14773.patch",
"merged_at": "2023-12-16T00:25:09"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14772 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14772/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14772/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14772/events | https://github.com/langchain-ai/langchain/pull/14772 | 2,044,251,148 | PR_kwDOIPDwls5iI5Bu | 14,772 | docs `alibaba cloud` | {
"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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-12-15T19:14:29 | 2023-12-20T20:37:47 | 2023-12-20T20:32:33 | COLLABORATOR | null | The [provider page](https://python.langchain.com/docs/integrations/providers/alibabacloud_opensearch) holds the vector store information. The [Chat example](https://python.langchain.com/docs/integrations/chat/pai_eas_chat_endpoint) was incorrectly sorted in the navbar because of the wrong file name.
- Recreated a provide page
- Added missed links and descriptions
- Compound information about vector store from two pages into one
- Fixed file name | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14772/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/14772/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14772",
"html_url": "https://github.com/langchain-ai/langchain/pull/14772",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14772.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14772.patch",
"merged_at": "2023-12-20T20:32:33"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14771 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14771/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14771/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14771/events | https://github.com/langchain-ai/langchain/pull/14771 | 2,044,155,846 | PR_kwDOIPDwls5iIkFI | 14,771 | docs `microsoft` pages sort order fix | {
"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": 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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T18:03:41 | 2024-01-02T19:42:29 | 2024-01-02T00:10:59 | COLLABORATOR | null | `integrations/document_loaders/` `Excel` and `OneNote` pages in the navbar were in the wrong sort order. It is because the file names are not equal to the page titles.
- renamed `excel` and `onenote` file names | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14771/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/14771/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14771",
"html_url": "https://github.com/langchain-ai/langchain/pull/14771",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14771.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14771.patch",
"merged_at": "2024-01-02T00:10:59"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14770 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14770/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14770/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14770/events | https://github.com/langchain-ai/langchain/pull/14770 | 2,044,154,998 | PR_kwDOIPDwls5iIj5V | 14,770 | [Documentation] Updates to NVIDIA Playground/Foundation Model naming.… | {
"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": 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"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-15T18:02:54 | 2023-12-18T14:42:55 | 2023-12-15T20:21:59 | COLLABORATOR | null | … (#14723)
- **Description:** Minor updates per marketing requests. Namely, name decisions (AI Foundation Models / AI Playground)
- **Tag maintainer:** @hinthornw
Do want to pass around the PR for a bit and ask a few more marketing questions before merge, but just want to make sure I'm not working in a vacuum. No major changes to code functionality intended; the PR should be for documentation and only minor tweaks.
Note: QA model is a bit borked across staging/prod right now. Relevant teams have been informed and are looking into it, and I'm placeholdered the response to that of a working version in the notebook.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14770/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/14770/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14770",
"html_url": "https://github.com/langchain-ai/langchain/pull/14770",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14770.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14770.patch",
"merged_at": "2023-12-15T20:21:59"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14769 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14769/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14769/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14769/events | https://github.com/langchain-ai/langchain/pull/14769 | 2,044,015,253 | PR_kwDOIPDwls5iIFJJ | 14,769 | feat: Add `task_type` and `auto_truncate` to `VertexAIEmbeddings` | {
"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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 5 | 2023-12-15T16:28:45 | 2024-01-02T00:12:02 | 2024-01-02T00:12:01 | CONTRIBUTOR | null | - Added `task_type` and `auto_truncate` fields to `VertexAIEmbeddings`.
- https://cloud.google.com/python/docs/reference/aiplatform/latest/vertexai.language_models.TextEmbeddingInput
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14769/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/14769/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14769",
"html_url": "https://github.com/langchain-ai/langchain/pull/14769",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14769.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14769.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14768 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14768/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14768/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14768/events | https://github.com/langchain-ai/langchain/pull/14768 | 2,043,969,515 | PR_kwDOIPDwls5iH7Kh | 14,768 | [DEV] Update import paths for StrOutputParser and RunnablePassthrough | {
"login": "AvijeetPrasad",
"id": 45669486,
"node_id": "MDQ6VXNlcjQ1NjY5NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/45669486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AvijeetPrasad",
"html_url": "https://github.com/AvijeetPrasad",
"followers_url": "https://api.github.com/users/AvijeetPrasad/followers",
"following_url": "https://api.github.com/users/AvijeetPrasad/following{/other_user}",
"gists_url": "https://api.github.com/users/AvijeetPrasad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AvijeetPrasad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AvijeetPrasad/subscriptions",
"organizations_url": "https://api.github.com/users/AvijeetPrasad/orgs",
"repos_url": "https://api.github.com/users/AvijeetPrasad/repos",
"events_url": "https://api.github.com/users/AvijeetPrasad/events{/privacy}",
"received_events_url": "https://api.github.com/users/AvijeetPrasad/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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-15T15:55:59 | 2023-12-20T06:11:38 | 2023-12-20T06:11:38 | NONE | null | - Changed import paths:
- From 'langchain_core.output_parsers' to 'langchain.schema' for StrOutputParser.
- From 'langchain_core.runnables' to 'langchain.schema.runnable' for RunnablePassthrough.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** Updates import paths StrOutputParser and RunnablePassthrough
- **Issue:** related to #14287
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14768/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/14768/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14768",
"html_url": "https://github.com/langchain-ai/langchain/pull/14768",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14768.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14768.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14767 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14767/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14767/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14767/events | https://github.com/langchain-ai/langchain/pull/14767 | 2,043,947,732 | PR_kwDOIPDwls5iH2XR | 14,767 | Add YandexGPT embeddings | {
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/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": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T15:42:35 | 2023-12-20T06:11:08 | 2023-12-20T06:11:08 | CONTRIBUTOR | null | - **Description:** Introducing an ability to work with the [YandexGPT](https://cloud.yandex.com/en/services/yandexgpt) embeddings models.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14767/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/14767/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14767",
"html_url": "https://github.com/langchain-ai/langchain/pull/14767",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14767.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14767.patch",
"merged_at": "2023-12-20T06:11:08"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14766 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14766/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14766/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14766/events | https://github.com/langchain-ai/langchain/pull/14766 | 2,043,940,791 | PR_kwDOIPDwls5iH00M | 14,766 | Update propositional-retrieval template | {
"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": 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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T15:38:15 | 2023-12-15T15:57:46 | 2023-12-15T15:57:45 | COLLABORATOR | null | More descriptive name. Add parser in ingest. Update image link | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14766/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/14766/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14766",
"html_url": "https://github.com/langchain-ai/langchain/pull/14766",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14766.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14766.patch",
"merged_at": "2023-12-15T15:57:45"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14765 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14765/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14765/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14765/events | https://github.com/langchain-ai/langchain/pull/14765 | 2,043,875,052 | PR_kwDOIPDwls5iHmXS | 14,765 | Add safe lookup to OpenAI response adapter | {
"login": "Sypherd",
"id": 50557586,
"node_id": "MDQ6VXNlcjUwNTU3NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/50557586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sypherd",
"html_url": "https://github.com/Sypherd",
"followers_url": "https://api.github.com/users/Sypherd/followers",
"following_url": "https://api.github.com/users/Sypherd/following{/other_user}",
"gists_url": "https://api.github.com/users/Sypherd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sypherd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sypherd/subscriptions",
"organizations_url": "https://api.github.com/users/Sypherd/orgs",
"repos_url": "https://api.github.com/users/Sypherd/repos",
"events_url": "https://api.github.com/users/Sypherd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sypherd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"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": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T14:58:07 | 2023-12-20T06:17:24 | 2023-12-20T06:17:23 | CONTRIBUTOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
## Description
Similar to https://github.com/langchain-ai/langchain/issues/5861, I've experienced `KeyError`s resulting from unsafe lookups in the `convert_dict_to_message` function in [this file](https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/adapters/openai.py). While that issue focused on `KeyError 'content'`, I've opened another issue (#14764) about how the problem still exists in the same function but with `KeyError 'role'`. The fix for #5861 only added a safe lookup to the specific line that was giving them trouble.. This PR fixes the unsafe lookup in the rest of the function but the problem still exists across the repo.
## Issues
* #14764
* #5861
## Dependencies
* None
## Checklist
[x] make format
[x] make lint
[ ] make test - Results in `make: *** No rule to make target 'test'. Stop.`
## Maintainers
* @hinthornw | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14765/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14765/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14765",
"html_url": "https://github.com/langchain-ai/langchain/pull/14765",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14765.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14765.patch",
"merged_at": "2023-12-20T06:17:23"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14764 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14764/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14764/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14764/events | https://github.com/langchain-ai/langchain/issues/14764 | 2,043,873,642 | I_kwDOIPDwls550wlq | 14,764 | KeyError 'role' in OpenAI Adapter | {
"login": "Sypherd",
"id": 50557586,
"node_id": "MDQ6VXNlcjUwNTU3NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/50557586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sypherd",
"html_url": "https://github.com/Sypherd",
"followers_url": "https://api.github.com/users/Sypherd/followers",
"following_url": "https://api.github.com/users/Sypherd/following{/other_user}",
"gists_url": "https://api.github.com/users/Sypherd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sypherd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sypherd/subscriptions",
"organizations_url": "https://api.github.com/users/Sypherd/orgs",
"repos_url": "https://api.github.com/users/Sypherd/repos",
"events_url": "https://api.github.com/users/Sypherd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sypherd/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 | 3 | 2023-12-15T14:57:13 | 2024-01-06T01:49:24 | 2024-01-05T14:14:27 | CONTRIBUTOR | null | ### System Info
Python 3.10
LangChain 0.0.348
### Who can help?
@hwchase17 @hin
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.chat_models import ChatOpenAI
from langchain.memory import ChatMessageHistory
history = ChatMessageHistory()
history.add_user_message("Tell me anything in ten words or less.")
params = {
"model": "gpt-4-1106-preview",
"temperature": 0.5,
"max_tokens": 1000,
}
llm = ChatOpenAI(**params)
print(llm(history.messages))
```
This will **occasionally** yield the following error:
```
File "/.../.venv/lib/python3.10/site-packages/langchain/adapters/openai.py", line 74, in convert_dict_to_message
role = _dict["role"]
KeyError: 'role'
```
### Expected behavior
* Safe lookups ensure the response is passed back even if the role isn't attached | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14764/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14764/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14763 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14763/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14763/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14763/events | https://github.com/langchain-ai/langchain/issues/14763 | 2,043,790,550 | I_kwDOIPDwls550cTW | 14,763 | Add support for Mistral AI service | {
"login": "valentimarco",
"id": 26926690,
"node_id": "MDQ6VXNlcjI2OTI2Njkw",
"avatar_url": "https://avatars.githubusercontent.com/u/26926690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valentimarco",
"html_url": "https://github.com/valentimarco",
"followers_url": "https://api.github.com/users/valentimarco/followers",
"following_url": "https://api.github.com/users/valentimarco/following{/other_user}",
"gists_url": "https://api.github.com/users/valentimarco/gists{/gist_id}",
"starred_url": "https://api.github.com/users/valentimarco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/valentimarco/subscriptions",
"organizations_url": "https://api.github.com/users/valentimarco/orgs",
"repos_url": "https://api.github.com/users/valentimarco/repos",
"events_url": "https://api.github.com/users/valentimarco/events{/privacy}",
"received_events_url": "https://api.github.com/users/valentimarco/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-12-15T14:05:31 | 2023-12-19T19:31:27 | 2023-12-19T19:31:27 | NONE | null | ### Feature request
Add support for the new service from Mistral AI.
They provide a [python client](https://docs.mistral.ai/platform/client) with streaming tokens or we can use the simple [RestAPI](https://docs.mistral.ai/)
### Motivation
Would be great if we add the new service from Mistral!
### Your contribution
I don't have much time right now but i'd like to follow the implementation for the future | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14763/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/14763/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14762 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14762/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14762/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14762/events | https://github.com/langchain-ai/langchain/issues/14762 | 2,043,786,075 | I_kwDOIPDwls550bNb | 14,762 | DOC: WebResearchRetriever can work with DuckDuckGo search? | {
"login": "lfoppiano",
"id": 15426,
"node_id": "MDQ6VXNlcjE1NDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/15426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lfoppiano",
"html_url": "https://github.com/lfoppiano",
"followers_url": "https://api.github.com/users/lfoppiano/followers",
"following_url": "https://api.github.com/users/lfoppiano/following{/other_user}",
"gists_url": "https://api.github.com/users/lfoppiano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lfoppiano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lfoppiano/subscriptions",
"organizations_url": "https://api.github.com/users/lfoppiano/orgs",
"repos_url": "https://api.github.com/users/lfoppiano/repos",
"events_url": "https://api.github.com/users/lfoppiano/events{/privacy}",
"received_events_url": "https://api.github.com/users/lfoppiano/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"
},
{
"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"
}
] | closed | false | null | [] | null | 1 | 2023-12-15T14:03:23 | 2023-12-15T21:10:05 | 2023-12-15T21:10:05 | CONTRIBUTOR | null | ### Issue with current documentation:
I've got this code:
```python
llm = HuggingFaceHub(repo_id="mistralai/Mistral-7B-Instruct-v0.1",
model_kwargs={"temperature": 0.01, "max_length": 4096, "max_new_tokens": 2048})
# Vectorstore
vectorstore = Chroma(
embedding_function=HuggingFaceEmbeddings(
model_name="all-MiniLM-L6-v2"), persist_directory="./chroma_db_oai"
)
search = DuckDuckGoSearchAPIWrapper(max_results=max_num_results,
region="jp-ja",
time="d")
user_input = "Which are the most demanded jobs for foreigner people that don't speak Japanese?"
web_research_retriever = WebResearchRetriever.from_llm(
vectorstore=vectorstore,
llm=llm,
search=search)
```
but I get this error:
```
---------------------------------------------------------------------------
ValidationError Traceback (most recent call last)
Cell In[44], line 15
12 search = DuckDuckGoSearchAPIWrapper()
13 user_input = "Which are the most demanded jobs for foreigner people that don't speak Japanese?"
---> 15 web_research_retriever = WebResearchRetriever.from_llm(
16 vectorstore=vectorstore,
17 llm=llm,
18 search=search)
20 # Run
21 docs = web_research_retriever.get_relevant_documents(user_input)
File ~/anaconda3/envs/jobharbor/lib/python3.10/site-packages/langchain/retrievers/web_research.py:130, in WebResearchRetriever.from_llm(cls, vectorstore, llm, search, prompt, num_search_results, text_splitter)
123 # Use chat model prompt
124 llm_chain = LLMChain(
125 llm=llm,
126 prompt=prompt,
127 output_parser=QuestionListOutputParser(),
128 )
--> 130 return cls(
131 vectorstore=vectorstore,
132 llm_chain=llm_chain,
133 search=search,
134 num_search_results=num_search_results,
135 text_splitter=text_splitter,
136 )
File ~/anaconda3/envs/jobharbor/lib/python3.10/site-packages/langchain_core/load/serializable.py:97, in Serializable.__init__(self, **kwargs)
96 def __init__(self, **kwargs: Any) -> None:
---> 97 super().__init__(**kwargs)
98 self._lc_kwargs = kwargs
File ~/anaconda3/envs/jobharbor/lib/python3.10/site-packages/pydantic/v1/main.py:341, in BaseModel.__init__(__pydantic_self__, **data)
339 values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
340 if validation_error:
--> 341 raise validation_error
342 try:
343 object_setattr(__pydantic_self__, '__dict__', values)
ValidationError: 6 validation errors for WebResearchRetriever
search -> backend
extra fields not permitted (type=value_error.extra)
search -> max_results
extra fields not permitted (type=value_error.extra)
search -> region
extra fields not permitted (type=value_error.extra)
search -> safesearch
extra fields not permitted (type=value_error.extra)
search -> source
extra fields not permitted (type=value_error.extra)
search -> time
extra fields not permitted (type=value_error.extra)
```
I wonder if the webresearch retriever works also with non-google search engines..
Thank you in advance
### Idea or request for content:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14762/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/14762/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14761 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14761/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14761/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14761/events | https://github.com/langchain-ai/langchain/pull/14761 | 2,043,766,894 | PR_kwDOIPDwls5iHOrG | 14,761 | [Partner] Nvidia Triton updates for PR | {
"login": "jdye64",
"id": 2127235,
"node_id": "MDQ6VXNlcjIxMjcyMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2127235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jdye64",
"html_url": "https://github.com/jdye64",
"followers_url": "https://api.github.com/users/jdye64/followers",
"following_url": "https://api.github.com/users/jdye64/following{/other_user}",
"gists_url": "https://api.github.com/users/jdye64/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jdye64/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jdye64/subscriptions",
"organizations_url": "https://api.github.com/users/jdye64/orgs",
"repos_url": "https://api.github.com/users/jdye64/repos",
"events_url": "https://api.github.com/users/jdye64/events{/privacy}",
"received_events_url": "https://api.github.com/users/jdye64/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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T13:52:01 | 2023-12-18T17:56:37 | 2023-12-18T17:56:36 | CONTRIBUTOR | null | @hinthornw PR for branch `wfh/partners/trt` and PR https://github.com/langchain-ai/langchain/pull/14733 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14761/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/14761/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14761",
"html_url": "https://github.com/langchain-ai/langchain/pull/14761",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14761.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14761.patch",
"merged_at": "2023-12-18T17:56:36"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14760 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14760/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14760/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14760/events | https://github.com/langchain-ai/langchain/issues/14760 | 2,043,732,734 | I_kwDOIPDwls550OL- | 14,760 | Table 'langchain_pg_collection' is already defined for this MetaData instance. Specify 'extend_existing=True' | {
"login": "chaitanya-react",
"id": 108780317,
"node_id": "U_kgDOBnvbHQ",
"avatar_url": "https://avatars.githubusercontent.com/u/108780317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chaitanya-react",
"html_url": "https://github.com/chaitanya-react",
"followers_url": "https://api.github.com/users/chaitanya-react/followers",
"following_url": "https://api.github.com/users/chaitanya-react/following{/other_user}",
"gists_url": "https://api.github.com/users/chaitanya-react/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chaitanya-react/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chaitanya-react/subscriptions",
"organizations_url": "https://api.github.com/users/chaitanya-react/orgs",
"repos_url": "https://api.github.com/users/chaitanya-react/repos",
"events_url": "https://api.github.com/users/chaitanya-react/events{/privacy}",
"received_events_url": "https://api.github.com/users/chaitanya-react/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | closed | false | null | [] | null | 4 | 2023-12-15T13:29:34 | 2024-01-03T09:19:59 | 2023-12-15T18:19:15 | NONE | null | ### System Info
langchain: 0.0.39
python: 3.11
OS: MacOS Sonoma 14.2
### Who can help?
@hwchase17 @eyurtsev
### 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
Load two collections using PGVector like this:
collection1 = PGVector.from_existing_index(
embedding=embeddings,
collection_name="collection1",
pre_delete_collection=False,
distance_strategy=DistanceStrategy.COSINE,
connection_string=CONNECTION_STRING,
)
collection2 = PGVector.from_existing_index(
embedding=embeddings,
collection_name="collection1",
pre_delete_collection=False,
distance_strategy=DistanceStrategy.COSINE,
connection_string=CONNECTION_STRING,
)
`collection1` works fine, but while initializing collection2, I get the error
`Table 'langchain_pg_collection' is already defined for this MetaData instance. Specify 'extend_existing=True'`
![image](https://github.com/langchain-ai/langchain/assets/108780317/9271096e-d246-4ebf-9978-74cef82c3fe9)
Setting `extend_existing=True` doesn't seem to work - I think this is a SQLAlchemy error.
### Expected behavior
The above code should just work without error.
This was working in previous versions: 0.0.310 this code works, but shows an error in 0.0.390.
If there are multiple connections happening to the index, then the documentation doesn't talk about how to handle multiple connections. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14760/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/14760/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14759 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14759/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14759/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14759/events | https://github.com/langchain-ai/langchain/pull/14759 | 2,043,626,696 | PR_kwDOIPDwls5iGwGg | 14,759 | [FEATURE] Add Aphrodite Engine support | {
"login": "AlpinDale",
"id": 52078762,
"node_id": "MDQ6VXNlcjUyMDc4NzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/52078762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlpinDale",
"html_url": "https://github.com/AlpinDale",
"followers_url": "https://api.github.com/users/AlpinDale/followers",
"following_url": "https://api.github.com/users/AlpinDale/following{/other_user}",
"gists_url": "https://api.github.com/users/AlpinDale/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AlpinDale/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlpinDale/subscriptions",
"organizations_url": "https://api.github.com/users/AlpinDale/orgs",
"repos_url": "https://api.github.com/users/AlpinDale/repos",
"events_url": "https://api.github.com/users/AlpinDale/events{/privacy}",
"received_events_url": "https://api.github.com/users/AlpinDale/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": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T12:16:16 | 2023-12-20T06:16:58 | 2023-12-20T06:16:58 | CONTRIBUTOR | null | This PR adds support for PygmalionAI's [Aphrodite Engine](https://github.com/PygmalionAI/aphrodite-engine), based on vLLM's attention mechanism. At the moment, this PR does not include support for the API servers, but they will be added in a later PR.
The only dependency as of now is `aphrodite-engine==0.4.2`. We pin the version to prevent breakage due to changes in the aphrodite-engine library.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14759/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/14759/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14759",
"html_url": "https://github.com/langchain-ai/langchain/pull/14759",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14759.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14759.patch",
"merged_at": "2023-12-20T06:16:57"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14757 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14757/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14757/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14757/events | https://github.com/langchain-ai/langchain/issues/14757 | 2,043,603,478 | I_kwDOIPDwls55zuoW | 14,757 | Langserve example from Quickstart tutorial not working | {
"login": "AvijeetPrasad",
"id": 45669486,
"node_id": "MDQ6VXNlcjQ1NjY5NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/45669486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AvijeetPrasad",
"html_url": "https://github.com/AvijeetPrasad",
"followers_url": "https://api.github.com/users/AvijeetPrasad/followers",
"following_url": "https://api.github.com/users/AvijeetPrasad/following{/other_user}",
"gists_url": "https://api.github.com/users/AvijeetPrasad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AvijeetPrasad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AvijeetPrasad/subscriptions",
"organizations_url": "https://api.github.com/users/AvijeetPrasad/orgs",
"repos_url": "https://api.github.com/users/AvijeetPrasad/repos",
"events_url": "https://api.github.com/users/AvijeetPrasad/events{/privacy}",
"received_events_url": "https://api.github.com/users/AvijeetPrasad/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"
}
] | open | false | null | [] | null | 2 | 2023-12-15T12:00:17 | 2023-12-15T14:36:35 | null | NONE | null | ### System Info
Name Version Build Channel
langchain 0.0.350 pypi_0 pypi
langchain-cli 0.0.19 pypi_0 pypi
langchain-community 0.0.3 pypi_0 pypi
langchain-core 0.1.1 pypi_0 pypi
langchain-experimental 0.0.47 pypi_0 pypi
python 3.12.0 h47c9636_0_cpython conda-forge
System: macOS 14.2 (Apple M1 chip)
### 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
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Go to https://python.langchain.com/docs/get_started/quickstart
2. Do all the package installations as guided.
3. Copy the python code under the section 'Serving with Langserve' and save it to a file `serve.py`
4. Execute the file `python serve.py`
5. Open `http://localhost:8000` in browser
### Expected behavior
Expected to see Langserve UI. Got the following error instead.
---
LANGSERVE: Playground for chain "/category_chain/" is live at:
LANGSERVE: │
LANGSERVE: └──> /category_chain/playground/
LANGSERVE:
LANGSERVE: See all available routes at /docs/
LANGSERVE: ⚠️ Using pydantic 2.5.2. OpenAPI docs for invoke, batch, stream, stream_log endpoints will not be generated. API endpoints and playground should work as expected. If you need to see the docs, you can downgrade to pydantic 1. For example, `pip install pydantic==1.10.13`. See https://github.com/tiangolo/fastapi/issues/10360 for details.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO: ::1:58516 - "GET / HTTP/1.1" 404 Not Found
INFO: ::1:58516 - "GET /favicon.ico HTTP/1.1" 404 Not Found
^CINFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [91610] | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14757/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/14757/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14754 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14754/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14754/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14754/events | https://github.com/langchain-ai/langchain/issues/14754 | 2,043,485,623 | I_kwDOIPDwls55zR23 | 14,754 | Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. | {
"login": "deepak-habilelabs",
"id": 137885024,
"node_id": "U_kgDOCDf1YA",
"avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepak-habilelabs",
"html_url": "https://github.com/deepak-habilelabs",
"followers_url": "https://api.github.com/users/deepak-habilelabs/followers",
"following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}",
"gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions",
"organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs",
"repos_url": "https://api.github.com/users/deepak-habilelabs/repos",
"events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepak-habilelabs/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"
}
] | open | false | null | [] | null | 4 | 2023-12-15T10:52:12 | 2023-12-16T10:32:14 | null | NONE | null | ### Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
`from langchain.tools.playwright import ExtractHyperlinksTool, NavigateTool
# Initialize the tools
navigate_tool = NavigateTool()
extract_hyperlinks_tool = ExtractHyperlinksTool()
# Navigate to the website
navigate_tool.navigate("https://www.example.com")
# Extract all hyperlinks
hyperlinks = extract_hyperlinks_tool.extract()
# Print all hyperlinks
for link in hyperlinks:
print(link)`
I am getting below mentioned error
File "/home/hs/env/lib/python3.8/site-packages/langchain_core/load/serializable.py", line 97, in init
super().init(**kwargs)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for NavigateTool
root
Either async_browser or sync_browser must be specified. (type=value_error)
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14754/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/14754/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14753 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14753/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14753/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14753/events | https://github.com/langchain-ai/langchain/issues/14753 | 2,043,356,756 | I_kwDOIPDwls55yyZU | 14,753 | ImportError: cannot import name 'GoogleGenerativeAI' from 'langchain_google_genai' ( from langchain_google_genai import GoogleGenerativeAI ) | {
"login": "vishal-chaudhary-ajmera",
"id": 152851035,
"node_id": "U_kgDOCRxSWw",
"avatar_url": "https://avatars.githubusercontent.com/u/152851035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vishal-chaudhary-ajmera",
"html_url": "https://github.com/vishal-chaudhary-ajmera",
"followers_url": "https://api.github.com/users/vishal-chaudhary-ajmera/followers",
"following_url": "https://api.github.com/users/vishal-chaudhary-ajmera/following{/other_user}",
"gists_url": "https://api.github.com/users/vishal-chaudhary-ajmera/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vishal-chaudhary-ajmera/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vishal-chaudhary-ajmera/subscriptions",
"organizations_url": "https://api.github.com/users/vishal-chaudhary-ajmera/orgs",
"repos_url": "https://api.github.com/users/vishal-chaudhary-ajmera/repos",
"events_url": "https://api.github.com/users/vishal-chaudhary-ajmera/events{/privacy}",
"received_events_url": "https://api.github.com/users/vishal-chaudhary-ajmera/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 | 4 | 2023-12-15T10:01:36 | 2023-12-19T03:00:59 | null | NONE | null | ### System Info
- Python 3.11.7
- Windows 64bit
- langchain_google_genai==0.0.4
- langchain==0.0.350
- pymongo==4.6.0
### Who can help?
@sbusso
@jarib
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Install langchain_google_genai using `pip install -U langchain-google-genai`
2. Then, `from langchain_google_genai import GoogleGenerativeAI`
3. This will produce error.
### Expected behavior
I want to use this model for Google AI, but not able to access it | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14753/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/14753/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14752 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14752/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14752/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14752/events | https://github.com/langchain-ai/langchain/issues/14752 | 2,043,013,698 | I_kwDOIPDwls55xepC | 14,752 | Every chain (LLMChain, ConversationalRetrievalChain etc) should return stream without CallbackHandler same as llm ChatModel | {
"login": "hasansustcse13",
"id": 94289705,
"node_id": "U_kgDOBZ6_KQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94289705?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansustcse13",
"html_url": "https://github.com/hasansustcse13",
"followers_url": "https://api.github.com/users/hasansustcse13/followers",
"following_url": "https://api.github.com/users/hasansustcse13/following{/other_user}",
"gists_url": "https://api.github.com/users/hasansustcse13/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hasansustcse13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hasansustcse13/subscriptions",
"organizations_url": "https://api.github.com/users/hasansustcse13/orgs",
"repos_url": "https://api.github.com/users/hasansustcse13/repos",
"events_url": "https://api.github.com/users/hasansustcse13/events{/privacy}",
"received_events_url": "https://api.github.com/users/hasansustcse13/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-12-15T06:56:26 | 2023-12-19T05:05:24 | null | NONE | null | ### Feature request
All chains inherit from `Runnable` class and It has the `stream` method. But no chain has it's own `stream` method. That's why we have to pass a callback handler every time when work on streaming. We need to write additional logic to handle stream. There should be a functionality where we can just call the stream method and it will return the Generator same as ChatModel (ChatOpenAI).
### Motivation
I believe Chain is the core of LangChain. This is so much frustrating when work with stream.
Every time I work with streaming I have to write something like this. I have to run the qa task in the background using task or thread which is not suitable If I using a framework. Framework should handle this. New developers will struggle if they need to handle additional logic even though they used a framework.
```
class StreamingLLMCallbackHandler(BaseCallbackHandler):
"""Callback handler for streaming LLM responses to a queue."""
def __init__(self):
self._is_done = False
self._queue = Queue()
def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
"""Run on new LLM token. Only available when streaming is enabled."""
# print(token)
self._queue.put(EventData(content=token))
def on_llm_end(self, response: LLMResult, *, run_id: UUID, parent_run_id: Optional[UUID] = None, **kwargs: Any) -> Any:
"""Run when LLM ends running."""
self._queue.put(EventData(content=None, finish_reason='done'))
self._is_done = True
def add_new_token_to_stream(self, data: EventData, is_done=True):
self._queue.put(data)
self._is_done = is_done
@property
def stream_gen(self):
while not self._is_done or not self._queue.empty():
try:
delta: EventData = self._queue.get()
if delta.data.get('finish_reason') == 'error':
yield str(StreamData(event_data=delta, event=EnumStreamEventType.ERROR))
else:
yield str(StreamData(event_data=delta))
except Empty:
continue
class LangChainChatService(ChatBaseService):
def __init__(self, model: LangchainChatModel, tool_query=None):
super().__init__()
self.model = model
self.request_manager = api_request_manager_var.get()
self.tool_query = tool_query
def _qa_task(self, streaming_handler: StreamingLLMCallbackHandler, qa: BaseConversationalRetrievalChain, formatted_chat_history: list[BaseMessage]):
try:
question = self.tool_query or self.model.query
answer = qa.run(question=question, chat_history=formatted_chat_history)
self._publish_chat_history(answer)
except Exception as ex:
streaming_handler.add_new_token_to_stream(EventData(content=get_user_message_on_exception(ex), error=build_error_details(ex), finish_reason='error'))
logger.exception(ex)
async def stream_chat_async(self):
streaming_handler = StreamingLLMCallbackHandler()
try:
formatted_chat_history = [] if self.tool_query else self.get_formatted_chat_history(self.model.chat_history)
qa = self._get_qa_chain(callbacks=[streaming_handler])
asyncio.create_task(asyncio.to_thread(self._qa_task, streaming_handler, qa, formatted_chat_history))
return streaming_handler.stream_gen
except Exception as ex:
logger.exception(ex)
streaming_handler.add_new_token_to_stream(EventData(content=get_user_message_on_exception(ex), error=build_error_details(ex), finish_reason='error'))
return streaming_handler.stream_gen
```
### Your contribution
N/A | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14752/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/14752/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14751 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14751/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14751/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14751/events | https://github.com/langchain-ai/langchain/issues/14751 | 2,042,960,303 | I_kwDOIPDwls55xRmv | 14,751 | cannot import name 'AzureChatopenAI' from 'langchain.chat_models' | {
"login": "yuxuan2015",
"id": 15645056,
"node_id": "MDQ6VXNlcjE1NjQ1MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/15645056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuxuan2015",
"html_url": "https://github.com/yuxuan2015",
"followers_url": "https://api.github.com/users/yuxuan2015/followers",
"following_url": "https://api.github.com/users/yuxuan2015/following{/other_user}",
"gists_url": "https://api.github.com/users/yuxuan2015/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yuxuan2015/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yuxuan2015/subscriptions",
"organizations_url": "https://api.github.com/users/yuxuan2015/orgs",
"repos_url": "https://api.github.com/users/yuxuan2015/repos",
"events_url": "https://api.github.com/users/yuxuan2015/events{/privacy}",
"received_events_url": "https://api.github.com/users/yuxuan2015/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-12-15T06:03:38 | 2023-12-15T06:11:27 | 2023-12-15T06:07:10 | NONE | null | ### System Info
ImportError: cannot import name 'AzureChatopenAI' from 'langchain.chat_models'
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.chat_models import AzureChatopenAI
### Expected behavior
from langchain.chat_models import AzureChatopenAI
llm = ChatOpenAI(
openai_api_base=url,
openai_api_version="2023-05-15",
deployment_name="gpt-3.5",
openai_api_key="test123456",
openai_api_type="azure",
) | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14751/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/14751/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14750 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14750/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14750/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14750/events | https://github.com/langchain-ai/langchain/issues/14750 | 2,042,951,433 | I_kwDOIPDwls55xPcJ | 14,750 | adapt chatglm output_parser | {
"login": "theFarHorizon",
"id": 68138351,
"node_id": "MDQ6VXNlcjY4MTM4MzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/68138351?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/theFarHorizon",
"html_url": "https://github.com/theFarHorizon",
"followers_url": "https://api.github.com/users/theFarHorizon/followers",
"following_url": "https://api.github.com/users/theFarHorizon/following{/other_user}",
"gists_url": "https://api.github.com/users/theFarHorizon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/theFarHorizon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theFarHorizon/subscriptions",
"organizations_url": "https://api.github.com/users/theFarHorizon/orgs",
"repos_url": "https://api.github.com/users/theFarHorizon/repos",
"events_url": "https://api.github.com/users/theFarHorizon/events{/privacy}",
"received_events_url": "https://api.github.com/users/theFarHorizon/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 | 1 | 2023-12-15T05:55:16 | 2023-12-15T06:05:08 | null | NONE | null | ### Feature request
i want to struct output result by langchain,my llm is chatglm,but most output parsers demo is rely on openai
### Motivation
retriever = db.as_retriever()
qa = RetrievalQA.from_chain_type(
llm=llm,
chain_type='stuff',
retriever=retriever,
verbose=True
)
def chat(question,history):
response = qa.run(question)
return response
demo = gr.ChatInterface(chat)
demo.launch(inbrowser=True)
### Your contribution
i want to struct output result by langchain,my llm is chatglm,but most output parsers demo is rely on openai | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14750/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/14750/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14749 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14749/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14749/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14749/events | https://github.com/langchain-ai/langchain/pull/14749 | 2,042,862,938 | PR_kwDOIPDwls5iEHWF | 14,749 | Added: docs Headers to Steam Tool notebook steps | {
"login": "muntaqamahmood",
"id": 69706702,
"node_id": "MDQ6VXNlcjY5NzA2NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/69706702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muntaqamahmood",
"html_url": "https://github.com/muntaqamahmood",
"followers_url": "https://api.github.com/users/muntaqamahmood/followers",
"following_url": "https://api.github.com/users/muntaqamahmood/following{/other_user}",
"gists_url": "https://api.github.com/users/muntaqamahmood/gists{/gist_id}",
"starred_url": "https://api.github.com/users/muntaqamahmood/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/muntaqamahmood/subscriptions",
"organizations_url": "https://api.github.com/users/muntaqamahmood/orgs",
"repos_url": "https://api.github.com/users/muntaqamahmood/repos",
"events_url": "https://api.github.com/users/muntaqamahmood/events{/privacy}",
"received_events_url": "https://api.github.com/users/muntaqamahmood/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"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T04:12:19 | 2024-01-02T19:40:40 | 2024-01-02T00:21:41 | CONTRIBUTOR | null | Added some Headers in steam tool notebook to match consistency with the other toolkit notebooks
- Dependencies: no new dependencies
- Tag maintainer: @hwchase17, @baskaryan | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14749/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/14749/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14749",
"html_url": "https://github.com/langchain-ai/langchain/pull/14749",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14749.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14749.patch",
"merged_at": "2024-01-02T00:21:41"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14747 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14747/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14747/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14747/events | https://github.com/langchain-ai/langchain/pull/14747 | 2,042,779,929 | PR_kwDOIPDwls5iD2LP | 14,747 | Add AstraDB document loader | {
"login": "cbornet",
"id": 11633333,
"node_id": "MDQ6VXNlcjExNjMzMzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/11633333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cbornet",
"html_url": "https://github.com/cbornet",
"followers_url": "https://api.github.com/users/cbornet/followers",
"following_url": "https://api.github.com/users/cbornet/following{/other_user}",
"gists_url": "https://api.github.com/users/cbornet/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cbornet/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cbornet/subscriptions",
"organizations_url": "https://api.github.com/users/cbornet/orgs",
"repos_url": "https://api.github.com/users/cbornet/repos",
"events_url": "https://api.github.com/users/cbornet/events{/privacy}",
"received_events_url": "https://api.github.com/users/cbornet/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-15T02:21:42 | 2024-01-06T10:39:34 | 2024-01-02T00:13:28 | CONTRIBUTOR | null | - **Description:** this adds the AstraDB document loader and an integration test
- **Twitter handle:** cbornet_
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14747/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/14747/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14747",
"html_url": "https://github.com/langchain-ai/langchain/pull/14747",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14747.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14747.patch",
"merged_at": "2024-01-02T00:13:28"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14746 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14746/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14746/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14746/events | https://github.com/langchain-ai/langchain/pull/14746 | 2,042,764,085 | PR_kwDOIPDwls5iDy5u | 14,746 | Fix OAI Tool Message | {
"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": 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": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T02:00:35 | 2023-12-15T14:45:11 | 2023-12-15T14:45:10 | COLLABORATOR | null | See format here: https://platform.openai.com/docs/guides/function-calling/parallel-function-calling
It expects a "name" argument, which we aren't providing by default.
![image](https://github.com/langchain-ai/langchain/assets/13333726/7cd82978-337c-40a1-b099-3bb25cd57eb4)
Alternative is to add the 'name' field directly to the message if people prefer. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14746/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/14746/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14746",
"html_url": "https://github.com/langchain-ai/langchain/pull/14746",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14746.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14746.patch",
"merged_at": "2023-12-15T14:45:10"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14745 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14745/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14745/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14745/events | https://github.com/langchain-ai/langchain/pull/14745 | 2,042,749,465 | PR_kwDOIPDwls5iDv72 | 14,745 | Update _retrieve_ref inside json_schema.py to include an isdigit() check | {
"login": "pareshchiramel",
"id": 72655959,
"node_id": "MDQ6VXNlcjcyNjU1OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/72655959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pareshchiramel",
"html_url": "https://github.com/pareshchiramel",
"followers_url": "https://api.github.com/users/pareshchiramel/followers",
"following_url": "https://api.github.com/users/pareshchiramel/following{/other_user}",
"gists_url": "https://api.github.com/users/pareshchiramel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pareshchiramel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pareshchiramel/subscriptions",
"organizations_url": "https://api.github.com/users/pareshchiramel/orgs",
"repos_url": "https://api.github.com/users/pareshchiramel/repos",
"events_url": "https://api.github.com/users/pareshchiramel/events{/privacy}",
"received_events_url": "https://api.github.com/users/pareshchiramel/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": 5463330795,
"node_id": "LA_kwDOIPDwls8AAAABRaPP6w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/needs%20test",
"name": "needs test",
"color": "E99695",
"default": false,
"description": "PR needs to be updated with tests"
},
{
"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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-15T01:40:13 | 2024-01-02T19:36:09 | 2024-01-02T00:25:42 | CONTRIBUTOR | null | - **Description:** Update _retrieve_ref inside json_schema.py to include an isdigit() check
- **Issue:** This library is used inside dereference_refs inside langchain_community.agent_toolkits.openapi.spec. When I read in a yaml file which has references for "400", "401" etc; the line "out = out[component]" causes a KeyError. The isdigit() check ensures that if it is an integer like "400" or "401"; it converts it into integer before using it as a key to prevent the error.
- **Dependencies:** No dependencies
- **Tag maintainer:** @baskaryan | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14745/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/14745/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14745",
"html_url": "https://github.com/langchain-ai/langchain/pull/14745",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14745.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14745.patch",
"merged_at": "2024-01-02T00:25:42"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14744 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14744/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14744/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14744/events | https://github.com/langchain-ai/langchain/issues/14744 | 2,042,729,395 | I_kwDOIPDwls55wZOz | 14,744 | Expose Search Similarity Results as Source Documents in create_vectorstore_router_agent Responses | {
"login": "chennavc",
"id": 55216056,
"node_id": "MDQ6VXNlcjU1MjE2MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/55216056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chennavc",
"html_url": "https://github.com/chennavc",
"followers_url": "https://api.github.com/users/chennavc/followers",
"following_url": "https://api.github.com/users/chennavc/following{/other_user}",
"gists_url": "https://api.github.com/users/chennavc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chennavc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chennavc/subscriptions",
"organizations_url": "https://api.github.com/users/chennavc/orgs",
"repos_url": "https://api.github.com/users/chennavc/repos",
"events_url": "https://api.github.com/users/chennavc/events{/privacy}",
"received_events_url": "https://api.github.com/users/chennavc/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"
}
] | open | false | null | [] | null | 1 | 2023-12-15T01:11:29 | 2023-12-15T01:17:22 | null | NONE | null | Hello Langchain Team,
I've been working with the `create_vectorstore_router_agent` function, particularly in conjunction with the `VectorStoreRouterToolkit`, and I've encountered a limitation that I believe could be an important area for enhancement.
Currently, the response from this function primarily includes the final processed answer to a query. However, it does not provide any details about the source documents or the similarity search performed within the vector store. In many applications, especially those that require a high degree of transparency and traceability of information, having access to the source documents is crucial.
The ability to see which documents were retrieved, along with their similarity scores or other relevant metadata, is invaluable. It helps in understanding the basis of the answers provided by the agent and is essential for verifying the relevance and accuracy of the information.
Therefore, I suggest enhancing the functionality of the toolkit to include an option to return detailed information about the retrieved documents in the response. This could be implemented as an optional feature that can be enabled as needed, depending on the specific requirements of the use case.
Such a feature would significantly enhance the utility and applicability of the Langchain library, particularly in scenarios where detailed source information is essential for validation, auditing, or explanatory purposes.
Thank you for considering this enhancement. I believe it would make a great addition to the capabilities of Langchain.
Best regards,
Sarath chennamsetty.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14744/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/14744/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14743 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14743/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14743/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14743/events | https://github.com/langchain-ai/langchain/pull/14743 | 2,042,721,851 | PR_kwDOIPDwls5iDqTc | 14,743 | Wfh nvidia trt | {
"login": "jdye64",
"id": 2127235,
"node_id": "MDQ6VXNlcjIxMjcyMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2127235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jdye64",
"html_url": "https://github.com/jdye64",
"followers_url": "https://api.github.com/users/jdye64/followers",
"following_url": "https://api.github.com/users/jdye64/following{/other_user}",
"gists_url": "https://api.github.com/users/jdye64/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jdye64/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jdye64/subscriptions",
"organizations_url": "https://api.github.com/users/jdye64/orgs",
"repos_url": "https://api.github.com/users/jdye64/repos",
"events_url": "https://api.github.com/users/jdye64/events{/privacy}",
"received_events_url": "https://api.github.com/users/jdye64/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"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T01:00:47 | 2023-12-15T01:01:55 | 2023-12-15T01:01:49 | CONTRIBUTOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14743/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/14743/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14743",
"html_url": "https://github.com/langchain-ai/langchain/pull/14743",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14743.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14743.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14742 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14742/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14742/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14742/events | https://github.com/langchain-ai/langchain/pull/14742 | 2,042,707,762 | PR_kwDOIPDwls5iDnVo | 14,742 | infra: fix pre-release integration test and add unit test | {
"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": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T00:40:53 | 2023-12-15T17:59:20 | 2023-12-15T00:57:41 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14742/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/14742/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14742",
"html_url": "https://github.com/langchain-ai/langchain/pull/14742",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14742.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14742.patch",
"merged_at": "2023-12-15T00:57:41"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14741 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14741/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14741/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14741/events | https://github.com/langchain-ai/langchain/issues/14741 | 2,042,704,569 | I_kwDOIPDwls55wTK5 | 14,741 | Issue: Update the outdated hugging face client | {
"login": "deven298",
"id": 28777802,
"node_id": "MDQ6VXNlcjI4Nzc3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/28777802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deven298",
"html_url": "https://github.com/deven298",
"followers_url": "https://api.github.com/users/deven298/followers",
"following_url": "https://api.github.com/users/deven298/following{/other_user}",
"gists_url": "https://api.github.com/users/deven298/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deven298/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deven298/subscriptions",
"organizations_url": "https://api.github.com/users/deven298/orgs",
"repos_url": "https://api.github.com/users/deven298/repos",
"events_url": "https://api.github.com/users/deven298/events{/privacy}",
"received_events_url": "https://api.github.com/users/deven298/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-15T00:36:29 | 2023-12-15T00:38:44 | null | NONE | null | ### Issue you'd like to raise.
Hugging face will deprecate the `InferenceApi` and move to `InferenceClient`. Can the langchain package also update the dependency in `HuggingFaceHub` accordingly? Refer to [migration docs](https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client) to migrate to new client.
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14741/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/14741/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14740 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14740/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14740/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14740/events | https://github.com/langchain-ai/langchain/pull/14740 | 2,042,699,258 | PR_kwDOIPDwls5iDljA | 14,740 | Implement similarity_score_threshold for MongoDB Vector Store | {
"login": "NoahStapp",
"id": 30483654,
"node_id": "MDQ6VXNlcjMwNDgzNjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/30483654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoahStapp",
"html_url": "https://github.com/NoahStapp",
"followers_url": "https://api.github.com/users/NoahStapp/followers",
"following_url": "https://api.github.com/users/NoahStapp/following{/other_user}",
"gists_url": "https://api.github.com/users/NoahStapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NoahStapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NoahStapp/subscriptions",
"organizations_url": "https://api.github.com/users/NoahStapp/orgs",
"repos_url": "https://api.github.com/users/NoahStapp/repos",
"events_url": "https://api.github.com/users/NoahStapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/NoahStapp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-15T00:29:26 | 2023-12-16T00:49:21 | 2023-12-16T00:49:21 | CONTRIBUTOR | null | Adds the option for `similarity_score_threshold` when using `MongoDBAtlasVectorSearch` as a vector store retriever.
Example use:
```
vector_search = MongoDBAtlasVectorSearch.from_documents(...)
qa_retriever = vector_search.as_retriever(
search_type="similarity_score_threshold",
search_kwargs={
"score_threshold": 0.5,
}
)
qa = RetrievalQA.from_chain_type(
llm=OpenAI(),
chain_type="stuff",
retriever=qa_retriever,
)
docs = qa({"query": "..."})
```
I've tested this feature locally, using a MongoDB Atlas Cluster with a vector search index. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14740/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/14740/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14740",
"html_url": "https://github.com/langchain-ai/langchain/pull/14740",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14740.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14740.patch",
"merged_at": "2023-12-16T00:49:21"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14739 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14739/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14739/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14739/events | https://github.com/langchain-ai/langchain/pull/14739 | 2,042,675,737 | PR_kwDOIPDwls5iDgkJ | 14,739 | infra: docs build install community editable | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T23:58:31 | 2023-12-15T00:13:10 | 2023-12-15T00:13:09 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14739/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/14739/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14739",
"html_url": "https://github.com/langchain-ai/langchain/pull/14739",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14739.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14739.patch",
"merged_at": "2023-12-15T00:13:09"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14738 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14738/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14738/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14738/events | https://github.com/langchain-ai/langchain/pull/14738 | 2,042,660,008 | PR_kwDOIPDwls5iDdMH | 14,738 | core[patch]: Release 0.1.1 | {
"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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T23:35:53 | 2023-12-15T00:02:20 | 2023-12-15T00:02:20 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14738/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/14738/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14738",
"html_url": "https://github.com/langchain-ai/langchain/pull/14738",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14738.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14738.patch",
"merged_at": "2023-12-15T00:02:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14736 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14736/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14736/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14736/events | https://github.com/langchain-ai/langchain/pull/14736 | 2,042,623,154 | PR_kwDOIPDwls5iDVH_ | 14,736 | Jacob/add hf chat wrapper | {
"login": "jacoblee93",
"id": 6952323,
"node_id": "MDQ6VXNlcjY5NTIzMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jacoblee93",
"html_url": "https://github.com/jacoblee93",
"followers_url": "https://api.github.com/users/jacoblee93/followers",
"following_url": "https://api.github.com/users/jacoblee93/following{/other_user}",
"gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions",
"organizations_url": "https://api.github.com/users/jacoblee93/orgs",
"repos_url": "https://api.github.com/users/jacoblee93/repos",
"events_url": "https://api.github.com/users/jacoblee93/events{/privacy}",
"received_events_url": "https://api.github.com/users/jacoblee93/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-14T22:52:29 | 2023-12-21T17:28:31 | 2023-12-21T17:28:30 | CONTRIBUTOR | null | Builds on #14040 with community refactor merged and notebook updated.
Note that with this refactor, models will be imported from `langchain_community.chat_models.huggingface` rather than the main `langchain` repo.
CC @baskaryan @andrewrreed | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14736/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/14736/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14736",
"html_url": "https://github.com/langchain-ai/langchain/pull/14736",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14736.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14736.patch",
"merged_at": "2023-12-21T17:28:30"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14735 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14735/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14735/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14735/events | https://github.com/langchain-ai/langchain/pull/14735 | 2,042,611,441 | PR_kwDOIPDwls5iDSjZ | 14,735 | Revert "[Hub|tracing] Tag hub prompts" | {
"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": 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": 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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T22:39:46 | 2023-12-14T22:39:59 | 2023-12-14T22:39:58 | COLLABORATOR | null | Reverts langchain-ai/langchain#14720 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14735/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/14735/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14735",
"html_url": "https://github.com/langchain-ai/langchain/pull/14735",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14735.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14735.patch",
"merged_at": "2023-12-14T22:39:58"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14734 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14734/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14734/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14734/events | https://github.com/langchain-ai/langchain/pull/14734 | 2,042,578,792 | PR_kwDOIPDwls5iDLbM | 14,734 | update VoyageEmbeddings to support larger batch size | {
"login": "thomas0809",
"id": 11373553,
"node_id": "MDQ6VXNlcjExMzczNTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/11373553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomas0809",
"html_url": "https://github.com/thomas0809",
"followers_url": "https://api.github.com/users/thomas0809/followers",
"following_url": "https://api.github.com/users/thomas0809/following{/other_user}",
"gists_url": "https://api.github.com/users/thomas0809/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thomas0809/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomas0809/subscriptions",
"organizations_url": "https://api.github.com/users/thomas0809/orgs",
"repos_url": "https://api.github.com/users/thomas0809/repos",
"events_url": "https://api.github.com/users/thomas0809/events{/privacy}",
"received_events_url": "https://api.github.com/users/thomas0809/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": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | open | false | null | [] | null | 1 | 2023-12-14T22:08:19 | 2023-12-15T15:28:31 | null | CONTRIBUTOR | null | - **Description:** update VoyageEmbeddings to support larger batch size
- **Issue:**
- **Dependencies:** require `pip install voyageai` to use VoyageEmbeddings
- **Tag maintainer:**
- **Twitter handle:**
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14734/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/14734/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14734",
"html_url": "https://github.com/langchain-ai/langchain/pull/14734",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14734.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14734.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14733 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14733/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14733/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14733/events | https://github.com/langchain-ai/langchain/pull/14733 | 2,042,568,379 | PR_kwDOIPDwls5iDJK2 | 14,733 | [Partner] NVIDIA TRT Package | {
"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": 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": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T21:58:48 | 2023-12-19T03:08:27 | 2023-12-19T03:08:26 | COLLABORATOR | null | Simplify #13976 and add as a separate package.
@jdye64 I've got some questions and need your help to validate that this works. Will add some comments below.
- [] Add README
- [X] Add doc notebook
- [X] Add simple LLM integration | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14733/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/14733/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14733",
"html_url": "https://github.com/langchain-ai/langchain/pull/14733",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14733.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14733.patch",
"merged_at": "2023-12-19T03:08:26"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14732 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14732/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14732/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14732/events | https://github.com/langchain-ai/langchain/pull/14732 | 2,042,531,315 | PR_kwDOIPDwls5iDA-s | 14,732 | infra: add action checkout to pre-release-checks | {
"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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T21:28:04 | 2023-12-14T21:28:16 | 2023-12-14T21:28:13 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14732/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/14732/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14732",
"html_url": "https://github.com/langchain-ai/langchain/pull/14732",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14732.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14732.patch",
"merged_at": "2023-12-14T21:28:13"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14731 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14731/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14731/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14731/events | https://github.com/langchain-ai/langchain/pull/14731 | 2,042,493,824 | PR_kwDOIPDwls5iC4kg | 14,731 | infra: add google-genai integration deps and extras | {
"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"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T21:02:06 | 2023-12-14T21:20:11 | 2023-12-14T21:20:10 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14731/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/14731/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14731",
"html_url": "https://github.com/langchain-ai/langchain/pull/14731",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14731.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14731.patch",
"merged_at": "2023-12-14T21:20:10"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14730 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14730/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14730/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14730/events | https://github.com/langchain-ai/langchain/pull/14730 | 2,042,423,199 | PR_kwDOIPDwls5iCofK | 14,730 | Remove trailing "`" in pip install command | {
"login": "grisaitis",
"id": 908970,
"node_id": "MDQ6VXNlcjkwODk3MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/908970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grisaitis",
"html_url": "https://github.com/grisaitis",
"followers_url": "https://api.github.com/users/grisaitis/followers",
"following_url": "https://api.github.com/users/grisaitis/following{/other_user}",
"gists_url": "https://api.github.com/users/grisaitis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/grisaitis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grisaitis/subscriptions",
"organizations_url": "https://api.github.com/users/grisaitis/orgs",
"repos_url": "https://api.github.com/users/grisaitis/repos",
"events_url": "https://api.github.com/users/grisaitis/events{/privacy}",
"received_events_url": "https://api.github.com/users/grisaitis/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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-12-14T20:25:30 | 2023-12-15T01:04:19 | 2023-12-15T01:04:19 | CONTRIBUTOR | null | hi! just a simple typo fix in the local LLM python docs
- **Description:** removing a trailing "\`" character in a `!pip install ...` command
- **Issue:** n/a
- **Dependencies:** n/a
- **Tag maintainer:** n/a
- **Twitter handle:** n/a
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14730/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/14730/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14730",
"html_url": "https://github.com/langchain-ai/langchain/pull/14730",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14730.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14730.patch",
"merged_at": "2023-12-15T01:04:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14729 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14729/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14729/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14729/events | https://github.com/langchain-ai/langchain/pull/14729 | 2,042,394,558 | PR_kwDOIPDwls5iCiQX | 14,729 | proposal | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-14T20:03:39 | 2023-12-18T21:50:40 | 2023-12-18T21:50:40 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14729/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/14729/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14729",
"html_url": "https://github.com/langchain-ai/langchain/pull/14729",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14729.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14729.patch",
"merged_at": "2023-12-18T21:50:39"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14728 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14728/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14728/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14728/events | https://github.com/langchain-ai/langchain/pull/14728 | 2,042,393,800 | PR_kwDOIPDwls5iCiFz | 14,728 | updated branding for Google AI | {
"login": "lkuligin",
"id": 11026406,
"node_id": "MDQ6VXNlcjExMDI2NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkuligin",
"html_url": "https://github.com/lkuligin",
"followers_url": "https://api.github.com/users/lkuligin/followers",
"following_url": "https://api.github.com/users/lkuligin/following{/other_user}",
"gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions",
"organizations_url": "https://api.github.com/users/lkuligin/orgs",
"repos_url": "https://api.github.com/users/lkuligin/repos",
"events_url": "https://api.github.com/users/lkuligin/events{/privacy}",
"received_events_url": "https://api.github.com/users/lkuligin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T20:03:04 | 2023-12-14T20:31:19 | 2023-12-14T20:31:19 | CONTRIBUTOR | null |
Replace this entire comment with:
- **Description:** a small fix in branding
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14728/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/14728/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14728",
"html_url": "https://github.com/langchain-ai/langchain/pull/14728",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14728.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14728.patch",
"merged_at": "2023-12-14T20:31:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14727 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14727/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14727/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14727/events | https://github.com/langchain-ai/langchain/pull/14727 | 2,042,341,366 | PR_kwDOIPDwls5iCWWG | 14,727 | docs[patch]: fix databricks metadata | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T19:32:13 | 2023-12-14T19:47:35 | 2023-12-14T19:47:34 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14727/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/14727/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14727",
"html_url": "https://github.com/langchain-ai/langchain/pull/14727",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14727.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14727.patch",
"merged_at": "2023-12-14T19:47:34"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14726 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14726/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14726/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14726/events | https://github.com/langchain-ai/langchain/pull/14726 | 2,042,230,909 | PR_kwDOIPDwls5iB-JT | 14,726 | community[patch]: fix pgvector sqlalchemy | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T18:17:15 | 2023-12-19T02:48:31 | 2023-12-14T21:27:30 | COLLABORATOR | null | Fixes #14699 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14726/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/14726/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14726",
"html_url": "https://github.com/langchain-ai/langchain/pull/14726",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14726.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14726.patch",
"merged_at": "2023-12-14T21:27:30"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14725 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14725/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14725/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14725/events | https://github.com/langchain-ai/langchain/issues/14725 | 2,042,229,871 | I_kwDOIPDwls55ufRv | 14,725 | Google Drive Loader: The code in the Official Doc does not work; and Setting environment variable GOOGLE_APPLICATION_CREDENTIALS is important, though its value is not | {
"login": "snehil002",
"id": 88778723,
"node_id": "MDQ6VXNlcjg4Nzc4NzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/88778723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehil002",
"html_url": "https://github.com/snehil002",
"followers_url": "https://api.github.com/users/snehil002/followers",
"following_url": "https://api.github.com/users/snehil002/following{/other_user}",
"gists_url": "https://api.github.com/users/snehil002/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehil002/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehil002/subscriptions",
"organizations_url": "https://api.github.com/users/snehil002/orgs",
"repos_url": "https://api.github.com/users/snehil002/repos",
"events_url": "https://api.github.com/users/snehil002/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehil002/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"
}
] | open | false | null | [] | null | 1 | 2023-12-14T18:16:28 | 2023-12-14T18:25:25 | null | CONTRIBUTOR | null | ### System Info
Langchain Version - 0.0.348
OS or Platform Version - Windows 11
Python Version - 3.11.5
Conda Version - 23.7.4
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
## BRIEF
* [Issue 1] When using Google Drive Loader to load Google Docs, I encountered several errors following the offcial documentation. I ran my code on 3 different platforms - Windows, Kaggle Notebooks, and CodeSandbox (Linux). [Here is the code](https://python.langchain.com/docs/integrations/document_loaders/google_drive#instructions-for-ingesting-your-google-docs-data) that does not work.
* [Issue 2] However, after playing with the code for a while, I was able to successfully authenticate with Google and load the docs. But, this brings up another issue to our notice. The environment variable needs to be set, but its value can be any string.
## REPRODUCTION STEPS
<details>
<summary>Pre requisites</summary>
1. Complete the [Prerequisites for the GoogleDriveLoader.](https://python.langchain.com/docs/integrations/document_loaders/google_drive#prerequisites)
2. Create a Google Docs file and copy its document ID. [How to find the document ID.](https://python.langchain.com/docs/integrations/document_loaders/google_drive#instructions-for-ingesting-your-google-docs-data).
3. Please read the section mentioned in point number 2.
4. Create an empty directory on Windows for this issue and place the `credentials.json` file there, recieved from Google Cloud.
5. Create main.py file, to write the below 3 programs, in this directory.
6. I run the program with ```python main.py```
</details>
### FIRST TRY
Follow the documentation
```python
# Set the Path to the credentials and authentication token
credentials_path = "credentials.json"
token_path = "token.json"
# Create the loader object (no environment variable is set)
loader = GoogleDriveLoader(
document_ids=["Your Document ID here"],
credentials_path=credentials_path,
token_path=token_path
)
# Call the loader, after the above code:
loader.load()
```
<details>
<summary>Output - Errors</summary>
Windows and CodeSandbox (Linux):
> raise exceptions.DefaultCredentialsError(_CLOUD_SDK_MISSING_CREDENTIALS)
google.auth.exceptions.DefaultCredentialsError: Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.
Kaggle Notebooks:
> RefreshError: Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=true from the Google Compute Engine metadata service. Compute Engine Metadata server unavailable
</details>
### SECOND TRY
Documentation mentions that if I get RefreshError, I should not pass the credentials path in the constructor, rather in the env var.
```python
# Set the env var. This path was declared before
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = credentials_path # change
loader = GoogleDriveLoader(
document_ids=["Your Document ID here"],
# credentials_path=credentials_path, # this one is removed
token_path=token_path
)
```
<details>
<summary>Output - Errors</summary>
Kaggle Notebooks and CodeSandbox (Linux)
> FileNotFoundError: [Errno 2] No such file or directory: '/root/.credentials/credentials.json'
Windows
> FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Username\\.credentials\\credentials.json'
</details>
### THIRD TRY: MY APPROACH
The above error means, if we skip the credentials_path param in the constructor, it uses the default path and does not uses the path provided in the env var.
Now, If I set GOOGLE_APPLICATION_CREDENTIALS environment variable to ANY string and pass the path in the constructor:
```python
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "" # change: set the env var to any str
loader = GoogleDriveLoader(
document_ids=["Your Document ID here"],
credentials_path=credentials_path, # this one is added again
token_path=token_path
)
```
<details>
<summary>Output - user authentication to load the gdoc</summary>
Windows and Kaggle Notebook:
> Please visit this URL to authorize this application: https://accounts.google.com/o...
CodeSandbox (Linux) 😂:
> webbrowser.Error: could not locate runnable browser
</details>
## CONCLUSION
* [Issue 1] The code provided in the documentation does not work. A/c to the docs:
* If the env var is **not set**, and the path is **passed** in the constructor, the code gives errors.
* If the env var is **set** as the path, and the path is **not passed** in constructor, the code gives errors.
* [Issue 2] The env var needs to be set, but its value is not important. As per my approach:
* If the env var is **set** as ANYTHING, and the path is **passed** in the constructor, the code works.
### Expected behavior
I do not know what to expect, because the code given in the official documentation is not working correctly.
Suggestion:
However, I would suggest that, if there is no need for the env var, maybe we can remove the step of setting it.
This will resolve the second issue. For first issue, remaining would be to correct the documentation. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14725/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/14725/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14724 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14724/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14724/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14724/events | https://github.com/langchain-ai/langchain/issues/14724 | 2,042,218,831 | I_kwDOIPDwls55uclP | 14,724 | AttributeError: module 'google.generativeai' has no attribute 'GenerativeModel' | {
"login": "rahulrajpv",
"id": 113903549,
"node_id": "U_kgDOBsoHvQ",
"avatar_url": "https://avatars.githubusercontent.com/u/113903549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahulrajpv",
"html_url": "https://github.com/rahulrajpv",
"followers_url": "https://api.github.com/users/rahulrajpv/followers",
"following_url": "https://api.github.com/users/rahulrajpv/following{/other_user}",
"gists_url": "https://api.github.com/users/rahulrajpv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rahulrajpv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rahulrajpv/subscriptions",
"organizations_url": "https://api.github.com/users/rahulrajpv/orgs",
"repos_url": "https://api.github.com/users/rahulrajpv/repos",
"events_url": "https://api.github.com/users/rahulrajpv/events{/privacy}",
"received_events_url": "https://api.github.com/users/rahulrajpv/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 | 9 | 2023-12-14T18:10:24 | 2024-01-07T20:45:38 | 2023-12-15T23:55:03 | NONE | null | ### System Info
Similar issue, when tried to work with Gemini.Ai
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
AttributeError: module 'google.generativeai' has no attribute 'GenerativeModel'
### Expected behavior
just loaded those images that i have uploaded for the prompt | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14724/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/14724/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14723 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14723/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14723/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14723/events | https://github.com/langchain-ai/langchain/pull/14723 | 2,042,217,561 | PR_kwDOIPDwls5iB7LT | 14,723 | [Documentation] Updates to NVIDIA Playground/Foundation Model naming. | {
"login": "VKudlay",
"id": 32310964,
"node_id": "MDQ6VXNlcjMyMzEwOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32310964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VKudlay",
"html_url": "https://github.com/VKudlay",
"followers_url": "https://api.github.com/users/VKudlay/followers",
"following_url": "https://api.github.com/users/VKudlay/following{/other_user}",
"gists_url": "https://api.github.com/users/VKudlay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VKudlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VKudlay/subscriptions",
"organizations_url": "https://api.github.com/users/VKudlay/orgs",
"repos_url": "https://api.github.com/users/VKudlay/repos",
"events_url": "https://api.github.com/users/VKudlay/events{/privacy}",
"received_events_url": "https://api.github.com/users/VKudlay/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T18:09:27 | 2023-12-15T18:00:31 | 2023-12-15T18:00:31 | CONTRIBUTOR | null | - **Description:** Minor updates per marketing requests. Namely, name decisions (AI Foundation Models / AI Playground)
- **Tag maintainer:** @hinthornw
Do want to pass around the PR for a bit and ask a few more marketing questions before merge, but just want to make sure I'm not working in a vacuum. No major changes to code functionality intended; the PR should be for documentation and only minor tweaks.
Note: QA model is a bit borked across staging/prod right now. Relevant teams have been informed and are looking into it, and I'm placeholdered the response to that of a working version in the notebook.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14723/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/14723/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14723",
"html_url": "https://github.com/langchain-ai/langchain/pull/14723",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14723.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14723.patch",
"merged_at": "2023-12-15T18:00:31"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14722 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14722/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14722/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14722/events | https://github.com/langchain-ai/langchain/pull/14722 | 2,042,113,310 | PR_kwDOIPDwls5iBkQE | 14,722 | [Workflows] Add nvidia-aiplay to _release.yml | {
"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": 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": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T17:05:43 | 2023-12-14T17:16:42 | 2023-12-14T17:16:41 | COLLABORATOR | null | As the title says.
In the future will want to have a script to automate this | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14722/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/14722/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14722",
"html_url": "https://github.com/langchain-ai/langchain/pull/14722",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14722.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14722.patch",
"merged_at": "2023-12-14T17:16:40"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14721 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14721/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14721/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14721/events | https://github.com/langchain-ai/langchain/pull/14721 | 2,042,104,907 | PR_kwDOIPDwls5iBiWQ | 14,721 | Rename LLMonitor Callback Handler | {
"login": "hughcrt",
"id": 24587702,
"node_id": "MDQ6VXNlcjI0NTg3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hughcrt",
"html_url": "https://github.com/hughcrt",
"followers_url": "https://api.github.com/users/hughcrt/followers",
"following_url": "https://api.github.com/users/hughcrt/following{/other_user}",
"gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions",
"organizations_url": "https://api.github.com/users/hughcrt/orgs",
"repos_url": "https://api.github.com/users/hughcrt/repos",
"events_url": "https://api.github.com/users/hughcrt/events{/privacy}",
"received_events_url": "https://api.github.com/users/hughcrt/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"
},
{
"id": 6154420538,
"node_id": "LA_kwDOIPDwls8AAAABbtUBOg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/template",
"name": "template",
"color": "145FB1",
"default": false,
"description": ""
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
},
{
"id": 6348691034,
"node_id": "LA_kwDOIPDwls8AAAABemlWWg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/partner",
"name": "partner",
"color": "ededed",
"default": false,
"description": null
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 6 | 2023-12-14T17:02:27 | 2024-01-08T13:30:17 | null | CONTRIBUTOR | null | Following #14574, I've added `LunaryCallbackHandler` in `langchain_community` and kept `LLMonitorCallbackHandler` as an alias, in order to ensure backward compability.
Thanks!
@hwchase17 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14721/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/14721/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14721",
"html_url": "https://github.com/langchain-ai/langchain/pull/14721",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14721.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14721.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14720 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14720/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14720/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14720/events | https://github.com/langchain-ai/langchain/pull/14720 | 2,042,092,685 | PR_kwDOIPDwls5iBfsR | 14,720 | [Hub|tracing] Tag hub prompts | {
"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": 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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T16:56:39 | 2023-12-14T18:04:19 | 2023-12-14T18:04:18 | COLLABORATOR | null | If you're using the hub, you'll likely be interested in tracking the commit/object when tracing. This PR adds it to the config | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14720/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/14720/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14720",
"html_url": "https://github.com/langchain-ai/langchain/pull/14720",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14720.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14720.patch",
"merged_at": "2023-12-14T18:04:18"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14719 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14719/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14719/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14719/events | https://github.com/langchain-ai/langchain/pull/14719 | 2,041,919,689 | PR_kwDOIPDwls5iA508 | 14,719 | Add dense proposals | {
"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": 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": 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": 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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T15:18:46 | 2023-12-14T17:21:46 | 2023-12-14T17:21:45 | COLLABORATOR | null | Indexing strategy based on decomposing candidate propositions while indexing. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14719/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/14719/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14719",
"html_url": "https://github.com/langchain-ai/langchain/pull/14719",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14719.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14719.patch",
"merged_at": "2023-12-14T17:21:45"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14718 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14718/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14718/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14718/events | https://github.com/langchain-ai/langchain/pull/14718 | 2,041,893,327 | PR_kwDOIPDwls5iA0Df | 14,718 | Add support to parse VertexAI Model garden Llama2 model output | {
"login": "izo0x90",
"id": 53634432,
"node_id": "MDQ6VXNlcjUzNjM0NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/53634432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izo0x90",
"html_url": "https://github.com/izo0x90",
"followers_url": "https://api.github.com/users/izo0x90/followers",
"following_url": "https://api.github.com/users/izo0x90/following{/other_user}",
"gists_url": "https://api.github.com/users/izo0x90/gists{/gist_id}",
"starred_url": "https://api.github.com/users/izo0x90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izo0x90/subscriptions",
"organizations_url": "https://api.github.com/users/izo0x90/orgs",
"repos_url": "https://api.github.com/users/izo0x90/repos",
"events_url": "https://api.github.com/users/izo0x90/events{/privacy}",
"received_events_url": "https://api.github.com/users/izo0x90/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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-12-14T15:05:12 | 2024-01-04T15:20:57 | null | CONTRIBUTOR | null | - **Description:** The output of Llama2 models in GCP VertexAI Model garden is not compatible with the generic VertexAiModelGarden handler class. This PR adds a class to handle/ properly parse the output returned by those models. The handler also adds support for storing/ passing parameters to the model that is consistent with the core VertexAI LLM models.
- **Dependencies:** None
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14718/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/14718/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14718",
"html_url": "https://github.com/langchain-ai/langchain/pull/14718",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14718.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14718.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14717 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14717/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14717/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14717/events | https://github.com/langchain-ai/langchain/issues/14717 | 2,041,882,866 | I_kwDOIPDwls55tKjy | 14,717 | `LLMChain` does not support `ChatGoogleGenerativeAI` | {
"login": "ajndkr",
"id": 26824103,
"node_id": "MDQ6VXNlcjI2ODI0MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/26824103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ajndkr",
"html_url": "https://github.com/ajndkr",
"followers_url": "https://api.github.com/users/ajndkr/followers",
"following_url": "https://api.github.com/users/ajndkr/following{/other_user}",
"gists_url": "https://api.github.com/users/ajndkr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ajndkr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ajndkr/subscriptions",
"organizations_url": "https://api.github.com/users/ajndkr/orgs",
"repos_url": "https://api.github.com/users/ajndkr/repos",
"events_url": "https://api.github.com/users/ajndkr/events{/privacy}",
"received_events_url": "https://api.github.com/users/ajndkr/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-12-14T14:59:49 | 2023-12-16T10:53:50 | 2023-12-15T12:25:32 | NONE | null | ### System Info
langchain==0.0.330
langchain-core==0.1.0
langchain-google-genai==0.0.3
python: 3.11
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain_google_genai import ChatGoogleGenerativeAI
llm = ChatGoogleGenerativeAI(
model="gemini-pro",
google_api_key=google_api_key,
)
return LLMChain(llm=llm, prompt=prompt, verbose=verbose)
```
Error:
```
pydantic.error_wrappers.ValidationError: 2 validation errors for LLMChain
llm
instance of Runnable expected (type=type_error.arbitrary_type; expected_arbitrary_type=Runnable)
llm
instance of Runnable expected (type=type_error.arbitrary_type; expected_arbitrary_type=Runnable)
```
### Expected behavior
I expect LLMChain to run as usual with this new chat model. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14717/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/14717/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14716 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14716/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14716/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14716/events | https://github.com/langchain-ai/langchain/pull/14716 | 2,041,880,490 | PR_kwDOIPDwls5iAxTI | 14,716 | pipeline test | {
"login": "hughcrt",
"id": 24587702,
"node_id": "MDQ6VXNlcjI0NTg3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hughcrt",
"html_url": "https://github.com/hughcrt",
"followers_url": "https://api.github.com/users/hughcrt/followers",
"following_url": "https://api.github.com/users/hughcrt/following{/other_user}",
"gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions",
"organizations_url": "https://api.github.com/users/hughcrt/orgs",
"repos_url": "https://api.github.com/users/hughcrt/repos",
"events_url": "https://api.github.com/users/hughcrt/events{/privacy}",
"received_events_url": "https://api.github.com/users/hughcrt/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"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T14:58:43 | 2023-12-14T15:04:40 | 2023-12-14T14:58:47 | CONTRIBUTOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14716/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/14716/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14716",
"html_url": "https://github.com/langchain-ai/langchain/pull/14716",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14716.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14716.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14715 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14715/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14715/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14715/events | https://github.com/langchain-ai/langchain/issues/14715 | 2,041,879,113 | I_kwDOIPDwls55tJpJ | 14,715 | Ollama max tokens parameter | {
"login": "ciliamadani",
"id": 40335630,
"node_id": "MDQ6VXNlcjQwMzM1NjMw",
"avatar_url": "https://avatars.githubusercontent.com/u/40335630?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ciliamadani",
"html_url": "https://github.com/ciliamadani",
"followers_url": "https://api.github.com/users/ciliamadani/followers",
"following_url": "https://api.github.com/users/ciliamadani/following{/other_user}",
"gists_url": "https://api.github.com/users/ciliamadani/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ciliamadani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ciliamadani/subscriptions",
"organizations_url": "https://api.github.com/users/ciliamadani/orgs",
"repos_url": "https://api.github.com/users/ciliamadani/repos",
"events_url": "https://api.github.com/users/ciliamadani/events{/privacy}",
"received_events_url": "https://api.github.com/users/ciliamadani/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-14T14:58:07 | 2023-12-14T15:06:12 | null | NONE | null | ### Discussed in https://github.com/langchain-ai/langchain/discussions/14714
<div type='discussions-op-text'>
<sup>Originally posted by **ciliamadani** December 14, 2023</sup>
I'm currently in the process of developing a chatbot utilizing Langchain and the Ollama (llama2 7b model). My objective is to allow users to control the number of tokens generated by the language model (LLM).
In the Ollama documentation, I came across the parameter 'num_predict,' which seemingly serves this purpose. However, when using Ollama as a class from Langchain, I couldn't locate the same parameter. Consequently, I've been attempting to pass it as metadata. Unfortunately, even when setting this parameter to a low value, such as 50, the LLM continues to generate more tokens than expected.
I'm wondering if you have any insights on how I can effectively control the number of generated tokens when using Ollama as a Langchain class?
My current code
llm = Ollama(model="llama2:7b-chat-q4_0",callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),temperature=temperature,repeat_penalty=1.19,top_p=top_p,repeat_last_n=-1,metadata={"num_predict": num_predict})
Thank you.</div> | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14715/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/14715/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14713 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14713/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14713/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14713/events | https://github.com/langchain-ai/langchain/pull/14713 | 2,041,866,786 | PR_kwDOIPDwls5iAuSL | 14,713 | Add image support for Ollama | {
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T14:52:25 | 2023-12-16T00:00:56 | 2023-12-16T00:00:55 | COLLABORATOR | null | Support [LLaVA](https://ollama.ai/library/llava):
* Upgrade Ollama
* `ollama pull llava`
Ensure compatibility with [image prompt template](https://github.com/langchain-ai/langchain/pull/14263) | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14713/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/14713/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14713",
"html_url": "https://github.com/langchain-ai/langchain/pull/14713",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14713.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14713.patch",
"merged_at": "2023-12-16T00:00:55"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14712 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14712/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14712/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14712/events | https://github.com/langchain-ai/langchain/issues/14712 | 2,041,683,363 | I_kwDOIPDwls55sZ2j | 14,712 | TypeError: Chain.__call__() got an unexpected keyword argument 'stop' | {
"login": "LarsLondonUK",
"id": 43881756,
"node_id": "MDQ6VXNlcjQzODgxNzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/43881756?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LarsLondonUK",
"html_url": "https://github.com/LarsLondonUK",
"followers_url": "https://api.github.com/users/LarsLondonUK/followers",
"following_url": "https://api.github.com/users/LarsLondonUK/following{/other_user}",
"gists_url": "https://api.github.com/users/LarsLondonUK/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LarsLondonUK/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LarsLondonUK/subscriptions",
"organizations_url": "https://api.github.com/users/LarsLondonUK/orgs",
"repos_url": "https://api.github.com/users/LarsLondonUK/repos",
"events_url": "https://api.github.com/users/LarsLondonUK/events{/privacy}",
"received_events_url": "https://api.github.com/users/LarsLondonUK/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"
},
{
"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 | 1 | 2023-12-14T13:18:03 | 2023-12-14T13:28:09 | null | NONE | null | ### Issue you'd like to raise.
Hi all,
trying to use Langchain with HuggingFace model and Embeddings.
Am new to Langchain so any pointers welcome.
`import os
os.environ['HUGGINGFACEHUB_API_TOKEN']=myToken
#required to avoid certificate issue
os.environ['CURL_CA_BUNDLE'] = ''
from langchain import PromptTemplate, HuggingFaceHub, LLMChain
#Build prompt
template = """
Question: {question}
Answer: Let's think of the best answer, with arguments."""
prompt = PromptTemplate(template=template, input_variables=["question"])
llm_chain=LLMChain(prompt=prompt,
llm=HuggingFaceHub(repo_id="google/flan-t5-xxl",
model_kwargs={"temperature":0.5,
"max_length":64}))
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.document_loaders import PyPDFLoader
loader = PyPDFLoader("https://www.ofgem.gov.uk/sites/default/files/docs/2018/10/rec_v1.0_main_body.pdf")
pages = loader.load_and_split()
from langchain.vectorstores import Chroma
from langchain.chains import RetrievalQA
doc_embed = HuggingFaceEmbeddings(model_name="sentence-transformers/all-mpnet-base-v2")
docsearch = Chroma.from_documents(pages, doc_embed)
qa_chain = RetrievalQA.from_chain_type(
llm_chain,
retriever=docsearch.as_retriever()
)
output = qa_chain.run("what is the retail energy code?")`
I get the following error:
---> 89 return self(
90 input,
91 callbacks=config.get("callbacks"),
92 tags=config.get("tags"),
93 metadata=config.get("metadata"),
94 run_name=config.get("run_name"),
95 **kwargs,
96 )
TypeError: Chain.__call__() got an unexpected keyword argument 'stop'
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14712/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/14712/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14711 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14711/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14711/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14711/events | https://github.com/langchain-ai/langchain/issues/14711 | 2,041,671,633 | I_kwDOIPDwls55sW_R | 14,711 | 'google.generativeai' has no attribute 'GenerativeModel' | {
"login": "kegbo",
"id": 8942840,
"node_id": "MDQ6VXNlcjg5NDI4NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8942840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kegbo",
"html_url": "https://github.com/kegbo",
"followers_url": "https://api.github.com/users/kegbo/followers",
"following_url": "https://api.github.com/users/kegbo/following{/other_user}",
"gists_url": "https://api.github.com/users/kegbo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kegbo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kegbo/subscriptions",
"organizations_url": "https://api.github.com/users/kegbo/orgs",
"repos_url": "https://api.github.com/users/kegbo/repos",
"events_url": "https://api.github.com/users/kegbo/events{/privacy}",
"received_events_url": "https://api.github.com/users/kegbo/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 | 22 | 2023-12-14T13:11:09 | 2023-12-19T19:45:16 | null | NONE | null | ### System Info
Anaconda 23.7.2
Windows 11
Python 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Method 1
```
def generate_lecture(topic:str, context:str):
template ="""
As an accomplished university professor and expert in {topic}, your task is to develop an elaborate, exhaustive, and highly detailed lecture on the subject.
Remember to generate content ensuring both novice learners and advanced students can benefit from your expertise.
while leveraging the provided context
Context: {context} """
prompt = ChatPromptTemplate.from_template(template)
model = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=palm_api_key)
response = model.invoke(template)
return response.content
```
Method 2
```
def generate_lecture(topic:str, context:str):
template ="""
As an accomplished university professor and expert in {topic}, your task is to develop an elaborate, exhaustive, and highly detailed lecture on the subject.
Remember to generate content ensuring both novice learners and advanced students can benefit from your expertise.
while leveraging the provided context
Context: {context} """
prompt = ChatPromptTemplate.from_template(template)
model = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=palm_api_key)
chain = prompt| model | StrOutputParser()
response = chain.invoke({"topic":topic, "context":context})
return response.
```
Result we receive on execttion of method 1 and method 2 is
```
File "C:\Users\ibokk\RobotForge\mvp\service\llm.py", line 80, in generate_lecture
model = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=palm_api_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ibokk\anaconda3\envs\robotforge\Lib\site-packages\langchain_core\load\serializable.py", line 97, in __init__
super().__init__(**kwargs)
File "pydantic\main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic\main.py", line 1102, in pydantic.main.validate_model
File "C:\Users\ibokk\anaconda3\envs\robotforge\Lib\site-packages\langchain_google_genai\chat_models.py", line 502, in validate_environment
values["_generative_model"] = genai.GenerativeModel(model_name=model)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'google.generativeai' has no attribute 'GenerativeModel
```
### Expected behavior
A poor result will be random text generated which is not relevant to the prompt provided. An excellent result will be text generated relevant to the template provided.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14711/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/14711/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14710 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14710/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14710/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14710/events | https://github.com/langchain-ai/langchain/issues/14710 | 2,041,522,040 | I_kwDOIPDwls55ryd4 | 14,710 | Raise "Message of 'system' type not supported by Gemini" exception by ChatGoogleGenerativeAI with ConversationalRetrievalChain | {
"login": "hasansustcse13",
"id": 94289705,
"node_id": "U_kgDOBZ6_KQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94289705?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansustcse13",
"html_url": "https://github.com/hasansustcse13",
"followers_url": "https://api.github.com/users/hasansustcse13/followers",
"following_url": "https://api.github.com/users/hasansustcse13/following{/other_user}",
"gists_url": "https://api.github.com/users/hasansustcse13/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hasansustcse13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hasansustcse13/subscriptions",
"organizations_url": "https://api.github.com/users/hasansustcse13/orgs",
"repos_url": "https://api.github.com/users/hasansustcse13/repos",
"events_url": "https://api.github.com/users/hasansustcse13/events{/privacy}",
"received_events_url": "https://api.github.com/users/hasansustcse13/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 | 7 | 2023-12-14T11:41:27 | 2023-12-24T07:52:19 | null | NONE | null | ### System Info
langchain==0.0.350
langchain-community==0.0.3
langchain-core==0.1.0
langchain-google-genai==0.0.3
google-ai-generativelanguage==0.4.0
google-api-core==2.15.0
google-auth==2.25.2
google-generativeai==0.3.1
googleapis-common-protos==1.62.0
### 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
```
class LangChainChatService(ChatBaseService):
def __init__(self, model: LangchainChatModel, tool_query=None):
super().__init__()
self.model = model
self.request_manager = api_request_manager_var.get()
self.tool_query = tool_query
async def http_chat_async(self) -> dict:
formatted_chat_history = [] if self.tool_query else self.get_formatted_chat_history(self.model.chat_history)
qa = self._get_qa_chain()
qa.return_source_documents = self.model.return_source_documents
qa.return_generated_question = True
query_start = time.time()
question = self.tool_query or self.model.query
qa_response = await qa.ainvoke({"question": question, "chat_history": formatted_chat_history})
query_end = time.time()
result = {
'query_result': qa_response.get("answer"),
'query_time': int((query_end - query_start) * 1000),
'generated_question': qa_response.get('generated_question'),
'source_documents': [document.__dict__ for document in qa_response.get("source_documents", [])],
}
self._publish_chat_history(result)
return result
def _get_qa_chain(self, callbacks: Callbacks = None) -> BaseConversationalRetrievalChain:
collection_name = get_langchain_collection_name(self.model.client_id)
connection_args = {"host": AppConfig.vector_db_host, "port": AppConfig.vector_db_port}
embeddings = LLMSelector(self.model).get_embeddings()
vector_store = Milvus(embeddings, collection_name=collection_name, connection_args=connection_args)
expression = get_expression_to_fetch_db_text_from_ids(**self.model.model_dump())
# Instance of ChatGoogleGenerativeAI
qa_llm = LLMSelector(self.model).get_language_model(streaming=self.model.stream_response, callbacks=callbacks)
condense_question_llm = LLMSelector(self.model).get_language_model()
qa = ConversationalRetrievalChain.from_llm(
llm=qa_llm,
retriever=vector_store.as_retriever(search_type="similarity", search_kwargs={"k": self.model.similarity_top_k, 'expr': expression}),
condense_question_llm=condense_question_llm,
verbose=True
)
return qa
```
The code use this prompt from langchain code base
```
prompt_template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
{context}
Question: {question}
Helpful Answer:"""
QA_PROMPT = PromptTemplate(
template=prompt_template, input_variables=["context", "question"]
)
```
I see that after fetching context document from vector database langchain generate `SystemMessage` along with `HumanMessage` using the above prompt. And there is a validation in `ChatGoogleGenerativeAI` to prevent system message.
This is the possible reason for producing the following error.
`langchain_google_genai.chat_models.ChatGoogleGenerativeAIError: Message of 'system' type not supported by Gemini. Please only provide it with Human or AI (user/assistant) messages.`
### Expected behavior
As I didn't provide any SystemMessage, ChatGoogleGenerativeAI should work without exception.
This bug is related to Langchain. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14710/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/14710/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14709 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14709/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14709/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14709/events | https://github.com/langchain-ai/langchain/issues/14709 | 2,041,427,315 | I_kwDOIPDwls55rbVz | 14,709 | CallbackHandler on_llm_new_token method not fire with ChatGoogleGenerativeAI(Gemini) but works fine with ChatOpenAI when streaming true | {
"login": "hasansustcse13",
"id": 94289705,
"node_id": "U_kgDOBZ6_KQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94289705?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansustcse13",
"html_url": "https://github.com/hasansustcse13",
"followers_url": "https://api.github.com/users/hasansustcse13/followers",
"following_url": "https://api.github.com/users/hasansustcse13/following{/other_user}",
"gists_url": "https://api.github.com/users/hasansustcse13/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hasansustcse13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hasansustcse13/subscriptions",
"organizations_url": "https://api.github.com/users/hasansustcse13/orgs",
"repos_url": "https://api.github.com/users/hasansustcse13/repos",
"events_url": "https://api.github.com/users/hasansustcse13/events{/privacy}",
"received_events_url": "https://api.github.com/users/hasansustcse13/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 | 6 | 2023-12-14T10:43:18 | 2023-12-31T14:35:17 | null | NONE | null | ### System Info
aiohttp==3.9.1
aiosignal==1.3.1
annotated-types==0.6.0
anyio==4.1.0
attrs==23.1.0
cachetools==5.3.2
certifi==2023.11.17
charset-normalizer==3.3.2
colorama==0.4.6
dataclasses-json==0.6.3
frozenlist==1.4.0
google-ai-generativelanguage==0.4.0
google-api-core==2.15.0
google-auth==2.25.2
google-generativeai==0.3.1
googleapis-common-protos==1.62.0
greenlet==3.0.2
grpcio==1.60.0
grpcio-status==1.60.0
idna==3.6
jsonpatch==1.33
jsonpointer==2.4
langchain-community==0.0.3
langchain-core==0.1.0
langchain-google-genai==0.0.3
langsmith==0.0.70
marshmallow==3.20.1
multidict==6.0.4
mypy-extensions==1.0.0
numpy==1.26.2
packaging==23.2
Pillow==10.1.0
proto-plus==1.23.0
protobuf==4.25.1
pyasn1==0.5.1
pyasn1-modules==0.3.0
pydantic==2.5.2
pydantic_core==2.14.5
PyYAML==6.0.1
requests==2.31.0
rsa==4.9
sniffio==1.3.0
SQLAlchemy==2.0.23
tenacity==8.2.3
tqdm==4.66.1
typing-inspect==0.9.0
typing_extensions==4.9.0
urllib3==2.1.0
yarl==1.9.4
### 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
```
from typing import Any, Optional
from uuid import UUID
from langchain.chains import LLMChain
from langchain_community.chat_models import ChatOpenAI
from langchain_core.callbacks import BaseCallbackHandler
from langchain_core.outputs import LLMResult
from langchain_core.prompts import PromptTemplate
from langchain_google_genai import ChatGoogleGenerativeAI
prompt_template = "Tell me details about the Company {name} with 2 bullet point?"
class StreamingLLMCallbackHandler(BaseCallbackHandler):
def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
print(token, end='')
def on_llm_end(self, response: LLMResult, *, run_id: UUID, parent_run_id: Optional[UUID] = None, **kwargs: Any) -> Any:
print('\n\n---------------------LLM_END--------------------------')
print(response.generations[0][0].text)
def gemini_stream_with_cb():
llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key='AIzaSPVggdfgerweselzbVCHH', streaming=True, callbacks=[StreamingLLMCallbackHandler()])
llm_chain = LLMChain(llm=llm, prompt=PromptTemplate.from_template(prompt_template), verbose=True)
llm_chain.run(name="Google")
def openai_stream_with_cb():
llm = ChatOpenAI(openai_api_key='sk-pSHx9qACbzdgsdgyuuyNCXpZ0', model='gpt-4', streaming=True, callbacks=[StreamingLLMCallbackHandler()])
llm_chain = LLMChain(llm=llm, prompt=PromptTemplate.from_template(prompt_template), verbose=True)
llm_chain.run(name="Open AI")
if __name__ == '__main__':
gemini_stream_with_cb()
# openai_stream_with_cb()
```
**ChatGoogleGenerativeAI:** on_llm_new_token not triggered, but on_llm_end triggered
**ChatOpenAI**: Both triggered
### Expected behavior
**on_llm_new_token should trigger for ChatGoogleGenerativeAI** | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14709/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/langchain-ai/langchain/issues/14709/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14708 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14708/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14708/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14708/events | https://github.com/langchain-ai/langchain/pull/14708 | 2,041,369,280 | PR_kwDOIPDwls5h_Afg | 14,708 | Make `doctran` synchronous | {
"login": "169",
"id": 10000925,
"node_id": "MDQ6VXNlcjEwMDAwOTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10000925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/169",
"html_url": "https://github.com/169",
"followers_url": "https://api.github.com/users/169/followers",
"following_url": "https://api.github.com/users/169/following{/other_user}",
"gists_url": "https://api.github.com/users/169/gists{/gist_id}",
"starred_url": "https://api.github.com/users/169/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/169/subscriptions",
"organizations_url": "https://api.github.com/users/169/orgs",
"repos_url": "https://api.github.com/users/169/repos",
"events_url": "https://api.github.com/users/169/events{/privacy}",
"received_events_url": "https://api.github.com/users/169/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"
},
{
"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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T10:10:55 | 2023-12-28T11:39:55 | 2023-12-28T11:39:55 | CONTRIBUTOR | null | ### Description
I found that the methods in [the doctran library](https://github.com/psychic-api/doctran) have been restructured into [synchronized versions](https://github.com/psychic-api/doctran/commit/14944a59f7513b51e629a850e0de5ae276eabed9),
And [the example ipynb](https://github.com/psychic-api/doctran/blob/main/examples.ipynb) also shows that the code is synchronized, but the README has not been updated yet.
so we need to modify the code and update the documentation.
### Issue
https://github.com/langchain-ai/langchain/issues/14645 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14708/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/14708/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14708",
"html_url": "https://github.com/langchain-ai/langchain/pull/14708",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14708.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14708.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14706 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14706/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14706/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14706/events | https://github.com/langchain-ai/langchain/issues/14706 | 2,041,277,150 | I_kwDOIPDwls55q2re | 14,706 | Issue: what are all dependencies need to install for fetching confluence attachments | {
"login": "deepak-habilelabs",
"id": 137885024,
"node_id": "U_kgDOCDf1YA",
"avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepak-habilelabs",
"html_url": "https://github.com/deepak-habilelabs",
"followers_url": "https://api.github.com/users/deepak-habilelabs/followers",
"following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}",
"gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions",
"organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs",
"repos_url": "https://api.github.com/users/deepak-habilelabs/repos",
"events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepak-habilelabs/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] | open | false | null | [] | null | 1 | 2023-12-14T09:19:24 | 2023-12-14T09:26:04 | null | NONE | null | ### Issue you'd like to raise.
below is my dependencies installed till now
django==4.0
django-rest-framework
langchain==0.0.349
pdf2image
chromadb
unstructured
openai
pypdf
tiktoken
django-cors-headers
django-environ
pytesseract==0.3.10
beautifulsoup4==4.12.2
atlassian-python-api==3.38.0
tiktoken==0.4.0
lxml==4.9.2
what else dependencies need to install for fetching confluence attachments.
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14706/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/14706/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14705 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14705/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14705/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14705/events | https://github.com/langchain-ai/langchain/issues/14705 | 2,041,252,793 | I_kwDOIPDwls55qwu5 | 14,705 | Splitting the document based on headers using Recursive Character Text Splitter | {
"login": "Kittyxox",
"id": 130595576,
"node_id": "U_kgDOB8i6-A",
"avatar_url": "https://avatars.githubusercontent.com/u/130595576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kittyxox",
"html_url": "https://github.com/Kittyxox",
"followers_url": "https://api.github.com/users/Kittyxox/followers",
"following_url": "https://api.github.com/users/Kittyxox/following{/other_user}",
"gists_url": "https://api.github.com/users/Kittyxox/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Kittyxox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kittyxox/subscriptions",
"organizations_url": "https://api.github.com/users/Kittyxox/orgs",
"repos_url": "https://api.github.com/users/Kittyxox/repos",
"events_url": "https://api.github.com/users/Kittyxox/events{/privacy}",
"received_events_url": "https://api.github.com/users/Kittyxox/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] | closed | false | null | [] | null | 1 | 2023-12-14T09:05:08 | 2023-12-22T09:57:43 | 2023-12-22T09:57:43 | NONE | null | Hi @dossubot.
I have a document where it contains 3 different titles of a single document, i want to create chunk size based on every header, so below is my existing code, pls modify that. and send me accordingly.
def load_docs_only(directory_path):
docs, _, _, _ = load_documents(directory_path)
return docs
def text_splitter_by_char():
splitter = RecursiveCharacterTextSplitter(
chunk_size=1000,
chunk_overlap=100,
length_function = len,
return splitter
# Load the content
docs = load_docs_only(cfg.directory_path)
# Split the content
splitter = text_splitter_by_char()
chunks = splitter.split_documents(docs)
chunks | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14705/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/14705/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14704 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14704/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14704/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14704/events | https://github.com/langchain-ai/langchain/pull/14704 | 2,041,243,136 | PR_kwDOIPDwls5h-lGH | 14,704 | Update `google_generative_ai.ipynb` | {
"login": "169",
"id": 10000925,
"node_id": "MDQ6VXNlcjEwMDAwOTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10000925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/169",
"html_url": "https://github.com/169",
"followers_url": "https://api.github.com/users/169/followers",
"following_url": "https://api.github.com/users/169/following{/other_user}",
"gists_url": "https://api.github.com/users/169/gists{/gist_id}",
"starred_url": "https://api.github.com/users/169/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/169/subscriptions",
"organizations_url": "https://api.github.com/users/169/orgs",
"repos_url": "https://api.github.com/users/169/repos",
"events_url": "https://api.github.com/users/169/events{/privacy}",
"received_events_url": "https://api.github.com/users/169/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"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T08:59:13 | 2023-12-14T18:58:26 | 2023-12-14T18:58:26 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14704/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14704/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14704",
"html_url": "https://github.com/langchain-ai/langchain/pull/14704",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14704.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14704.patch",
"merged_at": "2023-12-14T18:58:25"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14703 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14703/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14703/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14703/events | https://github.com/langchain-ai/langchain/issues/14703 | 2,041,224,728 | I_kwDOIPDwls55qp4Y | 14,703 | Issue: Rephrased question in included in the on_llm_new_token method while streaming the response from the LLM | {
"login": "summer1704",
"id": 48026561,
"node_id": "MDQ6VXNlcjQ4MDI2NTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/48026561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/summer1704",
"html_url": "https://github.com/summer1704",
"followers_url": "https://api.github.com/users/summer1704/followers",
"following_url": "https://api.github.com/users/summer1704/following{/other_user}",
"gists_url": "https://api.github.com/users/summer1704/gists{/gist_id}",
"starred_url": "https://api.github.com/users/summer1704/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/summer1704/subscriptions",
"organizations_url": "https://api.github.com/users/summer1704/orgs",
"repos_url": "https://api.github.com/users/summer1704/repos",
"events_url": "https://api.github.com/users/summer1704/events{/privacy}",
"received_events_url": "https://api.github.com/users/summer1704/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 | 6 | 2023-12-14T08:47:45 | 2023-12-26T09:42:51 | null | NONE | null | ### Issue you'd like to raise.
Hi, I am trying to stream the response from the llm back to the client by using a callback with a custom StreamHandler, but the on_llm_new_token also includes the output from the rephrase_question step. while the final response does not include the rephrased answer. I don't want the rephrased question to be present in the response that is streaming.
the StreamHandler class is given below
`class StreamHandler(BaseCallbackHandler):
def __init__(self):
self.text = ""
def on_llm_new_token(self, token: str, **kwargs):
old_text = self.text
self.text += token
# Calculate the new content since the last emission
new_content = self.text[len(old_text) :]
socketio.emit("update_response", {"response": new_content})`
The qa-chain is defined as below:
qa_chain = ConversationalRetrievalChain.from_llm(
llm=chat,
retriever=MyVectorStoreRetriever(
vectorstore=vectordb,
search_type="similarity_score_threshold",
search_kwargs={"score_threshold": SIMILARITY_THRESHOLD, "k": 1},
),
return_source_documents=True,
rephrase_question=False)
response = qa_chain(
{
"question": user_input,
"chat_history":chat_history,
},callbacks=[stream_handler] )
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14703/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/14703/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14702 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14702/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14702/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14702/events | https://github.com/langchain-ai/langchain/issues/14702 | 2,041,221,683 | I_kwDOIPDwls55qpIz | 14,702 | Issue: How to set the Chain with valid/empty input | {
"login": "128Ghe980",
"id": 44698199,
"node_id": "MDQ6VXNlcjQ0Njk4MTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/44698199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/128Ghe980",
"html_url": "https://github.com/128Ghe980",
"followers_url": "https://api.github.com/users/128Ghe980/followers",
"following_url": "https://api.github.com/users/128Ghe980/following{/other_user}",
"gists_url": "https://api.github.com/users/128Ghe980/gists{/gist_id}",
"starred_url": "https://api.github.com/users/128Ghe980/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/128Ghe980/subscriptions",
"organizations_url": "https://api.github.com/users/128Ghe980/orgs",
"repos_url": "https://api.github.com/users/128Ghe980/repos",
"events_url": "https://api.github.com/users/128Ghe980/events{/privacy}",
"received_events_url": "https://api.github.com/users/128Ghe980/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-14T08:45:49 | 2023-12-14T08:58:00 | null | NONE | null | ### Issue you'd like to raise.
my code:
only_recall_inputs = RunnableParallel({
"question": itemgetter('question'),
"history": ????????,
"docs": itemgetter('question') | retriever,
})
just a simple chain
I want the "history" part to be [] or ''
how to do this?
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14702/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/14702/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14701 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14701/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14701/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14701/events | https://github.com/langchain-ai/langchain/issues/14701 | 2,041,187,377 | I_kwDOIPDwls55qgwx | 14,701 | The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() | {
"login": "shujun1992",
"id": 24520263,
"node_id": "MDQ6VXNlcjI0NTIwMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/24520263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shujun1992",
"html_url": "https://github.com/shujun1992",
"followers_url": "https://api.github.com/users/shujun1992/followers",
"following_url": "https://api.github.com/users/shujun1992/following{/other_user}",
"gists_url": "https://api.github.com/users/shujun1992/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shujun1992/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shujun1992/subscriptions",
"organizations_url": "https://api.github.com/users/shujun1992/orgs",
"repos_url": "https://api.github.com/users/shujun1992/repos",
"events_url": "https://api.github.com/users/shujun1992/events{/privacy}",
"received_events_url": "https://api.github.com/users/shujun1992/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": 6077048506,
"node_id": "LA_kwDOIPDwls8AAAABajhmug",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20elasticsearch",
"name": "integration: elasticsearch",
"color": "DAB5EC",
"default": false,
"description": "Related to elastic/elasticsearch integrations"
}
] | open | false | null | [] | null | 2 | 2023-12-14T08:24:32 | 2023-12-14T12:29:31 | null | NONE | null | ### System Info
python 3.10
langchain version:0.0.350
### 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
when use elasticsearchStore add_doccuments The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
langchain 0.0.317 is ok
upgrade langchain 0.0.350 exist error
### Expected behavior
fix it | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14701/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/14701/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14700 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14700/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14700/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14700/events | https://github.com/langchain-ai/langchain/issues/14700 | 2,041,050,685 | I_kwDOIPDwls55p_Y9 | 14,700 | Gemini not support SystemMessage and raise an error | {
"login": "Casper-Mars",
"id": 50834595,
"node_id": "MDQ6VXNlcjUwODM0NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/50834595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Casper-Mars",
"html_url": "https://github.com/Casper-Mars",
"followers_url": "https://api.github.com/users/Casper-Mars/followers",
"following_url": "https://api.github.com/users/Casper-Mars/following{/other_user}",
"gists_url": "https://api.github.com/users/Casper-Mars/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Casper-Mars/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Casper-Mars/subscriptions",
"organizations_url": "https://api.github.com/users/Casper-Mars/orgs",
"repos_url": "https://api.github.com/users/Casper-Mars/repos",
"events_url": "https://api.github.com/users/Casper-Mars/events{/privacy}",
"received_events_url": "https://api.github.com/users/Casper-Mars/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 | 8 | 2023-12-14T07:07:13 | 2023-12-19T18:45:16 | null | NONE | null | ### System Info
LangChain: 0.0.348
langchain-google-genai: 0.0.3
python: 3.11
os: macOS11.6
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
langchain_google_genai.chat_models.ChatGoogleGenerativeAIError: Message of 'system' type not supported by Gemini. Please only provide it with Human or AI (user/assistant) messages.
### Expected behavior
no error | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14700/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/14700/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14699 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14699/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14699/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14699/events | https://github.com/langchain-ai/langchain/issues/14699 | 2,041,031,199 | I_kwDOIPDwls55p6of | 14,699 | sqlalchemy.exc.InvalidRequestError: Table 'langchain_pg_collection' is already defined for this MetaData instance. | {
"login": "arezazadeh",
"id": 35385652,
"node_id": "MDQ6VXNlcjM1Mzg1NjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/35385652?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arezazadeh",
"html_url": "https://github.com/arezazadeh",
"followers_url": "https://api.github.com/users/arezazadeh/followers",
"following_url": "https://api.github.com/users/arezazadeh/following{/other_user}",
"gists_url": "https://api.github.com/users/arezazadeh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arezazadeh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arezazadeh/subscriptions",
"organizations_url": "https://api.github.com/users/arezazadeh/orgs",
"repos_url": "https://api.github.com/users/arezazadeh/repos",
"events_url": "https://api.github.com/users/arezazadeh/events{/privacy}",
"received_events_url": "https://api.github.com/users/arezazadeh/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 | 15 | 2023-12-14T06:51:40 | 2023-12-27T19:12:07 | 2023-12-14T21:27:31 | NONE | null | ### Issue you'd like to raise.
what is this issue, and how can i resolve it:
```python
os.environ["AZURE_OPENAI_API_KEY"] = AZURE_OPENAI_API_KEY
os.environ["AZURE_OPENAI_ENDPOINT"] = AZURE_OPENAI_ENDPOINT
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
os.environ["OPENAI_API_KEY"] = OPENAI_API_KEY
embedding = OpenAIEmbeddings()
COLLECTION_NAME = "network_team_documents"
CONNECTION_STRING = PGVector.connection_string_from_db_params(
driver=os.environ.get(DB_DRIVER, DB_DRIVER),
host=os.environ.get(DB_HOST, DB_HOST),
port=int(os.environ.get(DB_PORT, DB_PORT)),
database=os.environ.get(DB_DB, DB_DB),
user=os.environ.get(DB_USER, DB_USER),
password=os.environ.get(DB_PASS, DB_PASS),
)
store = PGVector(
collection_name=COLLECTION_NAME,
connection_string=CONNECTION_STRING,
embedding_function=embedding,
extend_existing=True,
)
gpt4 = AzureChatOpenAI(
azure_deployment="GPT4",
openai_api_version="2023-05-15",
)
retriever = store.as_retriever(search_type="similarity", search_kwargs={"k": 10})
qa_chain = RetrievalQA.from_chain_type(llm=gpt4,
chain_type="stuff",
retriever=retriever,
return_source_documents=True)
return qa_chain
```
```python
Traceback (most recent call last):
File "/opt/network_tool/chatbot/views.py", line 21, in chat
chat_object = create_session()
File "/opt/network_tool/chatbot/chatbot_functions.py", line 95, in create_session
store = PGVector(
File "/opt/klevernet_venv/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 199, in __init__
self.__post_init__()
File "/opt/klevernet_venv/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 207, in __post_init__
EmbeddingStore, CollectionStore = _get_embedding_collection_store()
File "/opt/klevernet_venv/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 66, in _get_embedding_collection_store
class CollectionStore(BaseModel):
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/orm/decl_api.py", line 195, in __init__
_as_declarative(reg, cls, dict_)
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 247, in _as_declarative
return _MapperConfig.setup_mapping(registry, cls, dict_, None, {})
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 328, in setup_mapping
return _ClassScanMapperConfig(
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 578, in __init__
self._setup_table(table)
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 1729, in _setup_table
table_cls(
File "", line 2, in __new__
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
return fn(*args, **kwargs) # type: ignore[no-any-return]
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 436, in __new__
return cls._new(*args, **kw)
File "/opt/klevernet_venv/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 468, in _new
raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Table 'langchain_pg_collection' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
```
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14699/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/14699/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14697 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14697/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14697/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14697/events | https://github.com/langchain-ai/langchain/issues/14697 | 2,041,006,966 | I_kwDOIPDwls55p0t2 | 14,697 | SQLagent always giving me AttributeError: items for Snowflake tables | {
"login": "rajesh-b-rao",
"id": 67594699,
"node_id": "MDQ6VXNlcjY3NTk0Njk5",
"avatar_url": "https://avatars.githubusercontent.com/u/67594699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajesh-b-rao",
"html_url": "https://github.com/rajesh-b-rao",
"followers_url": "https://api.github.com/users/rajesh-b-rao/followers",
"following_url": "https://api.github.com/users/rajesh-b-rao/following{/other_user}",
"gists_url": "https://api.github.com/users/rajesh-b-rao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajesh-b-rao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajesh-b-rao/subscriptions",
"organizations_url": "https://api.github.com/users/rajesh-b-rao/orgs",
"repos_url": "https://api.github.com/users/rajesh-b-rao/repos",
"events_url": "https://api.github.com/users/rajesh-b-rao/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajesh-b-rao/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 8 | 2023-12-14T06:29:48 | 2023-12-14T14:18:57 | null | NONE | null | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Here is my code for connecting to Snowflake database and getting the tables and executing them in langchain SQLagent.. Howver i always get AttributeError: items.
from snowflake.sqlalchemy import URL
llm=AzureChatOpenAI(temperature=0.0,deployment_name=gpt-4-32k)
snowflake_url = URL(
account='xxxxx,
user='xxxxxx',
password='xxxxxx',
database='xxxxx',
schema='xxxxxx',
warehouse='xxxxxxx'
)
db = SQLDatabase.from_uri(snowflake_url, sample_rows_in_table_info=1, include_tables=['gc'])
# Create the SQLDatabaseToolkit
toolkit = SQLDatabaseToolkit(db=db, llm=llm)
agent_executor = create_sql_agent(
llm=llm,
toolkit=toolkit,
verbose=True,
prefix=MSSQL_AGENT_PREFIX,
format_instructions = MSSQL_AGENT_FORMAT_INSTRUCTIONS,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
top_k=30,
early_stopping_method="generate",
handle_parsing_errors = True,
)
question = "List top 10 records from gc"
response = agent_executor.run(question)
Entering new AgentExecutor chain...
Action: sql_db_list_tables
Action Input: ""
Observation: gc
Thought:The 'gc' table is available in the database. I should now check the schema of the 'gc' table to understand its structure and the data it contains.
Action: sql_db_schema
Action Input: "gc"
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
File [c:\Anaconda_3\Lib\site-packages\sqlalchemy\sql\base.py:1150](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/sql/base.py:1150), in ColumnCollection.__getattr__(self, key)
[1149](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/sql/base.py:1149) try:
-> [1150](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/sql/base.py:1150) return self._index[key]
[1151](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/sql/base.py:1151) except KeyError as err:
KeyError: 'items'
The above exception was the direct cause of the following exception:
AttributeError Traceback (most recent call last)
Cell In[66], [line 33](vscode-notebook-cell:?execution_count=66&line=33)
[31](vscode-notebook-cell:?execution_count=66&line=31) from langchain.globals import set_debug
[32](vscode-notebook-cell:?execution_count=66&line=32) set_debug(False)
---> [33](vscode-notebook-cell:?execution_count=66&line=33) response = agent_executor.run(question)
File [~\AppData\Roaming\Python\Python311\site-packages\langchain\chains\base.py:507](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:507), in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
[505](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:505) if len(args) != 1:
[506](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:506) raise ValueError("`run` supports only one positional argument.")
--> [507](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:507) return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
[508](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:508) _output_key
[509](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:509) ]
[511](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:511) if kwargs and not args:
[512](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/W67529/Autogen/~/AppData/Roaming/Python/Python311/site-packages/langchain/chains/base.py:512) return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
...
[201](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/util/compat.py:201) # https://cosmicpercolator.com/2016/01/13/exception-leaks-in-python-2-and-3/
[202](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/util/compat.py:202) # as the __traceback__ object creates a cycle
[203](file:///C:/Anaconda_3/Lib/site-packages/sqlalchemy/util/compat.py:203) del exception, replace_context, from_, with_traceback
AttributeError: items
### Expected behavior
Should have executed the question. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14697/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/14697/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14696 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14696/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14696/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14696/events | https://github.com/langchain-ai/langchain/issues/14696 | 2,040,991,652 | I_kwDOIPDwls55pw-k | 14,696 | TypeError: get_model() got an unexpected keyword argument 'ocr_languages' | {
"login": "plaban1981",
"id": 23618329,
"node_id": "MDQ6VXNlcjIzNjE4MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/23618329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plaban1981",
"html_url": "https://github.com/plaban1981",
"followers_url": "https://api.github.com/users/plaban1981/followers",
"following_url": "https://api.github.com/users/plaban1981/following{/other_user}",
"gists_url": "https://api.github.com/users/plaban1981/gists{/gist_id}",
"starred_url": "https://api.github.com/users/plaban1981/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plaban1981/subscriptions",
"organizations_url": "https://api.github.com/users/plaban1981/orgs",
"repos_url": "https://api.github.com/users/plaban1981/repos",
"events_url": "https://api.github.com/users/plaban1981/events{/privacy}",
"received_events_url": "https://api.github.com/users/plaban1981/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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 | 10 | 2023-12-14T06:18:44 | 2023-12-21T20:04:45 | null | NONE | null | ### System Info
**Environment Details**
**Langchain version 0.0.336
Python 3.9.2rc1**
**Error encountered while executing the sample code mentioned in the "Semi_structured_multi_modal_RAG_LLaMA2.ipynb" notebook from the cookbook.**
File [c:\Users\PLNAYAK\Documents\Local_LLM_Inference\llms\lib\site-packages\unstructured\file_utils\filetype.py:551](file:///C:/Users/PLNAYAK/Documents/Local_LLM_Inference/llms/lib/site-packages/unstructured/file_utils/filetype.py:551), in add_metadata_with_filetype.<locals>.decorator.<locals>.wrapper(*args, **kwargs)
[549](file:///C:/Users/PLNAYAK/Documents/Local_LLM_Inference/llms/lib/site-packages/unstructured/file_utils/filetype.py:549) @functools.wraps(func)
...
--> [482](file:///C:/Users/PLNAYAK/Documents/Local_LLM_Inference/llms/lib/site-packages/unstructured_inference/inference/layout.py:482) model = get_model(model_name, **kwargs)
[483](file:///C:/Users/PLNAYAK/Documents/Local_LLM_Inference/llms/lib/site-packages/unstructured_inference/inference/layout.py:483) if isinstance(model, UnstructuredObjectDetectionModel):
[484](file:///C:/Users/PLNAYAK/Documents/Local_LLM_Inference/llms/lib/site-packages/unstructured_inference/inference/layout.py:484) detection_model = model
**TypeError: get_model() got an unexpected keyword argument 'ocr_languages'**
I would appreciate any assistance in resolving this issue. Thank you.
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from typing import Any
from pydantic import BaseModel
from unstructured.partition.pdf import partition_pdf
# Get elements
raw_pdf_elements = partition_pdf(
filename=path + "Employee-Stock-Option-Plans-ESOP-Best-Practices-2.pdf",# Unstructured first finds embedded image blocks
infer_table_structure=True,
# Post processing to aggregate text once we have the title
max_characters=4000,
new_after_n_chars=3800,
combine_text_under_n_chars=2000,
image_output_dir_path=path,
languages=['eng'],
)
### Expected behavior
The notebook should run without any issues and produce the expected output as documented in the cookbook | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14696/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/14696/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14695 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14695/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14695/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14695/events | https://github.com/langchain-ai/langchain/issues/14695 | 2,040,901,181 | I_kwDOIPDwls55pa49 | 14,695 | PYTHON ISSUE : Fallback does not catch exception in custom function using LCEL | {
"login": "Jonathanjordan21",
"id": 114459917,
"node_id": "U_kgDOBtKFDQ",
"avatar_url": "https://avatars.githubusercontent.com/u/114459917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jonathanjordan21",
"html_url": "https://github.com/Jonathanjordan21",
"followers_url": "https://api.github.com/users/Jonathanjordan21/followers",
"following_url": "https://api.github.com/users/Jonathanjordan21/following{/other_user}",
"gists_url": "https://api.github.com/users/Jonathanjordan21/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jonathanjordan21/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jonathanjordan21/subscriptions",
"organizations_url": "https://api.github.com/users/Jonathanjordan21/orgs",
"repos_url": "https://api.github.com/users/Jonathanjordan21/repos",
"events_url": "https://api.github.com/users/Jonathanjordan21/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jonathanjordan21/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | open | false | null | [] | null | 1 | 2023-12-14T04:54:06 | 2023-12-14T05:01:21 | null | NONE | null | ### System Info
### **SYSTEM INFO**
LangChain version : 0.0.345
Python version : 3.9.6
### **ISSUE**
I create this custom function which will throw an error if the vectorestore cannot retrieve any relevant document
```
def check_threshold(inp, vecs):
query = inp['question']
threshold = inp['threshold']
d = [doc for doc,score in vecs.similarity_search_with_relevance_scores(query) if score >= threshold]
if len(d) < 1:
raise Exception("Not found!")
return "\n\n".join([x.page_content for x in d])
```
I want to use another chain if the main chain fails by using `with_fallbacks` function in the main chain
```
main_chain = ({
"context" : lambda x: check_threshold(x, vecs), "question" : lambda x: x['question']
} | prompt | llm | StrOutputParser()
).with_fallbacks([fallback_chain])
```
In the above code, the fallback_chain never gets triggered.
**PS : The above code is just an example, the original code uses more complicated calculations with many exceptions raise in several custom functions. Therefore, It is not feasible to use built-in Python try-except error handler**
### 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
- [X] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
```
def check_threshold(inp, vecs):
query = inp['question']
threshold = inp['threshold']
d = [doc for doc,score in vecs.similarity_search_with_relevance_scores(query) if score >= threshold]
if len(d) < 1:
raise Exception("Not found!")
return "\n\n".join([x.page_content for x in d])
main_chain = ({
"context" : lambda x: check_threshold(x, vecs), "question" : lambda x: x['question']
} | prompt | llm | StrOutputParser()
).with_fallbacks([fallback_chain])
main_chain.invoke({"question":"Hello, good morning"})
```
### Expected behavior
fallback_chain get triggered whenever the main_chain raise an exception | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14695/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/14695/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14694 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14694/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14694/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14694/events | https://github.com/langchain-ai/langchain/issues/14694 | 2,040,852,615 | I_kwDOIPDwls55pPCH | 14,694 | Issue: Use python namespace capabilities to manage standalone packages | {
"login": "chyroc",
"id": 15604894,
"node_id": "MDQ6VXNlcjE1NjA0ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/15604894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chyroc",
"html_url": "https://github.com/chyroc",
"followers_url": "https://api.github.com/users/chyroc/followers",
"following_url": "https://api.github.com/users/chyroc/following{/other_user}",
"gists_url": "https://api.github.com/users/chyroc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chyroc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chyroc/subscriptions",
"organizations_url": "https://api.github.com/users/chyroc/orgs",
"repos_url": "https://api.github.com/users/chyroc/repos",
"events_url": "https://api.github.com/users/chyroc/events{/privacy}",
"received_events_url": "https://api.github.com/users/chyroc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] | open | false | null | [] | null | 1 | 2023-12-14T03:49:26 | 2023-12-14T03:51:43 | null | CONTRIBUTOR | null | ### Issue you'd like to raise.
Recently, langchain released the google gemini independent package to connect the google gemini LLM capabilities.
This is also the first independent package released by langchain, which is a very big progress and change.
But I noticed that the name of this package is langchain-google-genai, which may not be very systematic.
Perhaps, we can use python's namespace feature to manage all langchain-related packages.
Documentation about namespace package:
- https://packaging.python.org/guides/packaging-namespace-packages/
- https://www.python.org/dev/peps/pep-0420/
### Suggestion:
Use the namespace capability to manage and publish all independent packages of langchain. The specific directory structure is as follows:
docs: https://packaging.python.org/en/latest/guides/packaging-namespace-packages/
```
pyproject.toml # AND/OR setup.py, setup.cfg
src/
langchain/ # namespace package
# No __init__.py here.
google-genai/
# Regular import packages have an __init__.py.
__init__.py
module.py
```
and then, you can use like:
```python
import langchain.google-genai
from langchain import google-genai
# ... code
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14694/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/14694/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14693 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14693/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14693/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14693/events | https://github.com/langchain-ai/langchain/pull/14693 | 2,040,843,353 | PR_kwDOIPDwls5h9QnW | 14,693 | Feat add volcano embedding | {
"login": "lujingxuansc",
"id": 31956487,
"node_id": "MDQ6VXNlcjMxOTU2NDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/31956487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lujingxuansc",
"html_url": "https://github.com/lujingxuansc",
"followers_url": "https://api.github.com/users/lujingxuansc/followers",
"following_url": "https://api.github.com/users/lujingxuansc/following{/other_user}",
"gists_url": "https://api.github.com/users/lujingxuansc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lujingxuansc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lujingxuansc/subscriptions",
"organizations_url": "https://api.github.com/users/lujingxuansc/orgs",
"repos_url": "https://api.github.com/users/lujingxuansc/repos",
"events_url": "https://api.github.com/users/lujingxuansc/events{/privacy}",
"received_events_url": "https://api.github.com/users/lujingxuansc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-14T03:36:38 | 2024-01-02T19:39:51 | 2024-01-01T22:37:36 | CONTRIBUTOR | null | Description: Volcano Ark is an enterprise-grade large-model service platform for developers, providing a full range of functions and services such as model training, inference, evaluation, fine-tuning. You can visit its homepage at https://www.volcengine.com/docs/82379/1099455 for details. This change could help developers use the platform for embedding.
Issue: None
Dependencies: volcengine
Tag maintainer: @baskaryan
Twitter handle: @hinnnnnnnnnnnns | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14693/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/14693/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14693",
"html_url": "https://github.com/langchain-ai/langchain/pull/14693",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14693.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14693.patch",
"merged_at": "2024-01-01T22:37:36"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14692 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14692/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14692/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14692/events | https://github.com/langchain-ai/langchain/pull/14692 | 2,040,819,199 | PR_kwDOIPDwls5h9LqJ | 14,692 | infra: use latest ruff and mypy in core | {
"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"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-12-14T03:03:56 | 2023-12-19T17:11:43 | null | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14692/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/14692/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14692",
"html_url": "https://github.com/langchain-ai/langchain/pull/14692",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14692.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14692.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14691 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14691/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14691/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14691/events | https://github.com/langchain-ai/langchain/pull/14691 | 2,040,796,780 | PR_kwDOIPDwls5h9GwY | 14,691 | cli[patch]: integration template nits | {
"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"
},
{
"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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-12-14T02:43:55 | 2023-12-19T17:11:40 | null | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14691/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/14691/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14691",
"html_url": "https://github.com/langchain-ai/langchain/pull/14691",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14691.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14691.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14690 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14690/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14690/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14690/events | https://github.com/langchain-ai/langchain/pull/14690 | 2,040,662,140 | PR_kwDOIPDwls5h8q4w | 14,690 | [Partner] Gemini Embeddings | {
"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": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 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": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-14T00:20:00 | 2023-12-14T01:05:33 | 2023-12-14T01:05:32 | COLLABORATOR | null | - [X] Implement embeddings class
- [X] Update README
- [X] Update docs
- [X] Bump version | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14690/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/14690/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14690",
"html_url": "https://github.com/langchain-ai/langchain/pull/14690",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14690.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14690.patch",
"merged_at": "2023-12-14T01:05:32"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14689 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14689/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14689/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14689/events | https://github.com/langchain-ai/langchain/pull/14689 | 2,040,630,354 | PR_kwDOIPDwls5h8j7V | 14,689 | python-lint | {
"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": 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": 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": 6154420538,
"node_id": "LA_kwDOIPDwls8AAAABbtUBOg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/template",
"name": "template",
"color": "145FB1",
"default": false,
"description": ""
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-12-13T23:38:54 | 2024-01-02T19:37:45 | 2024-01-02T00:25:04 | CONTRIBUTOR | null | # Description: _python-lint_
This agent writes Python code that is formatted and linted using `black`, `ruff`, and `mypy`, but does not execute the code. It writes the code to a temporary file and then runs the linters. Once these checks pass, the code is returned.
# Dependencies
- black
- ruff
- mypy
# Demo
The functionality can be seen here: https://huggingface.co/spaces/joshuasundance/langchain-streamlit-demo
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14689/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/14689/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14689",
"html_url": "https://github.com/langchain-ai/langchain/pull/14689",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14689.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14689.patch",
"merged_at": "2024-01-02T00:25:04"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14688 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14688/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14688/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14688/events | https://github.com/langchain-ai/langchain/pull/14688 | 2,040,624,610 | PR_kwDOIPDwls5h8iqR | 14,688 | infra: add integration test workflow | {
"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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-13T23:32:25 | 2023-12-14T20:46:46 | 2023-12-14T20:46:45 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14688/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/14688/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14688",
"html_url": "https://github.com/langchain-ai/langchain/pull/14688",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14688.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14688.patch",
"merged_at": "2023-12-14T20:46:45"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14687 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14687/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14687/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14687/events | https://github.com/langchain-ai/langchain/pull/14687 | 2,040,606,879 | PR_kwDOIPDwls5h8exe | 14,687 | infra: Pre-release integration tests for partner pkgs | {
"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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T23:11:55 | 2023-12-14T21:11:20 | 2023-12-14T21:11:19 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14687/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/14687/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14687",
"html_url": "https://github.com/langchain-ai/langchain/pull/14687",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14687.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14687.patch",
"merged_at": "2023-12-14T21:11:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14686 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14686/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14686/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14686/events | https://github.com/langchain-ai/langchain/pull/14686 | 2,040,594,329 | PR_kwDOIPDwls5h8cB1 | 14,686 | docs: api ref nav Python Docs -> Docs | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T22:57:18 | 2023-12-13T23:11:11 | 2023-12-13T23:11:10 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14686/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/14686/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14686",
"html_url": "https://github.com/langchain-ai/langchain/pull/14686",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14686.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14686.patch",
"merged_at": "2023-12-13T23:11:10"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14685 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14685/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14685/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14685/events | https://github.com/langchain-ai/langchain/pull/14685 | 2,040,588,935 | PR_kwDOIPDwls5h8a14 | 14,685 | infra: individual template CI | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | open | false | null | [] | null | 1 | 2023-12-13T22:51:22 | 2023-12-20T22:10:22 | null | COLLABORATOR | null | don't merge yet - requires changes to every template. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14685/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/14685/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14685",
"html_url": "https://github.com/langchain-ai/langchain/pull/14685",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14685.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14685.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14684 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14684/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14684/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14684/events | https://github.com/langchain-ai/langchain/pull/14684 | 2,040,552,595 | PR_kwDOIPDwls5h8Swn | 14,684 | docs[patch]: fix bullet points | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T22:17:07 | 2023-12-13T22:35:20 | 2023-12-13T22:35:19 | COLLABORATOR | null | - docs fixes
- escape
- bullets
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14684/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/14684/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14684",
"html_url": "https://github.com/langchain-ai/langchain/pull/14684",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14684.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14684.patch",
"merged_at": "2023-12-13T22:35:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14683 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14683/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14683/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14683/events | https://github.com/langchain-ai/langchain/pull/14683 | 2,040,527,489 | PR_kwDOIPDwls5h8NN6 | 14,683 | docs: per-package version in api docs | {
"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": 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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T21:54:41 | 2023-12-13T22:24:52 | 2023-12-13T22:24:51 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14683/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/14683/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14683",
"html_url": "https://github.com/langchain-ai/langchain/pull/14683",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14683.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14683.patch",
"merged_at": "2023-12-13T22:24:51"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14681 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14681/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14681/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14681/events | https://github.com/langchain-ai/langchain/pull/14681 | 2,040,519,701 | PR_kwDOIPDwls5h8LgL | 14,681 | Improve XML agent | {
"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
} | [] | open | false | null | [] | null | 1 | 2023-12-13T21:47:41 | 2023-12-13T21:53:25 | null | COLLABORATOR | null | Improve behavior of XML agent
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14681/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/14681/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14681",
"html_url": "https://github.com/langchain-ai/langchain/pull/14681",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14681.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14681.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14680 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14680/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14680/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14680/events | https://github.com/langchain-ai/langchain/pull/14680 | 2,040,517,828 | PR_kwDOIPDwls5h8LE0 | 14,680 | remove unused imports | {
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-13T21:46:18 | 2024-01-10T09:33:03 | 2023-12-15T22:12:02 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14680/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/14680/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14680",
"html_url": "https://github.com/langchain-ai/langchain/pull/14680",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14680.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14680.patch",
"merged_at": "2023-12-15T22:12:02"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14679 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14679/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14679/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14679/events | https://github.com/langchain-ai/langchain/pull/14679 | 2,040,509,645 | PR_kwDOIPDwls5h8JPE | 14,679 | docs: fix api ref link | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T21:40:53 | 2023-12-13T21:42:02 | 2023-12-13T21:42:01 | COLLABORATOR | null | Don't point to stable, let api docs choose default version | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14679/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/14679/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14679",
"html_url": "https://github.com/langchain-ai/langchain/pull/14679",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14679.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14679.patch",
"merged_at": "2023-12-13T21:42:01"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14678 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14678/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14678/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14678/events | https://github.com/langchain-ai/langchain/pull/14678 | 2,040,459,266 | PR_kwDOIPDwls5h7-LE | 14,678 | Gemini multi-modal RAG template | {
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T20:58:58 | 2023-12-14T00:43:49 | 2023-12-14T00:43:48 | COLLABORATOR | null | ![Screenshot 2023-12-13 at 12 53 39 PM](https://github.com/langchain-ai/langchain/assets/122662504/a6bc3b0b-f177-4367-b9c8-b8862c847026)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14678/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/14678/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14678",
"html_url": "https://github.com/langchain-ai/langchain/pull/14678",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14678.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14678.patch",
"merged_at": "2023-12-14T00:43:48"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14677 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14677/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14677/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14677/events | https://github.com/langchain-ai/langchain/pull/14677 | 2,040,443,815 | PR_kwDOIPDwls5h76wN | 14,677 | google-genai[patch]: Release 0.0.2 | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T20:46:45 | 2023-12-13T20:59:20 | 2023-12-13T20:59:19 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14677/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/14677/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14677",
"html_url": "https://github.com/langchain-ai/langchain/pull/14677",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14677.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14677.patch",
"merged_at": "2023-12-13T20:59:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14676 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14676/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14676/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14676/events | https://github.com/langchain-ai/langchain/pull/14676 | 2,040,436,022 | PR_kwDOIPDwls5h75C0 | 14,676 | Wfh/google docs update | {
"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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T20:40:32 | 2023-12-13T21:26:54 | 2023-12-13T21:26:53 | COLLABORATOR | null | - Add gemini references
- Fix the notebook (ultra isn't generally available; also gemini will randomly filter out responses, so added a fallback) | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14676/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/14676/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14676",
"html_url": "https://github.com/langchain-ai/langchain/pull/14676",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14676.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14676.patch",
"merged_at": "2023-12-13T21:26:53"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14675 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14675/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14675/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14675/events | https://github.com/langchain-ai/langchain/pull/14675 | 2,040,414,770 | PR_kwDOIPDwls5h70YK | 14,675 | docs: build partner api refs | {
"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": 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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T20:24:10 | 2023-12-13T21:40:24 | 2023-12-13T21:37:28 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14675/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/14675/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14675",
"html_url": "https://github.com/langchain-ai/langchain/pull/14675",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14675.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14675.patch",
"merged_at": "2023-12-13T21:37:28"
} |