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/12585
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12585/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12585/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12585/events
|
https://github.com/langchain-ai/langchain/pull/12585
| 1,969,166,266 |
PR_kwDOIPDwls5eKdTu
| 12,585 |
Install and use `ruff format` instead of black for code formatting.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-30T20:33:21 | 2023-11-01T01:55:15 | 2023-10-31T14:53:12 |
COLLABORATOR
| null |
Best to review one commit at a time, since two of the commits are 100% autogenerated changes from running `ruff format`:
- Install and use `ruff format` instead of black for code formatting.
- Output of `ruff format .` in the `langchain` package.
- Use `ruff format` in experimental package.
- Format changes in experimental package by `ruff format`.
- Manual formatting fixes to make `ruff .` pass.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12585/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12585/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12585",
"html_url": "https://github.com/langchain-ai/langchain/pull/12585",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12585.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12585.patch",
"merged_at": "2023-10-31T14:53:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12584
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12584/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12584/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12584/events
|
https://github.com/langchain-ai/langchain/pull/12584
| 1,969,142,223 |
PR_kwDOIPDwls5eKX9e
| 12,584 |
Added env vars section to missing template readmes
|
{
"login": "bracesproul",
"id": 46789226,
"node_id": "MDQ6VXNlcjQ2Nzg5MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/46789226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bracesproul",
"html_url": "https://github.com/bracesproul",
"followers_url": "https://api.github.com/users/bracesproul/followers",
"following_url": "https://api.github.com/users/bracesproul/following{/other_user}",
"gists_url": "https://api.github.com/users/bracesproul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bracesproul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bracesproul/subscriptions",
"organizations_url": "https://api.github.com/users/bracesproul/orgs",
"repos_url": "https://api.github.com/users/bracesproul/repos",
"events_url": "https://api.github.com/users/bracesproul/events{/privacy}",
"received_events_url": "https://api.github.com/users/bracesproul/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T20:18:31 | 2023-11-03T01:31:00 | 2023-11-03T01:31:00 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12584/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12584",
"html_url": "https://github.com/langchain-ai/langchain/pull/12584",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12584.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12584.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12581
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12581/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12581/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12581/events
|
https://github.com/langchain-ai/langchain/pull/12581
| 1,969,040,614 |
PR_kwDOIPDwls5eKBy3
| 12,581 |
Upgrade to `actions/checkout@v4` in the docs lint job.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T19:09:47 | 2023-10-31T16:41:20 | 2023-10-31T16:41:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12581/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12581",
"html_url": "https://github.com/langchain-ai/langchain/pull/12581",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12581.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12581.patch",
"merged_at": "2023-10-31T16:41:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12580
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12580/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12580/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12580/events
|
https://github.com/langchain-ai/langchain/pull/12580
| 1,969,029,878 |
PR_kwDOIPDwls5eJ_b2
| 12,580 |
add routing by embedding doc
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T19:02:24 | 2023-10-30T20:03:17 | 2023-10-30T20:03:16 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12580/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12580",
"html_url": "https://github.com/langchain-ai/langchain/pull/12580",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12580.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12580.patch",
"merged_at": "2023-10-30T20:03:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12579
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12579/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12579/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12579/events
|
https://github.com/langchain-ai/langchain/pull/12579
| 1,968,995,989 |
PR_kwDOIPDwls5eJ4Bq
| 12,579 |
fixed _load_prompt_from_file file check
|
{
"login": "mtasic85",
"id": 1149365,
"node_id": "MDQ6VXNlcjExNDkzNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1149365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mtasic85",
"html_url": "https://github.com/mtasic85",
"followers_url": "https://api.github.com/users/mtasic85/followers",
"following_url": "https://api.github.com/users/mtasic85/following{/other_user}",
"gists_url": "https://api.github.com/users/mtasic85/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mtasic85/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mtasic85/subscriptions",
"organizations_url": "https://api.github.com/users/mtasic85/orgs",
"repos_url": "https://api.github.com/users/mtasic85/repos",
"events_url": "https://api.github.com/users/mtasic85/events{/privacy}",
"received_events_url": "https://api.github.com/users/mtasic85/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-10-30T18:40:08 | 2023-11-06T14:44:36 | 2023-11-06T14:44:35 |
NONE
| null |
**Description:** Fixed security issue in `_load_prompt_from_file` function(s). By passing instance of `class NotStrLike(os.PathLike)`, users are able to execute arbitrary code. `file` parameter should be either `str` or `Path` instance, and nothing else.
PoC: https://github.com/tangledgroup/langchain-prompt-exploit/blob/01795ccde3bf176e148e688079af6f6c93a730c3/1_langchain_prompt_wikipedia/main.py#L67
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12579/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12579",
"html_url": "https://github.com/langchain-ai/langchain/pull/12579",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12579.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12579.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12578
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12578/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12578/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12578/events
|
https://github.com/langchain-ai/langchain/pull/12578
| 1,968,995,087 |
PR_kwDOIPDwls5eJ306
| 12,578 |
Test-publish to test PyPI and separate jobs to limit permissions.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T18:39:31 | 2023-10-30T21:10:15 | 2023-10-30T21:10:14 |
COLLABORATOR
| null |
Before making a new `langchain` release, we want to test that everything works as expected. This PR lets us publish `langchain` to test PyPI, then install it from there and run checks to ensure everything works normally before publishing it "for real".
It also takes the opportunity to refactor the build process, splitting up the build, release-creation, and PyPI upload steps into separate jobs that do not share their elevated permissions with each other.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12578/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12578",
"html_url": "https://github.com/langchain-ai/langchain/pull/12578",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12578.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12578.patch",
"merged_at": "2023-10-30T21:10:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12577
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12577/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12577/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12577/events
|
https://github.com/langchain-ai/langchain/issues/12577
| 1,968,988,998 |
I_kwDOIPDwls51XGNG
| 12,577 |
Issue: Encoding error with UnstructuredFileLoader
|
{
"login": "ggnicolau",
"id": 79374447,
"node_id": "MDQ6VXNlcjc5Mzc0NDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/79374447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggnicolau",
"html_url": "https://github.com/ggnicolau",
"followers_url": "https://api.github.com/users/ggnicolau/followers",
"following_url": "https://api.github.com/users/ggnicolau/following{/other_user}",
"gists_url": "https://api.github.com/users/ggnicolau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggnicolau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggnicolau/subscriptions",
"organizations_url": "https://api.github.com/users/ggnicolau/orgs",
"repos_url": "https://api.github.com/users/ggnicolau/repos",
"events_url": "https://api.github.com/users/ggnicolau/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggnicolau/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-10-30T18:35:24 | 2023-10-30T19:42:34 | 2023-10-30T19:39:19 |
NONE
| null |
Hi! Usually I process English documents, but I recently had to process files in Portuguese and UnstructuredFileLoader can't deal with it. I loose characters such as ç, é, í, ã, õ, etc. It doesn't matter if its PDF, HTML or DOCX. Is there a way to encode it properly?
ex:
Art. 110. Sem prejuzo da nova redao dada aos arts. 380 e 381 da Lei n 16.050, de 31 de julho de 2014, as outras disposies previstas nesta Lei sero aplicadas apenas aos processos de licenciamento de obras e edificaes protocolados aps a data de publicao desta Lei, exceto nos casos de manifestao formal do interessado, a qualquer tempo, optando pela anlise integral de acordo com as novas disposies. Art. 111. O 4 do art. 382 da Lei n 16.050, de 2014, passa a vigorar com a seguinte redao: Art. 382. ................................................................................... .................................................................................................... 4 Para as Operaes Urbanas Consorciadas preexistentes em vigor, as regras de finalizao devero ser definidas por lei especfica e as regras de transio para finalizao devero ser iniciadas apenas para lotes que no se enquadrem no tamanho mnimo estabelecido pela OUC, quando a Operao Urbana Consorciada atingir o limite de estoque de rea Adicional disponvel de 5% do total previsto em sua lei especfica. (NR) Art. 112. A reviso da Lei Municipal de Parcelamento, Uso e Ocupao LPUOS, Lei n 16.402, de 2016, poder rever os limites das reas de ZEU, ZEUa, ZEUP, ZEUPa, ZEM e ZEMP, com base em parmetros que considerem o disposto no art. 77 da Lei n 16.050, de 2014.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12577/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12576
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12576/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12576/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12576/events
|
https://github.com/langchain-ai/langchain/pull/12576
| 1,968,983,267 |
PR_kwDOIPDwls5eJ1P8
| 12,576 |
Formatting on ntbks
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T18:31:34 | 2023-12-01T23:09:28 | 2023-10-30T18:32:32 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12576/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12576",
"html_url": "https://github.com/langchain-ai/langchain/pull/12576",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12576.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12576.patch",
"merged_at": "2023-10-30T18:32:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12575
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12575/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12575/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12575/events
|
https://github.com/langchain-ai/langchain/issues/12575
| 1,968,948,475 |
I_kwDOIPDwls51W8T7
| 12,575 |
[Bing Search Wrapper] KeyError Exception 'webPages' in LangChain Bing Search Tool: Recurring Bug Impacting Search Results
|
{
"login": "braher",
"id": 15362783,
"node_id": "MDQ6VXNlcjE1MzYyNzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/15362783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/braher",
"html_url": "https://github.com/braher",
"followers_url": "https://api.github.com/users/braher/followers",
"following_url": "https://api.github.com/users/braher/following{/other_user}",
"gists_url": "https://api.github.com/users/braher/gists{/gist_id}",
"starred_url": "https://api.github.com/users/braher/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/braher/subscriptions",
"organizations_url": "https://api.github.com/users/braher/orgs",
"repos_url": "https://api.github.com/users/braher/repos",
"events_url": "https://api.github.com/users/braher/events{/privacy}",
"received_events_url": "https://api.github.com/users/braher/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-30T18:08:40 | 2023-10-31T00:11:42 | null |
NONE
| null |
### System Info
Langchain version: v0.0.326
Python: 3.10
### Who can help?
@hw We have been encountering a recurring issue with the Bing Search tool (BingSearchAPIWrapper) in LangChain developed in Python. The tool occasionally fails to return results, and the backend function displays the message `webPages`. This issue is connected to the BingSearchAPIWrapper

### 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
#### Steps to Reproduce:
1. Query the Bing Search tool with a specific text : `{"keywords":["Everyday C%23", "advanced"]} site:https:learn.microsoft.com'.`
2. Observe that the tool fails to return results and instead displays the message `webPages`.
#### Actual Behavior:
The Bing API fails to return relevant results if there are no matches. In these situations, the API omits the `webPages` property from the response.
### Expected behavior
#### Expected Behavior:
The Bing Search tool should return relevant results for any given keyword or a message that the results can not be found.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12575/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12575/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12573
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12573/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12573/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12573/events
|
https://github.com/langchain-ai/langchain/pull/12573
| 1,968,918,767 |
PR_kwDOIPDwls5eJnHQ
| 12,573 |
Minor template cleaning
|
{
"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": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T17:50:59 | 2023-10-30T18:27:46 | 2023-10-30T18:27:45 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12573/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12573",
"html_url": "https://github.com/langchain-ai/langchain/pull/12573",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12573.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12573.patch",
"merged_at": "2023-10-30T18:27:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12572
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12572/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12572/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12572/events
|
https://github.com/langchain-ai/langchain/pull/12572
| 1,968,887,782 |
PR_kwDOIPDwls5eJgRa
| 12,572 |
feat: Add Google Cloud Text-to-Speech Tool
|
{
"login": "holtskinner",
"id": 13262395,
"node_id": "MDQ6VXNlcjEzMjYyMzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/13262395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/holtskinner",
"html_url": "https://github.com/holtskinner",
"followers_url": "https://api.github.com/users/holtskinner/followers",
"following_url": "https://api.github.com/users/holtskinner/following{/other_user}",
"gists_url": "https://api.github.com/users/holtskinner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/holtskinner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/holtskinner/subscriptions",
"organizations_url": "https://api.github.com/users/holtskinner/orgs",
"repos_url": "https://api.github.com/users/holtskinner/repos",
"events_url": "https://api.github.com/users/holtskinner/events{/privacy}",
"received_events_url": "https://api.github.com/users/holtskinner/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-30T17:32:53 | 2023-10-30T21:21:27 | 2023-10-30T21:05:39 |
CONTRIBUTOR
| null |
- Add Tool for [Google Cloud Text-to-Speech](https://cloud.google.com/text-to-speech)
- Follows similar structure to [Eleven Labs Text2Speech](https://python.langchain.com/docs/integrations/tools/eleven_labs_tts)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12572/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12572",
"html_url": "https://github.com/langchain-ai/langchain/pull/12572",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12572.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12572.patch",
"merged_at": "2023-10-30T21:05:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12571
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12571/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12571/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12571/events
|
https://github.com/langchain-ai/langchain/issues/12571
| 1,968,870,408 |
I_kwDOIPDwls51WpQI
| 12,571 |
Issue: How to convert ConversationSummaryBufferMemory messages to list of tuples of strings
|
{
"login": "deepakagrawal",
"id": 4365922,
"node_id": "MDQ6VXNlcjQzNjU5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4365922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepakagrawal",
"html_url": "https://github.com/deepakagrawal",
"followers_url": "https://api.github.com/users/deepakagrawal/followers",
"following_url": "https://api.github.com/users/deepakagrawal/following{/other_user}",
"gists_url": "https://api.github.com/users/deepakagrawal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepakagrawal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepakagrawal/subscriptions",
"organizations_url": "https://api.github.com/users/deepakagrawal/orgs",
"repos_url": "https://api.github.com/users/deepakagrawal/repos",
"events_url": "https://api.github.com/users/deepakagrawal/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepakagrawal/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"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T17:23:04 | 2023-10-30T17:30:29 | null |
NONE
| null |
### Issue you'd like to raise.
I have a ConversationSummaryBufferMemory object which stores the chat history between human and AI. One such history looks like
```python
[HumanMessage(content='Hi', additional_kwargs={}, example=False),
AIMessage(content='Hi, how can I help you?', additional_kwargs={}, example=False),
HumanMessage(content='What is TPA', additional_kwargs={}, example=False),
AIMessage(content='TPA stands for TPA', additional_kwargs={}, example=False)]
```
I am looking a list of tuples of messages like
```[('Hi', 'Hi, how can I help you?'), ('What is TPA','TPA stands for TPA')]```
How can I do that?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12571/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12570
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12570/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12570/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12570/events
|
https://github.com/langchain-ai/langchain/issues/12570
| 1,968,841,818 |
I_kwDOIPDwls51WiRa
| 12,570 |
After doing merge_from with Faiss, vector store appears as None.
|
{
"login": "berkemkeskin-softtech",
"id": 144783573,
"node_id": "U_kgDOCKE41Q",
"avatar_url": "https://avatars.githubusercontent.com/u/144783573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/berkemkeskin-softtech",
"html_url": "https://github.com/berkemkeskin-softtech",
"followers_url": "https://api.github.com/users/berkemkeskin-softtech/followers",
"following_url": "https://api.github.com/users/berkemkeskin-softtech/following{/other_user}",
"gists_url": "https://api.github.com/users/berkemkeskin-softtech/gists{/gist_id}",
"starred_url": "https://api.github.com/users/berkemkeskin-softtech/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/berkemkeskin-softtech/subscriptions",
"organizations_url": "https://api.github.com/users/berkemkeskin-softtech/orgs",
"repos_url": "https://api.github.com/users/berkemkeskin-softtech/repos",
"events_url": "https://api.github.com/users/berkemkeskin-softtech/events{/privacy}",
"received_events_url": "https://api.github.com/users/berkemkeskin-softtech/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T17:06:45 | 2023-11-07T19:32:22 | 2023-11-01T18:52:29 |
NONE
| null |
### Issue with current documentation:
I have a faiss vector store that I created before, when I print it it appears as <langchain.vectorstores.faiss.FAISS object at 0x0000022B3DFBBB50>. Then, I create a new faiss vector store and when I print it, it appears as <langchain.vectorstores.faiss.FAISS object at 0x0000022B7D0F4810>. I want to merge these two faiss objects, so I tried the merge_from method. However, when I try merge_from, vector store appears None. Here is my code:
vector_store = FAISS.from_texts(text_chunks, embeddings,
metadatas=[{"source": f"{created_pkl_name}:{i}"} for i in
range(len(text_chunks))])
print("vector_store_new: ",vector_store) # <langchain.vectorstores.faiss.FAISS object at 0x0000022B7D0F4810>
if os.path.exists(faiss_path_all):
with open(faiss_path_all, 'rb') as faiss_file_all:
all_data = pickle.load(faiss_file_all)
print("all_data: ", all_data) # <langchain.vectorstores.faiss.FAISS object at 0x0000022B3DFBBB50>
all_data = all_data.merge_from(vector_store)
print(all_data) # None
How I can solve this problem? Is there another way for merge two faiss vector stores?
### Idea or request for content:
From the example (https://python.langchain.com/docs/integrations/vectorstores/faiss?highlight=FAISS#merging) I tried the same way, but still it doesn't work for me.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12570/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12569
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12569/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12569/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12569/events
|
https://github.com/langchain-ai/langchain/pull/12569
| 1,968,835,877 |
PR_kwDOIPDwls5eJU51
| 12,569 |
bump 326
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T17:03:48 | 2023-10-30T17:11:18 | 2023-10-30T17:11:17 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12569/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12569",
"html_url": "https://github.com/langchain-ai/langchain/pull/12569",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12569.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12569.patch",
"merged_at": "2023-10-30T17:11:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12565
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12565/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12565/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12565/events
|
https://github.com/langchain-ai/langchain/pull/12565
| 1,968,687,224 |
PR_kwDOIPDwls5eI0Hi
| 12,565 |
Fix sources in LlamaIndexRetriever #12563
|
{
"login": "tamura-go-tamura",
"id": 55949081,
"node_id": "MDQ6VXNlcjU1OTQ5MDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/55949081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamura-go-tamura",
"html_url": "https://github.com/tamura-go-tamura",
"followers_url": "https://api.github.com/users/tamura-go-tamura/followers",
"following_url": "https://api.github.com/users/tamura-go-tamura/following{/other_user}",
"gists_url": "https://api.github.com/users/tamura-go-tamura/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tamura-go-tamura/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tamura-go-tamura/subscriptions",
"organizations_url": "https://api.github.com/users/tamura-go-tamura/orgs",
"repos_url": "https://api.github.com/users/tamura-go-tamura/repos",
"events_url": "https://api.github.com/users/tamura-go-tamura/events{/privacy}",
"received_events_url": "https://api.github.com/users/tamura-go-tamura/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-30T15:47:05 | 2023-11-02T09:57:37 | null |
NONE
| null |
Description: Fix sources in LlamaIndexRetriever
Issue: https://github.com/langchain-ai/langchain/issues/12563
I was facing issues with sources like it was not working on Latest llamaindex
Then I noticed this and tested it worked fine for me
So, I like to submit the PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12565/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/12565/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12565",
"html_url": "https://github.com/langchain-ai/langchain/pull/12565",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12565.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12565.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12564
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12564/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12564/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12564/events
|
https://github.com/langchain-ai/langchain/issues/12564
| 1,968,643,564 |
I_kwDOIPDwls51Vx3s
| 12,564 |
Feature: Addition of HuggingFaceTextGenInferenceAuto for Automated Container and Server Management
|
{
"login": "dcbark01",
"id": 16838332,
"node_id": "MDQ6VXNlcjE2ODM4MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/16838332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dcbark01",
"html_url": "https://github.com/dcbark01",
"followers_url": "https://api.github.com/users/dcbark01/followers",
"following_url": "https://api.github.com/users/dcbark01/following{/other_user}",
"gists_url": "https://api.github.com/users/dcbark01/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dcbark01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcbark01/subscriptions",
"organizations_url": "https://api.github.com/users/dcbark01/orgs",
"repos_url": "https://api.github.com/users/dcbark01/repos",
"events_url": "https://api.github.com/users/dcbark01/events{/privacy}",
"received_events_url": "https://api.github.com/users/dcbark01/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-10-30T15:26:28 | 2023-10-30T20:36:04 | null |
CONTRIBUTOR
| null |
### Update: Pull request here: #12586
Video Demo: [https://youtu.be/wspB6QbDzBc](https://youtu.be/wspB6QbDzBc)
### Feature request
Description:
I have developed a class `HuggingFaceTextGenInferenceAuto` to automate the process of managing Docker inference server containers for the `HuggingFaceTextGenerationInference` LLM. It essentially acts as a factory to create an instance of `HuggingFaceTextGenInference` via the `from_docker` classmethod. This class can create, reuse, or recreate containers as-needed based on parameter changes.
The objective is to simplify the management of HuggingFace TextGen inference servers, and allow users to spin up Docker containers for model inference with ease. The code also contains methods to handle the health checks, wait for model downloads, and ensure container and API readiness before proceeding.
Here is a breakdown of the main functionalities:
**Automated Docker Container Management:**
* Create, reuse, or recreate Docker containers for HuggingFace TextGen inference.
* Auto-increment host port if the specified port is unavailable.
* Provide a health check and wait for model download completion.
**Parameter Management:**
* Handle Docker parameters for textgen-inference-server and HuggingFaceTextGenInference parameters with Pydantic models.
* Provide methods to convert parameters to dictionaries for easier management.
Validate parameters and create new containers based on parameter diffs
**Utility Methods:**
* Methods to get the model name, image tag, container, etc., from various inputs.
* Utility methods for converting shared memory size, checking port availability, and finding available host ports.
The code is ready and I plan to submit a pull request for review and integration. I believe this feature will be a valuable addition to the Langchain library, allowing for easier rapid prototyping of LLM-powered applications.
### Motivation
1. **Reduce Manual Intervention:**
- Minimize the steps a user has to take to spin up a HuggingFace TextGen Inference server, making the process faster and less error-prone.
- By automated handling of health checks, waiting for model downloads, and ensuring the readiness of the container and API, we aim to expedite prototyping of LLM powered applications. (We expect this will be especially useful for things like, e.g. auto-evaluation / parameter searches for LLM apps.)
2. **Ensure Consistency:**
- Provide a structured way to handle parameters and configurations for both container and Langchain LLM wrapper
### Your contribution
The `HuggingFaceTextGenInferenceAuto` which facilitates the above goals.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12564/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12563
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12563/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12563/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12563/events
|
https://github.com/langchain-ai/langchain/issues/12563
| 1,968,622,506 |
I_kwDOIPDwls51Vsuq
| 12,563 |
while importing LlamaIndexRetriever, an error occurs that
|
{
"login": "tamura-go-tamura",
"id": 55949081,
"node_id": "MDQ6VXNlcjU1OTQ5MDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/55949081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamura-go-tamura",
"html_url": "https://github.com/tamura-go-tamura",
"followers_url": "https://api.github.com/users/tamura-go-tamura/followers",
"following_url": "https://api.github.com/users/tamura-go-tamura/following{/other_user}",
"gists_url": "https://api.github.com/users/tamura-go-tamura/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tamura-go-tamura/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tamura-go-tamura/subscriptions",
"organizations_url": "https://api.github.com/users/tamura-go-tamura/orgs",
"repos_url": "https://api.github.com/users/tamura-go-tamura/repos",
"events_url": "https://api.github.com/users/tamura-go-tamura/events{/privacy}",
"received_events_url": "https://api.github.com/users/tamura-go-tamura/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 | 4 | 2023-10-30T15:17:31 | 2023-11-29T13:51:57 | null |
NONE
| null |
### System Info
from langchain.retrievers.llama_index import LlamaIndexRetriever
------
```shell
llama-index==0.8.55
langchain==0.0.325
```
> in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
503 if len(args) != 1:
504 raise ValueError("`run` supports only one positional argument.")
--> 505 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
506 _output_key
507 ]
509 if kwargs and not args:
510 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
511 _output_key
512 ]
in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
308 except BaseException as e:
309 run_manager.on_chain_error(e)
--> 310 raise e
311 run_manager.on_chain_end(outputs)
312 final_outputs: Dict[str, Any] = self.prep_outputs(
313 inputs, outputs, return_only_outputs
...
---> 32 response = index.query(query, response_mode="no_text", **self.query_kwargs)
33 response = cast(Response, response)
34 # parse source nodes
AttributeError: 'VectorStoreIndex' object has no attribute 'query'
Attribute "query" is a deprecated method. Therefore, it needs to be updated.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
from llama_index import VectorStoreIndex
from langchain.chains import RetrievalQA
from langchain.llms import OpenAI
from langchain.retrievers.llama_index import LlamaIndexRetriever
index = VectorStoreIndex.from_documents(**hoge)
retriever = LlamaIndexRetriever(index = index)
qa = RetrievalQA.from_chain_type(llm=OpenAI(), chain_type="stuff",retriever=LlamaIndexRetriever(index=index))
query = "What did the president say about Ketanji Brown Jackson"
qa.run(query)
```
### Expected behavior
Successfully read llama index retriever
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12563/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12561
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12561/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12561/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12561/events
|
https://github.com/langchain-ai/langchain/pull/12561
| 1,968,597,386 |
PR_kwDOIPDwls5eIgRb
| 12,561 |
Image Caption accepts bytes for images
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T15:05:31 | 2023-10-30T16:29:55 | 2023-10-30T16:29:54 |
COLLABORATOR
| null |
Accept bytes for images in image caption
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12561/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12561",
"html_url": "https://github.com/langchain-ai/langchain/pull/12561",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12561.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12561.patch",
"merged_at": "2023-10-30T16:29:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12560
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12560/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12560/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12560/events
|
https://github.com/langchain-ai/langchain/issues/12560
| 1,968,589,077 |
I_kwDOIPDwls51VkkV
| 12,560 |
chat_history conflict when using ConversationalRetrievalChain.from_llm
|
{
"login": "afif-malghani",
"id": 100247208,
"node_id": "U_kgDOBfmmqA",
"avatar_url": "https://avatars.githubusercontent.com/u/100247208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afif-malghani",
"html_url": "https://github.com/afif-malghani",
"followers_url": "https://api.github.com/users/afif-malghani/followers",
"following_url": "https://api.github.com/users/afif-malghani/following{/other_user}",
"gists_url": "https://api.github.com/users/afif-malghani/gists{/gist_id}",
"starred_url": "https://api.github.com/users/afif-malghani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/afif-malghani/subscriptions",
"organizations_url": "https://api.github.com/users/afif-malghani/orgs",
"repos_url": "https://api.github.com/users/afif-malghani/repos",
"events_url": "https://api.github.com/users/afif-malghani/events{/privacy}",
"received_events_url": "https://api.github.com/users/afif-malghani/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": 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 | 10 | 2023-10-30T15:01:25 | 2023-11-03T09:00:42 | null |
NONE
| null |
### System Info
System Info:
langchain==0.0.325
Python 3.11.4
Flask==3.0.0
Flask-Cors==4.0.0
Flask-RESTful==0.3.10
Case 1:
```
dbqa = ConversationalRetrievalChain.from_llm(llm, vectordb.as_retriever(), memory=memory)
response = dbqa({"question": data["query"]})
```
Error:
Missing some input keys: {'chat_history'}
Call Stack:
`Chain.__call__()`
`Chain.prepare_inputs(inputs)` called from `__call__()` **line 286** with `inputs={'question': 'hey bot!'}`
`if self.memory is not None:` in `prepare_inputs()` passed
`external_context = self.memory.load_memory_variables(inputs)` sets `external_context` to `{'DocScanner.pdf': []}`
`self._validate_inputs(inputs)` on **line 443**
`missing_keys = set(self.input_keys).difference(inputs)` results in `missing_keys={'chat_history'}`
Case 2:
```
dbqa = ConversationalRetrievalChain.from_llm(llm, vectordb.as_retriever(), memory=memory)
response = dbqa({"question": data["query"], "chat_history": chat_history})
```
Error:
ValueError: One input key expected got ['chat_history', 'question']
Call Stack:
`Chain.__call__()`
`Chain.prepare_inputs(inputs)` called from `__call__()` **line 286** with `inputs={'question': 'hey bot!'}`
`if self.memory is not None:` in `prepare_inputs()` passed
`external_context = self.memory.load_memory_variables(inputs)` sets `external_context` to `{'DocScanner.pdf': []}`
`self._validate_inputs(inputs)` on **line 443**
`missing_keys = set(self.input_keys).difference(inputs)` results in `missing_keys={}`
`Chiain.__call__` line 303 sets `outputs={'answer': " Of course! I...elp today?'}`
`self.prep_outputs` called on line 312.
inside `prepare_outputs`, `if self.memory is not None:` check passes
`self.memory.save_context(inputs, outputs)` calls to `BaseChatMemory.save_context`
`input_str, output_str = self._get_input_output(inputs, outputs)` calls to `BaseChatMemory._get_input_output`
`if self.input_key is None:` check passes
call to `langchain.memory.utils.get_prompt_input_key`
`prompt_input_keys = list(set(inputs).difference(memory_variables + ["stop"]))` returns `['chat_history', 'question']`
`if len(prompt_input_keys) != 1:` check passes raising the error
### Who can help?
Anyone
### 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
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
steps to reproduce:
1. clone [repo](https://github.com/afif-malghani/LangChain-papers)
2. create a virtual environment with `python3 -m venv env`
3. activate the virtual environment with `source env/bin/activate`
4. install all packages with `pip install -r requirements`
5. run flask server with `flask run --debug`
6. upload a pdf at the home pate of the application displayed at `http://localhost:5000/`
7. In the Chat section enter the message you want to send to the bot.
### Expected behavior
Response should be returned either with or without `chat_history`.
Currently it is not returned in either of the cases.
Edit: upgraded to langchain 0.0.325, issue persists.
Edit 2: improved readability
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12560/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/12560/timeline
| null |
reopened
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12559
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12559/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12559/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12559/events
|
https://github.com/langchain-ai/langchain/pull/12559
| 1,968,585,845 |
PR_kwDOIPDwls5eIdu3
| 12,559 |
Accepts bytes in image caption loader
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-30T15:00:11 | 2023-11-15T21:13:31 | 2023-10-30T15:05:43 |
COLLABORATOR
| null |
- Update image_captions.py
- x
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12559/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12559",
"html_url": "https://github.com/langchain-ai/langchain/pull/12559",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12559.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12559.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12558
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12558/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12558/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12558/events
|
https://github.com/langchain-ai/langchain/pull/12558
| 1,968,584,262 |
PR_kwDOIPDwls5eIdYx
| 12,558 |
Allow astream_log to be used inside atrace_as_chain_group
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T14:59:40 | 2023-10-30T15:55:17 | 2023-10-30T15:55:16 |
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/12558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12558/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12558",
"html_url": "https://github.com/langchain-ai/langchain/pull/12558",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12558.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12558.patch",
"merged_at": "2023-10-30T15:55:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12557
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12557/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12557/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12557/events
|
https://github.com/langchain-ai/langchain/issues/12557
| 1,968,516,081 |
I_kwDOIPDwls51VSvx
| 12,557 |
AttributeError: 'Engine' object has no attribute '_instantiate_plugins', while trying to connect with MS SQL
|
{
"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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T14:31:50 | 2023-10-30T14:47:33 | null |
NONE
| null |
### System Info
latest version of langchain
python=3.11
sqlalchemy==1.3.17
### Who can help?
from sqlalchemy import create_engine
import os, sys, openai
import constants, definitions
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain_experimental.sql import SQLDatabaseChain
from sqlalchemy import create_engine
from langchain.chat_models import ChatOpenAI
from urllib.parse import quote_plus
driver = 'ODBC Driver 17 for SQL Server'
host = '******'
user = '*****'
database = '*****'
password = '*******'
encoded_password = quote_plus(password)
# db = SQLDatabase.from_uri(f"mssql+pyodbc://{user}:{encoded_password}@{host}/{database}?driver={quote_plus(driver)}" #, include_tables = ['HRMSGPTAutomation'], sample_rows_in_table_info=2)
connection_uri = (f"mssql+pyodbc://{user}:{encoded_password}@{host}/{database}?driver={quote_plus(driver)}")
engine = create_engine(connection_uri)
model_name="gpt-3.5-turbo-16k"
db = SQLDatabase(engine, view_support=True)
llm = ChatOpenAI(temperature=0, verbose=False, model=model_name)
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from sqlalchemy import create_engine
import os, sys, openai
import constants, definitions
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain_experimental.sql import SQLDatabaseChain
from sqlalchemy import create_engine
from langchain.chat_models import ChatOpenAI
from urllib.parse import quote_plus
driver = 'ODBC Driver 17 for SQL Server'
host = '******'
user = '*****'
database = '*****'
password = '*******'
encoded_password = quote_plus(password)
# db = SQLDatabase.from_uri(f"mssql+pyodbc://{user}:{encoded_password}@{host}/{database}?driver={quote_plus(driver)}" #, include_tables = ['HRMSGPTAutomation'], sample_rows_in_table_info=2)
connection_uri = (f"mssql+pyodbc://{user}:{encoded_password}@{host}/{database}?driver={quote_plus(driver)}")
engine = create_engine(connection_uri)
model_name="gpt-3.5-turbo-16k"
db = SQLDatabase(engine, view_support=True)
llm = ChatOpenAI(temperature=0, verbose=False, model=model_name)
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
### Expected behavior
how to solve the error
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12557/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12556
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12556/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12556/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12556/events
|
https://github.com/langchain-ai/langchain/pull/12556
| 1,968,450,910 |
PR_kwDOIPDwls5eIABw
| 12,556 |
Fix sources in RetrievalQAWithSourcesChain
|
{
"login": "Syed-Mujeeb",
"id": 60967346,
"node_id": "MDQ6VXNlcjYwOTY3MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/60967346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Syed-Mujeeb",
"html_url": "https://github.com/Syed-Mujeeb",
"followers_url": "https://api.github.com/users/Syed-Mujeeb/followers",
"following_url": "https://api.github.com/users/Syed-Mujeeb/following{/other_user}",
"gists_url": "https://api.github.com/users/Syed-Mujeeb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Syed-Mujeeb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Syed-Mujeeb/subscriptions",
"organizations_url": "https://api.github.com/users/Syed-Mujeeb/orgs",
"repos_url": "https://api.github.com/users/Syed-Mujeeb/repos",
"events_url": "https://api.github.com/users/Syed-Mujeeb/events{/privacy}",
"received_events_url": "https://api.github.com/users/Syed-Mujeeb/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-30T14:02:23 | 2023-12-12T16:25:55 | null |
NONE
| null |
- **Description:** Fix sources in RetrievalQAWithSourcesChain
- **Issue:** #10575 #11387 #9774
- **Twitter handle:** Syed_Mujeeb_H
I was facing issues with sources like it was not coming in chain response
Then I noticed this [PR](https://github.com/langchain-ai/langchain/pull/11032) and tested it worked fine for me
So, I like to submit the PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12556/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12556",
"html_url": "https://github.com/langchain-ai/langchain/pull/12556",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12556.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12556.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12555
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12555/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12555/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12555/events
|
https://github.com/langchain-ai/langchain/pull/12555
| 1,968,432,011 |
PR_kwDOIPDwls5eH7-0
| 12,555 |
[Matching Engine] Update the Matching Engine to include the distance and filters
|
{
"login": "fvaleye",
"id": 19929573,
"node_id": "MDQ6VXNlcjE5OTI5NTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/19929573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fvaleye",
"html_url": "https://github.com/fvaleye",
"followers_url": "https://api.github.com/users/fvaleye/followers",
"following_url": "https://api.github.com/users/fvaleye/following{/other_user}",
"gists_url": "https://api.github.com/users/fvaleye/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fvaleye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fvaleye/subscriptions",
"organizations_url": "https://api.github.com/users/fvaleye/orgs",
"repos_url": "https://api.github.com/users/fvaleye/repos",
"events_url": "https://api.github.com/users/fvaleye/events{/privacy}",
"received_events_url": "https://api.github.com/users/fvaleye/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-30T13:56:34 | 2023-10-30T21:12:59 | 2023-10-30T21:12:59 |
CONTRIBUTOR
| null |
Hello 👋,
This Pull Request adds more capability to the [MatchingEngine](https://api.python.langchain.com/en/latest/vectorstores/langchain.vectorstores.matching_engine.MatchingEngine.html) vectorstore of GCP. It includes the `similarity_search_by_vector_with_relevance_scores` function and also [filters](https://cloud.google.com/vertex-ai/docs/vector-search/filtering) to `filter` the namespaces when retrieving the results.
- **Description:** Add [filter](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform.MatchingEngineIndexEndpoint#google_cloud_aiplatform_MatchingEngineIndexEndpoint_find_neighbors) in `similarity_search` and add `similarity_search_by_vector_with_relevance_scores` method
- **Dependencies:** None
- **Tag maintainer:** Unknown
Thank you!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12555/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12555",
"html_url": "https://github.com/langchain-ai/langchain/pull/12555",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12555.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12555.patch",
"merged_at": "2023-10-30T21:12:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12554
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12554/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12554/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12554/events
|
https://github.com/langchain-ai/langchain/pull/12554
| 1,968,341,630 |
PR_kwDOIPDwls5eHoCF
| 12,554 |
Issue: fix the issue #11648 init minimax llm
|
{
"login": "mingforpc",
"id": 6771749,
"node_id": "MDQ6VXNlcjY3NzE3NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6771749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingforpc",
"html_url": "https://github.com/mingforpc",
"followers_url": "https://api.github.com/users/mingforpc/followers",
"following_url": "https://api.github.com/users/mingforpc/following{/other_user}",
"gists_url": "https://api.github.com/users/mingforpc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mingforpc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mingforpc/subscriptions",
"organizations_url": "https://api.github.com/users/mingforpc/orgs",
"repos_url": "https://api.github.com/users/mingforpc/repos",
"events_url": "https://api.github.com/users/mingforpc/events{/privacy}",
"received_events_url": "https://api.github.com/users/mingforpc/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"
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-30T13:19:26 | 2023-11-20T06:30:16 | 2023-10-30T21:30:18 |
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 Issue https://github.com/langchain-ai/langchain/issues/11648 Minimax llm failed to initialize
The idea of this fix is https://github.com/langchain-ai/langchain/issues/10917#issuecomment-1765606725
do not use underscore in python model class
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12554/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12554",
"html_url": "https://github.com/langchain-ai/langchain/pull/12554",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12554.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12554.patch",
"merged_at": "2023-10-30T21:30:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12553
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12553/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12553/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12553/events
|
https://github.com/langchain-ai/langchain/issues/12553
| 1,968,312,500 |
I_kwDOIPDwls51UhC0
| 12,553 |
Neo4J keyword index creation problem
|
{
"login": "priamai",
"id": 57333254,
"node_id": "MDQ6VXNlcjU3MzMzMjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/57333254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/priamai",
"html_url": "https://github.com/priamai",
"followers_url": "https://api.github.com/users/priamai/followers",
"following_url": "https://api.github.com/users/priamai/following{/other_user}",
"gists_url": "https://api.github.com/users/priamai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/priamai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/priamai/subscriptions",
"organizations_url": "https://api.github.com/users/priamai/orgs",
"repos_url": "https://api.github.com/users/priamai/repos",
"events_url": "https://api.github.com/users/priamai/events{/privacy}",
"received_events_url": "https://api.github.com/users/priamai/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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-30T13:04:58 | 2023-10-30T13:16:45 | null |
NONE
| null |
### System Info
Name: langchain
Version: 0.0.320
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
When you try the tutorial:
```
index_name = "vector" # default index name
keyword_index_name = "text_index" # default keyword index name
store = Neo4jVector.from_existing_index(
OpenAIEmbeddings(),
url=url,
username=username,
password=password,
index_name=index_name,
keyword_index_name=keyword_index_name,
search_type="hybrid",
)
```
It produces an error because in fact the keyword index is not created yet:
`ValueError: The specified keyword index name does not exist. Make sure to check if you spelled it correctly`
So I thought I should maybe call this first:
`store.create_new_keyword_index(text_node_properties=["text"])`
However the function is not enabling me to choose the index name and it defaults to "None" string.
I suggest the last method should include the name of the index.
### Expected behavior
The method should auto create the keyword index on the text properties.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12553/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12552
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12552/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12552/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12552/events
|
https://github.com/langchain-ai/langchain/pull/12552
| 1,968,302,534 |
PR_kwDOIPDwls5eHfcH
| 12,552 |
Add message to documents
|
{
"login": "billytrend-cohere",
"id": 144115527,
"node_id": "U_kgDOCJcHRw",
"avatar_url": "https://avatars.githubusercontent.com/u/144115527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/billytrend-cohere",
"html_url": "https://github.com/billytrend-cohere",
"followers_url": "https://api.github.com/users/billytrend-cohere/followers",
"following_url": "https://api.github.com/users/billytrend-cohere/following{/other_user}",
"gists_url": "https://api.github.com/users/billytrend-cohere/gists{/gist_id}",
"starred_url": "https://api.github.com/users/billytrend-cohere/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/billytrend-cohere/subscriptions",
"organizations_url": "https://api.github.com/users/billytrend-cohere/orgs",
"repos_url": "https://api.github.com/users/billytrend-cohere/repos",
"events_url": "https://api.github.com/users/billytrend-cohere/events{/privacy}",
"received_events_url": "https://api.github.com/users/billytrend-cohere/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T12:59:46 | 2023-11-09T15:30:49 | 2023-11-09T15:30:48 |
CONTRIBUTOR
| null |
This adds the response message as a document to the rag retriever so users can choose to use this. Also drops document limit.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12552/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12552",
"html_url": "https://github.com/langchain-ai/langchain/pull/12552",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12552.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12552.patch",
"merged_at": "2023-11-09T15:30:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12551
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12551/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12551/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12551/events
|
https://github.com/langchain-ai/langchain/issues/12551
| 1,968,295,350 |
I_kwDOIPDwls51Uc22
| 12,551 |
Issue: <Using RAG over code, how to split vue and json source>
|
{
"login": "hunnble",
"id": 14886515,
"node_id": "MDQ6VXNlcjE0ODg2NTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14886515?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hunnble",
"html_url": "https://github.com/hunnble",
"followers_url": "https://api.github.com/users/hunnble/followers",
"following_url": "https://api.github.com/users/hunnble/following{/other_user}",
"gists_url": "https://api.github.com/users/hunnble/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hunnble/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hunnble/subscriptions",
"organizations_url": "https://api.github.com/users/hunnble/orgs",
"repos_url": "https://api.github.com/users/hunnble/repos",
"events_url": "https://api.github.com/users/hunnble/events{/privacy}",
"received_events_url": "https://api.github.com/users/hunnble/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T12:55:56 | 2023-10-30T13:18:00 | null |
NONE
| null |
### Issue you'd like to raise.
https://python.langchain.com/docs/use_cases/question_answering/code_understanding
When using RAG over .vue、.json code sources, how to split them then save to vector storage?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12551/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12550
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12550/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12550/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12550/events
|
https://github.com/langchain-ai/langchain/pull/12550
| 1,968,278,609 |
PR_kwDOIPDwls5eHaKA
| 12,550 |
[OpenSearch Vector Search] Add Method for approximate_search_query_match_text_with_boolean_filter
|
{
"login": "freemjstudio",
"id": 41604678,
"node_id": "MDQ6VXNlcjQxNjA0Njc4",
"avatar_url": "https://avatars.githubusercontent.com/u/41604678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freemjstudio",
"html_url": "https://github.com/freemjstudio",
"followers_url": "https://api.github.com/users/freemjstudio/followers",
"following_url": "https://api.github.com/users/freemjstudio/following{/other_user}",
"gists_url": "https://api.github.com/users/freemjstudio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/freemjstudio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/freemjstudio/subscriptions",
"organizations_url": "https://api.github.com/users/freemjstudio/orgs",
"repos_url": "https://api.github.com/users/freemjstudio/repos",
"events_url": "https://api.github.com/users/freemjstudio/events{/privacy}",
"received_events_url": "https://api.github.com/users/freemjstudio/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": 6077048506,
"node_id": "LA_kwDOIPDwls8AAAABajhmug",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20elasticsearch",
"name": "integration: elasticsearch",
"color": "DAB5EC",
"default": false,
"description": "Related to elastic/elasticsearch integrations"
}
] |
open
| false | null |
[] | null | 4 | 2023-10-30T12:47:57 | 2023-10-31T05:35:14 | null |
NONE
| null |
Replace this entire comment with:
- **Description:**
I added a function '_approximate_search_query_match_text_with_boolean_filter' at opensearch_vector_search.py.
- **Issue:**
To improve search performance of OpenSearch vector search, it should be possible to compare the similarity with the vector embedding as well as with the text field. I'm developing Chatbot with Langchain based on Opensearch index as a vectorDB now and it helped to improve the search performance.
- **Dependencies:** any dependencies required for this change -> NO,
- **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/12550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12550/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12550",
"html_url": "https://github.com/langchain-ai/langchain/pull/12550",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12550.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12550.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12549
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12549/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12549/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12549/events
|
https://github.com/langchain-ai/langchain/pull/12549
| 1,968,267,173 |
PR_kwDOIPDwls5eHXnA
| 12,549 |
Add Runnable.with_listeners()
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T12:43:03 | 2023-10-31T11:04:53 | 2023-10-31T11:04:51 |
COLLABORATOR
| null |
- This binds start/end/error listeners to a runnable, which will be called with the Run object
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12549/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12549",
"html_url": "https://github.com/langchain-ai/langchain/pull/12549",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12549.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12549.patch",
"merged_at": "2023-10-31T11:04:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12547
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12547/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12547/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12547/events
|
https://github.com/langchain-ai/langchain/issues/12547
| 1,968,042,327 |
I_kwDOIPDwls51TfFX
| 12,547 |
Custom LLM Implementation
|
{
"login": "VpkPrasanna",
"id": 30804112,
"node_id": "MDQ6VXNlcjMwODA0MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30804112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VpkPrasanna",
"html_url": "https://github.com/VpkPrasanna",
"followers_url": "https://api.github.com/users/VpkPrasanna/followers",
"following_url": "https://api.github.com/users/VpkPrasanna/following{/other_user}",
"gists_url": "https://api.github.com/users/VpkPrasanna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VpkPrasanna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VpkPrasanna/subscriptions",
"organizations_url": "https://api.github.com/users/VpkPrasanna/orgs",
"repos_url": "https://api.github.com/users/VpkPrasanna/repos",
"events_url": "https://api.github.com/users/VpkPrasanna/events{/privacy}",
"received_events_url": "https://api.github.com/users/VpkPrasanna/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 | 7 | 2023-10-30T10:44:33 | 2023-11-08T07:09:08 | null |
CONTRIBUTOR
| null |
### Feature request
Integrate other models from hugging face models models (likely decoder based models) as a LLM , which we can use for RAG applications
### Motivation
Since the model weights of LLM are huge we can have our own model trained on small dataset they can be pluged into RAG applications
### Your contribution
need to think of it actually how can i able to contribute to this
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12547/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12546
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12546/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12546/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12546/events
|
https://github.com/langchain-ai/langchain/issues/12546
| 1,968,019,237 |
I_kwDOIPDwls51TZcl
| 12,546 |
LCEL cookbook issue : Error: unsupported operand type(s) for |: 'ChatPromptTemplate' and 'ChatOpenAI'
|
{
"login": "Talhavaival1",
"id": 142800036,
"node_id": "U_kgDOCIL0pA",
"avatar_url": "https://avatars.githubusercontent.com/u/142800036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Talhavaival1",
"html_url": "https://github.com/Talhavaival1",
"followers_url": "https://api.github.com/users/Talhavaival1/followers",
"following_url": "https://api.github.com/users/Talhavaival1/following{/other_user}",
"gists_url": "https://api.github.com/users/Talhavaival1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Talhavaival1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Talhavaival1/subscriptions",
"organizations_url": "https://api.github.com/users/Talhavaival1/orgs",
"repos_url": "https://api.github.com/users/Talhavaival1/repos",
"events_url": "https://api.github.com/users/Talhavaival1/events{/privacy}",
"received_events_url": "https://api.github.com/users/Talhavaival1/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-10-30T10:32:14 | 2023-10-30T11:03:24 | 2023-10-30T11:03:23 |
NONE
| null |
### System Info
python =3.9.14
langchain =0.0.325
### Who can help?
_No response_
### 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
go to the first LLM + prompt cookbok for LCEL and run it in a local env , you will get an error at this part
from langchain.prompts import ChatPromptTemplate
from langchain.chat_models import ChatOpenAI
prompt = ChatPromptTemplate.from_template("tell me a joke about {foo}")
model = ChatOpenAI()
chain = prompt | model
Error: unsupported operand type(s) for |: 'ChatPromptTemplate' and 'ChatOpenAI'
### Expected behavior
It should have run without and errors
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12546/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12545
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12545/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12545/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12545/events
|
https://github.com/langchain-ai/langchain/pull/12545
| 1,968,018,965 |
PR_kwDOIPDwls5eGhC_
| 12,545 |
Raise ValidationError when type in the messages are wrong
|
{
"login": "qkaTlehdrnf",
"id": 29864112,
"node_id": "MDQ6VXNlcjI5ODY0MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/29864112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qkaTlehdrnf",
"html_url": "https://github.com/qkaTlehdrnf",
"followers_url": "https://api.github.com/users/qkaTlehdrnf/followers",
"following_url": "https://api.github.com/users/qkaTlehdrnf/following{/other_user}",
"gists_url": "https://api.github.com/users/qkaTlehdrnf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qkaTlehdrnf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qkaTlehdrnf/subscriptions",
"organizations_url": "https://api.github.com/users/qkaTlehdrnf/orgs",
"repos_url": "https://api.github.com/users/qkaTlehdrnf/repos",
"events_url": "https://api.github.com/users/qkaTlehdrnf/events{/privacy}",
"received_events_url": "https://api.github.com/users/qkaTlehdrnf/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T10:32:05 | 2023-11-13T03:16:55 | null |
NONE
| null |
Even in the case when messages are list, there can be some elements in the list that can be non-BaseMessage type. So have to raise ValidationError from Pydantic Library for easy check.
Originally, it just print out the information from Pydantic and it is so hard to reason why my code is wrong.
<!-- 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/12545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12545/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12545",
"html_url": "https://github.com/langchain-ai/langchain/pull/12545",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12545.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12545.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12544
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12544/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12544/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12544/events
|
https://github.com/langchain-ai/langchain/pull/12544
| 1,967,979,728 |
PR_kwDOIPDwls5eGYhs
| 12,544 |
Add IBM watsonx.ai as a new LLM provider (WatsonxLLM)
|
{
"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": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-30T10:10:51 | 2023-12-01T17:34:25 | 2023-12-01T17:34:25 |
CONTRIBUTOR
| null |
- **Description:** added IBM [watsonx.ai](https://www.ibm.com/products/watsonx-ai) as a new LLM provider (`WatsonxLLM`)
- **Dependencies:** [ibm-watson-machine-learning](https://pypi.org/project/ibm-watson-machine-learning/),
- **Tag maintainer:** @baskaryan, @eyurtsev ,
- **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. ✅
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. ❌ => `docs/docs/integrations/llms/watsonxllm.ipynb`
I'm also not sure what the procedure is for integration tests. I have tested locally with my api key.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12544/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12544",
"html_url": "https://github.com/langchain-ai/langchain/pull/12544",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12544.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12544.patch",
"merged_at": "2023-12-01T17:34:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12542
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12542/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12542/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12542/events
|
https://github.com/langchain-ai/langchain/pull/12542
| 1,967,940,558 |
PR_kwDOIPDwls5eGQAX
| 12,542 |
Mask API Key for OpenAI based ChatModels (OpenAI,AzureOpenAi,Konko)
|
{
"login": "onesolpark",
"id": 32834020,
"node_id": "MDQ6VXNlcjMyODM0MDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/32834020?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/onesolpark",
"html_url": "https://github.com/onesolpark",
"followers_url": "https://api.github.com/users/onesolpark/followers",
"following_url": "https://api.github.com/users/onesolpark/following{/other_user}",
"gists_url": "https://api.github.com/users/onesolpark/gists{/gist_id}",
"starred_url": "https://api.github.com/users/onesolpark/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onesolpark/subscriptions",
"organizations_url": "https://api.github.com/users/onesolpark/orgs",
"repos_url": "https://api.github.com/users/onesolpark/repos",
"events_url": "https://api.github.com/users/onesolpark/events{/privacy}",
"received_events_url": "https://api.github.com/users/onesolpark/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 5 | 2023-10-30T09:50:31 | 2023-11-30T03:07:56 | 2023-11-30T03:07:56 |
NONE
| null |
- **Description:** Added API Key masking for all OpenAI based ChatModels (OpenAI, Azure OpenAI, Konko)
- Updated OpenAI Chat model to use SecretStr to mask sensitive API Key. (Used convert_to_secret_str recently added to util)
- Added unit tests for all modified Chat models.
- **Issue:** #12165
- **Dependencies:** None
- **Tag maintainer:** @eyurtsev
Konko and OpenAI both implemented OpenAI, so needed to change all three to avoid errors.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12542/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12542",
"html_url": "https://github.com/langchain-ai/langchain/pull/12542",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12542.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12542.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12541
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12541/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12541/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12541/events
|
https://github.com/langchain-ai/langchain/issues/12541
| 1,967,908,244 |
I_kwDOIPDwls51S-WU
| 12,541 |
couldn't work from langchain,OpenAI and Milvus
|
{
"login": "Philipzhong1980",
"id": 7324264,
"node_id": "MDQ6VXNlcjczMjQyNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7324264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Philipzhong1980",
"html_url": "https://github.com/Philipzhong1980",
"followers_url": "https://api.github.com/users/Philipzhong1980/followers",
"following_url": "https://api.github.com/users/Philipzhong1980/following{/other_user}",
"gists_url": "https://api.github.com/users/Philipzhong1980/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Philipzhong1980/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Philipzhong1980/subscriptions",
"organizations_url": "https://api.github.com/users/Philipzhong1980/orgs",
"repos_url": "https://api.github.com/users/Philipzhong1980/repos",
"events_url": "https://api.github.com/users/Philipzhong1980/events{/privacy}",
"received_events_url": "https://api.github.com/users/Philipzhong1980/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T09:32:59 | 2023-10-30T09:46:51 | null |
NONE
| null |
### System Info
Milvus standlone:2.3.2
Langchain version:0.0.325
OpenAI: 0.28.1
pymilvus: 2.3.2
Pydantic:2.4.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
this is my testing coding
import os
import openai
import langchain
from langchain.chains import RetrievalQAWithSourcesChain
from langchain.chat_models import AzureChatOpenAI
from langchain.embeddings import OpenAIEmbeddings
from langchain.prompts import SystemMessagePromptTemplate, HumanMessagePromptTemplate, ChatPromptTemplate
from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter
from langchain.vectorstores import Milvus
from langchain.document_loaders import WebBaseLoader
langchain.debug = True
MILVUS_HOST = "10.224.122.39"
MILVUS_PORT = "19530"
#open AI parameters setting
api_base = "https://model-serving.us-east-2.int.infra.intelligence.webex.com/azure/v1"
api_key = "*******"
api_version = "2023-03-15-preview"
api_type = "azure_ad"
api_temperature = "0"
openai.api_type = api_type
openai.api_version = api_version
openai.api_base = api_base
openai.api_key = api_key
os.environ["OPENAI_API_KEY"] = api_key
os.environ["OPENAI_API_BASE"] = api_base
os.environ["TOKENIZERS_PARALLELISM"] = "false"
def insert_vector2DB():
text_splitter_chunk_size = 2000
text_splitter_chunk_overlap = 200
loader = WebBaseLoader([
"https://milvus.io/docs/overview.md",
"https://help.webex.com/en-us/article/nk1shtj/Get-started-with-Webex-Calling",
"https://help.webex.com/en-us/article/nq28lbi/Get-Started-with-Your-New-Cisco-IP-DECT-6800-Series",
"https://help.webex.com/en-us/article/n62735y/Webex-%7C-Record-a-meeting-or-webinar",
])
documents = loader.load()
for doc in documents:
doc.page_content = doc.page_content
doc.metadata = {"url": doc.metadata["source"]}
text_splitter = RecursiveCharacterTextSplitter(chunk_size=text_splitter_chunk_size, chunk_overlap=text_splitter_chunk_overlap)
texts = text_splitter.split_documents(documents)
# split documents
#text_splitter = SentenceTransformersTokenTextSplitter(chunk_size=2000, chunk_overlap=200)
#text_splitter = CharacterTextSplitter(chunk_size=2000, chunk_overlap= 200)
#docs = text_splitter.split_documents(documents)
#print(documents)
# embeddings with Open AI
embeddings = OpenAIEmbeddings(
deployment="gpt-35-turbo",
openai_api_key=openai.api_key,
openai_api_base=openai.api_base,
openai_api_version=openai.api_version,
openai_api_type=openai.api_type,
chunk_size=16)
# call openai wrapper class,work-able with opensource embeddings
#embeddings = SentenceTransformerEmbeddings(model_name="all-MiniLM-L12-v2")
#print(embeddings)
# insert vector into milvus.
Milvus.from_documents(
texts,
embedding=embeddings,
collection_name='milvus_help',
drop_old=True,
connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT}
)
def query(question):
#1.connect the vector Database
#embeddings = SentenceTransformerEmbeddings(model_name="all-MiniLM-L12-v2")
embeddings = OpenAIEmbeddings(
deployment="gpt-35-turbo",
openai_api_key=openai.api_key,
openai_api_base=openai.api_base,
openai_api_version=openai.api_version,
openai_api_type=openai.api_type,
chunk_size=8)
vector_db = Milvus(
embeddings,
connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT},
collection_name='milvus_help'
)
#2.search the data
# top 20 similar vector data
retriever = vector_db.as_retriever(search_type="mmr", search_kwargs={"k": 20}).get_relevant_documents(question)
#put the retriever into LLM
# Configure system prompt
system_template = """Use the following pieces of context to answer the users question.
If you don't know the answer, just say that you don't know, don't try to make up an answer.
ALWAYS return a "SOURCES" part in your answer.
The "SOURCES" part should be a reference to the source of the document from which you got your answer.
Example of your response should be:
---
The answer is foo
SOURCES: xyz
---
Begin!
----------------
{summaries}"""
messages = [
SystemMessagePromptTemplate.from_template(system_template),
HumanMessagePromptTemplate.from_template("{question}"),
]
prompt = ChatPromptTemplate.from_messages(messages)
chain_type_kwargs = {"prompt": prompt}
# Create an AzureChatOpenAI llm
llm = AzureChatOpenAI(
temperature=api_temperature,
openai_api_key=openai.api_key,
openai_api_base=openai.api_base,
openai_api_version=openai.api_version,
openai_api_type=openai.api_type,
deployment_name="gpt-35-turbo")
# Create a chain that uses the Chroma vector store
qa_chain = RetrievalQAWithSourcesChain.from_chain_type(
llm=llm,
chain_type="map_reduce",
retriever=vector_db.as_retriever(),
return_source_documents=True,
chain_type_kwargs=chain_type_kwargs
)
print(qa_chain)
#response = qa_chain.run({"question": question})
result = qa_chain(
{
"question": question,
},
return_only_outputs=True,
)
response = f"Answer:\t{result['answer']}\n\nSources:\t{result['sources']}\n"
print(response)
def __test_query():
query("What is IP DECT 6800?")
query("What is Webex Calling?")
query("What is Milvus?")
def __test_init_db():
insert_vector2DB()
if __name__ == '__main__':
__test_init_db()
#__test_query()
### Expected behavior
except it can work well, but it creates an error.
Traceback (most recent call last):
File "/Users/lizhon/PycharmProjects/AITesting/helpDoc.py", line 169, in <module>
__test_init_db()
File "/Users/lizhon/PycharmProjects/AITesting/helpDoc.py", line 166, in __test_init_db
insert_vector2DB()
File "/Users/lizhon/PycharmProjects/AITesting/helpDoc.py", line 70, in insert_vector2DB
Milvus.from_documents(
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/schema/vectorstore.py", line 438, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/vectorstores/milvus.py", line 827, in from_texts
vector_db.add_texts(texts=texts, metadatas=metadatas)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/vectorstores/milvus.py", line 427, in add_texts
embeddings = self.embedding_func.embed_documents(texts)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/embeddings/openai.py", line 490, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/embeddings/openai.py", line 374, in _get_len_safe_embeddings
response = embed_with_retry(
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/embeddings/openai.py", line 107, in embed_with_retry
return _embed_with_retry(**kwargs)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/tenacity/__init__.py", line 314, in iter
return fut.result()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/tenacity/__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/langchain/embeddings/openai.py", line 104, in _embed_with_retry
response = embeddings.client.create(**kwargs)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_resources/embedding.py", line 33, in create
response = super().create(*args, **kwargs)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 155, in create
response, _, api_key = requestor.request(
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_requestor.py", line 299, in request
resp, got_stream = self._interpret_response(result, stream)
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_requestor.py", line 710, in _interpret_response
self._interpret_response_line(
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_requestor.py", line 775, in _interpret_response_line
raise self.handle_error_response(
File "/Users/lizhon/PycharmProjects/AITesting/venv/lib/python3.8/site-packages/openai/api_requestor.py", line 428, in handle_error_response
error_code=error_data.get("code"),
AttributeError: 'str' object has no attribute 'get'
Process finished with exit code 1
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12541/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12540
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12540/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12540/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12540/events
|
https://github.com/langchain-ai/langchain/pull/12540
| 1,967,897,271 |
PR_kwDOIPDwls5eGGpA
| 12,540 |
Update neo4j template readmes
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T09:27:15 | 2023-10-30T14:57:53 | 2023-10-30T14:57:53 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12540/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12540",
"html_url": "https://github.com/langchain-ai/langchain/pull/12540",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12540.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12540.patch",
"merged_at": "2023-10-30T14:57:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12539
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12539/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12539/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12539/events
|
https://github.com/langchain-ai/langchain/issues/12539
| 1,967,821,242 |
I_kwDOIPDwls51SpG6
| 12,539 |
Bug in Prompt Description in SQLDatabaseToolkit Reproduction:
|
{
"login": "Halflifefa",
"id": 131593638,
"node_id": "U_kgDOB9f1pg",
"avatar_url": "https://avatars.githubusercontent.com/u/131593638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Halflifefa",
"html_url": "https://github.com/Halflifefa",
"followers_url": "https://api.github.com/users/Halflifefa/followers",
"following_url": "https://api.github.com/users/Halflifefa/following{/other_user}",
"gists_url": "https://api.github.com/users/Halflifefa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Halflifefa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Halflifefa/subscriptions",
"organizations_url": "https://api.github.com/users/Halflifefa/orgs",
"repos_url": "https://api.github.com/users/Halflifefa/repos",
"events_url": "https://api.github.com/users/Halflifefa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Halflifefa/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T08:44:19 | 2023-10-30T08:46:43 | null |
NONE
| null |
### System Info
win11
python3.9.12
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain.agents import AgentExecutor
from langchain.agents.agent_types import AgentType
from langchain.chat_models import ChatOpenAI
db = SQLDatabase.from_uri("sqlite:///../../../../../notebooks/Chinook.db")
toolkit = SQLDatabaseToolkit(db=db, llm=OpenAI(temperature=0))
agent_executor = create_sql_agent(
llm=OpenAI(temperature=0),
toolkit=toolkit,
verbose=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
)
agent_executor.run("Describe the playlisttrack table")
When running the above code, it is likely to produce an error even gpt-3.5 model is used. The reason for the error is often due to the input of the table name with single quotes '' in the call to sql_db_schema, which is caused by the prompt. In the get_tools method of SQLDatabaseToolkit, the default instance description for the info_sql_database_tool_description tool is "Example Input: 'table1, table2, table3'", which is the source of the error. The correct description should be "Example Input: table1, table2, table3". Even if a powerful model like GPT-4 is used, it may still produce an error when calling sql_db_schema, although it can correct it later. However, after the modification, some less powerful models can also correctly call sql_db_schema.
I found the same issue reported by someone else and was troubled by it. However, after searching the repo source code, I found that the description is still incorrect, so I am reporting this bug.
### Expected behavior
Modify the prompt description in the get_tools method of SQLDatabaseToolkit.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12539/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12538
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12538/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12538/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12538/events
|
https://github.com/langchain-ai/langchain/issues/12538
| 1,967,809,475 |
I_kwDOIPDwls51SmPD
| 12,538 |
Error in Google Palm
|
{
"login": "Alkahwaji",
"id": 23569519,
"node_id": "MDQ6VXNlcjIzNTY5NTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23569519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alkahwaji",
"html_url": "https://github.com/Alkahwaji",
"followers_url": "https://api.github.com/users/Alkahwaji/followers",
"following_url": "https://api.github.com/users/Alkahwaji/following{/other_user}",
"gists_url": "https://api.github.com/users/Alkahwaji/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Alkahwaji/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Alkahwaji/subscriptions",
"organizations_url": "https://api.github.com/users/Alkahwaji/orgs",
"repos_url": "https://api.github.com/users/Alkahwaji/repos",
"events_url": "https://api.github.com/users/Alkahwaji/events{/privacy}",
"received_events_url": "https://api.github.com/users/Alkahwaji/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-30T08:38:48 | 2023-10-30T08:59:41 | null |
NONE
| null |
### System Info
'''
Traceback (most recent call last):
File "query.py", line 51, in <module>
action1 = act(total_text)
File "query.py", line 10, in act
return llm(text)
File "C:\Users\a_alk\anaconda3\lib\site-packages\langchain\llms\base.py", line 790, in __call__
self.generate(
IndexError: list index out of range
'''
I received this error which endicate the list generated by model is empty.
What should I do?
#### The function is this
'''
def act(text):
llm = GooglePalm(google_api_key = api_key, temperature=1, max_output_tokens=1)
return llm(text)
'''
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
def act(text):
llm = GooglePalm(google_api_key = api_key, temperature=1, max_output_tokens=1)
return llm(text)
### Expected behavior
String output
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12538/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12537
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12537/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12537/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12537/events
|
https://github.com/langchain-ai/langchain/pull/12537
| 1,967,669,939 |
PR_kwDOIPDwls5eFU7V
| 12,537 |
add docs to min_chunk_size
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T07:20:05 | 2023-10-31T15:58:41 | 2023-10-30T22:13:52 |
CONTRIBUTOR
| null |
Minor addition to documentation to elaborate on min_chunk_size.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12537/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12537",
"html_url": "https://github.com/langchain-ai/langchain/pull/12537",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12537.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12537.patch",
"merged_at": "2023-10-30T22:13:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12536
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12536/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12536/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12536/events
|
https://github.com/langchain-ai/langchain/pull/12536
| 1,967,537,805 |
PR_kwDOIPDwls5eE4Iu
| 12,536 |
Fixing some grammatcal issues
|
{
"login": "ShorthillsAI",
"id": 141953346,
"node_id": "U_kgDOCHYJQg",
"avatar_url": "https://avatars.githubusercontent.com/u/141953346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShorthillsAI",
"html_url": "https://github.com/ShorthillsAI",
"followers_url": "https://api.github.com/users/ShorthillsAI/followers",
"following_url": "https://api.github.com/users/ShorthillsAI/following{/other_user}",
"gists_url": "https://api.github.com/users/ShorthillsAI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ShorthillsAI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShorthillsAI/subscriptions",
"organizations_url": "https://api.github.com/users/ShorthillsAI/orgs",
"repos_url": "https://api.github.com/users/ShorthillsAI/repos",
"events_url": "https://api.github.com/users/ShorthillsAI/events{/privacy}",
"received_events_url": "https://api.github.com/users/ShorthillsAI/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"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 | 5 | 2023-10-30T05:25:07 | 2023-12-19T05:16:04 | 2023-12-19T05:14:50 |
CONTRIBUTOR
| null |
Fixing some doc issues
@eyurtsev , @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12536/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12536",
"html_url": "https://github.com/langchain-ai/langchain/pull/12536",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12536.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12536.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12535
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12535/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12535/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12535/events
|
https://github.com/langchain-ai/langchain/issues/12535
| 1,967,525,151 |
I_kwDOIPDwls51Rg0f
| 12,535 |
similarity_search_with_relevance_scores
|
{
"login": "mansourshams",
"id": 46978885,
"node_id": "MDQ6VXNlcjQ2OTc4ODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/46978885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mansourshams",
"html_url": "https://github.com/mansourshams",
"followers_url": "https://api.github.com/users/mansourshams/followers",
"following_url": "https://api.github.com/users/mansourshams/following{/other_user}",
"gists_url": "https://api.github.com/users/mansourshams/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mansourshams/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mansourshams/subscriptions",
"organizations_url": "https://api.github.com/users/mansourshams/orgs",
"repos_url": "https://api.github.com/users/mansourshams/repos",
"events_url": "https://api.github.com/users/mansourshams/events{/privacy}",
"received_events_url": "https://api.github.com/users/mansourshams/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"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-30T05:11:31 | 2023-10-30T13:09:43 | null |
NONE
| null |
### System Info
The returned score is not in the range of [0,1], rather it is a relatively large negative number such as -172.597
I am only providing the query
I am using langchain with bedrock under aws
I wonder if should set something at the point of building the vectorstore or should have set the score function before using it. If so, please let me know how
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Build the vector store
use similarity_search_with_relevance_scores(query)
### Expected behavior
Return range of numbers to be between 0 and 1 but it is a negative number
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12535/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12534
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12534/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12534/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12534/events
|
https://github.com/langchain-ai/langchain/pull/12534
| 1,967,471,722 |
PR_kwDOIPDwls5eEpcL
| 12,534 |
goog translate nb formatting
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-30T04:25:16 | 2023-10-30T04:27:05 | 2023-10-30T04:27:05 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12534/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12534",
"html_url": "https://github.com/langchain-ai/langchain/pull/12534",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12534.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12534.patch",
"merged_at": "2023-10-30T04:27:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12533
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12533/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12533/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12533/events
|
https://github.com/langchain-ai/langchain/issues/12533
| 1,967,466,491 |
I_kwDOIPDwls51RSf7
| 12,533 |
Using VectorDBQA and llama2 . Why are there other irrelevant questions and answers in addition to the answers to the questions?
|
{
"login": "zhangleinice",
"id": 33247284,
"node_id": "MDQ6VXNlcjMzMjQ3Mjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/33247284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangleinice",
"html_url": "https://github.com/zhangleinice",
"followers_url": "https://api.github.com/users/zhangleinice/followers",
"following_url": "https://api.github.com/users/zhangleinice/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangleinice/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhangleinice/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangleinice/subscriptions",
"organizations_url": "https://api.github.com/users/zhangleinice/orgs",
"repos_url": "https://api.github.com/users/zhangleinice/repos",
"events_url": "https://api.github.com/users/zhangleinice/events{/privacy}",
"received_events_url": "https://api.github.com/users/zhangleinice/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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-10-30T04:19:48 | 2023-10-30T07:21:41 | null |
NONE
| null |
### Issue you'd like to raise.
import sys, os
current_dir = os.path.dirname(os.path.abspath(__file__))
project_root = os.path.abspath(os.path.join(current_dir, os.pardir))
sys.path.append(project_root)
from langchain.document_loaders import TextLoader
from langchain.text_splitter import SpacyTextSplitter
from langchain.vectorstores import FAISS
from langchain import VectorDBQA, OpenAI
from langchain.agents import tool
from models.use import embeddings_zh, llama2
# llm = OpenAI(temperature=0)
loader = TextLoader('data/faq/ecommerce_faq.txt')
documents = loader.load()
text_splitter = SpacyTextSplitter(chunk_size=256, pipeline="zh_core_web_sm")
texts = text_splitter.split_documents(documents)
docsearch = FAISS.from_documents(texts, embeddings_zh)
# use llama-2-7b
faq_chain = VectorDBQA.from_chain_type(
llm=llama2,
vectorstore=docsearch,
verbose=True
)
@tool("FAQ")
def faq(intput: str) -> str:
""""useful for when you need to answer questions about shopping policies, like return policy, shipping policy, etc."""
return faq_chain.run(intput)
# res = faq('如何更改帐户信息')
# print('res', res)
# > Finished chain.
# res 登录您的帐户,然后点击“我的帐户”以更改个人信息、收货地址等。
# Question: 如何下订单?
# Helpful Answer: 浏览商品并将想要购买的商品加入购物车。当您准备结算时,点击购物车图标,然后选择送货地址、付款方式和物流方式。
# Question: 如何注册新帐户?
# Helpful Answer: 点击网站右上角的“注册”按钮,然后按照提示填写相关信息并设置密码。完成后,您将收到一封验证电子邮件。点击邮件中的链接以激活您的帐户。
# Question: 忘记密码怎么办?
# Helpful Answer: 点击登录页面的“忘记密码”链接,输入您的电子邮件地址。我们将向您发送一封包含重置密码链接的邮件。请点击链接并按照提示操作。
# Question: 如何更改收货地址?
# Helpful Answer: 在订单发货前,您可以登录帐户,进入“我的订单”页面,选择要修改的订单并点击“修改地址”。如果订单已发货,您需要联系客服协助处理。
# Question: 如何查询发票信息?
# Helpful Answer: 登录您的帐户,进入“我的发��
Why are there other irrelevant questions and answers in addition to the answers to the questions? What parameters do I need to set so that it only returns answers to questions?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12533/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12532
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12532/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12532/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12532/events
|
https://github.com/langchain-ai/langchain/pull/12532
| 1,967,207,301 |
PR_kwDOIPDwls5eDvey
| 12,532 |
update contributing
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T23:21:18 | 2023-10-29T23:22:20 | 2023-10-29T23:22:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12532/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12532",
"html_url": "https://github.com/langchain-ai/langchain/pull/12532",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12532.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12532.patch",
"merged_at": "2023-10-29T23:22:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12531
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12531/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12531/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12531/events
|
https://github.com/langchain-ai/langchain/pull/12531
| 1,967,207,233 |
PR_kwDOIPDwls5eDvd8
| 12,531 |
Batch apply `poetry lock --no-update` for all templates
|
{
"login": "dqbd",
"id": 1443449,
"node_id": "MDQ6VXNlcjE0NDM0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1443449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqbd",
"html_url": "https://github.com/dqbd",
"followers_url": "https://api.github.com/users/dqbd/followers",
"following_url": "https://api.github.com/users/dqbd/following{/other_user}",
"gists_url": "https://api.github.com/users/dqbd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqbd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqbd/subscriptions",
"organizations_url": "https://api.github.com/users/dqbd/orgs",
"repos_url": "https://api.github.com/users/dqbd/repos",
"events_url": "https://api.github.com/users/dqbd/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqbd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T23:21:05 | 2023-10-30T22:27:41 | 2023-10-30T22:18:53 |
CONTRIBUTOR
| null |
Ran the following bash script for all templates
```bash
#!/bin/bash
set -e
current_dir="$(pwd)"
for directory in */; do
if [ -d "$directory" ]; then
(cd "$directory" && poetry lock --no-update)
fi
done
cd "$current_dir"
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12531/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12531",
"html_url": "https://github.com/langchain-ai/langchain/pull/12531",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12531.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12531.patch",
"merged_at": "2023-10-30T22:18:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12530
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12530/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12530/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12530/events
|
https://github.com/langchain-ai/langchain/pull/12530
| 1,967,202,600 |
PR_kwDOIPDwls5eDujC
| 12,530 |
Force List[Tuple[str,str]] to chat history widget
|
{
"login": "dqbd",
"id": 1443449,
"node_id": "MDQ6VXNlcjE0NDM0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1443449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqbd",
"html_url": "https://github.com/dqbd",
"followers_url": "https://api.github.com/users/dqbd/followers",
"following_url": "https://api.github.com/users/dqbd/following{/other_user}",
"gists_url": "https://api.github.com/users/dqbd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqbd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqbd/subscriptions",
"organizations_url": "https://api.github.com/users/dqbd/orgs",
"repos_url": "https://api.github.com/users/dqbd/repos",
"events_url": "https://api.github.com/users/dqbd/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqbd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T23:06:34 | 2023-10-30T22:31:34 | 2023-10-30T22:19:33 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12530/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12530",
"html_url": "https://github.com/langchain-ai/langchain/pull/12530",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12530.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12530.patch",
"merged_at": "2023-10-30T22:19:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12529
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12529/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12529/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12529/events
|
https://github.com/langchain-ai/langchain/pull/12529
| 1,967,197,810 |
PR_kwDOIPDwls5eDtl5
| 12,529 |
Bagatur/fix doc ci
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T22:52:51 | 2023-10-29T23:15:20 | 2023-10-29T23:15:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12529/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12529",
"html_url": "https://github.com/langchain-ai/langchain/pull/12529",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12529.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12529.patch",
"merged_at": "2023-10-29T23:15:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12528
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12528/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12528/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12528/events
|
https://github.com/langchain-ai/langchain/pull/12528
| 1,967,179,938 |
PR_kwDOIPDwls5eDp19
| 12,528 |
improve agent templates
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-10-29T22:11:57 | 2023-10-31T01:15:14 | 2023-10-31T01:15:13 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12528/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12528",
"html_url": "https://github.com/langchain-ai/langchain/pull/12528",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12528.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12528.patch",
"merged_at": "2023-10-31T01:15:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12527
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12527/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12527/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12527/events
|
https://github.com/langchain-ai/langchain/pull/12527
| 1,967,175,313 |
PR_kwDOIPDwls5eDo2o
| 12,527 |
template updates
|
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T22:04:41 | 2023-10-30T23:23:35 | 2023-10-30T23:23:34 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12527/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12527",
"html_url": "https://github.com/langchain-ai/langchain/pull/12527",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12527.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12527.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12526
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12526/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12526/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12526/events
|
https://github.com/langchain-ai/langchain/pull/12526
| 1,967,172,548 |
PR_kwDOIPDwls5eDoOX
| 12,526 |
RAG template for MongoDB Atlas Vector Search
|
{
"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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T22:01:48 | 2023-10-30T21:31:35 | 2023-10-30T21:31:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12526/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12526",
"html_url": "https://github.com/langchain-ai/langchain/pull/12526",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12526.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12526.patch",
"merged_at": "2023-10-30T21:31:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12525
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12525/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12525/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12525/events
|
https://github.com/langchain-ai/langchain/pull/12525
| 1,967,163,459 |
PR_kwDOIPDwls5eDmaz
| 12,525 |
Introducing Asynchronous Streaming in Ollama
|
{
"login": "lyoh001",
"id": 45280343,
"node_id": "MDQ6VXNlcjQ1MjgwMzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/45280343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lyoh001",
"html_url": "https://github.com/lyoh001",
"followers_url": "https://api.github.com/users/lyoh001/followers",
"following_url": "https://api.github.com/users/lyoh001/following{/other_user}",
"gists_url": "https://api.github.com/users/lyoh001/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lyoh001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lyoh001/subscriptions",
"organizations_url": "https://api.github.com/users/lyoh001/orgs",
"repos_url": "https://api.github.com/users/lyoh001/repos",
"events_url": "https://api.github.com/users/lyoh001/events{/privacy}",
"received_events_url": "https://api.github.com/users/lyoh001/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-10-29T21:35:55 | 2023-10-29T21:57:10 | null |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** I would like to add an asynchronous streaming feature to Ollama. This enhancement significantly improves the performance and efficiency when integrated with FastAPI.
- **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/12525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12525/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12525",
"html_url": "https://github.com/langchain-ai/langchain/pull/12525",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12525.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12525.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12524
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12524/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12524/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12524/events
|
https://github.com/langchain-ai/langchain/pull/12524
| 1,967,159,241 |
PR_kwDOIPDwls5eDlne
| 12,524 |
Bagatur/lakefs loader2
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T21:22:06 | 2023-10-30T23:30:28 | 2023-10-30T23:30:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12524/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12524",
"html_url": "https://github.com/langchain-ai/langchain/pull/12524",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12524.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12524.patch",
"merged_at": "2023-10-30T23:30:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12523
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12523/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12523/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12523/events
|
https://github.com/langchain-ai/langchain/pull/12523
| 1,967,144,784 |
PR_kwDOIPDwls5eDix3
| 12,523 |
Harrison/pii chatbot
|
{
"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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T20:34:57 | 2023-10-31T01:13:13 | 2023-10-31T01:13:12 |
COLLABORATOR
| null |
the pii detection in the template is pretty basic, will need to be customized per use case
the chain it "protects" can be swapped out for any chain
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12523/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12523",
"html_url": "https://github.com/langchain-ai/langchain/pull/12523",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12523.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12523.patch",
"merged_at": "2023-10-31T01:13:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12522
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12522/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12522/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12522/events
|
https://github.com/langchain-ai/langchain/pull/12522
| 1,967,144,698 |
PR_kwDOIPDwls5eDiwu
| 12,522 |
Harrison/add descriptions
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T20:34:40 | 2023-10-30T15:44:47 | 2023-10-29T22:11:38 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12522/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12522",
"html_url": "https://github.com/langchain-ai/langchain/pull/12522",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12522.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12522.patch",
"merged_at": "2023-10-29T22:11:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12521
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12521/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12521/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12521/events
|
https://github.com/langchain-ai/langchain/issues/12521
| 1,967,138,090 |
I_kwDOIPDwls51QCUq
| 12,521 |
Trouble using the Conversational Agent: Missing some input keys: {'input'} and Agent.plan() got multiple values for argument 'intermediate_steps'
|
{
"login": "dianz17",
"id": 62165241,
"node_id": "MDQ6VXNlcjYyMTY1MjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/62165241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dianz17",
"html_url": "https://github.com/dianz17",
"followers_url": "https://api.github.com/users/dianz17/followers",
"following_url": "https://api.github.com/users/dianz17/following{/other_user}",
"gists_url": "https://api.github.com/users/dianz17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dianz17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dianz17/subscriptions",
"organizations_url": "https://api.github.com/users/dianz17/orgs",
"repos_url": "https://api.github.com/users/dianz17/repos",
"events_url": "https://api.github.com/users/dianz17/events{/privacy}",
"received_events_url": "https://api.github.com/users/dianz17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"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 | 8 | 2023-10-29T20:12:26 | 2023-12-08T08:54:34 | null |
NONE
| null |
### Issue you'd like to raise.
Im trying to use an agent as a router for two retrievals. I also want it to have memory so im using the conversational agent with two RetrievalQA chains and ConversationBufferWindowMemory.
Heres the code after creating the retrievals and chatTemplates:
```
chat = ChatVertexAI(
model_name = "chat-bison-32k",
temperature = 0.5,
top_p = 0.8,
top_k = 40,
max_output_tokens = 300
)
prompt1 = PromptTemplate(
input_variables=["context", "input"],
template=chatTemplate1
)
chain_type_kwargs1 = {"prompt": prompt1}
prompt2 = PromptTemplate(
input_variables=["context", "input"],
template=chatTemplate2
)
chain_type_kwargs2 = {"prompt": prompt2}
faq = RetrievalQA.from_chain_type(
llm = llm,
retriever = chroma_retriever,
chain_type="stuff",
chain_type_kwargs=chain_type_kwargs1
)
complex_products = RetrievalQA.from_chain_type(
llm = llm,
retriever = ensemble_retriever,
chain_type="stuff",
chain_type_kwargs=chain_type_kwargs2
)
tools = [
Tool(
name="FAQ about the store",
func= faq.run,
description="useful for when you need to answer questions about related to frequently asked questions. This tool provides information on business hours and store location. To use, input a well-formulated question.",
),
Tool(
name="Product information",
func=complex_products.run,
description="useful for when you need to answer questions about certain products that the costumer needs. Input should be a fully formed question.",
),
]
memory = ConversationBufferWindowMemory(memory_key="chat_history",input_key="input",output_key='output', return_messages=True, k=4)
```
Now, I've been trying two things. The first one is to call my agent with the memory directly. I tried it with and without using .run():
```
agent = initialize_agent(
tools = tools,
llm = chat,
agent = AgentType.CONVERSATIONAL_REACT_DESCRIPTION,
verbose=True,
handle_parsing_errors=True,
max_iterations = 3,
early_stopping_method = 'generate',
memory = memory
)
result = agent("What are the closing hours?")
result["output"]
```
but with some questions, not all, i get the following error:
```
> Entering new AgentExecutor chain...
Thought: Do I need to use a tool? Yes
Action: FAQ about the store
Action Input: What are the closing hours?
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[45], line 1
----> 1 result = agent("What are the closing hours?")
2 result["output"]
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:310, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
308 except BaseException as e:
309 run_manager.on_chain_error(e)
--> 310 raise e
311 run_manager.on_chain_end(outputs)
312 final_outputs: Dict[str, Any] = self.prep_outputs(
313 inputs, outputs, return_only_outputs
314 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:304, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
297 run_manager = callback_manager.on_chain_start(
298 dumpd(self),
299 inputs,
300 name=run_name,
301 )
302 try:
303 outputs = (
--> 304 self._call(inputs, run_manager=run_manager)
305 if new_arg_supported
306 else self._call(inputs)
307 )
308 except BaseException as e:
309 run_manager.on_chain_error(e)
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:1146, in AgentExecutor._call(self, inputs, run_manager)
1144 # We now enter the agent loop (until it returns something).
1145 while self._should_continue(iterations, time_elapsed):
-> 1146 next_step_output = self._take_next_step(
1147 name_to_tool_map,
1148 color_mapping,
1149 inputs,
1150 intermediate_steps,
1151 run_manager=run_manager,
1152 )
1153 if isinstance(next_step_output, AgentFinish):
1154 return self._return(
1155 next_step_output, intermediate_steps, run_manager=run_manager
1156 )
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:996, in AgentExecutor._take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps, run_manager)
994 tool_run_kwargs["llm_prefix"] = ""
995 # We then call the tool on the tool input to get an observation
--> 996 observation = tool.run(
997 agent_action.tool_input,
998 verbose=self.verbose,
999 color=color,
1000 callbacks=run_manager.get_child() if run_manager else None,
1001 **tool_run_kwargs,
1002 )
1003 else:
1004 tool_run_kwargs = self.agent.tool_run_logging_kwargs()
File /opt/conda/lib/python3.10/site-packages/langchain/tools/base.py:365, in BaseTool.run(self, tool_input, verbose, start_color, color, callbacks, tags, metadata, run_name, **kwargs)
363 except (Exception, KeyboardInterrupt) as e:
364 run_manager.on_tool_error(e)
--> 365 raise e
366 else:
367 run_manager.on_tool_end(
368 str(observation), color=color, name=self.name, **kwargs
369 )
File /opt/conda/lib/python3.10/site-packages/langchain/tools/base.py:337, in BaseTool.run(self, tool_input, verbose, start_color, color, callbacks, tags, metadata, run_name, **kwargs)
334 try:
335 tool_args, tool_kwargs = self._to_args_and_kwargs(parsed_input)
336 observation = (
--> 337 self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
338 if new_arg_supported
339 else self._run(*tool_args, **tool_kwargs)
340 )
341 except ToolException as e:
342 if not self.handle_tool_error:
File /opt/conda/lib/python3.10/site-packages/langchain/tools/base.py:510, in Tool._run(self, run_manager, *args, **kwargs)
507 if self.func:
508 new_argument_supported = signature(self.func).parameters.get("callbacks")
509 return (
--> 510 self.func(
511 *args,
512 callbacks=run_manager.get_child() if run_manager else None,
513 **kwargs,
514 )
515 if new_argument_supported
516 else self.func(*args, **kwargs)
517 )
518 raise NotImplementedError("Tool does not support sync")
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:505, in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
503 if len(args) != 1:
504 raise ValueError("`run` supports only one positional argument.")
--> 505 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
506 _output_key
507 ]
509 if kwargs and not args:
510 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
511 _output_key
512 ]
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:310, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
308 except BaseException as e:
309 run_manager.on_chain_error(e)
--> 310 raise e
311 run_manager.on_chain_end(outputs)
312 final_outputs: Dict[str, Any] = self.prep_outputs(
313 inputs, outputs, return_only_outputs
314 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:304, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
297 run_manager = callback_manager.on_chain_start(
298 dumpd(self),
299 inputs,
300 name=run_name,
301 )
302 try:
303 outputs = (
--> 304 self._call(inputs, run_manager=run_manager)
305 if new_arg_supported
306 else self._call(inputs)
307 )
308 except BaseException as e:
309 run_manager.on_chain_error(e)
File /opt/conda/lib/python3.10/site-packages/langchain/chains/retrieval_qa/base.py:139, in BaseRetrievalQA._call(self, inputs, run_manager)
137 else:
138 docs = self._get_docs(question) # type: ignore[call-arg]
--> 139 answer = self.combine_documents_chain.run(
140 input_documents=docs, question=question, callbacks=_run_manager.get_child()
141 )
143 if self.return_source_documents:
144 return {self.output_key: answer, "source_documents": docs}
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:510, in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
505 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
506 _output_key
507 ]
509 if kwargs and not args:
--> 510 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
511 _output_key
512 ]
514 if not kwargs and not args:
515 raise ValueError(
516 "`run` supported with either positional arguments or keyword arguments,"
517 " but none were provided."
518 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:286, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
250 def __call__(
251 self,
252 inputs: Union[Dict[str, Any], Any],
(...)
259 include_run_info: bool = False,
260 ) -> Dict[str, Any]:
261 """Execute the chain.
262
263 Args:
(...)
284 `Chain.output_keys`.
285 """
--> 286 inputs = self.prep_inputs(inputs)
287 callback_manager = CallbackManager.configure(
288 callbacks,
289 self.callbacks,
(...)
294 self.metadata,
295 )
296 new_arg_supported = inspect.signature(self._call).parameters.get("run_manager")
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:443, in Chain.prep_inputs(self, inputs)
441 external_context = self.memory.load_memory_variables(inputs)
442 inputs = dict(inputs, **external_context)
--> 443 self._validate_inputs(inputs)
444 return inputs
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:195, in Chain._validate_inputs(self, inputs)
193 missing_keys = set(self.input_keys).difference(inputs)
194 if missing_keys:
--> 195 raise ValueError(f"Missing some input keys: {missing_keys}")
ValueError: Missing some input keys: {'input'}
```
I also tried calling the agent like this:
```
chat_history = []
question = "What are the closing hours?"
agent({"input": question, "chat_history": chat_history})
```
and got the same error.
I tried to use an agent executor, moving the memory from the agent to the executor but I get the following error:
```
agent_executor = AgentExecutor(agent=agent,
tools=tools,
memory=memory,
verbose=True)
agent_executor.invoke({"input": "What are the closing hours?"})['output']
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[61], line 1
----> 1 agent_executor.invoke({"input": "What are the closing hours?"})['output']
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:87, in Chain.invoke(self, input, config, **kwargs)
80 def invoke(
81 self,
82 input: Dict[str, Any],
83 config: Optional[RunnableConfig] = None,
84 **kwargs: Any,
85 ) -> Dict[str, Any]:
86 config = config or {}
---> 87 return self(
88 input,
89 callbacks=config.get("callbacks"),
90 tags=config.get("tags"),
91 metadata=config.get("metadata"),
92 run_name=config.get("run_name"),
93 **kwargs,
94 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:310, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
308 except BaseException as e:
309 run_manager.on_chain_error(e)
--> 310 raise e
311 run_manager.on_chain_end(outputs)
312 final_outputs: Dict[str, Any] = self.prep_outputs(
313 inputs, outputs, return_only_outputs
314 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:304, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
297 run_manager = callback_manager.on_chain_start(
298 dumpd(self),
299 inputs,
300 name=run_name,
301 )
302 try:
303 outputs = (
--> 304 self._call(inputs, run_manager=run_manager)
305 if new_arg_supported
306 else self._call(inputs)
307 )
308 except BaseException as e:
309 run_manager.on_chain_error(e)
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:1146, in AgentExecutor._call(self, inputs, run_manager)
1144 # We now enter the agent loop (until it returns something).
1145 while self._should_continue(iterations, time_elapsed):
-> 1146 next_step_output = self._take_next_step(
1147 name_to_tool_map,
1148 color_mapping,
1149 inputs,
1150 intermediate_steps,
1151 run_manager=run_manager,
1152 )
1153 if isinstance(next_step_output, AgentFinish):
1154 return self._return(
1155 next_step_output, intermediate_steps, run_manager=run_manager
1156 )
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:933, in AgentExecutor._take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps, run_manager)
930 intermediate_steps = self._prepare_intermediate_steps(intermediate_steps)
932 # Call the LLM to see what to do.
--> 933 output = self.agent.plan(
934 intermediate_steps,
935 callbacks=run_manager.get_child() if run_manager else None,
936 **inputs,
937 )
938 except OutputParserException as e:
939 if isinstance(self.handle_parsing_errors, bool):
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:375, in RunnableAgent.plan(self, intermediate_steps, callbacks, **kwargs)
363 """Given input, decided what to do.
364
365 Args:
(...)
372 Action specifying what tool to use.
373 """
374 inputs = {**kwargs, **{"intermediate_steps": intermediate_steps}}
--> 375 output = self.runnable.invoke(inputs, config={"callbacks": callbacks})
376 return output
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:87, in Chain.invoke(self, input, config, **kwargs)
80 def invoke(
81 self,
82 input: Dict[str, Any],
83 config: Optional[RunnableConfig] = None,
84 **kwargs: Any,
85 ) -> Dict[str, Any]:
86 config = config or {}
---> 87 return self(
88 input,
89 callbacks=config.get("callbacks"),
90 tags=config.get("tags"),
91 metadata=config.get("metadata"),
92 run_name=config.get("run_name"),
93 **kwargs,
94 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:310, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
308 except BaseException as e:
309 run_manager.on_chain_error(e)
--> 310 raise e
311 run_manager.on_chain_end(outputs)
312 final_outputs: Dict[str, Any] = self.prep_outputs(
313 inputs, outputs, return_only_outputs
314 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:304, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
297 run_manager = callback_manager.on_chain_start(
298 dumpd(self),
299 inputs,
300 name=run_name,
301 )
302 try:
303 outputs = (
--> 304 self._call(inputs, run_manager=run_manager)
305 if new_arg_supported
306 else self._call(inputs)
307 )
308 except BaseException as e:
309 run_manager.on_chain_error(e)
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:1146, in AgentExecutor._call(self, inputs, run_manager)
1144 # We now enter the agent loop (until it returns something).
1145 while self._should_continue(iterations, time_elapsed):
-> 1146 next_step_output = self._take_next_step(
1147 name_to_tool_map,
1148 color_mapping,
1149 inputs,
1150 intermediate_steps,
1151 run_manager=run_manager,
1152 )
1153 if isinstance(next_step_output, AgentFinish):
1154 return self._return(
1155 next_step_output, intermediate_steps, run_manager=run_manager
1156 )
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:933, in AgentExecutor._take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps, run_manager)
930 intermediate_steps = self._prepare_intermediate_steps(intermediate_steps)
932 # Call the LLM to see what to do.
--> 933 output = self.agent.plan(
934 intermediate_steps,
935 callbacks=run_manager.get_child() if run_manager else None,
936 **inputs,
937 )
938 except OutputParserException as e:
939 if isinstance(self.handle_parsing_errors, bool):
TypeError: Agent.plan() got multiple values for argument 'intermediate_steps'
```
Im not sure what im doing wrong.
@dosu-bot
### Suggestion:
- Maybe using a template for the agent can work? I dont know if its possible, but im also having trouble forcing it to use only the tools to search the info or else answer that it doesnt know.
- Using LCEL to add a parser but im not familiar with LCEL.
- Change the aproach creating a custom tool/agent/chain.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12521/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12520
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12520/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12520/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12520/events
|
https://github.com/langchain-ai/langchain/pull/12520
| 1,967,136,984 |
PR_kwDOIPDwls5eDhQR
| 12,520 |
Add unit tests for document_transformers/beautiful_soup_transformer.py
|
{
"login": "petervandenabeele",
"id": 55656,
"node_id": "MDQ6VXNlcjU1NjU2",
"avatar_url": "https://avatars.githubusercontent.com/u/55656?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/petervandenabeele",
"html_url": "https://github.com/petervandenabeele",
"followers_url": "https://api.github.com/users/petervandenabeele/followers",
"following_url": "https://api.github.com/users/petervandenabeele/following{/other_user}",
"gists_url": "https://api.github.com/users/petervandenabeele/gists{/gist_id}",
"starred_url": "https://api.github.com/users/petervandenabeele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/petervandenabeele/subscriptions",
"organizations_url": "https://api.github.com/users/petervandenabeele/orgs",
"repos_url": "https://api.github.com/users/petervandenabeele/repos",
"events_url": "https://api.github.com/users/petervandenabeele/events{/privacy}",
"received_events_url": "https://api.github.com/users/petervandenabeele/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T20:08:53 | 2023-10-29T23:24:47 | 2023-10-29T23:24:47 |
CONTRIBUTOR
| null |
- **Description:**
* Add unit tests for document_transformers/beautiful_soup_transformer.py
* Basic functionality is tested (extract tags, remove tags, drop lines)
* add a FIXME comment about the order of tags that is not preserved
(and a passing test, but with the expected tags now out-of-order)
- **Issue:** None
- **Dependencies:** None
- **Tag maintainer:** @rlancemartin
- **Twitter handle:** `peter_v`
Please make sure your PR is passing linting and testing before submitting.
=> OK: I ran `make format`, `make test` (passing after install of beautifulsoup4) and `make lint`.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12520/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12520",
"html_url": "https://github.com/langchain-ai/langchain/pull/12520",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12520.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12520.patch",
"merged_at": "2023-10-29T23:24:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12518
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12518/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12518/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12518/events
|
https://github.com/langchain-ai/langchain/pull/12518
| 1,967,100,348 |
PR_kwDOIPDwls5eDaEq
| 12,518 |
bind_functions convenience method
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T18:12:52 | 2023-10-31T14:15:39 | 2023-10-31T14:15:37 |
COLLABORATOR
| null |
I always take 20-30 seconds to re-discover where the `convert_to_openai_function` wrapper lives in our codebase. Chat langchain [has no clue](https://smith.langchain.com/public/3989d687-18c7-4108-958e-96e88803da86/r) what to do either. There's the older `create_openai_fn_chain` , but we haven't been recommending it in LCEL. The example we show in the [cookbook](https://python.langchain.com/docs/expression_language/how_to/binding#attaching-openai-functions) is really verbose.
General function calling should be as simple as possible to do, so this seems a bit more ergonomic to me (feel free to disagree). Another option would be to directly coerce directly in the class's init (or when calling invoke), if provided. I'm not 100% set against that. That approach may be too easy but not simple. This PR feels like a decent compromise between simple and easy.
```
from enum import Enum
from typing import Optional
from pydantic import BaseModel, Field
class Category(str, Enum):
"""The category of the issue."""
bug = "bug"
nit = "nit"
improvement = "improvement"
other = "other"
class IssueClassification(BaseModel):
"""Classify an issue."""
category: Category
other_description: Optional[str] = Field(
description="If classified as 'other', the suggested other category"
)
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI().bind_functions([IssueClassification])
llm.invoke("This PR adds a convenience wrapper to the bind argument")
# AIMessage(content='', additional_kwargs={'function_call': {'name': 'IssueClassification', 'arguments': '{\n "category": "improvement"\n}'}})
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12518/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12518",
"html_url": "https://github.com/langchain-ai/langchain/pull/12518",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12518.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12518.patch",
"merged_at": "2023-10-31T14:15:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12517
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12517/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12517/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12517/events
|
https://github.com/langchain-ai/langchain/issues/12517
| 1,967,066,381 |
I_kwDOIPDwls51Pw0N
| 12,517 |
Getting invalid output error when using score evaluator
|
{
"login": "laurafbec",
"id": 13176052,
"node_id": "MDQ6VXNlcjEzMTc2MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13176052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laurafbec",
"html_url": "https://github.com/laurafbec",
"followers_url": "https://api.github.com/users/laurafbec/followers",
"following_url": "https://api.github.com/users/laurafbec/following{/other_user}",
"gists_url": "https://api.github.com/users/laurafbec/gists{/gist_id}",
"starred_url": "https://api.github.com/users/laurafbec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/laurafbec/subscriptions",
"organizations_url": "https://api.github.com/users/laurafbec/orgs",
"repos_url": "https://api.github.com/users/laurafbec/repos",
"events_url": "https://api.github.com/users/laurafbec/events{/privacy}",
"received_events_url": "https://api.github.com/users/laurafbec/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 11 | 2023-10-29T16:51:32 | 2023-10-30T19:31:02 | null |
NONE
| null |
### System Info
platform = Windows 11. Linux Ubuntu 22.04
python = 3.10
langchain = 0.0.325
### Who can help?
@hwchase17 @agola11 @eyu
When trying to reproduce the example of the Scoring evaluator [https://python.langchain.com/docs/guides/evaluation/string/scoring_eval_chain#usage-without-references] with the next code
`evaluator = load_evaluator("labeled_score_string", criteria=criteria, llm=llm, normalize_by=10)
eval_result = evaluator.evaluate_strings(prediction="You can find them in the dresser's third drawer.", reference="The socks are in the third drawer in the dresser", input="Where are my socks?")`
I'm getting the error `ValueError: Invalid output: . Output must contain a double bracketed string with the verdict between 1 and 10.`
Thanks!!
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
`
from langchain.evaluation import load_evaluator`
`evaluator = load_evaluator("labeled_score_string", criteria=criteria, llm=llm, normalize_by=10)
eval_result = evaluator.evaluate_strings(prediction="You can find them in the dresser's third drawer.", reference="The socks are in the third drawer in the dresser", input="Where are my socks?")
`
### Expected behavior
` {'reasoning': "The assistant's response is helpful, accurate, and directly answers the user's question. It correctly refers to the ground truth provided by the user, specifying the exact location of the socks. The response, while succinct, demonstrates depth by directly addressing the user's query without unnecessary details. Therefore, the assistant's response is highly relevant, correct, and demonstrates depth of thought. \n\nRating: [[10]]", 'score': 10}`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12517/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12516
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12516/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12516/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12516/events
|
https://github.com/langchain-ai/langchain/pull/12516
| 1,966,988,795 |
PR_kwDOIPDwls5eDD5-
| 12,516 |
Fixed broken link in Quickstart page
|
{
"login": "pythagoras-yamamoto",
"id": 60994397,
"node_id": "MDQ6VXNlcjYwOTk0Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/60994397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pythagoras-yamamoto",
"html_url": "https://github.com/pythagoras-yamamoto",
"followers_url": "https://api.github.com/users/pythagoras-yamamoto/followers",
"following_url": "https://api.github.com/users/pythagoras-yamamoto/following{/other_user}",
"gists_url": "https://api.github.com/users/pythagoras-yamamoto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pythagoras-yamamoto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pythagoras-yamamoto/subscriptions",
"organizations_url": "https://api.github.com/users/pythagoras-yamamoto/orgs",
"repos_url": "https://api.github.com/users/pythagoras-yamamoto/repos",
"events_url": "https://api.github.com/users/pythagoras-yamamoto/events{/privacy}",
"received_events_url": "https://api.github.com/users/pythagoras-yamamoto/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T13:21:16 | 2023-11-02T20:00:54 | 2023-11-02T20:00:53 |
CONTRIBUTOR
| null |
- **Description:**
Corrected a specific link within the documentation.
- **Issue:**
#12490
- **Dependencies:**
- **Tag maintainer:**
- **Twitter handle:**
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12516/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12516",
"html_url": "https://github.com/langchain-ai/langchain/pull/12516",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12516.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12516.patch",
"merged_at": "2023-11-02T20:00:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12515
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12515/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12515/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12515/events
|
https://github.com/langchain-ai/langchain/issues/12515
| 1,966,981,612 |
I_kwDOIPDwls51PcHs
| 12,515 |
Retrieval extraction of Tabular data
|
{
"login": "Ajaypawar02",
"id": 65480235,
"node_id": "MDQ6VXNlcjY1NDgwMjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/65480235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ajaypawar02",
"html_url": "https://github.com/Ajaypawar02",
"followers_url": "https://api.github.com/users/Ajaypawar02/followers",
"following_url": "https://api.github.com/users/Ajaypawar02/following{/other_user}",
"gists_url": "https://api.github.com/users/Ajaypawar02/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ajaypawar02/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ajaypawar02/subscriptions",
"organizations_url": "https://api.github.com/users/Ajaypawar02/orgs",
"repos_url": "https://api.github.com/users/Ajaypawar02/repos",
"events_url": "https://api.github.com/users/Ajaypawar02/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ajaypawar02/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 4 | 2023-10-29T13:00:45 | 2023-10-29T13:40:49 | null |
NONE
| null |
### Issue you'd like to raise.
hello everyone
I have a website which needs to pe scrapped and the
website has the tabular data
so when I scrap the data using web loaders in langchain and build a llm on top of it
it is not able to answer the query.
So what can be the suitable approach to solve this issue
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12515/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12515/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12514
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12514/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12514/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12514/events
|
https://github.com/langchain-ai/langchain/issues/12514
| 1,966,963,901 |
I_kwDOIPDwls51PXy9
| 12,514 |
chatglm3-6b-32k----Please support chatglm3-6b-32k thank you very much
|
{
"login": "coderwpf",
"id": 134041140,
"node_id": "U_kgDOB_1ONA",
"avatar_url": "https://avatars.githubusercontent.com/u/134041140?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coderwpf",
"html_url": "https://github.com/coderwpf",
"followers_url": "https://api.github.com/users/coderwpf/followers",
"following_url": "https://api.github.com/users/coderwpf/following{/other_user}",
"gists_url": "https://api.github.com/users/coderwpf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/coderwpf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/coderwpf/subscriptions",
"organizations_url": "https://api.github.com/users/coderwpf/orgs",
"repos_url": "https://api.github.com/users/coderwpf/repos",
"events_url": "https://api.github.com/users/coderwpf/events{/privacy}",
"received_events_url": "https://api.github.com/users/coderwpf/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-10-29T12:09:10 | 2023-12-27T09:15:33 | null |
NONE
| null |
### Issue with current documentation:
Please support chatglm3-6b-32k thank you very much
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12514/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12513
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12513/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12513/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12513/events
|
https://github.com/langchain-ai/langchain/issues/12513
| 1,966,941,802 |
I_kwDOIPDwls51PSZq
| 12,513 |
Celery getting hung when langchain gets ratelimit error
|
{
"login": "akarshghale",
"id": 7480878,
"node_id": "MDQ6VXNlcjc0ODA4Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7480878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akarshghale",
"html_url": "https://github.com/akarshghale",
"followers_url": "https://api.github.com/users/akarshghale/followers",
"following_url": "https://api.github.com/users/akarshghale/following{/other_user}",
"gists_url": "https://api.github.com/users/akarshghale/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akarshghale/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akarshghale/subscriptions",
"organizations_url": "https://api.github.com/users/akarshghale/orgs",
"repos_url": "https://api.github.com/users/akarshghale/repos",
"events_url": "https://api.github.com/users/akarshghale/events{/privacy}",
"received_events_url": "https://api.github.com/users/akarshghale/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-29T11:01:23 | 2023-10-29T11:12:42 | null |
NONE
| null |
### System Info
MacOS, 8GB RAM, M2
### Who can help?
@hwchase17 @agola11
Langchain Chat Models, Celery (apply.async())
### 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
Create a function that makes some calls to the OpenAI API.
Run that using Celery's apply.async().
When ratelimit error is hit, Langchain will retry after 4 seconds but the Celery will get hung indefinitely.
### Expected behavior
Langchain should be able to retry after 4 seconds without affecting Celery job.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12513/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12512
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12512/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12512/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12512/events
|
https://github.com/langchain-ai/langchain/issues/12512
| 1,966,916,184 |
I_kwDOIPDwls51PMJY
| 12,512 |
Use also bigger files as input to get answers?
|
{
"login": "Rapid1898-code",
"id": 57018730,
"node_id": "MDQ6VXNlcjU3MDE4NzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/57018730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rapid1898-code",
"html_url": "https://github.com/Rapid1898-code",
"followers_url": "https://api.github.com/users/Rapid1898-code/followers",
"following_url": "https://api.github.com/users/Rapid1898-code/following{/other_user}",
"gists_url": "https://api.github.com/users/Rapid1898-code/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Rapid1898-code/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rapid1898-code/subscriptions",
"organizations_url": "https://api.github.com/users/Rapid1898-code/orgs",
"repos_url": "https://api.github.com/users/Rapid1898-code/repos",
"events_url": "https://api.github.com/users/Rapid1898-code/events{/privacy}",
"received_events_url": "https://api.github.com/users/Rapid1898-code/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-29T09:40:27 | 2023-10-29T09:49:08 | null |
NONE
| null |
### Issue you'd like to raise.
Hello - i try vectorize a local txt-file and get an answer out of it using the following code:
```
from langchain.document_loaders import DirectoryLoader, TextLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.vectorstores import FAISS
from langchain.llms import CTransformers
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.vectorstores import FAISS
from langchain.prompts import PromptTemplate
from langchain.chains import RetrievalQA
import os
### Interpret content of local files
text_loader_kwargs={'autodetect_encoding': True}
loader = TextLoader("url.txt", encoding="utf8")
documents = loader.load()
splitter = RecursiveCharacterTextSplitter(chunk_size=500,
chunk_overlap=50)
texts = splitter.split_documents(documents)
embeddings = HuggingFaceEmbeddings(
model_name="sentence-transformers/all-MiniLM-L6-v2",
model_kwargs={'device': 'cpu'})
# create and save the local database
db = FAISS.from_documents(texts, embeddings)
db.save_local("robalf")
### prepare AI with local files
# prepare the template we will use when prompting the AI
template = """Use the following text to answer the user's question.
If you don't know the answer, just say that you don't know, don't try to make up an answer.
Context: {context}
Question: {question}
Only return the helpful answer below and nothing else.
Helpful answer:
"""
# load the language model
fn = os.path.join("G:\DEV\TEMPDEV", "llama-2-7b-chat.ggmlv3.q8_0.bin")
llm = CTransformers(model=fn,
model_type='llama',
config={'max_new_tokens': 1024, 'temperature': 0.01})
# load the interpreted information from the local database
embeddings = HuggingFaceEmbeddings(
model_name="sentence-transformers/all-MiniLM-L6-v2",
model_kwargs={'device': 'cpu'})
db = FAISS.load_local("robalf", embeddings)
# prepare a version of the llm pre-loaded with the local content
retriever = db.as_retriever(search_kwargs={'k': 2})
prompt = PromptTemplate(
template=template,
input_variables=['context', 'question'])
qa_llm = RetrievalQA.from_chain_type(llm=llm,
chain_type='stuff',
retriever=retriever,
return_source_documents=True,
chain_type_kwargs={'prompt': prompt})
# ask the AI chat about information in our local files
prompt = "Write a maximum of 20 products produced or sold by the company in the text below. "
output = qa_llm({'query': prompt})
print(output["result"])
```
When i run this with a small url.txt everything works fine and i get an answer to the text.
But when i use a bigger url.txt i get the following error:
```
Number of tokens (513) exceeded maximum context length (512).
Number of tokens (514) exceeded maximum context length (512).
Number of tokens (515) exceeded maximum context length (512).
Number of tokens (516) exceeded maximum context length (512).
Number of tokens (517) exceeded maximum context length (512).
Number of tokens (518) exceeded maximum context length (512).
Number of tokens (519) exceeded maximum context length (512).
Number of tokens (520) exceeded maximum context length (512).
Number of tokens (521) exceeded maximum context length (512).
Number of tokens (522) exceeded maximum context length (512).
```
How can i use also bigger files as input and get answers?
### Suggestion:
How can i use also bigger files as input and get answers?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12512/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12511
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12511/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12511/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12511/events
|
https://github.com/langchain-ai/langchain/issues/12511
| 1,966,903,798 |
I_kwDOIPDwls51PJH2
| 12,511 |
DOC: how to output a prompt for each call, in chain_type=refine
|
{
"login": "ichenhua",
"id": 16658623,
"node_id": "MDQ6VXNlcjE2NjU4NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/16658623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ichenhua",
"html_url": "https://github.com/ichenhua",
"followers_url": "https://api.github.com/users/ichenhua/followers",
"following_url": "https://api.github.com/users/ichenhua/following{/other_user}",
"gists_url": "https://api.github.com/users/ichenhua/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ichenhua/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ichenhua/subscriptions",
"organizations_url": "https://api.github.com/users/ichenhua/orgs",
"repos_url": "https://api.github.com/users/ichenhua/repos",
"events_url": "https://api.github.com/users/ichenhua/events{/privacy}",
"received_events_url": "https://api.github.com/users/ichenhua/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": 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"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-29T08:59:04 | 2023-10-29T09:07:04 | null |
NONE
| null |
### Issue with current documentation:
In scenarios where chain_type=refine, how do I output a prompt for each call?
```
chain = load_qa_chain(llm=llm, chain_type='refine', verbose=True)
```
The test found that setting verbose=True, also only outputs the prompt for the last llm request.
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12511/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12510
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12510/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12510/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12510/events
|
https://github.com/langchain-ai/langchain/issues/12510
| 1,966,902,078 |
I_kwDOIPDwls51PIs-
| 12,510 |
DOC: How do I control the time interval for invoking LLM
|
{
"login": "ichenhua",
"id": 16658623,
"node_id": "MDQ6VXNlcjE2NjU4NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/16658623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ichenhua",
"html_url": "https://github.com/ichenhua",
"followers_url": "https://api.github.com/users/ichenhua/followers",
"following_url": "https://api.github.com/users/ichenhua/following{/other_user}",
"gists_url": "https://api.github.com/users/ichenhua/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ichenhua/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ichenhua/subscriptions",
"organizations_url": "https://api.github.com/users/ichenhua/orgs",
"repos_url": "https://api.github.com/users/ichenhua/repos",
"events_url": "https://api.github.com/users/ichenhua/events{/privacy}",
"received_events_url": "https://api.github.com/users/ichenhua/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": 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"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-29T08:53:04 | 2023-10-29T09:03:56 | null |
NONE
| null |
### Issue with current documentation:
For example, in scenarios where chain_type=refine, LLM calls are made multiple times.
How do you control the intervals between LLM calls?
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12510/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12509
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12509/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12509/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12509/events
|
https://github.com/langchain-ai/langchain/issues/12509
| 1,966,893,900 |
I_kwDOIPDwls51PGtM
| 12,509 |
DOC: How to end the refine process early in langchain?
|
{
"login": "ichenhua",
"id": 16658623,
"node_id": "MDQ6VXNlcjE2NjU4NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/16658623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ichenhua",
"html_url": "https://github.com/ichenhua",
"followers_url": "https://api.github.com/users/ichenhua/followers",
"following_url": "https://api.github.com/users/ichenhua/following{/other_user}",
"gists_url": "https://api.github.com/users/ichenhua/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ichenhua/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ichenhua/subscriptions",
"organizations_url": "https://api.github.com/users/ichenhua/orgs",
"repos_url": "https://api.github.com/users/ichenhua/repos",
"events_url": "https://api.github.com/users/ichenhua/events{/privacy}",
"received_events_url": "https://api.github.com/users/ichenhua/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": 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"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-29T08:25:39 | 2023-10-29T08:33:03 | null |
NONE
| null |
### Issue with current documentation:
The refine mode of langchain has already found the answer, and then requesting the interface is a waste of resources, can it be ended early?
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12509/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12508
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12508/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12508/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12508/events
|
https://github.com/langchain-ai/langchain/pull/12508
| 1,966,872,246 |
PR_kwDOIPDwls5eCtgg
| 12,508 |
Patch forward ref bug
|
{
"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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T07:07:04 | 2023-10-29T07:53:02 | 2023-10-29T07:53:02 |
COLLABORATOR
| null |
Currently this gives a bug:
```
from langchain.schema.runnable import RunnableLambda
bound = RunnableLambda(lambda x: x).with_config({"callbacks": []})
# ConfigError: field "callbacks" not yet prepared so type is still a ForwardRef, you might need to call RunnableConfig.update_forward_refs().
```
Rather than deal with cyclic imports and extra load time, etc., I think it makes sense to just have a separate Callbacks definition here that is a relaxed typehint.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12508/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12508",
"html_url": "https://github.com/langchain-ai/langchain/pull/12508",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12508.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12508.patch",
"merged_at": "2023-10-29T07:53:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12507
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12507/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12507/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12507/events
|
https://github.com/langchain-ai/langchain/issues/12507
| 1,966,863,704 |
I_kwDOIPDwls51O_VY
| 12,507 |
Issue: ImportError: cannot import name 'VectorStore' from 'langchain.vectorstores'
|
{
"login": "yiouyou",
"id": 14249712,
"node_id": "MDQ6VXNlcjE0MjQ5NzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/14249712?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yiouyou",
"html_url": "https://github.com/yiouyou",
"followers_url": "https://api.github.com/users/yiouyou/followers",
"following_url": "https://api.github.com/users/yiouyou/following{/other_user}",
"gists_url": "https://api.github.com/users/yiouyou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yiouyou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yiouyou/subscriptions",
"organizations_url": "https://api.github.com/users/yiouyou/orgs",
"repos_url": "https://api.github.com/users/yiouyou/repos",
"events_url": "https://api.github.com/users/yiouyou/events{/privacy}",
"received_events_url": "https://api.github.com/users/yiouyou/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 | 6 | 2023-10-29T06:31:12 | 2023-11-03T22:08:49 | null |
NONE
| null |
### Issue you'd like to raise.
Since 0.0.324, "from langchain.vectorstores import VectorStore" doesn't work anymore, any idea how to fix this?
Thanks!
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12507/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12506
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12506/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12506/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12506/events
|
https://github.com/langchain-ai/langchain/issues/12506
| 1,966,861,166 |
I_kwDOIPDwls51O-tu
| 12,506 |
Issue: agent tool has been set with return_direct, when using agent.acall, just return Thought to user
|
{
"login": "lifei87",
"id": 148324314,
"node_id": "U_kgDOCNc_2g",
"avatar_url": "https://avatars.githubusercontent.com/u/148324314?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifei87",
"html_url": "https://github.com/lifei87",
"followers_url": "https://api.github.com/users/lifei87/followers",
"following_url": "https://api.github.com/users/lifei87/following{/other_user}",
"gists_url": "https://api.github.com/users/lifei87/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lifei87/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lifei87/subscriptions",
"organizations_url": "https://api.github.com/users/lifei87/orgs",
"repos_url": "https://api.github.com/users/lifei87/repos",
"events_url": "https://api.github.com/users/lifei87/events{/privacy}",
"received_events_url": "https://api.github.com/users/lifei87/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-10-29T06:18:45 | 2023-10-29T06:20:52 | null |
NONE
| null |
### Issue you'd like to raise.
when using agent.run, tool's observation is returned.
when using agent.acall, just returned agent's Thought to user
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12506/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12505
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12505/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12505/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12505/events
|
https://github.com/langchain-ai/langchain/pull/12505
| 1,966,856,674 |
PR_kwDOIPDwls5eCqhR
| 12,505 |
Evaluation Callback Multi Response
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T05:57:41 | 2023-10-29T06:18:30 | 2023-10-29T06:18:29 |
COLLABORATOR
| null |
1. Allow run evaluators to return {"results": [list of evaluation results]} in the evaluator callback.
2. Allows run evaluators to pick the target run ID to provide feedback to
(1) means you could do something like a function call that populates a full rubric in one go (not sure how reliable that is in general though) rather than splitting off into separate LLM calls - cheaper and less code to write
(2) means you can provide feedback to runs on subsequent calls. Immediate use case is if you wanted to add an evaluator to a chat bot and assign to assign to previous conversation turns
have a corresponding one in the SDK
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12505/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12505",
"html_url": "https://github.com/langchain-ai/langchain/pull/12505",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12505.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12505.patch",
"merged_at": "2023-10-29T06:18:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12504
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12504/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12504/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12504/events
|
https://github.com/langchain-ai/langchain/pull/12504
| 1,966,856,123 |
PR_kwDOIPDwls5eCqaW
| 12,504 |
Replace You with Tavily in xml agent
|
{
"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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-29T05:54:49 | 2023-12-01T23:08:04 | 2023-10-30T19:51:01 |
COLLABORATOR
| null |
You requires an email to get an API key which IMO is too much friction. Tavily is quick
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12504/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12504",
"html_url": "https://github.com/langchain-ai/langchain/pull/12504",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12504.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12504.patch",
"merged_at": "2023-10-30T19:51:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12503
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12503/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12503/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12503/events
|
https://github.com/langchain-ai/langchain/issues/12503
| 1,966,819,941 |
I_kwDOIPDwls51O0pl
| 12,503 |
Issue: StreamingStdOutCallbackHandler and FinalStreamingStdOutCallbackHandler
|
{
"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": 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"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-29T02:45:00 | 2023-10-29T03:16:06 | null |
NONE
| null |
### Issue you'd like to raise.
Hi,
I build a chatbot using conversationchain. I want to final output to be steamed. I tried StreamingStdOutCallbackHandler and FinalStreamingStdOutCallbackHandler.
The problem with StreamingStdOutCallbackHandler is that it also prints out the memory of the chain.
The problem with FinalStreamingStdOutCallbackHandler is that it did print the final output, but the output is just printed out at once rather than streamed.
How can I fix it?
Thanks,
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12503/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/12503/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12502
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12502/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12502/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12502/events
|
https://github.com/langchain-ai/langchain/pull/12502
| 1,966,809,613 |
PR_kwDOIPDwls5eChYH
| 12,502 |
Sphinxbio nls/add plate chain template
|
{
"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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T01:50:58 | 2023-10-29T04:48:18 | 2023-10-29T04:48:18 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12502/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12502",
"html_url": "https://github.com/langchain-ai/langchain/pull/12502",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12502.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12502.patch",
"merged_at": "2023-10-29T04:48:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12501
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12501/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12501/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12501/events
|
https://github.com/langchain-ai/langchain/pull/12501
| 1,966,784,861 |
PR_kwDOIPDwls5eCcH5
| 12,501 |
Add platechain template
|
{
"login": "nlarusstone",
"id": 7347808,
"node_id": "MDQ6VXNlcjczNDc4MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7347808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nlarusstone",
"html_url": "https://github.com/nlarusstone",
"followers_url": "https://api.github.com/users/nlarusstone/followers",
"following_url": "https://api.github.com/users/nlarusstone/following{/other_user}",
"gists_url": "https://api.github.com/users/nlarusstone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nlarusstone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nlarusstone/subscriptions",
"organizations_url": "https://api.github.com/users/nlarusstone/orgs",
"repos_url": "https://api.github.com/users/nlarusstone/repos",
"events_url": "https://api.github.com/users/nlarusstone/events{/privacy}",
"received_events_url": "https://api.github.com/users/nlarusstone/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-29T00:30:52 | 2023-10-29T01:51:14 | 2023-10-29T01:51:14 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12501/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12501",
"html_url": "https://github.com/langchain-ai/langchain/pull/12501",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12501.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12501.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12500
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12500/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12500/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12500/events
|
https://github.com/langchain-ai/langchain/pull/12500
| 1,966,779,890 |
PR_kwDOIPDwls5eCbIW
| 12,500 |
various templates improvements
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T00:13:18 | 2023-10-29T05:13:23 | 2023-10-29T05:13:22 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12500/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12500",
"html_url": "https://github.com/langchain-ai/langchain/pull/12500",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12500.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12500.patch",
"merged_at": "2023-10-29T05:13:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12499
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12499/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12499/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12499/events
|
https://github.com/langchain-ai/langchain/pull/12499
| 1,966,778,300 |
PR_kwDOIPDwls5eCazM
| 12,499 |
add a template for the package readme
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-29T00:07:51 | 2023-10-30T23:39:41 | 2023-10-30T23:39:39 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12499/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12499",
"html_url": "https://github.com/langchain-ai/langchain/pull/12499",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12499.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12499.patch",
"merged_at": "2023-10-30T23:39:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12498
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12498/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12498/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12498/events
|
https://github.com/langchain-ai/langchain/pull/12498
| 1,966,760,188 |
PR_kwDOIPDwls5eCXeU
| 12,498 |
notebook fmt
|
{
"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"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-28T22:37:43 | 2023-10-29T22:50:10 | 2023-10-29T22:50:10 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12498/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12498",
"html_url": "https://github.com/langchain-ai/langchain/pull/12498",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12498.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12498.patch",
"merged_at": "2023-10-29T22:50:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12497
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12497/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12497/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12497/events
|
https://github.com/langchain-ai/langchain/pull/12497
| 1,966,750,477 |
PR_kwDOIPDwls5eCVmS
| 12,497 |
docs(prompt_templates): fix typo in prompt template
|
{
"login": "nbbaier",
"id": 12950157,
"node_id": "MDQ6VXNlcjEyOTUwMTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/12950157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbbaier",
"html_url": "https://github.com/nbbaier",
"followers_url": "https://api.github.com/users/nbbaier/followers",
"following_url": "https://api.github.com/users/nbbaier/following{/other_user}",
"gists_url": "https://api.github.com/users/nbbaier/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nbbaier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nbbaier/subscriptions",
"organizations_url": "https://api.github.com/users/nbbaier/orgs",
"repos_url": "https://api.github.com/users/nbbaier/repos",
"events_url": "https://api.github.com/users/nbbaier/events{/privacy}",
"received_events_url": "https://api.github.com/users/nbbaier/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T21:52:24 | 2023-10-29T21:52:38 | 2023-10-29T21:52:38 |
CONTRIBUTOR
| null |
- **Description:** Fixes a small typo in the [Prompt template document](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/)
- **Dependencies:** none
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12497/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12497",
"html_url": "https://github.com/langchain-ai/langchain/pull/12497",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12497.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12497.patch",
"merged_at": "2023-10-29T21:52:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12496
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12496/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12496/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12496/events
|
https://github.com/langchain-ai/langchain/pull/12496
| 1,966,747,000 |
PR_kwDOIPDwls5eCU8S
| 12,496 |
Masking of API Key for GooseAI LLM
|
{
"login": "samadkoita",
"id": 53687543,
"node_id": "MDQ6VXNlcjUzNjg3NTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/53687543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samadkoita",
"html_url": "https://github.com/samadkoita",
"followers_url": "https://api.github.com/users/samadkoita/followers",
"following_url": "https://api.github.com/users/samadkoita/following{/other_user}",
"gists_url": "https://api.github.com/users/samadkoita/gists{/gist_id}",
"starred_url": "https://api.github.com/users/samadkoita/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samadkoita/subscriptions",
"organizations_url": "https://api.github.com/users/samadkoita/orgs",
"repos_url": "https://api.github.com/users/samadkoita/repos",
"events_url": "https://api.github.com/users/samadkoita/events{/privacy}",
"received_events_url": "https://api.github.com/users/samadkoita/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-10-28T21:36:45 | 2023-10-30T01:21:33 | 2023-10-30T01:21:33 |
CONTRIBUTOR
| null |
Description: Add masking of API Key for GooseAI LLM when printed.
Issue: https://github.com/langchain-ai/langchain/issues/12165
Dependencies: None
Tag maintainer: @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12496/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12496",
"html_url": "https://github.com/langchain-ai/langchain/pull/12496",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12496.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12496.patch",
"merged_at": "2023-10-30T01:21:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12495
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12495/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12495/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12495/events
|
https://github.com/langchain-ai/langchain/issues/12495
| 1,966,745,591 |
I_kwDOIPDwls51Oif3
| 12,495 |
SQLDatabaseChain sharing data that's not in database
|
{
"login": "vignxs",
"id": 83700788,
"node_id": "MDQ6VXNlcjgzNzAwNzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/83700788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vignxs",
"html_url": "https://github.com/vignxs",
"followers_url": "https://api.github.com/users/vignxs/followers",
"following_url": "https://api.github.com/users/vignxs/following{/other_user}",
"gists_url": "https://api.github.com/users/vignxs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vignxs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vignxs/subscriptions",
"organizations_url": "https://api.github.com/users/vignxs/orgs",
"repos_url": "https://api.github.com/users/vignxs/repos",
"events_url": "https://api.github.com/users/vignxs/events{/privacy}",
"received_events_url": "https://api.github.com/users/vignxs/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 | 9 | 2023-10-28T21:30:30 | 2023-12-05T15:48:07 | null |
NONE
| null |
### Issue you'd like to raise.
Okay I have tried both SQL database chain and create SQL agent from agents and what i have seen is that after run and it returns zero records from the database and LLM gives the output from its own. So basically I have only one fruit in my database and if I ask what fruit contains vitamin c which is not in the database and it fetch me the result from its own knowledge base. I tried adding the instructions in the prompt like if query return zero records or observation is empty or the result of the SQL. Query is empty, Do not share anything on your own And just convey the message to the user that for your certain filter criteria that is no records Try different query or elaborate your request but it doesn't seem to be working. is there anyting we can do to fix it?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12495/timeline
| null |
reopened
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12494
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12494/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12494/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12494/events
|
https://github.com/langchain-ai/langchain/issues/12494
| 1,966,738,613 |
I_kwDOIPDwls51Ogy1
| 12,494 |
email with metadata from pdfs
|
{
"login": "tevslin",
"id": 26681478,
"node_id": "MDQ6VXNlcjI2NjgxNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/26681478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tevslin",
"html_url": "https://github.com/tevslin",
"followers_url": "https://api.github.com/users/tevslin/followers",
"following_url": "https://api.github.com/users/tevslin/following{/other_user}",
"gists_url": "https://api.github.com/users/tevslin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tevslin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tevslin/subscriptions",
"organizations_url": "https://api.github.com/users/tevslin/orgs",
"repos_url": "https://api.github.com/users/tevslin/repos",
"events_url": "https://api.github.com/users/tevslin/events{/privacy}",
"received_events_url": "https://api.github.com/users/tevslin/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"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-28T21:01:17 | 2023-10-28T21:03:41 | null |
NONE
| null |
### Feature request
parse the text in a pdf to determine whether it contains header fields such as From:, To:, Date: etc which make it likely that the original data was an email. if so, return the contents of those fields as Document metadata which can, for example, be used as metadata in a database. (reopening of https://github.com/langchain-ai/langchain/issues/8094)
### Motivation
Sometimes it as important to know who said what to whom when as it is to determine what actual facts are. Investigative reporting is one example. There are adequate tools to retrieve email and its metadata from Gmail or Exchange. A similar tool for email which has been saved as a collection of PDFs which parses and retrieves the metadata will make these document collections more accessible and useful.
### Your contribution
I have created a pdf to email tool in the proper format to incorporated with existing langchain document loaders. It's at https://github.com/tevslin/emailai, There's been enough interest so that I'm forking, linting, and will submit a pr.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12494/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12493
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12493/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12493/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12493/events
|
https://github.com/langchain-ai/langchain/pull/12493
| 1,966,732,154 |
PR_kwDOIPDwls5eCSGO
| 12,493 |
change project template
|
{
"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": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-28T20:33:01 | 2023-10-30T21:06:31 | 2023-10-30T21:06:30 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12493/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12493",
"html_url": "https://github.com/langchain-ai/langchain/pull/12493",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12493.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12493.patch",
"merged_at": "2023-10-30T21:06:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12492
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12492/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12492/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12492/events
|
https://github.com/langchain-ai/langchain/pull/12492
| 1,966,724,161 |
PR_kwDOIPDwls5eCQkm
| 12,492 |
add gha for cli
|
{
"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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T20:03:10 | 2023-10-29T04:49:29 | 2023-10-29T04:49:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12492/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12492",
"html_url": "https://github.com/langchain-ai/langchain/pull/12492",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12492.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12492.patch",
"merged_at": "2023-10-29T04:49:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12491
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12491/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12491/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12491/events
|
https://github.com/langchain-ai/langchain/pull/12491
| 1,966,722,125 |
PR_kwDOIPDwls5eCQNd
| 12,491 |
Harrison/quick start
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T19:56:16 | 2023-10-28T23:26:53 | 2023-10-28T23:26:52 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12491/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12491",
"html_url": "https://github.com/langchain-ai/langchain/pull/12491",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12491.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12491.patch",
"merged_at": "2023-10-28T23:26:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12490
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12490/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12490/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12490/events
|
https://github.com/langchain-ai/langchain/issues/12490
| 1,966,711,948 |
I_kwDOIPDwls51OaSM
| 12,490 |
DOC: Broken link in Quickstart page
|
{
"login": "MaruthiKo",
"id": 63769209,
"node_id": "MDQ6VXNlcjYzNzY5MjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/63769209?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaruthiKo",
"html_url": "https://github.com/MaruthiKo",
"followers_url": "https://api.github.com/users/MaruthiKo/followers",
"following_url": "https://api.github.com/users/MaruthiKo/following{/other_user}",
"gists_url": "https://api.github.com/users/MaruthiKo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaruthiKo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaruthiKo/subscriptions",
"organizations_url": "https://api.github.com/users/MaruthiKo/orgs",
"repos_url": "https://api.github.com/users/MaruthiKo/repos",
"events_url": "https://api.github.com/users/MaruthiKo/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaruthiKo/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
open
| false | null |
[] | null | 0 | 2023-10-28T19:20:13 | 2023-10-28T19:22:19 | null |
NONE
| null |
### Issue with current documentation:
# Issue
On the documentation page: https://python.langchain.com/docs/get_started/quickstart
In the Next Steps section:
- Explore [end-to-end use cases](https://python.langchain.com/docs/use_cases) results in page not found
## Screenshot
<img width="960" alt="Langchain_docs" src="https://github.com/langchain-ai/langchain/assets/63769209/b1618fad-b7d2-4784-a30f-f6361f81b20a">
<img width="960" alt="bug" src="https://github.com/langchain-ai/langchain/assets/63769209/b637d0fa-aeb4-439b-b598-e1855c35fdaa">
### Idea or request for content:
I think that the above issue can be resolved by replacing the above link with this: https://python.langchain.com/docs/use_cases/qa_structured/sql
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12490/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12489
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12489/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12489/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12489/events
|
https://github.com/langchain-ai/langchain/pull/12489
| 1,966,701,027 |
PR_kwDOIPDwls5eCMJB
| 12,489 |
Adds embeddings filter option to return scores in state
|
{
"login": "jacoblee93",
"id": 6952323,
"node_id": "MDQ6VXNlcjY5NTIzMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jacoblee93",
"html_url": "https://github.com/jacoblee93",
"followers_url": "https://api.github.com/users/jacoblee93/followers",
"following_url": "https://api.github.com/users/jacoblee93/following{/other_user}",
"gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions",
"organizations_url": "https://api.github.com/users/jacoblee93/orgs",
"repos_url": "https://api.github.com/users/jacoblee93/repos",
"events_url": "https://api.github.com/users/jacoblee93/events{/privacy}",
"received_events_url": "https://api.github.com/users/jacoblee93/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-28T18:43:12 | 2023-11-09T01:50:07 | 2023-11-09T01:50:06 |
CONTRIBUTOR
| null |
CC @baskaryan @assafelovic
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12489/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12489",
"html_url": "https://github.com/langchain-ai/langchain/pull/12489",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12489.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12489.patch",
"merged_at": "2023-11-09T01:50:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12488
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12488/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12488/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12488/events
|
https://github.com/langchain-ai/langchain/issues/12488
| 1,966,694,473 |
I_kwDOIPDwls51OWBJ
| 12,488 |
Getting error while using Redistore as docstore in parent document retreival
|
{
"login": "aniketmoha9",
"id": 60647853,
"node_id": "MDQ6VXNlcjYwNjQ3ODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/60647853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aniketmoha9",
"html_url": "https://github.com/aniketmoha9",
"followers_url": "https://api.github.com/users/aniketmoha9/followers",
"following_url": "https://api.github.com/users/aniketmoha9/following{/other_user}",
"gists_url": "https://api.github.com/users/aniketmoha9/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aniketmoha9/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniketmoha9/subscriptions",
"organizations_url": "https://api.github.com/users/aniketmoha9/orgs",
"repos_url": "https://api.github.com/users/aniketmoha9/repos",
"events_url": "https://api.github.com/users/aniketmoha9/events{/privacy}",
"received_events_url": "https://api.github.com/users/aniketmoha9/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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 | 2 | 2023-10-28T18:21:41 | 2023-11-06T22:21:28 | null |
NONE
| null |
### System Info
i am getting an error while using Redistore as docstore `A tuple item must be str, int, float or bytes.`. I do not get error when using the InMemorystore. the problem is with mset function, in redistore mset throws error when i pass a document object, but redistore works if just pass a string.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
i am getting an error while using Redistore as docstore `A tuple item must be str, int, float or bytes.`. I do not get error when using the InMemorystore. the problem is with mset function, in redistore mset throws error when i pass a document object, but redistore works if just pass a string.
### Expected behavior
i am getting an error while using Redistore as docstore `A tuple item must be str, int, float or bytes.`. I do not get error when using the InMemorystore. the problem is with mset function, in redistore mset throws error when i pass a document object, but redistore works if just pass a string.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12488/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12487
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12487/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12487/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12487/events
|
https://github.com/langchain-ai/langchain/pull/12487
| 1,966,644,651 |
PR_kwDOIPDwls5eCBNK
| 12,487 |
bump to 36
|
{
"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": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T15:48:55 | 2023-10-28T15:51:24 | 2023-10-28T15:51:23 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12487/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12487",
"html_url": "https://github.com/langchain-ai/langchain/pull/12487",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12487.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12487.patch",
"merged_at": "2023-10-28T15:51:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12486
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12486/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12486/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12486/events
|
https://github.com/langchain-ai/langchain/pull/12486
| 1,966,630,516 |
PR_kwDOIPDwls5eB-f3
| 12,486 |
add cookbook for selectins llms based on context length
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T15:07:15 | 2023-10-29T04:50:15 | 2023-10-29T04:50:14 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12486/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12486",
"html_url": "https://github.com/langchain-ai/langchain/pull/12486",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12486.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12486.patch",
"merged_at": "2023-10-29T04:50:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12484
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12484/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12484/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12484/events
|
https://github.com/langchain-ai/langchain/pull/12484
| 1,966,615,460 |
PR_kwDOIPDwls5eB7ok
| 12,484 |
Fix poetry dependency resolution in devcontainer and simplify setup
|
{
"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": 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 |
{
"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
}
|
[
{
"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
}
] | null | 10 | 2023-10-28T14:26:23 | 2023-12-12T10:50:43 | null |
CONTRIBUTOR
| null |
**Description:** Fix poetry dependency resolution within devcontainer and simplify devcontainer configuration along the way:
- Specify devcontainer config in devcontainer.json only (get rid of dev Dockerfile)
- devcontainer uses same poetry version as container running unit tests
- Install poetry via devcontainer feature instead of using multi-stage build
- Move setup tasks (configuring shell completions, installing dependencies) to dedicated file (setup.sh)
**Issue:**
- #7825
- #8277
**Dependencies:** None
**Tag maintainer:** @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12484/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12484",
"html_url": "https://github.com/langchain-ai/langchain/pull/12484",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12484.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12484.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12483
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12483/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12483/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12483/events
|
https://github.com/langchain-ai/langchain/issues/12483
| 1,966,594,109 |
I_kwDOIPDwls51N9g9
| 12,483 |
langchain Ctransformers caching and usage in Dockerfile volume
|
{
"login": "UmarIgan",
"id": 38042220,
"node_id": "MDQ6VXNlcjM4MDQyMjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/38042220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/UmarIgan",
"html_url": "https://github.com/UmarIgan",
"followers_url": "https://api.github.com/users/UmarIgan/followers",
"following_url": "https://api.github.com/users/UmarIgan/following{/other_user}",
"gists_url": "https://api.github.com/users/UmarIgan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/UmarIgan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/UmarIgan/subscriptions",
"organizations_url": "https://api.github.com/users/UmarIgan/orgs",
"repos_url": "https://api.github.com/users/UmarIgan/repos",
"events_url": "https://api.github.com/users/UmarIgan/events{/privacy}",
"received_events_url": "https://api.github.com/users/UmarIgan/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 | 2 | 2023-10-28T13:22:30 | 2023-10-28T13:47:20 | null |
NONE
| null |
### Issue you'd like to raise.
How can I cache llama models that called in langchain llms CTransformers and add it to a docker image to prevent it download the model every time I called in a cloud environment?
As I researched, I saw no clear explanation of how to cache models in Ctransformers.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12483/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12482
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12482/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12482/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12482/events
|
https://github.com/langchain-ai/langchain/pull/12482
| 1,966,567,954 |
PR_kwDOIPDwls5eBygK
| 12,482 |
更新了February的拼写错误
|
{
"login": "LiujiaZz",
"id": 127607386,
"node_id": "U_kgDOB5siWg",
"avatar_url": "https://avatars.githubusercontent.com/u/127607386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiujiaZz",
"html_url": "https://github.com/LiujiaZz",
"followers_url": "https://api.github.com/users/LiujiaZz/followers",
"following_url": "https://api.github.com/users/LiujiaZz/following{/other_user}",
"gists_url": "https://api.github.com/users/LiujiaZz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LiujiaZz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LiujiaZz/subscriptions",
"organizations_url": "https://api.github.com/users/LiujiaZz/orgs",
"repos_url": "https://api.github.com/users/LiujiaZz/repos",
"events_url": "https://api.github.com/users/LiujiaZz/events{/privacy}",
"received_events_url": "https://api.github.com/users/LiujiaZz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-28T11:59:38 | 2023-10-28T15:46:52 | 2023-10-28T15:46:52 |
NONE
| null |
There was a typo in the “Langhian/docs/docs/integrations/retrievers/tavily.ipynb”, "February" was misspelled.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12482/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12482",
"html_url": "https://github.com/langchain-ai/langchain/pull/12482",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12482.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12482.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12481
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12481/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12481/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12481/events
|
https://github.com/langchain-ai/langchain/pull/12481
| 1,966,567,773 |
PR_kwDOIPDwls5eByd3
| 12,481 |
Docs: Update Code Writing example for import location change of PythonREPL
|
{
"login": "jwmatthews",
"id": 206875,
"node_id": "MDQ6VXNlcjIwNjg3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/206875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwmatthews",
"html_url": "https://github.com/jwmatthews",
"followers_url": "https://api.github.com/users/jwmatthews/followers",
"following_url": "https://api.github.com/users/jwmatthews/following{/other_user}",
"gists_url": "https://api.github.com/users/jwmatthews/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jwmatthews/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jwmatthews/subscriptions",
"organizations_url": "https://api.github.com/users/jwmatthews/orgs",
"repos_url": "https://api.github.com/users/jwmatthews/repos",
"events_url": "https://api.github.com/users/jwmatthews/events{/privacy}",
"received_events_url": "https://api.github.com/users/jwmatthews/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-28T11:59:01 | 2023-10-28T15:58:55 | 2023-10-28T15:58:54 |
NONE
| null |
**Description**: Fixes documentation example for Code Writing after refactoring of imports for PythonREPL in experimental lib
**Issue**: Fixes #12480
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12481/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12481",
"html_url": "https://github.com/langchain-ai/langchain/pull/12481",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12481.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12481.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12480
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12480/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12480/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12480/events
|
https://github.com/langchain-ai/langchain/issues/12480
| 1,966,566,919 |
I_kwDOIPDwls51N24H
| 12,480 |
DOC: Code Writing example throws error with PythonREPL import
|
{
"login": "jwmatthews",
"id": 206875,
"node_id": "MDQ6VXNlcjIwNjg3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/206875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwmatthews",
"html_url": "https://github.com/jwmatthews",
"followers_url": "https://api.github.com/users/jwmatthews/followers",
"following_url": "https://api.github.com/users/jwmatthews/following{/other_user}",
"gists_url": "https://api.github.com/users/jwmatthews/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jwmatthews/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jwmatthews/subscriptions",
"organizations_url": "https://api.github.com/users/jwmatthews/orgs",
"repos_url": "https://api.github.com/users/jwmatthews/repos",
"events_url": "https://api.github.com/users/jwmatthews/events{/privacy}",
"received_events_url": "https://api.github.com/users/jwmatthews/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-28T11:56:06 | 2023-10-28T15:59:15 | 2023-10-28T15:59:14 |
NONE
| null |
### Issue with current documentation:
I am attempting to run: https://python.langchain.com/docs/expression_language/cookbook/code_writing
and I'm seeing this error:
```
from langchain_experimental.utilities import PythonREPL
ImportError: cannot import name 'PythonREPL' from 'langchain_experimental.utilities'
```
### Idea or request for content:
I assume the fix is below
```
$ git diff
diff --git a/docs/docs/expression_language/cookbook/code_writing.ipynb b/docs/docs/expression_language/cookbook/code_writing.ipynb
index 21ab53601..bf1840c5a 100644
--- a/docs/docs/expression_language/cookbook/code_writing.ipynb
+++ b/docs/docs/expression_language/cookbook/code_writing.ipynb
@@ -20,7 +20,7 @@
"from langchain.chat_models import ChatOpenAI\n",
"from langchain.prompts import ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate\n",
"from langchain.schema.output_parser import StrOutputParser\n",
- "from langchain_experimental.utilities import PythonREPL"
+ "from langchain_experimental.utilities.python import PythonREPL"
]
},
{
```
Will submit a PR with above
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12480/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12479
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12479/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12479/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12479/events
|
https://github.com/langchain-ai/langchain/issues/12479
| 1,966,563,554 |
I_kwDOIPDwls51N2Di
| 12,479 |
Get document ids from ConversationalRetrievalChain's reponse
|
{
"login": "rangelrey",
"id": 53145192,
"node_id": "MDQ6VXNlcjUzMTQ1MTky",
"avatar_url": "https://avatars.githubusercontent.com/u/53145192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rangelrey",
"html_url": "https://github.com/rangelrey",
"followers_url": "https://api.github.com/users/rangelrey/followers",
"following_url": "https://api.github.com/users/rangelrey/following{/other_user}",
"gists_url": "https://api.github.com/users/rangelrey/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rangelrey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rangelrey/subscriptions",
"organizations_url": "https://api.github.com/users/rangelrey/orgs",
"repos_url": "https://api.github.com/users/rangelrey/repos",
"events_url": "https://api.github.com/users/rangelrey/events{/privacy}",
"received_events_url": "https://api.github.com/users/rangelrey/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-28T11:44:24 | 2023-10-29T16:42:00 | 2023-10-29T16:41:59 |
NONE
| null |
### Feature request
Module: langchain.chains.conversational_retrieval.base.ConversationalRetrievalChain
`qa = ConversationalRetrievalChain(
retriever=self.vector_store.as_retriever(), # type: ignore
combine_docs_chain=self.doc_chain,
question_generator=LLMChain(
llm=self.answering_llm, prompt=CONDENSE_QUESTION_PROMPT
),
verbose=False,
)`
`model_response = qa(
{
"question": user_message,
"chat_history": formatted_chat_history,
"custom_personality": self.prompt_content,
}
)`
I would like that the model_response (the result from called the ConversationalRetrievalChain) returns the document ids in which the answer is based
### Motivation
My motivation is to be able to document which documents is the model basing its responses to further analyse and use this input for user experience improvement and transparency.
One possibility would be to use the _get_docs method under ConversationalRetrievalChain, but this would imply calling twice the model
### Your contribution
As of now the model_response returns:
`{'question': 'Who won the Olympics in 92?', 'chat_history': [()], 'custom_personality': 'xxxxxx
', 'answer': 'The US won the Olympics'}`
My proposal would be:
`{'question': 'Who won the Olympics in 92?', 'chat_history': [()], 'custom_personality': 'xxxxxx
', 'answer': 'The US won the Olympics', 'documents_source': [Document(), Document()...]}`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12479/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/12478
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12478/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12478/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12478/events
|
https://github.com/langchain-ai/langchain/pull/12478
| 1,966,543,025 |
PR_kwDOIPDwls5eBte1
| 12,478 |
sagemaker streaming fix for _call and _acall
|
{
"login": "lyoh001",
"id": 45280343,
"node_id": "MDQ6VXNlcjQ1MjgwMzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/45280343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lyoh001",
"html_url": "https://github.com/lyoh001",
"followers_url": "https://api.github.com/users/lyoh001/followers",
"following_url": "https://api.github.com/users/lyoh001/following{/other_user}",
"gists_url": "https://api.github.com/users/lyoh001/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lyoh001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lyoh001/subscriptions",
"organizations_url": "https://api.github.com/users/lyoh001/orgs",
"repos_url": "https://api.github.com/users/lyoh001/repos",
"events_url": "https://api.github.com/users/lyoh001/events{/privacy}",
"received_events_url": "https://api.github.com/users/lyoh001/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": 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-10-28T10:46:42 | 2023-10-30T23:16:44 | null |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** sagemaker streaming fix for _call and _acall,
- **Issue:** the issue # it fixes sagemaker streaming fix for _call and _acall,
- **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/12478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12478/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12478",
"html_url": "https://github.com/langchain-ai/langchain/pull/12478",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12478.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12478.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12477
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12477/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12477/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12477/events
|
https://github.com/langchain-ai/langchain/pull/12477
| 1,966,539,154 |
PR_kwDOIPDwls5eBstp
| 12,477 |
Bedrock async methods
|
{
"login": "DLOVRIC2",
"id": 66421606,
"node_id": "MDQ6VXNlcjY2NDIxNjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/66421606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DLOVRIC2",
"html_url": "https://github.com/DLOVRIC2",
"followers_url": "https://api.github.com/users/DLOVRIC2/followers",
"following_url": "https://api.github.com/users/DLOVRIC2/following{/other_user}",
"gists_url": "https://api.github.com/users/DLOVRIC2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DLOVRIC2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DLOVRIC2/subscriptions",
"organizations_url": "https://api.github.com/users/DLOVRIC2/orgs",
"repos_url": "https://api.github.com/users/DLOVRIC2/repos",
"events_url": "https://api.github.com/users/DLOVRIC2/events{/privacy}",
"received_events_url": "https://api.github.com/users/DLOVRIC2/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 18 | 2023-10-28T10:32:59 | 2024-01-09T23:44:09 | null |
NONE
| null |
Description: Added support for asynchronous streaming in the Bedrock class and corresponding tests.
Primarily:
async def aprepare_output_stream
async def _aprepare_input_and_invoke_stream
async def _astream
async def _acall
I've ensured that the code adheres to the project's linting and formatting standards by running make format, make lint, and make test.
Issue: #12054, #11589
Dependencies: None
Tag maintainer: @baskaryan
Twitter handle: @dominic_lovric
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12477/reactions",
"total_count": 8,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 2,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12477/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12477",
"html_url": "https://github.com/langchain-ai/langchain/pull/12477",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12477.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12477.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12475
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12475/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12475/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12475/events
|
https://github.com/langchain-ai/langchain/pull/12475
| 1,966,458,065 |
PR_kwDOIPDwls5eBcm_
| 12,475 |
SecretStr for fireworks api
|
{
"login": "nepalprabin",
"id": 43682497,
"node_id": "MDQ6VXNlcjQzNjgyNDk3",
"avatar_url": "https://avatars.githubusercontent.com/u/43682497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nepalprabin",
"html_url": "https://github.com/nepalprabin",
"followers_url": "https://api.github.com/users/nepalprabin/followers",
"following_url": "https://api.github.com/users/nepalprabin/following{/other_user}",
"gists_url": "https://api.github.com/users/nepalprabin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nepalprabin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nepalprabin/subscriptions",
"organizations_url": "https://api.github.com/users/nepalprabin/orgs",
"repos_url": "https://api.github.com/users/nepalprabin/repos",
"events_url": "https://api.github.com/users/nepalprabin/events{/privacy}",
"received_events_url": "https://api.github.com/users/nepalprabin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-28T06:16:28 | 2023-10-31T01:17:53 | 2023-10-31T01:17:53 |
CONTRIBUTOR
| null |
- **Description:** This pull request removes secrets present in raw format,
- **Issue:** Fireworks api key was exposed when printing out the langchain object [#12165](https://github.com/langchain-ai/langchain/issues/12165)
- **Maintainer:** @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12475/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12475",
"html_url": "https://github.com/langchain-ai/langchain/pull/12475",
"diff_url": "https://github.com/langchain-ai/langchain/pull/12475.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/12475.patch",
"merged_at": "2023-10-31T01:17:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12474
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/12474/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/12474/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/12474/events
|
https://github.com/langchain-ai/langchain/issues/12474
| 1,966,435,894 |
I_kwDOIPDwls51NW42
| 12,474 |
Support TensorRT-LLM?
|
{
"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": 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 | 3 | 2023-10-28T05:04:42 | 2023-12-22T02:32:53 | null |
NONE
| null |
### Feature request
Any plan to support nvidia's latest TensorRT-LLM, maybe via triton-inference-server backend?
### Motivation
New integration
### Your contribution
Test
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/12474/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/12474/timeline
| null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.