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/14563 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14563/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14563/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14563/events | https://github.com/langchain-ai/langchain/pull/14563 | 2,036,653,960 | PR_kwDOIPDwls5hvCNk | 14,563 | infra: Turn release branch check back on | {
"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-11T22:39:00 | 2023-12-11T22:40:25 | 2023-12-11T22:40:24 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14563/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14563",
"html_url": "https://github.com/langchain-ai/langchain/pull/14563",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14563.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14563.patch",
"merged_at": "2023-12-11T22:40:24"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14562 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14562/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14562/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14562/events | https://github.com/langchain-ai/langchain/pull/14562 | 2,036,627,951 | PR_kwDOIPDwls5hu8aN | 14,562 | infra: import CI fix | {
"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": 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": 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-11T22:18:50 | 2023-12-11T22:59:11 | 2023-12-11T22:59:10 | COLLABORATOR | null | TIL `**` globstar doesn't work in make
Makefile changes fix that.
`__getattr__` changes allow import of all files, but raise error when accessing anything from the module.
file deletions were corresponding libs change from #14559 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14562/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14562",
"html_url": "https://github.com/langchain-ai/langchain/pull/14562",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14562.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14562.patch",
"merged_at": "2023-12-11T22:59:10"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14561 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14561/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14561/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14561/events | https://github.com/langchain-ai/langchain/pull/14561 | 2,036,624,244 | PR_kwDOIPDwls5hu7l- | 14,561 | docs `ollama` pages | {
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 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 | 1 | 2023-12-11T22:15:32 | 2023-12-13T00:37:31 | 2023-12-12T23:45:06 | COLLABORATOR | null | added provider page; fixed broken links. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14561/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14561",
"html_url": "https://github.com/langchain-ai/langchain/pull/14561",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14561.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14561.patch",
"merged_at": "2023-12-12T23:45:06"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14560 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14560/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14560/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14560/events | https://github.com/langchain-ai/langchain/pull/14560 | 2,036,620,004 | PR_kwDOIPDwls5hu6pd | 14,560 | feat: adding paygo api support for Azure ML / Azure AI Studio | {
"login": "santiagxf",
"id": 32112894,
"node_id": "MDQ6VXNlcjMyMTEyODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/32112894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/santiagxf",
"html_url": "https://github.com/santiagxf",
"followers_url": "https://api.github.com/users/santiagxf/followers",
"following_url": "https://api.github.com/users/santiagxf/following{/other_user}",
"gists_url": "https://api.github.com/users/santiagxf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/santiagxf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/santiagxf/subscriptions",
"organizations_url": "https://api.github.com/users/santiagxf/orgs",
"repos_url": "https://api.github.com/users/santiagxf/repos",
"events_url": "https://api.github.com/users/santiagxf/events{/privacy}",
"received_events_url": "https://api.github.com/users/santiagxf/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."
}
] | open | false | null | [] | null | 6 | 2023-12-11T22:11:54 | 2024-01-16T19:53:12 | null | NONE | null | - **Description:** Introducing support for LLMs and Chat models running in Azure AI studio and Azure ML using the new deployment mode pay-as-you-go (model as a service).
- **Issue:** NA
- **Dependencies:** None.
- **Tag maintainer:** @prakharg-msft @gdyre
- **Twitter handle:** @santiagofacundo
Examples added:
* [docs/docs/integrations/llms/azure_ml.ipynb](https://github.com/santiagxf/langchain/blob/santiagxf/azureml-endpoints-paygo-community/docs/docs/integrations/chat/azureml_endpoint.ipynb)
* [docs/docs/integrations/chat/azureml_chat_endpoint.ipynb](https://github.com/santiagxf/langchain/blob/santiagxf/azureml-endpoints-paygo-community/docs/docs/integrations/chat/azureml_chat_endpoint.ipynb)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14560/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14560",
"html_url": "https://github.com/langchain-ai/langchain/pull/14560",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14560.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14560.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14559 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14559/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14559/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14559/events | https://github.com/langchain-ai/langchain/pull/14559 | 2,036,617,680 | PR_kwDOIPDwls5hu6IV | 14,559 | community[patch]: Fix agenttoolkits imports | {
"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": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"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-11T22:10:05 | 2023-12-11T22:19:27 | 2023-12-11T22:19:26 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14559/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14559",
"html_url": "https://github.com/langchain-ai/langchain/pull/14559",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14559.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14559.patch",
"merged_at": "2023-12-11T22:19:26"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14558 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14558/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14558/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14558/events | https://github.com/langchain-ai/langchain/pull/14558 | 2,036,597,281 | PR_kwDOIPDwls5hu1i2 | 14,558 | core[patch]: Release 0.0.13 | {
"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-11T21:55:16 | 2023-12-11T22:36:29 | 2023-12-11T22:36:29 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14558/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14558",
"html_url": "https://github.com/langchain-ai/langchain/pull/14558",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14558.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14558.patch",
"merged_at": "2023-12-11T22:36:29"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14557 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14557/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14557/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14557/events | https://github.com/langchain-ai/langchain/pull/14557 | 2,036,562,398 | PR_kwDOIPDwls5huttp | 14,557 | added new generative models on VertexAI | {
"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": 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-11T21:31:26 | 2023-12-13T18:30:20 | 2023-12-13T18:30:20 | CONTRIBUTOR | null | - **Description:** added new models on VertexAI
- **Twitter handle:** @lkuligin
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14557/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14557",
"html_url": "https://github.com/langchain-ai/langchain/pull/14557",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14557.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14557.patch",
"merged_at": "2023-12-13T18:30:20"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14556 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14556/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14556/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14556/events | https://github.com/langchain-ai/langchain/pull/14556 | 2,036,512,951 | PR_kwDOIPDwls5hui0S | 14,556 | [Template] OAI Functions Agent Gmail Example | {
"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
} | [] | closed | false | null | [] | null | 2 | 2023-12-11T20:56:41 | 2023-12-11T23:15:15 | 2023-12-11T23:15:15 | COLLABORATOR | null | Imports from community and core rather than langchain wherever needed. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14556/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14556",
"html_url": "https://github.com/langchain-ai/langchain/pull/14556",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14556.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14556.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14555 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14555/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14555/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14555/events | https://github.com/langchain-ai/langchain/pull/14555 | 2,036,493,837 | PR_kwDOIPDwls5huelF | 14,555 | Helpefull Message for GitHubAPIWrapper | {
"login": "keenborder786",
"id": 45242107,
"node_id": "MDQ6VXNlcjQ1MjQyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenborder786",
"html_url": "https://github.com/keenborder786",
"followers_url": "https://api.github.com/users/keenborder786/followers",
"following_url": "https://api.github.com/users/keenborder786/following{/other_user}",
"gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions",
"organizations_url": "https://api.github.com/users/keenborder786/orgs",
"repos_url": "https://api.github.com/users/keenborder786/repos",
"events_url": "https://api.github.com/users/keenborder786/events{/privacy}",
"received_events_url": "https://api.github.com/users/keenborder786/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 | 3 | 2023-12-11T20:43:26 | 2023-12-16T20:28:28 | 2023-12-16T20:28:27 | CONTRIBUTOR | null | Very simple change in relation to the issue #14550
@baskaryan, @eyurtsev, @hwchase17.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14555/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14555",
"html_url": "https://github.com/langchain-ai/langchain/pull/14555",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14555.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14555.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14554 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14554/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14554/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14554/events | https://github.com/langchain-ai/langchain/pull/14554 | 2,036,493,492 | PR_kwDOIPDwls5huegU | 14,554 | Simplify Huggingface Object Parsing | {
"login": "Amyh102",
"id": 15304273,
"node_id": "MDQ6VXNlcjE1MzA0Mjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/15304273?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Amyh102",
"html_url": "https://github.com/Amyh102",
"followers_url": "https://api.github.com/users/Amyh102/followers",
"following_url": "https://api.github.com/users/Amyh102/following{/other_user}",
"gists_url": "https://api.github.com/users/Amyh102/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Amyh102/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Amyh102/subscriptions",
"organizations_url": "https://api.github.com/users/Amyh102/orgs",
"repos_url": "https://api.github.com/users/Amyh102/repos",
"events_url": "https://api.github.com/users/Amyh102/events{/privacy}",
"received_events_url": "https://api.github.com/users/Amyh102/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": 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-11T20:43:10 | 2023-12-12T23:54:46 | 2023-12-12T23:54:46 | CONTRIBUTOR | null | **Description:** Simplifies [previous PR](https://github.com/langchain-ai/langchain/pull/13864) by removing a helper function | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14554/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14554",
"html_url": "https://github.com/langchain-ai/langchain/pull/14554",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14554.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14554.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14553 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14553/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14553/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14553/events | https://github.com/langchain-ai/langchain/issues/14553 | 2,036,427,335 | I_kwDOIPDwls55YWpH | 14,553 | Issue: Problem when using model llama2 13b chat to create SQL queries in 2 or more tables, it mixes the columns of the tables | {
"login": "jamil-z",
"id": 122389356,
"node_id": "U_kgDOB0uDbA",
"avatar_url": "https://avatars.githubusercontent.com/u/122389356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamil-z",
"html_url": "https://github.com/jamil-z",
"followers_url": "https://api.github.com/users/jamil-z/followers",
"following_url": "https://api.github.com/users/jamil-z/following{/other_user}",
"gists_url": "https://api.github.com/users/jamil-z/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamil-z/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamil-z/subscriptions",
"organizations_url": "https://api.github.com/users/jamil-z/orgs",
"repos_url": "https://api.github.com/users/jamil-z/repos",
"events_url": "https://api.github.com/users/jamil-z/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamil-z/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-11T19:58:47 | 2023-12-11T20:08:24 | null | NONE | null | ### Issue you'd like to raise.
Hi,
I have this issue when working with more than 1 table using the Llama2 model. Let's say table 1 has values A, B, C, and table 2 has values X, Y, Z. When I run the query, it often gives me an error that it creates the query but assumes that table 1 has values X, Y, Z, and it mixes them up. Any suggestions on how to avoid this? I'm trying to solve it with prompts, but the model seems to ignore instructions in these cases.
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14553/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14552 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14552/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14552/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14552/events | https://github.com/langchain-ai/langchain/pull/14552 | 2,036,403,640 | PR_kwDOIPDwls5huKvn | 14,552 | Minor update to ensemble retriever to handle a mix of Documents or str | {
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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": 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-11T19:42:22 | 2023-12-12T23:16:51 | 2023-12-12T23:16:50 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14552/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14552",
"html_url": "https://github.com/langchain-ai/langchain/pull/14552",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14552.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14552.patch",
"merged_at": "2023-12-12T23:16:50"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14551 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14551/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14551/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14551/events | https://github.com/langchain-ai/langchain/pull/14551 | 2,036,346,353 | PR_kwDOIPDwls5ht-UI | 14,551 | docs[patch]: fix star bullets | {
"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 | 2 | 2023-12-11T19:05:01 | 2023-12-11T19:18:37 | 2023-12-11T19:18:37 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14551/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14551",
"html_url": "https://github.com/langchain-ai/langchain/pull/14551",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14551.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14551.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14550 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14550/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14550/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14550/events | https://github.com/langchain-ai/langchain/issues/14550 | 2,036,284,698 | I_kwDOIPDwls55Xz0a | 14,550 | GithubAPIWrapper throws list index out of range error | {
"login": "usamasaleem1",
"id": 50121574,
"node_id": "MDQ6VXNlcjUwMTIxNTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/50121574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/usamasaleem1",
"html_url": "https://github.com/usamasaleem1",
"followers_url": "https://api.github.com/users/usamasaleem1/followers",
"following_url": "https://api.github.com/users/usamasaleem1/following{/other_user}",
"gists_url": "https://api.github.com/users/usamasaleem1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/usamasaleem1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/usamasaleem1/subscriptions",
"organizations_url": "https://api.github.com/users/usamasaleem1/orgs",
"repos_url": "https://api.github.com/users/usamasaleem1/repos",
"events_url": "https://api.github.com/users/usamasaleem1/events{/privacy}",
"received_events_url": "https://api.github.com/users/usamasaleem1/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | closed | false | null | [] | null | 8 | 2023-12-11T18:30:31 | 2023-12-22T09:32:06 | 2023-12-16T22:31:01 | NONE | null | ### System Info
Name: langchain
Version: 0.0.348
Name: PyGithub
Version: 2.1.1
### Who can help?
@hwchase17
@agola11
```
Traceback (most recent call last):
File "/Users/mac/Dev Projects/Chainlit_qa/test.py", line 12, in <module>
github = GitHubAPIWrapper(
^^^^^^^^^^^^^^^^^
File "/Users/mac/Dev Projects/Chainlit_qa/myenv/lib/python3.11/site-packages/pydantic/v1/main.py", line 339, in __init__
values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Dev Projects/Chainlit_qa/myenv/lib/python3.11/site-packages/pydantic/v1/main.py", line 1102, in validate_model
values = validator(cls_, values)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Dev Projects/Chainlit_qa/myenv/lib/python3.11/site-packages/langchain/utilities/github.py", line 69, in validate_environment
installation = gi.get_installations()[0]
~~~~~~~~~~~~~~~~~~~~~~^^^
File "/Users/mac/Dev Projects/Chainlit_qa/myenv/lib/python3.11/site-packages/github/PaginatedList.py", line 62, in __getitem__
return self.__elements[index]
~~~~~~~~~~~~~~~^^^^^^^
IndexError: list index out of range
```
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Run basic python file:
```
from langchain.agents.agent_toolkits.github.toolkit import GitHubToolkit
from langchain.utilities.github import GitHubAPIWrapper
github = GitHubAPIWrapper()
toolkit = GitHubToolkit.from_github_api_wrapper(github)
tools = toolkit.get_tools()
```
### Expected behavior
Fetching github repository information | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14550/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14549 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14549/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14549/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14549/events | https://github.com/langchain-ai/langchain/pull/14549 | 2,036,257,780 | PR_kwDOIPDwls5htqxc | 14,549 | `ChatVertexAI` preserving original response | {
"login": "jamesbraza",
"id": 8990777,
"node_id": "MDQ6VXNlcjg5OTA3Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8990777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesbraza",
"html_url": "https://github.com/jamesbraza",
"followers_url": "https://api.github.com/users/jamesbraza/followers",
"following_url": "https://api.github.com/users/jamesbraza/following{/other_user}",
"gists_url": "https://api.github.com/users/jamesbraza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamesbraza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamesbraza/subscriptions",
"organizations_url": "https://api.github.com/users/jamesbraza/orgs",
"repos_url": "https://api.github.com/users/jamesbraza/repos",
"events_url": "https://api.github.com/users/jamesbraza/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamesbraza/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 | 3 | 2023-12-11T18:14:42 | 2023-12-13T01:18:11 | 2023-12-12T23:55:45 | CONTRIBUTOR | null | Closes https://github.com/langchain-ai/langchain/issues/14548 by enabling something like this:
```python
model: ChatVertexAI
chat_generation = model.generate([prompt.format_messages()]).generations[0][0]
grounding_metadata = chat_generation.generation_info["grounding_metadata"]
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14549/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14549",
"html_url": "https://github.com/langchain-ai/langchain/pull/14549",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14549.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14549.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14548 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14548/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14548/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14548/events | https://github.com/langchain-ai/langchain/issues/14548 | 2,036,244,262 | I_kwDOIPDwls55Xp8m | 14,548 | Request: `ChatVertexAI` preserving `grounding_metadata` | {
"login": "jamesbraza",
"id": 8990777,
"node_id": "MDQ6VXNlcjg5OTA3Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8990777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesbraza",
"html_url": "https://github.com/jamesbraza",
"followers_url": "https://api.github.com/users/jamesbraza/followers",
"following_url": "https://api.github.com/users/jamesbraza/following{/other_user}",
"gists_url": "https://api.github.com/users/jamesbraza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamesbraza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamesbraza/subscriptions",
"organizations_url": "https://api.github.com/users/jamesbraza/orgs",
"repos_url": "https://api.github.com/users/jamesbraza/repos",
"events_url": "https://api.github.com/users/jamesbraza/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamesbraza/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-11T18:06:33 | 2023-12-11T18:08:46 | null | CONTRIBUTOR | null | ### Feature request
As of `langchain==0.0.348` in [`ChatVertexAI` here](https://github.com/langchain-ai/langchain/blob/v0.0.348/libs/langchain/langchain/chat_models/vertexai.py#L187-L191):
1. `vertexai.language_models.ChatSession.send_message` returns a `vertexai.language_models.MultiCandidateTextGenerationResponse` response
2. `ChatVertexAI` throws out the response's `grounding_metadata`, only preserving the `text`
The request is to not discard this useful metadata
### Motivation
I am trying to use the `response.grounding_metadata.citations` in my own code
### Your contribution
I will open a PR to make this:
```python
generations = [
ChatGeneration(
message=AIMessage(content=r.text),
generation_info=r.raw_prediction_response,
)
for r in response.candidates
]
```
So the raw response remains accessible | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14548/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14547 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14547/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14547/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14547/events | https://github.com/langchain-ai/langchain/pull/14547 | 2,036,185,645 | PR_kwDOIPDwls5htawf | 14,547 | Harrison/bug fix | {
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 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": 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-11T17:37:09 | 2023-12-11T18:13:17 | 2023-12-11T18:13:16 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14547/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14547",
"html_url": "https://github.com/langchain-ai/langchain/pull/14547",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14547.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14547.patch",
"merged_at": "2023-12-11T18:13:16"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14546 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14546/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14546/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14546/events | https://github.com/langchain-ai/langchain/pull/14546 | 2,036,106,998 | PR_kwDOIPDwls5htJQj | 14,546 | Gemini Chat | {
"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
} | [] | closed | false | null | [] | null | 1 | 2023-12-11T16:55:08 | 2023-12-13T01:04:01 | 2023-12-13T01:04:01 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14546/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14546",
"html_url": "https://github.com/langchain-ai/langchain/pull/14546",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14546.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14546.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14545 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14545/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14545/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14545/events | https://github.com/langchain-ai/langchain/issues/14545 | 2,036,050,915 | I_kwDOIPDwls55W6vj | 14,545 | Does HTML Doc Loader accept .htm sites? | {
"login": "jimmy2933",
"id": 98341958,
"node_id": "U_kgDOBdyURg",
"avatar_url": "https://avatars.githubusercontent.com/u/98341958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jimmy2933",
"html_url": "https://github.com/jimmy2933",
"followers_url": "https://api.github.com/users/jimmy2933/followers",
"following_url": "https://api.github.com/users/jimmy2933/following{/other_user}",
"gists_url": "https://api.github.com/users/jimmy2933/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jimmy2933/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jimmy2933/subscriptions",
"organizations_url": "https://api.github.com/users/jimmy2933/orgs",
"repos_url": "https://api.github.com/users/jimmy2933/repos",
"events_url": "https://api.github.com/users/jimmy2933/events{/privacy}",
"received_events_url": "https://api.github.com/users/jimmy2933/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-11T16:25:09 | 2024-01-03T08:12:24 | null | NONE | null | ### System Info
Langchain 0.0.331, macOS Monterey, Python 3.10.9
### 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
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.document_loaders import UnstructuredHTMLLoader
loader = UnstructuredHTMLLoader("https://www.sec.gov/ix?doc=/Archives/edgar/data/40987/000004098720000010/gpc-12312019x10k.htm")
documents = loader.load()
FileNotFoundError: [Errno 2] No such file or directory: 'https://www.sec.gov/ix?doc=/Archives/edgar/data/40987/000004098720000010/gpc-12312019x10k.htm
### Expected behavior
Success loading .htm file | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14545/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14544 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14544/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14544/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14544/events | https://github.com/langchain-ai/langchain/pull/14544 | 2,035,979,277 | PR_kwDOIPDwls5hstCM | 14,544 | deprecating tql_query parameter in deeplake vectorstore | {
"login": "AdkSarsen",
"id": 151118576,
"node_id": "U_kgDOCQHi8A",
"avatar_url": "https://avatars.githubusercontent.com/u/151118576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdkSarsen",
"html_url": "https://github.com/AdkSarsen",
"followers_url": "https://api.github.com/users/AdkSarsen/followers",
"following_url": "https://api.github.com/users/AdkSarsen/following{/other_user}",
"gists_url": "https://api.github.com/users/AdkSarsen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AdkSarsen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AdkSarsen/subscriptions",
"organizations_url": "https://api.github.com/users/AdkSarsen/orgs",
"repos_url": "https://api.github.com/users/AdkSarsen/repos",
"events_url": "https://api.github.com/users/AdkSarsen/events{/privacy}",
"received_events_url": "https://api.github.com/users/AdkSarsen/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": 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-11T15:49:56 | 2023-12-13T00:02:46 | 2023-12-13T00:02:46 | NONE | null | Description:
Deprecating tql_query parameter and fixing deeplake tests
Issue:
previously we used to use `tql_query` as a parameter to specify tql query during the search. But later we decided to change that to `tql`. In the PR we are adding deprecation warning as well as, fixing some failing tests and adding the check during search to check for unsupported parameters.
<!-- 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/14544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14544/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14544",
"html_url": "https://github.com/langchain-ai/langchain/pull/14544",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14544.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14544.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14543 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14543/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14543/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14543/events | https://github.com/langchain-ai/langchain/pull/14543 | 2,035,972,042 | PR_kwDOIPDwls5hsra- | 14,543 | Fix duplication of query embedding for OpenSearch MMR | {
"login": "justinas-kazanavicius",
"id": 5543530,
"node_id": "MDQ6VXNlcjU1NDM1MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5543530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/justinas-kazanavicius",
"html_url": "https://github.com/justinas-kazanavicius",
"followers_url": "https://api.github.com/users/justinas-kazanavicius/followers",
"following_url": "https://api.github.com/users/justinas-kazanavicius/following{/other_user}",
"gists_url": "https://api.github.com/users/justinas-kazanavicius/gists{/gist_id}",
"starred_url": "https://api.github.com/users/justinas-kazanavicius/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/justinas-kazanavicius/subscriptions",
"organizations_url": "https://api.github.com/users/justinas-kazanavicius/orgs",
"repos_url": "https://api.github.com/users/justinas-kazanavicius/repos",
"events_url": "https://api.github.com/users/justinas-kazanavicius/events{/privacy}",
"received_events_url": "https://api.github.com/users/justinas-kazanavicius/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": 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."
}
] | open | false | null | [] | null | 1 | 2023-12-11T15:47:05 | 2023-12-13T00:08:23 | null | NONE | null | - **Description:** Currently, any time query is being embedded, it is being embedded twice. This is unecessary and expensive. This PR addresses this by embedding the query only do once and passing the existing embedding to _raw_similarity_search_with_score.
- **Issue:** Haven't created one,
- **Dependencies:** None | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14543/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14543",
"html_url": "https://github.com/langchain-ai/langchain/pull/14543",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14543.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14543.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14542 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14542/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14542/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14542/events | https://github.com/langchain-ai/langchain/pull/14542 | 2,035,899,099 | PR_kwDOIPDwls5hsbch | 14,542 | Adds progress bar to VertexAIEmbeddings | {
"login": "ugm2",
"id": 25923343,
"node_id": "MDQ6VXNlcjI1OTIzMzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/25923343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ugm2",
"html_url": "https://github.com/ugm2",
"followers_url": "https://api.github.com/users/ugm2/followers",
"following_url": "https://api.github.com/users/ugm2/following{/other_user}",
"gists_url": "https://api.github.com/users/ugm2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ugm2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ugm2/subscriptions",
"organizations_url": "https://api.github.com/users/ugm2/orgs",
"repos_url": "https://api.github.com/users/ugm2/repos",
"events_url": "https://api.github.com/users/ugm2/events{/privacy}",
"received_events_url": "https://api.github.com/users/ugm2/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."
}
] | open | false | null | [] | null | 4 | 2023-12-11T15:11:20 | 2024-01-02T19:12:05 | null | CONTRIBUTOR | null | - **Description:** Adds progress bar to VertexAIEmbeddings
- **Issue:** related issue https://github.com/langchain-ai/langchain/issues/13637
Signed-off-by: ugm2 <unaigaraymaestre@gmail.com> | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14542/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14542",
"html_url": "https://github.com/langchain-ai/langchain/pull/14542",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14542.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14542.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14541 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14541/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14541/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14541/events | https://github.com/langchain-ai/langchain/pull/14541 | 2,035,870,297 | PR_kwDOIPDwls5hsVNq | 14,541 | fix a bug in RedisNum filter againt value 0 | {
"login": "dandanwei",
"id": 7432339,
"node_id": "MDQ6VXNlcjc0MzIzMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7432339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dandanwei",
"html_url": "https://github.com/dandanwei",
"followers_url": "https://api.github.com/users/dandanwei/followers",
"following_url": "https://api.github.com/users/dandanwei/following{/other_user}",
"gists_url": "https://api.github.com/users/dandanwei/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dandanwei/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dandanwei/subscriptions",
"organizations_url": "https://api.github.com/users/dandanwei/orgs",
"repos_url": "https://api.github.com/users/dandanwei/repos",
"events_url": "https://api.github.com/users/dandanwei/events{/privacy}",
"received_events_url": "https://api.github.com/users/dandanwei/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": 5955630415,
"node_id": "LA_kwDOIPDwls8AAAABYvu1Tw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis",
"name": "integration: redis",
"color": "F9D0C4",
"default": false,
"description": "Any integration that uses Redis"
},
{
"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-11T14:57:50 | 2023-12-12T08:24:24 | 2023-12-12T08:15:44 | CONTRIBUTOR | null |
- **Description:** There is a bug in RedisNum filter that filter towards value 0 will be parsed as "*". This is a fix to it.
- **Issue:** N/A
- **Dependencies:** N/A
- **Tag maintainer:** N/A
- **Twitter handle:** N/A
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14541/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14541",
"html_url": "https://github.com/langchain-ai/langchain/pull/14541",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14541.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14541.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14540 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14540/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14540/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14540/events | https://github.com/langchain-ai/langchain/pull/14540 | 2,035,809,304 | PR_kwDOIPDwls5hsHvN | 14,540 | Remove lucene characters and fix RRF normalization for neo4j vector | {
"login": "tomasonjo",
"id": 19948365,
"node_id": "MDQ6VXNlcjE5OTQ4MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/19948365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomasonjo",
"html_url": "https://github.com/tomasonjo",
"followers_url": "https://api.github.com/users/tomasonjo/followers",
"following_url": "https://api.github.com/users/tomasonjo/following{/other_user}",
"gists_url": "https://api.github.com/users/tomasonjo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tomasonjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tomasonjo/subscriptions",
"organizations_url": "https://api.github.com/users/tomasonjo/orgs",
"repos_url": "https://api.github.com/users/tomasonjo/repos",
"events_url": "https://api.github.com/users/tomasonjo/events{/privacy}",
"received_events_url": "https://api.github.com/users/tomasonjo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 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 | 3 | 2023-12-11T14:29:09 | 2023-12-13T06:58:18 | 2023-12-13T06:58:18 | CONTRIBUTOR | null | Introduces two changes for neo4j vector store:
* Fixes Hybrid search normalization (before we didn't normalize vector similarity)
* Remove special lucene characters from full text index queries (fixes https://github.com/langchain-ai/langchain/issues/14232)
cc @jexp | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14540/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14540",
"html_url": "https://github.com/langchain-ai/langchain/pull/14540",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14540.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14540.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14538 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14538/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14538/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14538/events | https://github.com/langchain-ai/langchain/issues/14538 | 2,035,763,317 | I_kwDOIPDwls55V0h1 | 14,538 | impossible to connect to PowerBI Datasets even after providing all the information | {
"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 | 1 | 2023-12-11T14:07:35 | 2023-12-11T14:17:04 | 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. i am unable to connect to powerbi dataset.
from langchain.agents.agent_toolkits import PowerBIToolkit
from langchain.utilities.powerbi import PowerBIDataset
from azure.identity import ClientSecretCredential
from azure.core.credentials import TokenCredential
# Create an instance of the language model (llm)
toolkit = PowerBIToolkit(
powerbi=PowerBIDataset(
dataset_id="",
table_names=['WinShareTable'],
credential=ClientSecretCredential(
client_id=",
client_secret='',
tenant_id=""
)
),
llm=llm
)
Either getting field "credential" not yet prepared so type is still a ForwardRef, you might need to call PowerBIDataset.update_forward_refs() error or
Tokencredentials error
### Expected behavior
Should allow to connect to PowerBi datasets | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14538/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14536 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14536/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14536/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14536/events | https://github.com/langchain-ai/langchain/pull/14536 | 2,035,741,068 | PR_kwDOIPDwls5hr4sK | 14,536 | updated streaming chunk on_llm_new_token in vertexai | {
"login": "shrinitg",
"id": 64660979,
"node_id": "MDQ6VXNlcjY0NjYwOTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/64660979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shrinitg",
"html_url": "https://github.com/shrinitg",
"followers_url": "https://api.github.com/users/shrinitg/followers",
"following_url": "https://api.github.com/users/shrinitg/following{/other_user}",
"gists_url": "https://api.github.com/users/shrinitg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shrinitg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shrinitg/subscriptions",
"organizations_url": "https://api.github.com/users/shrinitg/orgs",
"repos_url": "https://api.github.com/users/shrinitg/repos",
"events_url": "https://api.github.com/users/shrinitg/events{/privacy}",
"received_events_url": "https://api.github.com/users/shrinitg/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": 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-11T13:57:08 | 2024-01-02T01:05:38 | 2024-01-02T01:05:37 | NONE | null | - **Description:** We have made changes to fix the issue in streaming chunks in vertexAI,
- **Issue:** Python app is getting crashed when trying to stream response in vertexAI,
- **Dependencies:** No dependency,
- Please help with the review @baskaryan @lkuligin @hwchase17 ,
- **Twitter handle:** https://twitter.com/shrinitg
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14536/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14536",
"html_url": "https://github.com/langchain-ai/langchain/pull/14536",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14536.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14536.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14535 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14535/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14535/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14535/events | https://github.com/langchain-ai/langchain/pull/14535 | 2,035,606,803 | PR_kwDOIPDwls5hra_a | 14,535 | remove optional from ids param | {
"login": "umair313",
"id": 12728453,
"node_id": "MDQ6VXNlcjEyNzI4NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/12728453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umair313",
"html_url": "https://github.com/umair313",
"followers_url": "https://api.github.com/users/umair313/followers",
"following_url": "https://api.github.com/users/umair313/following{/other_user}",
"gists_url": "https://api.github.com/users/umair313/gists{/gist_id}",
"starred_url": "https://api.github.com/users/umair313/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/umair313/subscriptions",
"organizations_url": "https://api.github.com/users/umair313/orgs",
"repos_url": "https://api.github.com/users/umair313/repos",
"events_url": "https://api.github.com/users/umair313/events{/privacy}",
"received_events_url": "https://api.github.com/users/umair313/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": 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-11T12:47:20 | 2023-12-13T00:47:43 | 2023-12-13T00:47:43 | CONTRIBUTOR | null | delete() requires ids to remove documents from the db.
Remove the optional type hinting for ids param.
fixed #14409
@efriis
@hwchase17
@baskaryan
Do you think we can add a separate function which remove's all documents without ids?
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14535/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14535",
"html_url": "https://github.com/langchain-ai/langchain/pull/14535",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14535.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14535.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14534 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14534/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14534/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14534/events | https://github.com/langchain-ai/langchain/issues/14534 | 2,035,602,125 | I_kwDOIPDwls55VNLN | 14,534 | Stable release 11.4.0 of azure.search.documents.models not compatible with latest langchain version -> class Vector gone | {
"login": "broesdecat",
"id": 550479,
"node_id": "MDQ6VXNlcjU1MDQ3OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/550479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/broesdecat",
"html_url": "https://github.com/broesdecat",
"followers_url": "https://api.github.com/users/broesdecat/followers",
"following_url": "https://api.github.com/users/broesdecat/following{/other_user}",
"gists_url": "https://api.github.com/users/broesdecat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/broesdecat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broesdecat/subscriptions",
"organizations_url": "https://api.github.com/users/broesdecat/orgs",
"repos_url": "https://api.github.com/users/broesdecat/repos",
"events_url": "https://api.github.com/users/broesdecat/events{/privacy}",
"received_events_url": "https://api.github.com/users/broesdecat/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-11T12:44:45 | 2023-12-11T12:51:31 | null | NONE | null | ### Discussed in https://github.com/langchain-ai/langchain/discussions/13245
<div type='discussions-op-text'>
<sup>Originally posted by **yallapragada** November 12, 2023</sup>
I am testing a simple RAG implementation with Azure Cognitive Search.
I am seeing a "cannot import name 'Vector' from azure.search.documents.models" error when I invoke my chain. Origin of my error is line 434 in lanchain/vectorstores/azuresearch.py (from azure.search.documents.models import Vector)
this is the relevant code snippet, I get the import error when I execute rag_chain.invoke(question)
from langchain.schema.runnable import RunnablePassthrough
from langchain.prompts import ChatPromptTemplate
from langchain.chat_models.azure_openai import AzureChatOpenAI
question = "my question.."
-- vector_store is initialized using AzureSearch(), not including that snippet here --
retriever = vector_store.as_retriever()
template = '''
Answer the question based on the following context:
{context}
Question: {question}
'''
prompt = ChatPromptTemplate.from_template(template=template)
llm = AzureChatOpenAI( deployment_name='MY_DEPLOYMENT_NAME', model_name='MY_MODEL', openai_api_base=MY_AZURE_OPENAI_ENDPOINT, openai_api_key=MY_AZURE_OPENAI_KEY, openai_api_version='2023-05-15', openai_api_type='azure' )
rag_chain = {'context' : retriever, 'question' : RunnablePassthrough} | prompt | llm
rag_chain.invoke(question)
--------------
my package versions
langchain==0.0.331
azure-search-documents==11.4.0b11
azure-core==1.29.5
openai==0.28.1</div> | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14534/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14533 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14533/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14533/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14533/events | https://github.com/langchain-ai/langchain/pull/14533 | 2,035,570,776 | PR_kwDOIPDwls5hrS-B | 14,533 | remove optional from ids param | {
"login": "umair313",
"id": 12728453,
"node_id": "MDQ6VXNlcjEyNzI4NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/12728453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umair313",
"html_url": "https://github.com/umair313",
"followers_url": "https://api.github.com/users/umair313/followers",
"following_url": "https://api.github.com/users/umair313/following{/other_user}",
"gists_url": "https://api.github.com/users/umair313/gists{/gist_id}",
"starred_url": "https://api.github.com/users/umair313/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/umair313/subscriptions",
"organizations_url": "https://api.github.com/users/umair313/orgs",
"repos_url": "https://api.github.com/users/umair313/repos",
"events_url": "https://api.github.com/users/umair313/events{/privacy}",
"received_events_url": "https://api.github.com/users/umair313/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": 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-11T12:28:11 | 2023-12-11T12:48:01 | 2023-12-11T12:28:54 | CONTRIBUTOR | null | wrong PR | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14533/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14533",
"html_url": "https://github.com/langchain-ai/langchain/pull/14533",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14533.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14533.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14532 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14532/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14532/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14532/events | https://github.com/langchain-ai/langchain/issues/14532 | 2,035,556,970 | I_kwDOIPDwls55VCJq | 14,532 | DOC: Please add stronger contrast or labeling between notebook input and output blocks | {
"login": "kaesluder",
"id": 113563866,
"node_id": "U_kgDOBsTY2g",
"avatar_url": "https://avatars.githubusercontent.com/u/113563866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaesluder",
"html_url": "https://github.com/kaesluder",
"followers_url": "https://api.github.com/users/kaesluder/followers",
"following_url": "https://api.github.com/users/kaesluder/following{/other_user}",
"gists_url": "https://api.github.com/users/kaesluder/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kaesluder/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaesluder/subscriptions",
"organizations_url": "https://api.github.com/users/kaesluder/orgs",
"repos_url": "https://api.github.com/users/kaesluder/repos",
"events_url": "https://api.github.com/users/kaesluder/events{/privacy}",
"received_events_url": "https://api.github.com/users/kaesluder/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"
}
] | open | false | null | [] | null | 2 | 2023-12-11T12:20:45 | 2023-12-25T06:31:10 | null | NONE | null | ### Issue with current documentation:
Page: https://python.langchain.com/docs/modules/memory/
In dark mode, there is very little contrast between inputs and outputs. Especially for pages imported from Jupyter notebooks, it can be really confusing figuring out which code blocks are safe to test in a `.py` function and which code blocks are intended for use in Jupyter.
Adding in explicit contrast or labeling between input and output blocks would be helpful.
![image](https://github.com/langchain-ai/langchain/assets/113563866/ba628424-fcc5-4496-8053-128254e068a7)
### Idea or request for content:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14532/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14531 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14531/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14531/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14531/events | https://github.com/langchain-ai/langchain/issues/14531 | 2,035,547,273 | I_kwDOIPDwls55U_yJ | 14,531 | Support Weaviate client v4 | {
"login": "SavvasMohito",
"id": 45666401,
"node_id": "MDQ6VXNlcjQ1NjY2NDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/45666401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SavvasMohito",
"html_url": "https://github.com/SavvasMohito",
"followers_url": "https://api.github.com/users/SavvasMohito/followers",
"following_url": "https://api.github.com/users/SavvasMohito/following{/other_user}",
"gists_url": "https://api.github.com/users/SavvasMohito/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SavvasMohito/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SavvasMohito/subscriptions",
"organizations_url": "https://api.github.com/users/SavvasMohito/orgs",
"repos_url": "https://api.github.com/users/SavvasMohito/repos",
"events_url": "https://api.github.com/users/SavvasMohito/events{/privacy}",
"received_events_url": "https://api.github.com/users/SavvasMohito/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"
}
] | open | false | null | [] | null | 1 | 2023-12-11T12:15:23 | 2023-12-11T12:17:44 | null | NONE | null | ### Feature request
Weaviate has released a beta version of their [python client v4](https://weaviate.io/developers/weaviate/client-libraries/python) which seems to be more robust compared to v3. It follows a different structure but allows for more versatility and better error handling when it comes to queries. I think it would be great to add support in langchain for the new client.
### Motivation
I was using the v3 client (without langchain) to batch import data into Weaviate. It worked, but it was slower than I expected and also resulted in errors that I was not able to manage easily. The new v4 client supports their new [gRPC API](https://weaviate.io/developers/weaviate/api/grpc) which outperforms the traditional REST API that v3 is using.
### Your contribution
I will start creating some custom functions using Weaviate's new client to test its reliability. If I don't encounter any serious errors, I'll try to find the time and create a PR to add support for it in langchain. I think that support for both v3 and v4 should exist, at least until v4 becomes stable. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14531/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/14531/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14530 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14530/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14530/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14530/events | https://github.com/langchain-ai/langchain/pull/14530 | 2,035,534,122 | PR_kwDOIPDwls5hrK2p | 14,530 | Added support for new Google GenerativeAI models | {
"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": 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 | {
"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-11T12:08:04 | 2023-12-15T04:56:46 | 2023-12-15T04:56:46 | CONTRIBUTOR | null | Replace this entire comment with:
- **Description:** added support for new Google GenerativeAI models
- **Twitter handle:** lkuligin
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14530/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14530",
"html_url": "https://github.com/langchain-ai/langchain/pull/14530",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14530.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14530.patch",
"merged_at": "2023-12-15T04:56:46"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14528 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14528/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14528/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14528/events | https://github.com/langchain-ai/langchain/pull/14528 | 2,035,483,272 | PR_kwDOIPDwls5hq_aL | 14,528 | Update cohere provider docs | {
"login": "billytrend-cohere",
"id": 144115527,
"node_id": "U_kgDOCJcHRw",
"avatar_url": "https://avatars.githubusercontent.com/u/144115527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/billytrend-cohere",
"html_url": "https://github.com/billytrend-cohere",
"followers_url": "https://api.github.com/users/billytrend-cohere/followers",
"following_url": "https://api.github.com/users/billytrend-cohere/following{/other_user}",
"gists_url": "https://api.github.com/users/billytrend-cohere/gists{/gist_id}",
"starred_url": "https://api.github.com/users/billytrend-cohere/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/billytrend-cohere/subscriptions",
"organizations_url": "https://api.github.com/users/billytrend-cohere/orgs",
"repos_url": "https://api.github.com/users/billytrend-cohere/repos",
"events_url": "https://api.github.com/users/billytrend-cohere/events{/privacy}",
"received_events_url": "https://api.github.com/users/billytrend-cohere/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-11T11:43:01 | 2023-12-13T00:48:46 | 2023-12-13T00:48:46 | CONTRIBUTOR | null | Preview since github wont preview .mdx :
<img width="1401" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/9e8ba3d9-24ff-4584-9da3-2c9b60e7e624"> | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14528/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14528",
"html_url": "https://github.com/langchain-ai/langchain/pull/14528",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14528.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14528.patch",
"merged_at": "2023-12-13T00:48:46"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14526 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14526/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14526/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14526/events | https://github.com/langchain-ai/langchain/issues/14526 | 2,035,343,197 | I_kwDOIPDwls55UN9d | 14,526 | b'{"status":{"error":"Wrong input: Default vector params are not specified in config"},"time":0.00036507}' | {
"login": "Thiru-GVT",
"id": 150227274,
"node_id": "U_kgDOCPRJSg",
"avatar_url": "https://avatars.githubusercontent.com/u/150227274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Thiru-GVT",
"html_url": "https://github.com/Thiru-GVT",
"followers_url": "https://api.github.com/users/Thiru-GVT/followers",
"following_url": "https://api.github.com/users/Thiru-GVT/following{/other_user}",
"gists_url": "https://api.github.com/users/Thiru-GVT/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Thiru-GVT/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Thiru-GVT/subscriptions",
"organizations_url": "https://api.github.com/users/Thiru-GVT/orgs",
"repos_url": "https://api.github.com/users/Thiru-GVT/repos",
"events_url": "https://api.github.com/users/Thiru-GVT/events{/privacy}",
"received_events_url": "https://api.github.com/users/Thiru-GVT/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-11T10:30:41 | 2023-12-11T10:37:51 | null | NONE | null | ### System Info
langchain==0.0.348
wsl
python 3.10.2
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm looking to run a simple RAG using Qdrant pre instantiated with data (something like the [link from the docs](https://colab.research.google.com/drive/19RxxkZdnq_YqBH5kBV10Rt0Rax-kminD?usp=sharing#scrollTo=fvCHMT73SmKi)) but its giving me the error in the title.
I'm posting it here since the error seems to be on langchain side. not qdrant side.
Ive tried various ways of using langchain to connect to qdrant but it always ends up with this error.
This happens even if i use the deprecated VectorDBQA or RetrievalQA
```
from qdrant_client import QdrantClient
from langchain.chat_models import AzureChatOpenAI
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.vectorstores import Qdrant
QDRANT_ENDPOINT = "localhost"
MODEL_TO_USE = 'BAAI/bge-base-en-v1.5'
collection_name = "collection"
client = QdrantClient(QDRANT_ENDPOINT, port=6333, timeout=120)
embeddings = HuggingFaceEmbeddings(model_name=MODEL_TO_USE)
qdrant = Qdrant(client, collection_name, embeddings)
qdrant.similarity_search("middle east")
```
gives
```
>>> qdrant.similarity_search("middle east")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.local/lib/python3.10/site-packages/langchain/vectorstores/qdrant.py", line 274, in similarity_search
results = self.similarity_search_with_score(
File "/home/user/.local/lib/python3.10/site-packages/langchain/vectorstores/qdrant.py", line 350, in similarity_search_with_score
return self.similarity_search_with_score_by_vector(
File "/home/user/.local/lib/python3.10/site-packages/langchain/vectorstores/qdrant.py", line 595, in similarity_search_with_score_by_vector
results = self.client.search(
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/qdrant_client.py", line 340, in search
return self._client.search(
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/qdrant_remote.py", line 472, in search
search_result = self.http.points_api.search_points(
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/http/api/points_api.py", line 1388, in search_points
return self._build_for_search_points(
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/http/api/points_api.py", line 636, in _build_for_search_points
return self.api_client.request(
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 74, in request
return self.send(request, type_)
File "/home/user/.local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 97, in send
raise UnexpectedResponse.for_response(response)
qdrant_client.http.exceptions.UnexpectedResponse: Unexpected Response: 400 (Bad Request)
Raw response content:
b'{"status":{"error":"Wrong input: Default vector params are not specified in config"},"time":0.000118885}'
```
Using this as a retriever also fails, which is what i need it for.
Testing with qdrant alone works.
```
client.query(collection_name,"middle east") # using qdrant itself works
```
### Expected behavior
For the queries to be fetched and not throw this error | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14526/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14525 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14525/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14525/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14525/events | https://github.com/langchain-ai/langchain/pull/14525 | 2,035,279,943 | PR_kwDOIPDwls5hqSdN | 14,525 | fix doctran translation async error | {
"login": "umair313",
"id": 12728453,
"node_id": "MDQ6VXNlcjEyNzI4NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/12728453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umair313",
"html_url": "https://github.com/umair313",
"followers_url": "https://api.github.com/users/umair313/followers",
"following_url": "https://api.github.com/users/umair313/following{/other_user}",
"gists_url": "https://api.github.com/users/umair313/gists{/gist_id}",
"starred_url": "https://api.github.com/users/umair313/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/umair313/subscriptions",
"organizations_url": "https://api.github.com/users/umair313/orgs",
"repos_url": "https://api.github.com/users/umair313/repos",
"events_url": "https://api.github.com/users/umair313/events{/privacy}",
"received_events_url": "https://api.github.com/users/umair313/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": 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 | 3 | 2023-12-11T09:58:25 | 2023-12-28T16:05:36 | 2023-12-28T16:05:36 | CONTRIBUTOR | null | Currenly [Doctran](https://github.dev/psychic-api/doctran) doesn't have async support.
removing from langchain as well, will run it sync.
fixed #14437
@efriis
@baskaryan
@hwchase17
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14525/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14525",
"html_url": "https://github.com/langchain-ai/langchain/pull/14525",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14525.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14525.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14524 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14524/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14524/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14524/events | https://github.com/langchain-ai/langchain/pull/14524 | 2,035,164,760 | PR_kwDOIPDwls5hp5Hw | 14,524 | Add the collection_description parameter to Milvus | {
"login": "mokeyish",
"id": 16131917,
"node_id": "MDQ6VXNlcjE2MTMxOTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/16131917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mokeyish",
"html_url": "https://github.com/mokeyish",
"followers_url": "https://api.github.com/users/mokeyish/followers",
"following_url": "https://api.github.com/users/mokeyish/following{/other_user}",
"gists_url": "https://api.github.com/users/mokeyish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mokeyish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mokeyish/subscriptions",
"organizations_url": "https://api.github.com/users/mokeyish/orgs",
"repos_url": "https://api.github.com/users/mokeyish/repos",
"events_url": "https://api.github.com/users/mokeyish/events{/privacy}",
"received_events_url": "https://api.github.com/users/mokeyish/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": 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 | 4 | 2023-12-11T09:02:48 | 2024-01-03T00:49:24 | 2024-01-03T00:28:02 | CONTRIBUTOR | null | Because Milvus' collection_name doesn't support UFT8 characters in other languages, I want the `collection_descriotion`.
<!-- 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/14524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14524/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14524",
"html_url": "https://github.com/langchain-ai/langchain/pull/14524",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14524.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14524.patch",
"merged_at": "2024-01-03T00:28:02"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14523 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14523/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14523/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14523/events | https://github.com/langchain-ai/langchain/issues/14523 | 2,035,156,450 | I_kwDOIPDwls55TgXi | 14,523 | When the self-deployed chatglm3 model is invoked based on the openai API specification and create_sql_agent is used to query the first three rows of the data table, the output format is reported to be incorrect. But there are no formatting errors with qwen. How do I fix chatglm3 | {
"login": "ZHJ19970917",
"id": 73893296,
"node_id": "MDQ6VXNlcjczODkzMjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/73893296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZHJ19970917",
"html_url": "https://github.com/ZHJ19970917",
"followers_url": "https://api.github.com/users/ZHJ19970917/followers",
"following_url": "https://api.github.com/users/ZHJ19970917/following{/other_user}",
"gists_url": "https://api.github.com/users/ZHJ19970917/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZHJ19970917/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZHJ19970917/subscriptions",
"organizations_url": "https://api.github.com/users/ZHJ19970917/orgs",
"repos_url": "https://api.github.com/users/ZHJ19970917/repos",
"events_url": "https://api.github.com/users/ZHJ19970917/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZHJ19970917/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | 1 | 2023-12-11T08:58:58 | 2023-12-11T09:07:43 | null | NONE | null | ### System Info
langchain=0.0.348
openai=0.28.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
model= "chatglm3"
llm = ChatOpenAI(model_name=model,openai_api_key=api_key,openai_api_base=api_url)
db = SQLDatabase.from_uri("mysql+pymysql://.....")
toolkit = SQLDatabaseToolkit(db=db, llm=llm,use_query_checker=True)
agent_executor = create_sql_agent( llm=llm,toolkit=toolkit, verbose=True,agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,handle_parsing_errors=False
)
content=agent_executor.run("Look at the structure of the table ads_pm_empl_count first, then give the first three rows of data")
print(content)
<img width="875" alt="联想截图_20231211165355" src="https://github.com/langchain-ai/langchain/assets/73893296/8fcee38e-0235-44c5-8454-6fd368351488">
### Expected behavior
How do I fix this output format problem | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14523/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14522 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14522/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14522/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14522/events | https://github.com/langchain-ai/langchain/issues/14522 | 2,035,138,288 | I_kwDOIPDwls55Tb7w | 14,522 | 1 | {
"login": "ZHJ19970917",
"id": 73893296,
"node_id": "MDQ6VXNlcjczODkzMjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/73893296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZHJ19970917",
"html_url": "https://github.com/ZHJ19970917",
"followers_url": "https://api.github.com/users/ZHJ19970917/followers",
"following_url": "https://api.github.com/users/ZHJ19970917/following{/other_user}",
"gists_url": "https://api.github.com/users/ZHJ19970917/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZHJ19970917/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZHJ19970917/subscriptions",
"organizations_url": "https://api.github.com/users/ZHJ19970917/orgs",
"repos_url": "https://api.github.com/users/ZHJ19970917/repos",
"events_url": "https://api.github.com/users/ZHJ19970917/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZHJ19970917/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2023-12-11T08:50:01 | 2023-12-11T09:00:17 | 2023-12-11T08:50:44 | NONE | null | ### System Info
langchain=0.0.348
python=3.9
openai=0.28.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
![Uploading 联想截图_20231211165355.png…]()
model= "chatglm3"
#llm = OpenAI(model_name=model,openai_api_key=api_key,openai_api_base=api_url)
llm = ChatOpenAI(model_name=model,openai_api_key=api_key,openai_api_base=api_url)
db = SQLDatabase.from_uri("mysql+pymysql://。。。。。")
toolkit = SQLDatabaseToolkit(db=db, llm=llm,use_query_checker=True)
#memory = ConversationBufferMemory(memory_key ="chat_history ")
agent_executor = create_sql_agent(
llm=llm,
toolkit=toolkit,
verbose=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
handle_parsing_errors=False
)
# content=agent_executor.output_schema.schema()
content=agent_executor.run("Look at the structure of the table ads_pm_empl_count first, then give the first three rows of data")
print(content)
### Expected behavior
How do I fix this output format problem | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14522/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/langchain-ai/langchain/issues/14522/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14521 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14521/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14521/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14521/events | https://github.com/langchain-ai/langchain/issues/14521 | 2,035,123,971 | I_kwDOIPDwls55TYcD | 14,521 | [Maybe Bug] `StructuredChatAgent` raises `ValueError` with a `StructuredTool` which has an argument which defaults to a `dict` default value | {
"login": "hmasdev",
"id": 73353463,
"node_id": "MDQ6VXNlcjczMzUzNDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/73353463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hmasdev",
"html_url": "https://github.com/hmasdev",
"followers_url": "https://api.github.com/users/hmasdev/followers",
"following_url": "https://api.github.com/users/hmasdev/following{/other_user}",
"gists_url": "https://api.github.com/users/hmasdev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hmasdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hmasdev/subscriptions",
"organizations_url": "https://api.github.com/users/hmasdev/orgs",
"repos_url": "https://api.github.com/users/hmasdev/repos",
"events_url": "https://api.github.com/users/hmasdev/events{/privacy}",
"received_events_url": "https://api.github.com/users/hmasdev/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"
}
] | open | false | null | [] | null | 3 | 2023-12-11T08:41:13 | 2023-12-11T10:46:26 | null | CONTRIBUTOR | null | ### System Info
OS == Windows 11
Python == 3.10.11
Langchain == 0.0.348
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```bash
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from dotenv import load_dotenv
>>> load_dotenv()
True
>>> from langchain.agents import AgentType, initialize_agent
>>> from langchain.tools import StructuredTool
>>> from langchain.chat_models import ChatOpenAI
>>> llm = ChatOpenAI(model='gpt-3.5-turbo')
>>> def func0(a: int, b: int) -> int:
... return a+b
...
>>> def func1(a: int, b: int, d: dict[str, int]={}) -> int:
... print(d)
... return a+b
...
>>> def func2(a: int, b: int, d: dict[str, int]={'c': 0}) -> int:
... print(d)
... return a+b
...
>>> tool0 = StructuredTool.from_function(func0, name=func0.__name__, description='a+b')
>>> tool1 = StructuredTool.from_function(func1, name=func1.__name__, description='a+b')
>>> tool2 = StructuredTool.from_function(func2, name=func2.__name__, description='a+b')
>>> agent0 = initialize_agent(agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, tools=[tool0], llm=llm)
>>> agent1 = initialize_agent(agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, tools=[tool1], llm=llm)
>>> agent2 = initialize_agent(agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, tools=[tool2], llm=llm)
>>> agent0.run('hello')
'Hi there! How can I assist you today?'
>>> agent0.invoke(dict(input='hello'))
{'input': 'hello', 'output': 'Hi there! How can I assist you today?'}
>>> agent1.run('hello')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 507, in run
return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 288, in __call__
inputs = self.prep_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 435, in prep_inputs
raise ValueError(
ValueError: A single string input was passed in, but this chain expects multiple inputs ({'', 'input'}). When a chain expects multiple inputs, please call it by passing in a dictionary, eg `chain({'foo': 1, 'bar': 2})`
>>> agent1.invoke(dict(input='hello'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 89, in invoke
return self(
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 288, in __call__
inputs = self.prep_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 445, in prep_inputs
self._validate_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 197, in _validate_inputs
raise ValueError(f"Missing some input keys: {missing_keys}")
ValueError: Missing some input keys: {''}
>>> agent2.run('hello')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 507, in run
return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 288, in __call__
inputs = self.prep_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 435, in prep_inputs
raise ValueError(
ValueError: A single string input was passed in, but this chain expects multiple inputs ({"'c'", 'input'}). When a chain expects multiple inputs, please call it by passing in a dictionary, eg `chain({'foo': 1, 'bar': 2})`
>>> agent2.invoke(dict(input='hello'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 89, in invoke
return self(
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 288, in __call__
inputs = self.prep_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 445, in prep_inputs
self._validate_inputs(inputs)
File "D:\workspace\agi-baby\venv\lib\site-packages\langchain\chains\base.py", line 197, in _validate_inputs
raise ValueError(f"Missing some input keys: {missing_keys}")
ValueError: Missing some input keys: {"'c'"}
```
### Expected behavior
Given a `StructuredTool` which has an argument which defaults to a `dict` value, `StructuredChatAgent` with the tool should work.
In the above reproduction codes, `agent1` and `agent2` should works as `agent0` works.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14521/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14520 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14520/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14520/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14520/events | https://github.com/langchain-ai/langchain/issues/14520 | 2,035,027,147 | I_kwDOIPDwls55TAzL | 14,520 | StructuredChatAgent would go wrong when the input contain some code such as protobuf. | {
"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": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | open | false | null | [] | null | 3 | 2023-12-11T07:44:54 | 2023-12-11T08:39:42 | null | NONE | null | ### System Info
LangChain: 0.0.311
Python: 3.11
OS: macOS 11.6
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Thought: The user is asking for help implementing CRUD operations for a specific table in a MySQL database using the Go language. This is a programming task so I will use the programmer_agent tool to help with this.
Action:
```
{
"action": "programmer_agent",
"action_input": {
"task": {
"title": "Implement CRUD operations for limited_relationships_config table in MySQL using Go",
"description": "Write functions for adding, updating, deleting, and retrieving limited relationships configurations in a MySQL database using Go. The operations will be performed on the `limited_relationships_config` table.",
"type": "code"
}
}
}
```
### Expected behavior
Thought: The user is asking for help implementing CRUD operations for a specific table in a MySQL database using the Go language. This is a programming task so I will use the programmer_agent tool to help with this.
Action:
```
{
"action": "programmer_agent",
"action_input": {
"task": "Implement CRUD operations for limited_relationships_config table in MySQL using Go"
}
}
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14520/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14519 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14519/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14519/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14519/events | https://github.com/langchain-ai/langchain/issues/14519 | 2,035,017,496 | I_kwDOIPDwls55S-cY | 14,519 | how to use gpt2 with custom promt? | {
"login": "akashAD98",
"id": 62583018,
"node_id": "MDQ6VXNlcjYyNTgzMDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/62583018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akashAD98",
"html_url": "https://github.com/akashAD98",
"followers_url": "https://api.github.com/users/akashAD98/followers",
"following_url": "https://api.github.com/users/akashAD98/following{/other_user}",
"gists_url": "https://api.github.com/users/akashAD98/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akashAD98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akashAD98/subscriptions",
"organizations_url": "https://api.github.com/users/akashAD98/orgs",
"repos_url": "https://api.github.com/users/akashAD98/repos",
"events_url": "https://api.github.com/users/akashAD98/events{/privacy}",
"received_events_url": "https://api.github.com/users/akashAD98/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": 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-11T07:38:08 | 2023-12-11T08:36:52 | null | NONE | null | ### Feature request
i want to use gpt2 for text genration & want to control the llm
### Motivation
gpt2 is smaller version & its is best for next-word prediction
### Your contribution
want to use below code for loading gpt2 model
```
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = 'gpt2'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = 'want to do more '
config1 = {
'num_beams': 3, # Number of beams for beam search
'do_sample': True, # Whether to do sampling or not
'temperature': 0.6 # The value used to module the next token probabilities
}
config2 = {
'penalty_alpha': 0.6, # The penalty alpha for contrastive search
'top_k': 6 # The number of highest probability vocabulary tokens to keep for top-k-filtering
}
inputs = tokenizer(prompt, return_tensors='pt')
output = model.generate(**inputs, **config1) # Here, you should choose config1 or config2
result = tokenizer.decode(output[0], skip_special_tokens=True)
print("------->>>>.",result)
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14519/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14518 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14518/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14518/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14518/events | https://github.com/langchain-ai/langchain/issues/14518 | 2,034,867,869 | I_kwDOIPDwls55SZ6d | 14,518 | Is 'collection_name' required when initializing 'PGVector'? | {
"login": "sjinwoo",
"id": 45092868,
"node_id": "MDQ6VXNlcjQ1MDkyODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/45092868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjinwoo",
"html_url": "https://github.com/sjinwoo",
"followers_url": "https://api.github.com/users/sjinwoo/followers",
"following_url": "https://api.github.com/users/sjinwoo/following{/other_user}",
"gists_url": "https://api.github.com/users/sjinwoo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sjinwoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjinwoo/subscriptions",
"organizations_url": "https://api.github.com/users/sjinwoo/orgs",
"repos_url": "https://api.github.com/users/sjinwoo/repos",
"events_url": "https://api.github.com/users/sjinwoo/events{/privacy}",
"received_events_url": "https://api.github.com/users/sjinwoo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] | open | false | null | [] | null | 1 | 2023-12-11T05:36:15 | 2023-12-11T05:41:26 | null | NONE | null | ### System Info
```langchain = "^0.0.345"```
I want to embed and store multiple documents in PGVector and RAG query the DB.
When saving documents, I am specifying a collection_name for each document.
(For example, if I have 3 documents, I have 3 collection_names)
Is it possible to separate collections like this?
Also, is the collection_name required when connecting to PGVector?
### 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
db1 = PGVector.from_documents(
embedding=embed,
documents=documents,
collection_name="my doc 1",
connection_string=CONNECTION_STRING
)
db2 = PGVector.from_documents(
embedding=embed,
documents=documents,
collection_name="my doc 2",
connection_string=CONNECTION_STRING
)
# after, To query the DB where the document is stored.
db_connection = PGVector(
embedding=embed,
documents=documents,
collection_name="my doc 2", # I don't want to specify a collection_name.
connection_string=CONNECTION_STRING
)
### Expected behavior
I want to connect to the PGVector only the first time, and then use that session to query the collection_name (1 document in my case). | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14518/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14517 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14517/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14517/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14517/events | https://github.com/langchain-ai/langchain/issues/14517 | 2,034,861,990 | I_kwDOIPDwls55SYem | 14,517 | Breaking of pattern in `from_document` function | {
"login": "ParthSareen",
"id": 29360864,
"node_id": "MDQ6VXNlcjI5MzYwODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/29360864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ParthSareen",
"html_url": "https://github.com/ParthSareen",
"followers_url": "https://api.github.com/users/ParthSareen/followers",
"following_url": "https://api.github.com/users/ParthSareen/following{/other_user}",
"gists_url": "https://api.github.com/users/ParthSareen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ParthSareen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ParthSareen/subscriptions",
"organizations_url": "https://api.github.com/users/ParthSareen/orgs",
"repos_url": "https://api.github.com/users/ParthSareen/repos",
"events_url": "https://api.github.com/users/ParthSareen/events{/privacy}",
"received_events_url": "https://api.github.com/users/ParthSareen/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"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-11T05:30:25 | 2023-12-11T05:32:41 | null | NONE | null | https://github.com/langchain-ai/langchain/blob/c0f4b95aa9961724ab4569049b4c3bc12ebbacfc/libs/langchain/langchain/vectorstores/chroma.py#L742
This function breaks the pattern of how the `embedding_function` is referenced by just calling it `embedding`.
Small issue but definitely makes it a bit confusing to navigate without diving into the code/docs.
Happy to PR it in if worthwhile | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14517/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14516 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14516/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14516/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14516/events | https://github.com/langchain-ai/langchain/pull/14516 | 2,034,770,535 | PR_kwDOIPDwls5hoiTS | 14,516 | RunnableWithMessageHistory: Fix input schema | {
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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": 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-11T03:50:21 | 2023-12-11T04:33:03 | 2023-12-11T04:33:02 | COLLABORATOR | null | Input schema should not have history key
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14516/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14516",
"html_url": "https://github.com/langchain-ai/langchain/pull/14516",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14516.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14516.patch",
"merged_at": "2023-12-11T04:33:02"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14515 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14515/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14515/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14515/events | https://github.com/langchain-ai/langchain/issues/14515 | 2,034,721,756 | I_kwDOIPDwls55R2Pc | 14,515 | Qdrant retriever with existing data leads to pydantic.error_wrappers.ValidationError: 1 validation error for Document page_content none is not an allowed value (type=type_error.none.not_allowed) | {
"login": "Thiru-GVT",
"id": 150227274,
"node_id": "U_kgDOCPRJSg",
"avatar_url": "https://avatars.githubusercontent.com/u/150227274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Thiru-GVT",
"html_url": "https://github.com/Thiru-GVT",
"followers_url": "https://api.github.com/users/Thiru-GVT/followers",
"following_url": "https://api.github.com/users/Thiru-GVT/following{/other_user}",
"gists_url": "https://api.github.com/users/Thiru-GVT/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Thiru-GVT/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Thiru-GVT/subscriptions",
"organizations_url": "https://api.github.com/users/Thiru-GVT/orgs",
"repos_url": "https://api.github.com/users/Thiru-GVT/repos",
"events_url": "https://api.github.com/users/Thiru-GVT/events{/privacy}",
"received_events_url": "https://api.github.com/users/Thiru-GVT/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 5 | 2023-12-11T02:50:24 | 2024-01-11T08:35:39 | null | NONE | null | ### System Info
Python 3.10.2
langchain version 0.0.339
WSL
### Who can help?
@hwchase17
@agola11
### Information
- [x ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I am using Qdrant on docker with information preloaded. However im unable to get it to search
```
MODEL_TO_USE = 'all-mpnet-base-v2'
client = QdrantClient(QDRANT_ENDPOINT, port=6333, timeout=120)
embeddings = HuggingFaceEmbeddings(model_name=MODEL_TO_USE)
qdrant = Qdrant(client, collection_name, embeddings)
conversation_chain = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=qdrant.as_retriever(search_kwargs={'k': 5}),
get_chat_history=lambda h : h,
memory=memory
)
# im using a streamlit frontend
import streamlit as st
st.session_state.conversation = conversation_chain
# during chat
result = st.session_state.conversation({
"question": user_query,
"chat_history": st.session_state['chat_history']})
```
Result would then lead to the error.
### Expected behavior
Chat is supposed to work instead of getting
```
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Document
page_content
none is not an allowed value (type=type_error.none.not_allowed)
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14515/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14514 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14514/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14514/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14514/events | https://github.com/langchain-ai/langchain/issues/14514 | 2,034,717,889 | I_kwDOIPDwls55R1TB | 14,514 | DOC: Could load GGUF models from https | {
"login": "elliotthwang",
"id": 22218711,
"node_id": "MDQ6VXNlcjIyMjE4NzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/22218711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elliotthwang",
"html_url": "https://github.com/elliotthwang",
"followers_url": "https://api.github.com/users/elliotthwang/followers",
"following_url": "https://api.github.com/users/elliotthwang/following{/other_user}",
"gists_url": "https://api.github.com/users/elliotthwang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/elliotthwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elliotthwang/subscriptions",
"organizations_url": "https://api.github.com/users/elliotthwang/orgs",
"repos_url": "https://api.github.com/users/elliotthwang/repos",
"events_url": "https://api.github.com/users/elliotthwang/events{/privacy}",
"received_events_url": "https://api.github.com/users/elliotthwang/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"
}
] | open | false | null | [] | null | 21 | 2023-12-11T02:45:28 | 2023-12-12T12:06:19 | null | NONE | null | ### Issue with current documentation:
_No response_
### Idea or request for content:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14514/timeline | null | reopened | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14513 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14513/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14513/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14513/events | https://github.com/langchain-ai/langchain/issues/14513 | 2,034,583,189 | I_kwDOIPDwls55RUaV | 14,513 | Customize how messages are formatted in MessagesPlaceholder | {
"login": "jcronq",
"id": 2053475,
"node_id": "MDQ6VXNlcjIwNTM0NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2053475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcronq",
"html_url": "https://github.com/jcronq",
"followers_url": "https://api.github.com/users/jcronq/followers",
"following_url": "https://api.github.com/users/jcronq/following{/other_user}",
"gists_url": "https://api.github.com/users/jcronq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jcronq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcronq/subscriptions",
"organizations_url": "https://api.github.com/users/jcronq/orgs",
"repos_url": "https://api.github.com/users/jcronq/repos",
"events_url": "https://api.github.com/users/jcronq/events{/privacy}",
"received_events_url": "https://api.github.com/users/jcronq/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-10T23:33:17 | 2023-12-10T23:35:20 | null | NONE | null | ### Feature request
Customize how messages are formatted in MessagesPlaceholder
Currently, history messages are always format to:
'''
Human: ...
AI: ...
'''
Popular chat fine-tunings use all sorts of different formats.
Example:
'''
<|im_start|>user
...<|im_end|>
<|im_start|>assistant
...<|im_end|>
'''
There's currently no way to change how history messages are prompted.
### Motivation
I wanted to use langchain to make chatbots. Currently that use case is not well supported.
### Your contribution
Here's how I got it to work. I have to manually parse the history in a previous step.
<img width="683" alt="image" src="https://github.com/langchain-ai/langchain/assets/2053475/15fe31e2-cc23-47f2-9d0c-d5670f22768a">
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14513/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/langchain-ai/langchain/issues/14513/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14512 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14512/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14512/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14512/events | https://github.com/langchain-ai/langchain/pull/14512 | 2,034,536,844 | PR_kwDOIPDwls5hnwqK | 14,512 | fix: updating internal batch size for gradient embeddings. | {
"login": "michaelfeil",
"id": 63565275,
"node_id": "MDQ6VXNlcjYzNTY1Mjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/63565275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelfeil",
"html_url": "https://github.com/michaelfeil",
"followers_url": "https://api.github.com/users/michaelfeil/followers",
"following_url": "https://api.github.com/users/michaelfeil/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelfeil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michaelfeil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelfeil/subscriptions",
"organizations_url": "https://api.github.com/users/michaelfeil/orgs",
"repos_url": "https://api.github.com/users/michaelfeil/repos",
"events_url": "https://api.github.com/users/michaelfeil/events{/privacy}",
"received_events_url": "https://api.github.com/users/michaelfeil/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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."
}
] | open | false | null | [] | null | 2 | 2023-12-10T21:15:32 | 2023-12-11T19:44:54 | null | CONTRIBUTOR | null | background: i am author of the gradient integrations.
Issue:
Gradient.ai accepts batch_sizes until 100. This integration sets up to 128, which leads to errors when > 101 embeddings are requested in a function call.
Fix: This PR sets the size per Request to 64.
```bash
Cell In[5], [line 7](vscode-notebook-cell:?execution_count=5&line=7)
[5](vscode-notebook-cell:?execution_count=5&line=5) import timeit
[6](vscode-notebook-cell:?execution_count=5&line=6) start = timeit.default_timer()
----> [7](vscode-notebook-cell:?execution_count=5&line=7) documents_embedded = embeddings.embed_documents(documents)
[8](vscode-notebook-cell:?execution_count=5&line=8) end = timeit.default_timer()
[10](vscode-notebook-cell:?execution_count=5&line=10) print("Query result:", query_result)
File [~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:103](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:103), in GradientEmbeddings.embed_documents(self, texts)
[94](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:94) def embed_documents(self, texts: List[str]) -> List[List[float]]:
[95](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:95) """Call out to Gradient's embedding endpoint.
[96](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:96)
[97](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:97) Args:
(...)
[101](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:101) List of embeddings, one for each text.
[102](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:102) """
--> [103](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:103) embeddings = self.client.embed(
[104](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:104) model=self.model,
[105](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:105) texts=texts,
[106](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:106) )
[107](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:107) return embeddings
File [~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:331](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:331), in TinyAsyncGradientEmbeddingClient.embed(self, model, texts)
[329](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:329) else:
[330](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:330) with ThreadPoolExecutor(32) as p:
--> [331](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:331) embeddings_batch_perm = list(p.map(*map_args))
[333](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:333) embeddings_perm = self._unbatch(embeddings_batch_perm)
[334](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:334) embeddings = unpermute_func(embeddings_perm)
File [~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:621](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:621), in Executor.map.<locals>.result_iterator()
[618](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:618) while fs:
[619](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:619) # Careful not to keep a reference to the popped future
[620](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:620) if timeout is None:
--> [621](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:621) yield _result_or_cancel(fs.pop())
[622](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:622) else:
[623](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:623) yield _result_or_cancel(fs.pop(), end_time - time.monotonic())
File [~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:319](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:319), in _result_or_cancel(***failed resolving arguments***)
[317](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:317) try:
[318](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:318) try:
--> [319](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:319) return fut.result(timeout)
[320](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:320) finally:
[321](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/concurrent/futures/_base.py:321) fut.cancel()
...
[304](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:304) f"{response.status_code}: {response.text}"
[305](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:305) )
[306](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/michi/langchain/docs/docs/integrations/text_embedding/~/miniconda3/envs/hf_env/lib/python3.10/site-packages/langchain/embeddings/gradient_ai.py:306) return [e["embedding"] for e in response.json()["embeddings"]]
Exception: Gradient returned an unexpected response with status 400: {"message":"Invalid input: {\"detail\":[{\"type\":\"too_long\",\"loc\":[\"body\",\"texts\"],\"msg\"
```
<!-- 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/14512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14512/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14512",
"html_url": "https://github.com/langchain-ai/langchain/pull/14512",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14512.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14512.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14511 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14511/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14511/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14511/events | https://github.com/langchain-ai/langchain/issues/14511 | 2,034,526,238 | I_kwDOIPDwls55RGge | 14,511 | RunnableWithMessageHistory streaming bug | {
"login": "ShukriChiu",
"id": 5136543,
"node_id": "MDQ6VXNlcjUxMzY1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5136543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShukriChiu",
"html_url": "https://github.com/ShukriChiu",
"followers_url": "https://api.github.com/users/ShukriChiu/followers",
"following_url": "https://api.github.com/users/ShukriChiu/following{/other_user}",
"gists_url": "https://api.github.com/users/ShukriChiu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ShukriChiu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShukriChiu/subscriptions",
"organizations_url": "https://api.github.com/users/ShukriChiu/orgs",
"repos_url": "https://api.github.com/users/ShukriChiu/repos",
"events_url": "https://api.github.com/users/ShukriChiu/events{/privacy}",
"received_events_url": "https://api.github.com/users/ShukriChiu/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": 5955630415,
"node_id": "LA_kwDOIPDwls8AAAABYvu1Tw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis",
"name": "integration: redis",
"color": "F9D0C4",
"default": false,
"description": "Any integration that uses Redis"
}
] | open | false | null | [] | null | 10 | 2023-12-10T20:43:15 | 2023-12-29T19:27:13 | null | NONE | null | ### System Info
0.0.348, linux , python 3.11
### 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
- [x] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
chain_with_history = RunnableWithMessageHistory(
chain,
lambda session_id: RedisChatMessageHistory(session_id, url=REDIS_URL, ttl=600),
input_messages_key="inputs",
history_messages_key="history",
)
return chain_with_history
response = customer_support_invoke().stream(
{"inputs": userChats.inputs, "profile": userChats.profile},
config={"configurable": {"session_id": "123"}},
)
for s in response:
print(s.content, end="", flush=True)
```
if I streaming twice , it will raise an error "ValueError: Got unexpected message type: AIMessageChunk
"
### Expected behavior
streaming correctly | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14511/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14509 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14509/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14509/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14509/events | https://github.com/langchain-ai/langchain/pull/14509 | 2,034,520,774 | PR_kwDOIPDwls5hntiB | 14,509 | Added notebook tutorial on using Yellowbrick as a vector store with LangChain | {
"login": "markcusack",
"id": 6406557,
"node_id": "MDQ6VXNlcjY0MDY1NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6406557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markcusack",
"html_url": "https://github.com/markcusack",
"followers_url": "https://api.github.com/users/markcusack/followers",
"following_url": "https://api.github.com/users/markcusack/following{/other_user}",
"gists_url": "https://api.github.com/users/markcusack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/markcusack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markcusack/subscriptions",
"organizations_url": "https://api.github.com/users/markcusack/orgs",
"repos_url": "https://api.github.com/users/markcusack/repos",
"events_url": "https://api.github.com/users/markcusack/events{/privacy}",
"received_events_url": "https://api.github.com/users/markcusack/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": 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-10T20:25:15 | 2023-12-13T00:59:06 | 2023-12-13T00:59:05 | CONTRIBUTOR | null | - **Description:** a notebook documenting Yellowbrick as a vector store usage
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14509/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14509",
"html_url": "https://github.com/langchain-ai/langchain/pull/14509",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14509.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14509.patch",
"merged_at": "2023-12-13T00:59:05"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14508 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14508/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14508/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14508/events | https://github.com/langchain-ai/langchain/issues/14508 | 2,034,443,411 | I_kwDOIPDwls55QyST | 14,508 | Help me run this | {
"login": "agoor97",
"id": 81787449,
"node_id": "MDQ6VXNlcjgxNzg3NDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/81787449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agoor97",
"html_url": "https://github.com/agoor97",
"followers_url": "https://api.github.com/users/agoor97/followers",
"following_url": "https://api.github.com/users/agoor97/following{/other_user}",
"gists_url": "https://api.github.com/users/agoor97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agoor97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agoor97/subscriptions",
"organizations_url": "https://api.github.com/users/agoor97/orgs",
"repos_url": "https://api.github.com/users/agoor97/repos",
"events_url": "https://api.github.com/users/agoor97/events{/privacy}",
"received_events_url": "https://api.github.com/users/agoor97/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | closed | false | null | [] | null | 8 | 2023-12-10T16:37:15 | 2023-12-11T04:49:51 | 2023-12-11T04:49:51 | NONE | null | ### Issue with current documentation:
import requests
from typing import Optional
from langchain.tools import StructuredTool
``` python
def post_message(url: str, body: dict, parameters: Optional[dict]=None) -> str:
"""Sends a POST request to the given url with the given body and parameters."""
result = requests.post(url, json=body, params=parameters)
return result.text
custom_tool = StructuredTool.from_function(post_message)
from langchain.agents import initialize_agent, AgentType
from langchain.chat_models import ChatOpenAI
tools = [custom_tool] # Add any tools here
llm = ChatOpenAI(temperature=0) # or any other LLM
agent_chain = initialize_agent(tools, llm, agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
```
How to run this and get the results if I have an api endpoint
### Idea or request for content:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14508/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14507 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14507/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14507/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14507/events | https://github.com/langchain-ai/langchain/pull/14507 | 2,034,440,216 | PR_kwDOIPDwls5hndp9 | 14,507 | Move runnable context to beta | {
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"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-10T16:28:41 | 2023-12-11T21:58:32 | 2023-12-11T21:58:31 | COLLABORATOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14507/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14507",
"html_url": "https://github.com/langchain-ai/langchain/pull/14507",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14507.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14507.patch",
"merged_at": "2023-12-11T21:58:31"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14506 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14506/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14506/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14506/events | https://github.com/langchain-ai/langchain/pull/14506 | 2,034,425,460 | PR_kwDOIPDwls5hnasY | 14,506 | Add Connery Tool and Toolkit | {
"login": "machulav",
"id": 2857712,
"node_id": "MDQ6VXNlcjI4NTc3MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2857712?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/machulav",
"html_url": "https://github.com/machulav",
"followers_url": "https://api.github.com/users/machulav/followers",
"following_url": "https://api.github.com/users/machulav/following{/other_user}",
"gists_url": "https://api.github.com/users/machulav/gists{/gist_id}",
"starred_url": "https://api.github.com/users/machulav/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/machulav/subscriptions",
"organizations_url": "https://api.github.com/users/machulav/orgs",
"repos_url": "https://api.github.com/users/machulav/repos",
"events_url": "https://api.github.com/users/machulav/events{/privacy}",
"received_events_url": "https://api.github.com/users/machulav/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": 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."
}
] | open | false | null | [] | null | 2 | 2023-12-10T15:50:26 | 2024-01-15T23:26:55 | null | NONE | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
## Summary
This PR implements the "Connery Action Tool" and "Connery Toolkit". Using them, you can integrate Connery actions into your LangChain agents and chains.
Connery is an open-source plugin infrastructure for AI.
With Connery, you can easily create a custom plugin with a set of actions and seamlessly integrate them into your LangChain agents and chains. Connery will handle the rest: runtime, authorization, secret management, access management, audit logs, and other vital features. Additionally, Connery and our community offer a wide range of ready-to-use open-source plugins for your convenience.
Learn more about Connery:
- GitHub: https://github.com/connery-io/connery-platform
- Documentation: https://docs.connery.io
- Twitter: https://twitter.com/connery_io
## TODOs
- [x] API wrapper
- [x] Integration tests
- [x] Connery Action Tool
- [x] Docs
- [x] Example
- [x] Integration tests
- [x] Connery Toolkit
- [x] Docs
- [x] Example
- [x] Formatting (`make format`)
- [x] Linting (`make lint`)
- [x] Testing (`make test`)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14506/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14506",
"html_url": "https://github.com/langchain-ai/langchain/pull/14506",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14506.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14506.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14505 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14505/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14505/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14505/events | https://github.com/langchain-ai/langchain/issues/14505 | 2,034,414,953 | I_kwDOIPDwls55QrVp | 14,505 | DOC: LLM Caching example using in-memory cache is unclear | {
"login": "jkraunelis",
"id": 6137531,
"node_id": "MDQ6VXNlcjYxMzc1MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6137531?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jkraunelis",
"html_url": "https://github.com/jkraunelis",
"followers_url": "https://api.github.com/users/jkraunelis/followers",
"following_url": "https://api.github.com/users/jkraunelis/following{/other_user}",
"gists_url": "https://api.github.com/users/jkraunelis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jkraunelis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jkraunelis/subscriptions",
"organizations_url": "https://api.github.com/users/jkraunelis/orgs",
"repos_url": "https://api.github.com/users/jkraunelis/repos",
"events_url": "https://api.github.com/users/jkraunelis/events{/privacy}",
"received_events_url": "https://api.github.com/users/jkraunelis/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"
}
] | open | false | null | [] | null | 1 | 2023-12-10T15:22:40 | 2023-12-10T15:29:34 | null | NONE | null | ### Issue with current documentation:
The in-memory cache section of the LLM Caching documentation shows uncached and subsequent cached responses that differ. The later examples show cached responses that are the same as the uncached response, which makes more sense.
### Idea or request for content:
The cached response under LLM Caching: In-memory should be "\n\nWhy couldn't the bicycle stand up by itself? It was...two tired!" | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14505/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14504 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14504/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14504/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14504/events | https://github.com/langchain-ai/langchain/pull/14504 | 2,034,376,824 | PR_kwDOIPDwls5hnQ9y | 14,504 | Support weight only quantization with intel-extension-for-transformers. | {
"login": "PenghuiCheng",
"id": 42089598,
"node_id": "MDQ6VXNlcjQyMDg5NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/42089598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PenghuiCheng",
"html_url": "https://github.com/PenghuiCheng",
"followers_url": "https://api.github.com/users/PenghuiCheng/followers",
"following_url": "https://api.github.com/users/PenghuiCheng/following{/other_user}",
"gists_url": "https://api.github.com/users/PenghuiCheng/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PenghuiCheng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PenghuiCheng/subscriptions",
"organizations_url": "https://api.github.com/users/PenghuiCheng/orgs",
"repos_url": "https://api.github.com/users/PenghuiCheng/repos",
"events_url": "https://api.github.com/users/PenghuiCheng/events{/privacy}",
"received_events_url": "https://api.github.com/users/PenghuiCheng/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."
}
] | open | false | null | [] | null | 3 | 2023-12-10T13:43:08 | 2024-01-03T07:00:57 | null | NONE | null | Support weight only quantization with intel-extension-for-transformers.
[Intel® Extension for Transformers](https://github.com/intel/intel-extension-for-transformers) is an innovative toolkit to accelerate Transformer-based models on Intel platforms, in particular effective on 4th Intel Xeon Scalable processor [Sapphire Rapids](https://www.intel.com/content/www/us/en/products/docs/processors/xeon-accelerated/4th-gen-xeon-scalable-processors.html) (codenamed Sapphire Rapids). The toolkit provides the below key features:
* Seamless user experience of model compressions on Transformer-based models by extending [Hugging Face transformers](https://github.com/huggingface/transformers) APIs and leveraging [Intel® Neural Compressor](https://github.com/intel/neural-compressor)
* Advanced software optimizations and unique compression-aware runtime.
* Optimized Transformer-based model packages.
* [NeuralChat](https://github.com/intel/intel-extension-for-transformers/blob/main/intel_extension_for_transformers/neural_chat), a customizable chatbot framework to create your own chatbot within minutes by leveraging a rich set of plugins and SOTA optimizations.
* [Inference](https://github.com/intel/intel-extension-for-transformers/blob/main/intel_extension_for_transformers/llm/runtime/graph) of Large Language Model (LLM) in pure C/C++ with weight-only quantization kernels.
This PR is an integration of weight only quantization feature with intel-extension-for-transformers.
Unit test is in lib/langchain/tests/integration_tests/llm/test_weight_only_quantization.py
The notebook is in docs/docs/integrations/llms/weight_only_quantization.ipynb.
The document is in docs/docs/integrations/providers/weight_only_quantization.mdx.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14504/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14504",
"html_url": "https://github.com/langchain-ai/langchain/pull/14504",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14504.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14504.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14502 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14502/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14502/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14502/events | https://github.com/langchain-ai/langchain/pull/14502 | 2,034,351,297 | PR_kwDOIPDwls5hnLyS | 14,502 | docs[patch] Fix some typos in merger_retriever.ipynb | {
"login": "standby24x7",
"id": 107643,
"node_id": "MDQ6VXNlcjEwNzY0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/107643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/standby24x7",
"html_url": "https://github.com/standby24x7",
"followers_url": "https://api.github.com/users/standby24x7/followers",
"following_url": "https://api.github.com/users/standby24x7/following{/other_user}",
"gists_url": "https://api.github.com/users/standby24x7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/standby24x7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/standby24x7/subscriptions",
"organizations_url": "https://api.github.com/users/standby24x7/orgs",
"repos_url": "https://api.github.com/users/standby24x7/repos",
"events_url": "https://api.github.com/users/standby24x7/events{/privacy}",
"received_events_url": "https://api.github.com/users/standby24x7/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-10T12:30:38 | 2023-12-13T01:02:45 | 2023-12-13T01:02:45 | CONTRIBUTOR | null | This patch fixes some typos.
<!-- 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/14502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14502/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14502",
"html_url": "https://github.com/langchain-ai/langchain/pull/14502",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14502.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14502.patch",
"merged_at": "2023-12-13T01:02:45"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14500 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14500/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14500/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14500/events | https://github.com/langchain-ai/langchain/pull/14500 | 2,034,226,880 | PR_kwDOIPDwls5hmymr | 14,500 | Validate_template modification. | {
"login": "venkatsubash2003",
"id": 88431249,
"node_id": "MDQ6VXNlcjg4NDMxMjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/88431249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/venkatsubash2003",
"html_url": "https://github.com/venkatsubash2003",
"followers_url": "https://api.github.com/users/venkatsubash2003/followers",
"following_url": "https://api.github.com/users/venkatsubash2003/following{/other_user}",
"gists_url": "https://api.github.com/users/venkatsubash2003/gists{/gist_id}",
"starred_url": "https://api.github.com/users/venkatsubash2003/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/venkatsubash2003/subscriptions",
"organizations_url": "https://api.github.com/users/venkatsubash2003/orgs",
"repos_url": "https://api.github.com/users/venkatsubash2003/repos",
"events_url": "https://api.github.com/users/venkatsubash2003/events{/privacy}",
"received_events_url": "https://api.github.com/users/venkatsubash2003/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 | 3 | 2023-12-10T05:30:15 | 2023-12-12T13:16:29 | 2023-12-12T13:16:29 | NONE | null | I have made changes to the validate_template Document.
The validate_template is now set to False by default while creating a PromptTemplate. So, I have made sure that those changes are now being reflected in this new validate.ipynb file where I have written codes by using both the cases, that are validate_template = True and validate_template = True.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14500/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14500",
"html_url": "https://github.com/langchain-ai/langchain/pull/14500",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14500.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14500.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14498 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14498/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14498/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14498/events | https://github.com/langchain-ai/langchain/pull/14498 | 2,034,146,584 | PR_kwDOIPDwls5hmifv | 14,498 | Harrison/docs update comm | {
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"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-10T00:19:58 | 2023-12-11T17:25:25 | 2023-12-11T17:25:24 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14498/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14498",
"html_url": "https://github.com/langchain-ai/langchain/pull/14498",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14498.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14498.patch",
"merged_at": "2023-12-11T17:25:24"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14497 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14497/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14497/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14497/events | https://github.com/langchain-ai/langchain/pull/14497 | 2,034,141,585 | PR_kwDOIPDwls5hmhk6 | 14,497 | [docs]: add missing tiktoken dependency | {
"login": "peterj",
"id": 11080940,
"node_id": "MDQ6VXNlcjExMDgwOTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/11080940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peterj",
"html_url": "https://github.com/peterj",
"followers_url": "https://api.github.com/users/peterj/followers",
"following_url": "https://api.github.com/users/peterj/following{/other_user}",
"gists_url": "https://api.github.com/users/peterj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/peterj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/peterj/subscriptions",
"organizations_url": "https://api.github.com/users/peterj/orgs",
"repos_url": "https://api.github.com/users/peterj/repos",
"events_url": "https://api.github.com/users/peterj/events{/privacy}",
"received_events_url": "https://api.github.com/users/peterj/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": 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-10T00:04:07 | 2023-12-13T01:04:49 | 2023-12-13T01:04:49 | CONTRIBUTOR | null | Description: I was following the docs and got an error about missing tiktoken dependency. Adding it to the comment where the langchain and docarray libs are. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14497/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14497",
"html_url": "https://github.com/langchain-ai/langchain/pull/14497",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14497.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14497.patch",
"merged_at": "2023-12-13T01:04:49"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14496 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14496/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14496/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14496/events | https://github.com/langchain-ai/langchain/pull/14496 | 2,034,041,381 | PR_kwDOIPDwls5hmMeH | 14,496 | feat: Yaml output parser | {
"login": "TomTom101",
"id": 872712,
"node_id": "MDQ6VXNlcjg3MjcxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/872712?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomTom101",
"html_url": "https://github.com/TomTom101",
"followers_url": "https://api.github.com/users/TomTom101/followers",
"following_url": "https://api.github.com/users/TomTom101/following{/other_user}",
"gists_url": "https://api.github.com/users/TomTom101/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TomTom101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomTom101/subscriptions",
"organizations_url": "https://api.github.com/users/TomTom101/orgs",
"repos_url": "https://api.github.com/users/TomTom101/repos",
"events_url": "https://api.github.com/users/TomTom101/events{/privacy}",
"received_events_url": "https://api.github.com/users/TomTom101/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": 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-09T20:28:59 | 2023-12-13T01:04:32 | 2023-12-13T01:04:32 | CONTRIBUTOR | null | ## Description
New YAML output parser as a drop-in replacement for the Pydantic output parser. Yaml is a much more token-efficient format than JSON, proving to be **~35% faster and using the same percentage fewer completion tokens**.
☑️ Formatted
☑️ Linted
☑️ Tested (analogous to the existing`test_pydantic_parser.py`)
The YAML parser excels in situations where a list of objects is required, where the root object needs no key:
```python
class Products(BaseModel):
__root__: list[Product]
```
I ran the prompt `Generate 10 healthy, organic products` 10 times on one chain using the `PydanticOutputParser`, the other one using the`YamlOutputParser` with `Products` (see below) being the targeted model to be created.
LLMs used were Fireworks' `lama-v2-34b-code-instruct` and OpenAI `gpt-3.5-turbo`. All runs succeeded without validation errors.
```python
class Nutrition(BaseModel):
sugar: int = Field(description="Sugar in grams")
fat: float = Field(description="% of daily fat intake")
class Product(BaseModel):
name: str = Field(description="Product name")
stats: Nutrition
class Products(BaseModel):
"""A list of products"""
products: list[Product] # Used `__root__` for the yaml chain
```
Stats after 10 runs reach were as follows:
### JSON
ø time: 7.75s
ø tokens: 380.8
### YAML
ø time: 5.12s
ø tokens: 242.2
Looking forward to feedback, tips and contributions! | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14496/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14496",
"html_url": "https://github.com/langchain-ai/langchain/pull/14496",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14496.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14496.patch",
"merged_at": "2023-12-13T01:04:32"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14495 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14495/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14495/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14495/events | https://github.com/langchain-ai/langchain/pull/14495 | 2,033,964,511 | PR_kwDOIPDwls5hl8LQ | 14,495 | feature: implement _acall method for GPT4All(LLM) | {
"login": "khaledadrani",
"id": 45245894,
"node_id": "MDQ6VXNlcjQ1MjQ1ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/45245894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khaledadrani",
"html_url": "https://github.com/khaledadrani",
"followers_url": "https://api.github.com/users/khaledadrani/followers",
"following_url": "https://api.github.com/users/khaledadrani/following{/other_user}",
"gists_url": "https://api.github.com/users/khaledadrani/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khaledadrani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khaledadrani/subscriptions",
"organizations_url": "https://api.github.com/users/khaledadrani/orgs",
"repos_url": "https://api.github.com/users/khaledadrani/repos",
"events_url": "https://api.github.com/users/khaledadrani/events{/privacy}",
"received_events_url": "https://api.github.com/users/khaledadrani/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 | null | [] | null | 3 | 2023-12-09T17:55:13 | 2023-12-27T02:51:41 | null | NONE | null | - **Description:** Implement the _acall method of the class langchain.llms.gpt4all.GPT4All
- **Issue:** GPT4All chat error with async calls #5210
- **Dependencies:** no dependency
- **Tag maintainer:** @hwchase17
- **Twitter handle:** None
Okey, I tested locally.
I ran "make format". No issue.
I ran "make lint". I found this issue [How to fix error "cannot import name 'ModelMetaclass' from 'pydantic.main'"](https://stackoverflow.com/questions/76647518/how-to-fix-error-cannot-import-name-modelmetaclass-from-pydantic-main). I followed the answer pip install lightning==2.0.1 and the command ran without problem. I believe this is not related to the PR but I had to clarify this.
I ran "make test". No issue.
This is more of a fix for the existing default implementation of the _acall method inherited by the GPT4All class.
This is my first contribution ever in the open source world, so let me know if there is anything wrong.
1. Let me know if there is a need for adding unit tests and integration tests for LLMs or chains or callbacks. I read the existing tests and found out that they cover them in a generic manner.
2. I have a working example that showcases how to effectively use an asynchronous callback handler with the GPT4All and RetrievalQA. I did not find the directory docs/extra, should I put it in cookbooks?
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14495/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14495",
"html_url": "https://github.com/langchain-ai/langchain/pull/14495",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14495.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14495.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14494 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14494/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14494/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14494/events | https://github.com/langchain-ai/langchain/issues/14494 | 2,033,925,929 | I_kwDOIPDwls55Oz8p | 14,494 | AmazonKendraRetriever: Error The provided QueryText has a character count of 1020, which exceeds the limit. | {
"login": "DragoKami",
"id": 112202639,
"node_id": "U_kgDOBrATjw",
"avatar_url": "https://avatars.githubusercontent.com/u/112202639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DragoKami",
"html_url": "https://github.com/DragoKami",
"followers_url": "https://api.github.com/users/DragoKami/followers",
"following_url": "https://api.github.com/users/DragoKami/following{/other_user}",
"gists_url": "https://api.github.com/users/DragoKami/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DragoKami/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DragoKami/subscriptions",
"organizations_url": "https://api.github.com/users/DragoKami/orgs",
"repos_url": "https://api.github.com/users/DragoKami/repos",
"events_url": "https://api.github.com/users/DragoKami/events{/privacy}",
"received_events_url": "https://api.github.com/users/DragoKami/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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": 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"
}
] | open | false | null | [] | null | 5 | 2023-12-09T16:34:11 | 2023-12-10T10:32:35 | null | NONE | null | ### System Info
Langchain version: 0.0.348
Python version: 3.10.6
Platform: Linux
The issue is that when using Conversational Chain for with Kendra Retriever with memory, on any followup questions it gives this error.
My guess is somehow QueryText is getting more than the {question} value asked.
![image](https://github.com/langchain-ai/langchain/assets/147480492/ddf6ce1f-8ca2-45da-842a-06d2232ba6aa)
It works for first hit but for any follow up question (while memory is not empty) it gives this error.
### Who can help?
@hwchase17
@ago
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce error:
Create the retriever object:
from langchain.retrievers import AmazonKendraRetriever
retriever = AmazonKendraRetriever(
index_id=kendra_index_id,
top_k = 5
)
Then use it in Conversational Chain:
chain = ConversationalRetrievalChain.from_llm(
llm,
retriever=retriever,
memory=memory,
verbose=True,
condense_question_prompt=chat_prompt,
combine_docs_chain_kwargs=dict(prompt=rag_prompt))
chain.run({"question":question})
Run at least twice, to get the error.
### Expected behavior
There shouldn't be any such error.
Question or QueryText is always less than 1000 characters. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14494/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14493 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14493/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14493/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14493/events | https://github.com/langchain-ai/langchain/pull/14493 | 2,033,896,613 | PR_kwDOIPDwls5hlt63 | 14,493 | Fix token_usage None issue in ChatOpenAI with local Chatglm2-6B | {
"login": "GYiyouth",
"id": 12520517,
"node_id": "MDQ6VXNlcjEyNTIwNTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/12520517?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GYiyouth",
"html_url": "https://github.com/GYiyouth",
"followers_url": "https://api.github.com/users/GYiyouth/followers",
"following_url": "https://api.github.com/users/GYiyouth/following{/other_user}",
"gists_url": "https://api.github.com/users/GYiyouth/gists{/gist_id}",
"starred_url": "https://api.github.com/users/GYiyouth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYiyouth/subscriptions",
"organizations_url": "https://api.github.com/users/GYiyouth/orgs",
"repos_url": "https://api.github.com/users/GYiyouth/repos",
"events_url": "https://api.github.com/users/GYiyouth/events{/privacy}",
"received_events_url": "https://api.github.com/users/GYiyouth/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 | 1 | 2023-12-09T15:36:41 | 2023-12-13T01:30:38 | 2023-12-13T01:30:38 | CONTRIBUTOR | null | When using local Chatglm2-6B by changing OPENAI_BASE_URL to localhost, the token_usage in ChatOpenAI becomes None. This leads to an AttributeError when trying to access token_usage.items().
This commit adds a check to ensure token_usage is not None before accessing its items. This change prevents the AttributeError and allows ChatOpenAI to work seamlessly with a local Chatglm2-6B model, aligning with the way it operates with the OpenAI API.
<!-- 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/14493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14493/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14493",
"html_url": "https://github.com/langchain-ai/langchain/pull/14493",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14493.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14493.patch",
"merged_at": "2023-12-13T01:30:38"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14492 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14492/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14492/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14492/events | https://github.com/langchain-ai/langchain/pull/14492 | 2,033,881,005 | PR_kwDOIPDwls5hlq1O | 14,492 | refactor: Qdrant async improvements | {
"login": "Anush008",
"id": 46051506,
"node_id": "MDQ6VXNlcjQ2MDUxNTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/46051506?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anush008",
"html_url": "https://github.com/Anush008",
"followers_url": "https://api.github.com/users/Anush008/followers",
"following_url": "https://api.github.com/users/Anush008/following{/other_user}",
"gists_url": "https://api.github.com/users/Anush008/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Anush008/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Anush008/subscriptions",
"organizations_url": "https://api.github.com/users/Anush008/orgs",
"repos_url": "https://api.github.com/users/Anush008/repos",
"events_url": "https://api.github.com/users/Anush008/events{/privacy}",
"received_events_url": "https://api.github.com/users/Anush008/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": 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": 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-09T14:55:20 | 2024-01-03T05:59:59 | 2024-01-03T04:07:49 | CONTRIBUTOR | null | Follow up on https://github.com/langchain-ai/langchain/pull/13048.
This PR intends to simplify the Qdrant async implementation by replacing the internal GRPC methods with the `QdrantAsyncClient` methods.
This is a backward compatible change with no additional steps required after merge. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14492/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14492",
"html_url": "https://github.com/langchain-ai/langchain/pull/14492",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14492.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14492.patch",
"merged_at": "2024-01-03T04:07:49"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14490 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14490/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14490/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14490/events | https://github.com/langchain-ai/langchain/pull/14490 | 2,033,844,531 | PR_kwDOIPDwls5hljjZ | 14,490 | Update OpenAI Default Model to 'gpt-3.5-turbo-instruct' | {
"login": "ggeutzzang",
"id": 375580,
"node_id": "MDQ6VXNlcjM3NTU4MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/375580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggeutzzang",
"html_url": "https://github.com/ggeutzzang",
"followers_url": "https://api.github.com/users/ggeutzzang/followers",
"following_url": "https://api.github.com/users/ggeutzzang/following{/other_user}",
"gists_url": "https://api.github.com/users/ggeutzzang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggeutzzang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggeutzzang/subscriptions",
"organizations_url": "https://api.github.com/users/ggeutzzang/orgs",
"repos_url": "https://api.github.com/users/ggeutzzang/repos",
"events_url": "https://api.github.com/users/ggeutzzang/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggeutzzang/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": 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-09T13:11:14 | 2023-12-29T01:45:06 | 2023-12-29T01:45:06 | CONTRIBUTOR | null | As per the guidance provided on the OpenAI model documentation page (https://platform.openai.com/docs/models/gpt-3-5), the text-davinci-003 model is scheduled to be discontinued as of January 4, 2024.
![image](https://github.com/langchain-ai/langchain/assets/375580/2f567596-b831-4e80-899f-c9726b772463)
In response to this upcoming change, I have updated the default model in the langchain.llms.openai.OpenAI class from 'text-davinci-003' to 'gpt-3.5-turbo-instruct', following the recommendations provided by OpenAI.
![image](https://github.com/langchain-ai/langchain/assets/375580/f48ff1b2-7347-4ac3-99f5-2fe65e57a1ff)
Additionally, I have also updated the modelname_to_contextsize() method to include the maximum token count for the new models(gpt-4-1106-preview, gpt-3.5-turbo-1106) | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14490/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14490",
"html_url": "https://github.com/langchain-ai/langchain/pull/14490",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14490.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14490.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14489 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14489/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14489/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14489/events | https://github.com/langchain-ai/langchain/pull/14489 | 2,033,843,414 | PR_kwDOIPDwls5hljVC | 14,489 | fix(embeddings): huggingface hub embeddings and TEI | {
"login": "mspronesti",
"id": 44113430,
"node_id": "MDQ6VXNlcjQ0MTEzNDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/44113430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mspronesti",
"html_url": "https://github.com/mspronesti",
"followers_url": "https://api.github.com/users/mspronesti/followers",
"following_url": "https://api.github.com/users/mspronesti/following{/other_user}",
"gists_url": "https://api.github.com/users/mspronesti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mspronesti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mspronesti/subscriptions",
"organizations_url": "https://api.github.com/users/mspronesti/orgs",
"repos_url": "https://api.github.com/users/mspronesti/repos",
"events_url": "https://api.github.com/users/mspronesti/events{/privacy}",
"received_events_url": "https://api.github.com/users/mspronesti/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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 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-09T13:07:52 | 2023-12-13T01:21:53 | 2023-12-13T01:21:52 | CONTRIBUTOR | null | **Description:** This PR fixes `HuggingFaceHubEmbeddings` by making the API token optional (as in the client beneath). Most models don't require one. I also updated the notebook for TEI (text-embeddings-inference) accordingly as requested here #14288. In addition, I fixed a mistake in the POST call parameters.
**Tag maintainers:** @baskaryan | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14489/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14489",
"html_url": "https://github.com/langchain-ai/langchain/pull/14489",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14489.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14489.patch",
"merged_at": "2023-12-13T01:21:52"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14488 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14488/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14488/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14488/events | https://github.com/langchain-ai/langchain/pull/14488 | 2,033,841,045 | PR_kwDOIPDwls5hli3J | 14,488 | Fixed issue with importing Row from sqlalchemy | {
"login": "FKouhai",
"id": 24593008,
"node_id": "MDQ6VXNlcjI0NTkzMDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/24593008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FKouhai",
"html_url": "https://github.com/FKouhai",
"followers_url": "https://api.github.com/users/FKouhai/followers",
"following_url": "https://api.github.com/users/FKouhai/following{/other_user}",
"gists_url": "https://api.github.com/users/FKouhai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/FKouhai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FKouhai/subscriptions",
"organizations_url": "https://api.github.com/users/FKouhai/orgs",
"repos_url": "https://api.github.com/users/FKouhai/repos",
"events_url": "https://api.github.com/users/FKouhai/events{/privacy}",
"received_events_url": "https://api.github.com/users/FKouhai/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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": 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-09T13:00:50 | 2023-12-13T22:36:08 | 2023-12-13T22:36:08 | CONTRIBUTOR | null | - **Description:** Fixed import of Row in cache.py,
- **Issue:** the issue # #13464 https://creditone.us.to/langchain-ai/langchain/issues/13464,
- **Dependencies:** None,
- **Twitter handle:** @frankybridman | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14488/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14488",
"html_url": "https://github.com/langchain-ai/langchain/pull/14488",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14488.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14488.patch",
"merged_at": "2023-12-13T22:36:08"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14487 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14487/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14487/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14487/events | https://github.com/langchain-ai/langchain/issues/14487 | 2,033,828,081 | I_kwDOIPDwls55OcDx | 14,487 | why the sql langchain's custom prompt is not working? | {
"login": "SonamJain1",
"id": 86380639,
"node_id": "MDQ6VXNlcjg2MzgwNjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/86380639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SonamJain1",
"html_url": "https://github.com/SonamJain1",
"followers_url": "https://api.github.com/users/SonamJain1/followers",
"following_url": "https://api.github.com/users/SonamJain1/following{/other_user}",
"gists_url": "https://api.github.com/users/SonamJain1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SonamJain1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SonamJain1/subscriptions",
"organizations_url": "https://api.github.com/users/SonamJain1/orgs",
"repos_url": "https://api.github.com/users/SonamJain1/repos",
"events_url": "https://api.github.com/users/SonamJain1/events{/privacy}",
"received_events_url": "https://api.github.com/users/SonamJain1/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 | 2 | 2023-12-09T12:19:40 | 2023-12-10T05:22:22 | null | NONE | null | ### Issue you'd like to raise.
I tried to work on SQL cutsom prompt, but it didn't work and is still giving the wrong sql queries . Here is the code : def process_user_input(user_input):
create_db()
input_db = SQLDatabase.from_uri('sqlite:///sample_db_2.sqlite')
llm_1 = OpenAI(temperature=0)
db_agent = SQLDatabaseChain.from_llm(llm = llm_1,
db = input_db,
verbose=True,)
chain = create_sql_query_chain(ChatOpenAI(temperature=0), input_db)
response = chain.invoke({"question": user_input})
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14487/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14486 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14486/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14486/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14486/events | https://github.com/langchain-ai/langchain/pull/14486 | 2,033,728,088 | PR_kwDOIPDwls5hlLS0 | 14,486 | DOC: model update in 'Using OpenAI Functions' docs | {
"login": "ggeutzzang",
"id": 375580,
"node_id": "MDQ6VXNlcjM3NTU4MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/375580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggeutzzang",
"html_url": "https://github.com/ggeutzzang",
"followers_url": "https://api.github.com/users/ggeutzzang/followers",
"following_url": "https://api.github.com/users/ggeutzzang/following{/other_user}",
"gists_url": "https://api.github.com/users/ggeutzzang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggeutzzang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggeutzzang/subscriptions",
"organizations_url": "https://api.github.com/users/ggeutzzang/orgs",
"repos_url": "https://api.github.com/users/ggeutzzang/repos",
"events_url": "https://api.github.com/users/ggeutzzang/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggeutzzang/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": 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-09T08:31:23 | 2023-12-13T05:14:03 | 2023-12-13T01:31:08 | CONTRIBUTOR | null | - **Description:** :
I just update the openai functions docs to use the latest model (ex. gpt-3.5-turbo-1106)
https://python.langchain.com/docs/modules/chains/how_to/openai_functions
The reason is as follow:
After reviewing the OpenAI Function Calling official guide at https://platform.openai.com/docs/guides/function-calling, the following information was noted:
> "The latest models (gpt-3.5-turbo-1106 and gpt-4-1106-preview) have been trained to both detect when a function should be called (depending on the input) and to respond with JSON that adheres to the function signature more closely than previous models. With this capability also comes potential risks. We strongly recommend building in user confirmation flows before taking actions that impact the world on behalf of users (sending an email, posting something online, making a purchase, etc)."
CC: @efriis | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14486/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14486",
"html_url": "https://github.com/langchain-ai/langchain/pull/14486",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14486.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14486.patch",
"merged_at": "2023-12-13T01:31:08"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14485 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14485/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14485/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14485/events | https://github.com/langchain-ai/langchain/issues/14485 | 2,033,718,595 | I_kwDOIPDwls55OBVD | 14,485 | Retrievers don't seem to work properly with ollama | {
"login": "codebanesr",
"id": 17947802,
"node_id": "MDQ6VXNlcjE3OTQ3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/17947802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codebanesr",
"html_url": "https://github.com/codebanesr",
"followers_url": "https://api.github.com/users/codebanesr/followers",
"following_url": "https://api.github.com/users/codebanesr/following{/other_user}",
"gists_url": "https://api.github.com/users/codebanesr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codebanesr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codebanesr/subscriptions",
"organizations_url": "https://api.github.com/users/codebanesr/orgs",
"repos_url": "https://api.github.com/users/codebanesr/repos",
"events_url": "https://api.github.com/users/codebanesr/events{/privacy}",
"received_events_url": "https://api.github.com/users/codebanesr/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | closed | false | null | [] | null | 4 | 2023-12-09T08:06:14 | 2023-12-10T04:17:57 | 2023-12-10T04:17:56 | NONE | null | ### System Info
I have retriever implementation like this
```
def get_vector_store(options: StoreOptions) -> VectorStore:
"""Gets the vector store for the given options."""
vector_store: VectorStore
embedding = get_embeddings()
store_type = os.environ.get("STORE")
if store_type == StoreType.QDRANT.value:
client = qdrant_client.QdrantClient(
url=os.environ["QDRANT_URL"],
prefer_grpc=True,
api_key=os.getenv("QDRANT_API_KEY", None),
)
vector_store = Qdrant(
client, collection_name=options.namespace, embeddings=embedding
)
# vector_store = Qdrant.from_documents([], embedding, url='http://localhost:6333', collection=options.namespace)
else:
raise ValueError("Invalid STORE environment variable value")
return vector_store
```
get-embeddings.py
```
return OllamaEmbeddings(base_url=f"host.docker.internal:11434", model="mistral")
```
```
knowledgebase: VectorStore = get_vector_store(StoreOptions("knowledgebase"))
async def get_relevant_docs(text: str, bot_id: str) -> Optional[str]:
try:
kb_retriever = knowledgebase.as_retriever(
search_kwargs={
"k": 3,
"score_threshold": vs_thresholds.get("kb_score_threshold"),
"filter": {"bot_id": bot_id},
},
)
result = kb_retriever.get_relevant_documents(text)
if result and len(result) > 0:
# Assuming result is a list of objects and each object has a page_content attribute
all_page_content = "\n\n".join([item.page_content for item in result])
return all_page_content
return None
except Exception as e:
logger.error(
"Error occurred while getting relevant docs",
incident="get_relevant_docs",
payload=text,
error=str(e),
)
return None
```
As long as i use chatgpt embeddings and chat models, i get the correct outputs. Once i switch to ollama, none of my retrievers are working.
I see the documents being ingested to qdrant, which means embeddings are working, but retrievers fail to retrieve any document
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
ss
### Expected behavior
retrievers should be able to fetch the documents from qdrant irrespective of embedding models being used | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14485/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14484 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14484/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14484/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14484/events | https://github.com/langchain-ai/langchain/pull/14484 | 2,033,681,891 | PR_kwDOIPDwls5hlBdC | 14,484 | fix dashvector endpoint params error | {
"login": "Funkeke",
"id": 153349156,
"node_id": "U_kgDOCSPsJA",
"avatar_url": "https://avatars.githubusercontent.com/u/153349156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Funkeke",
"html_url": "https://github.com/Funkeke",
"followers_url": "https://api.github.com/users/Funkeke/followers",
"following_url": "https://api.github.com/users/Funkeke/following{/other_user}",
"gists_url": "https://api.github.com/users/Funkeke/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Funkeke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Funkeke/subscriptions",
"organizations_url": "https://api.github.com/users/Funkeke/orgs",
"repos_url": "https://api.github.com/users/Funkeke/repos",
"events_url": "https://api.github.com/users/Funkeke/events{/privacy}",
"received_events_url": "https://api.github.com/users/Funkeke/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": 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": 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-09T07:11:28 | 2023-12-13T22:38:28 | 2023-12-13T22:38:28 | 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/14484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14484/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14484",
"html_url": "https://github.com/langchain-ai/langchain/pull/14484",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14484.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14484.patch",
"merged_at": "2023-12-13T22:38:28"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14483 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14483/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14483/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14483/events | https://github.com/langchain-ai/langchain/issues/14483 | 2,033,679,268 | I_kwDOIPDwls55N3uk | 14,483 | generic codebase? | {
"login": "DiTo97",
"id": 40361744,
"node_id": "MDQ6VXNlcjQwMzYxNzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/40361744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DiTo97",
"html_url": "https://github.com/DiTo97",
"followers_url": "https://api.github.com/users/DiTo97/followers",
"following_url": "https://api.github.com/users/DiTo97/following{/other_user}",
"gists_url": "https://api.github.com/users/DiTo97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DiTo97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DiTo97/subscriptions",
"organizations_url": "https://api.github.com/users/DiTo97/orgs",
"repos_url": "https://api.github.com/users/DiTo97/repos",
"events_url": "https://api.github.com/users/DiTo97/events{/privacy}",
"received_events_url": "https://api.github.com/users/DiTo97/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": 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 | 7 | 2023-12-09T07:06:17 | 2024-01-02T18:57:53 | null | NONE | null | ### Feature request
It would be nice to write code for any generic LLM to use in a given chain, being able to specify its provider and parameters in a config file outside the source code.
Is there a built-in way to do so? What major roadblocks would you see in doing that?
### Motivation
Most examples that I see in the docs or over the Internet tend to specify from code whether the LLM to be used in a given chain has to be from openAI, anthropic, LLaMA, etc., resulting in different codebases, while it would be great to write one single unified codebase and compare the performance of different open-source or API LLMs by simply changing one line of config.
This would be especially relevant when the specific LLM provider is not set or known from the get-go and multiple ones should be compared to find the most suitable one in terms of perfomance, efficiency and cost for any given LLM-driven application.
### Your contribution
I don't have time for a PR now, but since I have been doing a similar thing for our private codebase at the laboratory, combining openAI, anthropic and LLaMA under a single unified spell without using the langchain framework, I may be interested in supporting that in the future as the framework already has lots of interesting features in terms of tooling, memory and storage. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14483/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14482 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14482/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14482/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14482/events | https://github.com/langchain-ai/langchain/pull/14482 | 2,033,666,978 | PR_kwDOIPDwls5hk-Mk | 14,482 | Permit updates in indexing | {
"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": 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": 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-09T06:41:27 | 2023-12-16T21:34:35 | 2023-12-16T21:34:34 | COLLABORATOR | null | Currently doesn't seem like there's a way to update the representation of an existing doc | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14482/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14482",
"html_url": "https://github.com/langchain-ai/langchain/pull/14482",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14482.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14482.patch",
"merged_at": "2023-12-16T21:34:34"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14481 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14481/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14481/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14481/events | https://github.com/langchain-ai/langchain/pull/14481 | 2,033,627,505 | PR_kwDOIPDwls5hk1mq | 14,481 | feat: adding paygo api support | {
"login": "santiagxf",
"id": 32112894,
"node_id": "MDQ6VXNlcjMyMTEyODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/32112894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/santiagxf",
"html_url": "https://github.com/santiagxf",
"followers_url": "https://api.github.com/users/santiagxf/followers",
"following_url": "https://api.github.com/users/santiagxf/following{/other_user}",
"gists_url": "https://api.github.com/users/santiagxf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/santiagxf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/santiagxf/subscriptions",
"organizations_url": "https://api.github.com/users/santiagxf/orgs",
"repos_url": "https://api.github.com/users/santiagxf/repos",
"events_url": "https://api.github.com/users/santiagxf/events{/privacy}",
"received_events_url": "https://api.github.com/users/santiagxf/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 | 4 | 2023-12-09T05:17:15 | 2023-12-21T20:19:47 | 2023-12-11T22:17:14 | NONE | null | - **Description:** Introducing support for LLMs and Chat models running in Azure AI studio and Azure ML using the new deployment mode pay-as-you-go (model as a service).
- **Issue:** NA
- **Dependencies:** None.
- **Tag maintainer:** @prakharg-msft @gdyre
- **Twitter handle:** @santiagofacundo
Examples added:
* [docs/docs/integrations/llms/azure_ml.ipynb](https://github.com/santiagxf/langchain/blob/santiaxf/azureml-endpoints-paygo/docs/docs/integrations/llms/azure_ml.ipynb)
* [docs/docs/integrations/chat/azureml_chat_endpoint.ipynb](https://github.com/santiagxf/langchain/blob/santiaxf/azureml-endpoints-paygo/docs/docs/integrations/chat/azureml_chat_endpoint.ipynb)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14481/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14481",
"html_url": "https://github.com/langchain-ai/langchain/pull/14481",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14481.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14481.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14480 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14480/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14480/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14480/events | https://github.com/langchain-ai/langchain/pull/14480 | 2,033,610,088 | PR_kwDOIPDwls5hkx1v | 14,480 | Add Bedrock JCVD template | {
"login": "JGalego",
"id": 7282984,
"node_id": "MDQ6VXNlcjcyODI5ODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7282984?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JGalego",
"html_url": "https://github.com/JGalego",
"followers_url": "https://api.github.com/users/JGalego/followers",
"following_url": "https://api.github.com/users/JGalego/following{/other_user}",
"gists_url": "https://api.github.com/users/JGalego/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JGalego/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JGalego/subscriptions",
"organizations_url": "https://api.github.com/users/JGalego/orgs",
"repos_url": "https://api.github.com/users/JGalego/repos",
"events_url": "https://api.github.com/users/JGalego/events{/privacy}",
"received_events_url": "https://api.github.com/users/JGalego/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
},
{
"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 | 2 | 2023-12-09T04:39:06 | 2023-12-19T23:55:59 | 2023-12-19T23:55:59 | CONTRIBUTOR | null | This PR adds a simple LangChain template that uses [Anthropic's Claude on Amazon Bedrock ⛰️](https://aws.amazon.com/bedrock/claude/) to behave like JCVD. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14480/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14480",
"html_url": "https://github.com/langchain-ai/langchain/pull/14480",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14480.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14480.patch",
"merged_at": "2023-12-19T23:55:58"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14479 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14479/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14479/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14479/events | https://github.com/langchain-ai/langchain/pull/14479 | 2,033,587,943 | PR_kwDOIPDwls5hktQL | 14,479 | fix(embeddings): define task using parameters instead of json payload for HuggingFaceHubEmbeddings | {
"login": "randyphoa",
"id": 1091682,
"node_id": "MDQ6VXNlcjEwOTE2ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1091682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randyphoa",
"html_url": "https://github.com/randyphoa",
"followers_url": "https://api.github.com/users/randyphoa/followers",
"following_url": "https://api.github.com/users/randyphoa/following{/other_user}",
"gists_url": "https://api.github.com/users/randyphoa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randyphoa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randyphoa/subscriptions",
"organizations_url": "https://api.github.com/users/randyphoa/orgs",
"repos_url": "https://api.github.com/users/randyphoa/repos",
"events_url": "https://api.github.com/users/randyphoa/events{/privacy}",
"received_events_url": "https://api.github.com/users/randyphoa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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-09T03:44:48 | 2023-12-13T01:40:59 | 2023-12-13T01:40:59 | NONE | null | **Description:** This pull request explicitly defines the task of an embedding feature extraction. The current issue is the default task for models like `sentence-transformers/all-mpnet-base-v2`, is not `feature-extraction` and when running `HuggingFaceHubEmbeddings` causes an error `SentenceSimilarityInputsCheck expected dict not list`.
**Issue:** By explicitly defining the task as `feature-extraction` as per [Inference documentation](https://huggingface.co/docs/huggingface_hub/v0.19.3/en/package_reference/inference_client#huggingface_hub.AsyncInferenceClient.post), it ensures `HuggingFaceHubEmbeddings` is using the right task. Passing the task as a json payload does not work.
Here's the problem,
```
embeddings = HuggingFaceHubEmbeddings(
model="sentence-transformers/all-mpnet-base-v2",
task="feature-extraction",
huggingfacehub_api_token=os.getenv("HF_TOKEN"),
)
embeddings.embed_query("Hello Langchain!")
```
Error:
```
Bad request:
SentenceSimilarityInputsCheck expected dict not list: `__root__` in `parameters`
```
From [huggingface_hub.py](https://github.com/langchain-ai/langchain/blob/d9bfdc95ea9e37b88cdfe7c2baef51ad52713463/libs/langchain/langchain/embeddings/huggingface_hub.py#L95), a simplified problem and fix.
Current, task passed as json payload:
```
client.post(json={"inputs": text, "task": "feature-extraction"})
```
Fix, task passed explicitly:
```
client.post(json={"inputs": text}, task="feature-extraction")
```
The final fix is in the pull request.
```
responses = self.client.post(
json={"inputs": texts, "parameters": _model_kwargs},
task=self.task
)
```
**Dependencies:** None
**Tag maintainer:** @hwchase17
**Twitter handle:** @randyphoa
<!-- 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/14479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14479/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14479",
"html_url": "https://github.com/langchain-ai/langchain/pull/14479",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14479.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14479.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14478 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14478/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14478/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14478/events | https://github.com/langchain-ai/langchain/issues/14478 | 2,033,581,284 | I_kwDOIPDwls55Nfzk | 14,478 | VertexAI classs doesn't support request_timeout | {
"login": "smilepab",
"id": 138029225,
"node_id": "U_kgDOCDooqQ",
"avatar_url": "https://avatars.githubusercontent.com/u/138029225?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/smilepab",
"html_url": "https://github.com/smilepab",
"followers_url": "https://api.github.com/users/smilepab/followers",
"following_url": "https://api.github.com/users/smilepab/following{/other_user}",
"gists_url": "https://api.github.com/users/smilepab/gists{/gist_id}",
"starred_url": "https://api.github.com/users/smilepab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smilepab/subscriptions",
"organizations_url": "https://api.github.com/users/smilepab/orgs",
"repos_url": "https://api.github.com/users/smilepab/repos",
"events_url": "https://api.github.com/users/smilepab/events{/privacy}",
"received_events_url": "https://api.github.com/users/smilepab/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 | 2 | 2023-12-09T03:28:39 | 2023-12-11T08:34:31 | null | NONE | null | ### System Info
langchain==0.0.335
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Create new object of `langchain.llms.vertexai.VertexAI` class.
2. Add attribute `request_timeout` with some value.
3. Run the model. Timeout specified is not respected.
### Expected behavior
VertexAI request should timeout as per the `request_timeout` specified and then retried as per retry configuration. This works flawlessly for `AzureChatOpenAI`. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14478/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14476 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14476/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14476/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14476/events | https://github.com/langchain-ai/langchain/pull/14476 | 2,033,495,351 | PR_kwDOIPDwls5hkZXS | 14,476 | docs `microsoft` platform page 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": 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 | {
"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-09T00:53:05 | 2023-12-09T04:24:55 | 2023-12-09T01:40:31 | COLLABORATOR | null | Added `presidio` and `OneNote` references to `microsoft.mdx`; added link and description to the `presidio` notebook | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14476/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14476",
"html_url": "https://github.com/langchain-ai/langchain/pull/14476",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14476.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14476.patch",
"merged_at": "2023-12-09T01:40:31"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14475 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14475/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14475/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14475/events | https://github.com/langchain-ai/langchain/pull/14475 | 2,033,452,454 | PR_kwDOIPDwls5hkPqA | 14,475 | docs `google` platform page 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": 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 | {
"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-09T00:08:18 | 2023-12-09T04:25:28 | 2023-12-09T01:40:44 | COLLABORATOR | null | Added missed tools | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14475/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14475",
"html_url": "https://github.com/langchain-ai/langchain/pull/14475",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14475.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14475.patch",
"merged_at": "2023-12-09T01:40:44"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14474 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14474/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14474/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14474/events | https://github.com/langchain-ai/langchain/pull/14474 | 2,033,447,343 | PR_kwDOIPDwls5hkOl5 | 14,474 | langchain[patch], docs[patch]: use byte store in multivectorretriever
| {
"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": 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-08T23:58:39 | 2023-12-09T00:26:12 | 2023-12-09T00:26:11 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14474/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14474",
"html_url": "https://github.com/langchain-ai/langchain/pull/14474",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14474.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14474.patch",
"merged_at": "2023-12-09T00:26:11"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14473 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14473/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14473/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14473/events | https://github.com/langchain-ai/langchain/pull/14473 | 2,033,425,979 | PR_kwDOIPDwls5hkJ-3 | 14,473 | Update README and vectorstore path for multi-modal 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": 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": 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-08T23:21:49 | 2023-12-08T23:24:08 | 2023-12-08T23:24:05 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14473/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14473",
"html_url": "https://github.com/langchain-ai/langchain/pull/14473",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14473.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14473.patch",
"merged_at": "2023-12-08T23:24:05"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14472 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14472/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14472/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14472/events | https://github.com/langchain-ai/langchain/issues/14472 | 2,033,402,079 | I_kwDOIPDwls55M0Df | 14,472 | DOC: Need clarity on Pinecone.from_documents and OpenAIEmbeddings. | {
"login": "abemdxb",
"id": 149266163,
"node_id": "U_kgDOCOWe8w",
"avatar_url": "https://avatars.githubusercontent.com/u/149266163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abemdxb",
"html_url": "https://github.com/abemdxb",
"followers_url": "https://api.github.com/users/abemdxb/followers",
"following_url": "https://api.github.com/users/abemdxb/following{/other_user}",
"gists_url": "https://api.github.com/users/abemdxb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abemdxb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abemdxb/subscriptions",
"organizations_url": "https://api.github.com/users/abemdxb/orgs",
"repos_url": "https://api.github.com/users/abemdxb/repos",
"events_url": "https://api.github.com/users/abemdxb/events{/privacy}",
"received_events_url": "https://api.github.com/users/abemdxb/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5932474361,
"node_id": "LA_kwDOIPDwls8AAAABYZpf-Q",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone",
"name": "integration: pinecone",
"color": "BC53BE",
"default": false,
"description": "Related to Pinecone vector store integration"
}
] | open | false | null | [] | null | 7 | 2023-12-08T22:48:39 | 2023-12-09T14:30:52 | null | NONE | null | ### Issue with current documentation:
Hi,
I'm trying to understand _**Pinecone.from_documents**_ as shown [here ](https://python.langchain.com/docs/integrations/vectorstores/pinecone).
I saw it used the same way in another tutorial as well and it seems like it should be calling OpenAIEmbeddings.embed_documents at some point and then upserting the texts and vectors to the pinecone index, but I can't find the actual python file for the method or any documentation anywhere.
I'm trying to adapt it and need to understand how **_from_documents_** works. Specifically I am trying to do the following and am curious if the method could be used in this way
My goals:
- Use Pinecone.from_documents(documents, embeddings, index_name=index_name, namespace=namespace) in a for loop where in each iteration namespace change and the "chunked" documents are different. Each namespace represents a different chunking strategy for an experiment.
Note that I defined embeddings=OpenAIEmbeddingsWrapper(model=embedding_model_name) before the for loop, where OpenAIEmbeddingsWrapper is a wrapper class around the OpenAIEmbeddings object, and embedding_model_name="text-embedding-ada-002".
Why I'm asking:
- It seems like the number of texts and vectors that I can extract from OpenAIEmbeddingsWrapper (using the OpenAIEmbeddings.embed_documents method) for each namespace doesn't match what's in Pinecone (610 texts/vectors from the method vs 1251 in Pinecone).
### Idea or request for content:
Can you share some details about Pinecone.from_documents and if it can be used multiple times to upsert chunk documents onto a pinecone index? | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14472/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14471 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14471/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14471/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14471/events | https://github.com/langchain-ai/langchain/pull/14471 | 2,033,359,449 | PR_kwDOIPDwls5hj71M | 14,471 | docs cleanup | {
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 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 | {
"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-08T21:57:27 | 2023-12-08T23:41:10 | 2023-12-08T23:24:39 | COLLABORATOR | null | Fixed inconsistencies; added links and descriptions | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14471/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14471",
"html_url": "https://github.com/langchain-ai/langchain/pull/14471",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14471.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14471.patch",
"merged_at": "2023-12-08T23:24:39"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14470 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14470/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14470/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14470/events | https://github.com/langchain-ai/langchain/issues/14470 | 2,033,344,391 | I_kwDOIPDwls55Ml-H | 14,470 | agent executor not using custom openai_api_base | {
"login": "ethankershner",
"id": 17482853,
"node_id": "MDQ6VXNlcjE3NDgyODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/17482853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethankershner",
"html_url": "https://github.com/ethankershner",
"followers_url": "https://api.github.com/users/ethankershner/followers",
"following_url": "https://api.github.com/users/ethankershner/following{/other_user}",
"gists_url": "https://api.github.com/users/ethankershner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ethankershner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ethankershner/subscriptions",
"organizations_url": "https://api.github.com/users/ethankershner/orgs",
"repos_url": "https://api.github.com/users/ethankershner/repos",
"events_url": "https://api.github.com/users/ethankershner/events{/privacy}",
"received_events_url": "https://api.github.com/users/ethankershner/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 | 10 | 2023-12-08T21:41:20 | 2023-12-11T20:35:51 | null | NONE | null | ### System Info
OS: Using docker image amd64/python:3.10-slim
Python Version: 3.10.13
Langchain Version: 0.0.336
OpenAI Version: 0.27.7
Tenacity Version: 4.65.0
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
When I try to use an llm with a custom openai_api_base argument within an agent, the agent appears to be attempting to access the **OpenAI** API endpoint instead of the custom one I have specified.
Running:
llm = ChatOpenAI(default_headers={"api-key":"**REDACTED**",
openai_api_base="**REDACTED**",
openai_api_key="none").bind(stop=["\nObservation"])
tools = []
tools.append(Tool.from_function(func=self.get_scores,
name="get_scores",
description="function to get scores"))
prompt = PromptTemplate.from_template("""Answer the following questions as best you can. You have access to the following tools:
{tools}
Use the following format:
Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [{tool_names}]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question
Begin!
Question: {input}
Thought:{agent_scratchpad}""")
prompt = prompt.partial(tools=render_text_description(tools),
tool_names=", ".join([t.name for t in tools]),
)
agent = (
{
"input": lambda x: x["input"],
"agent_scratchpad": lambda x: format_log_to_str(x["intermediate_steps"]),
}
| prompt
| llm
| ReActSingleInputOutputParser()
)
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
output = agent_executor.invoke({"input":"foo"})
yields:
`File "/usr/local/lib/python3.10/site-packages/langchain/chains/base.py", line 87, in invoke
return self(
File "/usr/local/lib/python3.10/site-packages/langchain/chains/base.py", line 310, in __call__
raise e
File "/usr/local/lib/python3.10/site-packages/langchain/chains/base.py", line 304, in __call__
self._call(inputs, run_manager=run_manager)
File "/usr/local/lib/python3.10/site-packages/langchain/agents/agent.py", line 1245, in _call
next_step_output = self._take_next_step(
File "/usr/local/lib/python3.10/site-packages/langchain/agents/agent.py", line 1032, in _take_next_step
output = self.agent.plan(
File "/usr/local/lib/python3.10/site-packages/langchain/agents/agent.py", line 385, in plan
output = self.runnable.invoke(inputs, config={"callbacks": callbacks})
File "/usr/local/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 1427, in invoke
input = step.invoke(
File "/usr/local/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2787, in invoke
return self.bound.invoke(
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/base.py", line 142, in invoke
self.generate_prompt(
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/base.py", line 459, in generate_prompt
return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs)
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/base.py", line 349, in generate
raise e
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/base.py", line 339, in generate
self._generate_with_cache(
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/base.py", line 492, in _generate_with_cache
return self._generate(
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/openai.py", line 422, in _generate
response = self.completion_with_retry(
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/openai.py", line 352, in completion_with_retry
return _completion_with_retry(**kwargs)
File "/usr/local/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/usr/local/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
raise retry_exc.reraise()
File "/usr/local/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
raise self.last_attempt.result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/langchain/chat_models/openai.py", line 350, in _completion_with_retry
return self.client.create(**kwargs)
File "/usr/local/lib/python3.10/site-packages/openai/api_resources/chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/usr/local/lib/python3.10/site-packages/openai/api_requestor.py", line 230, in request
resp, got_stream = self._interpret_response(result, stream)
File "/usr/local/lib/python3.10/site-packages/openai/api_requestor.py", line 624, in _interpret_response
self._interpret_response_line(
File "/usr/local/lib/python3.10/site-packages/openai/api_requestor.py", line 687, in _interpret_response_line
raise self.handle_error_response(
File "/usr/local/lib/python3.10/site-packages/openai/api_requestor.py", line 337, in handle_error_response
raise error.APIError(
openai.error.APIError: Invalid response object from API: '{\n "detail": "No authorization token provided",\n "status": 401,\n "title": "Unauthorized",\n "type": "about:blank"\n}\n' (HTTP response code was 401)`
When I change the openai_api_base to something nonsensical, the same error is returned, making me think that it is using OpenAI's API base and not the custom one specified.
### Expected behavior
I would expect the agent to work as shown here: https://python.langchain.com/docs/modules/agents/agent_types/react | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14470/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14469 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14469/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14469/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14469/events | https://github.com/langchain-ai/langchain/pull/14469 | 2,033,334,820 | PR_kwDOIPDwls5hj2b9 | 14,469 | infra: add langchain-community release 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": 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": 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-08T21:31:01 | 2023-12-08T21:31:16 | 2023-12-08T21:31:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14469/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14469",
"html_url": "https://github.com/langchain-ai/langchain/pull/14469",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14469.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14469.patch",
"merged_at": "2023-12-08T21:31:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14468 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14468/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14468/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14468/events | https://github.com/langchain-ai/langchain/pull/14468 | 2,033,321,082 | PR_kwDOIPDwls5hjzdQ | 14,468 | Fixed `DeprecationWarning` for `PromptTemplate.from_file` module-level calls | {
"login": "jamesbraza",
"id": 8990777,
"node_id": "MDQ6VXNlcjg5OTA3Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8990777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesbraza",
"html_url": "https://github.com/jamesbraza",
"followers_url": "https://api.github.com/users/jamesbraza/followers",
"following_url": "https://api.github.com/users/jamesbraza/following{/other_user}",
"gists_url": "https://api.github.com/users/jamesbraza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamesbraza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamesbraza/subscriptions",
"organizations_url": "https://api.github.com/users/jamesbraza/orgs",
"repos_url": "https://api.github.com/users/jamesbraza/repos",
"events_url": "https://api.github.com/users/jamesbraza/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamesbraza/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 | {
"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-08T21:15:28 | 2023-12-13T05:31:28 | 2023-12-13T01:43:27 | CONTRIBUTOR | null | Resolves https://github.com/langchain-ai/langchain/issues/14467 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14468/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14468",
"html_url": "https://github.com/langchain-ai/langchain/pull/14468",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14468.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14468.patch",
"merged_at": "2023-12-13T01:43:27"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14467 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14467/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14467/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14467/events | https://github.com/langchain-ai/langchain/issues/14467 | 2,033,316,778 | I_kwDOIPDwls55MfOq | 14,467 | DeprecationWarning: `input_variables' is deprecated and ignored | {
"login": "jamesbraza",
"id": 8990777,
"node_id": "MDQ6VXNlcjg5OTA3Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8990777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesbraza",
"html_url": "https://github.com/jamesbraza",
"followers_url": "https://api.github.com/users/jamesbraza/followers",
"following_url": "https://api.github.com/users/jamesbraza/following{/other_user}",
"gists_url": "https://api.github.com/users/jamesbraza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamesbraza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamesbraza/subscriptions",
"organizations_url": "https://api.github.com/users/jamesbraza/orgs",
"repos_url": "https://api.github.com/users/jamesbraza/repos",
"events_url": "https://api.github.com/users/jamesbraza/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamesbraza/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-08T21:10:46 | 2023-12-13T01:43:28 | 2023-12-13T01:43:28 | CONTRIBUTOR | null | ### System Info
langchain==0.0.346
### Who can help?
@hwch
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
https://github.com/langchain-ai/langchain/pull/14266 added a deprecation for `input_variables` argument of `PromptTemplate.from_file`. It was released in 0.0.346.
However, https://github.com/langchain-ai/langchain/blob/v0.0.346/libs/langchain/langchain/chains/llm_summarization_checker/base.py#L20-L31 still uses `input_variables` at the module-level. So now this `DeprecationWarning` is emitted simply for importing from LangChain.
Can we fix this, so LangChain isn't emitting `DeprecationWarning`s?
### Expected behavior
I expect LangChain to not automatically emit `DeprecationWarning`s when importing from it | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14467/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14466 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14466/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14466/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14466/events | https://github.com/langchain-ai/langchain/pull/14466 | 2,033,249,914 | PR_kwDOIPDwls5hjj-2 | 14,466 | SmartLLMChain Output Key Customization | {
"login": "anishnag",
"id": 11144051,
"node_id": "MDQ6VXNlcjExMTQ0MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/11144051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anishnag",
"html_url": "https://github.com/anishnag",
"followers_url": "https://api.github.com/users/anishnag/followers",
"following_url": "https://api.github.com/users/anishnag/following{/other_user}",
"gists_url": "https://api.github.com/users/anishnag/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anishnag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anishnag/subscriptions",
"organizations_url": "https://api.github.com/users/anishnag/orgs",
"repos_url": "https://api.github.com/users/anishnag/repos",
"events_url": "https://api.github.com/users/anishnag/events{/privacy}",
"received_events_url": "https://api.github.com/users/anishnag/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": 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-08T20:06:50 | 2023-12-08T21:55:52 | 2023-12-08T21:55:52 | CONTRIBUTOR | null | **Description**
The `SmartLLMChain` was was fixed to output key "resolution". Unfortunately, this prevents the ability to use multiple `SmartLLMChain` in a `SequentialChain` because of colliding output keys. This change simply gives the option the customize the output key to allow for sequential chaining. The default behavior is the same as the current behavior.
Now, it's possible to do the following:
```
from langchain.chat_models import ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain_experimental.smart_llm import SmartLLMChain
from langchain.chains import SequentialChain
joke_prompt = PromptTemplate(
input_variables=["content"],
template="Tell me a joke about {content}.",
)
review_prompt = PromptTemplate(
input_variables=["scale", "joke"],
template="Rate the following joke from 1 to {scale}: {joke}"
)
llm = ChatOpenAI(temperature=0.9, model_name="gpt-4-32k")
joke_chain = SmartLLMChain(llm=llm, prompt=joke_prompt, output_key="joke")
review_chain = SmartLLMChain(llm=llm, prompt=review_prompt, output_key="review")
chain = SequentialChain(
chains=[joke_chain, review_chain],
input_variables=["content", "scale"],
output_variables=["review"],
verbose=True
)
response = chain.run({"content": "chickens", "scale": "10"})
print(response)
```
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14466/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14466",
"html_url": "https://github.com/langchain-ai/langchain/pull/14466",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14466.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14466.patch",
"merged_at": "2023-12-08T21:55:52"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14465 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14465/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14465/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14465/events | https://github.com/langchain-ai/langchain/issues/14465 | 2,033,203,436 | I_kwDOIPDwls55MDjs | 14,465 | Issue: llama2-sql for long queries doesn't return the complete query. | {
"login": "jamil-z",
"id": 122389356,
"node_id": "U_kgDOB0uDbA",
"avatar_url": "https://avatars.githubusercontent.com/u/122389356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamil-z",
"html_url": "https://github.com/jamil-z",
"followers_url": "https://api.github.com/users/jamil-z/followers",
"following_url": "https://api.github.com/users/jamil-z/following{/other_user}",
"gists_url": "https://api.github.com/users/jamil-z/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jamil-z/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamil-z/subscriptions",
"organizations_url": "https://api.github.com/users/jamil-z/orgs",
"repos_url": "https://api.github.com/users/jamil-z/repos",
"events_url": "https://api.github.com/users/jamil-z/events{/privacy}",
"received_events_url": "https://api.github.com/users/jamil-z/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-08T19:31:22 | 2023-12-08T20:23:34 | null | NONE | null | ### Issue you'd like to raise.
Hi, I'm using the llama2 model for SQL, and I modified it to work directly using LLM. I also added more tables to test the model, and I'm modifying the prompt. When I do this, it generates longer queries based on the question I send, but when the query is very long, it doesn't complete generating everything. I checked the response character count, and on average, it returns around 400+- maximum response characters (I tried increasing and removing the character limit, but it didn't solve the problem).
llm = Replicate(
model=llama2_13b,
input={"temperature": 0.1,
"max_length": 2000,
Incorrect return type.
Retrieve the performance of Miles Norris in his most recent game.
```sql
SELECT pg_player_game_stats.Points, pg_player_game_stats.Rebounds, pg_player_game_stats.Assists
FROM nba_roster_temp
JOIN player_game_stats ON nba_roster_temp."PlayerID" = player_game_stats."PlayerID"
WHERE nba_roster
As you can see, the SQL query it returns is incomplete, and here I'm also counting the number of characters.
number character: 401
Any help you can provide would be appreciated
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14465/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14464 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14464/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14464/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14464/events | https://github.com/langchain-ai/langchain/pull/14464 | 2,033,200,094 | PR_kwDOIPDwls5hjY6T | 14,464 | When using OpenAI Function Calling, change default model in ChatOpenAI | {
"login": "ggeutzzang",
"id": 375580,
"node_id": "MDQ6VXNlcjM3NTU4MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/375580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggeutzzang",
"html_url": "https://github.com/ggeutzzang",
"followers_url": "https://api.github.com/users/ggeutzzang/followers",
"following_url": "https://api.github.com/users/ggeutzzang/following{/other_user}",
"gists_url": "https://api.github.com/users/ggeutzzang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggeutzzang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggeutzzang/subscriptions",
"organizations_url": "https://api.github.com/users/ggeutzzang/orgs",
"repos_url": "https://api.github.com/users/ggeutzzang/repos",
"events_url": "https://api.github.com/users/ggeutzzang/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggeutzzang/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": 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-08T19:28:10 | 2023-12-08T22:29:55 | 2023-12-08T22:29:55 | CONTRIBUTOR | null | - **Description:** : After reviewing the OpenAI Function Calling official guide at https://platform.openai.com/docs/guides/function-calling, the following information was noted:
> "The latest models (gpt-3.5-turbo-1106 and gpt-4-1106-preview) have been trained to both detect when a function should be called (depending on the input) and to respond with JSON that adheres to the function signature more closely than previous models. With this capability also comes potential risks. We strongly recommend building in user confirmation flows before taking actions that impact the world on behalf of users (sending an email, posting something online, making a purchase, etc)."
Therefore, I have updated the default model in ChatOpenAI from 'gpt-3.5-turbo' to 'gpt-3.5-turbo-1106' only when function calling is used and no specific model is designated by the user.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14464/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14464",
"html_url": "https://github.com/langchain-ai/langchain/pull/14464",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14464.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14464.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14463 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14463/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14463/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14463/events | https://github.com/langchain-ai/langchain/pull/14463 | 2,033,188,909 | PR_kwDOIPDwls5hjWeS | 14,463 | Bagatur/community no openai | {
"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": 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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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": 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-08T19:19:11 | 2023-12-11T21:53:32 | 2023-12-11T21:53:31 | COLLABORATOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14463/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14463/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14463",
"html_url": "https://github.com/langchain-ai/langchain/pull/14463",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14463.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14463.patch",
"merged_at": "2023-12-11T21:53:31"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14462 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14462/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14462/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14462/events | https://github.com/langchain-ai/langchain/pull/14462 | 2,033,161,304 | PR_kwDOIPDwls5hjQiG | 14,462 | langchain[patch]: xfail unstable vertex test | {
"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": 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": 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-08T18:54:38 | 2023-12-08T19:00:38 | 2023-12-08T19:00:37 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14462/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14462",
"html_url": "https://github.com/langchain-ai/langchain/pull/14462",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14462.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14462.patch",
"merged_at": "2023-12-08T19:00:37"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14461 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14461/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14461/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14461/events | https://github.com/langchain-ai/langchain/pull/14461 | 2,033,137,011 | PR_kwDOIPDwls5hjLOK | 14,461 | docs `Dependents` updated statistics | {
"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": 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-08T18:36:55 | 2023-12-08T19:16:43 | 2023-12-08T19:14:41 | COLLABORATOR | null | Updated statistics for the dependents (packages dependent on `langchain` package). Only packages with 100+ starts | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14461/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14461",
"html_url": "https://github.com/langchain-ai/langchain/pull/14461",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14461.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14461.patch",
"merged_at": "2023-12-08T19:14:41"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14460 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14460/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14460/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14460/events | https://github.com/langchain-ai/langchain/pull/14460 | 2,033,136,694 | PR_kwDOIPDwls5hjLJ3 | 14,460 | langchain[patch]: fix scheduled testing ci dep install | {
"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": 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-08T18:36:35 | 2023-12-08T18:37:45 | 2023-12-08T18:37:44 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14460/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14460",
"html_url": "https://github.com/langchain-ai/langchain/pull/14460",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14460.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14460.patch",
"merged_at": "2023-12-08T18:37:44"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14459 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14459/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14459/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14459/events | https://github.com/langchain-ai/langchain/pull/14459 | 2,033,121,688 | PR_kwDOIPDwls5hjH0v | 14,459 | langchain[patch]: fix scheduled testing ci variables | {
"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": 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": 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-08T18:26:16 | 2023-12-08T18:27:22 | 2023-12-08T18:27:21 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14459/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14459",
"html_url": "https://github.com/langchain-ai/langchain/pull/14459",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14459.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14459.patch",
"merged_at": "2023-12-08T18:27:21"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14458 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14458/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14458/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14458/events | https://github.com/langchain-ai/langchain/pull/14458 | 2,033,108,959 | PR_kwDOIPDwls5hjFCK | 14,458 | Bug reproduction in runnable with message history | {
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 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."
}
] | open | false | null | [] | null | 2 | 2023-12-08T18:15:02 | 2023-12-08T18:25:23 | null | COLLABORATOR | null | Bug with Message History. The runnable cannot distinguish between new input messages, vs input messages that include the history pre-pended if not using a dict as input into the runnable
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14458/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14458",
"html_url": "https://github.com/langchain-ai/langchain/pull/14458",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14458.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14458.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14457 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14457/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14457/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14457/events | https://github.com/langchain-ai/langchain/pull/14457 | 2,033,095,224 | PR_kwDOIPDwls5hjCEV | 14,457 | rail_parser: Simplify logic | {
"login": "irgolic",
"id": 24586651,
"node_id": "MDQ6VXNlcjI0NTg2NjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24586651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/irgolic",
"html_url": "https://github.com/irgolic",
"followers_url": "https://api.github.com/users/irgolic/followers",
"following_url": "https://api.github.com/users/irgolic/following{/other_user}",
"gists_url": "https://api.github.com/users/irgolic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/irgolic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/irgolic/subscriptions",
"organizations_url": "https://api.github.com/users/irgolic/orgs",
"repos_url": "https://api.github.com/users/irgolic/repos",
"events_url": "https://api.github.com/users/irgolic/events{/privacy}",
"received_events_url": "https://api.github.com/users/irgolic/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 | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-12-08T18:03:11 | 2023-12-13T15:49:12 | 2023-12-09T01:23:02 | CONTRIBUTOR | null |
- **Description:** Changes GuardrailsOutputParser to be a simple wrapper of the Guard object
- **Issue:** none
- **Dependencies:** none
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** none | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14457/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14457",
"html_url": "https://github.com/langchain-ai/langchain/pull/14457",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14457.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14457.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14456 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14456/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14456/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14456/events | https://github.com/langchain-ai/langchain/pull/14456 | 2,033,074,935 | PR_kwDOIPDwls5hi9pr | 14,456 | revoke serialization | {
"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": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"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-08T17:46:14 | 2023-12-08T18:31:06 | 2023-12-08T18:31:05 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14456/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14456",
"html_url": "https://github.com/langchain-ai/langchain/pull/14456",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14456.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14456.patch",
"merged_at": "2023-12-08T18:31:05"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14455 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14455/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14455/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14455/events | https://github.com/langchain-ai/langchain/pull/14455 | 2,033,060,627 | PR_kwDOIPDwls5hi6mQ | 14,455 | Harrison/turn off serializable | {
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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": 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-08T17:34:30 | 2023-12-08T17:36:26 | 2023-12-08T17:36:26 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14455/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14455",
"html_url": "https://github.com/langchain-ai/langchain/pull/14455",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14455.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14455.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14454 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14454/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14454/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14454/events | https://github.com/langchain-ai/langchain/pull/14454 | 2,033,048,222 | PR_kwDOIPDwls5hi37H | 14,454 | Added option to store raw html in metadata when transforming | {
"login": "AndreasThinks",
"id": 3072143,
"node_id": "MDQ6VXNlcjMwNzIxNDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3072143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreasThinks",
"html_url": "https://github.com/AndreasThinks",
"followers_url": "https://api.github.com/users/AndreasThinks/followers",
"following_url": "https://api.github.com/users/AndreasThinks/following{/other_user}",
"gists_url": "https://api.github.com/users/AndreasThinks/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AndreasThinks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AndreasThinks/subscriptions",
"organizations_url": "https://api.github.com/users/AndreasThinks/orgs",
"repos_url": "https://api.github.com/users/AndreasThinks/repos",
"events_url": "https://api.github.com/users/AndreasThinks/events{/privacy}",
"received_events_url": "https://api.github.com/users/AndreasThinks/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": 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-08T17:24:11 | 2023-12-08T23:42:51 | 2023-12-08T23:42:51 | NONE | null | - **Description:** Adds a store_raw_html method to the Html2Text transformer, allowing quick storage of the raw_html for future use
- **Issue:** NA
- **Dependencies:** NA | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14454/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14454",
"html_url": "https://github.com/langchain-ai/langchain/pull/14454",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14454.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14454.patch",
"merged_at": null
} |