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/14674 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14674/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14674/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14674/events | https://github.com/langchain-ai/langchain/pull/14674 | 2,040,321,253 | PR_kwDOIPDwls5h7gFu | 14,674 | Enhancement on feature/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": 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": 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-13T19:16:52 | 2024-01-02T19:54:20 | 2024-01-02T00:49:58 | CONTRIBUTOR | null | Adding to my previously, already merged PR I made some further improvements:
* Added documentation to the existing Pydantic Parser notebook, with an example using LCEL and `with_retry()` on `OutputParserException`.
* Added an additional output example to the prompt
* More lenient parser in terms of LLM output format
* Amended unit test
FYI @hwchase17 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14674/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14674",
"html_url": "https://github.com/langchain-ai/langchain/pull/14674",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14674.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14674.patch",
"merged_at": "2024-01-02T00:49:58"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14673 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14673/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14673/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14673/events | https://github.com/langchain-ai/langchain/pull/14673 | 2,040,320,202 | PR_kwDOIPDwls5h7f3T | 14,673 | communty[patch]: Release 0.0.3 | {
"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-13T19:16:06 | 2023-12-13T19:21:01 | 2023-12-13T19:21:00 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14673/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14673",
"html_url": "https://github.com/langchain-ai/langchain/pull/14673",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14673.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14673.patch",
"merged_at": "2023-12-13T19:21:00"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14672 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14672/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14672/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14672/events | https://github.com/langchain-ai/langchain/pull/14672 | 2,040,310,862 | PR_kwDOIPDwls5h7d2n | 14,672 | cli[patch]: unicode issue | {
"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-13T19:09:06 | 2023-12-13T19:14:52 | 2023-12-13T19:14:51 | COLLABORATOR | null | Some operating systems compile template, resulting in unicode decode errors | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14672/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14672",
"html_url": "https://github.com/langchain-ai/langchain/pull/14672",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14672.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14672.patch",
"merged_at": "2023-12-13T19:14:51"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14671 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14671/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14671/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14671/events | https://github.com/langchain-ai/langchain/issues/14671 | 2,040,302,557 | I_kwDOIPDwls55nIvd | 14,671 | Google Gemini | {
"login": "ktibbs9417",
"id": 37451503,
"node_id": "MDQ6VXNlcjM3NDUxNTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/37451503?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ktibbs9417",
"html_url": "https://github.com/ktibbs9417",
"followers_url": "https://api.github.com/users/ktibbs9417/followers",
"following_url": "https://api.github.com/users/ktibbs9417/following{/other_user}",
"gists_url": "https://api.github.com/users/ktibbs9417/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ktibbs9417/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ktibbs9417/subscriptions",
"organizations_url": "https://api.github.com/users/ktibbs9417/orgs",
"repos_url": "https://api.github.com/users/ktibbs9417/repos",
"events_url": "https://api.github.com/users/ktibbs9417/events{/privacy}",
"received_events_url": "https://api.github.com/users/ktibbs9417/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | closed | false | null | [] | null | 7 | 2023-12-13T19:02:58 | 2023-12-20T11:24:15 | 2023-12-13T22:53:53 | NONE | null | ### Feature request
With Gemini Pro going GA today (Dec. 13th).
When can users of LangChain expect an update to use the new LLM?
### Motivation
This will allow users of LangChain to use the latest LLM that Google is providing along with their safety settings.
### Your contribution
I can try and help. Happy to contribute where needed | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14671/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14671/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14670 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14670/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14670/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14670/events | https://github.com/langchain-ai/langchain/pull/14670 | 2,040,260,229 | PR_kwDOIPDwls5h7SvB | 14,670 | Update Vertex AI to include Gemini | {
"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": 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-13T18:31:43 | 2023-12-13T18:45:04 | 2023-12-13T18:45:03 | COLLABORATOR | null | h/t to @lkuligin
- **Description:** added new models on VertexAI
- **Twitter handle:** @lkuligin | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14670/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14670",
"html_url": "https://github.com/langchain-ai/langchain/pull/14670",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14670.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14670.patch",
"merged_at": "2023-12-13T18:45:03"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14669 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14669/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14669/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14669/events | https://github.com/langchain-ai/langchain/pull/14669 | 2,040,248,579 | PR_kwDOIPDwls5h7QLH | 14,669 | VertexAi Fixup | {
"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-13T18:23:00 | 2023-12-13T18:45:13 | 2023-12-13T18:45:13 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14669/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14669",
"html_url": "https://github.com/langchain-ai/langchain/pull/14669",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14669.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14669.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14668 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14668/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14668/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14668/events | https://github.com/langchain-ai/langchain/pull/14668 | 2,040,229,415 | PR_kwDOIPDwls5h7L8i | 14,668 | Fix for Issue #14663 | {
"login": "gitchrisqueen",
"id": 10469301,
"node_id": "MDQ6VXNlcjEwNDY5MzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/10469301?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gitchrisqueen",
"html_url": "https://github.com/gitchrisqueen",
"followers_url": "https://api.github.com/users/gitchrisqueen/followers",
"following_url": "https://api.github.com/users/gitchrisqueen/following{/other_user}",
"gists_url": "https://api.github.com/users/gitchrisqueen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gitchrisqueen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gitchrisqueen/subscriptions",
"organizations_url": "https://api.github.com/users/gitchrisqueen/orgs",
"repos_url": "https://api.github.com/users/gitchrisqueen/repos",
"events_url": "https://api.github.com/users/gitchrisqueen/events{/privacy}",
"received_events_url": "https://api.github.com/users/gitchrisqueen/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 | {
"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
} | [
{
"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
}
] | null | 4 | 2023-12-13T18:09:03 | 2024-01-02T18:33:46 | 2024-01-02T00:33:47 | CONTRIBUTOR | null | - **Description:** Update to tools.py to allow aliased tool inputs to be included in the _parse_input function output
- **Issue:** This fixes [Issue #14663](https://github.com/langchain-ai/langchain/issues/14663)
- **Twitter handle:** [@consultchrisq ](https://twitter.com/consultchrisq?lang=en)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14668/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14668",
"html_url": "https://github.com/langchain-ai/langchain/pull/14668",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14668.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14668.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14667 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14667/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14667/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14667/events | https://github.com/langchain-ai/langchain/pull/14667 | 2,040,215,385 | PR_kwDOIPDwls5h7I5Y | 14,667 | cli[patch]: rc | {
"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": 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-13T17:59:00 | 2023-12-13T18:02:30 | 2023-12-13T18:00:04 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14667/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14667",
"html_url": "https://github.com/langchain-ai/langchain/pull/14667",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14667.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14667.patch",
"merged_at": "2023-12-13T18:00:04"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14666 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14666/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14666/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14666/events | https://github.com/langchain-ai/langchain/pull/14666 | 2,040,209,084 | PR_kwDOIPDwls5h7Hf5 | 14,666 | Include scores in MongoDB Atlas QA chain results | {
"login": "NoahStapp",
"id": 30483654,
"node_id": "MDQ6VXNlcjMwNDgzNjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/30483654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoahStapp",
"html_url": "https://github.com/NoahStapp",
"followers_url": "https://api.github.com/users/NoahStapp/followers",
"following_url": "https://api.github.com/users/NoahStapp/following{/other_user}",
"gists_url": "https://api.github.com/users/NoahStapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NoahStapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NoahStapp/subscriptions",
"organizations_url": "https://api.github.com/users/NoahStapp/orgs",
"repos_url": "https://api.github.com/users/NoahStapp/repos",
"events_url": "https://api.github.com/users/NoahStapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/NoahStapp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | open | false | null | [] | null | 1 | 2023-12-13T17:54:29 | 2024-01-17T22:54:44 | null | CONTRIBUTOR | null | Adds the ability to return similarity scores when using `RetrievalQA.from_chain_type` with `MongoDBAtlasVectorSearch`. Requires that `return_source_documents=True` is set.
Example use:
```
vector_search = MongoDBAtlasVectorSearch.from_documents(...)
qa = RetrievalQA.from_chain_type(
llm=OpenAI(),
chain_type="stuff",
retriever=vector_search.as_retriever(search_kwargs={"additional": ["similarity_score"]}),
return_source_documents=True
)
...
docs = qa({"query": "..."})
docs["source_documents"][0].metadata["score"] # score will be here
```
I've tested this feature locally, using a MongoDB Atlas Cluster with a vector search index. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14666/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14666",
"html_url": "https://github.com/langchain-ai/langchain/pull/14666",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14666.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14666.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14665 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14665/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14665/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14665/events | https://github.com/langchain-ai/langchain/pull/14665 | 2,040,182,977 | PR_kwDOIPDwls5h7Bwi | 14,665 | [Nit] Add newline in notebook | {
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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-13T17:35:31 | 2023-12-13T17:46:14 | 2023-12-13T17:46:13 | COLLABORATOR | null | For bullet list formatting | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14665/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14665",
"html_url": "https://github.com/langchain-ai/langchain/pull/14665",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14665.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14665.patch",
"merged_at": "2023-12-13T17:46:13"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14663 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14663/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14663/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14663/events | https://github.com/langchain-ai/langchain/issues/14663 | 2,040,113,293 | I_kwDOIPDwls55maiN | 14,663 | LangChain Agent bug when parsing tool inputs that use alias field names | {
"login": "gitchrisqueen",
"id": 10469301,
"node_id": "MDQ6VXNlcjEwNDY5MzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/10469301?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gitchrisqueen",
"html_url": "https://github.com/gitchrisqueen",
"followers_url": "https://api.github.com/users/gitchrisqueen/followers",
"following_url": "https://api.github.com/users/gitchrisqueen/following{/other_user}",
"gists_url": "https://api.github.com/users/gitchrisqueen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gitchrisqueen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gitchrisqueen/subscriptions",
"organizations_url": "https://api.github.com/users/gitchrisqueen/orgs",
"repos_url": "https://api.github.com/users/gitchrisqueen/repos",
"events_url": "https://api.github.com/users/gitchrisqueen/events{/privacy}",
"received_events_url": "https://api.github.com/users/gitchrisqueen/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 | 1 | 2023-12-13T16:51:16 | 2023-12-13T16:57:36 | null | CONTRIBUTOR | null | ### System Info
Langchain: 0.0.349
Langchain-community: v0.0.1
Langchain-core: 0.0.13
Python: 3.12
Platform: Mac OS
### 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
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I have the following BaseModel and BaseTool classes created.
```python
class TaskPost(BaseModel):
"""
TaskPost
""" # noqa: E501
due_date: Optional[datetime] = Field(default=None, description="ISO 8601 Due date on the task. REQUIRED for scheduled tasks", alias="dueDate")
duration: Optional[TaskDuration] = None
status: Optional[StrictStr] = Field(default=None, description="Defaults to workspace default status.")
auto_scheduled: Optional[AutoScheduledInfo] = Field(default=None, alias="autoScheduled")
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Name / title of the task")
project_id: Optional[StrictStr] = Field(default=None, alias="projectId")
workspace_id: StrictStr = Field(alias="workspaceId")
description: Optional[StrictStr] = Field(default=None, description="Input as GitHub Flavored Markdown")
priority: Optional[StrictStr] = 'MEDIUM'
labels: Optional[List[StrictStr]] = None
assignee_id: Optional[StrictStr] = Field(default=None, description="The user id the task should be assigned to", alias="assigneeId")
__properties: ClassVar[List[str]] = ["dueDate", "duration", "status", "autoScheduled", "name", "projectId", "workspaceId", "description", "priority", "labels", "assigneeId"]
model_config = {
"populate_by_name": True,
"validate_assignment": True
}
class CreateTaskTool(BaseTool):
name = "create_task"
description = (
"""Use this to create a new task from all available args that you have. Always make sure date and time inputs are in ISO format""")
args_schema: Type[BaseModel] = openapi_client.TaskPost
verbose = True
```
The agent will use the alias names instead of the field name. i.e (workspaceId, dueDate) instead of (workspace_id, due_date)
```linux
[tool/start] [1:chain:AgentExecutor > 7:tool:create_task] Entering Tool run with input:
"{'name': 'Update code', 'workspaceId': 'xxxxxyyyyyzzzzz', 'dueDate': '2023-12-14T00:00:00'}"
```
When the agent calls `_parse_input` function from [langchian_core/tools.py and reaches line 247](https://github.com/langchain-ai/langchain/blob/14bfc5f9f477fcffff3f9aa564a864c5d5cd5300/libs/core/langchain_core/tools.py#L247) the results are filtered out because the results have the field names and the tool_input has the alias names which do not match.
```
CreateTaskTool -> _parse_input -> parse_obj -> result: due_date=datetime.datetime(2023, 12, 14, 0, 0) duration=None status=None auto_scheduled=None name='Update code' project_id=None workspace_id='xxxxxyyyyyzzzzz' description=None priority='MEDIUM' labels=None assignee_id=None
CreateTaskTool -> _parse_input -> parse_obj -> result keys: dict_keys(['due_date', 'duration', 'status', 'auto_scheduled', 'name', 'project_id', 'workspace_id', 'description', 'priority', 'labels', 'assignee_id'])
CreateTaskTool -> _parse_input -> parse_obj -> tool_input keys: dict_keys(['name', 'workspaceId', 'dueDate'])
CreateTaskTool -> _parse_input -> parse_obj -> finalResults: {'name': 'Update code'}
```
### Expected behavior
```
CreateTaskTool -> _parse_input -> parse_obj -> result keys: dict_keys(['due_date', 'duration', 'status', 'auto_scheduled', 'name', 'project_id', 'workspace_id', 'description', 'priority', 'labels', 'assignee_id'])
CreateTaskTool -> _parse_input -> parse_obj -> tool_input keys: dict_keys(['name', 'workspaceId', 'dueDate'])
CreateTaskTool -> _parse_input -> finalResults: {'name': 'Update code','workspaceId': 'xxxxxyyyyyzzzzz', 'dueDate': '2023-12-14T00:00:00'}
or
CreateTaskTool -> _parse_input -> finalResults: {'name': 'Update code','workspace_Id': 'xxxxxyyyyyzzzzz', 'due_date': '2023-12-14T00:00:00'}
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14663/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14662 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14662/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14662/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14662/events | https://github.com/langchain-ai/langchain/pull/14662 | 2,040,101,932 | PR_kwDOIPDwls5h6wJh | 14,662 | Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data | {
"login": "xu-xiang",
"id": 12231426,
"node_id": "MDQ6VXNlcjEyMjMxNDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/12231426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xu-xiang",
"html_url": "https://github.com/xu-xiang",
"followers_url": "https://api.github.com/users/xu-xiang/followers",
"following_url": "https://api.github.com/users/xu-xiang/following{/other_user}",
"gists_url": "https://api.github.com/users/xu-xiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xu-xiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xu-xiang/subscriptions",
"organizations_url": "https://api.github.com/users/xu-xiang/orgs",
"repos_url": "https://api.github.com/users/xu-xiang/repos",
"events_url": "https://api.github.com/users/xu-xiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/xu-xiang/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": 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-13T16:44:38 | 2024-01-02T19:39:47 | 2024-01-02T00:50:13 | 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.
-->
This change addresses the issue where DashScopeEmbeddingAPI limits requests to 25 lines of data, and DashScopeEmbeddings did not handle cases with more than 25 lines, leading to errors. I have implemented a fix to manage data exceeding this limit efficiently.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14662/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14662",
"html_url": "https://github.com/langchain-ai/langchain/pull/14662",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14662.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14662.patch",
"merged_at": "2024-01-02T00:50:13"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14661 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14661/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14661/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14661/events | https://github.com/langchain-ai/langchain/pull/14661 | 2,040,094,732 | PR_kwDOIPDwls5h6ukc | 14,661 | Add Gemini Notebook | {
"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": 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": 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-13T16:40:27 | 2023-12-13T16:51:58 | 2023-12-13T16:47:56 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14661/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14661",
"html_url": "https://github.com/langchain-ai/langchain/pull/14661",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14661.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14661.patch",
"merged_at": "2023-12-13T16:47:55"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14660 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14660/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14660/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14660/events | https://github.com/langchain-ai/langchain/issues/14660 | 2,040,091,551 | I_kwDOIPDwls55mVOf | 14,660 | SQLDatabaseChain with LlamaCpp Llama2 "Chain Run Errored With Error: ArgumentError: <class 'TypeError'>: wrong type" | {
"login": "QUAY17",
"id": 24884039,
"node_id": "MDQ6VXNlcjI0ODg0MDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/24884039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QUAY17",
"html_url": "https://github.com/QUAY17",
"followers_url": "https://api.github.com/users/QUAY17/followers",
"following_url": "https://api.github.com/users/QUAY17/following{/other_user}",
"gists_url": "https://api.github.com/users/QUAY17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/QUAY17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/QUAY17/subscriptions",
"organizations_url": "https://api.github.com/users/QUAY17/orgs",
"repos_url": "https://api.github.com/users/QUAY17/repos",
"events_url": "https://api.github.com/users/QUAY17/events{/privacy}",
"received_events_url": "https://api.github.com/users/QUAY17/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-13T16:38:34 | 2023-12-13T17:06:04 | null | NONE | null | ### System Info
LangChain version 0.0.348
Python version 3.10
Operating System MacOS Monterey version 12.6
SQLAlchemy version 2.0.23
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```# Connect to db
# Create an SQLAlchemy engine
engine = create_engine("mysql+mysqlconnector://user:pass@host/database")
# Test the database connection
try:
# Connect and execute a simple query
with engine.connect() as connection:
query = text("SELECT 1")
result = connection.execute(query)
for row in result:
print("Connection successful, got row:", row)
except Exception as e:
print("Error connecting to database:", e)
# Create an instance of SQLDatabase
db = SQLDatabase(engine)
# using Llama2
llm = LlamaCpp(
model_path="/path_to/llama-2-7b.Q4_K_M.gguf",
verbose=True,
n_ctx=2048)
# using Default and Suffix prompt template
PROMPT = PromptTemplate(
input_variables=["input", "table_info", "dialect", "top_k"],
template=_DEFAULT_TEMPLATE + PROMPT_SUFFIX,
)
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True, return_sql=True,
prompt=PROMPT)
langchain.debug = True
response = db_chain.run(formatted_prompt)
print(response
### Expected behavior
Expected Behavior: Expected to generate SQL queries without errors.
Actual Behavior: Received TypeError: wrong type and context window exceedance errors.
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/llama_cpp/llama.py", line 1325, in _create_completion
f"Requested tokens ({len(prompt_tokens)}) exceed context window of {llama_cpp.llama_n_ctx(self._ctx)}"
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/llama_cpp/llama_cpp.py", line 612, in llama_n_ctx
return _lib.llama_n_ctx(ctx)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14660/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14659 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14659/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14659/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14659/events | https://github.com/langchain-ai/langchain/issues/14659 | 2,040,074,533 | I_kwDOIPDwls55mREl | 14,659 | Getting "object has no field "documents" error with extended BaseRetriever classs | {
"login": "paulfields",
"id": 55295138,
"node_id": "MDQ6VXNlcjU1Mjk1MTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/55295138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paulfields",
"html_url": "https://github.com/paulfields",
"followers_url": "https://api.github.com/users/paulfields/followers",
"following_url": "https://api.github.com/users/paulfields/following{/other_user}",
"gists_url": "https://api.github.com/users/paulfields/gists{/gist_id}",
"starred_url": "https://api.github.com/users/paulfields/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paulfields/subscriptions",
"organizations_url": "https://api.github.com/users/paulfields/orgs",
"repos_url": "https://api.github.com/users/paulfields/repos",
"events_url": "https://api.github.com/users/paulfields/events{/privacy}",
"received_events_url": "https://api.github.com/users/paulfields/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 | 3 | 2023-12-13T16:29:16 | 2023-12-13T17:38:18 | null | NONE | null | ### Issue you'd like to raise.
I am attempting to call an instance of ConversationalRetrieverChain with a list of dictionary objects that I've pre-processed with a similarity search and cohere reranker. I've created an extension of BaseRetriever in order to pass my list of dictionary objects to the "retriever=" parameter. However when my extended class instantiates, I get an error saying "seai_retriever object has no field "documents". My code is below. What am I doing wrong?
```
from langchain.schema.retriever import BaseRetriever
from langchain.schema.document import Document
from langchain.callbacks.manager import CallbackManagerForRetrieverRun
from typing import List
class seai_retriever(BaseRetriever):
def __init__(self, documents):
self.documents = documents
def retrieve(self, query, top_n=10):
retrieved_docs = [doc for doc in self.documents if query.lower() in doc['content'].lower()]
retrieved_docs = sorted(retrieved_docs, key=lambda x: x['content'].find(query), reverse=True)[:top_n]
return retrieved_docs
def _get_relevant_documents(self, query: str, *, run_manager: CallbackManagerForRetrieverRun) -> List[Document]:
retrieved_docs = [doc for doc in self.documents if query.lower() in doc['content'].lower()]
retrieved_docs = sorted(retrieved_docs, key=lambda x: x['content'].find(query), reverse=True)[:top_n]
return retrieved_docs
```
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14659/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14658 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14658/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14658/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14658/events | https://github.com/langchain-ai/langchain/issues/14658 | 2,040,021,283 | I_kwDOIPDwls55mEEj | 14,658 | UnstructuredXMLLoader import error (circular import) | {
"login": "iKora128",
"id": 47884019,
"node_id": "MDQ6VXNlcjQ3ODg0MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/47884019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iKora128",
"html_url": "https://github.com/iKora128",
"followers_url": "https://api.github.com/users/iKora128/followers",
"following_url": "https://api.github.com/users/iKora128/following{/other_user}",
"gists_url": "https://api.github.com/users/iKora128/gists{/gist_id}",
"starred_url": "https://api.github.com/users/iKora128/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iKora128/subscriptions",
"organizations_url": "https://api.github.com/users/iKora128/orgs",
"repos_url": "https://api.github.com/users/iKora128/repos",
"events_url": "https://api.github.com/users/iKora128/events{/privacy}",
"received_events_url": "https://api.github.com/users/iKora128/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | open | false | null | [] | null | 1 | 2023-12-13T16:02:17 | 2023-12-13T16:09:05 | null | NONE | null | ### System Info
Mac Studio
M1 Max 32GB
macOS 14.1.2
Using rye
Python 3.11.6
langchain==0.0.350
langchain-community==0.0.2
langchain-core==0.1.0
### 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
**Error**
```
File "/venv/lib/python3.11/site-packages/langchain_community/document_loaders/xml.py", line 41, in _get_elements
from unstructured.partition.xml import partition_xml
ImportError: cannot import name 'partition_xml' from partially initialized module 'unstructured.partition.xml' (most likely due to a circular import) (/venv/lib/python3.11/site-packages/unstructured/partition/xml.py)
```
I tried to load XML document like this link(from langchain document)
https://python.langchain.com/docs/integrations/document_loaders/xml
```
from langchain.document_loaders import UnstructuredXMLLoader
loader = UnstructuredXMLLoader(
"aaa.xml",
)
docs = loader.load()
docs[0]
```
### Expected behavior
no circular import | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14658/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14657 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14657/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14657/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14657/events | https://github.com/langchain-ai/langchain/pull/14657 | 2,039,993,587 | PR_kwDOIPDwls5h6Y1c | 14,657 | Update GuardrailsOutputParser for Guardrails 0.3.0, add docs | {
"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": 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": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-12-13T15:48:43 | 2023-12-15T04:59:37 | null | CONTRIBUTOR | null | - **Description:** Adding a `.from_guard` classmethod, unpacking Guardrails>=0.3.0 return type, adding docs
- **Issue:** none
- **Dependencies:** none
- **Tag maintainer:** @efriis
<!--
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/14657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14657/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14657",
"html_url": "https://github.com/langchain-ai/langchain/pull/14657",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14657.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14657.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14656 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14656/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14656/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14656/events | https://github.com/langchain-ai/langchain/issues/14656 | 2,039,990,933 | I_kwDOIPDwls55l8qV | 14,656 | Issue: streaming issues | {
"login": "xasxin",
"id": 113810081,
"node_id": "U_kgDOBsiaoQ",
"avatar_url": "https://avatars.githubusercontent.com/u/113810081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xasxin",
"html_url": "https://github.com/xasxin",
"followers_url": "https://api.github.com/users/xasxin/followers",
"following_url": "https://api.github.com/users/xasxin/following{/other_user}",
"gists_url": "https://api.github.com/users/xasxin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xasxin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xasxin/subscriptions",
"organizations_url": "https://api.github.com/users/xasxin/orgs",
"repos_url": "https://api.github.com/users/xasxin/repos",
"events_url": "https://api.github.com/users/xasxin/events{/privacy}",
"received_events_url": "https://api.github.com/users/xasxin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | closed | false | null | [] | null | 2 | 2023-12-13T15:47:29 | 2024-01-10T03:38:15 | 2024-01-10T03:38:15 | NONE | null | ### Issue you'd like to raise.
Hi, I'm trying to use StreamingStdOutCallbackHandler for a conversation chain. But it prints out the memory after the response. Is there a way to not printing memory without using an agent?
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14656/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14655 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14655/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14655/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14655/events | https://github.com/langchain-ai/langchain/pull/14655 | 2,039,881,525 | PR_kwDOIPDwls5h6AQv | 14,655 | Add Support for direct usage of llm LLamaCpp in LlamaCppEmbeddings | {
"login": "bfortunato",
"id": 870282,
"node_id": "MDQ6VXNlcjg3MDI4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/870282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bfortunato",
"html_url": "https://github.com/bfortunato",
"followers_url": "https://api.github.com/users/bfortunato/followers",
"following_url": "https://api.github.com/users/bfortunato/following{/other_user}",
"gists_url": "https://api.github.com/users/bfortunato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bfortunato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bfortunato/subscriptions",
"organizations_url": "https://api.github.com/users/bfortunato/orgs",
"repos_url": "https://api.github.com/users/bfortunato/repos",
"events_url": "https://api.github.com/users/bfortunato/events{/privacy}",
"received_events_url": "https://api.github.com/users/bfortunato/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 | 1 | 2023-12-13T14:54:25 | 2023-12-13T14:54:44 | null | NONE | null | - **Description:** Add support for using a llm LLamaCpp directly by introducing a new parameter, `model`, to the `LlamaCppEmbeddings` constructor. This allows users to provide a llm LLamaCpp instance directly, in addition to the existing method of specifying the model path.
- **Issue:** N/A
- **Dependencies:** N/A
- **Tag maintainer:** @bfortunato
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14655/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14655",
"html_url": "https://github.com/langchain-ai/langchain/pull/14655",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14655.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14655.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14654 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14654/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14654/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14654/events | https://github.com/langchain-ai/langchain/pull/14654 | 2,039,834,023 | PR_kwDOIPDwls5h51zW | 14,654 | Langchain vectorstore integration with Kinetica | {
"login": "am-kinetica",
"id": 85610855,
"node_id": "MDQ6VXNlcjg1NjEwODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/85610855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/am-kinetica",
"html_url": "https://github.com/am-kinetica",
"followers_url": "https://api.github.com/users/am-kinetica/followers",
"following_url": "https://api.github.com/users/am-kinetica/following{/other_user}",
"gists_url": "https://api.github.com/users/am-kinetica/gists{/gist_id}",
"starred_url": "https://api.github.com/users/am-kinetica/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/am-kinetica/subscriptions",
"organizations_url": "https://api.github.com/users/am-kinetica/orgs",
"repos_url": "https://api.github.com/users/am-kinetica/repos",
"events_url": "https://api.github.com/users/am-kinetica/events{/privacy}",
"received_events_url": "https://api.github.com/users/am-kinetica/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
},
{
"id": 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."
}
] | open | false | {
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-12-13T14:29:57 | 2024-01-17T14:13:51 | null | NONE | null | - **Description:** New vectorstore integration with the Kinetica database
- **Issue:**
- **Dependencies:** the Kinetica Python API `pip install gpudb==7.2.0.0b`,
- **Tag maintainer:** @baskaryan,
- **Twitter handle:** | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14654/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14654",
"html_url": "https://github.com/langchain-ai/langchain/pull/14654",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14654.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14654.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14653 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14653/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14653/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14653/events | https://github.com/langchain-ai/langchain/pull/14653 | 2,039,808,077 | PR_kwDOIPDwls5h5wEy | 14,653 | Fix for openai multi tools input format. | {
"login": "themrzmaster",
"id": 852747,
"node_id": "MDQ6VXNlcjg1Mjc0Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/852747?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/themrzmaster",
"html_url": "https://github.com/themrzmaster",
"followers_url": "https://api.github.com/users/themrzmaster/followers",
"following_url": "https://api.github.com/users/themrzmaster/following{/other_user}",
"gists_url": "https://api.github.com/users/themrzmaster/gists{/gist_id}",
"starred_url": "https://api.github.com/users/themrzmaster/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/themrzmaster/subscriptions",
"organizations_url": "https://api.github.com/users/themrzmaster/orgs",
"repos_url": "https://api.github.com/users/themrzmaster/repos",
"events_url": "https://api.github.com/users/themrzmaster/events{/privacy}",
"received_events_url": "https://api.github.com/users/themrzmaster/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"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-13T14:16:37 | 2024-01-02T19:35:25 | 2024-01-02T00:50:32 | CONTRIBUTOR | null | Sometimes, the tool_schema is like:
` {'action_name': 'search_items', 'action': {'term': 'pizza'}}`
sometimes, specially with gpt3.5 it comes like:
`{'action_name': 'search_items', 'term': 'pizza'}`
and it fails.
This PR is a way to make it work in both scenarios.
issues releated: #6624
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/14653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14653/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14653",
"html_url": "https://github.com/langchain-ai/langchain/pull/14653",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14653.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14653.patch",
"merged_at": "2024-01-02T00:50:32"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14651 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14651/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14651/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14651/events | https://github.com/langchain-ai/langchain/issues/14651 | 2,039,714,207 | I_kwDOIPDwls55k5Gf | 14,651 | Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. | {
"login": "deepak-habilelabs",
"id": 137885024,
"node_id": "U_kgDOCDf1YA",
"avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepak-habilelabs",
"html_url": "https://github.com/deepak-habilelabs",
"followers_url": "https://api.github.com/users/deepak-habilelabs/followers",
"following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}",
"gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions",
"organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs",
"repos_url": "https://api.github.com/users/deepak-habilelabs/repos",
"events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepak-habilelabs/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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 | 3 | 2023-12-13T13:27:30 | 2023-12-20T12:41:57 | null | NONE | null | ### Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
` loader = UnstructuredURLLoader(urls=urls)
urlDocument = loader.load()
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50)
texts = text_splitter.split_documents(documents=urlDocument)`
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14651/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14650 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14650/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14650/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14650/events | https://github.com/langchain-ai/langchain/pull/14650 | 2,039,528,489 | PR_kwDOIPDwls5h4yUx | 14,650 | Add CometLLM integration notebook example | {
"login": "Lothiraldan",
"id": 243665,
"node_id": "MDQ6VXNlcjI0MzY2NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/243665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lothiraldan",
"html_url": "https://github.com/Lothiraldan",
"followers_url": "https://api.github.com/users/Lothiraldan/followers",
"following_url": "https://api.github.com/users/Lothiraldan/following{/other_user}",
"gists_url": "https://api.github.com/users/Lothiraldan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lothiraldan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lothiraldan/subscriptions",
"organizations_url": "https://api.github.com/users/Lothiraldan/orgs",
"repos_url": "https://api.github.com/users/Lothiraldan/repos",
"events_url": "https://api.github.com/users/Lothiraldan/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lothiraldan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"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 | 3 | 2023-12-13T11:38:05 | 2024-01-09T18:28:38 | 2024-01-09T18:28:37 | CONTRIBUTOR | null | I also added LANGCHAIN_COMET_TRACING to enable the CometLLM tracing integration similar to other tracing integrations. This is easier for end-users to enable it rather than importing the callback and pass it manually.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14650/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14650",
"html_url": "https://github.com/langchain-ai/langchain/pull/14650",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14650.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14650.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14649 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14649/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14649/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14649/events | https://github.com/langchain-ai/langchain/issues/14649 | 2,039,411,662 | I_kwDOIPDwls55jvPO | 14,649 | Bug in Text splitting while using langchain.text_splitter.split_text_on_tokens¶ | {
"login": "MuhammadSaqib001",
"id": 74682734,
"node_id": "MDQ6VXNlcjc0NjgyNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74682734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MuhammadSaqib001",
"html_url": "https://github.com/MuhammadSaqib001",
"followers_url": "https://api.github.com/users/MuhammadSaqib001/followers",
"following_url": "https://api.github.com/users/MuhammadSaqib001/following{/other_user}",
"gists_url": "https://api.github.com/users/MuhammadSaqib001/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MuhammadSaqib001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MuhammadSaqib001/subscriptions",
"organizations_url": "https://api.github.com/users/MuhammadSaqib001/orgs",
"repos_url": "https://api.github.com/users/MuhammadSaqib001/repos",
"events_url": "https://api.github.com/users/MuhammadSaqib001/events{/privacy}",
"received_events_url": "https://api.github.com/users/MuhammadSaqib001/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 | 3 | 2023-12-13T10:31:27 | 2023-12-18T14:40:32 | null | NONE | null | ### System Info
Langchain Version = 0.0.311
Python Version = 3.9
Tried it on my local system as well on Company's hosted Jupyter Hub as well
### Who can help?
@eyurtsev @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.text_splitter import TokenTextSplitter
token_splitter_model_name = "gpt-3.5-turbo"
SPLIT_CHUNK_SIZE = 1024
CHUNK_OVERLAP = 256
text_splitter = TokenTextSplitter.from_tiktoken_encoder(model_name=token_splitter_model_name, chunk_size=SPLIT_CHUNK_SIZE , chunk_overlap = CHUNK_OVERLAP)
blog_content= ' your text here'
blog_splits=text_splitter.split_text(blog_content)
```
### Expected behavior
The ways this token text splitter works , isn't how it is intended to work .
For Example :-
When specified chunk_size = 1024 and overlap = 256 with input text tokens = 991 , it made two chunks ;
first = token[0 : 991]
second = token[768 : 991]
but logically it should work this ways .
If input text token >1024 , there should be two chunks .
first = token[0 : 1024]
second = token[768 : ]
and so on ..............
If input text token <=1024 , there should be one chunk only .
first = token[ 0 : ]
More details on this issue raised previously :- https://github.com/langchain-ai/langchain/issues/5897 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14649/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14648 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14648/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14648/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14648/events | https://github.com/langchain-ai/langchain/pull/14648 | 2,039,239,822 | PR_kwDOIPDwls5h3zAt | 14,648 | [Integration] NVIDIA AI Playground | {
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 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 | 7 | 2023-12-13T08:53:05 | 2023-12-14T03:46:38 | 2023-12-14T03:46:38 | COLLABORATOR | null | Tried to simplify this pr as much as possible (https://github.com/langchain-ai/langchain/pull/13996/files). The base class is still more complicated than it needs to be, but I think it's OK as an integration package. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14648/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/14648/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14648",
"html_url": "https://github.com/langchain-ai/langchain/pull/14648",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14648.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14648.patch",
"merged_at": "2023-12-14T03:46:38"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14647 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14647/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14647/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14647/events | https://github.com/langchain-ai/langchain/pull/14647 | 2,039,236,707 | PR_kwDOIPDwls5h3yVQ | 14,647 | fix: correct spelling mistakes of "seperate, intialise, pre-defined" | {
"login": "rancomp",
"id": 23070692,
"node_id": "MDQ6VXNlcjIzMDcwNjky",
"avatar_url": "https://avatars.githubusercontent.com/u/23070692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rancomp",
"html_url": "https://github.com/rancomp",
"followers_url": "https://api.github.com/users/rancomp/followers",
"following_url": "https://api.github.com/users/rancomp/following{/other_user}",
"gists_url": "https://api.github.com/users/rancomp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rancomp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rancomp/subscriptions",
"organizations_url": "https://api.github.com/users/rancomp/orgs",
"repos_url": "https://api.github.com/users/rancomp/repos",
"events_url": "https://api.github.com/users/rancomp/events{/privacy}",
"received_events_url": "https://api.github.com/users/rancomp/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": 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": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-13T08:51:12 | 2023-12-22T19:49:36 | 2023-12-22T19:49:36 | CONTRIBUTOR | null | fix spellings
**seperate -> separate**: found more occurrences, see https://github.com/langchain-ai/langchain/pull/14602
**initialise -> intialize**: the latter is more common in the repo
**pre-defined > predefined**: adding a comma after a prefix is a delicate matter, but this is a generally accepted word
also, another word that appears in the repo is "fs" (stands for filesystem), e.g., in `libs/core/langchain_core/prompts/loading.py`
` """Unified method for loading a prompt from LangChainHub or local fs."""`
Isn't "filesystem" better?
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14647/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14647",
"html_url": "https://github.com/langchain-ai/langchain/pull/14647",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14647.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14647.patch",
"merged_at": "2023-12-22T19:49:36"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14646 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14646/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14646/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14646/events | https://github.com/langchain-ai/langchain/pull/14646 | 2,039,163,008 | PR_kwDOIPDwls5h3iTa | 14,646 | Fix RRF and lucene escape characters for neo4j vector store | {
"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": 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": 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-13T08:01:47 | 2023-12-13T17:09:51 | 2023-12-13T17:09:50 | CONTRIBUTOR | null | * Remove Lucene special characters (fixes https://github.com/langchain-ai/langchain/issues/14232)
* Fixes RRF normalization for hybrid search | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14646/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14646",
"html_url": "https://github.com/langchain-ai/langchain/pull/14646",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14646.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14646.patch",
"merged_at": "2023-12-13T17:09:50"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14645 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14645/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14645/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14645/events | https://github.com/langchain-ai/langchain/issues/14645 | 2,039,150,807 | I_kwDOIPDwls55ivjX | 14,645 | TypeError: object Document can't be used in 'await' expression | {
"login": "lovegengguoliang",
"id": 56470725,
"node_id": "MDQ6VXNlcjU2NDcwNzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/56470725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lovegengguoliang",
"html_url": "https://github.com/lovegengguoliang",
"followers_url": "https://api.github.com/users/lovegengguoliang/followers",
"following_url": "https://api.github.com/users/lovegengguoliang/following{/other_user}",
"gists_url": "https://api.github.com/users/lovegengguoliang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lovegengguoliang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lovegengguoliang/subscriptions",
"organizations_url": "https://api.github.com/users/lovegengguoliang/orgs",
"repos_url": "https://api.github.com/users/lovegengguoliang/repos",
"events_url": "https://api.github.com/users/lovegengguoliang/events{/privacy}",
"received_events_url": "https://api.github.com/users/lovegengguoliang/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | open | false | null | [] | null | 1 | 2023-12-13T07:52:41 | 2023-12-13T07:58:57 | null | NONE | null | ### System Info
from langchain.document_transformers import DoctranTextTranslator
from langchain.schema import Document
documents = [Document(page_content=sample_text)]
qa_translator = DoctranTextTranslator(language="spanish")
translated_document = await qa_translator.atransform_documents(documents)
TypeError Traceback (most recent call last)
[<ipython-input-18-c526f9c55393>](https://localhost:8080/#) in <cell line: 8>()
6 openai_api_model="gpt-3.5-turbo", language="chinese")
7
----> 8 translated_document = await qa_translator.atransform_documents(documents)
9
10
[/usr/local/lib/python3.10/dist-packages/langchain_community/document_transformers/doctran_text_translate.py](https://localhost:8080/#) in atransform_documents(self, documents, **kwargs)
61 ]
62 for i, doc in enumerate(doctran_docs):
---> 63 doctran_docs[i] = await doc.translate(language=self.language).execute()
64 return [
65 Document(page_content=doc.transformed_content, metadata=doc.metadata)
TypeError: object Document can't be used in 'await' expression
### 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
test
### Expected behavior
test | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14645/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14644 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14644/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14644/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14644/events | https://github.com/langchain-ai/langchain/pull/14644 | 2,039,145,722 | PR_kwDOIPDwls5h3eh7 | 14,644 | add api_base to _client_params (community version of #14393) | {
"login": "DavidLMS",
"id": 17435126,
"node_id": "MDQ6VXNlcjE3NDM1MTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/17435126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DavidLMS",
"html_url": "https://github.com/DavidLMS",
"followers_url": "https://api.github.com/users/DavidLMS/followers",
"following_url": "https://api.github.com/users/DavidLMS/following{/other_user}",
"gists_url": "https://api.github.com/users/DavidLMS/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DavidLMS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DavidLMS/subscriptions",
"organizations_url": "https://api.github.com/users/DavidLMS/orgs",
"repos_url": "https://api.github.com/users/DavidLMS/repos",
"events_url": "https://api.github.com/users/DavidLMS/events{/privacy}",
"received_events_url": "https://api.github.com/users/DavidLMS/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-13T07:48:43 | 2024-01-02T19:37:34 | 2024-01-02T00:53:16 | CONTRIBUTOR | null | - **Description:** This PR adds `api_base` to `_client_params` in the `chat_model` of LiteLLM to ensure it's included in API calls. Previously, `api_base` was set on the client but was not included in the parameters passed to the completion function. This change ensures that `api_base` is correctly passed to all API calls.
- **Issue:** #14338
- **Tag maintainer:** @hwchase17 @agola11
- **Twitter handle:** @LMS_David_RS | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14644/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14644",
"html_url": "https://github.com/langchain-ai/langchain/pull/14644",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14644.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14644.patch",
"merged_at": "2024-01-02T00:53:16"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14643 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14643/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14643/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14643/events | https://github.com/langchain-ai/langchain/issues/14643 | 2,039,122,156 | I_kwDOIPDwls55iojs | 14,643 | ParentDocumentRetriever.get_relevant_documents() got empty result | {
"login": "wennycooper",
"id": 7479445,
"node_id": "MDQ6VXNlcjc0Nzk0NDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7479445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wennycooper",
"html_url": "https://github.com/wennycooper",
"followers_url": "https://api.github.com/users/wennycooper/followers",
"following_url": "https://api.github.com/users/wennycooper/following{/other_user}",
"gists_url": "https://api.github.com/users/wennycooper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wennycooper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wennycooper/subscriptions",
"organizations_url": "https://api.github.com/users/wennycooper/orgs",
"repos_url": "https://api.github.com/users/wennycooper/repos",
"events_url": "https://api.github.com/users/wennycooper/events{/privacy}",
"received_events_url": "https://api.github.com/users/wennycooper/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] | closed | false | null | [] | null | 5 | 2023-12-13T07:31:59 | 2024-01-11T20:34:16 | 2023-12-19T23:58:20 | NONE | null | I have two code.
The 1st code is to load PDF documents and use ParentDocumentRetriever to add_documents() and save vectorstore to local disk.
The 2nd code is to load vectorstore and call ParentDocumentRetriever.get_relevant_documents
The problem is, the ParentDocumentRetriever.get_relevant_documents() got empty result.
Any idea??
What is the inMemoryStore for??
Here are the two codes:
### the 1st code: LoadDocumentsAndSaveVectorstore.py
```
loader = DirectoryLoader('data/',
glob='**/*.pdf',
loader_cls=PyPDFLoader)
docs = loader.load()
store = InMemoryStore()
parent_splitter = RecursiveCharacterTextSplitter(chunk_size=1000)
child_splitter = RecursiveCharacterTextSplitter(chunk_size=128, chunk_overlap=64)
texts = [""]
vectorstore = FAISS.from_texts(texts, embedding_function)
retriever = ParentDocumentRetriever(
vectorstore=vectorstore,
docstore=store,
child_splitter=child_splitter,
parent_splitter=parent_splitter,
)
retriever.add_documents(docs, ids=None)
vectorstore.save_local("ppstore")
print("save data to ppstore")
```
The 1st code works fine.
The 2nd file is to load the vectorstore and query.
The strange thing is, the **retriever1.get_relevant_documents(query)** got empty result.
### the 2nd code: load vectorstore and use retriever to get relevant_documents
```
print("load ppstore")
store = InMemoryStore()
parent_splitter = RecursiveCharacterTextSplitter(chunk_size=1000)
child_splitter = RecursiveCharacterTextSplitter(chunk_size=128, chunk_overlap=64)
db = FAISS.load_local("ppstore", embedding_function)
retriever1 = ParentDocumentRetriever(
vectorstore=db,
docstore=store,
child_splitter=child_splitter,
parent_splitter=parent_splitter,
)
query = "Please describe Sardina dataset"
print("query:", query)
sub_docs = db.similarity_search(query)
print("=== check small chunk ===")
print(sub_docs[0].page_content)
print(len(sub_docs[0].page_content)) ## this respond OK, the len is a little bit smaller than 128
retrieved_docs = retriever1.get_relevant_documents(query) ## I got empty result
print("=== check larger chunk ===")
print(retrieved_docs[0].page_content)
print(len(retrieved_docs[0].page_content))
```
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14643/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14642 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14642/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14642/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14642/events | https://github.com/langchain-ai/langchain/pull/14642 | 2,039,121,880 | PR_kwDOIPDwls5h3ZRh | 14,642 | pipeline template fixes; overlapping variables and non-pipelined variables | {
"login": "matthewgrossman",
"id": 2601844,
"node_id": "MDQ6VXNlcjI2MDE4NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2601844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matthewgrossman",
"html_url": "https://github.com/matthewgrossman",
"followers_url": "https://api.github.com/users/matthewgrossman/followers",
"following_url": "https://api.github.com/users/matthewgrossman/following{/other_user}",
"gists_url": "https://api.github.com/users/matthewgrossman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matthewgrossman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matthewgrossman/subscriptions",
"organizations_url": "https://api.github.com/users/matthewgrossman/orgs",
"repos_url": "https://api.github.com/users/matthewgrossman/repos",
"events_url": "https://api.github.com/users/matthewgrossman/events{/privacy}",
"received_events_url": "https://api.github.com/users/matthewgrossman/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | 1 | 2023-12-13T07:31:46 | 2023-12-13T07:31:59 | null | NONE | null | WIP PR
<!-- 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/14642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14642/timeline | null | null | true | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14642",
"html_url": "https://github.com/langchain-ai/langchain/pull/14642",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14642.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14642.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14641 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14641/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14641/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14641/events | https://github.com/langchain-ai/langchain/pull/14641 | 2,039,082,427 | PR_kwDOIPDwls5h3Qki | 14,641 | fix: syntax error in function docs | {
"login": "Undertone0809",
"id": 72488598,
"node_id": "MDQ6VXNlcjcyNDg4NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/72488598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Undertone0809",
"html_url": "https://github.com/Undertone0809",
"followers_url": "https://api.github.com/users/Undertone0809/followers",
"following_url": "https://api.github.com/users/Undertone0809/following{/other_user}",
"gists_url": "https://api.github.com/users/Undertone0809/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Undertone0809/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Undertone0809/subscriptions",
"organizations_url": "https://api.github.com/users/Undertone0809/orgs",
"repos_url": "https://api.github.com/users/Undertone0809/repos",
"events_url": "https://api.github.com/users/Undertone0809/events{/privacy}",
"received_events_url": "https://api.github.com/users/Undertone0809/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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-13T07:02:55 | 2024-01-02T19:42:33 | 2024-01-02T00:44:16 | CONTRIBUTOR | null | fix syntax error in function docs | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14641/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14641",
"html_url": "https://github.com/langchain-ai/langchain/pull/14641",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14641.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14641.patch",
"merged_at": "2024-01-02T00:44:16"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14640 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14640/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14640/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14640/events | https://github.com/langchain-ai/langchain/issues/14640 | 2,039,051,024 | I_kwDOIPDwls55iXMQ | 14,640 | (RedisSemanticCache + ChatOpenAI + OpenAIEmbeddings) - Not working as expected - Wanted to understand, if I am doing something wrong here. | {
"login": "mks-1001",
"id": 58924468,
"node_id": "MDQ6VXNlcjU4OTI0NDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/58924468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mks-1001",
"html_url": "https://github.com/mks-1001",
"followers_url": "https://api.github.com/users/mks-1001/followers",
"following_url": "https://api.github.com/users/mks-1001/following{/other_user}",
"gists_url": "https://api.github.com/users/mks-1001/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mks-1001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mks-1001/subscriptions",
"organizations_url": "https://api.github.com/users/mks-1001/orgs",
"repos_url": "https://api.github.com/users/mks-1001/repos",
"events_url": "https://api.github.com/users/mks-1001/events{/privacy}",
"received_events_url": "https://api.github.com/users/mks-1001/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": 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": 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 | 1 | 2023-12-13T06:34:44 | 2023-12-13T06:42:30 | null | NONE | null | ### System Info
# Dependency Versions
langchain==0.0.349
langchain-community==0.0.1
langchain-core==0.0.13
openai==1.3.8
# Python Version
Python 3.11.4
# Redis Stack Version
redis-stack-server 6.2.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] 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
from langchain.globals import set_llm_cache
from langchain.cache import RedisSemanticCache
from langchain.embeddings import OpenAIEmbeddings
from langchain_community.chat_models import ChatOpenAI
from redis import Redis
import time
llm = ChatOpenAI(openai_api_key='<OPENAI_API_KEY>', model_name='gpt-3.5-turbo')
cache = RedisSemanticCache(redis_url="redis://localhost:6379",
embedding=OpenAIEmbeddings(openai_api_key='<OPENAI_API_KEY>'),
score_threshold=0.95)
set_llm_cache(cache)
start = time.time()
response = llm.predict("""Tell me about USA in only two sentences""")
print(time.time()-start)
print(response)
start = time.time()
response = llm.predict("""Tell me about INDIA in only two sentences""")
print(time.time()-start)
print(response)
start = time.time()
response = llm.predict("""What is LLMs in the context of GEN AI ?""")
print(time.time()-start)
print(response)
### Expected behavior
As the score_threshold is set to 0.98, I expect all the three prompts to give three different responses. But we are getting one response for all the three prompts.
Output from running the script :
4.252941131591797
The United States of America is a federal republic consisting of 50 states, a federal district, five major self-governing territories, and various possessions. It is a diverse and influential country known for its cultural and economic power on the global stage.
0.3903520107269287
The United States of America is a federal republic consisting of 50 states, a federal district, five major self-governing territories, and various possessions. It is a diverse and influential country known for its cultural and economic power on the global stage.
0.6625611782073975
The United States of America is a federal republic consisting of 50 states, a federal district, five major self-governing territories, and various possessions. It is a diverse and influential country known for its cultural and economic power on the global stage.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14640/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14639 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14639/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14639/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14639/events | https://github.com/langchain-ai/langchain/issues/14639 | 2,039,002,274 | I_kwDOIPDwls55iLSi | 14,639 | Issue: bedrock is throwing an error for the langchain stuff method using the anthropic model for the summarization. | {
"login": "shenthan-desha",
"id": 109514408,
"node_id": "U_kgDOBocOqA",
"avatar_url": "https://avatars.githubusercontent.com/u/109514408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shenthan-desha",
"html_url": "https://github.com/shenthan-desha",
"followers_url": "https://api.github.com/users/shenthan-desha/followers",
"following_url": "https://api.github.com/users/shenthan-desha/following{/other_user}",
"gists_url": "https://api.github.com/users/shenthan-desha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shenthan-desha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shenthan-desha/subscriptions",
"organizations_url": "https://api.github.com/users/shenthan-desha/orgs",
"repos_url": "https://api.github.com/users/shenthan-desha/repos",
"events_url": "https://api.github.com/users/shenthan-desha/events{/privacy}",
"received_events_url": "https://api.github.com/users/shenthan-desha/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] | closed | false | null | [] | null | 1 | 2023-12-13T05:48:17 | 2023-12-15T07:47:12 | 2023-12-15T07:47:11 | NONE | null | ### Issue you'd like to raise.
Issue 1:
I am working on the summarization using the stuff and map-reduce of the Langchain. I have integrated it with the AWS Bedrock's anthropic llm which has a token limit of 100000. It is working fine but when the pdf with 40000 tokens is passed, the bedrock is throwing an error:
i) with VPN connected:
An error occurred: Error raised by bedrock service: Could not connect to the endpoint URL: "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-v2/invoke".
ii) without VPN connected:
An error occurred: Error raised by bedrock service: An error occurred (ExpiredTokenException) when calling the InvokeModel operation: The security token included in the request is expired
Any reason why this is happening? thanks in advance!
Issue 2:
2) map-reduce takes a lot of time to produce the summary for the 40000+ tokens documents when the anthropic threshold is reduced to 40000. Sometimes it is taking a lot of time but erroring out. Any help is appreciated. Thanks in advance!
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14639/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14638 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14638/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14638/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14638/events | https://github.com/langchain-ai/langchain/pull/14638 | 2,038,882,942 | PR_kwDOIPDwls5h2lMg | 14,638 | GITLAB_URL should take default https://gitlab.com instead of error | {
"login": "manjunathshiva",
"id": 35326118,
"node_id": "MDQ6VXNlcjM1MzI2MTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/35326118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manjunathshiva",
"html_url": "https://github.com/manjunathshiva",
"followers_url": "https://api.github.com/users/manjunathshiva/followers",
"following_url": "https://api.github.com/users/manjunathshiva/following{/other_user}",
"gists_url": "https://api.github.com/users/manjunathshiva/gists{/gist_id}",
"starred_url": "https://api.github.com/users/manjunathshiva/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manjunathshiva/subscriptions",
"organizations_url": "https://api.github.com/users/manjunathshiva/orgs",
"repos_url": "https://api.github.com/users/manjunathshiva/repos",
"events_url": "https://api.github.com/users/manjunathshiva/events{/privacy}",
"received_events_url": "https://api.github.com/users/manjunathshiva/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-13T03:25:03 | 2024-01-02T19:40:35 | 2024-01-02T00:55:52 | CONTRIBUTOR | null | The fix #14221 has broken default gitlab url which is forcing the users to specify GITLAB_URL for default one. With this fix if GITLAB_URL is not set, the default gitlab url will be taken.
- **Description:** Add the GITHUB URL instead of None
- **Issue:** the issue #14221 has broken the default github URL
- **Dependencies:** None
- **Tag maintainer:** @hwchase17
- **Twitter handle:** manjunath_shiva
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14638/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14638",
"html_url": "https://github.com/langchain-ai/langchain/pull/14638",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14638.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14638.patch",
"merged_at": "2024-01-02T00:55:52"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14637 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14637/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14637/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14637/events | https://github.com/langchain-ai/langchain/pull/14637 | 2,038,861,144 | PR_kwDOIPDwls5h2gtu | 14,637 | docs: platform pages 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": 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-13T02:55:43 | 2023-12-14T03:38:20 | 2023-12-13T23:08:27 | COLLABORATOR | null | Updated examples and platform pages.
- added missed tools
- added links and descriptions | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14637/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14637",
"html_url": "https://github.com/langchain-ai/langchain/pull/14637",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14637.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14637.patch",
"merged_at": "2023-12-13T23:08:27"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14636 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14636/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14636/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14636/events | https://github.com/langchain-ai/langchain/pull/14636 | 2,038,834,641 | PR_kwDOIPDwls5h2bMz | 14,636 | Milvus allows to store metadata as json field | {
"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": 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-13T02:19:16 | 2024-01-03T00:50:42 | 2024-01-03T00:12:00 | CONTRIBUTOR | null | Because Milvus doesn't support nullable fields, but document metadata is very rich, so it makes more sense to store it as json.
https://github.com/milvus-io/pymilvus/issues/1705#issuecomment-1731112372
<!-- 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/14636/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/14636/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14636",
"html_url": "https://github.com/langchain-ai/langchain/pull/14636",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14636.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14636.patch",
"merged_at": "2024-01-03T00:12:00"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14634 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14634/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14634/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14634/events | https://github.com/langchain-ai/langchain/pull/14634 | 2,038,723,178 | PR_kwDOIPDwls5h2DtB | 14,634 | Harrison/activeloop ai tql deprecation | {
"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": 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."
}
] | open | false | null | [] | null | 2 | 2023-12-13T00:02:14 | 2024-01-09T15:49:05 | null | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14634/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14634",
"html_url": "https://github.com/langchain-ai/langchain/pull/14634",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14634.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14634.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14633 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14633/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14633/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14633/events | https://github.com/langchain-ai/langchain/pull/14633 | 2,038,710,725 | PR_kwDOIPDwls5h2BHS | 14,633 | infra: rm community split scripts | {
"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": 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": 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-12T23:45:22 | 2023-12-12T23:46:16 | 2023-12-12T23:46:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14633/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14633",
"html_url": "https://github.com/langchain-ai/langchain/pull/14633",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14633.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14633.patch",
"merged_at": "2023-12-12T23:46:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14632 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14632/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14632/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14632/events | https://github.com/langchain-ai/langchain/pull/14632 | 2,038,694,808 | PR_kwDOIPDwls5h19t_ | 14,632 | templates[patch]: fix pydantic imports | {
"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": 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-12T23:23:25 | 2023-12-12T23:31:16 | 2023-12-12T23:31:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14632/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14632",
"html_url": "https://github.com/langchain-ai/langchain/pull/14632",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14632.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14632.patch",
"merged_at": "2023-12-12T23:31:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14631 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14631/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14631/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14631/events | https://github.com/langchain-ai/langchain/issues/14631 | 2,038,690,605 | I_kwDOIPDwls55g_Mt | 14,631 | Dockerfile issues when trying to build the repo using .devcontainer | {
"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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | closed | false | null | [] | null | 3 | 2023-12-12T23:17:45 | 2023-12-28T16:25:05 | 2023-12-28T16:25:05 | NONE | null | ### System Info
Hello, after forking and cloning the repo on my machine, I tried to open it using docker and specifically in VS Code with the option to "Reopen in Container". While building, the final command of [dev.Dockerfile](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/libs/langchain/dev.Dockerfile#L44) resulted in the following error:
```logs
#0 1.241 Directory ../core does not exist
```
After investigating, I found out that the issue lies in [pyproject.toml](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/libs/langchain/pyproject.toml) which is using relative paths like `../core` and `../community` in some occasions. Additionally, even after replacing `../` with `libs/` (which I am not sure if it breaks something else), the actual `core` and `community` directories are never copied over in [dev.Dockerfile](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/libs/langchain/dev.Dockerfile). These should also be copied in the created docker container, similarly to [line 41](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/libs/langchain/dev.Dockerfile#L41).
After making these two changes, the container was successfully built. I'll check out whether the change of paths in pyproject.toml is affecting any other files, and if not I will create a PR for this.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce:
1. Fork and clone the repo on your machine
2. Open it with VS Code (with Dev Containers extension installed)
3. Run the VS Code command: "Dev Containers: Rebuild Container"
### Expected behavior
Build the development docker container without errors | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14631/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14631/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14630 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14630/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14630/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14630/events | https://github.com/langchain-ai/langchain/pull/14630 | 2,038,688,607 | PR_kwDOIPDwls5h18W1 | 14,630 | infra: skip extended testing for partner packages | {
"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-12T23:15:09 | 2023-12-13T17:58:49 | 2023-12-13T17:58:48 | COLLABORATOR | null | Tested by merging into #14627 | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14630/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14630",
"html_url": "https://github.com/langchain-ai/langchain/pull/14630",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14630.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14630.patch",
"merged_at": "2023-12-13T17:58:48"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14629 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14629/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14629/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14629/events | https://github.com/langchain-ai/langchain/pull/14629 | 2,038,678,667 | PR_kwDOIPDwls5h16HL | 14,629 | core[patch]: Fix runnable with message history | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 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": 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-12T23:06:17 | 2023-12-13T22:25:36 | 2023-12-13T22:25:35 | COLLABORATOR | null | Fix bug shown in #14458. Namely, that saving inputs to history fails when the input to base runnable is a list of messages | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14629/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14629",
"html_url": "https://github.com/langchain-ai/langchain/pull/14629",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14629.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14629.patch",
"merged_at": "2023-12-13T22:25:35"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14628 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14628/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14628/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14628/events | https://github.com/langchain-ai/langchain/pull/14628 | 2,038,668,203 | PR_kwDOIPDwls5h14MK | 14,628 | add support for weaviate vectorstore using weaviate's v4 beta client | {
"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": 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."
}
] | open | false | null | [] | null | 2 | 2023-12-12T22:56:11 | 2024-01-15T10:40:31 | null | NONE | null | Hi there, a few days ago I created #14531 and asked to add support for Weaviate's new v4 python client which is currently in beta. As I mentioned in that issue, I started working on it myself and I believe I have created a working weaviate vectorstore using their new client.
## Changelog
* Uses the new weaviate-client **v4** with updated syntax and functions. The new client is faster and safer to use because of Weaviate's new [gRPC API](https://weaviate.io/developers/weaviate/api/grpc).
* Added a new function to support [BM25 keyword search](https://weaviate.io/developers/weaviate/search/bm25).
* Changed the delete function to use batch for faster execution (there was a [TODO](https://github.com/langchain-ai/langchain/blob/b9ef92f2f4bb1e4322dff040c4474c0922fbf546/libs/community/langchain_community/vectorstores/weaviate.py#L526) for it)
* The function names and attributes have remained the same from the original weaviate vectorstore.
As this version of weaviate's client is still in beta, I think it is wise to add this as a new vectorstore, without replacing the existing one. For this reason, I did not change the original weaviate.py vectorstore file, but I added a new one called weaviate_v4.py. This way users using the original weaviate vectorstore will not be affected, but they'll be able to try the new vectorstore if they wish.
The are no dependencies other than having installed weaviate-client pre-release >= v4.
I also added a file in docs/docs, which is the same as the original one for weaviate but with the new client's structure.
I ran `make format`, `make lint` and `make test` before committing. :)
I did not create a unit test file because I saw there are almost none for other vectorstores. Let me know if it's essential and I may try to create one.
My Twitter (or X) handle is @mantzouranidis. Thanks for your work, I hope my contribution helps. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14628/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/14628/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14628",
"html_url": "https://github.com/langchain-ai/langchain/pull/14628",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14628.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14628.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14627 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14627/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14627/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14627/events | https://github.com/langchain-ai/langchain/pull/14627 | 2,038,652,867 | PR_kwDOIPDwls5h101t | 14,627 | add anthropic package | {
"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": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T22:39:36 | 2023-12-13T18:31:37 | 2023-12-13T18:31:37 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14627/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14627",
"html_url": "https://github.com/langchain-ai/langchain/pull/14627",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14627.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14627.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14626 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14626/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14626/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14626/events | https://github.com/langchain-ai/langchain/pull/14626 | 2,038,648,668 | PR_kwDOIPDwls5h1z7R | 14,626 | Update Docugami Cookbook | {
"login": "kenzie28",
"id": 53704749,
"node_id": "MDQ6VXNlcjUzNzA0NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/53704749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kenzie28",
"html_url": "https://github.com/kenzie28",
"followers_url": "https://api.github.com/users/kenzie28/followers",
"following_url": "https://api.github.com/users/kenzie28/following{/other_user}",
"gists_url": "https://api.github.com/users/kenzie28/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kenzie28/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kenzie28/subscriptions",
"organizations_url": "https://api.github.com/users/kenzie28/orgs",
"repos_url": "https://api.github.com/users/kenzie28/repos",
"events_url": "https://api.github.com/users/kenzie28/events{/privacy}",
"received_events_url": "https://api.github.com/users/kenzie28/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": 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-12T22:35:10 | 2023-12-12T23:21:23 | 2023-12-12T23:21:23 | CONTRIBUTOR | null | **Description:** Update the information in the Docugami cookbook. Fix broken links and add information on our kg-rag template. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14626/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14626",
"html_url": "https://github.com/langchain-ai/langchain/pull/14626",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14626.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14626.patch",
"merged_at": "2023-12-12T23:21:23"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14625 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14625/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14625/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14625/events | https://github.com/langchain-ai/langchain/issues/14625 | 2,038,636,476 | I_kwDOIPDwls55gx-8 | 14,625 | DALLEAPIWrapper to support Azure OpenAI | {
"login": "mingqxu7",
"id": 50094870,
"node_id": "MDQ6VXNlcjUwMDk0ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/50094870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingqxu7",
"html_url": "https://github.com/mingqxu7",
"followers_url": "https://api.github.com/users/mingqxu7/followers",
"following_url": "https://api.github.com/users/mingqxu7/following{/other_user}",
"gists_url": "https://api.github.com/users/mingqxu7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mingqxu7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mingqxu7/subscriptions",
"organizations_url": "https://api.github.com/users/mingqxu7/orgs",
"repos_url": "https://api.github.com/users/mingqxu7/repos",
"events_url": "https://api.github.com/users/mingqxu7/events{/privacy}",
"received_events_url": "https://api.github.com/users/mingqxu7/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 2 | 2023-12-12T22:22:43 | 2023-12-13T01:03:43 | null | NONE | null | ### Feature request
Azure OpenAI now previews the DALLE-3 model. Today, DALLEAPIWrapper only supports the openai API.
### Motivation
My customers are using Azure OpenAI and would like to use DALL-E-3 in their solutions.
### Your contribution
PR may not be possible but I'd like to help anyway I can. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14625/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14624 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14624/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14624/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14624/events | https://github.com/langchain-ai/langchain/pull/14624 | 2,038,535,808 | PR_kwDOIPDwls5h1bUh | 14,624 | docs: fix links in readme | {
"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": 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-12T20:54:59 | 2023-12-12T21:02:51 | 2023-12-12T20:59:09 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14624/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14624",
"html_url": "https://github.com/langchain-ai/langchain/pull/14624",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14624.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14624.patch",
"merged_at": "2023-12-12T20:59:09"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14623 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14623/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14623/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14623/events | https://github.com/langchain-ai/langchain/pull/14623 | 2,038,516,984 | PR_kwDOIPDwls5h1XT6 | 14,623 | docs: core and community readme | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 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-12T20:39:14 | 2023-12-12T20:52:34 | 2023-12-12T20:52:33 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14623/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14623",
"html_url": "https://github.com/langchain-ai/langchain/pull/14623",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14623.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14623.patch",
"merged_at": "2023-12-12T20:52:33"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14622 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14622/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14622/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14622/events | https://github.com/langchain-ai/langchain/issues/14622 | 2,038,512,133 | I_kwDOIPDwls55gToF | 14,622 | Add support for Vertex AI Endpoint | {
"login": "shikanime",
"id": 22115108,
"node_id": "MDQ6VXNlcjIyMTE1MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/22115108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shikanime",
"html_url": "https://github.com/shikanime",
"followers_url": "https://api.github.com/users/shikanime/followers",
"following_url": "https://api.github.com/users/shikanime/following{/other_user}",
"gists_url": "https://api.github.com/users/shikanime/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shikanime/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shikanime/subscriptions",
"organizations_url": "https://api.github.com/users/shikanime/orgs",
"repos_url": "https://api.github.com/users/shikanime/repos",
"events_url": "https://api.github.com/users/shikanime/events{/privacy}",
"received_events_url": "https://api.github.com/users/shikanime/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 1 | 2023-12-12T20:35:10 | 2023-12-12T20:41:45 | null | NONE | null | ### Feature request
Add first-class support for Vertex AI Endpoints in Langchain. This would involve providing a similar interface to the existing SageMakerEndpoint class, allowing users to easily connect to and interact with Vertex AI Endpoints.
### Motivation
Although VertexAIModelGarden already exist, there may be instances where users require custom models with unique input and output formats. To address this need, a more versatile class could be developed, upon which VertexAIModelGarden could be built. This would allow for seamless integration of custom models without compromising the functionality of the existing Model Garden class.
### Your contribution
The implementation taking inspiration from SageMakerEndpoint if pertinent. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14622/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14621 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14621/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14621/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14621/events | https://github.com/langchain-ai/langchain/pull/14621 | 2,038,468,066 | PR_kwDOIPDwls5h1Mtm | 14,621 | [Partner] Add langchain-google-genai package (gemini) | {
"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": 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 | 2 | 2023-12-12T20:02:49 | 2023-12-13T19:58:01 | 2023-12-13T19:58:00 | COLLABORATOR | null | Add a new ChatGoogleGenerativeAI class in a `langchain-google-genai` package.
Still todo: add a deprecation warning in PALM | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14621/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14621",
"html_url": "https://github.com/langchain-ai/langchain/pull/14621",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14621.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14621.patch",
"merged_at": "2023-12-13T19:58:00"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14619 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14619/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14619/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14619/events | https://github.com/langchain-ai/langchain/pull/14619 | 2,038,432,633 | PR_kwDOIPDwls5h1FJU | 14,619 | docs: update langchain diagram | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T19:36:18 | 2023-12-13T00:36:16 | 2023-12-13T00:36:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14619/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14619",
"html_url": "https://github.com/langchain-ai/langchain/pull/14619",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14619.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14619.patch",
"merged_at": "2023-12-13T00:36:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14618 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14618/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14618/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14618/events | https://github.com/langchain-ai/langchain/pull/14618 | 2,038,425,622 | PR_kwDOIPDwls5h1Do2 | 14,618 | Template for multi-modal w/ multi-vector | {
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T19:30:54 | 2023-12-14T00:43:16 | 2023-12-14T00:43:15 | COLLABORATOR | null | Results -
![image](https://github.com/langchain-ai/langchain/assets/122662504/16bac14d-74d7-47b1-aed0-72ae25a81f39)
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14618/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14618",
"html_url": "https://github.com/langchain-ai/langchain/pull/14618",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14618.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14618.patch",
"merged_at": "2023-12-14T00:43:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14617 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14617/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14617/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14617/events | https://github.com/langchain-ai/langchain/pull/14617 | 2,038,391,449 | PR_kwDOIPDwls5h08Qx | 14,617 | experimental[patch]: Release 0.0.47 | {
"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-12T19:05:43 | 2023-12-12T19:09:40 | 2023-12-12T19:09:39 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14617/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14617",
"html_url": "https://github.com/langchain-ai/langchain/pull/14617",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14617.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14617.patch",
"merged_at": "2023-12-12T19:09:39"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14616 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14616/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14616/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14616/events | https://github.com/langchain-ai/langchain/issues/14616 | 2,038,377,269 | I_kwDOIPDwls55fys1 | 14,616 | S3DocStore | {
"login": "austinmw",
"id": 12224358,
"node_id": "MDQ6VXNlcjEyMjI0MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/austinmw",
"html_url": "https://github.com/austinmw",
"followers_url": "https://api.github.com/users/austinmw/followers",
"following_url": "https://api.github.com/users/austinmw/following{/other_user}",
"gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/austinmw/subscriptions",
"organizations_url": "https://api.github.com/users/austinmw/orgs",
"repos_url": "https://api.github.com/users/austinmw/repos",
"events_url": "https://api.github.com/users/austinmw/events{/privacy}",
"received_events_url": "https://api.github.com/users/austinmw/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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": 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 | 3 | 2023-12-12T18:55:18 | 2024-01-03T15:05:23 | null | NONE | null | ### Feature request
Hi, it seems the only DocStore available are InMemory or Google. I'd like to submit a feature request for an S3DocStore.
### Motivation
Many people have raised issues related to limited DocStore options. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14616/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/langchain-ai/langchain/issues/14616/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14615 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14615/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14615/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14615/events | https://github.com/langchain-ai/langchain/pull/14615 | 2,038,355,502 | PR_kwDOIPDwls5h00Xe | 14,615 | docs `API Reference` top menu 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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | {
"login": "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
} | [
{
"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
}
] | null | 4 | 2023-12-12T18:40:42 | 2023-12-20T18:16:36 | 2023-12-13T23:10:45 | COLLABORATOR | null | An issue with the top menu. It is not in the right priority order: "API/Core/Community/Experimental/Python Docs".
The second issue is that the "API" menu item is actually not for the whole API docs, but only for the "langchain" package.
I've updated menu to: "Core/Langchain/Community/Experimental/Docs"
Now, "Core" is the top namespace, then "Langchain".
Notes:
- "Langchain", not "LangChain" (the capital "C" inside). Reason: namespaces are in the lower case. So, here the capitalization helps to visually separate one menu item from another. "LangChain" messes with this visual comprehension.
- The last item, "Python Docs" replaced with "Docs". Reason: A 2-word item makes an impression of two menu items. Now we have more menu items and all but this are 1-word items. This single 2-word item looks like two menu items. Since we don't have a link to the JS Docs, removing "Python" is OK.
- "Docs" menu item is bold. It visually separates Docs from other menu items. Other menu items are linked to API Refernce, but Docs is linked to Documentation. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14615/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14615",
"html_url": "https://github.com/langchain-ai/langchain/pull/14615",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14615.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14615.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14614 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14614/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14614/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14614/events | https://github.com/langchain-ai/langchain/pull/14614 | 2,038,352,269 | PR_kwDOIPDwls5h0zqL | 14,614 | changed default for VertexAIEmbeddings | {
"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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-12T18:38:33 | 2023-12-21T17:15:19 | 2023-12-21T17:15:19 | CONTRIBUTOR | null |
Replace this entire comment with:
- **Description:** @kurtisvg has raised a point that it's a good idea to have a fixed version for embeddings (since otherwise a user might run a query with one version vs a vectorstore where another version was used).
In order to avoid breaking changes, I'd suggest to give users a warning, and make a `model_name` a required argument in 1.5 months. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14614/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/14614/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14614",
"html_url": "https://github.com/langchain-ai/langchain/pull/14614",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14614.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14614.patch",
"merged_at": "2023-12-21T17:15:19"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14613 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14613/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14613/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14613/events | https://github.com/langchain-ai/langchain/pull/14613 | 2,038,304,406 | PR_kwDOIPDwls5h0pQ9 | 14,613 | \Fix tool_calls message merge | {
"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": 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": 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-12T18:06:28 | 2023-12-14T01:20:55 | 2023-12-13T20:37:40 | 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/14613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14613/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14613",
"html_url": "https://github.com/langchain-ai/langchain/pull/14613",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14613.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14613.patch",
"merged_at": "2023-12-13T20:37:40"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14612 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14612/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14612/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14612/events | https://github.com/langchain-ai/langchain/pull/14612 | 2,038,299,907 | PR_kwDOIPDwls5h0oTb | 14,612 | langchain[patch]: Release 0.0.350 | {
"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-12T18:03:18 | 2023-12-12T18:10:35 | 2023-12-12T18:10:34 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14612/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14612",
"html_url": "https://github.com/langchain-ai/langchain/pull/14612",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14612.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14612.patch",
"merged_at": "2023-12-12T18:10:34"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14611 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14611/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14611/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14611/events | https://github.com/langchain-ai/langchain/pull/14611 | 2,038,297,730 | PR_kwDOIPDwls5h0n1p | 14,611 | [Templates] Add image | {
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T18:01:44 | 2023-12-12T18:55:50 | 2023-12-12T18:55:42 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14611/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14611",
"html_url": "https://github.com/langchain-ai/langchain/pull/14611",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14611.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14611.patch",
"merged_at": "2023-12-12T18:55:42"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14610 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14610/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14610/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14610/events | https://github.com/langchain-ai/langchain/pull/14610 | 2,038,280,235 | PR_kwDOIPDwls5h0kJf | 14,610 | community[patch]: Release 0.0.2 | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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-12T17:49:11 | 2023-12-12T17:58:05 | 2023-12-12T17:58:04 | COLLABORATOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/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/14610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14610/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14610",
"html_url": "https://github.com/langchain-ai/langchain/pull/14610",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14610.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14610.patch",
"merged_at": "2023-12-12T17:58:04"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14609 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14609/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14609/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14609/events | https://github.com/langchain-ai/langchain/pull/14609 | 2,038,258,200 | PR_kwDOIPDwls5h0fM8 | 14,609 | added example and updated docs | {
"login": "lkuligin",
"id": 11026406,
"node_id": "MDQ6VXNlcjExMDI2NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkuligin",
"html_url": "https://github.com/lkuligin",
"followers_url": "https://api.github.com/users/lkuligin/followers",
"following_url": "https://api.github.com/users/lkuligin/following{/other_user}",
"gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions",
"organizations_url": "https://api.github.com/users/lkuligin/orgs",
"repos_url": "https://api.github.com/users/lkuligin/repos",
"events_url": "https://api.github.com/users/lkuligin/events{/privacy}",
"received_events_url": "https://api.github.com/users/lkuligin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 2 | 2023-12-12T17:38:33 | 2023-12-14T01:24:36 | 2023-12-13T19:35:06 | CONTRIBUTOR | null | Replace this entire comment with:
- **Description:** adjust docs and added an example
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14609/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14609",
"html_url": "https://github.com/langchain-ai/langchain/pull/14609",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14609.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14609.patch",
"merged_at": "2023-12-13T19:35:06"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14608 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14608/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14608/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14608/events | https://github.com/langchain-ai/langchain/issues/14608 | 2,038,224,081 | I_kwDOIPDwls55fNTR | 14,608 | SlackToolkit() does not support proxy configuration | {
"login": "marufaytekin",
"id": 1025908,
"node_id": "MDQ6VXNlcjEwMjU5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1025908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marufaytekin",
"html_url": "https://github.com/marufaytekin",
"followers_url": "https://api.github.com/users/marufaytekin/followers",
"following_url": "https://api.github.com/users/marufaytekin/following{/other_user}",
"gists_url": "https://api.github.com/users/marufaytekin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marufaytekin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marufaytekin/subscriptions",
"organizations_url": "https://api.github.com/users/marufaytekin/orgs",
"repos_url": "https://api.github.com/users/marufaytekin/repos",
"events_url": "https://api.github.com/users/marufaytekin/events{/privacy}",
"received_events_url": "https://api.github.com/users/marufaytekin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | closed | false | null | [] | null | 2 | 2023-12-12T17:16:53 | 2023-12-15T04:00:14 | 2023-12-15T04:00:13 | NONE | null | ### System Info
langchain Version: 0.0.348
Python: 3.9.16
Docs suggests to use proxy entry as follows but it does not work:
from slacktoolkit import SlackToolkit
# Proxy settings
proxies = {
'http': 'http://proxy.example.com:8080',
'https': 'https://proxy.example.com:8080'
}
# Initialize SlackToolkit with proxy
slack_toolkit = SlackToolkit(proxies=proxies)
### 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
- [x] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
# Proxy settings
proxies = {
'http': 'your_proxy',
'https': 'your_proxy'
}
# Initialize SlackToolkit with proxy
toolkit = SlackToolkit(proxies=proxies)
tools = toolkit.get_tools()
llm = OpenAI(temperature=0)
agent = initialize_agent(
tools=toolkit.get_tools(),
llm=llm,
verbose=True,
agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,
)
agent.run("Send a greeting to my coworkers in the #slack1 channel. Your name is chatbot. Set the sender name as chatbot.")
### Expected behavior
slack message sent in #slack1 channel | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14608/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14607 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14607/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14607/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14607/events | https://github.com/langchain-ai/langchain/pull/14607 | 2,038,188,532 | PR_kwDOIPDwls5h0P-1 | 14,607 | core[minor]: Release 0.1.0 | {
"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-12T16:54:45 | 2023-12-12T17:33:12 | 2023-12-12T17:33:11 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14607/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14607",
"html_url": "https://github.com/langchain-ai/langchain/pull/14607",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14607.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14607.patch",
"merged_at": "2023-12-12T17:33:11"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14606 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14606/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14606/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14606/events | https://github.com/langchain-ai/langchain/pull/14606 | 2,038,169,402 | PR_kwDOIPDwls5h0L3z | 14,606 | allow other namespaces | {
"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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T16:43:17 | 2023-12-12T17:10:00 | 2023-12-12T17:09:59 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14606/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14606",
"html_url": "https://github.com/langchain-ai/langchain/pull/14606",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14606.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14606.patch",
"merged_at": "2023-12-12T17:09:59"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14604 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14604/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14604/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14604/events | https://github.com/langchain-ai/langchain/pull/14604 | 2,038,142,958 | PR_kwDOIPDwls5h0GFt | 14,604 | adding vectorstore_kwarg attribute to search_similarity function | {
"login": "amaleki2",
"id": 30188263,
"node_id": "MDQ6VXNlcjMwMTg4MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/30188263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amaleki2",
"html_url": "https://github.com/amaleki2",
"followers_url": "https://api.github.com/users/amaleki2/followers",
"following_url": "https://api.github.com/users/amaleki2/following{/other_user}",
"gists_url": "https://api.github.com/users/amaleki2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amaleki2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amaleki2/subscriptions",
"organizations_url": "https://api.github.com/users/amaleki2/orgs",
"repos_url": "https://api.github.com/users/amaleki2/repos",
"events_url": "https://api.github.com/users/amaleki2/events{/privacy}",
"received_events_url": "https://api.github.com/users/amaleki2/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 | 2 | 2023-12-12T16:29:04 | 2024-01-03T01:45:49 | 2024-01-03T01:18:33 | CONTRIBUTOR | null | - **Description:** the ability to add all extra parameter of vectorstore and using them SemanticSimilarityExampleSelector.
- **Issue:** #14583
- **Dependencies:** no dependensies
- **Tag maintainer:**
- **Twitter handle:** @AmirMalekiz | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14604/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14604",
"html_url": "https://github.com/langchain-ai/langchain/pull/14604",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14604.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14604.patch",
"merged_at": "2024-01-03T01:18:33"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14602 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14602/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14602/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14602/events | https://github.com/langchain-ai/langchain/pull/14602 | 2,037,964,958 | PR_kwDOIPDwls5hzenI | 14,602 | docs: update multi_modal_RAG_chroma.ipynb | {
"login": "eltociear",
"id": 22633385,
"node_id": "MDQ6VXNlcjIyNjMzMzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltociear",
"html_url": "https://github.com/eltociear",
"followers_url": "https://api.github.com/users/eltociear/followers",
"following_url": "https://api.github.com/users/eltociear/following{/other_user}",
"gists_url": "https://api.github.com/users/eltociear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eltociear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eltociear/subscriptions",
"organizations_url": "https://api.github.com/users/eltociear/orgs",
"repos_url": "https://api.github.com/users/eltociear/repos",
"events_url": "https://api.github.com/users/eltociear/events{/privacy}",
"received_events_url": "https://api.github.com/users/eltociear/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
},
{
"id": 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-12T15:06:38 | 2023-12-12T23:24:37 | 2023-12-12T23:24:37 | CONTRIBUTOR | null | seperate -> separate
<!-- 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/14602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14602/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14602",
"html_url": "https://github.com/langchain-ai/langchain/pull/14602",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14602.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14602.patch",
"merged_at": "2023-12-12T23:24:37"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14601 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14601/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14601/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14601/events | https://github.com/langchain-ai/langchain/pull/14601 | 2,037,930,539 | PR_kwDOIPDwls5hzW8z | 14,601 | Add cohere librarian template | {
"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": 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 | {
"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-12T14:53:03 | 2023-12-13T22:52:51 | 2023-12-13T22:34:44 | CONTRIBUTOR | null | Adding the example I build for the Cohere hackathon.
It can:
use a vector database to reccommend books
<img width="840" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/96543a18-217b-4445-ab4b-950c7cced915">
Use a prompt template to provide information about the library
<img width="834" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/996c8e0f-cab0-4213-bcc9-9baf84f1494b">
Use Cohere RAG to provide grounded results
<img width="822" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/7bb4a883-5316-41a9-9d2e-19fd49a43dcb">
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14601/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14601",
"html_url": "https://github.com/langchain-ai/langchain/pull/14601",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14601.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14601.patch",
"merged_at": "2023-12-13T22:34:44"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14598 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14598/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14598/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14598/events | https://github.com/langchain-ai/langchain/pull/14598 | 2,037,839,839 | PR_kwDOIPDwls5hzDB0 | 14,598 | WatsonxLLM updates/enhancements | {
"login": "MateuszOssGit",
"id": 139469471,
"node_id": "U_kgDOCFAinw",
"avatar_url": "https://avatars.githubusercontent.com/u/139469471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MateuszOssGit",
"html_url": "https://github.com/MateuszOssGit",
"followers_url": "https://api.github.com/users/MateuszOssGit/followers",
"following_url": "https://api.github.com/users/MateuszOssGit/following{/other_user}",
"gists_url": "https://api.github.com/users/MateuszOssGit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MateuszOssGit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MateuszOssGit/subscriptions",
"organizations_url": "https://api.github.com/users/MateuszOssGit/orgs",
"repos_url": "https://api.github.com/users/MateuszOssGit/repos",
"events_url": "https://api.github.com/users/MateuszOssGit/events{/privacy}",
"received_events_url": "https://api.github.com/users/MateuszOssGit/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"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-12T14:11:06 | 2024-01-02T02:50:05 | 2024-01-02T02:50:05 | CONTRIBUTOR | null | - **Description:** updates/enhancements to IBM [watsonx.ai](https://www.ibm.com/products/watsonx-ai) LLM provider (prompt tuned models and prompt templates deployments support)
- **Dependencies:** [ibm-watsonx-ai](https://pypi.org/project/ibm-watsonx-ai/),
- **Tag maintainer:** : @hwchase17 , @eyurtsev , @baskaryan
- **Twitter handle:** details in comment below.
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. ✅
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14598/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14598",
"html_url": "https://github.com/langchain-ai/langchain/pull/14598",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14598.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14598.patch",
"merged_at": "2024-01-02T02:50:05"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14596 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14596/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14596/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14596/events | https://github.com/langchain-ai/langchain/issues/14596 | 2,037,780,695 | I_kwDOIPDwls55dhDX | 14,596 | QaWithSources default prompt is massive | {
"login": "joshy-deshaw",
"id": 153487690,
"node_id": "U_kgDOCSYJSg",
"avatar_url": "https://avatars.githubusercontent.com/u/153487690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joshy-deshaw",
"html_url": "https://github.com/joshy-deshaw",
"followers_url": "https://api.github.com/users/joshy-deshaw/followers",
"following_url": "https://api.github.com/users/joshy-deshaw/following{/other_user}",
"gists_url": "https://api.github.com/users/joshy-deshaw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joshy-deshaw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshy-deshaw/subscriptions",
"organizations_url": "https://api.github.com/users/joshy-deshaw/orgs",
"repos_url": "https://api.github.com/users/joshy-deshaw/repos",
"events_url": "https://api.github.com/users/joshy-deshaw/events{/privacy}",
"received_events_url": "https://api.github.com/users/joshy-deshaw/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 | 4 | 2023-12-12T13:40:37 | 2023-12-13T08:28:38 | null | CONTRIBUTOR | null | ### System Info
Not relevant
### Who can help?
@hwchase17
@agola11
### Information
- [X] 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
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Use the QA With Sources chain with the default prompt. If the chain type is `stuff` or `map_reduce` the default prompts used are [this](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/chains/qa_with_sources/stuff_prompt.py) and [this](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/chains/qa_with_sources/map_reduce_prompt.py) respectively. These files are massive, and easily adds a 1000+ tokens to every request. In models like PALM2, there's barely any tokens left for other questions.
### Expected behavior
These prompts should be much more short, even if as a sample input. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14596/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/langchain-ai/langchain/issues/14596/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14595 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14595/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14595/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14595/events | https://github.com/langchain-ai/langchain/issues/14595 | 2,037,760,278 | I_kwDOIPDwls55dcEW | 14,595 | Sources returned in QaWithSources can be optimised | {
"login": "joshy-deshaw",
"id": 153487690,
"node_id": "U_kgDOCSYJSg",
"avatar_url": "https://avatars.githubusercontent.com/u/153487690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joshy-deshaw",
"html_url": "https://github.com/joshy-deshaw",
"followers_url": "https://api.github.com/users/joshy-deshaw/followers",
"following_url": "https://api.github.com/users/joshy-deshaw/following{/other_user}",
"gists_url": "https://api.github.com/users/joshy-deshaw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joshy-deshaw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshy-deshaw/subscriptions",
"organizations_url": "https://api.github.com/users/joshy-deshaw/orgs",
"repos_url": "https://api.github.com/users/joshy-deshaw/repos",
"events_url": "https://api.github.com/users/joshy-deshaw/events{/privacy}",
"received_events_url": "https://api.github.com/users/joshy-deshaw/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": 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-12T13:30:30 | 2023-12-12T13:32:50 | null | CONTRIBUTOR | null | ### Feature request
As of the current implementation of the QA with sources chain, if `return_source_documents` is set to `True`, [all the sources](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/qa_with_sources/base.py#L165) that are retrieved from the vector DB are returned. The `sources` field returns a list of file names that were used by the LLM. I propose we could do something like this
1. Assign each `Document` a unique UUID as the `source` before passing it to the LLM.
2. Once the LLM returns the relevant sources, we can backmap this to the actual `Document`s that were used by the LLM as opposed to getting just the filename.
### Motivation
This information seems vastly more useful than the entire response from the vector DB. For our current use cases, we've ended up overriding these functions to add this functionality.
### Your contribution
I can raise a PR adding this if this is something that you'd find useful as well.
An additional issue to report, the `_split_sources` [function](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/qa_with_sources/base.py#L124) splits at the first instance of `SOURCE` which seems to be a bit problematic. I can fix this to split at the last occurence. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14595/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14594 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14594/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14594/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14594/events | https://github.com/langchain-ai/langchain/issues/14594 | 2,037,660,794 | I_kwDOIPDwls55dDx6 | 14,594 | How to use custom tracing tool like opentelemetry or tempo | {
"login": "npuichigo",
"id": 11533479,
"node_id": "MDQ6VXNlcjExNTMzNDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/11533479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/npuichigo",
"html_url": "https://github.com/npuichigo",
"followers_url": "https://api.github.com/users/npuichigo/followers",
"following_url": "https://api.github.com/users/npuichigo/following{/other_user}",
"gists_url": "https://api.github.com/users/npuichigo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/npuichigo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/npuichigo/subscriptions",
"organizations_url": "https://api.github.com/users/npuichigo/orgs",
"repos_url": "https://api.github.com/users/npuichigo/repos",
"events_url": "https://api.github.com/users/npuichigo/events{/privacy}",
"received_events_url": "https://api.github.com/users/npuichigo/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"
}
] | open | false | null | [] | null | 1 | 2023-12-12T12:34:07 | 2023-12-12T12:41:42 | null | NONE | null | ### Feature request
How to use custom tracing tool like opentelemetry or tempo
### Motivation
If I don't want to use LangSmith
### Your contribution
N/A | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14594/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14593 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14593/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14593/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14593/events | https://github.com/langchain-ai/langchain/issues/14593 | 2,037,539,816 | I_kwDOIPDwls55cmPo | 14,593 | Not able to inference deepseek-coder-6.7b-instruct.Q5_K_M.gguf | {
"login": "Antriksh29071989",
"id": 30972990,
"node_id": "MDQ6VXNlcjMwOTcyOTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/30972990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Antriksh29071989",
"html_url": "https://github.com/Antriksh29071989",
"followers_url": "https://api.github.com/users/Antriksh29071989/followers",
"following_url": "https://api.github.com/users/Antriksh29071989/following{/other_user}",
"gists_url": "https://api.github.com/users/Antriksh29071989/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Antriksh29071989/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Antriksh29071989/subscriptions",
"organizations_url": "https://api.github.com/users/Antriksh29071989/orgs",
"repos_url": "https://api.github.com/users/Antriksh29071989/repos",
"events_url": "https://api.github.com/users/Antriksh29071989/events{/privacy}",
"received_events_url": "https://api.github.com/users/Antriksh29071989/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 3 | 2023-12-12T11:20:20 | 2023-12-15T13:29:13 | null | NONE | null | ### System Info
OS: Apple M1 Max
______________________
Name: langchain
Version: 0.0.349
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Requires: aiohttp, async-timeout, dataclasses-json, jsonpatch, langchain-community, langchain-core, langsmith, numpy, pydantic, PyYAML, requests, SQLAlchemy, tenacity
Required-by:
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce:
I have followed the instructions provided here : https://python.langchain.com/docs/integrations/llms/llamacpp.
Though not able inference it correctly.
Model path : https://huggingface.co/TheBloke/deepseek-coder-6.7B-instruct-GGUF
```
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.chains import LLMChain, QAGenerationChain
from langchain.llms import LlamaCpp
from langchain.prompts import PromptTemplate
template = """Question: {question}
Answer: Let's work this out in a step by step way to be sure we have the right answer."""
prompt = PromptTemplate(template=template, input_variables=["question"])
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
n_gpu_layers = 1 # Change this value based on your model and your GPU VRAM pool.
n_batch = 512 # Should be between 1 and n_ctx, consider the amount of VRAM in your GPU.
llm = LlamaCpp(
model_path="../models/deepcoder-gguf/deepseek-coder-6.7b-instruct.Q2_K.gguf",
n_gpu_layers=n_gpu_layers,
max_tokens=2000,
top_p=1,
n_batch=n_batch,
callback_manager=callback_manager,
f16_kv=True,
verbose=True, # Verbose is required to pass to the callback manager
)
llm(
"Question: Write python program to add two numbers ? Answer:"
)
```
Result: ` < """"""""""""""""""""""/"`
Requesting you to look into it.
Please let me know in case you need more information.
Thank you.
I have tried the same model file with **[llama-cpp-python](https://github.com/abetlen/llama-cpp-python)** package and it works as expected.
Please find below the code that I have tried:
```
import json
import time
from llama_cpp import Llama
n_gpu_layers = 1 # Change this value based on your model and your GPU VRAM pool.
n_batch = 512
llm = Llama(model_path="../models/deepcoder-gguf/deepseek-coder-6.7b-instruct.Q5_K_M.gguf" , chat_format="llama-2", n_gpu_layers=n_gpu_layers,n_batch=n_batch)
start_time = time.time()
pp = llm.create_chat_completion(
messages = [
{"role": "system", "content": "You are an python language assistant."},
{
"role": "user",
"content": "Write quick sort ."
}
])
end_time = time.time()
print("execution time:", {end_time - start_time})
print(pp["choices"][0]["message"]["content"])
```
Output :
```
## Quick Sort Algorithm in Python
Here is a simple implementation of the quicksort algorithm in Python:
```python
def partition(arr, low, high):
i = (low-1) # index of smaller element
pivot = arr[high] # pivot
for j in range(low , high):
if arr[j] <= pivot:
i += 1
arr[i],arr[j] = arr[j],arr[i]
arr[i+1],arr[high] = arr[high],arr[i+1]
return (i+1)
def quickSort(arr, low, high):
if low < high:
pi = partition(arr,low,high)
quickSort(arr, low, pi-1)
quickSort(arr, pi+1, high)
# Test the code
n = int(input("Enter number of elements in array: "))
print("Enter elements: ")
arr = [int(input()) for _ in range(n)]
quickSort(arr,0,n-1)
print ("Sorted array is:")
for i in range(n):
print("%d" %arr[i]),
This code first defines a helper function `partition()` that takes an array and two indices. It then rearranges the elements of the array so that all numbers less than or equal to the pivot are on its left, while all numbers greater than the pivot are on its right. The `quickSort()` function is then defined which recursively applies this partitioning process until the entire array is sorted.
The user can input their own list of integers and the program will output a sorted version of that list.
[/code]
Conclusion
In conclusion, Python provides several built-in functions for sorting lists such as `sort()` or `sorted()` but it's also possible to implement quick sort algorithm from scratch using custom function. This can be useful in situations where you need more control over the sorting process or when dealing with complex data structures.
```
### Expected behavior
It should inference the model just like the native [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) package. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14593/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/14593/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14592 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14592/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14592/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14592/events | https://github.com/langchain-ai/langchain/issues/14592 | 2,037,519,560 | I_kwDOIPDwls55chTI | 14,592 | Issue: <How to store/export the output of a chatbot to excel ' prefix> | {
"login": "jyoti194",
"id": 109470153,
"node_id": "U_kgDOBoZhyQ",
"avatar_url": "https://avatars.githubusercontent.com/u/109470153?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jyoti194",
"html_url": "https://github.com/jyoti194",
"followers_url": "https://api.github.com/users/jyoti194/followers",
"following_url": "https://api.github.com/users/jyoti194/following{/other_user}",
"gists_url": "https://api.github.com/users/jyoti194/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jyoti194/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jyoti194/subscriptions",
"organizations_url": "https://api.github.com/users/jyoti194/orgs",
"repos_url": "https://api.github.com/users/jyoti194/repos",
"events_url": "https://api.github.com/users/jyoti194/events{/privacy}",
"received_events_url": "https://api.github.com/users/jyoti194/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] | open | false | null | [] | null | 5 | 2023-12-12T11:08:08 | 2023-12-14T13:14:32 | null | NONE | null | ### Issue you'd like to raise.
i have created a chatbot to chat with the sql database using openai and langchain, but how to store or output data into excel using langchain.
I got some idea from chatgpt which i have integrated with my code, but there is an error while importing the modules
below is my code
import pandas as pd
import sqlalchemy as sal
import os, sys, openai
import constants
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain_experimental.sql import SQLDatabaseChain
from sqlalchemy import create_engine
# import ChatOpenAI
from langchain.chat_models import ChatOpenAI
from typing import List, Optional
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.callbacks.manager import CallbackManagerForToolRun
from langchain.chat_models import ChatOpenAI
from langchain_experimental.plan_and_execute import (
PlanAndExecute,
load_agent_executor,
load_chat_planner,
)
from langchain.sql_database import SQLDatabase
from langchain.text_splitter import TokenTextSplitter
from langchain.tools import BaseTool
from langchain.tools.sql_database.tool import QuerySQLDataBaseTool
from secret_key import openapi_key
from langchain import PromptTemplate
from langchain.models import ChatGPTClient
from langchain.utils import save_conversation
os.environ['OPENAI_API_KEY'] = openapi_key
def chat(question):
from urllib.parse import quote_plus
server_name = constants.server_name
database_name = constants.database_name
username = constants.username
password = constants.password
encoded_password = quote_plus(password)
connection_uri = f"mssql+pyodbc://{username}:{encoded_password}@{server_name}/{database_name}?driver=ODBC+Driver+17+for+SQL+Server"
# custom_suffix = """""
# If the SQLResult is empty, the Answer should be "No results found". DO NOT hallucinate an answer if there is no result."""
engine = create_engine(connection_uri)
model_name="gpt-3.5-turbo-16k"
db = SQLDatabase(engine, view_support=True, include_tables=['EGV_emp_departments_ChatGPT'])
# db = SQLDatabase(engine, view_support=True, include_tables=['egv_emp_acadamics_ChatGPT'])
llm = ChatOpenAI(temperature=0, verbose=False, model=model_name)
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
from langchain.prompts import PromptTemplate
PROMPT = """
Given an input question, first create a syntactically correct mssql query to run,
then look at the results of the query and return the answer.
The question: {db_chain.run}
"""
prompt_template = """" Use the following pieces of context to answer the question at the end.
If you don't know the answer, please think rationally and answer from your own knowledge base.
Don't consider the table which are not mentioned, if no result is matching with the keyword Please return the answer as invalid question
{context}
Question: {questions}
"""
PROMPT = PromptTemplate(
template=prompt_template, input_variables=["context", "questions"]
)
def split_text(text, chunk_size, chunk_overlap=0):
text_splitter = TokenTextSplitter(
chunk_size=chunk_size, chunk_overlap=chunk_overlap
)
yield from text_splitter.split_text(text)
class QuerySQLDatabaseTool2(QuerySQLDataBaseTool):
def _run(
self,
query: str,
run_manager: Optional[CallbackManagerForToolRun] = None,
) -> str:
result = self.db.run_no_throw(query)
return next(split_text(result, chunk_size=14_000))
class SQLDatabaseToolkit2(SQLDatabaseToolkit):
def get_tools(self) -> List[BaseTool]:
tools = super().get_tools()
original_query_tool_description = tools[0].description
new_query_tool = QuerySQLDatabaseTool2(
db=self.db, description=original_query_tool_description
)
tools[0] = new_query_tool
return tools
return db_chain.run(question)
# answer=chat("give the names of employees who have completed PG")
answer= chat("give the list of employees joined in january and february of 2023 with Employee ID, Name, Department,Date of join")
print(answer)
conversation_data= chatgpt.chat(prompt="convert into .csv and .xlsx only if the multiple values are asked in the question, if one a single thing is asked, just give the answer in chatbot no need to save the answer")
# conversation_data = chat("convert into .csv and .xlsx only if the multiple values are asked in the question, if one a single thing is asked, just give the answer in chatbot no need to save the answer")
save_conversation(conversation_data, "chat_data.csv")
df = pd.read_csv("chat_data.csv")
path = r"C:\Users\rndbcpsoft\OneDrive\Desktop\test\chat_data.xlsx"
df.to_excel(path, index=False)
print(f"Conversation data has been saved to '{path}' in Excel format.")
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14592/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14591 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14591/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14591/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14591/events | https://github.com/langchain-ai/langchain/pull/14591 | 2,037,447,520 | PR_kwDOIPDwls5hxtB_ | 14,591 | Fix detection of Amazon OpenSearch Serverless | {
"login": "slangenbach",
"id": 2754095,
"node_id": "MDQ6VXNlcjI3NTQwOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2754095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slangenbach",
"html_url": "https://github.com/slangenbach",
"followers_url": "https://api.github.com/users/slangenbach/followers",
"following_url": "https://api.github.com/users/slangenbach/following{/other_user}",
"gists_url": "https://api.github.com/users/slangenbach/gists{/gist_id}",
"starred_url": "https://api.github.com/users/slangenbach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slangenbach/subscriptions",
"organizations_url": "https://api.github.com/users/slangenbach/orgs",
"repos_url": "https://api.github.com/users/slangenbach/repos",
"events_url": "https://api.github.com/users/slangenbach/events{/privacy}",
"received_events_url": "https://api.github.com/users/slangenbach/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": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-12T10:27:50 | 2024-01-09T10:14:07 | 2024-01-09T10:14:06 | CONTRIBUTOR | null | - **Description:** Fixes detection Amazon OpenSearch Serverless (AOSS) when using the `RequestsAWSV4SignerAuth` utility from [opensearch-py][1] for authentication. Keeps compatibility with using [requests-aws4auth][2].
- **Issue:** #14129
- **Dependencies:** [opensearch-py][3], [requests-aws4auth][2] (for testing purposes only)
- **Tag maintainer:** @naveentatikonda @eyurtsev
[1]: https://github.com/opensearch-project/opensearch-py/blob/c4e53d444aef698e08801bfccd55a2478721a97c/opensearchpy/helpers/signer.py#L73C21-L73C21
[2]: https://pypi.org/project/requests-aws4auth/
[3]: https://pypi.org/project/opensearch-py/ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14591/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14591",
"html_url": "https://github.com/langchain-ai/langchain/pull/14591",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14591.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14591.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14590 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14590/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14590/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14590/events | https://github.com/langchain-ai/langchain/issues/14590 | 2,037,430,016 | I_kwDOIPDwls55cLcA | 14,590 | Caching with Bedrock does not distinguish models or params | {
"login": "kinoue",
"id": 500867,
"node_id": "MDQ6VXNlcjUwMDg2Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/500867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kinoue",
"html_url": "https://github.com/kinoue",
"followers_url": "https://api.github.com/users/kinoue/followers",
"following_url": "https://api.github.com/users/kinoue/following{/other_user}",
"gists_url": "https://api.github.com/users/kinoue/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kinoue/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kinoue/subscriptions",
"organizations_url": "https://api.github.com/users/kinoue/orgs",
"repos_url": "https://api.github.com/users/kinoue/repos",
"events_url": "https://api.github.com/users/kinoue/events{/privacy}",
"received_events_url": "https://api.github.com/users/kinoue/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-12T10:17:59 | 2023-12-12T10:20:16 | null | NONE | null | ### System Info
Python 3.9.12, LangChain 0.0.346
### Who can help?
@agola11 @3coins
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
When you use caching with LangChain, it does not distinguish different LLM models. For example, the response for LLama2 was used for a prompt for Claude 2.
```
def ask_name(model_id):
question = 'what is your name?'
bedrock = Bedrock(model_id=model_id, model_kwargs={'temperature': 0.1})
print('me: ' + question)
t0 = datetime.datetime.now()
print(f'{bedrock.model_id}: ' + bedrock(question).strip())
print('({:.2f} sec)'.format((datetime.datetime.now() - t0).total_seconds()))
print()
model_ids = ['meta.llama2-70b-chat-v1','anthropic.claude-v2',]
for model_id in model_ids:
ask_name(model_id)
ask_name(model_id)
```
==>
```
me: what is your name?
meta.llama2-70b-chat-v1: Answer: My name is LLaMA, I'm a large language model trained by a team of researcher at Meta AI.
(2.24 sec)
me: what is your name?
meta.llama2-70b-chat-v1: Answer: My name is LLaMA, I'm a large language model trained by a team of researcher at Meta AI.
(0.00 sec)
me: what is your name?
anthropic.claude-v2: Answer: My name is LLaMA, I'm a large language model trained by a team of researcher at Meta AI.
(0.00 sec)
```
This is because of https://github.com/langchain-ai/langchain/blob/db6bf8b022c17353b46f97ab3b9f44ff9e88a488/libs/langchain/langchain/llms/bedrock.py#L235
```
@property
def _identifying_params(self) -> Mapping[str, Any]:
"""Get the identifying parameters."""
_model_kwargs = self.model_kwargs or {}
return {
**{"model_kwargs": _model_kwargs},
}
```
My current workaround is subclassing the `Bedrock` class:
```
class MyBedrock(Bedrock):
@property
def _identifying_params(self) -> Mapping[str, Any]:
"""Get the identifying parameters."""
return {
'model_id': self.model_id,
**BedrockBase._identifying_params.__get__(self)
}
```
This seems working.
### Expected behavior
LLama 2 should replay with "My name is LLaMa..." while Claude 2 should reply with "My name is Claude." | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14590/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14589 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14589/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14589/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14589/events | https://github.com/langchain-ai/langchain/issues/14589 | 2,037,428,125 | I_kwDOIPDwls55cK-d | 14,589 | Unable to dump/load custom classes since langchain_core 0.0.13 | {
"login": "simonschmidt",
"id": 2243140,
"node_id": "MDQ6VXNlcjIyNDMxNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2243140?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonschmidt",
"html_url": "https://github.com/simonschmidt",
"followers_url": "https://api.github.com/users/simonschmidt/followers",
"following_url": "https://api.github.com/users/simonschmidt/following{/other_user}",
"gists_url": "https://api.github.com/users/simonschmidt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/simonschmidt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonschmidt/subscriptions",
"organizations_url": "https://api.github.com/users/simonschmidt/orgs",
"repos_url": "https://api.github.com/users/simonschmidt/repos",
"events_url": "https://api.github.com/users/simonschmidt/events{/privacy}",
"received_events_url": "https://api.github.com/users/simonschmidt/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | closed | false | null | [] | null | 3 | 2023-12-12T10:16:56 | 2023-12-13T10:44:16 | 2023-12-12T17:10:00 | NONE | null | ### System Info
python: 3.11
langchain: 0.0.347-0.0.349
langchain_core: 0.0.12, 0.0.13
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
import langchain_core.load
class Custom(langchain_core.load.Serializable):
@classmethod
def is_lc_serializable(cls) -> bool:
return True
out = langchain_core.load.dumps(Custom())
langchain_core.load.loads(
out,
valid_namespaces=["langchain", "__main__"],
)
```
### Expected behavior
I'm expecting it's possible to make a custom class serializable, but since langchain_core 0.0.13 the `valid_namespaces` is effectively ignored as it relies on a whitelist of what can be serialized `SERIALIZABLE_MAPPING`.
So I get the error:
> ValueError: Trying to deserialize something that cannot be deserialized in current version of langchain-core: ('__main__', 'Custom')
Triggered in [load.py#L68](https://github.com/langchain-ai/langchain/blob/v0.0.349/libs/core/langchain_core/load/load.py#L68)
---
I'm not sure if serialization was ever intended to be part of the public API, but I've found it convenient to be able to make my custom parts of chains also abide by the serialization protocol and still be able to dump/load my chains | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14589/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14588 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14588/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14588/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14588/events | https://github.com/langchain-ai/langchain/issues/14588 | 2,037,349,229 | I_kwDOIPDwls55b3tt | 14,588 | OutputFixingParser should use callbacks | {
"login": "wolpl",
"id": 18027263,
"node_id": "MDQ6VXNlcjE4MDI3MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/18027263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wolpl",
"html_url": "https://github.com/wolpl",
"followers_url": "https://api.github.com/users/wolpl/followers",
"following_url": "https://api.github.com/users/wolpl/following{/other_user}",
"gists_url": "https://api.github.com/users/wolpl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wolpl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wolpl/subscriptions",
"organizations_url": "https://api.github.com/users/wolpl/orgs",
"repos_url": "https://api.github.com/users/wolpl/repos",
"events_url": "https://api.github.com/users/wolpl/events{/privacy}",
"received_events_url": "https://api.github.com/users/wolpl/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] | open | false | null | [] | null | 1 | 2023-12-12T09:35:53 | 2023-12-12T09:38:12 | null | NONE | null | ### System Info
Python 3.9.13, LangChain 0.0.347, Windows 10
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
Running this snippet:
```python
answers = (answer for answer in ["answer1", "answer2"])
class CustomLLM(LLM):
def _llm_type(self) -> str:
return "custom"
def _call(self, prompt: str, **_) -> str:
return next(answers)
class CustomOutputParser(BaseOutputParser[str]):
reject_output: bool = True
def parse(self, text: str) -> str:
if self.reject_output:
self.reject_output = False
raise OutputParserException(f"Parsing failed")
return text
def get_format_instructions(self) -> str:
return "format instructions"
class CustomCallbackHandler(BaseCallbackHandler):
def on_llm_end(self, response: LLMResult, **_):
print(f"received LLM response: {response}")
llm = CustomLLM()
chain = LLMChain(
llm=llm,
prompt=PromptTemplate.from_template("Testing prompt"),
output_key="chain_output",
verbose=True,
output_parser=OutputFixingParser.from_llm(llm, CustomOutputParser()),
)
result = chain({}, callbacks=[CustomCallbackHandler()])
print(f"Chain result is {result}")
```
produces the following output:
```
> Entering new LLMChain chain...
Prompt after formatting:
Testing prompt
received LLM response: generations=[[Generation(text='answer1')]] llm_output=None run=None
> Finished chain.
Chain result is {'chain_output': 'answer2'}
```
### Expected behavior
The output line `received LLM response: generations=[[Generation(text='answer1')]] llm_output=None run=None` should also appear with `answer2`, because that one is also generated while running the chain that was configured to use the `CustomCallbackHandler`.
The callbacks should also be used in the chain that is created inside the OutputFixingParser. In my opinion, the chain doing the retry, should have the overall chain as a parent in the callback methods (`on_chain_start()` an so on). | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14588/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14587 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14587/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14587/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14587/events | https://github.com/langchain-ai/langchain/pull/14587 | 2,037,340,664 | PR_kwDOIPDwls5hxVzc | 14,587 | 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": 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": 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 | 2 | 2023-12-12T09:31:08 | 2023-12-12T23:34:46 | 2023-12-12T23:34:46 | 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:** NA
- **Dependencies:** NA
- **Tag maintainer:** NA
- **Twitter handle:** NA
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14587/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14587",
"html_url": "https://github.com/langchain-ai/langchain/pull/14587",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14587.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14587.patch",
"merged_at": "2023-12-12T23:34:46"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14586 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14586/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14586/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14586/events | https://github.com/langchain-ai/langchain/issues/14586 | 2,037,287,446 | I_kwDOIPDwls55booW | 14,586 | Issue: Getting error while integrating Confluence Spaces including attachments | {
"login": "deepak-habilelabs",
"id": 137885024,
"node_id": "U_kgDOCDf1YA",
"avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepak-habilelabs",
"html_url": "https://github.com/deepak-habilelabs",
"followers_url": "https://api.github.com/users/deepak-habilelabs/followers",
"following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}",
"gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions",
"organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs",
"repos_url": "https://api.github.com/users/deepak-habilelabs/repos",
"events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepak-habilelabs/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] | closed | false | null | [] | null | 2 | 2023-12-12T09:00:13 | 2023-12-12T11:25:18 | 2023-12-12T11:24:03 | NONE | null | ### Issue you'd like to raise.
below is my code
` confluence_url = config.get("confluence_url", None)
username = config.get("username", None)
api_key = config.get("api_key", None)
space_key = config.get("space_key", None)
documents = []
embedding = OpenAIEmbeddings()
loader = ConfluenceLoader(
url=confluence_url,
username=username,
api_key=api_key
)
for space_key in space_key:
documents.extend(loader.load(space_key=space_key,include_attachments=True,limit=100))`
The error I am getting:
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.media.atlassian.com/file/UNKNOWN_MEDIA_ID/binary?token=sometoken&name=Invalid%20file%20id%20-%20UNKNOWN_MEDIA_ID&max-age=2940
### Suggestion:
_No response_ | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14586/timeline | null | completed | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14585 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14585/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14585/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14585/events | https://github.com/langchain-ai/langchain/issues/14585 | 2,037,282,618 | I_kwDOIPDwls55bnc6 | 14,585 | ValidationError: 2 validation errors for DocArrayDoc returned when try to execute the RAG Search Example | {
"login": "xidian237",
"id": 17851643,
"node_id": "MDQ6VXNlcjE3ODUxNjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/17851643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xidian237",
"html_url": "https://github.com/xidian237",
"followers_url": "https://api.github.com/users/xidian237/followers",
"following_url": "https://api.github.com/users/xidian237/following{/other_user}",
"gists_url": "https://api.github.com/users/xidian237/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xidian237/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xidian237/subscriptions",
"organizations_url": "https://api.github.com/users/xidian237/orgs",
"repos_url": "https://api.github.com/users/xidian237/repos",
"events_url": "https://api.github.com/users/xidian237/events{/privacy}",
"received_events_url": "https://api.github.com/users/xidian237/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 | 15 | 2023-12-12T08:57:21 | 2024-01-04T06:45:44 | null | NONE | null | ### System Info
Langchain Version: 0.0.335
Platform: Win11
Python Version: 3.11.5
Hi experts,
I'm trying to execute the RAG Search Example on the Langchain Doc: https://python.langchain.com/docs/expression_language/get_started
**Here is the code:**
from langchain.chat_models import ChatOpenAI
from langchain.embeddings import OpenAIEmbeddings
from langchain.prompts import ChatPromptTemplate
from langchain.vectorstores import DocArrayInMemorySearch
from langchain.schema import StrOutputParser
from langchain.schema.runnable import RunnableParallel, RunnablePassthrough
vectorstore = DocArrayInMemorySearch.from_texts(
["harrison worked at kensho", "bears like to eat honey"],
embedding=OpenAIEmbeddings(),
)
retriever = vectorstore.as_retriever()
template = """Answer the question based only on the following context:
{context}
Question: {question}
"""
prompt = ChatPromptTemplate.from_template(template)
model = ChatOpenAI()
output_parser = StrOutputParser()
setup_and_retrieval = RunnableParallel(
{"context": retriever, "question": RunnablePassthrough()}
)
chain = setup_and_retrieval | prompt | model | output_parser
chain.invoke("where did harrison work?")
**but the example fails with the ValidationError: 2 validation errors for DocArrayDoc.**
**Here is the error details:**
C:\Project\pythonProjectAI\.venv\Lib\site-packages\pydantic\_migration.py:283: UserWarning: `pydantic.error_wrappers:ValidationError` has been moved to `pydantic:ValidationError`.
warnings.warn(f'`{import_path}` has been moved to `{new_location}`.')
Traceback (most recent call last):
File "C:\Project\pythonProjectAI\AI.py", line 28, in <module>
chain.invoke("where did harrison work?")
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\runnable\base.py", line 1427, in invoke
input = step.invoke(
^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\runnable\base.py", line 1938, in invoke
output = {key: future.result() for key, future in zip(steps, futures)}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\runnable\base.py", line 1938, in <dictcomp>
output = {key: future.result() for key, future in zip(steps, futures)}
^^^^^^^^^^^^^^^
File "C:\Program Files\Python\Lib\concurrent\futures\_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python\Lib\concurrent\futures\_base.py", line 401, in __get_result
raise self._exception
File "C:\Program Files\Python\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\retriever.py", line 112, in invoke
return self.get_relevant_documents(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\retriever.py", line 211, in get_relevant_documents
raise e
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\retriever.py", line 204, in get_relevant_documents
result = self._get_relevant_documents(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\schema\vectorstore.py", line 657, in _get_relevant_documents
docs = self.vectorstore.similarity_search(query, **self.search_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\vectorstores\docarray\base.py", line 127, in similarity_search
results = self.similarity_search_with_score(query, k=k, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\langchain\vectorstores\docarray\base.py", line 106, in similarity_search_with_score
query_doc = self.doc_cls(embedding=query_embedding) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Project\pythonProjectAI\.venv\Lib\site-packages\pydantic\main.py", line 164, in __init__
__pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for DocArrayDoc
text
Field required [type=missing, input_value={'embedding': [-0.0192381..., 0.010137099064823456]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
metadata
Field required [type=missing, input_value={'embedding': [-0.0192381..., 0.010137099064823456]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.chat_models import ChatOpenAI
from langchain.embeddings import OpenAIEmbeddings
from langchain.prompts import ChatPromptTemplate
from langchain.vectorstores import DocArrayInMemorySearch
from langchain.schema import StrOutputParser
from langchain.schema.runnable import RunnableParallel, RunnablePassthrough
vectorstore = DocArrayInMemorySearch.from_texts(
["harrison worked at kensho", "bears like to eat honey"],
embedding=OpenAIEmbeddings(),
)
retriever = vectorstore.as_retriever()
template = """Answer the question based only on the following context:
{context}
Question: {question}
"""
prompt = ChatPromptTemplate.from_template(template)
model = ChatOpenAI()
output_parser = StrOutputParser()
setup_and_retrieval = RunnableParallel(
{"context": retriever, "question": RunnablePassthrough()}
)
chain = setup_and_retrieval | prompt | model | output_parser
chain.invoke("where did harrison work?")
### Expected behavior
The example runs well. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14585/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14585/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14584 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14584/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14584/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14584/events | https://github.com/langchain-ai/langchain/issues/14584 | 2,037,219,925 | I_kwDOIPDwls55bYJV | 14,584 | GraphCypherQAChain Unhandled Exception while running Erroneous Cypher Queries | {
"login": "mesutgurlek",
"id": 9192832,
"node_id": "MDQ6VXNlcjkxOTI4MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9192832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mesutgurlek",
"html_url": "https://github.com/mesutgurlek",
"followers_url": "https://api.github.com/users/mesutgurlek/followers",
"following_url": "https://api.github.com/users/mesutgurlek/following{/other_user}",
"gists_url": "https://api.github.com/users/mesutgurlek/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mesutgurlek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mesutgurlek/subscriptions",
"organizations_url": "https://api.github.com/users/mesutgurlek/orgs",
"repos_url": "https://api.github.com/users/mesutgurlek/repos",
"events_url": "https://api.github.com/users/mesutgurlek/events{/privacy}",
"received_events_url": "https://api.github.com/users/mesutgurlek/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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] | open | false | null | [] | null | 1 | 2023-12-12T08:18:57 | 2023-12-12T08:29:13 | null | NONE | null | https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/graph_qa/cypher.py#L266C2-L269C25
Hi, I am heavily using GraphCypherQAChain and sometimes cypher_query_corrector returns generated cypher as valid but have some syntax problems or completely it is not a cypher query; and during the execution of the neo4j, it raises errors. Where do you think that these errors should be handled, how to continue the chain execution without any interruption and return a plausible response to the user? @tomasonjo
Example:
<img width="1104" alt="image" src="https://github.com/langchain-ai/langchain/assets/9192832/0cac12a9-0a4c-4446-af30-2f54ac3290c8">
Thanks! | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14584/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/langchain-ai/langchain/issues/14584/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14583 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14583/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14583/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14583/events | https://github.com/langchain-ai/langchain/issues/14583 | 2,037,136,239 | I_kwDOIPDwls55bDtv | 14,583 | passing down vectorstore additional argument in SemanticSimilarityExampleSelector | {
"login": "amaleki2",
"id": 30188263,
"node_id": "MDQ6VXNlcjMwMTg4MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/30188263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amaleki2",
"html_url": "https://github.com/amaleki2",
"followers_url": "https://api.github.com/users/amaleki2/followers",
"following_url": "https://api.github.com/users/amaleki2/following{/other_user}",
"gists_url": "https://api.github.com/users/amaleki2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amaleki2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amaleki2/subscriptions",
"organizations_url": "https://api.github.com/users/amaleki2/orgs",
"repos_url": "https://api.github.com/users/amaleki2/repos",
"events_url": "https://api.github.com/users/amaleki2/events{/privacy}",
"received_events_url": "https://api.github.com/users/amaleki2/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] | open | false | null | [] | null | 1 | 2023-12-12T07:18:55 | 2023-12-12T07:21:11 | null | CONTRIBUTOR | null | ### Feature request
Currently, SemanticSimilarityExampleSelector only passes `k` as a parameter to vectorstore [see here](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/core/langchain_core/example_selectors/semantic_similarity.py#L55C10-L55C10). vectorstore, depending on the implementation can take multiple other arguments. most notably, `filters` can be passed down [see here](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/community/langchain_community/vectorstores/faiss.py#L505C13-L507C38)
### Motivation
Having the ability to filter down examples (on top of similarity search) would be very helpful in controlling the examples that are added to the prompt. This feature provides significant more control over examples selection.
### Your contribution
It is very easy to update this. add a new attribute `vectorstore_kwargs` to the class
class SemanticSimilarityExampleSelector(BaseExampleSelector, BaseModel):
"""Example selector that selects examples based on SemanticSimilarity."""
vectorstore: VectorStore
"""VectorStore than contains information about examples."""
k: int = 4
"""Number of examples to select."""
example_keys: Optional[List[str]] = None
"""Optional keys to filter examples to."""
input_keys: Optional[List[str]] = None
"""Optional keys to filter input to. If provided, the search is based on
the input variables instead of all variables."""
vectorstore_kwargs: Optional[Dict[str, Any]] = None
"""additional arguments passed to vectorstore for similarity search."""
and then update the `select_examples` function with
`example_docs = self.vectorstore.similarity_search(query, k=self.k, **self.vectorstore_kwargs)` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14583/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14582 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14582/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14582/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14582/events | https://github.com/langchain-ai/langchain/pull/14582 | 2,037,128,657 | PR_kwDOIPDwls5hwocQ | 14,582 | Fixes and Upgrades for the Tongyi LLM and ChatTongyi Model | {
"login": "liushuaikobe",
"id": 2098020,
"node_id": "MDQ6VXNlcjIwOTgwMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2098020?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liushuaikobe",
"html_url": "https://github.com/liushuaikobe",
"followers_url": "https://api.github.com/users/liushuaikobe/followers",
"following_url": "https://api.github.com/users/liushuaikobe/following{/other_user}",
"gists_url": "https://api.github.com/users/liushuaikobe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liushuaikobe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liushuaikobe/subscriptions",
"organizations_url": "https://api.github.com/users/liushuaikobe/orgs",
"repos_url": "https://api.github.com/users/liushuaikobe/repos",
"events_url": "https://api.github.com/users/liushuaikobe/events{/privacy}",
"received_events_url": "https://api.github.com/users/liushuaikobe/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 3 | 2023-12-12T07:12:52 | 2023-12-17T18:33:28 | 2023-12-16T11:22:54 | CONTRIBUTOR | null | - **Description:** fixes and upgrades for the Tongyi LLM and ChatTongyi Model
- Fixed typos; it should be `Tongyi`, not `OpenAI`.
- Fixed a bug in `stream_generate_with_retry`; it's a real stream generator now.
- Fixed a bug in `validate_environment`; the `dashscope_api_key` should be properly handled when set by environment variables or initialization parameters.
- Changed the `dashscope` response to incremental output by setting the parameter `incremental_output`, which eliminates the need for the prefix-removal trick.
- Removed some unused parameters, like `n`, `prefix_messages`.
- Added `_stream` method.
- Added async methods support, such as `_astream`, `_agenerate`, `_abatch`.
- **Dependencies:** No new dependencies.
- **Tag maintainer:** @baskaryan
> PS: Some may be confused about the terms `dashscope`, `tongyi`, and `Qwen`:
> - `dashscope`: A platform to deploy LLMs and provide APIs to invoke the LLM.
> - `tongyi`: A brand name or overall term about Alibaba Cloud's LLM/AI.
> - `Qwen`: An LLM that is open-sourced and deployed in `dashscope`.
>
> We use the `dashscope` SDK to interact with the `tongyi`-`Qwen` LLM.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14582/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14582",
"html_url": "https://github.com/langchain-ai/langchain/pull/14582",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14582.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14582.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14581 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14581/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14581/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14581/events | https://github.com/langchain-ai/langchain/issues/14581 | 2,037,087,675 | I_kwDOIPDwls55a327 | 14,581 | RetrievalQA and AzureOpenAIEmbeddings lead to TypeError: cannot pickle '_thread.lock' object | {
"login": "duongvinhduc",
"id": 111257478,
"node_id": "U_kgDOBqGnhg",
"avatar_url": "https://avatars.githubusercontent.com/u/111257478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duongvinhduc",
"html_url": "https://github.com/duongvinhduc",
"followers_url": "https://api.github.com/users/duongvinhduc/followers",
"following_url": "https://api.github.com/users/duongvinhduc/following{/other_user}",
"gists_url": "https://api.github.com/users/duongvinhduc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/duongvinhduc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/duongvinhduc/subscriptions",
"organizations_url": "https://api.github.com/users/duongvinhduc/orgs",
"repos_url": "https://api.github.com/users/duongvinhduc/repos",
"events_url": "https://api.github.com/users/duongvinhduc/events{/privacy}",
"received_events_url": "https://api.github.com/users/duongvinhduc/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": 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 | 4 | 2023-12-12T06:39:49 | 2024-01-16T07:23:00 | null | NONE | null | ### System Info
python = "^3.10"
openai = "^1.3.8"
langchain = "^0.0.349"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
````
import chromadb
from langchain.embeddings import AzureOpenAIEmbeddings
from langchain.vectorstores.chroma import Chroma
client = chromadb.HttpClient(
host=CHROMA_SERVER_HOST,
port=CHROMA_SERVER_HTTP_PORT,
)
embeddings = AzureOpenAIEmbeddings(
openai_api_type=AZURE_OPENAI_API_TYPE,
azure_endpoint=AZURE_OPENAI_API_BASE,
api_key=AZURE_OPENAI_API_KEY,
openai_api_version=AZURE_OPENAI_API_VERSION,
azure_deployment=AZURE_EMBEDDING_DEPLOYMENT_NAME,
)
vectordb = Chroma(
client=client,
collection_name=CHROMA_COLLECTION_NAME_FBIG_1000,
embedding_function=embeddings,
)
````
### Expected behavior
TypeError: cannot pickle '_thread.RLock' object
When I use openai = "0.28.1" it doesn't have the above error | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14581/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14580 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14580/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14580/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14580/events | https://github.com/langchain-ai/langchain/issues/14580 | 2,037,040,612 | I_kwDOIPDwls55asXk | 14,580 | An output parsing error occurred. Could not parse LLM output create_csv_agent | {
"login": "mpiricsoftware",
"id": 96460778,
"node_id": "U_kgDOBb_f6g",
"avatar_url": "https://avatars.githubusercontent.com/u/96460778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpiricsoftware",
"html_url": "https://github.com/mpiricsoftware",
"followers_url": "https://api.github.com/users/mpiricsoftware/followers",
"following_url": "https://api.github.com/users/mpiricsoftware/following{/other_user}",
"gists_url": "https://api.github.com/users/mpiricsoftware/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mpiricsoftware/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpiricsoftware/subscriptions",
"organizations_url": "https://api.github.com/users/mpiricsoftware/orgs",
"repos_url": "https://api.github.com/users/mpiricsoftware/repos",
"events_url": "https://api.github.com/users/mpiricsoftware/events{/privacy}",
"received_events_url": "https://api.github.com/users/mpiricsoftware/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 | 2 | 2023-12-12T05:58:28 | 2023-12-12T07:48:08 | null | NONE | null | ### System Info
Ubuntu 20.04
CUDA 12.1
NVIDIA RTX 4070
### Who can help?
@hwchase17
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.chains import LLMChain
from langchain.llms import LlamaCpp
from langchain.prompts import PromptTemplate
template = """Question: {question} Answer: Your Answer"""
prompt = PromptTemplate(template=template, input_variables=["question"])
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
n_gpu_layers = 80 # Change this value based on your model and your GPU VRAM pool.
n_batch = 512 # Should be between 1 and n_ctx, consider the amount of VRAM in your GPU.llm = LlamaCpp(model_path="/home/rtx-4070/Downloads/openorca-platypus2-13b.Q4_K_M.gguf",
n_gpu_layers=n_gpu_layers,
n_batch=n_batch,
callback_manager=callback_manager,
verbose=True,
n_ctx=2048
)
from langchain_experimental.agents.agent_toolkits import create_csv_agent
from langchain.agents.agent_types import AgentType
agent = create_csv_agent(
llm,
"/home/rtx-4070/git_brainyneurals/langchain_local/docs/SPY.csv",
verbose=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
handle_parsing_errors=True
)
agent.run("How many rows are there?")
```
I am running opeorca model which I have downloaded from HuggingFace. But I am facing this erros. Could you please help me with related solutions? Or Suggest any other ways or models. Would be grateful.
Thanks in advance.
### Expected behavior
I want to make work simple csv agent that runs on my RTX 4070 Desktop GPU with any open source models. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14580/timeline | null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/14579 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14579/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14579/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14579/events | https://github.com/langchain-ai/langchain/pull/14579 | 2,036,900,399 | PR_kwDOIPDwls5hv3cp | 14,579 | create mypy cache dir if it doesn't exist | {
"login": "169",
"id": 10000925,
"node_id": "MDQ6VXNlcjEwMDAwOTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10000925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/169",
"html_url": "https://github.com/169",
"followers_url": "https://api.github.com/users/169/followers",
"following_url": "https://api.github.com/users/169/following{/other_user}",
"gists_url": "https://api.github.com/users/169/gists{/gist_id}",
"starred_url": "https://api.github.com/users/169/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/169/subscriptions",
"organizations_url": "https://api.github.com/users/169/orgs",
"repos_url": "https://api.github.com/users/169/repos",
"events_url": "https://api.github.com/users/169/events{/privacy}",
"received_events_url": "https://api.github.com/users/169/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-12T03:23:30 | 2023-12-12T23:34:50 | 2023-12-12T23:34:50 | CONTRIBUTOR | null | ### Description
When running `make lint` multiple times, i can see the error `mkdir: .mypy_cache: File exists`. Use `mkdir -p` to solve this problem.
<img width="1512" alt="Screenshot 2023-12-12 at 11 22 01 AM" src="https://github.com/langchain-ai/langchain/assets/10000925/1429383d-3283-4e22-8882-5693bc50b502">
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14579/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14579",
"html_url": "https://github.com/langchain-ai/langchain/pull/14579",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14579.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14579.patch",
"merged_at": "2023-12-12T23:34:50"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14577 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14577/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14577/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14577/events | https://github.com/langchain-ai/langchain/pull/14577 | 2,036,797,874 | PR_kwDOIPDwls5hvhy3 | 14,577 | docs[patch]: update installation with core and community | {
"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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-12T01:12:00 | 2023-12-12T02:31:26 | 2023-12-12T02:31:25 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14577/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14577",
"html_url": "https://github.com/langchain-ai/langchain/pull/14577",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14577.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14577.patch",
"merged_at": "2023-12-12T02:31:25"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14576 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14576/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14576/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14576/events | https://github.com/langchain-ai/langchain/pull/14576 | 2,036,763,032 | PR_kwDOIPDwls5hvaRg | 14,576 | Fix embeddings example for Databricks | {
"login": "harupy",
"id": 17039389,
"node_id": "MDQ6VXNlcjE3MDM5Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/17039389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harupy",
"html_url": "https://github.com/harupy",
"followers_url": "https://api.github.com/users/harupy/followers",
"following_url": "https://api.github.com/users/harupy/following{/other_user}",
"gists_url": "https://api.github.com/users/harupy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harupy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harupy/subscriptions",
"organizations_url": "https://api.github.com/users/harupy/orgs",
"repos_url": "https://api.github.com/users/harupy/repos",
"events_url": "https://api.github.com/users/harupy/events{/privacy}",
"received_events_url": "https://api.github.com/users/harupy/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 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-12T00:31:09 | 2023-12-12T03:24:22 | 2023-12-12T00:55:23 | CONTRIBUTOR | null | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
Fix `from langchain.llms import DatabricksEmbeddings` to `from langchain.embeddings import DatabricksEmbeddings`.
| {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14576/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14576",
"html_url": "https://github.com/langchain-ai/langchain/pull/14576",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14576.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14576.patch",
"merged_at": "2023-12-12T00:55:23"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14575 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14575/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14575/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14575/events | https://github.com/langchain-ai/langchain/pull/14575 | 2,036,754,143 | PR_kwDOIPDwls5hvYWR | 14,575 | docs[patch], templates[patch]: Import from core | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 | 5 | 2023-12-12T00:21:12 | 2023-12-12T00:49:12 | 2023-12-12T00:49:11 | COLLABORATOR | null | Update imports to use core for the low-hanging fruit changes. Ran following
```bash
git grep -l 'langchain.schema.runnable' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.runnable/langchain_core.runnables/g'
git grep -l 'langchain.schema.output_parser' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.output_parser/langchain_core.output_parsers/g'
git grep -l 'langchain.schema.messages' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.messages/langchain_core.messages/g'
git grep -l 'langchain.schema.chat_histry' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.chat_history/langchain_core.chat_history/g'
git grep -l 'langchain.schema.prompt_template' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.prompt_template/langchain_core.prompts/g'
git grep -l 'from langchain.pydantic_v1' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.pydantic_v1/from langchain_core.pydantic_v1/g'
git grep -l 'from langchain.tools.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.tools\.base/from langchain_core.tools/g'
git grep -l 'from langchain.chat_models.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.chat_models.base/from langchain_core.language_models.chat_models/g'
git grep -l 'from langchain.llms.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.llms\.base\ /from langchain_core.language_models.llms\ /g'
git grep -l 'from langchain.embeddings.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.embeddings\.base/from langchain_core.embeddings/g'
git grep -l 'from langchain.vectorstores.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.vectorstores\.base/from langchain_core.vectorstores/g'
git grep -l 'from langchain.agents.tools' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.agents\.tools/from langchain_core.tools/g'
git grep -l 'from langchain.schema.output' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.output\ /from langchain_core.outputs\ /g'
git grep -l 'from langchain.schema.embeddings' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.embeddings/from langchain_core.embeddings/g'
git grep -l 'from langchain.schema.document' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.document/from langchain_core.documents/g'
git grep -l 'from langchain.schema.agent' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.agent/from langchain_core.agents/g'
git grep -l 'from langchain.schema.prompt ' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.prompt\ /from langchain_core.prompt_values /g'
git grep -l 'from langchain.schema.language_model' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.language_model/from langchain_core.language_models/g'
``` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14575/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14575",
"html_url": "https://github.com/langchain-ai/langchain/pull/14575",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14575.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14575.patch",
"merged_at": "2023-12-12T00:49:11"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14574 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14574/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14574/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14574/events | https://github.com/langchain-ai/langchain/pull/14574 | 2,036,753,400 | PR_kwDOIPDwls5hvYLx | 14,574 | Rename LLMonitor Callback Handler | {
"login": "hughcrt",
"id": 24587702,
"node_id": "MDQ6VXNlcjI0NTg3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hughcrt",
"html_url": "https://github.com/hughcrt",
"followers_url": "https://api.github.com/users/hughcrt/followers",
"following_url": "https://api.github.com/users/hughcrt/following{/other_user}",
"gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions",
"organizations_url": "https://api.github.com/users/hughcrt/orgs",
"repos_url": "https://api.github.com/users/hughcrt/repos",
"events_url": "https://api.github.com/users/hughcrt/events{/privacy}",
"received_events_url": "https://api.github.com/users/hughcrt/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 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-12T00:20:11 | 2023-12-14T16:27:01 | 2023-12-14T16:19:04 | CONTRIBUTOR | null | Hi,
We are renaming our product from LLMonitor to Lunary.ai.
This PR changes all references to LLMonitor throughout the code to Lunary.
Thanks! | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14574/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14574",
"html_url": "https://github.com/langchain-ai/langchain/pull/14574",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14574.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14574.patch",
"merged_at": null
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14572 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14572/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14572/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14572/events | https://github.com/langchain-ai/langchain/pull/14572 | 2,036,715,361 | PR_kwDOIPDwls5hvPyd | 14,572 | experimental[patch]: Release 0.0.46 | {
"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-11T23:36:43 | 2023-12-11T23:46:16 | 2023-12-11T23:46:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14572/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14572",
"html_url": "https://github.com/langchain-ai/langchain/pull/14572",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14572.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14572.patch",
"merged_at": "2023-12-11T23:46:15"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14571 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14571/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14571/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14571/events | https://github.com/langchain-ai/langchain/pull/14571 | 2,036,705,747 | PR_kwDOIPDwls5hvNqI | 14,571 | cli[patch]: integration template | {
"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": 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-11T23:26:40 | 2023-12-13T16:55:32 | 2023-12-13T16:55:31 | COLLABORATOR | null | Adds a `langchain integration new --name integration-name` command to the cli.
Should be run from `libs/partners` | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14571/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14571",
"html_url": "https://github.com/langchain-ai/langchain/pull/14571",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14571.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14571.patch",
"merged_at": "2023-12-13T16:55:31"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14570 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14570/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14570/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14570/events | https://github.com/langchain-ai/langchain/pull/14570 | 2,036,704,560 | PR_kwDOIPDwls5hvNY2 | 14,570 | langchain[patch]: Release 0.0.349 | {
"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-11T23:25:19 | 2023-12-11T23:30:15 | 2023-12-11T23:30:15 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14570/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14570",
"html_url": "https://github.com/langchain-ai/langchain/pull/14570",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14570.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14570.patch",
"merged_at": "2023-12-11T23:30:14"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14569 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14569/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14569/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14569/events | https://github.com/langchain-ai/langchain/pull/14569 | 2,036,700,701 | PR_kwDOIPDwls5hvMh0 | 14,569 | infra: import checking bugfix | {
"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": 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-11T23:21:20 | 2023-12-11T23:53:52 | 2023-12-11T23:53:51 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14569/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14569",
"html_url": "https://github.com/langchain-ai/langchain/pull/14569",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14569.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14569.patch",
"merged_at": "2023-12-11T23:53:51"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14568 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14568/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14568/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14568/events | https://github.com/langchain-ai/langchain/pull/14568 | 2,036,698,047 | PR_kwDOIPDwls5hvL7z | 14,568 | fix: to rag-semi-structured template | {
"login": "shauryr",
"id": 12604876,
"node_id": "MDQ6VXNlcjEyNjA0ODc2",
"avatar_url": "https://avatars.githubusercontent.com/u/12604876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shauryr",
"html_url": "https://github.com/shauryr",
"followers_url": "https://api.github.com/users/shauryr/followers",
"following_url": "https://api.github.com/users/shauryr/following{/other_user}",
"gists_url": "https://api.github.com/users/shauryr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shauryr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shauryr/subscriptions",
"organizations_url": "https://api.github.com/users/shauryr/orgs",
"repos_url": "https://api.github.com/users/shauryr/repos",
"events_url": "https://api.github.com/users/shauryr/events{/privacy}",
"received_events_url": "https://api.github.com/users/shauryr/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": 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-11T23:18:25 | 2023-12-12T23:44:43 | 2023-12-12T23:44:35 | CONTRIBUTOR | null | **Description:**
Fixes to rag-semi-structured template.
- Added required libraries
- pdfminer was causing issues when installing with pip. pdfminer.six works best
- Changed the pdf name for demo from llama2 to llava
<!-- 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/14568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14568/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14568",
"html_url": "https://github.com/langchain-ai/langchain/pull/14568",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14568.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14568.patch",
"merged_at": "2023-12-12T23:44:35"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14567 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14567/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14567/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14567/events | https://github.com/langchain-ai/langchain/pull/14567 | 2,036,694,652 | PR_kwDOIPDwls5hvLLC | 14,567 | Add Gmail Agent 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
} | [
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"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-11T23:14:58 | 2023-12-12T16:34:29 | 2023-12-12T16:34:28 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14567/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14567",
"html_url": "https://github.com/langchain-ai/langchain/pull/14567",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14567.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14567.patch",
"merged_at": "2023-12-12T16:34:28"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14566 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14566/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14566/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14566/events | https://github.com/langchain-ai/langchain/pull/14566 | 2,036,693,610 | PR_kwDOIPDwls5hvK8J | 14,566 | infra: import CI speed | {
"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": 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-11T23:13:54 | 2023-12-11T23:19:23 | 2023-12-11T23:19:22 | COLLABORATOR | null | Was taking 10 mins. Now a few seconds. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14566/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14566",
"html_url": "https://github.com/langchain-ai/langchain/pull/14566",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14566.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14566.patch",
"merged_at": "2023-12-11T23:19:22"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14565 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14565/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14565/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14565/events | https://github.com/langchain-ai/langchain/pull/14565 | 2,036,678,888 | PR_kwDOIPDwls5hvHvR | 14,565 | community[patch]: Release 0.0.1 | {
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] | closed | false | null | [] | null | 1 | 2023-12-11T23:00:24 | 2023-12-11T23:18:57 | 2023-12-11T23:18:56 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14565/timeline | null | null | false | {
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14565",
"html_url": "https://github.com/langchain-ai/langchain/pull/14565",
"diff_url": "https://github.com/langchain-ai/langchain/pull/14565.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/14565.patch",
"merged_at": "2023-12-11T23:18:56"
} |
https://api.github.com/repos/langchain-ai/langchain/issues/14564 | https://api.github.com/repos/langchain-ai/langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14564/labels{/name} | https://api.github.com/repos/langchain-ai/langchain/issues/14564/comments | https://api.github.com/repos/langchain-ai/langchain/issues/14564/events | https://github.com/langchain-ai/langchain/issues/14564 | 2,036,678,638 | I_kwDOIPDwls55ZT_u | 14,564 | Predibase TypeError: LlmMixin.prompt() got an unexpected keyword argument 'model_name' | {
"login": "butchewing",
"id": 405072,
"node_id": "MDQ6VXNlcjQwNTA3Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/405072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/butchewing",
"html_url": "https://github.com/butchewing",
"followers_url": "https://api.github.com/users/butchewing/followers",
"following_url": "https://api.github.com/users/butchewing/following{/other_user}",
"gists_url": "https://api.github.com/users/butchewing/gists{/gist_id}",
"starred_url": "https://api.github.com/users/butchewing/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/butchewing/subscriptions",
"organizations_url": "https://api.github.com/users/butchewing/orgs",
"repos_url": "https://api.github.com/users/butchewing/repos",
"events_url": "https://api.github.com/users/butchewing/events{/privacy}",
"received_events_url": "https://api.github.com/users/butchewing/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-11T23:00:10 | 2023-12-12T15:47:11 | null | NONE | null | ### System Info
Lanchain: 0.0.348
Python 3.12.0
### 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
- [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
Steps to reproduce the error:
1. Run the [notebook](https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/llms/predibase.ipynb) with the latest version of Langchain. The error occurs specficially in 13 `review = overall_chain.run("Tragedy at sunset on the beach")`
### Expected behavior
The expected behavior is simply to return the output from the LLM. | {
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/14564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langchain-ai/langchain/issues/14564/timeline | null | null | null | null |