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/8600
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8600/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8600/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8600/events
|
https://github.com/langchain-ai/langchain/pull/8600
| 1,832,098,185 |
PR_kwDOIPDwls5W8-25
| 8,600 |
[OpenSearch] : Fix AOSS Initialization
|
{
"login": "naveentatikonda",
"id": 89161683,
"node_id": "MDQ6VXNlcjg5MTYxNjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/89161683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naveentatikonda",
"html_url": "https://github.com/naveentatikonda",
"followers_url": "https://api.github.com/users/naveentatikonda/followers",
"following_url": "https://api.github.com/users/naveentatikonda/following{/other_user}",
"gists_url": "https://api.github.com/users/naveentatikonda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/naveentatikonda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naveentatikonda/subscriptions",
"organizations_url": "https://api.github.com/users/naveentatikonda/orgs",
"repos_url": "https://api.github.com/users/naveentatikonda/repos",
"events_url": "https://api.github.com/users/naveentatikonda/events{/privacy}",
"received_events_url": "https://api.github.com/users/naveentatikonda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-01T22:08:33 | 2023-08-01T22:33:52 | 2023-08-01T22:33:51 |
CONTRIBUTOR
| null |
### Description
This PR fixes the AOSS Initialization in Opensearch.
### Maintainers
@rlancemartin, @eyurtsev, @navneet1v
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8600/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8600",
"html_url": "https://github.com/langchain-ai/langchain/pull/8600",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8600.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8600.patch",
"merged_at": "2023-08-01T22:33:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8599
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8599/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8599/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8599/events
|
https://github.com/langchain-ai/langchain/pull/8599
| 1,832,094,938 |
PR_kwDOIPDwls5W8-L2
| 8,599 |
LlamaCpp, add n_gqa flag to support Llama2
|
{
"login": "zacps",
"id": 9827696,
"node_id": "MDQ6VXNlcjk4Mjc2OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9827696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zacps",
"html_url": "https://github.com/zacps",
"followers_url": "https://api.github.com/users/zacps/followers",
"following_url": "https://api.github.com/users/zacps/following{/other_user}",
"gists_url": "https://api.github.com/users/zacps/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zacps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zacps/subscriptions",
"organizations_url": "https://api.github.com/users/zacps/orgs",
"repos_url": "https://api.github.com/users/zacps/repos",
"events_url": "https://api.github.com/users/zacps/events{/privacy}",
"received_events_url": "https://api.github.com/users/zacps/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-01T22:04:57 | 2023-08-04T14:05:52 | 2023-08-04T14:05:52 |
NONE
| null |
To load and run llama 2 70b models `n_gqa` must be set to 8. For other models it can be unset (and defaults to 1). Tested with both llama 2 70b (set) and llama 2 13b (unset) and both work.
Maintainer guess @hwchase17
Fixes https://github.com/langchain-ai/langchain/issues/8486
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8599/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/8599/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8599",
"html_url": "https://github.com/langchain-ai/langchain/pull/8599",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8599.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8599.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8598
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8598/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8598/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8598/events
|
https://github.com/langchain-ai/langchain/pull/8598
| 1,832,068,716 |
PR_kwDOIPDwls5W84iW
| 8,598 |
Fixed source key name for docugami loader
|
{
"login": "tjaffri",
"id": 749277,
"node_id": "MDQ6VXNlcjc0OTI3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/749277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tjaffri",
"html_url": "https://github.com/tjaffri",
"followers_url": "https://api.github.com/users/tjaffri/followers",
"following_url": "https://api.github.com/users/tjaffri/following{/other_user}",
"gists_url": "https://api.github.com/users/tjaffri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tjaffri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tjaffri/subscriptions",
"organizations_url": "https://api.github.com/users/tjaffri/orgs",
"repos_url": "https://api.github.com/users/tjaffri/repos",
"events_url": "https://api.github.com/users/tjaffri/events{/privacy}",
"received_events_url": "https://api.github.com/users/tjaffri/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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 | 5 | 2023-08-01T21:38:15 | 2023-09-17T18:54:21 | 2023-08-23T18:24:55 |
CONTRIBUTOR
| null |
The Docugami loader was not returning the source metadata key. This was triggering this exception when used with retrievers, per https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/schema/prompt_template.py#L193C1-L195C41
The fix is simple and just updates the metadata key name for the document each chunk is sourced from, from "name" to "source" as expected.
I tested by running the python notebook that has an end to end scenario in it.
Tagging DataLoader maintainers @rlancemartin @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8598/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8598",
"html_url": "https://github.com/langchain-ai/langchain/pull/8598",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8598.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8598.patch",
"merged_at": "2023-08-23T18:24:55"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8597
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8597/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8597/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8597/events
|
https://github.com/langchain-ai/langchain/pull/8597
| 1,832,042,184 |
PR_kwDOIPDwls5W8y41
| 8,597 |
Add memory to sql chain
|
{
"login": "keenborder786",
"id": 45242107,
"node_id": "MDQ6VXNlcjQ1MjQyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenborder786",
"html_url": "https://github.com/keenborder786",
"followers_url": "https://api.github.com/users/keenborder786/followers",
"following_url": "https://api.github.com/users/keenborder786/following{/other_user}",
"gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions",
"organizations_url": "https://api.github.com/users/keenborder786/orgs",
"repos_url": "https://api.github.com/users/keenborder786/repos",
"events_url": "https://api.github.com/users/keenborder786/events{/privacy}",
"received_events_url": "https://api.github.com/users/keenborder786/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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 |
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 9 | 2023-08-01T21:12:29 | 2023-12-16T20:28:41 | 2023-10-03T19:04:39 |
CONTRIBUTOR
| null |
continuation of PR #8550
@hwchase17 please see and merge. And also close the PR #8550.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8597/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8597",
"html_url": "https://github.com/langchain-ai/langchain/pull/8597",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8597.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8597.patch",
"merged_at": "2023-10-03T19:04:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8596
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8596/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8596/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8596/events
|
https://github.com/langchain-ai/langchain/pull/8596
| 1,832,006,554 |
PR_kwDOIPDwls5W8rDv
| 8,596 |
docs: update `unstructured` install instructions
|
{
"login": "MthwRobinson",
"id": 1635179,
"node_id": "MDQ6VXNlcjE2MzUxNzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1635179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MthwRobinson",
"html_url": "https://github.com/MthwRobinson",
"followers_url": "https://api.github.com/users/MthwRobinson/followers",
"following_url": "https://api.github.com/users/MthwRobinson/following{/other_user}",
"gists_url": "https://api.github.com/users/MthwRobinson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MthwRobinson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MthwRobinson/subscriptions",
"organizations_url": "https://api.github.com/users/MthwRobinson/orgs",
"repos_url": "https://api.github.com/users/MthwRobinson/repos",
"events_url": "https://api.github.com/users/MthwRobinson/events{/privacy}",
"received_events_url": "https://api.github.com/users/MthwRobinson/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-08-01T20:47:01 | 2023-08-01T21:17:50 | 2023-08-01T21:17:50 |
CONTRIBUTOR
| null |
### Summary
Updates the `unstructured` install instructions. For `unstructured>=0.9.0`, dependencies are broken out by document type and the base `unstructured` package includes fewer dependencies. `pip install "unstructured[local-inference]"` has been replace by `pip install "unstructured[all-docs]"`, though the `local-inference` extra is still supported for the time being.
### Reviewers
- @rlancemartin
- @eyurtsev
- @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8596/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8596",
"html_url": "https://github.com/langchain-ai/langchain/pull/8596",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8596.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8596.patch",
"merged_at": "2023-08-01T21:17:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8595
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8595/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8595/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8595/events
|
https://github.com/langchain-ai/langchain/pull/8595
| 1,831,958,889 |
PR_kwDOIPDwls5W8g50
| 8,595 |
mv
|
{
"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-08-01T20:09:34 | 2023-08-01T21:17:06 | 2023-08-01T21:17:05 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8595/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8595",
"html_url": "https://github.com/langchain-ai/langchain/pull/8595",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8595.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8595.patch",
"merged_at": "2023-08-01T21:17:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8594
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8594/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8594/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8594/events
|
https://github.com/langchain-ai/langchain/pull/8594
| 1,831,889,289 |
PR_kwDOIPDwls5W8R4I
| 8,594 |
Support for `Segment` analytics as a utility tool
|
{
"login": "yashpokar",
"id": 7402810,
"node_id": "MDQ6VXNlcjc0MDI4MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7402810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yashpokar",
"html_url": "https://github.com/yashpokar",
"followers_url": "https://api.github.com/users/yashpokar/followers",
"following_url": "https://api.github.com/users/yashpokar/following{/other_user}",
"gists_url": "https://api.github.com/users/yashpokar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yashpokar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yashpokar/subscriptions",
"organizations_url": "https://api.github.com/users/yashpokar/orgs",
"repos_url": "https://api.github.com/users/yashpokar/repos",
"events_url": "https://api.github.com/users/yashpokar/events{/privacy}",
"received_events_url": "https://api.github.com/users/yashpokar/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 | 4 | 2023-08-01T19:25:32 | 2023-11-01T22:57:56 | 2023-11-01T22:57:56 |
NONE
| null |
Replace this comment with:
- Description: The changes will introduce a tool `Segment` for LLM based app's analytics.
- Dependencies: `segment-analytics-python`
- Tag maintainer: @hinthornw
- Twitter handle: @yashpokar
The PR is passing linting and testing before submitting. Ran `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
- [x] a test for the integration, preferably unit tests that do not rely on network access,
- [x] an example notebook showing its use.
<!--
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8594/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8594",
"html_url": "https://github.com/langchain-ai/langchain/pull/8594",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8594.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8594.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8593
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8593/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8593/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8593/events
|
https://github.com/langchain-ai/langchain/issues/8593
| 1,831,864,866 |
I_kwDOIPDwls5tMAoi
| 8,593 |
InvalidRequestError: Unrecognized request arguments supplied: function_call, functions
|
{
"login": "bhishanpdl",
"id": 13811914,
"node_id": "MDQ6VXNlcjEzODExOTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/13811914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhishanpdl",
"html_url": "https://github.com/bhishanpdl",
"followers_url": "https://api.github.com/users/bhishanpdl/followers",
"following_url": "https://api.github.com/users/bhishanpdl/following{/other_user}",
"gists_url": "https://api.github.com/users/bhishanpdl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bhishanpdl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bhishanpdl/subscriptions",
"organizations_url": "https://api.github.com/users/bhishanpdl/orgs",
"repos_url": "https://api.github.com/users/bhishanpdl/repos",
"events_url": "https://api.github.com/users/bhishanpdl/events{/privacy}",
"received_events_url": "https://api.github.com/users/bhishanpdl/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 18 | 2023-08-01T19:06:48 | 2023-11-20T17:29:31 | null |
NONE
| null |
### Issue with current documentation:
I am following the instruction from this doc:
DOC: Structure answers with OpenAI functions
-https://python.langchain.com/docs/use_cases/question_answering/integrations/openai_functions_retrieval_qa
But this gives some error.
# Code
```python
from langchain.chains import RetrievalQA
from langchain.document_loaders import TextLoader
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.chat_models import AzureChatOpenAI
from langchain.chat_models import ChatOpenAI
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
from langchain.prompts import PromptTemplate
from langchain.chains import create_qa_with_sources_chain
path_txt = r"C:\Users\a126291\OneDrive - AmerisourceBergen(ABC)\data\langchain\state_of_the_union.txt"
def get_config_dict():
import os
import yaml
with open(os.path.expanduser('~/.config/config.yaml')) as fh:
config = yaml.safe_load(fh)
# openai
keys = ["OPENAI_API_KEY","OPENAI_API_TYPE","OPENAI_API_BASE","OPENAI_API_VERSION"]
for key in keys:
os.environ[key] = config.get(key)
return config
config = get_config_dict()
#========= qa chain
loader = TextLoader(path_txt, encoding="utf-8")
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(documents)
for i, text in enumerate(texts):
text.metadata["source"] = f"{i}-pl"
embeddings = OpenAIEmbeddings(model="text-embedding-ada-002", chunk_size=1)
docsearch = Chroma.from_documents(texts, embeddings)
# vectorstore = Chroma.from_documents(texts, embeddings)
# retriever = vectorstore.as_retriever()
llm = AzureChatOpenAI(**config['kw_azure_llm'],temperature=0.4)
#------- query
qa_chain = create_qa_with_sources_chain(llm)
doc_prompt = PromptTemplate(
template="Content: {page_content}\nSource: {source}",
input_variables=["page_content", "source"],
)
final_qa_chain = StuffDocumentsChain(
llm_chain=qa_chain,
document_variable_name="context",
document_prompt=doc_prompt,
)
retrieval_qa = RetrievalQA(
retriever=docsearch.as_retriever(), combine_documents_chain=final_qa_chain
)
query = "What did the president say about russia"
retrieval_qa.run(query)
```
# Error: InvalidRequestError: Unrecognized request arguments supplied: function_call, functions
```bash
---------------------------------------------------------------------------
InvalidRequestError Traceback (most recent call last)
Cell In[36], line 69
64 retrieval_qa = RetrievalQA(
65 retriever=docsearch.as_retriever(), combine_documents_chain=final_qa_chain
66 )
68 query = "What did the president say about russia"
---> 69 retrieval_qa.run(query)
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:290, in Chain.run(self, callbacks, tags, *args, **kwargs)
288 if len(args) != 1:
289 raise ValueError("`run` supports only one positional argument.")
--> 290 return self(args[0], callbacks=callbacks, tags=tags)[_output_key]
292 if kwargs and not args:
293 return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:166, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
--> 166 raise e
167 run_manager.on_chain_end(outputs)
168 final_outputs: Dict[str, Any] = self.prep_outputs(
169 inputs, outputs, return_only_outputs
170 )
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:160, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
154 run_manager = callback_manager.on_chain_start(
155 dumpd(self),
156 inputs,
157 )
158 try:
159 outputs = (
--> 160 self._call(inputs, run_manager=run_manager)
161 if new_arg_supported
162 else self._call(inputs)
163 )
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
File ~\venv\py311openai\Lib\site-packages\langchain\chains\retrieval_qa\base.py:120, in BaseRetrievalQA._call(self, inputs, run_manager)
117 question = inputs[self.input_key]
119 docs = self._get_docs(question)
--> 120 answer = self.combine_documents_chain.run(
121 input_documents=docs, question=question, callbacks=_run_manager.get_child()
122 )
124 if self.return_source_documents:
125 return {self.output_key: answer, "source_documents": docs}
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:293, in Chain.run(self, callbacks, tags, *args, **kwargs)
290 return self(args[0], callbacks=callbacks, tags=tags)[_output_key]
292 if kwargs and not args:
--> 293 return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
295 if not kwargs and not args:
296 raise ValueError(
297 "`run` supported with either positional arguments or keyword arguments,"
298 " but none were provided."
299 )
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:166, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
--> 166 raise e
167 run_manager.on_chain_end(outputs)
168 final_outputs: Dict[str, Any] = self.prep_outputs(
169 inputs, outputs, return_only_outputs
170 )
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:160, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
154 run_manager = callback_manager.on_chain_start(
155 dumpd(self),
156 inputs,
157 )
158 try:
159 outputs = (
--> 160 self._call(inputs, run_manager=run_manager)
161 if new_arg_supported
162 else self._call(inputs)
163 )
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
File ~\venv\py311openai\Lib\site-packages\langchain\chains\combine_documents\base.py:84, in BaseCombineDocumentsChain._call(self, inputs, run_manager)
82 # Other keys are assumed to be needed for LLM prediction
83 other_keys = {k: v for k, v in inputs.items() if k != self.input_key}
---> 84 output, extra_return_dict = self.combine_docs(
85 docs, callbacks=_run_manager.get_child(), **other_keys
86 )
87 extra_return_dict[self.output_key] = output
88 return extra_return_dict
File ~\venv\py311openai\Lib\site-packages\langchain\chains\combine_documents\stuff.py:87, in StuffDocumentsChain.combine_docs(self, docs, callbacks, **kwargs)
85 inputs = self._get_inputs(docs, **kwargs)
86 # Call predict on the LLM.
---> 87 return self.llm_chain.predict(callbacks=callbacks, **inputs), {}
File ~\venv\py311openai\Lib\site-packages\langchain\chains\llm.py:252, in LLMChain.predict(self, callbacks, **kwargs)
237 def predict(self, callbacks: Callbacks = None, **kwargs: Any) -> str:
238 """Format prompt with kwargs and pass to LLM.
239
240 Args:
(...)
250 completion = llm.predict(adjective="funny")
251 """
--> 252 return self(kwargs, callbacks=callbacks)[self.output_key]
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:166, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
--> 166 raise e
167 run_manager.on_chain_end(outputs)
168 final_outputs: Dict[str, Any] = self.prep_outputs(
169 inputs, outputs, return_only_outputs
170 )
File ~\venv\py311openai\Lib\site-packages\langchain\chains\base.py:160, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, include_run_info)
154 run_manager = callback_manager.on_chain_start(
155 dumpd(self),
156 inputs,
157 )
158 try:
159 outputs = (
--> 160 self._call(inputs, run_manager=run_manager)
161 if new_arg_supported
162 else self._call(inputs)
163 )
164 except (KeyboardInterrupt, Exception) as e:
165 run_manager.on_chain_error(e)
File ~\venv\py311openai\Lib\site-packages\langchain\chains\llm.py:92, in LLMChain._call(self, inputs, run_manager)
87 def _call(
88 self,
89 inputs: Dict[str, Any],
90 run_manager: Optional[CallbackManagerForChainRun] = None,
91 ) -> Dict[str, str]:
---> 92 response = self.generate([inputs], run_manager=run_manager)
93 return self.create_outputs(response)[0]
File ~\venv\py311openai\Lib\site-packages\langchain\chains\llm.py:102, in LLMChain.generate(self, input_list, run_manager)
100 """Generate LLM result from inputs."""
101 prompts, stop = self.prep_prompts(input_list, run_manager=run_manager)
--> 102 return self.llm.generate_prompt(
103 prompts,
104 stop,
105 callbacks=run_manager.get_child() if run_manager else None,
106 **self.llm_kwargs,
107 )
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\base.py:167, in BaseChatModel.generate_prompt(self, prompts, stop, callbacks, **kwargs)
159 def generate_prompt(
160 self,
161 prompts: List[PromptValue],
(...)
164 **kwargs: Any,
165 ) -> LLMResult:
166 prompt_messages = [p.to_messages() for p in prompts]
--> 167 return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs)
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\base.py:102, in BaseChatModel.generate(self, messages, stop, callbacks, tags, **kwargs)
100 except (KeyboardInterrupt, Exception) as e:
101 run_manager.on_llm_error(e)
--> 102 raise e
103 llm_output = self._combine_llm_outputs([res.llm_output for res in results])
104 generations = [res.generations for res in results]
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\base.py:94, in BaseChatModel.generate(self, messages, stop, callbacks, tags, **kwargs)
90 new_arg_supported = inspect.signature(self._generate).parameters.get(
91 "run_manager"
92 )
93 try:
---> 94 results = [
95 self._generate(m, stop=stop, run_manager=run_manager, **kwargs)
96 if new_arg_supported
97 else self._generate(m, stop=stop)
98 for m in messages
99 ]
100 except (KeyboardInterrupt, Exception) as e:
101 run_manager.on_llm_error(e)
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\base.py:95, in <listcomp>(.0)
90 new_arg_supported = inspect.signature(self._generate).parameters.get(
91 "run_manager"
92 )
93 try:
94 results = [
---> 95 self._generate(m, stop=stop, run_manager=run_manager, **kwargs)
96 if new_arg_supported
97 else self._generate(m, stop=stop)
98 for m in messages
99 ]
100 except (KeyboardInterrupt, Exception) as e:
101 run_manager.on_llm_error(e)
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\openai.py:359, in ChatOpenAI._generate(self, messages, stop, run_manager, **kwargs)
351 message = _convert_dict_to_message(
352 {
353 "content": inner_completion,
(...)
356 }
357 )
358 return ChatResult(generations=[ChatGeneration(message=message)])
--> 359 response = self.completion_with_retry(messages=message_dicts, **params)
360 return self._create_chat_result(response)
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\openai.py:307, in ChatOpenAI.completion_with_retry(self, **kwargs)
303 @retry_decorator
304 def _completion_with_retry(**kwargs: Any) -> Any:
305 return self.client.create(**kwargs)
--> 307 return _completion_with_retry(**kwargs)
File ~\venv\py311openai\Lib\site-packages\tenacity\__init__.py:289, in BaseRetrying.wraps.<locals>.wrapped_f(*args, **kw)
287 @functools.wraps(f)
288 def wrapped_f(*args: t.Any, **kw: t.Any) -> t.Any:
--> 289 return self(f, *args, **kw)
File ~\venv\py311openai\Lib\site-packages\tenacity\__init__.py:379, in Retrying.__call__(self, fn, *args, **kwargs)
377 retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs)
378 while True:
--> 379 do = self.iter(retry_state=retry_state)
380 if isinstance(do, DoAttempt):
381 try:
File ~\venv\py311openai\Lib\site-packages\tenacity\__init__.py:314, in BaseRetrying.iter(self, retry_state)
312 is_explicit_retry = fut.failed and isinstance(fut.exception(), TryAgain)
313 if not (is_explicit_retry or self.retry(retry_state)):
--> 314 return fut.result()
316 if self.after is not None:
317 self.after(retry_state)
File ~\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py:449, in Future.result(self, timeout)
447 raise CancelledError()
448 elif self._state == FINISHED:
--> 449 return self.__get_result()
451 self._condition.wait(timeout)
453 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
File ~\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py:401, in Future.__get_result(self)
399 if self._exception:
400 try:
--> 401 raise self._exception
402 finally:
403 # Break a reference cycle with the exception in self._exception
404 self = None
File ~\venv\py311openai\Lib\site-packages\tenacity\__init__.py:382, in Retrying.__call__(self, fn, *args, **kwargs)
380 if isinstance(do, DoAttempt):
381 try:
--> 382 result = fn(*args, **kwargs)
383 except BaseException: # noqa: B902
384 retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type]
File ~\venv\py311openai\Lib\site-packages\langchain\chat_models\openai.py:305, in ChatOpenAI.completion_with_retry.<locals>._completion_with_retry(**kwargs)
303 @retry_decorator
304 def _completion_with_retry(**kwargs: Any) -> Any:
--> 305 return self.client.create(**kwargs)
File ~\venv\py311openai\Lib\site-packages\openai\api_resources\chat_completion.py:25, in ChatCompletion.create(cls, *args, **kwargs)
23 while True:
24 try:
---> 25 return super().create(*args, **kwargs)
26 except TryAgain as e:
27 if timeout is not None and time.time() > start + timeout:
File ~\venv\py311openai\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py:153, in EngineAPIResource.create(cls, api_key, api_base, api_type, request_id, api_version, organization, **params)
127 @classmethod
128 def create(
129 cls,
(...)
136 **params,
137 ):
138 (
139 deployment_id,
140 engine,
(...)
150 api_key, api_base, api_type, api_version, organization, **params
151 )
--> 153 response, _, api_key = requestor.request(
154 "post",
155 url,
156 params=params,
157 headers=headers,
158 stream=stream,
159 request_id=request_id,
160 request_timeout=request_timeout,
161 )
163 if stream:
164 # must be an iterator
165 assert not isinstance(response, OpenAIResponse)
File ~\venv\py311openai\Lib\site-packages\openai\api_requestor.py:298, in APIRequestor.request(self, method, url, params, headers, files, stream, request_id, request_timeout)
277 def request(
278 self,
279 method,
(...)
286 request_timeout: Optional[Union[float, Tuple[float, float]]] = None,
287 ) -> Tuple[Union[OpenAIResponse, Iterator[OpenAIResponse]], bool, str]:
288 result = self.request_raw(
289 method.lower(),
290 url,
(...)
296 request_timeout=request_timeout,
297 )
--> 298 resp, got_stream = self._interpret_response(result, stream)
299 return resp, got_stream, self.api_key
File ~\venv\py311openai\Lib\site-packages\openai\api_requestor.py:700, in APIRequestor._interpret_response(self, result, stream)
692 return (
693 self._interpret_response_line(
694 line, result.status_code, result.headers, stream=True
695 )
696 for line in parse_stream(result.iter_lines())
697 ), True
698 else:
699 return (
--> 700 self._interpret_response_line(
701 result.content.decode("utf-8"),
702 result.status_code,
703 result.headers,
704 stream=False,
705 ),
706 False,
707 )
File ~\venv\py311openai\Lib\site-packages\openai\api_requestor.py:763, in APIRequestor._interpret_response_line(self, rbody, rcode, rheaders, stream)
761 stream_error = stream and "error" in resp.data
762 if stream_error or not 200 <= rcode < 300:
--> 763 raise self.handle_error_response(
764 rbody, rcode, resp.data, rheaders, stream_error=stream_error
765 )
766 return resp
InvalidRequestError: Unrecognized request arguments supplied: function_call, functions
```
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8593/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/8593/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8591
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8591/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8591/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8591/events
|
https://github.com/langchain-ai/langchain/pull/8591
| 1,831,836,049 |
PR_kwDOIPDwls5W8GpJ
| 8,591 |
updated to use new llm_util query
|
{
"login": "brettdbrewer",
"id": 8039589,
"node_id": "MDQ6VXNlcjgwMzk1ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8039589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brettdbrewer",
"html_url": "https://github.com/brettdbrewer",
"followers_url": "https://api.github.com/users/brettdbrewer/followers",
"following_url": "https://api.github.com/users/brettdbrewer/following{/other_user}",
"gists_url": "https://api.github.com/users/brettdbrewer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brettdbrewer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brettdbrewer/subscriptions",
"organizations_url": "https://api.github.com/users/brettdbrewer/orgs",
"repos_url": "https://api.github.com/users/brettdbrewer/repos",
"events_url": "https://api.github.com/users/brettdbrewer/events{/privacy}",
"received_events_url": "https://api.github.com/users/brettdbrewer/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-01T18:47:05 | 2023-08-01T21:16:27 | 2023-08-01T21:16:15 |
CONTRIBUTOR
| null |
- Description: added memgraph_graph.py which defines the MemgraphGraph class, subclassing off the existing Neo4jGraph class. This lets you query the Memgraph graph database using natural language. It leverages the Neo4j drivers and the bolt protocol.
- Dependencies: since it is a subclass off of Neo4jGraph, it is dependent on it and the GraphCypherQA Chain implementations. It is dependent on the Neo4j drivers being present. It is dependent on having a running Memgraph instance to connect to.
- Tag maintainer: @baskaryan
- Twitter handle: @villageideate
- example usage can be seen in this repo https://github.com/brettdbrewer/MemgraphGraph/
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8591/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8591",
"html_url": "https://github.com/langchain-ai/langchain/pull/8591",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8591.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8591.patch",
"merged_at": "2023-08-01T21:16:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8590
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8590/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8590/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8590/events
|
https://github.com/langchain-ai/langchain/issues/8590
| 1,831,784,534 |
I_kwDOIPDwls5tLtBW
| 8,590 |
Missing some input keys: {'input'} when using Combined memory and ConversationalRetrievalChain
|
{
"login": "rameshboggula",
"id": 15350844,
"node_id": "MDQ6VXNlcjE1MzUwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/15350844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rameshboggula",
"html_url": "https://github.com/rameshboggula",
"followers_url": "https://api.github.com/users/rameshboggula/followers",
"following_url": "https://api.github.com/users/rameshboggula/following{/other_user}",
"gists_url": "https://api.github.com/users/rameshboggula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rameshboggula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rameshboggula/subscriptions",
"organizations_url": "https://api.github.com/users/rameshboggula/orgs",
"repos_url": "https://api.github.com/users/rameshboggula/repos",
"events_url": "https://api.github.com/users/rameshboggula/events{/privacy}",
"received_events_url": "https://api.github.com/users/rameshboggula/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"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-01T18:08:07 | 2023-11-08T16:07:09 | 2023-11-08T16:07:09 |
NONE
| null |
### Issue you'd like to raise.
Hello there,
I am currently attempting to add combined memory to ConversationalRetrievalChain (CRC). However, I am unsure if combined memory is compatible with CRC. I have made a few modifications, but unfortunately, I have encountered errors preventing it from running properly. I was hoping that someone could assist me in resolving this issue. Thank you.
```
from langchain.prompts import PromptTemplate
from langchain.chains import ConversationalRetrievalChain
from langchain.memory import ConversationBufferWindowMemory, CombinedMemory, ConversationSummaryMemory
chat_history = []
conv_memory = ConversationBufferWindowMemory(
memory_key="chat_history_lines",
input_key="input",
output_key='answer',
k=1
)
summary_memory = ConversationSummaryMemory(llm=turbo_llm, input_key="input", output_key='answer')
# Combined
memory = CombinedMemory(memories=[conv_memory, summary_memory])
_DEFAULT_TEMPLATE = """The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.
{context}
Summary of conversation:
{history}
Current conversation:
{chat_history_lines}
Human: {input}
AI:"""
PROMPT_= PromptTemplate(
input_variables=["history", "input", "context", "chat_history_lines"],
template=_DEFAULT_TEMPLATE
)
qa = ConversationalRetrievalChain.from_llm(
llm=turbo_llm,
chain_type="stuff",
memory=memory,
retriever=retriever,
return_source_documents=True,
return_generated_question=True,
combine_docs_chain_kwargs={'prompt': PROMPT_})
chat_history = []
query = "What did the president say about Ketanji Brown Jackson"
result = qa({"question": query, "chat_history": chat_history})`
```
Error:
`ValueError: Missing some input keys: {'input'}`
when I replace "input" with "question" in _DEFAULT_TEMPLATE and PROMPT_
then the error is :
`ValueError: One output key expected, got dict_keys(['answer', 'source_documents', 'generated_question'])
`
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8590/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8590/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8589
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8589/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8589/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8589/events
|
https://github.com/langchain-ai/langchain/pull/8589
| 1,831,751,582 |
PR_kwDOIPDwls5W702f
| 8,589 |
Implement a router for openai functions
|
{
"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": 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-08-01T17:43:33 | 2023-08-09T20:17:06 | 2023-08-09T20:17:05 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8589/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8589",
"html_url": "https://github.com/langchain-ai/langchain/pull/8589",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8589.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8589.patch",
"merged_at": "2023-08-09T20:17:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8588
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8588/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8588/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8588/events
|
https://github.com/langchain-ai/langchain/pull/8588
| 1,831,737,148 |
PR_kwDOIPDwls5W7xxX
| 8,588 |
Handling potential issue in file.py
|
{
"login": "aashishsaini75",
"id": 12483054,
"node_id": "MDQ6VXNlcjEyNDgzMDU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12483054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aashishsaini75",
"html_url": "https://github.com/aashishsaini75",
"followers_url": "https://api.github.com/users/aashishsaini75/followers",
"following_url": "https://api.github.com/users/aashishsaini75/following{/other_user}",
"gists_url": "https://api.github.com/users/aashishsaini75/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aashishsaini75/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aashishsaini75/subscriptions",
"organizations_url": "https://api.github.com/users/aashishsaini75/orgs",
"repos_url": "https://api.github.com/users/aashishsaini75/repos",
"events_url": "https://api.github.com/users/aashishsaini75/events{/privacy}",
"received_events_url": "https://api.github.com/users/aashishsaini75/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 |
{
"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-08-01T17:32:51 | 2023-08-10T04:31:24 | 2023-08-10T03:57:31 |
CONTRIBUTOR
| null |
Potential Resource Leak: The FileCallbackHandler class opens a file in its constructor but does not handle the case where the file opening fails. If there's an exception while opening the file, the object is not closed, which may lead to resource leaks. It's recommended to handle the file opening more gracefully using a try-except block or a context manager (with statement) to ensure the file is closed correctly, even if an exception occurs during the opening process.
@baskaryan , @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8588/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8588",
"html_url": "https://github.com/langchain-ai/langchain/pull/8588",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8588.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8588.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8587
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8587/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8587/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8587/events
|
https://github.com/langchain-ai/langchain/pull/8587
| 1,831,716,675 |
PR_kwDOIPDwls5W7tal
| 8,587 |
Callback handler for Amazon SageMaker Experiments
|
{
"login": "tesfagabir",
"id": 5522060,
"node_id": "MDQ6VXNlcjU1MjIwNjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5522060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tesfagabir",
"html_url": "https://github.com/tesfagabir",
"followers_url": "https://api.github.com/users/tesfagabir/followers",
"following_url": "https://api.github.com/users/tesfagabir/following{/other_user}",
"gists_url": "https://api.github.com/users/tesfagabir/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tesfagabir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tesfagabir/subscriptions",
"organizations_url": "https://api.github.com/users/tesfagabir/orgs",
"repos_url": "https://api.github.com/users/tesfagabir/repos",
"events_url": "https://api.github.com/users/tesfagabir/events{/privacy}",
"received_events_url": "https://api.github.com/users/tesfagabir/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-01T17:17:25 | 2023-08-01T21:56:48 | 2023-08-01T20:47:08 |
CONTRIBUTOR
| null |
## Description
This PR implements a callback handler for SageMaker Experiments which is similar to that of mlflow.
* When creating the callback handler, it takes the experiment's run object as an argument. All the callback outputs are then logged to the run object.
* The output of each callback action (e.g., `on_llm_start`) is saved to S3 bucket as json file.
* Optionally, you can also log additional information such as the LLM hyper-parameters to the same run object.
* Once the callback object is no more needed, you will need to call the `flush_tracker()` method. This makes sure that any intermediate files are deleted.
* A separate notebook example is provided to show how the callback is used.
Thank you [Mohamad Al Jazaery](https://github.com/mohjaz), [Shinan Zhang](https://github.com/sz640) for your contribution and review!
@3coins @agola11
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8587/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8587/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8587",
"html_url": "https://github.com/langchain-ai/langchain/pull/8587",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8587.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8587.patch",
"merged_at": "2023-08-01T20:47:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8586
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8586/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8586/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8586/events
|
https://github.com/langchain-ai/langchain/pull/8586
| 1,831,713,610 |
PR_kwDOIPDwls5W7sxo
| 8,586 |
Airbyte based loaders
|
{
"login": "flash1293",
"id": 1508364,
"node_id": "MDQ6VXNlcjE1MDgzNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1508364?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flash1293",
"html_url": "https://github.com/flash1293",
"followers_url": "https://api.github.com/users/flash1293/followers",
"following_url": "https://api.github.com/users/flash1293/following{/other_user}",
"gists_url": "https://api.github.com/users/flash1293/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flash1293/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flash1293/subscriptions",
"organizations_url": "https://api.github.com/users/flash1293/orgs",
"repos_url": "https://api.github.com/users/flash1293/repos",
"events_url": "https://api.github.com/users/flash1293/events{/privacy}",
"received_events_url": "https://api.github.com/users/flash1293/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 12 | 2023-08-01T17:15:12 | 2023-08-09T20:22:32 | 2023-08-08T21:49:25 |
CONTRIBUTOR
| null |
This PR adds 8 new loaders:
* `AirbyteCDKLoader` This reader can wrap and run all python-based Airbyte source connectors.
* Separate loaders for the most commonly used APIs:
* `AirbyteGongLoader`
* `AirbyteHubspotLoader`
* `AirbyteSalesforceLoader`
* `AirbyteShopifyLoader`
* `AirbyteStripeLoader`
* `AirbyteTypeformLoader`
* `AirbyteZendeskSupportLoader`
## Documentation and getting started
I added the basic shape of the config to the notebooks. This increases the maintenance effort a bit, but I think it's worth it to make sure people can get started quickly with these important connectors. This is also why I linked the spec and the documentation page in the readme as these two contain all the information to configure a source correctly (e.g. it won't suggest using oauth if that's avoidable even if the connector supports it).
## Document generation
The "documents" produced by these loaders won't have a text part (instead, all the record fields are put into the metadata). If a text is required by the use case, the caller needs to do custom transformation suitable for their use case.
## Incremental sync
All loaders support incremental syncs if the underlying streams support it. By storing the `last_state` from the reader instance away and passing it in when loading, it will only load updated records.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8586/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8586",
"html_url": "https://github.com/langchain-ai/langchain/pull/8586",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8586.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8586.patch",
"merged_at": "2023-08-08T21:49:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8584
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8584/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8584/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8584/events
|
https://github.com/langchain-ai/langchain/issues/8584
| 1,831,458,479 |
I_kwDOIPDwls5tKdav
| 8,584 |
GPTCache implementation isnt working with ChatOpenAI
|
{
"login": "kdcokenny",
"id": 99611484,
"node_id": "U_kgDOBe_zXA",
"avatar_url": "https://avatars.githubusercontent.com/u/99611484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kdcokenny",
"html_url": "https://github.com/kdcokenny",
"followers_url": "https://api.github.com/users/kdcokenny/followers",
"following_url": "https://api.github.com/users/kdcokenny/following{/other_user}",
"gists_url": "https://api.github.com/users/kdcokenny/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kdcokenny/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdcokenny/subscriptions",
"organizations_url": "https://api.github.com/users/kdcokenny/orgs",
"repos_url": "https://api.github.com/users/kdcokenny/repos",
"events_url": "https://api.github.com/users/kdcokenny/events{/privacy}",
"received_events_url": "https://api.github.com/users/kdcokenny/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-01T14:51:37 | 2023-12-04T16:06:03 | 2023-12-04T16:06:02 |
CONTRIBUTOR
| null |
### System Info
langchain = "^0.0.248"
### Who can help?
@hwchase17 @agola11
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
import os
import hashlib
import langchain
from gptcache import Cache # type: ignore
from gptcache.manager.factory import manager_factory # type: ignore
from gptcache.processor.pre import get_prompt # type: ignore
from langchain.cache import GPTCache
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
os.environ["OPENAI_API_KEY"] = "sk-..."
llm = ChatOpenAI(temperature=0) # type: ignore
def get_hashed_name(name):
return hashlib.sha256(name.encode()).hexdigest()
def init_gptcache(cache_obj: Cache, llm: str):
hashed_llm = get_hashed_name(llm)
cache_obj.init(
pre_embedding_func=get_prompt,
data_manager=manager_factory(manager="map", data_dir=f"map_cache_{hashed_llm}"),
)
langchain.llm_cache = GPTCache(init_gptcache)
# The first time, it is not yet in cache, so it should take longer
response = llm("Tell me a joke")
print(f"Response 1: {response}")
# The first time, it is not yet in cache, so it should take longer
response = llm("Tell me a joke")
print(f"Response 2: {response}")
```
### Expected behavior
Response 1:
Why did the chicken cross the road?
To get to the other side.
Response 2:
Why did the chicken cross the road?
To get to the other side.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8584/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8583
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8583/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8583/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8583/events
|
https://github.com/langchain-ai/langchain/pull/8583
| 1,831,441,067 |
PR_kwDOIPDwls5W6xoc
| 8,583 |
SQL block potential harmful commands
|
{
"login": "Uranium2",
"id": 6902440,
"node_id": "MDQ6VXNlcjY5MDI0NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6902440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Uranium2",
"html_url": "https://github.com/Uranium2",
"followers_url": "https://api.github.com/users/Uranium2/followers",
"following_url": "https://api.github.com/users/Uranium2/following{/other_user}",
"gists_url": "https://api.github.com/users/Uranium2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Uranium2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Uranium2/subscriptions",
"organizations_url": "https://api.github.com/users/Uranium2/orgs",
"repos_url": "https://api.github.com/users/Uranium2/repos",
"events_url": "https://api.github.com/users/Uranium2/events{/privacy}",
"received_events_url": "https://api.github.com/users/Uranium2/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 2 | 2023-08-01T14:42:23 | 2023-09-20T17:31:01 | null |
NONE
| null |
Description:
This PR aims to give a bit more control on the commands executed by the `SQLDatabase`. At the moment, if you ask "Drop the table X in database Y" with `SQLDatabaseChain`, it will generate code to drop the table that will be run by `SQLDatabase`. Today no checks are made on the commands in `SQLDatabase`, it's free real estate.
Ideally, rights on user must be set to perform or not this kind of action on the database. In real life, lot of people use full rights. To prevent this I added a feature that could, if provided a list of restricted actions, stop the execution of the SQL query.
It will raise a `PermissionError` when restricted keywords are in the command for `SQLDatabase`
Key Changes:
- Add a new argument to `SQLDatabase` class named `restricted_keywords`
- Add a new method to detect restricted keywords in the SQL command
- Raise `PermissionError` if keywords are found in the sql command
- Execute sql command like before if not keyworkds were found
- Add a test to check if the raise is working while adding one restricted keyword
`make format`, `make lint` and `make test` were tested locally
I think this could help for [CVE-2023-36189](https://github.com/advisories/GHSA-7q94-qpjr-xpgm) Where the developer could block any keywords that could be generated by `SQLDatabaseChain`. It can block any string, so he could also block the usage of wildcards, name of tables, databases. I think it can be powerfull, it gives control to the developer and protect the user doing unwanted actions or protect his database.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8583/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8583",
"html_url": "https://github.com/langchain-ai/langchain/pull/8583",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8583.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8583.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8582
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8582/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8582/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8582/events
|
https://github.com/langchain-ai/langchain/pull/8582
| 1,831,414,225 |
PR_kwDOIPDwls5W6rzq
| 8,582 |
fix RecursiveUrlLoader
|
{
"login": "rysloan4",
"id": 2359361,
"node_id": "MDQ6VXNlcjIzNTkzNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2359361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rysloan4",
"html_url": "https://github.com/rysloan4",
"followers_url": "https://api.github.com/users/rysloan4/followers",
"following_url": "https://api.github.com/users/rysloan4/following{/other_user}",
"gists_url": "https://api.github.com/users/rysloan4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rysloan4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rysloan4/subscriptions",
"organizations_url": "https://api.github.com/users/rysloan4/orgs",
"repos_url": "https://api.github.com/users/rysloan4/repos",
"events_url": "https://api.github.com/users/rysloan4/events{/privacy}",
"received_events_url": "https://api.github.com/users/rysloan4/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": "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
}
|
[
{
"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
}
] | null | 2 | 2023-08-01T14:28:44 | 2023-08-03T23:51:57 | 2023-08-03T23:51:57 |
CONTRIBUTOR
| null |
Description: the recursive url loader does not fully crawl for all urls under base url
Maintainer: @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8582/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8582",
"html_url": "https://github.com/langchain-ai/langchain/pull/8582",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8582.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8582.patch",
"merged_at": "2023-08-03T23:51:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8581
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8581/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8581/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8581/events
|
https://github.com/langchain-ai/langchain/issues/8581
| 1,831,347,798 |
I_kwDOIPDwls5tKCZW
| 8,581 |
Cannot create "n" responses
|
{
"login": "oxololuwi",
"id": 76955246,
"node_id": "MDQ6VXNlcjc2OTU1MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/76955246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oxololuwi",
"html_url": "https://github.com/oxololuwi",
"followers_url": "https://api.github.com/users/oxololuwi/followers",
"following_url": "https://api.github.com/users/oxololuwi/following{/other_user}",
"gists_url": "https://api.github.com/users/oxololuwi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/oxololuwi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oxololuwi/subscriptions",
"organizations_url": "https://api.github.com/users/oxololuwi/orgs",
"repos_url": "https://api.github.com/users/oxololuwi/repos",
"events_url": "https://api.github.com/users/oxololuwi/events{/privacy}",
"received_events_url": "https://api.github.com/users/oxololuwi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-01T13:55:11 | 2023-08-02T16:36:44 | 2023-08-02T16:36:44 |
NONE
| null |
### System Info
Verified in dockerimage python:3.9
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
how to reproduce?
1. docker run -it python:3.9 bash
2. pip install langchain
3. pip install openai
4. run script
```
from langchain.chat_models import ChatOpenAI
from langchain.prompts.chat import SystemMessage
chat_model = ChatOpenAI(n=3)
prompt = "What is the capital of France?"
message = SystemMessage(content=prompt)
responses = chat_model.predict_messages([message], n=3)
print(responses)
```
output:
content='The capital of France is Paris.' additional_kwargs={} example=False
### Expected behavior
Hello,
When running the script I expect to get 3 responses, because I set the parameter `n=3` during initialization of ChatOpenAI and in the call of predict_messages.
still the response is a single answer!
please let me know how to correctly use the parameter n or fix the current behavior!
best regards,
LW
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8581/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/8581/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8580
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8580/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8580/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8580/events
|
https://github.com/langchain-ai/langchain/issues/8580
| 1,831,301,181 |
I_kwDOIPDwls5tJ3A9
| 8,580 |
Need support for async memory, especially for ConversationSummaryMemory and ConversationSummaryBufferMemory
|
{
"login": "chrislrobert",
"id": 8631326,
"node_id": "MDQ6VXNlcjg2MzEzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8631326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrislrobert",
"html_url": "https://github.com/chrislrobert",
"followers_url": "https://api.github.com/users/chrislrobert/followers",
"following_url": "https://api.github.com/users/chrislrobert/following{/other_user}",
"gists_url": "https://api.github.com/users/chrislrobert/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chrislrobert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrislrobert/subscriptions",
"organizations_url": "https://api.github.com/users/chrislrobert/orgs",
"repos_url": "https://api.github.com/users/chrislrobert/repos",
"events_url": "https://api.github.com/users/chrislrobert/events{/privacy}",
"received_events_url": "https://api.github.com/users/chrislrobert/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 7 | 2023-08-01T13:32:50 | 2023-11-07T22:50:05 | 2023-11-07T22:49:54 |
NONE
| null |
### Feature request
`ConversationSummaryMemory` and `ConversationSummaryBufferMemory` can be used as memory within async conversational chains, but they themselves are fully blocking. In particular, `Chain.acall()` is async, but it calls `Chain.prep_outputs()`, which calls `self.memory.save_context()`. In the case of `ConversationSummaryBufferMemory`, `save_context()` calls `prune()`, which calls `SummarizerMixin.predict_new_summary()`, which creates an `LLMChain` and then calls `LLMChain.predict()`. We really need to be able to specify an async handler when we create the memory object, pass that through to the `LLMChain`, and ultimately `await LLMChain.apredict()`.
### Motivation
The blocking nature of the `LLMChain.predict()` calls means that otherwise-async chains end up blocking regularly. If you use an ASGI server like `uvicorn`, this means that lots of requests can end up waiting. You can wrap `uvicorn` in a WSGI server like `gunicorn` so that there are multiple processes available, but blocking one whole process every time the memory object needs to summarize can still block any websocket users connected to the blocked process. It's just not good.
### Your contribution
We're going to have to solve this problem for ourselves, and we'd be happy to try to contribute a solution back to the community. However, we'd be first-time contributors and we're not sure whether there are others already making similar improvements.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8580/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8580/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8579
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8579/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8579/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8579/events
|
https://github.com/langchain-ai/langchain/issues/8579
| 1,831,277,961 |
I_kwDOIPDwls5tJxWJ
| 8,579 |
Issue: Agent with memory and intermediate steps
|
{
"login": "lebg1",
"id": 87832954,
"node_id": "MDQ6VXNlcjg3ODMyOTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/87832954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lebg1",
"html_url": "https://github.com/lebg1",
"followers_url": "https://api.github.com/users/lebg1/followers",
"following_url": "https://api.github.com/users/lebg1/following{/other_user}",
"gists_url": "https://api.github.com/users/lebg1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lebg1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lebg1/subscriptions",
"organizations_url": "https://api.github.com/users/lebg1/orgs",
"repos_url": "https://api.github.com/users/lebg1/repos",
"events_url": "https://api.github.com/users/lebg1/events{/privacy}",
"received_events_url": "https://api.github.com/users/lebg1/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"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-01T13:22:18 | 2023-12-18T23:48:48 | 2023-12-18T23:48:47 |
NONE
| null |
### Issue you'd like to raise.
Hi everyone,
I'm having trouble working with the agent structure in Langchain.
I would like to have an agent that has memory and can return intermediate steps.
However It doesn't work, when I make an agent executor, the return_intermediate_steps=True makes it crash as the memory cannot read the output and when I use the agent directly, the return_intermediate_steps=True does nothing.
Do you know if there is a way to have an agent with memory and that can return intermediate steps at the same time ?
Thanks for your help
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8579/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8579/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8578
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8578/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8578/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8578/events
|
https://github.com/langchain-ai/langchain/pull/8578
| 1,831,190,255 |
PR_kwDOIPDwls5W57oB
| 8,578 |
langchain_touchmed
|
{
"login": "dubuqiangu",
"id": 65102625,
"node_id": "MDQ6VXNlcjY1MTAyNjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/65102625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dubuqiangu",
"html_url": "https://github.com/dubuqiangu",
"followers_url": "https://api.github.com/users/dubuqiangu/followers",
"following_url": "https://api.github.com/users/dubuqiangu/following{/other_user}",
"gists_url": "https://api.github.com/users/dubuqiangu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dubuqiangu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dubuqiangu/subscriptions",
"organizations_url": "https://api.github.com/users/dubuqiangu/orgs",
"repos_url": "https://api.github.com/users/dubuqiangu/repos",
"events_url": "https://api.github.com/users/dubuqiangu/events{/privacy}",
"received_events_url": "https://api.github.com/users/dubuqiangu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-01T12:36:52 | 2023-08-01T13:59:58 | 2023-08-01T13:52:44 |
NONE
| null |
langchain_touchmed,增加 prompt
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8578/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8578",
"html_url": "https://github.com/langchain-ai/langchain/pull/8578",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8578.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8578.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8577
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8577/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8577/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8577/events
|
https://github.com/langchain-ai/langchain/issues/8577
| 1,831,132,425 |
I_kwDOIPDwls5tJN0J
| 8,577 |
multiple bases have instance lay-out conflict on HumanMessageChunk class on langchain 0.0.249
|
{
"login": "viduz",
"id": 5743925,
"node_id": "MDQ6VXNlcjU3NDM5MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5743925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/viduz",
"html_url": "https://github.com/viduz",
"followers_url": "https://api.github.com/users/viduz/followers",
"following_url": "https://api.github.com/users/viduz/following{/other_user}",
"gists_url": "https://api.github.com/users/viduz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/viduz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/viduz/subscriptions",
"organizations_url": "https://api.github.com/users/viduz/orgs",
"repos_url": "https://api.github.com/users/viduz/repos",
"events_url": "https://api.github.com/users/viduz/events{/privacy}",
"received_events_url": "https://api.github.com/users/viduz/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"
}
] |
open
| false | null |
[] | null | 20 | 2023-08-01T12:08:08 | 2024-01-07T21:10:25 | null |
NONE
| null |
### System Info
### langchain Version **0.0.249**
### Python Version **3.8**
### Other notes
Using this on notebook in Azure Synapse Studio
### Error
```
When import happening getting bellow error message
TypeError Traceback (most recent call last)
/tmp/ipykernel_17180/722847199.py in <module>
----> 1 from langchain.vectorstores import Pinecone
2 from langchain.embeddings.openai import OpenAIEmbeddings
3
4 import datetime
5 from datetime import date, timedelta
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/__init__.py in <module>
4 from typing import Optional
5
----> 6 from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
7 from langchain.cache import BaseCache
8 from langchain.chains import (
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/agents/__init__.py in <module>
1 """Interface for agents."""
----> 2 from langchain.agents.agent import (
3 Agent,
4 AgentExecutor,
5 AgentOutputParser,
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/agents/agent.py in <module>
13 from pydantic import BaseModel, root_validator
14
---> 15 from langchain.agents.agent_iterator import AgentExecutorIterator
16 from langchain.agents.agent_types import AgentType
17 from langchain.agents.tools import InvalidTool
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/agents/agent_iterator.py in <module>
19 )
20
---> 21 from langchain.callbacks.manager import (
22 AsyncCallbackManager,
23 AsyncCallbackManagerForChainRun,
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/callbacks/__init__.py in <module>
1 """Callback handlers that allow listening to events in LangChain."""
2
----> 3 from langchain.callbacks.aim_callback import AimCallbackHandler
4 from langchain.callbacks.argilla_callback import ArgillaCallbackHandler
5 from langchain.callbacks.arize_callback import ArizeCallbackHandler
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/callbacks/aim_callback.py in <module>
3
4 from langchain.callbacks.base import BaseCallbackHandler
----> 5 from langchain.schema import AgentAction, AgentFinish, LLMResult
6
7
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/schema/__init__.py in <module>
1 from langchain.schema.agent import AgentAction, AgentFinish
2 from langchain.schema.document import BaseDocumentTransformer, Document
----> 3 from langchain.schema.memory import BaseChatMessageHistory, BaseMemory
4 from langchain.schema.messages import (
5 AIMessage,
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/schema/memory.py in <module>
5
6 from langchain.load.serializable import Serializable
----> 7 from langchain.schema.messages import AIMessage, BaseMessage, HumanMessage
8
9
~/cluster-env/clonedenv/lib/python3.8/site-packages/langchain/schema/messages.py in <module>
136
137
--> 138 class HumanMessageChunk(HumanMessage, BaseMessageChunk):
139 pass
140
~/cluster-env/clonedenv/lib/python3.8/site-packages/pydantic/main.cpython-38-x86_64-linux-gnu.so in pydantic.main.ModelMetaclass.__new__()
~/cluster-env/clonedenv/lib/python3.8/abc.py in __new__(mcls, name, bases, namespace, **kwargs)
83 """
84 def __new__(mcls, name, bases, namespace, **kwargs):
---> 85 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
86 _abc_init(cls)
87 return cls
TypeError: multiple bases have instance lay-out conflict
```
### Other installed packages in the system
Package Version
----------------------------- -------------------
absl-py 0.13.0
adal 1.2.7
adlfs 0.7.7
aiohttp 3.8.5
aiosignal 1.3.1
annotated-types 0.5.0
appdirs 1.4.4
applicationinsights 0.11.10
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
astor 0.8.1
astunparse 1.6.3
async-timeout 4.0.2
attrs 21.2.0
azure-common 1.1.27
azure-core 1.16.0
azure-datalake-store 0.0.51
azure-graphrbac 0.61.1
azure-identity 1.4.1
azure-mgmt-authorization 0.61.0
azure-mgmt-containerregistry 8.0.0
azure-mgmt-core 1.3.0
azure-mgmt-keyvault 2.2.0
azure-mgmt-resource 13.0.0
azure-mgmt-storage 11.2.0
azure-storage-blob 12.8.1
azure-synapse-ml-predict 1.0.0
azureml-core 1.34.0
azureml-dataprep 2.22.2
azureml-dataprep-native 38.0.0
azureml-dataprep-rslex 1.20.2
azureml-dataset-runtime 1.34.0
azureml-mlflow 1.34.0
azureml-opendatasets 1.34.0
azureml-synapse 0.0.1
azureml-telemetry 1.34.0
backcall 0.2.0
backports.functools-lru-cache 1.6.4
backports.tempfile 1.0
backports.weakref 1.0.post1
beautifulsoup4 4.9.3
bleach 5.0.1
blinker 1.4
bokeh 2.3.2
Brotli 1.0.9
brotlipy 0.7.0
cachetools 4.2.2
certifi 2021.5.30
cffi 1.14.5
chardet 4.0.0
charset-normalizer 3.2.0
click 8.0.1
cloudpickle 1.6.0
conda-package-handling 1.7.3
configparser 5.0.2
contextlib2 0.6.0.post1
cryptography 3.4.7
cycler 0.10.0
Cython 0.29.23
cytoolz 0.11.0
dash 1.20.0
dash-core-components 1.16.0
dash-cytoscape 0.2.0
dash-html-components 1.1.3
dash-renderer 1.9.1
dash-table 4.11.3
dask 2021.6.2
databricks-cli 0.12.1
dataclasses-json 0.5.14
debugpy 1.3.0
decorator 4.4.2
defusedxml 0.7.1
dill 0.3.4
distlib 0.3.6
distro 1.7.0
dnspython 2.4.1
docker 4.4.4
dotnetcore2 2.1.23
entrypoints 0.3
et-xmlfile 1.1.0
fastjsonschema 2.16.1
filelock 3.8.0
fire 0.4.0
Flask 2.0.1
Flask-Compress 0.0.0
flatbuffers 1.12
frozenlist 1.4.0
fsspec 2021.10.0
fsspec-wrapper 0.1.6
fusepy 3.0.1
future 0.18.2
gast 0.3.3
gensim 3.8.3
geographiclib 1.52
geopy 2.1.0
gevent 21.1.2
gitdb 4.0.7
GitPython 3.1.18
google-auth 1.32.1
google-auth-oauthlib 0.4.1
google-pasta 0.2.0
greenlet 1.1.0
grpcio 1.37.1
h5py 2.10.0
html5lib 1.1
hummingbird-ml 0.4.0
idna 2.10
imagecodecs 2021.3.31
imageio 2.9.0
importlib-metadata 4.6.1
importlib-resources 5.9.0
ipykernel 6.0.1
ipython 7.23.1
ipython-genutils 0.2.0
ipywidgets 7.6.3
isodate 0.6.0
itsdangerous 2.0.1
jdcal 1.4.1
jedi 0.18.0
jeepney 0.6.0
Jinja2 3.0.1
jmespath 0.10.0
joblib 1.0.1
jsonpickle 2.0.0
jsonschema 4.15.0
jupyter-client 6.1.12
jupyter-core 4.7.1
jupyterlab-pygments 0.2.2
jupyterlab-widgets 3.0.3
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
keras2onnx 1.6.5
kiwisolver 1.3.1
koalas 1.8.0
KqlmagicCustom 0.1.114.post8
langchain 0.0.249
langsmith 0.0.16
liac-arff 2.5.0
library-metadata-cooker 0.0.7
lightgbm 3.2.1
lime 0.2.0.1
llvmlite 0.36.0
locket 0.2.1
loguru 0.7.0
lxml 4.6.5
Markdown 3.3.4
MarkupSafe 2.0.1
marshmallow 3.20.1
matplotlib 3.4.2
matplotlib-inline 0.1.2
mistune 2.0.4
mleap 0.17.0
mlflow-skinny 1.18.0
msal 1.12.0
msal-extensions 0.2.2
msrest 0.6.21
msrestazure 0.6.4
multidict 5.1.0
mypy 0.780
mypy-extensions 0.4.3
nbclient 0.6.7
nbconvert 7.0.0
nbformat 5.4.0
ndg-httpsclient 0.5.1
nest-asyncio 1.5.5
networkx 2.5.1
nltk 3.6.2
notebook 6.4.12
notebookutils 3.1.2-20230518.1
numba 0.53.1
numexpr 2.8.4
numpy 1.24.4
oauthlib 3.1.1
olefile 0.46
onnx 1.9.0
onnxconverter-common 1.7.0
onnxmltools 1.7.0
onnxruntime 1.7.2
openai 0.27.8
openapi-schema-pydantic 1.2.4
openpyxl 3.0.7
opt-einsum 3.3.0
packaging 21.0
pandas 1.2.3
pandasql 0.7.3
pandocfilters 1.5.0
parso 0.8.2
partd 1.2.0
pathspec 0.8.1
patsy 0.5.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.2.0
pinecone-client 2.2.2
pip 23.2.1
pkgutil_resolve_name 1.3.10
platformdirs 2.5.2
plotly 4.14.3
pmdarima 1.8.2
pooch 1.4.0
portalocker 1.7.1
prettytable 2.4.0
prometheus-client 0.14.1
prompt-toolkit 3.0.19
protobuf 3.15.8
psutil 5.8.0
ptyprocess 0.7.0
py4j 0.10.9
pyarrow 3.0.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycairo 1.20.1
pycosat 0.6.3
pycparser 2.20
pydantic 1.8.2
pydantic_core 2.4.0
Pygments 2.9.0
PyGObject 3.40.1
PyJWT 2.1.0
pyodbc 4.0.30
pyOpenSSL 20.0.1
pyparsing 2.4.7
pyperclip 1.8.2
PyQt5 5.12.3
PyQt5_sip 4.19.18
PyQtChart 5.12
PyQtWebEngine 5.12.1
pyrsistent 0.18.1
PySocks 1.7.1
pyspark 3.1.2
python-dateutil 2.8.1
pytz 2021.1
pyu2f 0.1.5
PyWavelets 1.1.1
PyYAML 5.4.1
pyzmq 22.1.0
regex 2023.6.3
requests 2.31.0
requests-oauthlib 1.3.0
retrying 1.3.3
rsa 4.7.2
ruamel.yaml 0.17.4
ruamel.yaml.clib 0.2.6
ruamel-yaml-conda 0.15.100
SALib 1.3.11
scikit-image 0.18.1
scikit-learn 0.23.2
scipy 1.5.3
seaborn 0.11.1
SecretStorage 3.3.1
Send2Trash 1.8.0
setuptools 49.6.0.post20210108
shap 0.39.0
six 1.16.0
skl2onnx 1.8.0
sklearn-pandas 2.2.0
slicer 0.0.7
smart-open 5.1.0
smmap 3.0.5
soupsieve 2.2.1
SQLAlchemy 1.4.20
sqlanalyticsconnectorpy 1.0.1
statsmodels 0.12.2
synapseml-cognitive 0.10.2.dev1
synapseml-core 0.10.2.dev1
synapseml-deep-learning 0.10.2.dev1
synapseml-internal 0.0.0.dev1
synapseml-lightgbm 0.10.2.dev1
synapseml-opencv 0.10.2.dev1
synapseml-vw 0.10.2.dev1
tabulate 0.8.9
tenacity 8.2.2
tensorboard 2.4.1
tensorboard-plugin-wit 1.8.0
tensorflow 2.4.1
tensorflow-estimator 2.4.0
termcolor 1.1.0
terminado 0.15.0
textblob 0.15.3
threadpoolctl 2.1.0
tifffile 2021.4.8
tiktoken 0.4.0
tinycss2 1.1.1
toolz 0.11.1
torch 1.8.1
torchvision 0.9.1
tornado 6.1
tqdm 4.65.0
traitlets 5.0.5
typed-ast 1.4.3
typing_extensions 4.5.0
typing-inspect 0.8.0
urllib3 1.26.4
virtualenv 20.14.0
wcwidth 0.2.5
webencodings 0.5.1
websocket-client 1.1.0
Werkzeug 2.0.1
wheel 0.36.2
widgetsnbextension 3.5.2
wrapt 1.12.1
xgboost 1.4.0
XlsxWriter 3.0.3
yarl 1.6.3
zipp 3.5.0
zope.event 4.5.0
zope.interface 5.4.0
``
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [X] Async
### Reproduction
Go to Azure Synapse Studio
Open a Notebook
Select Pyspark(Python) as Language
Please note your node should run python 3.8
Then put bellow
### Installed bellow to the session.
```
!pip install --upgrade pip
!pip install tqdm
!pip install pinecone-client
!pip install typing-extensions==4.5.0
!pip install langchain
!pip install openai
!pip install tiktoken
```
### Here are my imports
```
from langchain.vectorstores import Pinecone
from langchain.embeddings.openai import OpenAIEmbeddings
import datetime
from datetime import date, timedelta
import time
import csv
import openai
import requests
import pandas as pd
from pyspark.sql import SparkSession
from pyspark.sql.functions import col, lit, current_timestamp
from pyspark.sql import functions as F
from pyspark.sql import Row
from pyspark.sql.utils import AnalysisException
from pyspark.sql.types import StructType, StructField, StringType, TimestampType, LongType
from pyspark.sql.window import Window
from pyspark.sql import types as T
import concurrent.futures
import pinecone
import tiktoken
```
Run the notebook.
### Expected behavior
Import should be happend without any issues.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8577/reactions",
"total_count": 9,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8577/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8574
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8574/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8574/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8574/events
|
https://github.com/langchain-ai/langchain/pull/8574
| 1,830,903,613 |
PR_kwDOIPDwls5W4-Ab
| 8,574 |
fix apparent spelling inconsistencies
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/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-08-01T09:59:08 | 2023-08-04T06:17:11 | 2023-08-01T16:09:10 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: fix apparent spelling inconsistencies in raising ImportError
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @MLOpsj
Please make sure you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8574/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8574",
"html_url": "https://github.com/langchain-ai/langchain/pull/8574",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8574.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8574.patch",
"merged_at": "2023-08-01T16:09:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8573
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8573/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8573/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8573/events
|
https://github.com/langchain-ai/langchain/pull/8573
| 1,830,773,921 |
PR_kwDOIPDwls5W4imO
| 8,573 |
Add Support for Loading Documents from Huawei OBS
|
{
"login": "mpb159753",
"id": 9007876,
"node_id": "MDQ6VXNlcjkwMDc4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9007876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpb159753",
"html_url": "https://github.com/mpb159753",
"followers_url": "https://api.github.com/users/mpb159753/followers",
"following_url": "https://api.github.com/users/mpb159753/following{/other_user}",
"gists_url": "https://api.github.com/users/mpb159753/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mpb159753/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpb159753/subscriptions",
"organizations_url": "https://api.github.com/users/mpb159753/orgs",
"repos_url": "https://api.github.com/users/mpb159753/repos",
"events_url": "https://api.github.com/users/mpb159753/events{/privacy}",
"received_events_url": "https://api.github.com/users/mpb159753/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-01T08:50:15 | 2023-08-01T16:30:39 | 2023-08-01T16:30:30 |
CONTRIBUTOR
| null |
Description:
This PR adds support for loading documents from Huawei OBS (Object Storage Service) in Langchain. OBS is a cloud-based object storage service provided by Huawei Cloud. With this enhancement, Langchain users can now easily access and load documents stored in Huawei OBS directly into the system.
Key Changes:
- Added a new document loader module specifically for Huawei OBS integration.
- Implemented the necessary logic to authenticate and connect to Huawei OBS using access credentials.
- Enabled the loading of individual documents from a specified bucket and object key in Huawei OBS.
- Provided the option to specify custom authentication information or obtain security tokens from Huawei Cloud ECS for easy access.
How to Test:
1. Ensure the required package "esdk-obs-python" is installed.
2. Configure the endpoint, access key, secret key, and bucket details for Huawei OBS in the Langchain settings.
3. Load documents from Huawei OBS using the updated document loader module.
4. Verify that documents are successfully retrieved and loaded into Langchain for further processing.
Please review this PR and let us know if any further improvements are needed. Your feedback is highly appreciated!
@rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8573/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8573",
"html_url": "https://github.com/langchain-ai/langchain/pull/8573",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8573.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8573.patch",
"merged_at": "2023-08-01T16:30:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8572
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8572/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8572/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8572/events
|
https://github.com/langchain-ai/langchain/issues/8572
| 1,830,771,603 |
I_kwDOIPDwls5tH1uT
| 8,572 |
Issue: Structure of this repo is confusing
|
{
"login": "r7l",
"id": 30982145,
"node_id": "MDQ6VXNlcjMwOTgyMTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/30982145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/r7l",
"html_url": "https://github.com/r7l",
"followers_url": "https://api.github.com/users/r7l/followers",
"following_url": "https://api.github.com/users/r7l/following{/other_user}",
"gists_url": "https://api.github.com/users/r7l/gists{/gist_id}",
"starred_url": "https://api.github.com/users/r7l/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r7l/subscriptions",
"organizations_url": "https://api.github.com/users/r7l/orgs",
"repos_url": "https://api.github.com/users/r7l/repos",
"events_url": "https://api.github.com/users/r7l/events{/privacy}",
"received_events_url": "https://api.github.com/users/r7l/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-08-01T08:48:57 | 2023-11-07T16:05:58 | 2023-11-07T16:05:57 |
NONE
| null |
### Issue you'd like to raise.
This repo was split up between the core package and some experimental package. While this is a good idea, it's kinda odd to have both packages in the same repo. Even further you're releasing versions for both of these packages within the same repo. So 5 days ago there was a 0.0.5 release while later on you had 0.0.249.
I've actually never seen such a structure before and it's messing up scripted automation to follow releases.
### Suggestion:
Create a new repo for `LangChain Experimental` and have those releases there.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8572/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8571
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8571/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8571/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8571/events
|
https://github.com/langchain-ai/langchain/pull/8571
| 1,830,709,083 |
PR_kwDOIPDwls5W4UvU
| 8,571 |
bump 249
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-01T08:12:07 | 2023-08-01T08:20:17 | 2023-08-01T08:20:16 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8571/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8571",
"html_url": "https://github.com/langchain-ai/langchain/pull/8571",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8571.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8571.patch",
"merged_at": "2023-08-01T08:20:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8570
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8570/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8570/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8570/events
|
https://github.com/langchain-ai/langchain/pull/8570
| 1,830,676,483 |
PR_kwDOIPDwls5W4Nsb
| 8,570 |
Update README.md
|
{
"login": "levalencia",
"id": 6962857,
"node_id": "MDQ6VXNlcjY5NjI4NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6962857?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/levalencia",
"html_url": "https://github.com/levalencia",
"followers_url": "https://api.github.com/users/levalencia/followers",
"following_url": "https://api.github.com/users/levalencia/following{/other_user}",
"gists_url": "https://api.github.com/users/levalencia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/levalencia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/levalencia/subscriptions",
"organizations_url": "https://api.github.com/users/levalencia/orgs",
"repos_url": "https://api.github.com/users/levalencia/repos",
"events_url": "https://api.github.com/users/levalencia/events{/privacy}",
"received_events_url": "https://api.github.com/users/levalencia/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-08-01T07:53:57 | 2023-11-27T20:17:09 | 2023-11-13T06:07:49 |
CONTRIBUTOR
| null |
- Description: updated readme.
- Tag maintainer: @baskaryan
- Twitter handle: @Levalencia
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8570/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8570",
"html_url": "https://github.com/langchain-ai/langchain/pull/8570",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8570.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8570.patch",
"merged_at": "2023-11-13T06:07:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8569
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8569/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8569/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8569/events
|
https://github.com/langchain-ai/langchain/issues/8569
| 1,830,662,153 |
I_kwDOIPDwls5tHbAJ
| 8,569 |
Enhance retrieval callback hooks to capture retrieved document IDs and embeddings
|
{
"login": "axiomofjoy",
"id": 15664869,
"node_id": "MDQ6VXNlcjE1NjY0ODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/15664869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/axiomofjoy",
"html_url": "https://github.com/axiomofjoy",
"followers_url": "https://api.github.com/users/axiomofjoy/followers",
"following_url": "https://api.github.com/users/axiomofjoy/following{/other_user}",
"gists_url": "https://api.github.com/users/axiomofjoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/axiomofjoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/axiomofjoy/subscriptions",
"organizations_url": "https://api.github.com/users/axiomofjoy/orgs",
"repos_url": "https://api.github.com/users/axiomofjoy/repos",
"events_url": "https://api.github.com/users/axiomofjoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/axiomofjoy/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": 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 | 3 | 2023-08-01T07:44:33 | 2023-11-01T18:45:54 | null |
NONE
| null |
### Feature request
Enhance the retrieval callback hooks to include:
- document IDs from the underlying vector store
- document embeddings used during retrieval
### Motivation
I want to build a callback handler that enables LangChain users to visualize their data in [Phoenix](https://github.com/Arize-ai/phoenix), an open-source tool that provides debugging workflows for retrieval-augmented generation. At the moment, I am only able to get retrieved document text from the callback system, not the IDs or embeddings of the retrieved documents.
### Your contribution
I am willing to implement, test, and document this feature with guidance from the LangChain team. I am also happy to provide feedback on an implementation by the LangChain team by building an example callback handler using the enhancement retrieval hook functionality.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8569/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8569/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8568
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8568/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8568/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8568/events
|
https://github.com/langchain-ai/langchain/pull/8568
| 1,830,645,039 |
PR_kwDOIPDwls5W4G_0
| 8,568 |
improve insert performance for hologres
|
{
"login": "zcgeng",
"id": 13724617,
"node_id": "MDQ6VXNlcjEzNzI0NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/13724617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zcgeng",
"html_url": "https://github.com/zcgeng",
"followers_url": "https://api.github.com/users/zcgeng/followers",
"following_url": "https://api.github.com/users/zcgeng/following{/other_user}",
"gists_url": "https://api.github.com/users/zcgeng/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zcgeng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zcgeng/subscriptions",
"organizations_url": "https://api.github.com/users/zcgeng/orgs",
"repos_url": "https://api.github.com/users/zcgeng/repos",
"events_url": "https://api.github.com/users/zcgeng/events{/privacy}",
"received_events_url": "https://api.github.com/users/zcgeng/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"
}
] |
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
},
{
"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
}
] | null | 3 | 2023-08-01T07:33:17 | 2023-11-09T05:35:26 | 2023-11-09T05:35:26 |
CONTRIBUTOR
| null |
Hi,
I made some code changes on the Hologres vector store to improve the data insertion performance.
The code has passed the format/lint/spell check. And I have run the unit test for Hologres connecting to my own database.
There is already an integration test `test_hologres.py` that covers the content of this change.
Please check this PR, thanks!
@baskaryan
@rlancemartin, @eyurtsev
Best,
Changgeng,
Developer @ Alibaba Cloud
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8568/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8568",
"html_url": "https://github.com/langchain-ai/langchain/pull/8568",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8568.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8568.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8567
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8567/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8567/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8567/events
|
https://github.com/langchain-ai/langchain/issues/8567
| 1,830,623,474 |
I_kwDOIPDwls5tHRjy
| 8,567 |
Enhance retrieval callback hooks to include information on cosine similarity scores or other retrieval metrics
|
{
"login": "axiomofjoy",
"id": 15664869,
"node_id": "MDQ6VXNlcjE1NjY0ODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/15664869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/axiomofjoy",
"html_url": "https://github.com/axiomofjoy",
"followers_url": "https://api.github.com/users/axiomofjoy/followers",
"following_url": "https://api.github.com/users/axiomofjoy/following{/other_user}",
"gists_url": "https://api.github.com/users/axiomofjoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/axiomofjoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/axiomofjoy/subscriptions",
"organizations_url": "https://api.github.com/users/axiomofjoy/orgs",
"repos_url": "https://api.github.com/users/axiomofjoy/repos",
"events_url": "https://api.github.com/users/axiomofjoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/axiomofjoy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 4 | 2023-08-01T07:18:29 | 2023-12-01T20:41:39 | null |
NONE
| null |
### Feature request
Make cosine similarity (or other retrieval metric, e.g., Euclidean distance) between query and retrieved documents available at the `retriever` callback hook.
Currently, these scores are computed during retrieval and are discarded before they become available to the retrieval callback hook:
https://github.com/langchain-ai/langchain/blob/125ae6d9dec440e04a60f63f0f4fc8411f482df8/libs/langchain/langchain/vectorstores/base.py#L500
https://github.com/langchain-ai/langchain/blob/125ae6d9dec440e04a60f63f0f4fc8411f482df8/libs/langchain/langchain/schema/retriever.py#L174
### Motivation
I want to build a callback handler that enables LangChain users to visualize their data in [Phoenix](https://github.com/Arize-ai/phoenix), an open-source tool that provides debugging workflows for retrieval-augmented generation. At the moment, it is not possible to get the similarity scores between queries and retrieved documents out of LangChain's callback system, for example, when using the `RetrievalQA` chain. Here is an [example notebook](https://github.com/Arize-ai/phoenix/blob/main/tutorials/langchain_pinecone_search_and_retrieval_tutorial.ipynb) where I sub-class `Pinecone` to get out the similarity scores:
```
class PineconeWrapper(Pinecone):
query_text_to_document_score_tuples: Dict[str, List[Tuple[Document, float]]] = {}
def similarity_search_with_score(
self,
query: str,
k: int = 4,
filter: Optional[dict] = None,
namespace: Optional[str] = None,
) -> List[Tuple[Document, float]]:
document_score_tuples = super().similarity_search_with_score(
query=query,
k=k,
filter=filter,
namespace=namespace,
)
self.query_text_to_document_score_tuples[query] = document_score_tuples
return document_score_tuples
@property
def retrieval_dataframe(self) -> pd.DataFrame:
query_texts = []
document_texts = []
retrieval_ranks = []
scores = []
for query_text, document_score_tuples in self.query_text_to_document_score_tuples.items():
for retrieval_rank, (document, score) in enumerate(document_score_tuples):
query_texts.append(query_text)
document_texts.append(document.page_content)
retrieval_ranks.append(retrieval_rank)
scores.append(score)
return pd.DataFrame.from_dict(
{
"query_text": query_texts,
"document_text": document_texts,
"retrieval_rank": retrieval_ranks,
"score": scores,
}
)
```
I would like the LangChain callback system to support this use-case.
### Your contribution
I am willing to implement, test, and document this feature with guidance from the LangChain team. I am also happy to provide feedback on an implementation by the LangChain team by building an example callback handler using the enhancement retrieval hook functionality.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8567/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/8567/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8566
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8566/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8566/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8566/events
|
https://github.com/langchain-ai/langchain/pull/8566
| 1,830,597,493 |
PR_kwDOIPDwls5W381v
| 8,566 |
fix bug in AzureML Endpoint
|
{
"login": "yangmingzhe",
"id": 7844726,
"node_id": "MDQ6VXNlcjc4NDQ3MjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7844726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangmingzhe",
"html_url": "https://github.com/yangmingzhe",
"followers_url": "https://api.github.com/users/yangmingzhe/followers",
"following_url": "https://api.github.com/users/yangmingzhe/following{/other_user}",
"gists_url": "https://api.github.com/users/yangmingzhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yangmingzhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yangmingzhe/subscriptions",
"organizations_url": "https://api.github.com/users/yangmingzhe/orgs",
"repos_url": "https://api.github.com/users/yangmingzhe/repos",
"events_url": "https://api.github.com/users/yangmingzhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/yangmingzhe/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": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 10 | 2023-08-01T07:00:01 | 2023-12-08T06:08:34 | null |
NONE
| null |
Description:
fix bug in azureml_endpoint.py
Issue:
when using the AzureMLOnlineEndpoint class without passing the content_formatter parameter, an AttributeError will occur. similarly, with classAzureMLChatOnlineEndpoint.
Details:
1. update ContentFormatterBase to inherit from BaseModel for Pydantic validation support.
2. add validators to AzureMLOnlineEndpoint and AzureMLChatOnlineEndpoint with informative error messages for enhanced usability.
Dependencies:
no dependencies required
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8566/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8566",
"html_url": "https://github.com/langchain-ai/langchain/pull/8566",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8566.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8566.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8565
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8565/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8565/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8565/events
|
https://github.com/langchain-ai/langchain/issues/8565
| 1,830,592,050 |
I_kwDOIPDwls5tHJ4y
| 8,565 |
Issue: How to use chain_type args in LLMchain?
|
{
"login": "yengogo",
"id": 61774146,
"node_id": "MDQ6VXNlcjYxNzc0MTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/61774146?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yengogo",
"html_url": "https://github.com/yengogo",
"followers_url": "https://api.github.com/users/yengogo/followers",
"following_url": "https://api.github.com/users/yengogo/following{/other_user}",
"gists_url": "https://api.github.com/users/yengogo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yengogo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yengogo/subscriptions",
"organizations_url": "https://api.github.com/users/yengogo/orgs",
"repos_url": "https://api.github.com/users/yengogo/repos",
"events_url": "https://api.github.com/users/yengogo/events{/privacy}",
"received_events_url": "https://api.github.com/users/yengogo/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-01T06:55:55 | 2023-11-08T16:07:15 | 2023-11-08T16:07:14 |
NONE
| null |
### Issue you'd like to raise.
I am currently working on the task of **article rewriting**, and both the QA chain and Summarize chain are not quite suitable for my task.
Since I need to rewrite **multiple "lengthy"** articles, I would like to know how to use the chain_type in LLMchain. Alternatively, are there any other methods to achieve segment-level rewriting? Thank you.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8565/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/8565/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8564
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8564/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8564/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8564/events
|
https://github.com/langchain-ai/langchain/issues/8564
| 1,830,536,926 |
I_kwDOIPDwls5tG8be
| 8,564 |
Add callback support for embeddings
|
{
"login": "axiomofjoy",
"id": 15664869,
"node_id": "MDQ6VXNlcjE1NjY0ODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/15664869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/axiomofjoy",
"html_url": "https://github.com/axiomofjoy",
"followers_url": "https://api.github.com/users/axiomofjoy/followers",
"following_url": "https://api.github.com/users/axiomofjoy/following{/other_user}",
"gists_url": "https://api.github.com/users/axiomofjoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/axiomofjoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/axiomofjoy/subscriptions",
"organizations_url": "https://api.github.com/users/axiomofjoy/orgs",
"repos_url": "https://api.github.com/users/axiomofjoy/repos",
"events_url": "https://api.github.com/users/axiomofjoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/axiomofjoy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-01T06:13:53 | 2023-11-07T16:06:08 | 2023-11-07T16:06:07 |
NONE
| null |
### Feature request
Add embedding support to the callback system. Here is one approach I have in mind.
- [ ] Add `on_embedding_start` method on `CallbackManagerMixin` in `libs/langchain/langchain/callbacks/base.py`.
- [ ] Implement `EmbeddingManagerMixin` with `on_embedding_end` and `on_embedding_error` methods in `libs/langchain/langchain/callbacks/base.py`.
- [ ] Add embedding callback hook to `Embeddings` abstract base class in `libs/langchain/langchain/embeddings/base.py`.
- [ ] Tweak concrete embeddings implementations in `libs/langchain/langchain/embeddings` as necessary.
One minimally invasive approach would be:
- Implement concrete `embed_documents`, `embed_query`, `aembed_documents`, and `aembed_query` methods on the abstract `Embeddings` base class that contain the embeddings callback hook. Add abstract methods `_embed_documents` and `_embed_query` methods and unimplemented `_aembed_documents` and `_aembed_query` methods to the base class.
- Rename existing concrete implementations of `embed_documents`, `embed_query`, `aembed_documents`, and `aembed_query` to `_embed_documents`, `_embed_query`, `_aembed_documents`, and `_aembed_query`.
### Motivation
Embeddings are useful for LLM application monitoring and debugging. I want to build a callback handler that enables LangChain users to visualize their data in [Phoenix](https://github.com/Arize-ai/phoenix), an open-source tool that provides debugging workflows for retrieval-augmented generation. At the moment, it is not possible to get the query embeddings out of LangChain's callback system, for example, when using the `RetrievalQA` chain. Here is an [example notebook](https://github.com/Arize-ai/phoenix/blob/main/tutorials/langchain_pinecone_search_and_retrieval_tutorial.ipynb) where I sub-class `OpenAIEmbeddings` to get out the embedding data:
```
class OpenAIEmbeddingsWrapper(OpenAIEmbeddings):
"""
A wrapper around OpenAIEmbeddings that stores the query and document
embeddings.
"""
query_text_to_embedding: Dict[str, List[float]] = {}
document_text_to_embedding: Dict[str, List[float]] = {}
def embed_query(self, text: str) -> List[float]:
embedding = super().embed_query(text)
self.query_text_to_embedding[text] = embedding
return embedding
def embed_documents(self, texts: List[str], chunk_size: Optional[int] = 0) -> List[List[float]]:
embeddings = super().embed_documents(texts, chunk_size)
for text, embedding in zip(texts, embeddings):
self.document_text_to_embedding[text] = embedding
return embeddings
@property
def query_embedding_dataframe(self) -> pd.DataFrame:
return self._convert_text_to_embedding_map_to_dataframe(self.query_text_to_embedding)
@property
def document_embedding_dataframe(self) -> pd.DataFrame:
return self._convert_text_to_embedding_map_to_dataframe(self.document_text_to_embedding)
@staticmethod
def _convert_text_to_embedding_map_to_dataframe(
text_to_embedding: Dict[str, List[float]]
) -> pd.DataFrame:
texts, embeddings = map(list, zip(*text_to_embedding.items()))
embedding_arrays = [np.array(embedding) for embedding in embeddings]
return pd.DataFrame.from_dict(
{
"text": texts,
"text_vector": embedding_arrays,
}
)
```
I would like the LangChain callback system to support this use-case.
This feature has been [requested for TypeScript](https://github.com/hwchase17/langchainjs/issues/586) and has an [open PR](https://github.com/hwchase17/langchainjs/pull/1859). An additional motivation is to maintain parity with the TypeScript library.
### Your contribution
I am willing to implement, test, and document this feature with guidance from the LangChain team. I am also happy to provide feedback on an implementation by the LangChain team by building an example callback handler using the embeddings hook.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8564/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8563
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8563/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8563/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8563/events
|
https://github.com/langchain-ai/langchain/issues/8563
| 1,830,501,646 |
I_kwDOIPDwls5tGz0O
| 8,563 |
Petals API Support
|
{
"login": "Sharpz7",
"id": 46480158,
"node_id": "MDQ6VXNlcjQ2NDgwMTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/46480158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sharpz7",
"html_url": "https://github.com/Sharpz7",
"followers_url": "https://api.github.com/users/Sharpz7/followers",
"following_url": "https://api.github.com/users/Sharpz7/following{/other_user}",
"gists_url": "https://api.github.com/users/Sharpz7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sharpz7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sharpz7/subscriptions",
"organizations_url": "https://api.github.com/users/Sharpz7/orgs",
"repos_url": "https://api.github.com/users/Sharpz7/repos",
"events_url": "https://api.github.com/users/Sharpz7/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sharpz7/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-08-01T05:38:35 | 2023-11-28T11:01:45 | 2023-11-07T16:06:12 |
NONE
| null |
### Feature request
Currently, langchain supports petals, but I think we should also support using a petals API endpoint. https://github.com/petals-infra/chat.petals.dev
### Motivation
The idea here is that users don't need to run the base application on their system, and can just use the API directly.
I think this is useful as a developer for speed, and just testing things quickly. I also think it would be the easiest and most reliabile way for any langchain user to get access to a high quality LLM on low-spec hardware.
### Your contribution
I am happy to add this myself if I can be guided on what parts of the code need changed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8563/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8562
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8562/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8562/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8562/events
|
https://github.com/langchain-ai/langchain/pull/8562
| 1,830,413,556 |
PR_kwDOIPDwls5W3VnE
| 8,562 |
implement async exec for base.py
|
{
"login": "mzamini92",
"id": 32536264,
"node_id": "MDQ6VXNlcjMyNTM2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32536264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzamini92",
"html_url": "https://github.com/mzamini92",
"followers_url": "https://api.github.com/users/mzamini92/followers",
"following_url": "https://api.github.com/users/mzamini92/following{/other_user}",
"gists_url": "https://api.github.com/users/mzamini92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mzamini92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzamini92/subscriptions",
"organizations_url": "https://api.github.com/users/mzamini92/orgs",
"repos_url": "https://api.github.com/users/mzamini92/repos",
"events_url": "https://api.github.com/users/mzamini92/events{/privacy}",
"received_events_url": "https://api.github.com/users/mzamini92/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-01T03:53:40 | 2023-09-21T04:00:41 | 2023-09-21T04:00:41 |
CONTRIBUTOR
| null |
Can we such a method for async? The return type is specified as `asyncio.Task[Dict[str, str]]` to represent the dictionary return type wrapped in an `asyncio.Task`. `Since _acall()` is an asynchronous method, any coroutine calls within it should be awaited. So, we use await when calling `run_manager.on_text()` to properly await the completion of the asynchronous operation.
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8562/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8562",
"html_url": "https://github.com/langchain-ai/langchain/pull/8562",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8562.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8562.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8560
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8560/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8560/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8560/events
|
https://github.com/langchain-ai/langchain/pull/8560
| 1,830,366,362 |
PR_kwDOIPDwls5W3Lqx
| 8,560 |
Add enum rendering to api reference
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-01T02:50:39 | 2023-08-04T20:08:03 | 2023-08-04T20:08:02 |
COLLABORATOR
| null |
This is a hack to improve rendering of enums -- it's determining the type of
the class based on membership checks of its attributes. It does not feel like
the correct solution, but the correct solution seems very involved in this
case.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8560/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8560",
"html_url": "https://github.com/langchain-ai/langchain/pull/8560",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8560.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8560.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8559
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8559/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8559/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8559/events
|
https://github.com/langchain-ai/langchain/pull/8559
| 1,830,294,376 |
PR_kwDOIPDwls5W280Z
| 8,559 |
Harrison/loader bug
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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 | 1 | 2023-08-01T01:17:09 | 2023-08-01T20:31:51 | 2023-08-01T20:31:50 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8559/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8559",
"html_url": "https://github.com/langchain-ai/langchain/pull/8559",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8559.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8559.patch",
"merged_at": "2023-08-01T20:31:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8558
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8558/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8558/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8558/events
|
https://github.com/langchain-ai/langchain/issues/8558
| 1,830,288,016 |
I_kwDOIPDwls5tF_qQ
| 8,558 |
Add metadata parameter(s) to SQLDatabase class
|
{
"login": "hagope",
"id": 65898,
"node_id": "MDQ6VXNlcjY1ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/65898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hagope",
"html_url": "https://github.com/hagope",
"followers_url": "https://api.github.com/users/hagope/followers",
"following_url": "https://api.github.com/users/hagope/following{/other_user}",
"gists_url": "https://api.github.com/users/hagope/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hagope/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hagope/subscriptions",
"organizations_url": "https://api.github.com/users/hagope/orgs",
"repos_url": "https://api.github.com/users/hagope/repos",
"events_url": "https://api.github.com/users/hagope/events{/privacy}",
"received_events_url": "https://api.github.com/users/hagope/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-08-01T01:08:42 | 2023-11-07T16:06:18 | 2023-11-07T16:06:17 |
NONE
| null |
### Feature request
Most databases include comment metadata on both tables and columns in a table. It would be nice to be able to pass this additional context to the LLM to get a better response.
The implementation could include adding two parameters to the [SQLDatabase](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/utilities/sql_database.py) object. For example:
- `table_metadata_sql` (perhaps `table_comment_sql`) runs a query and expects a table with two columns `table_name` and `comment`
- `column_metadata_sql` (perhaps `column_comment_sql` runs a query and expects a table with three columns `table_name`, `col_name`, and `comment`
Perhaps these two params could be combined into a single `metadata_sql` which returns for column table with `table_name`, `table_comment`, `column_name`, and `column_comment`
### Motivation
The main motivation behind this is to provide the LLM additional context beyond the CREATE TABLE and sample rows. Although this will be a more costly request (more tokens), I believe in many instances will lead to better SQL being generated. I also want to encourage better documentation of database objects in the data warehouse or data lake.
### Your contribution
Happy to submit a PR for this. Please weigh in on any design decisions:
- how many parameters to use 1 or 2?
- where to include the comments in the prompt, part of the CREATE TABLE as SQL comments?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8558/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8558/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8557
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8557/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8557/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8557/events
|
https://github.com/langchain-ai/langchain/pull/8557
| 1,830,280,248 |
PR_kwDOIPDwls5W251R
| 8,557 |
Fix combining runnable sequences
|
{
"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": 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-08-01T00:57:54 | 2023-08-01T01:17:47 | 2023-08-01T01:17:47 |
CONTRIBUTOR
| null |
Combining runnable sequences was dropping a step in the middle.
@nfcampos @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8557/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8557",
"html_url": "https://github.com/langchain-ai/langchain/pull/8557",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8557.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8557.patch",
"merged_at": "2023-08-01T01:17:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8556
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8556/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8556/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8556/events
|
https://github.com/langchain-ai/langchain/issues/8556
| 1,830,261,522 |
I_kwDOIPDwls5tF5MS
| 8,556 |
ValueError: Expected metadata value to be a str, int, or float, got [{'text': 'Git', 'url': '#git'}] which is a <class 'list'> when storing into Chroma vector stores using using element mode of UnstructuredMarkdownLoader
|
{
"login": "cheeseQI",
"id": 45248933,
"node_id": "MDQ6VXNlcjQ1MjQ4OTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/45248933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cheeseQI",
"html_url": "https://github.com/cheeseQI",
"followers_url": "https://api.github.com/users/cheeseQI/followers",
"following_url": "https://api.github.com/users/cheeseQI/following{/other_user}",
"gists_url": "https://api.github.com/users/cheeseQI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cheeseQI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cheeseQI/subscriptions",
"organizations_url": "https://api.github.com/users/cheeseQI/orgs",
"repos_url": "https://api.github.com/users/cheeseQI/repos",
"events_url": "https://api.github.com/users/cheeseQI/events{/privacy}",
"received_events_url": "https://api.github.com/users/cheeseQI/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": 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 | 14 | 2023-08-01T00:31:42 | 2024-01-15T08:37:43 | null |
NONE
| null |
### System Info
LangChain: 0.0.248
Python: 3.9.17
OS version: Linux 6.1.27-43.48.amzn2023.x86_64
### Who can help?
I will submit a PR for a solution to this problem
### 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
- [X] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Code:
```python
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores import Chroma
from langchain.document_loaders import UnstructuredMarkdownLoader
from langchain.text_splitter import CharacterTextSplitter
def testElement():
loader = UnstructuredMarkdownLoader(
"filepath", mode="elements")
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=500, chunk_overlap=0)
split_docs = text_splitter.split_documents(documents)
embeddings = OpenAIEmbeddings()
docsearch = Chroma.from_documents(split_docs, embeddings)
```
Also need to have a link format in the markdown file to be load, for example:
```
- [Google Developer Documentation Style Guide](https://developers.google.com/style)
```
Error Message:
```
138 # isinstance(True, int) evaluates to True, so we need to check for bools separately
139 if not isinstance(value, (str, int, float)) or isinstance(value, bool):
--> 140 raise ValueError(
141 f"Expected metadata value to be a str, int, or float, got {value} which is a {type(value)}"
142 )
ValueError: Expected metadata value to be a str, int, or float, got [{'text': 'Git', 'url': '#git'}] which is a <class 'list'>
```
### Expected behavior
I expect to see the split documents loaded into Chroma, however, this raise error for not passing type check for metadata.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8556/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8555
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8555/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8555/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8555/events
|
https://github.com/langchain-ai/langchain/pull/8555
| 1,830,250,278 |
PR_kwDOIPDwls5W2zis
| 8,555 |
Update openai_functions.py to handle KeyError: 'function_call' error
|
{
"login": "bhavishpahwa",
"id": 108733252,
"node_id": "U_kgDOBnsjRA",
"avatar_url": "https://avatars.githubusercontent.com/u/108733252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhavishpahwa",
"html_url": "https://github.com/bhavishpahwa",
"followers_url": "https://api.github.com/users/bhavishpahwa/followers",
"following_url": "https://api.github.com/users/bhavishpahwa/following{/other_user}",
"gists_url": "https://api.github.com/users/bhavishpahwa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bhavishpahwa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bhavishpahwa/subscriptions",
"organizations_url": "https://api.github.com/users/bhavishpahwa/orgs",
"repos_url": "https://api.github.com/users/bhavishpahwa/repos",
"events_url": "https://api.github.com/users/bhavishpahwa/events{/privacy}",
"received_events_url": "https://api.github.com/users/bhavishpahwa/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-01T00:16:50 | 2023-08-07T18:30:07 | 2023-08-07T18:30:07 |
NONE
| null |
Description: Sometime when trying to custom use Output parsers for function call we get KeyError: 'function_call' when function_call key is not present in the response for a particular request. This exception handles that case.
<img width="1275" alt="Screenshot 2023-08-01 at 5 42 52 AM" src="https://github.com/langchain-ai/langchain/assets/108733252/a1031a80-9541-4fed-81e8-a3e60e288538">
Issue: N/A
Tag maintainer: @rlancemartin
Dependencies: None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8555/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8555",
"html_url": "https://github.com/langchain-ai/langchain/pull/8555",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8555.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8555.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8554
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8554/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8554/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8554/events
|
https://github.com/langchain-ai/langchain/pull/8554
| 1,830,243,885 |
PR_kwDOIPDwls5W2yKq
| 8,554 |
Chatbots use case
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-08-01T00:10:53 | 2023-08-04T14:02:15 | 2023-08-04T14:02:14 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8554/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8554",
"html_url": "https://github.com/langchain-ai/langchain/pull/8554",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8554.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8554.patch",
"merged_at": "2023-08-04T14:02:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8553
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8553/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8553/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8553/events
|
https://github.com/langchain-ai/langchain/pull/8553
| 1,830,235,126 |
PR_kwDOIPDwls5W2wRZ
| 8,553 |
Rm RunTypeEnum
|
{
"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": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-01T00:01:53 | 2023-08-01T06:32:08 | 2023-08-01T06:32:07 |
COLLABORATOR
| null |
We already support raw strings in the SDK but would like to deprecate client-side validation of run types. This removes its usage
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8553/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8553",
"html_url": "https://github.com/langchain-ai/langchain/pull/8553",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8553.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8553.patch",
"merged_at": "2023-08-01T06:32:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8552
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8552/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8552/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8552/events
|
https://github.com/langchain-ai/langchain/pull/8552
| 1,830,228,892 |
PR_kwDOIPDwls5W2u93
| 8,552 |
add example for memory
|
{
"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": 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": 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-07-31T23:53:14 | 2023-08-01T08:10:20 | 2023-08-01T08:10:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8552/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8552",
"html_url": "https://github.com/langchain-ai/langchain/pull/8552",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8552.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8552.patch",
"merged_at": "2023-08-01T08:10:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8551
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8551/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8551/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8551/events
|
https://github.com/langchain-ai/langchain/pull/8551
| 1,830,228,195 |
PR_kwDOIPDwls5W2u0W
| 8,551 |
AzureSearch Vector Store: Moving the usage of additional_fields into context of it's definition (bug fix from python error)
|
{
"login": "kevinbuckley",
"id": 1470958,
"node_id": "MDQ6VXNlcjE0NzA5NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1470958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinbuckley",
"html_url": "https://github.com/kevinbuckley",
"followers_url": "https://api.github.com/users/kevinbuckley/followers",
"following_url": "https://api.github.com/users/kevinbuckley/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinbuckley/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinbuckley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinbuckley/subscriptions",
"organizations_url": "https://api.github.com/users/kevinbuckley/orgs",
"repos_url": "https://api.github.com/users/kevinbuckley/repos",
"events_url": "https://api.github.com/users/kevinbuckley/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinbuckley/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T23:52:14 | 2023-08-01T00:25:58 | 2023-08-01T00:25:58 |
CONTRIBUTOR
| null |
Description: Using Azure Cognitive Search as a VectorStore. Calling the `add_texts` method throws an error if there is no metadata property specified. The `additional_fields` field is set in an `if` statement and then is used later outside the if statement. This PR just moves the declaration of `additional_fields` below and puts the usage of it in context.
Issue: https://github.com/langchain-ai/langchain/issues/8544
Tagging @rlancemartin, @eyurtsev as this is related to Vector stores.
`make format`, `make lint`, `make spellcheck`, and `make test` have been run
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8551/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8551",
"html_url": "https://github.com/langchain-ai/langchain/pull/8551",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8551.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8551.patch",
"merged_at": "2023-08-01T00:25:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8550
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8550/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8550/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8550/events
|
https://github.com/langchain-ai/langchain/pull/8550
| 1,830,213,730 |
PR_kwDOIPDwls5W2ruq
| 8,550 |
(wip) add memory to sql
|
{
"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": 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": 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 | 4 | 2023-07-31T23:31:10 | 2023-10-02T23:28:53 | 2023-10-02T23:28:52 |
COLLABORATOR
| null |
@keenborder786 this adds it in a way where it is on the outermost chain (which i think is what is desired)
do you want to maybe work off this and add tests to this?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8550/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8550",
"html_url": "https://github.com/langchain-ai/langchain/pull/8550",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8550.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8550.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8549
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8549/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8549/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8549/events
|
https://github.com/langchain-ai/langchain/pull/8549
| 1,830,167,620 |
PR_kwDOIPDwls5W2hp9
| 8,549 |
📖 docs: Integration Cards
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T22:58:06 | 2023-08-30T16:15:22 | 2023-08-30T16:15:21 |
COLLABORATOR
| null |
- applied the `Integration Card` term to the `integration summary` pages. In the same manner, as HuggingFace uses a `Model Card` and `Dataset Card`, the `Integration Card` is used as a root to access all related info for this integration.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8549/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8549",
"html_url": "https://github.com/langchain-ai/langchain/pull/8549",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8549.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8549.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8547
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8547/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8547/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8547/events
|
https://github.com/langchain-ai/langchain/pull/8547
| 1,830,114,371 |
PR_kwDOIPDwls5W2WHJ
| 8,547 |
docs: Update ArangoDB Colab URL
|
{
"login": "aMahanna",
"id": 43019056,
"node_id": "MDQ6VXNlcjQzMDE5MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/43019056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aMahanna",
"html_url": "https://github.com/aMahanna",
"followers_url": "https://api.github.com/users/aMahanna/followers",
"following_url": "https://api.github.com/users/aMahanna/following{/other_user}",
"gists_url": "https://api.github.com/users/aMahanna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aMahanna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aMahanna/subscriptions",
"organizations_url": "https://api.github.com/users/aMahanna/orgs",
"repos_url": "https://api.github.com/users/aMahanna/repos",
"events_url": "https://api.github.com/users/aMahanna/events{/privacy}",
"received_events_url": "https://api.github.com/users/aMahanna/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-07-31T22:00:08 | 2023-07-31T23:11:22 | 2023-07-31T23:11:22 |
CONTRIBUTOR
| null |
1-commit PR to update the Google Colab URL of the ArangoDB Graph QA Chain notebook
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8547/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8547",
"html_url": "https://github.com/langchain-ai/langchain/pull/8547",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8547.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8547.patch",
"merged_at": "2023-07-31T23:11:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8546
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8546/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8546/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8546/events
|
https://github.com/langchain-ai/langchain/pull/8546
| 1,830,109,040 |
PR_kwDOIPDwls5W2U52
| 8,546 |
API use case
|
{
"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 | 4 | 2023-07-31T21:56:22 | 2023-08-10T14:52:54 | 2023-08-10T14:52:54 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8546/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8546",
"html_url": "https://github.com/langchain-ai/langchain/pull/8546",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8546.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8546.patch",
"merged_at": "2023-08-10T14:52:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8545
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8545/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8545/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8545/events
|
https://github.com/langchain-ai/langchain/pull/8545
| 1,830,107,711 |
PR_kwDOIPDwls5W2Uml
| 8,545 |
Llama formatter
|
{
"login": "matthewdeguzman",
"id": 91019033,
"node_id": "MDQ6VXNlcjkxMDE5MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/91019033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matthewdeguzman",
"html_url": "https://github.com/matthewdeguzman",
"followers_url": "https://api.github.com/users/matthewdeguzman/followers",
"following_url": "https://api.github.com/users/matthewdeguzman/following{/other_user}",
"gists_url": "https://api.github.com/users/matthewdeguzman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matthewdeguzman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matthewdeguzman/subscriptions",
"organizations_url": "https://api.github.com/users/matthewdeguzman/orgs",
"repos_url": "https://api.github.com/users/matthewdeguzman/repos",
"events_url": "https://api.github.com/users/matthewdeguzman/events{/privacy}",
"received_events_url": "https://api.github.com/users/matthewdeguzman/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-07-31T21:55:27 | 2023-07-31T21:55:45 | 2023-07-31T21:55:45 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8545/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8545",
"html_url": "https://github.com/langchain-ai/langchain/pull/8545",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8545.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8545.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8544
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8544/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8544/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8544/events
|
https://github.com/langchain-ai/langchain/issues/8544
| 1,830,035,282 |
I_kwDOIPDwls5tFB9S
| 8,544 |
Vector Store: Azure Cognitive Search :: add_texts throws an error if called with no metadata
|
{
"login": "kevinbuckley",
"id": 1470958,
"node_id": "MDQ6VXNlcjE0NzA5NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1470958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinbuckley",
"html_url": "https://github.com/kevinbuckley",
"followers_url": "https://api.github.com/users/kevinbuckley/followers",
"following_url": "https://api.github.com/users/kevinbuckley/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinbuckley/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinbuckley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinbuckley/subscriptions",
"organizations_url": "https://api.github.com/users/kevinbuckley/orgs",
"repos_url": "https://api.github.com/users/kevinbuckley/repos",
"events_url": "https://api.github.com/users/kevinbuckley/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinbuckley/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T21:13:43 | 2023-11-06T16:05:33 | 2023-11-06T16:05:33 |
CONTRIBUTOR
| null |
### System Info
Python: v3.11
Langchain: v0.0.248
### Who can help?
I'll submit a PR for it tonight, just wanted to get the Issue in before.
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [x] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Background
I'm using Azure Cognitive Search as my vector store. In `azuresearch`, if you call `addtexts` with no metadata, you get an exception
Steps to reproduce behavior:
1. create AzureSearch object
2. call `add_texts` without specifying the metadata parameter
3. You'll get an error
> UnboundLocalError: cannot access local variable 'additional_fields' where it is not associated with a value
### Expected behavior
No error occurs it adds the text to the `texts` parameter to the Vector store.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8544/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/8544/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8543
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8543/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8543/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8543/events
|
https://github.com/langchain-ai/langchain/pull/8543
| 1,830,022,415 |
PR_kwDOIPDwls5W2B8P
| 8,543 |
Bagatur/runnable with fallbacks
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T21:02:44 | 2023-08-04T21:06:06 | 2023-08-04T21:06:05 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8543/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8543",
"html_url": "https://github.com/langchain-ai/langchain/pull/8543",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8543.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8543.patch",
"merged_at": "2023-08-04T21:06:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8542
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8542/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8542/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8542/events
|
https://github.com/langchain-ai/langchain/issues/8542
| 1,830,021,223 |
I_kwDOIPDwls5tE-hn
| 8,542 |
Error: 'OpenAICallbackHandler' object has no attribute 'on_retry'`
|
{
"login": "ArslanKAS",
"id": 43797457,
"node_id": "MDQ6VXNlcjQzNzk3NDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/43797457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArslanKAS",
"html_url": "https://github.com/ArslanKAS",
"followers_url": "https://api.github.com/users/ArslanKAS/followers",
"following_url": "https://api.github.com/users/ArslanKAS/following{/other_user}",
"gists_url": "https://api.github.com/users/ArslanKAS/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ArslanKAS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ArslanKAS/subscriptions",
"organizations_url": "https://api.github.com/users/ArslanKAS/orgs",
"repos_url": "https://api.github.com/users/ArslanKAS/repos",
"events_url": "https://api.github.com/users/ArslanKAS/events{/privacy}",
"received_events_url": "https://api.github.com/users/ArslanKAS/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-31T21:01:43 | 2023-08-14T23:45:18 | 2023-08-14T23:45:18 |
NONE
| null |
### System Info
**LangChain:** 0.0.248
**Python:** 3.10.10
**OS version:** Linux 5.10.178-162.673.amzn2.x86_64
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
**Code:**
```
try:
with get_openai_callback() as cb:
llm_chain = LLMChain(llm=llm, prompt=prompt_main)
all_text = str(template) + str(prompt) + str(usescases) + str(transcript)
threshold = (llm.get_num_tokens(text=all_text) + 800)
dataframe_copy.loc[index, "Total Tokens"] = threshold
if int(threshold) <= 4000:
chatgpt_output = llm_chain.run({"prompt":prompt, "use_cases_dictionary":usescases, "transcript":transcript})
chatgpt_output = text_post_processing(chatgpt_output)
dataframe_copy.loc[index, "ChatGPT Output"] = chatgpt_output
dataframe_copy.loc[index, "Cost (USD)"] = cb.total_cost
else:
dataframe_copy.loc[index, "ChatGPT Output"] = " "
dataframe_copy.loc[index, "Cost (USD)"] = " "
except Exception as e:
dataframe_copy.loc[index, "ChatGPT Output"] = " "
dataframe_copy.loc[index, "Cost (USD)"] = " "
continue
```
**Error Message:**
`Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised APIError: Bad gateway. {"error":{"code":502,"message":"Bad gateway.","param":null,"type":"cf_bad_gateway"}} 502 {'error': {'code': 502, 'message': 'Bad gateway.', 'param': None, 'type': 'cf_bad_gateway'}} {'Date': 'Mon, 31 Jul 2023 20:24:53 GMT', 'Content-Type': 'application/json', 'Content-Length': '84', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'Server': 'cloudflare', 'CF-RAY': '7ef889a50eaca7f3-SYD', 'alt-svc': 'h3=":443"; ma=86400'}.
Error in OpenAICallbackHandler.on_retry callback: 'OpenAICallbackHandler' object has no attribute 'on_retry'`

### Expected behavior
I went through the callback [documentation ](https://api.python.langchain.com/en/latest/callbacks/langchain.callbacks.openai_info.OpenAICallbackHandler.html) and yes the "on_retry" method wasn't included over there. So I guess the team needs to modify the core code for OpenAICallbackHandler because it's calling "on_retry" for some reason.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8542/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8542/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8541
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8541/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8541/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8541/events
|
https://github.com/langchain-ai/langchain/pull/8541
| 1,829,945,862 |
PR_kwDOIPDwls5W1xNB
| 8,541 |
rfc: fallbacks on model
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T20:11:23 | 2023-07-31T23:13:46 | 2023-07-31T23:13:46 |
COLLABORATOR
| null |

https://dev.smith.langchain.com/public/dadc238d-0737-4211-a1da-1e4aa363548b/r
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8541/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8541",
"html_url": "https://github.com/langchain-ai/langchain/pull/8541",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8541.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8541.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8540
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8540/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8540/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8540/events
|
https://github.com/langchain-ai/langchain/pull/8540
| 1,829,928,523 |
PR_kwDOIPDwls5W1tVi
| 8,540 |
Update reduce_openapi_spec in spec.py to handle NULL value for 'docs'
|
{
"login": "gokul92",
"id": 11140011,
"node_id": "MDQ6VXNlcjExMTQwMDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/11140011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gokul92",
"html_url": "https://github.com/gokul92",
"followers_url": "https://api.github.com/users/gokul92/followers",
"following_url": "https://api.github.com/users/gokul92/following{/other_user}",
"gists_url": "https://api.github.com/users/gokul92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gokul92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gokul92/subscriptions",
"organizations_url": "https://api.github.com/users/gokul92/orgs",
"repos_url": "https://api.github.com/users/gokul92/repos",
"events_url": "https://api.github.com/users/gokul92/events{/privacy}",
"received_events_url": "https://api.github.com/users/gokul92/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": 5463330795,
"node_id": "LA_kwDOIPDwls8AAAABRaPP6w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/needs%20test",
"name": "needs test",
"color": "E99695",
"default": false,
"description": "PR needs to be updated with tests"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-31T20:00:39 | 2023-11-10T22:41:42 | 2023-11-10T22:41:42 |
NONE
| null |
@hinthornw
**Description**
When iterating through an openapi spec, if the value of `docs` is NULL within a get/post/patch or delete endpoint, then the code throws an error - docs not have attribute "get".
**Example**
An openapi compliant json spec where this is material fix - https://github.com/SpaceTradersAPI/api-docs/blob/main/reference/SpaceTraders.json
Code blob to load the file and check
```
from langchain.tools import OpenAPISpec
from langchain.agents.agent_toolkits.openapi.spec import reduce_openapi_spec
raw_spacetraders_spec = OpenAPISpec.from_file('Path/to/SpaceTraders.json') # load referenced JSON openapi spec
converted_spacetraders_spec = json.loads(raw_spacetraders_spec.json())
reduced_spacetraders_spec = reduce_openapi_spec(converted_spacetraders_spec)
# The above line throws an Attribute error because a null type doesn't have attribute 'get'
```
**Suggested Fix**
We can additionally check for docs being NULL as a part of the if statement. Thus, only if an endpoint is get/post/patch/delete AND the route is not null, do we store the tuple
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8540/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8540",
"html_url": "https://github.com/langchain-ai/langchain/pull/8540",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8540.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8540.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8539
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8539/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8539/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8539/events
|
https://github.com/langchain-ai/langchain/pull/8539
| 1,829,890,019 |
PR_kwDOIPDwls5W1k37
| 8,539 |
Fix AgentExecutor tracing in LangSmith
|
{
"login": "pokidyshev",
"id": 18504735,
"node_id": "MDQ6VXNlcjE4NTA0NzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/18504735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pokidyshev",
"html_url": "https://github.com/pokidyshev",
"followers_url": "https://api.github.com/users/pokidyshev/followers",
"following_url": "https://api.github.com/users/pokidyshev/following{/other_user}",
"gists_url": "https://api.github.com/users/pokidyshev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pokidyshev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pokidyshev/subscriptions",
"organizations_url": "https://api.github.com/users/pokidyshev/orgs",
"repos_url": "https://api.github.com/users/pokidyshev/repos",
"events_url": "https://api.github.com/users/pokidyshev/events{/privacy}",
"received_events_url": "https://api.github.com/users/pokidyshev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-31T19:38:07 | 2023-08-01T08:24:57 | 2023-08-01T08:24:57 |
CONTRIBUTOR
| null |
Description: this PR fixes an issue when AgentExecutor run is not properly traced and uploaded to LangSmith.
Before: AgentExecutor hangs indefinitely in Pending mode, output & tokens & latency are not tracked to the system

After: everything works as expected

<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8539/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8539",
"html_url": "https://github.com/langchain-ai/langchain/pull/8539",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8539.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8539.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8538
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8538/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8538/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8538/events
|
https://github.com/langchain-ai/langchain/pull/8538
| 1,829,880,667 |
PR_kwDOIPDwls5W1i0r
| 8,538 |
fix web loader
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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-07-31T19:31:34 | 2023-07-31T19:47:34 | 2023-07-31T19:47:33 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8538/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8538",
"html_url": "https://github.com/langchain-ai/langchain/pull/8538",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8538.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8538.patch",
"merged_at": "2023-07-31T19:47:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8537
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8537/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8537/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8537/events
|
https://github.com/langchain-ai/langchain/pull/8537
| 1,829,870,523 |
PR_kwDOIPDwls5W1gpl
| 8,537 |
updates some spelling mistakes
|
{
"login": "Dannzzor",
"id": 3094516,
"node_id": "MDQ6VXNlcjMwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/3094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dannzzor",
"html_url": "https://github.com/Dannzzor",
"followers_url": "https://api.github.com/users/Dannzzor/followers",
"following_url": "https://api.github.com/users/Dannzzor/following{/other_user}",
"gists_url": "https://api.github.com/users/Dannzzor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Dannzzor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dannzzor/subscriptions",
"organizations_url": "https://api.github.com/users/Dannzzor/orgs",
"repos_url": "https://api.github.com/users/Dannzzor/repos",
"events_url": "https://api.github.com/users/Dannzzor/events{/privacy}",
"received_events_url": "https://api.github.com/users/Dannzzor/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T19:23:41 | 2023-08-01T00:15:30 | 2023-08-01T00:15:29 |
CONTRIBUTOR
| null |
Just updating some spelling / grammar issues in the documentation. No code changes.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8537/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8537",
"html_url": "https://github.com/langchain-ai/langchain/pull/8537",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8537.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8537.patch",
"merged_at": "2023-08-01T00:15:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8536
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8536/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8536/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8536/events
|
https://github.com/langchain-ai/langchain/pull/8536
| 1,829,864,395 |
PR_kwDOIPDwls5W1fT9
| 8,536 |
Added Memory Parameter to SQL-Chain (Langchain Experimental)
|
{
"login": "keenborder786",
"id": 45242107,
"node_id": "MDQ6VXNlcjQ1MjQyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenborder786",
"html_url": "https://github.com/keenborder786",
"followers_url": "https://api.github.com/users/keenborder786/followers",
"following_url": "https://api.github.com/users/keenborder786/following{/other_user}",
"gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions",
"organizations_url": "https://api.github.com/users/keenborder786/orgs",
"repos_url": "https://api.github.com/users/keenborder786/repos",
"events_url": "https://api.github.com/users/keenborder786/events{/privacy}",
"received_events_url": "https://api.github.com/users/keenborder786/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-31T19:18:55 | 2023-08-01T07:48:57 | 2023-08-01T07:48:53 |
CONTRIBUTOR
| null |
- Description: SQL Database Chain and Agent does not allow to pass in memory, therefore, added this feature with additional tests.
I had created a PR #7546 for this but chain has moved to langchain_experimental lib therefore created a new PR.
- Issue: #6918
- Tag maintainer: @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8536/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8536",
"html_url": "https://github.com/langchain-ai/langchain/pull/8536",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8536.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8536.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8535
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8535/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8535/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8535/events
|
https://github.com/langchain-ai/langchain/issues/8535
| 1,829,840,969 |
I_kwDOIPDwls5tEShJ
| 8,535 |
DOC: Missing documentation langchain.utilities.SQLDatabase
|
{
"login": "paulo-smcs",
"id": 56484955,
"node_id": "MDQ6VXNlcjU2NDg0OTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/56484955?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paulo-smcs",
"html_url": "https://github.com/paulo-smcs",
"followers_url": "https://api.github.com/users/paulo-smcs/followers",
"following_url": "https://api.github.com/users/paulo-smcs/following{/other_user}",
"gists_url": "https://api.github.com/users/paulo-smcs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/paulo-smcs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paulo-smcs/subscriptions",
"organizations_url": "https://api.github.com/users/paulo-smcs/orgs",
"repos_url": "https://api.github.com/users/paulo-smcs/repos",
"events_url": "https://api.github.com/users/paulo-smcs/events{/privacy}",
"received_events_url": "https://api.github.com/users/paulo-smcs/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T19:01:18 | 2023-11-06T16:05:38 | 2023-11-06T16:05:38 |
NONE
| null |
### Issue with current documentation:
https://api.python.langchain.com/en/latest/utilities/langchain.utilities.sql_database.SQLDatabase.html
### Idea or request for content:
Documentation is missing, although i can import this class in the lateste version.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8535/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8534
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8534/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8534/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8534/events
|
https://github.com/langchain-ai/langchain/pull/8534
| 1,829,834,757 |
PR_kwDOIPDwls5W1Y4S
| 8,534 |
Rely less on positional arg order in subclasses of vector store when calling async methods
|
{
"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": 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 | 1 | 2023-07-31T18:56:32 | 2023-07-31T19:13:13 | 2023-07-31T19:13:12 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8534/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8534",
"html_url": "https://github.com/langchain-ai/langchain/pull/8534",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8534.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8534.patch",
"merged_at": "2023-07-31T19:13:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8533
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8533/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8533/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8533/events
|
https://github.com/langchain-ai/langchain/pull/8533
| 1,829,834,570 |
PR_kwDOIPDwls5W1Y1m
| 8,533 |
fix error in chroma docker instructions
|
{
"login": "jeffchuber",
"id": 891664,
"node_id": "MDQ6VXNlcjg5MTY2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/891664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffchuber",
"html_url": "https://github.com/jeffchuber",
"followers_url": "https://api.github.com/users/jeffchuber/followers",
"following_url": "https://api.github.com/users/jeffchuber/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffchuber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeffchuber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffchuber/subscriptions",
"organizations_url": "https://api.github.com/users/jeffchuber/orgs",
"repos_url": "https://api.github.com/users/jeffchuber/repos",
"events_url": "https://api.github.com/users/jeffchuber/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeffchuber/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T18:56:23 | 2023-07-31T23:34:26 | 2023-07-31T23:32:53 |
CONTRIBUTOR
| null |
This makes the Chroma instructions for Docker work!
https://python.langchain.com/docs/integrations/vectorstores/chroma#basic-example-using-the-docker-container
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8533/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8533",
"html_url": "https://github.com/langchain-ai/langchain/pull/8533",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8533.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8533.patch",
"merged_at": "2023-07-31T23:32:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8532
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8532/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8532/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8532/events
|
https://github.com/langchain-ai/langchain/pull/8532
| 1,829,821,698 |
PR_kwDOIPDwls5W1WB-
| 8,532 |
conversational retrieval chain in lcel
|
{
"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-07-31T18:46:54 | 2023-07-31T23:33:08 | 2023-07-31T23:33:07 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8532/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8532",
"html_url": "https://github.com/langchain-ai/langchain/pull/8532",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8532.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8532.patch",
"merged_at": "2023-07-31T23:33:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8531
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8531/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8531/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8531/events
|
https://github.com/langchain-ai/langchain/pull/8531
| 1,829,789,953 |
PR_kwDOIPDwls5W1PHV
| 8,531 |
Updated docs on Vertex AI going GA
|
{
"login": "lkuligin",
"id": 11026406,
"node_id": "MDQ6VXNlcjExMDI2NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkuligin",
"html_url": "https://github.com/lkuligin",
"followers_url": "https://api.github.com/users/lkuligin/followers",
"following_url": "https://api.github.com/users/lkuligin/following{/other_user}",
"gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions",
"organizations_url": "https://api.github.com/users/lkuligin/orgs",
"repos_url": "https://api.github.com/users/lkuligin/repos",
"events_url": "https://api.github.com/users/lkuligin/events{/privacy}",
"received_events_url": "https://api.github.com/users/lkuligin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 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-07-31T18:23:24 | 2023-08-01T00:15:04 | 2023-08-01T00:15:04 |
CONTRIBUTOR
| null |
#8074
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8531/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8531",
"html_url": "https://github.com/langchain-ai/langchain/pull/8531",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8531.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8531.patch",
"merged_at": "2023-08-01T00:15:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8530
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8530/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8530/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8530/events
|
https://github.com/langchain-ai/langchain/pull/8530
| 1,829,785,927 |
PR_kwDOIPDwls5W1OMc
| 8,530 |
doc(prompts): Follow up on broken Prompt Sublink pages
|
{
"login": "bharatr21",
"id": 13381361,
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharatr21",
"html_url": "https://github.com/bharatr21",
"followers_url": "https://api.github.com/users/bharatr21/followers",
"following_url": "https://api.github.com/users/bharatr21/following{/other_user}",
"gists_url": "https://api.github.com/users/bharatr21/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bharatr21/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bharatr21/subscriptions",
"organizations_url": "https://api.github.com/users/bharatr21/orgs",
"repos_url": "https://api.github.com/users/bharatr21/repos",
"events_url": "https://api.github.com/users/bharatr21/events{/privacy}",
"received_events_url": "https://api.github.com/users/bharatr21/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-07-31T18:21:30 | 2023-07-31T23:46:14 | 2023-07-31T23:46:13 |
CONTRIBUTOR
| null |
- Description: Follow up of #8478
- Issue: #8477
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: [@BharatR123](twitter.com/BharatR123)
The links were still broken after #8478 and sadly the issue was not caught with either the Vercel app build and `make docs_linkcheck`
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8530/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8530",
"html_url": "https://github.com/langchain-ai/langchain/pull/8530",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8530.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8530.patch",
"merged_at": "2023-07-31T23:46:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8529
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8529/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8529/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8529/events
|
https://github.com/langchain-ai/langchain/pull/8529
| 1,829,767,775 |
PR_kwDOIPDwls5W1KP7
| 8,529 |
Added formatting system message option to get_buffer_string
|
{
"login": "lkuligin",
"id": 11026406,
"node_id": "MDQ6VXNlcjExMDI2NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkuligin",
"html_url": "https://github.com/lkuligin",
"followers_url": "https://api.github.com/users/lkuligin/followers",
"following_url": "https://api.github.com/users/lkuligin/following{/other_user}",
"gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions",
"organizations_url": "https://api.github.com/users/lkuligin/orgs",
"repos_url": "https://api.github.com/users/lkuligin/repos",
"events_url": "https://api.github.com/users/lkuligin/events{/privacy}",
"received_events_url": "https://api.github.com/users/lkuligin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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 | 5 | 2023-07-31T18:08:48 | 2023-11-29T01:51:02 | 2023-11-29T01:51:02 |
CONTRIBUTOR
| null |
#8427
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8529/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8529",
"html_url": "https://github.com/langchain-ai/langchain/pull/8529",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8529.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8529.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8528
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8528/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8528/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8528/events
|
https://github.com/langchain-ai/langchain/pull/8528
| 1,829,749,741 |
PR_kwDOIPDwls5W1GSl
| 8,528 |
fix issue #8357 by making json backtick regex greedy
|
{
"login": "bborn",
"id": 3760,
"node_id": "MDQ6VXNlcjM3NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bborn",
"html_url": "https://github.com/bborn",
"followers_url": "https://api.github.com/users/bborn/followers",
"following_url": "https://api.github.com/users/bborn/following{/other_user}",
"gists_url": "https://api.github.com/users/bborn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bborn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bborn/subscriptions",
"organizations_url": "https://api.github.com/users/bborn/orgs",
"repos_url": "https://api.github.com/users/bborn/repos",
"events_url": "https://api.github.com/users/bborn/events{/privacy}",
"received_events_url": "https://api.github.com/users/bborn/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-31T17:57:23 | 2023-08-03T09:04:04 | 2023-07-31T23:36:57 |
CONTRIBUTOR
| null |
- Description: Markdown code blocks in json response should not break the parser
- Issue: #8357
@baskaryan @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8528/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8528",
"html_url": "https://github.com/langchain-ai/langchain/pull/8528",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8528.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8528.patch",
"merged_at": "2023-07-31T23:36:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8527
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8527/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8527/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8527/events
|
https://github.com/langchain-ai/langchain/issues/8527
| 1,829,736,076 |
I_kwDOIPDwls5tD46M
| 8,527 |
Cannot import name 'HumanMessage' from 'langchain.schema'
|
{
"login": "aliammar182",
"id": 62073241,
"node_id": "MDQ6VXNlcjYyMDczMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/62073241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aliammar182",
"html_url": "https://github.com/aliammar182",
"followers_url": "https://api.github.com/users/aliammar182/followers",
"following_url": "https://api.github.com/users/aliammar182/following{/other_user}",
"gists_url": "https://api.github.com/users/aliammar182/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aliammar182/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aliammar182/subscriptions",
"organizations_url": "https://api.github.com/users/aliammar182/orgs",
"repos_url": "https://api.github.com/users/aliammar182/repos",
"events_url": "https://api.github.com/users/aliammar182/events{/privacy}",
"received_events_url": "https://api.github.com/users/aliammar182/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 | 8 | 2023-07-31T17:47:47 | 2023-08-01T16:35:32 | 2023-08-01T16:35:07 |
NONE
| null |
### System Info
LangChain ==0.0.248
Platform Windows 10
Python == 3.10.9
Whenever I use from langchain.schema import HumanMessage I get error,
**ImportError: cannot import name 'HumanMessage' from 'langchain.schema'**
I have tried updating llama-index but still getting same error
@agola11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.llms import OpenAI
llm = OpenAI(openai_api_key="key")
from langchain.schema import HumanMessage
### Expected behavior
It should work
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8527/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/8527/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8526
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8526/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8526/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8526/events
|
https://github.com/langchain-ai/langchain/issues/8526
| 1,829,703,530 |
I_kwDOIPDwls5tDw9q
| 8,526 |
how to Stream Search tool responses
|
{
"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": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T17:26:05 | 2023-11-16T16:06:41 | 2023-11-16T16:06:40 |
NONE
| null |
### Issue you'd like to raise.
search = SerpAPIWrapper()
tools = define_tools(llm_chain,search)
tools = [
Tool(
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events",
# return_direct = True
),
]
prompt = CustomPromptTemplate(
template=template,
tools=tools,
input_variables=["input", "intermediate_steps", "chat_history"]
)
output_parser = CustomOutputParser()
llm = ChatOpenAI(temperature=0, model_name = "gpt-4-0613", streaming = True, callbacks = [MyCustomHandler(new_payload=new_payload)])
llm_chain = LLMChain(llm=llm, prompt=prompt)
agent = LLMSingleActionAgent(llm_chain=llm_chain, output_parser=output_parser, stop=["\nObservation:"], allowed_tools=tools)
agent_executor = AgentExecutor.from_agent_and_tools(agent=agent,
tools=tools,
verbose=True, memory = memory, early_stopping_method='generate')
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8526/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/8526/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8525
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8525/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8525/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8525/events
|
https://github.com/langchain-ai/langchain/pull/8525
| 1,829,681,157 |
PR_kwDOIPDwls5W03bN
| 8,525 |
Add serialisable support for Replicate
|
{
"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": 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-07-31T17:09:33 | 2023-08-11T18:35:22 | 2023-08-11T18:35:22 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8525/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8525",
"html_url": "https://github.com/langchain-ai/langchain/pull/8525",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8525.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8525.patch",
"merged_at": "2023-08-11T18:35:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8524
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8524/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8524/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8524/events
|
https://github.com/langchain-ai/langchain/issues/8524
| 1,829,657,483 |
I_kwDOIPDwls5tDluL
| 8,524 |
Issue: ImportError: cannot import name 'SQLDatabaseChain' from 'langchain'
|
{
"login": "huangjia2019",
"id": 48795276,
"node_id": "MDQ6VXNlcjQ4Nzk1Mjc2",
"avatar_url": "https://avatars.githubusercontent.com/u/48795276?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huangjia2019",
"html_url": "https://github.com/huangjia2019",
"followers_url": "https://api.github.com/users/huangjia2019/followers",
"following_url": "https://api.github.com/users/huangjia2019/following{/other_user}",
"gists_url": "https://api.github.com/users/huangjia2019/gists{/gist_id}",
"starred_url": "https://api.github.com/users/huangjia2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/huangjia2019/subscriptions",
"organizations_url": "https://api.github.com/users/huangjia2019/orgs",
"repos_url": "https://api.github.com/users/huangjia2019/repos",
"events_url": "https://api.github.com/users/huangjia2019/events{/privacy}",
"received_events_url": "https://api.github.com/users/huangjia2019/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 | 8 | 2023-07-31T16:53:56 | 2023-09-22T01:01:29 | 2023-09-22T01:01:28 |
NONE
| null |
### Issue you'd like to raise.
I am just trying to from langchain import LLMMathChain, SerpAPIWrapper, SQLDatabase, SQLDatabaseChain
Traceback (most recent call last):
File "/home/huangj/01_LangChain/LangChainCHSample/05_05_SQL_Chain.py", line 1, in <module>
from langchain import OpenAI, SQLDatabase, SQLDatabaseChain
ImportError: cannot import name 'SQLDatabaseChain' from 'langchain' (/home/huangj/01_LangChain/langchain_env/lib/python3.8/site-packages/langchain/__init__.py)
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8524/reactions",
"total_count": 5,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8524/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8523
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8523/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8523/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8523/events
|
https://github.com/langchain-ai/langchain/pull/8523
| 1,829,649,522 |
PR_kwDOIPDwls5W0wck
| 8,523 |
Update prompts to only return SQL command
|
{
"login": "joefiorini",
"id": 3648,
"node_id": "MDQ6VXNlcjM2NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3648?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joefiorini",
"html_url": "https://github.com/joefiorini",
"followers_url": "https://api.github.com/users/joefiorini/followers",
"following_url": "https://api.github.com/users/joefiorini/following{/other_user}",
"gists_url": "https://api.github.com/users/joefiorini/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joefiorini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joefiorini/subscriptions",
"organizations_url": "https://api.github.com/users/joefiorini/orgs",
"repos_url": "https://api.github.com/users/joefiorini/repos",
"events_url": "https://api.github.com/users/joefiorini/events{/privacy}",
"received_events_url": "https://api.github.com/users/joefiorini/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 | 4 | 2023-07-31T16:48:56 | 2023-08-23T08:27:16 | 2023-08-15T12:41:48 |
NONE
| null |
v0.0.248 included new documentation for the sql integration (#8442). I had been struggling already to get sql integration working right, so as soon as I saw that I followed it. Using the `create_sql_query_chain` function resulted in the following error (it's marked as a warning, but sqlite still doesn't do anything with it:
> Warning: You can only execute one statement at a time.
I figured out this is because the prompt is still telling the LLM to try executing the sql to get an answer. In my case (on a local LLM and using OpenAI). So using the code:
```python
chain = create_sql_query_chain(llm, db, prompt=pipeline_prompt, k=10)
response = chain.invoke({"question": "How many records are in the service_logs table?"})
print(f"==={response}===") # Using === to show it's all one string
```
I got:
> ===SELECT COUNT(*) FROM "service_logs";
>
> SQLResult:
> Answer: 3===
I was able to fix this by removing the instruction to execute the query from the response, as well as the template that shows the query, answer, etc.
Note: I am only able to test this on sqlite. I don't have access to the other databases.
Tag: @hwchase17 @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8523/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8523",
"html_url": "https://github.com/langchain-ai/langchain/pull/8523",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8523.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8523.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8521
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8521/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8521/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8521/events
|
https://github.com/langchain-ai/langchain/pull/8521
| 1,829,461,763 |
PR_kwDOIPDwls5W0GOv
| 8,521 |
Fix bug in SPARQL intent selection
|
{
"login": "marioscrock",
"id": 5709852,
"node_id": "MDQ6VXNlcjU3MDk4NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5709852?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marioscrock",
"html_url": "https://github.com/marioscrock",
"followers_url": "https://api.github.com/users/marioscrock/followers",
"following_url": "https://api.github.com/users/marioscrock/following{/other_user}",
"gists_url": "https://api.github.com/users/marioscrock/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marioscrock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marioscrock/subscriptions",
"organizations_url": "https://api.github.com/users/marioscrock/orgs",
"repos_url": "https://api.github.com/users/marioscrock/repos",
"events_url": "https://api.github.com/users/marioscrock/events{/privacy}",
"received_events_url": "https://api.github.com/users/marioscrock/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 | 6 | 2023-07-31T15:24:04 | 2023-09-07T20:37:10 | 2023-09-05T21:37:02 |
CONTRIBUTOR
| null |
- Description: Fix bug in SPARQL intent selection
- Issue: After the change in #7758 the intent is always set to "UPDATE". Indeed, if the answer to the prompt contains only "SELECT" the `find("SELECT")` operation returns a higher value w.r.t. `-1` returned by `find("UPDATE")`.
- Dependencies: None,
- Tag maintainer: @baskaryan @aditya-29
- Twitter handle: @mario_scrock
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8521/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8521",
"html_url": "https://github.com/langchain-ai/langchain/pull/8521",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8521.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8521.patch",
"merged_at": "2023-09-05T21:37:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8519
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8519/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8519/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8519/events
|
https://github.com/langchain-ai/langchain/pull/8519
| 1,829,329,146 |
PR_kwDOIPDwls5Wzoha
| 8,519 |
🐛 Docs Fixes [2 one-liners, examples broken]
|
{
"login": "will-thompson-k",
"id": 19388895,
"node_id": "MDQ6VXNlcjE5Mzg4ODk1",
"avatar_url": "https://avatars.githubusercontent.com/u/19388895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/will-thompson-k",
"html_url": "https://github.com/will-thompson-k",
"followers_url": "https://api.github.com/users/will-thompson-k/followers",
"following_url": "https://api.github.com/users/will-thompson-k/following{/other_user}",
"gists_url": "https://api.github.com/users/will-thompson-k/gists{/gist_id}",
"starred_url": "https://api.github.com/users/will-thompson-k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/will-thompson-k/subscriptions",
"organizations_url": "https://api.github.com/users/will-thompson-k/orgs",
"repos_url": "https://api.github.com/users/will-thompson-k/repos",
"events_url": "https://api.github.com/users/will-thompson-k/events{/privacy}",
"received_events_url": "https://api.github.com/users/will-thompson-k/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-07-31T14:35:50 | 2023-08-02T20:39:41 | 2023-08-02T20:39:41 |
CONTRIBUTOR
| null |
## Description:
1)Map reduce example in docs is missing an important import statement. Figured other people would benefit from being able to copy 🍝 the code.
2)RefineDocumentsChain example also broken.
## Issue:
None
## Dependencies:
None. One liner.
## Tag maintainer:
@baskaryan
## Twitter handle:
I mean, it's a one line fix lol. But @will_thompson_k is my twitter handle.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8519/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8519",
"html_url": "https://github.com/langchain-ai/langchain/pull/8519",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8519.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8519.patch",
"merged_at": "2023-08-02T20:39:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8518
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8518/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8518/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8518/events
|
https://github.com/langchain-ai/langchain/pull/8518
| 1,829,274,100 |
PR_kwDOIPDwls5Wzcn6
| 8,518 |
bump 248
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T14:07:46 | 2023-07-31T14:14:46 | 2023-07-31T14:14:45 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8518/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8518",
"html_url": "https://github.com/langchain-ai/langchain/pull/8518",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8518.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8518.patch",
"merged_at": "2023-07-31T14:14:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8517
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8517/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8517/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8517/events
|
https://github.com/langchain-ai/langchain/pull/8517
| 1,829,257,138 |
PR_kwDOIPDwls5WzY7_
| 8,517 |
Add OpenAI Whisper Audio Loader
|
{
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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 |
{
"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
},
{
"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
}
] | null | 6 | 2023-07-31T13:58:56 | 2023-08-21T13:28:03 | 2023-08-21T13:28:03 |
CONTRIBUTOR
| null |
- Description: Introducing an ability to load a transcription document of audio file using OpenAI Whisper
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8517/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8517",
"html_url": "https://github.com/langchain-ai/langchain/pull/8517",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8517.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8517.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8516
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8516/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8516/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8516/events
|
https://github.com/langchain-ai/langchain/pull/8516
| 1,829,203,905 |
PR_kwDOIPDwls5WzNRH
| 8,516 |
Bugfix for async requests made through plugins failing making calls through agent.
|
{
"login": "harsha89vyas",
"id": 9271663,
"node_id": "MDQ6VXNlcjkyNzE2NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9271663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harsha89vyas",
"html_url": "https://github.com/harsha89vyas",
"followers_url": "https://api.github.com/users/harsha89vyas/followers",
"following_url": "https://api.github.com/users/harsha89vyas/following{/other_user}",
"gists_url": "https://api.github.com/users/harsha89vyas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harsha89vyas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harsha89vyas/subscriptions",
"organizations_url": "https://api.github.com/users/harsha89vyas/orgs",
"repos_url": "https://api.github.com/users/harsha89vyas/repos",
"events_url": "https://api.github.com/users/harsha89vyas/events{/privacy}",
"received_events_url": "https://api.github.com/users/harsha89vyas/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-07-31T13:32:11 | 2023-12-21T09:27:27 | null |
NONE
| null |
This auth parameter being passed to the method results in a duplicate keyword argument since auth doesn't exist on the parameters.
This is an issue fix for https://github.com/langchain-ai/langchain/issues/7953
It was introduced as part of this change.
https://github.com/langchain-ai/langchain/commit/663b0933e488383e6a9bc2a04b4b1cf866a8ea94
@agola11 @baskaryan
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8516/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/8516/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8516",
"html_url": "https://github.com/langchain-ai/langchain/pull/8516",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8516.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8516.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8515
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8515/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8515/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8515/events
|
https://github.com/langchain-ai/langchain/pull/8515
| 1,829,189,930 |
PR_kwDOIPDwls5WzKIZ
| 8,515 |
Bugfix for async requests made through plugins failing making calls through agent.
|
{
"login": "harsha89vyas",
"id": 9271663,
"node_id": "MDQ6VXNlcjkyNzE2NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9271663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harsha89vyas",
"html_url": "https://github.com/harsha89vyas",
"followers_url": "https://api.github.com/users/harsha89vyas/followers",
"following_url": "https://api.github.com/users/harsha89vyas/following{/other_user}",
"gists_url": "https://api.github.com/users/harsha89vyas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harsha89vyas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harsha89vyas/subscriptions",
"organizations_url": "https://api.github.com/users/harsha89vyas/orgs",
"repos_url": "https://api.github.com/users/harsha89vyas/repos",
"events_url": "https://api.github.com/users/harsha89vyas/events{/privacy}",
"received_events_url": "https://api.github.com/users/harsha89vyas/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-07-31T13:26:06 | 2023-07-31T13:27:39 | 2023-07-31T13:27:39 |
NONE
| null |
This auth parameter being passed to the method results in a duplicate keyword argument since auth doesn't exist on the parameters.
This is an issue fix for #7953
It was introduced as part of this change.
https://github.com/langchain-ai/langchain/commit/663b0933e488383e6a9bc2a04b4b1cf866a8ea94
@agola11 @baskaryan
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8515/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8515",
"html_url": "https://github.com/langchain-ai/langchain/pull/8515",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8515.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8515.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8514
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8514/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8514/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8514/events
|
https://github.com/langchain-ai/langchain/issues/8514
| 1,829,156,986 |
I_kwDOIPDwls5tBrh6
| 8,514 |
MMR Support for Matching Engine
|
{
"login": "hadjebi",
"id": 123940039,
"node_id": "U_kgDOB2Msxw",
"avatar_url": "https://avatars.githubusercontent.com/u/123940039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hadjebi",
"html_url": "https://github.com/hadjebi",
"followers_url": "https://api.github.com/users/hadjebi/followers",
"following_url": "https://api.github.com/users/hadjebi/following{/other_user}",
"gists_url": "https://api.github.com/users/hadjebi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hadjebi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hadjebi/subscriptions",
"organizations_url": "https://api.github.com/users/hadjebi/orgs",
"repos_url": "https://api.github.com/users/hadjebi/repos",
"events_url": "https://api.github.com/users/hadjebi/events{/privacy}",
"received_events_url": "https://api.github.com/users/hadjebi/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-07-31T13:08:29 | 2023-11-06T16:05:43 | 2023-11-06T16:05:42 |
NONE
| null |
### Feature request
MMR Support for Vertex AI Matching Engine
### Motivation
The results of Matching Engine are not optimal
### Your contribution
MMR Support for Vertex AI Matching Engine
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8514/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/8514/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8513
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8513/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8513/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8513/events
|
https://github.com/langchain-ai/langchain/pull/8513
| 1,829,145,772 |
PR_kwDOIPDwls5WzAc1
| 8,513 |
SQL use case docs
|
{
"login": "manuel-soria",
"id": 66525873,
"node_id": "MDQ6VXNlcjY2NTI1ODcz",
"avatar_url": "https://avatars.githubusercontent.com/u/66525873?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuel-soria",
"html_url": "https://github.com/manuel-soria",
"followers_url": "https://api.github.com/users/manuel-soria/followers",
"following_url": "https://api.github.com/users/manuel-soria/following{/other_user}",
"gists_url": "https://api.github.com/users/manuel-soria/gists{/gist_id}",
"starred_url": "https://api.github.com/users/manuel-soria/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manuel-soria/subscriptions",
"organizations_url": "https://api.github.com/users/manuel-soria/orgs",
"repos_url": "https://api.github.com/users/manuel-soria/repos",
"events_url": "https://api.github.com/users/manuel-soria/events{/privacy}",
"received_events_url": "https://api.github.com/users/manuel-soria/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 | 5 | 2023-07-31T13:01:49 | 2023-08-08T10:30:19 | 2023-08-08T10:30:19 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8513/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8513",
"html_url": "https://github.com/langchain-ai/langchain/pull/8513",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8513.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8513.patch",
"merged_at": "2023-08-08T10:30:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8512
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8512/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8512/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8512/events
|
https://github.com/langchain-ai/langchain/issues/8512
| 1,829,012,261 |
I_kwDOIPDwls5tBIMl
| 8,512 |
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
|
{
"login": "zouguoyan000",
"id": 29618485,
"node_id": "MDQ6VXNlcjI5NjE4NDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/29618485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zouguoyan000",
"html_url": "https://github.com/zouguoyan000",
"followers_url": "https://api.github.com/users/zouguoyan000/followers",
"following_url": "https://api.github.com/users/zouguoyan000/following{/other_user}",
"gists_url": "https://api.github.com/users/zouguoyan000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zouguoyan000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zouguoyan000/subscriptions",
"organizations_url": "https://api.github.com/users/zouguoyan000/orgs",
"repos_url": "https://api.github.com/users/zouguoyan000/repos",
"events_url": "https://api.github.com/users/zouguoyan000/events{/privacy}",
"received_events_url": "https://api.github.com/users/zouguoyan000/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-31T11:47:12 | 2023-11-07T16:06:23 | 2023-11-07T16:06:22 |
NONE
| null |
### Issue you'd like to raise.
when i want to use openai, i install it with command"pip3 install openai", but i really wanti to use chatglm, when i run "pip3 install chartglm ", it does not work",please help to answer the question
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8512/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/8512/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8511
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8511/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8511/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8511/events
|
https://github.com/langchain-ai/langchain/issues/8511
| 1,828,789,616 |
I_kwDOIPDwls5tAR1w
| 8,511 |
Add memory to an Agent using RedisChatMessageHistory with sentinels throwing an error
|
{
"login": "lironezra",
"id": 28096499,
"node_id": "MDQ6VXNlcjI4MDk2NDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/28096499?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lironezra",
"html_url": "https://github.com/lironezra",
"followers_url": "https://api.github.com/users/lironezra/followers",
"following_url": "https://api.github.com/users/lironezra/following{/other_user}",
"gists_url": "https://api.github.com/users/lironezra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lironezra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lironezra/subscriptions",
"organizations_url": "https://api.github.com/users/lironezra/orgs",
"repos_url": "https://api.github.com/users/lironezra/repos",
"events_url": "https://api.github.com/users/lironezra/events{/privacy}",
"received_events_url": "https://api.github.com/users/lironezra/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"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-31T09:34:40 | 2023-11-08T16:07:19 | 2023-11-08T16:07:19 |
NONE
| null |
### System Info
I am trying to use `RedisChatMessageHistory` within an agent, but I'm encountering this error:

My redis url I am using looks like that:
`redis_url = "redis+sentinel://:password@host:port/service_name/db"`
### Who can help?
@hwchase17
### 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
- [X] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
message_history = RedisChatMessageHistory(url=redis_url, ttl=600, session_id="test_id")
message_history.add_user_message("hi!")
message_history.add_ai_message("whats up?")
memory = ConversationBufferWindowMemory(memory_key="memory", chat_memory=message_history, return_messages=True, k=15)
```
### Expected behavior
See on Redis the messages I added in my code.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8511/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8510
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8510/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8510/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8510/events
|
https://github.com/langchain-ai/langchain/issues/8510
| 1,828,789,032 |
I_kwDOIPDwls5tARso
| 8,510 |
Issue: output_parsers to work with lists of custom objects?
|
{
"login": "egeres",
"id": 8045792,
"node_id": "MDQ6VXNlcjgwNDU3OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8045792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/egeres",
"html_url": "https://github.com/egeres",
"followers_url": "https://api.github.com/users/egeres/followers",
"following_url": "https://api.github.com/users/egeres/following{/other_user}",
"gists_url": "https://api.github.com/users/egeres/gists{/gist_id}",
"starred_url": "https://api.github.com/users/egeres/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/egeres/subscriptions",
"organizations_url": "https://api.github.com/users/egeres/orgs",
"repos_url": "https://api.github.com/users/egeres/repos",
"events_url": "https://api.github.com/users/egeres/events{/privacy}",
"received_events_url": "https://api.github.com/users/egeres/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T09:34:19 | 2023-08-01T14:42:01 | 2023-08-01T14:42:00 |
NONE
| null |
### Issue you'd like to raise.
So It's possible to parse "complex" objects with
```python
response_schemas = [
ResponseSchema(name="date", description="The date of the event"),
ResponseSchema(name="place", description="The place where the event will happen"),
]
output_parser = StructuredOutputParser.from_response_schemas(response_schemas)
```
and
```python
class Pair_of_numbers(BaseModel):
L: int = Field(description="A number")
R: int = Field(description="A number that ends in 2, 3 or 4")
@validator("R")
def question_ends_with_question_mark(cls, field):
if int(str(field)[-1]) not in [2, 3, 4]:
raise ValueError("No bro :(")
return field
parser = PydanticOutputParser(pydantic_object=Pair_of_numbers)
```
But I can't seem to find information on how to parse a list of custom objects/dicts? There is the [list parser](https://python.langchain.com/docs/modules/model_io/output_parsers/comma_separated), but this is just for simple strings. It's possible there is a way to achieve this wrapping a pydantic `BaseModel` in a python `List`, but so far I've had no luck 😫
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8510/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/8510/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8509
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8509/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8509/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8509/events
|
https://github.com/langchain-ai/langchain/pull/8509
| 1,828,678,624 |
PR_kwDOIPDwls5WxZ3T
| 8,509 |
add 3 property types in metadata for notiondb loader
|
{
"login": "litianc",
"id": 25164879,
"node_id": "MDQ6VXNlcjI1MTY0ODc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25164879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/litianc",
"html_url": "https://github.com/litianc",
"followers_url": "https://api.github.com/users/litianc/followers",
"following_url": "https://api.github.com/users/litianc/following{/other_user}",
"gists_url": "https://api.github.com/users/litianc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/litianc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/litianc/subscriptions",
"organizations_url": "https://api.github.com/users/litianc/orgs",
"repos_url": "https://api.github.com/users/litianc/repos",
"events_url": "https://api.github.com/users/litianc/events{/privacy}",
"received_events_url": "https://api.github.com/users/litianc/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 | 2 | 2023-07-31T08:33:31 | 2023-09-28T00:38:05 | 2023-09-28T00:38:05 |
CONTRIBUTOR
| null |
### Description:
NotionDB supports a number of common property types. I have found three common types that are not included in notiondb loader. When programs loaded them with notiondb, which will cause some metadata information not to be passed to langchain. Therefore, I added three common types:
- date
- created_time
- last_edit_time.
### Issue:
no
### Dependencies:
No dependencies added :)
### Tag maintainer:
@rlancemartin, @eyurtsev
### Twitter handle:
@BJTUTC
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8509/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8509",
"html_url": "https://github.com/langchain-ai/langchain/pull/8509",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8509.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8509.patch",
"merged_at": "2023-09-28T00:38:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8508
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8508/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8508/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8508/events
|
https://github.com/langchain-ai/langchain/pull/8508
| 1,828,677,520 |
PR_kwDOIPDwls5WxZoH
| 8,508 |
Add OpenAI Whisper Audio Loader
|
{
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-07-31T08:32:47 | 2023-07-31T08:33:11 | 2023-07-31T08:33:11 |
CONTRIBUTOR
| null |
Introducing an ability to load an audi transcription document via OpenAI Whisper.
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8508/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8508",
"html_url": "https://github.com/langchain-ai/langchain/pull/8508",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8508.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8508.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8506
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8506/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8506/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8506/events
|
https://github.com/langchain-ai/langchain/issues/8506
| 1,828,562,645 |
I_kwDOIPDwls5s_abV
| 8,506 |
DOC: why remove concepts.md from the latest document page
|
{
"login": "joeylin",
"id": 2030833,
"node_id": "MDQ6VXNlcjIwMzA4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2030833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeylin",
"html_url": "https://github.com/joeylin",
"followers_url": "https://api.github.com/users/joeylin/followers",
"following_url": "https://api.github.com/users/joeylin/following{/other_user}",
"gists_url": "https://api.github.com/users/joeylin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joeylin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joeylin/subscriptions",
"organizations_url": "https://api.github.com/users/joeylin/orgs",
"repos_url": "https://api.github.com/users/joeylin/repos",
"events_url": "https://api.github.com/users/joeylin/events{/privacy}",
"received_events_url": "https://api.github.com/users/joeylin/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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T07:18:44 | 2023-11-06T16:05:58 | 2023-11-06T16:05:57 |
NONE
| null |
### Issue with current documentation:
I did not find this page on https://python.langchain.com/docs/get_started/introduction.html
I'm just wondering, what's the motive ?
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8506/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8505
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8505/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8505/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8505/events
|
https://github.com/langchain-ai/langchain/issues/8505
| 1,828,539,383 |
I_kwDOIPDwls5s_Uv3
| 8,505 |
langchain/document_loaders/web_base.py
|
{
"login": "tabee",
"id": 8974056,
"node_id": "MDQ6VXNlcjg5NzQwNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8974056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tabee",
"html_url": "https://github.com/tabee",
"followers_url": "https://api.github.com/users/tabee/followers",
"following_url": "https://api.github.com/users/tabee/following{/other_user}",
"gists_url": "https://api.github.com/users/tabee/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tabee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tabee/subscriptions",
"organizations_url": "https://api.github.com/users/tabee/orgs",
"repos_url": "https://api.github.com/users/tabee/repos",
"events_url": "https://api.github.com/users/tabee/events{/privacy}",
"received_events_url": "https://api.github.com/users/tabee/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-07-31T07:02:32 | 2023-11-06T16:06:03 | 2023-11-06T16:06:02 |
NONE
| null |
### System Info
langchain/document_loaders/web_base.py > works for me only when i change:
```
return await response.text()
```
with:
```
body = await response.read()
return body.decode('utf-8', errors='ignore')
```
otherwise:
der Code produziert leider einen Fehler:
/home/codespace/.py
thon/current/bin/python3 /workspaces/b3rn_zero_ai/notebooks/ignite_vectorstore.py
Fetching pages: 13%|###8 | 33/256 [00:03<00:19, 11.18it/s]Traceback (most recent call last):
File "/workspaces/b3rn_zero_ai/notebooks/ignite_vectorstore.py", line 68, in <module>
documents = loader.load()
File "/home/codespace/.python/current/lib/python3.10/site-packages/langchain/document_loaders/sitemap.py", line 142, in load
results = self.scrape_all([el["loc"].strip() for el in els if "loc" in el])
File "/home/codespace/.python/current/lib/python3.10/site-packages/langchain/document_loaders/web_base.py", line 168, in scrape_all
results = asyncio.run(self.fetch_all(urls))
File "/home/codespace/.local/lib/python3.10/site-packages/nest_asyncio.py", line 35, in run
return loop.run_until_complete(task)
File "/home/codespace/.local/lib/python3.10/site-packages/nest_asyncio.py", line 90, in run_until_complete
return f.result()
File "/home/codespace/.python/current/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/home/codespace/.python/current/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/home/codespace/.python/current/lib/python3.10/site-packages/langchain/document_loaders/web_base.py", line 148, in fetch_all
return await tqdm_asyncio.gather(
File "/home/codespace/.python/current/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in gather
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "/home/codespace/.python/current/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in <listcomp>
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "/home/codespace/.python/current/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
return f.result() # May raise f.exception().
File "/home/codespace/.python/current/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/home/codespace/.python/current/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/home/codespace/.python/current/lib/python3.10/site-packages/tqdm/asyncio.py", line 76, in wrap_awaitable
return i, await f
File "/home/codespace/.python/current/lib/python3.10/asyncio/futures.py", line 285, in __await__
yield self # This tells Task to wait for completion.
File "/home/codespace/.python/current/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/home/codespace/.python/current/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/home/codespace/.python/current/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/home/codespace/.python/current/lib/python3.10/site-packages/langchain/document_loaders/web_base.py", line 136, in _fetch_with_rate_limit
return await self._fetch(url)
File "/home/codespace/.python/current/lib/python3.10/site-packages/langchain/document_loaders/web_base.py", line 120, in _fetch
return await response.text()
File "/home/codespace/.python/current/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1086, in text
return self._body.decode( # type: ignore[no-any-return,union-attr]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 11: invalid start byte
Fetching pages: 15%|####4 | 38/256 [00:04<00:23, 9.25it/s]
### 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
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I tried to make embedding from a website in "french" language.
### Expected behavior
we need a solution when : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 11: invalid start byte
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8505/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/8505/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8503
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8503/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8503/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8503/events
|
https://github.com/langchain-ai/langchain/issues/8503
| 1,828,472,740 |
I_kwDOIPDwls5s_Eek
| 8,503 |
How to use langchain to create my own databricks dolly chat robot
|
{
"login": "AndyLinOuO",
"id": 83204959,
"node_id": "MDQ6VXNlcjgzMjA0OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/83204959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndyLinOuO",
"html_url": "https://github.com/AndyLinOuO",
"followers_url": "https://api.github.com/users/AndyLinOuO/followers",
"following_url": "https://api.github.com/users/AndyLinOuO/following{/other_user}",
"gists_url": "https://api.github.com/users/AndyLinOuO/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AndyLinOuO/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AndyLinOuO/subscriptions",
"organizations_url": "https://api.github.com/users/AndyLinOuO/orgs",
"repos_url": "https://api.github.com/users/AndyLinOuO/repos",
"events_url": "https://api.github.com/users/AndyLinOuO/events{/privacy}",
"received_events_url": "https://api.github.com/users/AndyLinOuO/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": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 0 | 2023-07-31T06:08:19 | 2023-07-31T06:14:31 | 2023-07-31T06:14:31 |
NONE
| null |
I have a operation manual pdf file about a website and i want to use langchain let dolly can responed the question about the website
below is my code:
```
from langchain.embeddings import HuggingFaceEmbeddings
from PyPDF2 import PdfReader
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import ElasticVectorSearch, Pinecone, Weaviate, FAISS
from langchain.chains.question_answering import load_qa_chain
from langchain.llms import HuggingFacePipeline
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
from langchain.prompts import PromptTemplate
import torch
hf_embed = HuggingFaceEmbeddings(model_name="sentence-transformers/all-mpnet-base-v2")
from google.colab import drive
drive.mount('/content/gdrive', force_remount=True)
root_dir = "/content/gdrive/My Drive/"
reader = PdfReader('/content/gdrive/My Drive/data/operation Manual.pdf')
raw_text = ''
for i, page in enumerate(reader.pages):
text = page.extract_text()
if text:
raw_text += text
text_splitter = CharacterTextSplitter(
separator = "\n",
chunk_size = 1000,
chunk_overlap = 200,
length_function = len,
)
texts = text_splitter.split_text(raw_text)
docsearch = FAISS.from_texts(texts, hf_embed)
model_name = "databricks/dolly-v2-3b"
instruct_pipeline = pipeline(model=model_name, torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto",
return_full_text=True, max_new_tokens=256, top_p=0.95, top_k=50)
hf_pipe = HuggingFacePipeline(pipeline=instruct_pipeline)
prompt_template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
{context}
Question: {question}
"""
PROMPT = PromptTemplate(
template=prompt_template, input_variables=["context", "question"]
)
query = "I forgot my login password."
docs = docsearch.similarity_search(query)
chain = load_qa_chain(llm = hf_pipe, chain_type="stuff", prompt=PROMPT)
chain({"input_documents": docs, "question": query}, return_only_outputs=True)
```
I am refer to the article in the databricks website [https://www.databricks.com/resources/demos/tutorials/data-science-and-ai/build-your-chat-bot-with-dolly?itm_data=demo_center]
the output is not the answer that in the operation Manual and it have to spend much time (about 2.5 hours) to output answer. where did i do wrong?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8503/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8502
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8502/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8502/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8502/events
|
https://github.com/langchain-ai/langchain/pull/8502
| 1,828,400,680 |
PR_kwDOIPDwls5WwdoV
| 8,502 |
Async Recursive URL loader
|
{
"login": "proximal-phalanx",
"id": 108248080,
"node_id": "U_kgDOBnO8EA",
"avatar_url": "https://avatars.githubusercontent.com/u/108248080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/proximal-phalanx",
"html_url": "https://github.com/proximal-phalanx",
"followers_url": "https://api.github.com/users/proximal-phalanx/followers",
"following_url": "https://api.github.com/users/proximal-phalanx/following{/other_user}",
"gists_url": "https://api.github.com/users/proximal-phalanx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/proximal-phalanx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proximal-phalanx/subscriptions",
"organizations_url": "https://api.github.com/users/proximal-phalanx/orgs",
"repos_url": "https://api.github.com/users/proximal-phalanx/repos",
"events_url": "https://api.github.com/users/proximal-phalanx/events{/privacy}",
"received_events_url": "https://api.github.com/users/proximal-phalanx/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 |
{
"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
}
|
[
{
"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
}
] | null | 17 | 2023-07-31T04:51:19 | 2023-08-11T09:12:23 | 2023-08-06T23:22:32 |
CONTRIBUTOR
| null |
Description: This PR improves the function of recursive_url_loader, such as limiting the depth of the access, and customizable extractors(from the raw webpage to the text of the Document object), so that users can use other tools to extract the webpage. This PR also includes the document and test for the new loader.
Old PR closed due to project structure change. #7756
Because socket requests are not allowed, the old unit test was removed.
Issue: N/A
Dependencies: asyncio, aiohttp
Tag maintainer: @rlancemartin
Twitter handle: @ Zend_Nihility
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8502/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/8502/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8502",
"html_url": "https://github.com/langchain-ai/langchain/pull/8502",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8502.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8502.patch",
"merged_at": "2023-08-06T23:22:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8500
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8500/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8500/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8500/events
|
https://github.com/langchain-ai/langchain/pull/8500
| 1,828,319,217 |
PR_kwDOIPDwls5WwLwL
| 8,500 |
Fixed typo: papaer -> paper
|
{
"login": "nicolas-raoul",
"id": 99590,
"node_id": "MDQ6VXNlcjk5NTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/99590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicolas-raoul",
"html_url": "https://github.com/nicolas-raoul",
"followers_url": "https://api.github.com/users/nicolas-raoul/followers",
"following_url": "https://api.github.com/users/nicolas-raoul/following{/other_user}",
"gists_url": "https://api.github.com/users/nicolas-raoul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicolas-raoul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicolas-raoul/subscriptions",
"organizations_url": "https://api.github.com/users/nicolas-raoul/orgs",
"repos_url": "https://api.github.com/users/nicolas-raoul/repos",
"events_url": "https://api.github.com/users/nicolas-raoul/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicolas-raoul/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-31T03:15:18 | 2023-07-31T04:08:12 | 2023-07-31T04:08:12 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8500/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8500",
"html_url": "https://github.com/langchain-ai/langchain/pull/8500",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8500.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8500.patch",
"merged_at": "2023-07-31T04:08:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8499
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8499/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8499/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8499/events
|
https://github.com/langchain-ai/langchain/issues/8499
| 1,828,243,007 |
I_kwDOIPDwls5s-MY_
| 8,499 |
API Key Leakage in the PromptLayerChatOpenAI Model
|
{
"login": "noahlias",
"id": 3949397,
"node_id": "MDQ6VXNlcjM5NDkzOTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3949397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noahlias",
"html_url": "https://github.com/noahlias",
"followers_url": "https://api.github.com/users/noahlias/followers",
"following_url": "https://api.github.com/users/noahlias/following{/other_user}",
"gists_url": "https://api.github.com/users/noahlias/gists{/gist_id}",
"starred_url": "https://api.github.com/users/noahlias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/noahlias/subscriptions",
"organizations_url": "https://api.github.com/users/noahlias/orgs",
"repos_url": "https://api.github.com/users/noahlias/repos",
"events_url": "https://api.github.com/users/noahlias/events{/privacy}",
"received_events_url": "https://api.github.com/users/noahlias/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-31T02:14:44 | 2023-11-02T08:48:45 | 2023-11-02T08:48:37 |
NONE
| null |
### System Info
**Langchain**:0.0.247
**Python**:3.10.5
**System**: macOS 13.4 arm64
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
There is the minimal produce demo
```python
from langchain.chat_models import PromptLayerChatOpenAI
from dotenv import load_dotenv
load_dotenv()
import promptlayer
from langchain.schema import HumanMessage
promptlayer.api_key = "xxxxxxxxxxx"
llm = PromptLayerChatOpenAI(model="gpt-3.5-turbo", verbose=True, pl_tags=["test"])
print(llm([HumanMessage(content="I am a cat and I want")]))
```
I found it on the [**PromptLayer**](https://promptlayer.com/)
<img width="978" alt="image" src="https://github.com/langchain-ai/langchain/assets/3949397/770f6c3f-ec8a-42df-967d-8e207b3208d4">
### Expected behavior
Why is the API key carried in this PromptLayer? This is insecure, it should be removed. Then, I discovered the root of the problem
The paras are generated from this function (**_generate** and **_agenerate**).
And I got it inherit from **ChatOpenAI** model function __create_message_dicts_ and __client_params_, then I found the api_key
https://github.com/langchain-ai/langchain/blob/08f5e6b8012f5eda2609103f33676199a3781a15/libs/langchain/langchain/chat_models/openai.py#L487
but the api_key is necessary for ChatOpenAI model to get the result.
so it should be changed with this two line
https://github.com/langchain-ai/langchain/blob/08f5e6b8012f5eda2609103f33676199a3781a15/libs/langchain/langchain/chat_models/promptlayer_openai.py#L59
https://github.com/langchain-ai/langchain/blob/08f5e6b8012f5eda2609103f33676199a3781a15/libs/langchain/langchain/chat_models/promptlayer_openai.py#L98
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8499/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8498
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8498/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8498/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8498/events
|
https://github.com/langchain-ai/langchain/issues/8498
| 1,828,082,841 |
I_kwDOIPDwls5s9lSZ
| 8,498 |
Loading documents from a YouTube url doesn't work.
|
{
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-07-30T20:47:14 | 2023-07-31T06:48:09 | 2023-07-31T06:48:09 |
CONTRIBUTOR
| null |
### System Info
LangChain 0.0.247, Python 3.11, Linux.
### Who can help?
@rlancemartin
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Described [here](https://python.langchain.com/docs/integrations/document_loaders/youtube_audio).
```python
from langchain.document_loaders.generic import GenericLoader
from langchain.document_loaders.parsers import OpenAIWhisperParser
from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
# Two Karpathy lecture videos
urls = ["https://youtu.be/kCc8FmEb1nY", "https://youtu.be/VMj-3S1tku0"]
# Directory to save audio files
save_dir = "~/Downloads/YouTube"
# Transcribe the videos to text
loader = GenericLoader(YoutubeAudioLoader(urls, save_dir), OpenAIWhisperParser())
docs = loader.load()
print(docs)
```
I get an empty list.
```log
[youtube] Extracting URL: https://youtu.be/kCc8FmEb1nY
[youtube] kCc8FmEb1nY: Downloading webpage
[youtube] kCc8FmEb1nY: Downloading ios player API JSON
[youtube] kCc8FmEb1nY: Downloading android player API JSON
[youtube] kCc8FmEb1nY: Downloading m3u8 information
[info] kCc8FmEb1nY: Downloading 1 format(s): 140
[download] Destination: /home/dm/Downloads/YouTube/Let's build GPT: from scratch, in code, spelled out..m4a
[download] 100% of 107.73MiB in 00:00:11 at 9.19MiB/s
[FixupM4a] Correcting container of "/home/dm/Downloads/YouTube/Let's build GPT: from scratch, in code, spelled out..m4a"
[ExtractAudio] Not converting audio /home/dm/Downloads/YouTube/Let's build GPT: from scratch, in code, spelled out..m4a; file is already in target format m4a
[youtube] Extracting URL: https://youtu.be/VMj-3S1tku0
[youtube] VMj-3S1tku0: Downloading webpage
[youtube] VMj-3S1tku0: Downloading ios player API JSON
[youtube] VMj-3S1tku0: Downloading android player API JSON
[youtube] VMj-3S1tku0: Downloading m3u8 information
[info] VMj-3S1tku0: Downloading 1 format(s): 140
[download] Destination: /home/dm/Downloads/YouTube/The spelled-out intro to neural networks and backpropagation: building micrograd.m4a
[download] 100% of 135.08MiB in 00:00:13 at 9.65MiB/s
[FixupM4a] Correcting container of "/home/dm/Downloads/YouTube/The spelled-out intro to neural networks and backpropagation: building micrograd.m4a"
[ExtractAudio] Not converting audio /home/dm/Downloads/YouTube/The spelled-out intro to neural networks and backpropagation: building micrograd.m4a; file is already in target format m4a
[]
```
### Expected behavior
A non-empty list of documents is expected.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8498/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/8498/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8497
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8497/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8497/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8497/events
|
https://github.com/langchain-ai/langchain/pull/8497
| 1,828,079,937 |
PR_kwDOIPDwls5WvYau
| 8,497 |
Add StreamlitChatMessageHistory
|
{
"login": "sfc-gh-jcarroll",
"id": 116604821,
"node_id": "U_kgDOBvM_lQ",
"avatar_url": "https://avatars.githubusercontent.com/u/116604821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jcarroll",
"html_url": "https://github.com/sfc-gh-jcarroll",
"followers_url": "https://api.github.com/users/sfc-gh-jcarroll/followers",
"following_url": "https://api.github.com/users/sfc-gh-jcarroll/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jcarroll/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jcarroll/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jcarroll/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jcarroll/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jcarroll/repos",
"events_url": "https://api.github.com/users/sfc-gh-jcarroll/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jcarroll/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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 | 10 | 2023-07-30T20:35:07 | 2023-08-03T07:45:16 | 2023-08-01T21:28:15 |
CONTRIBUTOR
| null |
Add a StreamlitChatMessageHistory class that stores chat messages in [Streamlit's Session State](https://docs.streamlit.io/library/api-reference/session-state).
Note: The integration test uses a currently-experimental Streamlit testing framework to simulate the execution of a Streamlit app. Marking this PR as draft until I confirm with the Streamlit team that we're comfortable supporting it.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8497/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8497",
"html_url": "https://github.com/langchain-ai/langchain/pull/8497",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8497.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8497.patch",
"merged_at": "2023-08-01T21:28:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8496
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8496/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8496/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8496/events
|
https://github.com/langchain-ai/langchain/pull/8496
| 1,828,077,530 |
PR_kwDOIPDwls5WvX-b
| 8,496 |
router runnable
|
{
"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-07-30T20:24:54 | 2023-07-31T18:07:11 | 2023-07-31T18:07:10 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8496/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8496",
"html_url": "https://github.com/langchain-ai/langchain/pull/8496",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8496.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8496.patch",
"merged_at": "2023-07-31T18:07:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8494
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8494/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8494/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8494/events
|
https://github.com/langchain-ai/langchain/issues/8494
| 1,828,038,702 |
I_kwDOIPDwls5s9agu
| 8,494 |
RuntimeError: asyncio.run() cannot be called from a running event loop
|
{
"login": "screwyforcepush",
"id": 134045434,
"node_id": "U_kgDOB_1e-g",
"avatar_url": "https://avatars.githubusercontent.com/u/134045434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/screwyforcepush",
"html_url": "https://github.com/screwyforcepush",
"followers_url": "https://api.github.com/users/screwyforcepush/followers",
"following_url": "https://api.github.com/users/screwyforcepush/following{/other_user}",
"gists_url": "https://api.github.com/users/screwyforcepush/gists{/gist_id}",
"starred_url": "https://api.github.com/users/screwyforcepush/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/screwyforcepush/subscriptions",
"organizations_url": "https://api.github.com/users/screwyforcepush/orgs",
"repos_url": "https://api.github.com/users/screwyforcepush/repos",
"events_url": "https://api.github.com/users/screwyforcepush/events{/privacy}",
"received_events_url": "https://api.github.com/users/screwyforcepush/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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-30T19:10:58 | 2023-12-13T16:07:53 | 2023-12-13T16:07:52 |
NONE
| null |
### System Info
python 3.11
### Who can help?
@rlancemartin
File langchain/document_loaders/async_html.py:136--> results = asyncio.run(self.fetch_all(self.web_paths))
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.retrievers.web_research import WebResearchRetriever
import pinecone
import os
from langchain.vectorstores import Pinecone
from langchain.utilities import GoogleSearchAPIWrapper
from common_util.llms import LLM_FACT, EMBEDDINGS
from dotenv import load_dotenv
from common_util.namespaceEnum import PineconeNamespaceEnum
load_dotenv()
index_name = "langchain-demo"
pinecone.init(api_key=os.getenv("PINECONE_API_KEY"), environment=os.getenv("PINECONE_ENV"))
# Vectorstore
vectorstore = Pinecone.from_existing_index(index_name, EMBEDDINGS, namespace=PineconeNamespaceEnum.WEB_SEARCH.value)
# LLM
llm = LLM_FACT
# Search
os.environ["GOOGLE_CSE_ID"] = os.getenv("GOOGLE_CSE_ID")
os.environ["GOOGLE_API_KEY"] = os.getenv("GOOGLE_API_KEY")
search = GoogleSearchAPIWrapper()
web_research_retriever = WebResearchRetriever.from_llm(
vectorstore=vectorstore,
llm=llm,
search=search,
)
from langchain.chains import RetrievalQAWithSourcesChain
user_input = "How do LLM Powered Autonomous Agents work?"
qa_chain = RetrievalQAWithSourcesChain.from_chain_type(llm,retriever=web_research_retriever)
result = qa_chain({"question": user_input})
result
### Expected behavior
should search the web async
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8494/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8494/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8493
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8493/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8493/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8493/events
|
https://github.com/langchain-ai/langchain/issues/8493
| 1,828,012,369 |
I_kwDOIPDwls5s9UFR
| 8,493 |
Agent stopped due to iteration limit or time limit
|
{
"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": 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 | 6 | 2023-07-30T17:37:50 | 2023-11-01T05:28:25 | null |
NONE
| null |
### Issue you'd like to raise.
I am getting "Agent stopped due to iteration limit or time limit" as the error , As my max_iteration is also 15 then too i am getting this error.
I need some particular output from the model.
Following is my code
agent_executor = AgentExecutor.from_agent_and_tools(agent=agent,
tools=tools,
verbose=True, memory = memory, max_iterations = 15)
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8493/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8492
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8492/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8492/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8492/events
|
https://github.com/langchain-ai/langchain/pull/8492
| 1,827,967,056 |
PR_kwDOIPDwls5WvBbd
| 8,492 |
Added Proper Documentation for `faiss-gpu` Installation
|
{
"login": "OttomanZ",
"id": 79105382,
"node_id": "MDQ6VXNlcjc5MTA1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/79105382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OttomanZ",
"html_url": "https://github.com/OttomanZ",
"followers_url": "https://api.github.com/users/OttomanZ/followers",
"following_url": "https://api.github.com/users/OttomanZ/following{/other_user}",
"gists_url": "https://api.github.com/users/OttomanZ/gists{/gist_id}",
"starred_url": "https://api.github.com/users/OttomanZ/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OttomanZ/subscriptions",
"organizations_url": "https://api.github.com/users/OttomanZ/orgs",
"repos_url": "https://api.github.com/users/OttomanZ/repos",
"events_url": "https://api.github.com/users/OttomanZ/events{/privacy}",
"received_events_url": "https://api.github.com/users/OttomanZ/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-30T15:04:27 | 2023-07-30T20:24:30 | 2023-07-30T20:24:30 |
CONTRIBUTOR
| null |
### Description
In the LangChain Documentation and Comments, I've Noticed that `pip install faiss` was mentioned, instead of `pip install faiss-gpu`, since installing `pip install faiss` results in an error. I've gone ahead and updated the Documentation, and `faiss.ipynb`. This Change will ensure ease of use for the end user, trying to install `faiss-gpu`.
### Issue:
Documentation / Comments Related.
### Dependencies:
No Dependencies we're changed only updated the files with the wrong reference.
### Tag maintainer:
@rlancemartin, @eyurtsev (Thank You for your contributions :smile: )
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8492/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8492",
"html_url": "https://github.com/langchain-ai/langchain/pull/8492",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8492.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8492.patch",
"merged_at": "2023-07-30T20:24:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8490
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8490/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8490/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8490/events
|
https://github.com/langchain-ai/langchain/pull/8490
| 1,827,955,183 |
PR_kwDOIPDwls5Wu_HK
| 8,490 |
bump experimental to 008
|
{
"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-07-30T14:24:53 | 2023-07-30T14:28:19 | 2023-07-30T14:28:18 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8490/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8490",
"html_url": "https://github.com/langchain-ai/langchain/pull/8490",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8490.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8490.patch",
"merged_at": "2023-07-30T14:28:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8489
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8489/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8489/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8489/events
|
https://github.com/langchain-ai/langchain/pull/8489
| 1,827,931,798 |
PR_kwDOIPDwls5Wu6di
| 8,489 |
Re-add __add__ functionality for messages (revert #8245)
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-30T13:07:04 | 2023-08-02T14:51:46 | 2023-08-02T14:51:44 |
COLLABORATOR
| null |
This PR reverts #8245, so `__add__` is defined on base messages.
Resolves issue: https://github.com/langchain-ai/langchain/issues/8472
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8489/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/8489/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8489",
"html_url": "https://github.com/langchain-ai/langchain/pull/8489",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8489.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8489.patch",
"merged_at": "2023-08-02T14:51:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8488
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8488/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8488/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8488/events
|
https://github.com/langchain-ai/langchain/pull/8488
| 1,827,884,412 |
PR_kwDOIPDwls5WuxCT
| 8,488 |
Add new run types for Runnables
|
{
"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-07-30T10:27:39 | 2023-08-01T11:56:41 | 2023-08-01T11:56:40 |
COLLABORATOR
| null |
- allow overriding run_type in on_chain_start
<!-- Thank you for contributing to LangChain!
Replace this 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 you're 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.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8488/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8488",
"html_url": "https://github.com/langchain-ai/langchain/pull/8488",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8488.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8488.patch",
"merged_at": "2023-08-01T11:56:40"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.