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/8166
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8166/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8166/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8166/events
|
https://github.com/langchain-ai/langchain/pull/8166
| 1,817,786,302 |
PR_kwDOIPDwls5WMra8
| 8,166 |
utils/transcripts.py for chunking preserving previous behaviour as default for #8087
|
{
"login": "beaterblank",
"id": 68276845,
"node_id": "MDQ6VXNlcjY4Mjc2ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/68276845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beaterblank",
"html_url": "https://github.com/beaterblank",
"followers_url": "https://api.github.com/users/beaterblank/followers",
"following_url": "https://api.github.com/users/beaterblank/following{/other_user}",
"gists_url": "https://api.github.com/users/beaterblank/gists{/gist_id}",
"starred_url": "https://api.github.com/users/beaterblank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/beaterblank/subscriptions",
"organizations_url": "https://api.github.com/users/beaterblank/orgs",
"repos_url": "https://api.github.com/users/beaterblank/repos",
"events_url": "https://api.github.com/users/beaterblank/events{/privacy}",
"received_events_url": "https://api.github.com/users/beaterblank/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
open
| false |
{
"login": "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 | 11 | 2023-07-24T07:09:13 | 2023-12-07T14:18:24 | null |
NONE
| null |
fixes #8087
added chunking mechanism for for transcript loaders srt.py and youtubeloader.py so user could optionally load transcript for a certain duration
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8166/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/8166/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8166",
"html_url": "https://github.com/langchain-ai/langchain/pull/8166",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8166.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8166.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8165
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8165/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8165/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8165/events
|
https://github.com/langchain-ai/langchain/pull/8165
| 1,817,766,918 |
PR_kwDOIPDwls5WMnQH
| 8,165 |
fix:get bilibili subtitles
|
{
"login": "liguoqinjim",
"id": 2113954,
"node_id": "MDQ6VXNlcjIxMTM5NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2113954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liguoqinjim",
"html_url": "https://github.com/liguoqinjim",
"followers_url": "https://api.github.com/users/liguoqinjim/followers",
"following_url": "https://api.github.com/users/liguoqinjim/following{/other_user}",
"gists_url": "https://api.github.com/users/liguoqinjim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liguoqinjim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liguoqinjim/subscriptions",
"organizations_url": "https://api.github.com/users/liguoqinjim/orgs",
"repos_url": "https://api.github.com/users/liguoqinjim/repos",
"events_url": "https://api.github.com/users/liguoqinjim/events{/privacy}",
"received_events_url": "https://api.github.com/users/liguoqinjim/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 |
{
"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 | 6 | 2023-07-24T06:55:07 | 2023-09-21T08:53:56 | 2023-08-04T21:30:41 |
CONTRIBUTOR
| null |
- Description: fix the Loader 'BiliBiliLoader'
- Issue: the API response was changed

The previously used API no longer returns the "subtitle_url" property.

We should use another API to get `subtitle_url` property.
The `subtitle_url` returned by this API does not include the http schema and needs to be added.
- Dependencies: Nope
- Tag maintainer: @rlancemartin
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8165/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8165",
"html_url": "https://github.com/langchain-ai/langchain/pull/8165",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8165.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8165.patch",
"merged_at": "2023-08-04T21:30:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8164
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8164/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8164/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8164/events
|
https://github.com/langchain-ai/langchain/pull/8164
| 1,817,762,700 |
PR_kwDOIPDwls5WMmWH
| 8,164 |
Add support for load_chat_model
|
{
"login": "shivamMg",
"id": 7882752,
"node_id": "MDQ6VXNlcjc4ODI3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7882752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivamMg",
"html_url": "https://github.com/shivamMg",
"followers_url": "https://api.github.com/users/shivamMg/followers",
"following_url": "https://api.github.com/users/shivamMg/following{/other_user}",
"gists_url": "https://api.github.com/users/shivamMg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shivamMg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shivamMg/subscriptions",
"organizations_url": "https://api.github.com/users/shivamMg/orgs",
"repos_url": "https://api.github.com/users/shivamMg/repos",
"events_url": "https://api.github.com/users/shivamMg/events{/privacy}",
"received_events_url": "https://api.github.com/users/shivamMg/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 |
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
},
{
"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 | 10 | 2023-07-24T06:51:54 | 2023-10-28T22:51:47 | 2023-08-04T06:19:10 |
CONTRIBUTOR
| null |
- Description:
- Add `load_chat_model()` and `load_chat_model_from_config()` in `langchain.chat_model.loading` module
- Update `_load_llm_chain()` to use the above functions in case of LLMs that are Chat Models
- Fix warning while loading `AzureChatOpenAI` and `ChatOpenAI`: WARNING! engine is not default parameter.
- **TODO**: I'll add/update unit tests once I get a go-ahead from maintainers for these new additions.
- Issue:
- https://github.com/langchain-ai/langchain/issues/2627
- Related PR that was closed: https://github.com/langchain-ai/langchain/pull/1715
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8164/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8164",
"html_url": "https://github.com/langchain-ai/langchain/pull/8164",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8164.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8164.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8163
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8163/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8163/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8163/events
|
https://github.com/langchain-ai/langchain/issues/8163
| 1,817,645,290 |
I_kwDOIPDwls5sVxDq
| 8,163 |
Adding Adobe PDF extraction API as an additional langchain document loader
|
{
"login": "moein-shariatnia",
"id": 74396011,
"node_id": "MDQ6VXNlcjc0Mzk2MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/74396011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moein-shariatnia",
"html_url": "https://github.com/moein-shariatnia",
"followers_url": "https://api.github.com/users/moein-shariatnia/followers",
"following_url": "https://api.github.com/users/moein-shariatnia/following{/other_user}",
"gists_url": "https://api.github.com/users/moein-shariatnia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/moein-shariatnia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moein-shariatnia/subscriptions",
"organizations_url": "https://api.github.com/users/moein-shariatnia/orgs",
"repos_url": "https://api.github.com/users/moein-shariatnia/repos",
"events_url": "https://api.github.com/users/moein-shariatnia/events{/privacy}",
"received_events_url": "https://api.github.com/users/moein-shariatnia/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 3 | 2023-07-24T05:21:58 | 2023-10-24T11:49:27 | null |
NONE
| null |
### Feature request
Hi langchain team!
I'd like to contribute this feature to the langchain document loaders.
There are multiple pros for using Adobe API instead of the existing libraries for converting pdf to text and other metadata; e.g, adobe API allows for extraction of tables and figures in pdf documents as separate .csv and .png files, respectively.
These are of course in addition to raw text extraction which in my opinion works better most of the time compared to other libraries.
Here are a few links to examples and source code:
[Adobe python API example](https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/quickstarts/python/)
[Adobe SDK](https://github.com/adobe/pdfservices-python-sdk-samples/tree/main/src/extractpdf)
### Motivation
I needed to extract the tables in pdf files in a standard format to extract the data in them more carefully. I was also not satisfied by the existing libraries performance on raw text extraction.
### Your contribution
I'd like to contribute this feature as a new document loader in langchain. Let me know if I can start working on it.
Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8163/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8163/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8162
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8162/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8162/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8162/events
|
https://github.com/langchain-ai/langchain/pull/8162
| 1,817,624,944 |
PR_kwDOIPDwls5WMJAs
| 8,162 |
Harrison/hugginggpt
|
{
"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
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-07-24T04:59:48 | 2023-07-24T14:36:26 | 2023-07-24T14:36:24 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8162/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8162",
"html_url": "https://github.com/langchain-ai/langchain/pull/8162",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8162.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8162.patch",
"merged_at": "2023-07-24T14:36:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8161
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8161/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8161/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8161/events
|
https://github.com/langchain-ai/langchain/issues/8161
| 1,817,621,937 |
I_kwDOIPDwls5sVrWx
| 8,161 |
langchain.llms.Petals doesnt support llama models
|
{
"login": "okyx",
"id": 59725623,
"node_id": "MDQ6VXNlcjU5NzI1NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/59725623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okyx",
"html_url": "https://github.com/okyx",
"followers_url": "https://api.github.com/users/okyx/followers",
"following_url": "https://api.github.com/users/okyx/following{/other_user}",
"gists_url": "https://api.github.com/users/okyx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okyx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okyx/subscriptions",
"organizations_url": "https://api.github.com/users/okyx/orgs",
"repos_url": "https://api.github.com/users/okyx/repos",
"events_url": "https://api.github.com/users/okyx/events{/privacy}",
"received_events_url": "https://api.github.com/users/okyx/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-07-24T04:56:39 | 2023-11-04T16:05:05 | 2023-11-04T16:05:05 |
NONE
| null |
### Feature request
support for llama models for petals module
### Motivation
i'm furstated when i want to use petals (distributed model) for llama2, my gpu is not enough to run all models
### Your contribution
-
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8161/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8160
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8160/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8160/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8160/events
|
https://github.com/langchain-ai/langchain/pull/8160
| 1,817,621,542 |
PR_kwDOIPDwls5WMIRb
| 8,160 |
Add support for load_chat_model
|
{
"login": "shivamMg",
"id": 7882752,
"node_id": "MDQ6VXNlcjc4ODI3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7882752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivamMg",
"html_url": "https://github.com/shivamMg",
"followers_url": "https://api.github.com/users/shivamMg/followers",
"following_url": "https://api.github.com/users/shivamMg/following{/other_user}",
"gists_url": "https://api.github.com/users/shivamMg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shivamMg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shivamMg/subscriptions",
"organizations_url": "https://api.github.com/users/shivamMg/orgs",
"repos_url": "https://api.github.com/users/shivamMg/repos",
"events_url": "https://api.github.com/users/shivamMg/events{/privacy}",
"received_events_url": "https://api.github.com/users/shivamMg/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 2 | 2023-07-24T04:56:10 | 2023-07-24T06:41:27 | 2023-07-24T06:41:27 |
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/8160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8160/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8160",
"html_url": "https://github.com/langchain-ai/langchain/pull/8160",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8160.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8160.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8159
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8159/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8159/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8159/events
|
https://github.com/langchain-ai/langchain/issues/8159
| 1,817,560,003 |
I_kwDOIPDwls5sVcPD
| 8,159 |
Migration OpenAIEmbedding from Azure to OpenAI reproduce gives an error message "ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions."
|
{
"login": "somisawa",
"id": 37485236,
"node_id": "MDQ6VXNlcjM3NDg1MjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37485236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/somisawa",
"html_url": "https://github.com/somisawa",
"followers_url": "https://api.github.com/users/somisawa/followers",
"following_url": "https://api.github.com/users/somisawa/following{/other_user}",
"gists_url": "https://api.github.com/users/somisawa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/somisawa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/somisawa/subscriptions",
"organizations_url": "https://api.github.com/users/somisawa/orgs",
"repos_url": "https://api.github.com/users/somisawa/repos",
"events_url": "https://api.github.com/users/somisawa/events{/privacy}",
"received_events_url": "https://api.github.com/users/somisawa/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 | 2 | 2023-07-24T03:58:46 | 2023-11-03T16:06:27 | 2023-11-03T16:06:27 |
NONE
| null |
### System Info
python = ">=3.9,<3.12"
fire = "0.5.0"
pandas = "2.0.2"
sqlalchemy = "2.0.15"
rich = "13.4.1"
mysqlclient = "2.1.1"
pandera = "0.15.1"
openai = "0.27.7"
guidance = "0.0.62"
langchain = "0.0.221"
textual = "^0.29.0"
### Who can help?
@hwchase17 @agola11
### 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
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Prepare data. In our case, there are 3576 documents.
2. Migrate API
before migration:
```python
embeddings = OpenAIEmbeddings(
model="text-embedding-ada-002",
deployment=<MY_DEPLOYMENT_NAME>,
chunk_size=1,
openai_api_base=os.environ["OPENAI_API_BASE"],
openai_api_key=os.environ["OPENAI_API_KEY"],
openai_api_type="azure",
)
```
after migration:
```python
embeddings = OpenAIEmbeddings(
model="text-embedding-ada-002",
openai_api_key=os.environ["OPENAI_API_KEY"],
openai_api_type="openai",
)
```
3. Make FAISS DB
The code are the same as that of before-migration version.
db = FAISS.from_documents(docs, embeddings)
4. Error occurs
```
Traceback (most recent call last):
File "/path/make_dataframe.py", line 54, in <module>
db = FAISS.from_documents(docs, embeddings)
File "/path/.venv/lib/python3.9/site-packages/langchain/vectorstores/base.py", line 337, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/path/.venv/lib/python3.9/site-packages/langchain/vectorstores/faiss.py", line 554, in from_texts
return cls.__from(
File "/path/.venv/lib/python3.9/site-packages/langchain/vectorstores/faiss.py", line 506, in __from
vector = np.array(embeddings, dtype=np.float32)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3576,) + inhomogeneous part.
```
### Expected behavior
Correctly construct FAISS DB without error.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8159/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/8159/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8158
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8158/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8158/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8158/events
|
https://github.com/langchain-ai/langchain/issues/8158
| 1,817,456,702 |
I_kwDOIPDwls5sVDA-
| 8,158 |
Error when importing ChatOutputParser: no validator found for <class 're.Pattern'>
|
{
"login": "SpaceDandy13",
"id": 34779990,
"node_id": "MDQ6VXNlcjM0Nzc5OTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/34779990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SpaceDandy13",
"html_url": "https://github.com/SpaceDandy13",
"followers_url": "https://api.github.com/users/SpaceDandy13/followers",
"following_url": "https://api.github.com/users/SpaceDandy13/following{/other_user}",
"gists_url": "https://api.github.com/users/SpaceDandy13/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SpaceDandy13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SpaceDandy13/subscriptions",
"organizations_url": "https://api.github.com/users/SpaceDandy13/orgs",
"repos_url": "https://api.github.com/users/SpaceDandy13/repos",
"events_url": "https://api.github.com/users/SpaceDandy13/events{/privacy}",
"received_events_url": "https://api.github.com/users/SpaceDandy13/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 | 8 | 2023-07-24T02:00:27 | 2023-10-02T22:24:06 | null |
NONE
| null |
### System Info
from langchain.agents.chat.output_parser import ChatOutputParser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/__init__.py", line 6, in <module>
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/__init__.py", line 10, in <module>
from langchain.agents.agent_toolkits import (
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/agent_toolkits/__init__.py", line 6, in <module>
from langchain.agents.agent_toolkits.csv.base import create_csv_agent
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/agent_toolkits/csv/base.py", line 4, in <module>
from langchain.agents.agent_toolkits.pandas.base import create_pandas_dataframe_agent
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/agent_toolkits/pandas/base.py", line 18, in <module>
from langchain.agents.types import AgentType
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/types.py", line 5, in <module>
from langchain.agents.chat.base import ChatAgent
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/chat/base.py", line 6, in <module>
from langchain.agents.chat.output_parser import ChatOutputParser
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/agents/chat/output_parser.py", line 12, in <module>
class ChatOutputParser(AgentOutputParser):
File "pydantic/main.py", line 229, in pydantic.main.ModelMetaclass.__new__
File "pydantic/fields.py", line 491, in pydantic.fields.ModelField.infer
File "pydantic/fields.py", line 421, in pydantic.fields.ModelField.__init__
File "pydantic/fields.py", line 542, in pydantic.fields.ModelField.prepare
File "pydantic/fields.py", line 804, in pydantic.fields.ModelField.populate_validators
File "pydantic/validators.py", line 723, in find_validators
RuntimeError: no validator found for <class 're.Pattern'>, see `arbitrary_types_allowed` in Config
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.agents.chat.output_parser import ChatOutputParser
### Expected behavior
Import corrrectly.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8158/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/8158/timeline
| null |
reopened
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8157
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8157/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8157/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8157/events
|
https://github.com/langchain-ai/langchain/issues/8157
| 1,817,450,573 |
I_kwDOIPDwls5sVBhN
| 8,157 |
Retain links when extracting text using PDFLoader
|
{
"login": "ahm750",
"id": 11042125,
"node_id": "MDQ6VXNlcjExMDQyMTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/11042125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahm750",
"html_url": "https://github.com/ahm750",
"followers_url": "https://api.github.com/users/ahm750/followers",
"following_url": "https://api.github.com/users/ahm750/following{/other_user}",
"gists_url": "https://api.github.com/users/ahm750/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ahm750/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahm750/subscriptions",
"organizations_url": "https://api.github.com/users/ahm750/orgs",
"repos_url": "https://api.github.com/users/ahm750/repos",
"events_url": "https://api.github.com/users/ahm750/events{/privacy}",
"received_events_url": "https://api.github.com/users/ahm750/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 | 3 | 2023-07-24T01:53:00 | 2023-07-25T02:05:02 | 2023-07-25T02:05:01 |
NONE
| null |
### System Info
Hi,
I'm using version 0.0.105 of langchain (nodejs).
I'm using PDFLoader to embed PDF documents, and I've noticed that the extracted documents do not retain the hyperlinks that were present in the files.
Is there a way to retain them? I couldn't find it in the document or the PDFLoader class.
### Who can help?
@eyurtsev @hwchase17 @agola11
### Information
- [ ] 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
var pdfLoader = new PDFLoader(filePath, {
splitPages: false,
});
var rawDocs = await pdfLoader.load();
console.log(rawDocs);
### Expected behavior
I was expecting PDFLoader to convert the hyperlinks in the PDF to either raw URLs or markdown URL.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8157/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8156
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8156/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8156/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8156/events
|
https://github.com/langchain-ai/langchain/issues/8156
| 1,817,442,875 |
I_kwDOIPDwls5sU_o7
| 8,156 |
create_tagging_chain returning an array string not respecting enum values
|
{
"login": "tim-g-provectusalgae",
"id": 115126466,
"node_id": "U_kgDOBtywwg",
"avatar_url": "https://avatars.githubusercontent.com/u/115126466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tim-g-provectusalgae",
"html_url": "https://github.com/tim-g-provectusalgae",
"followers_url": "https://api.github.com/users/tim-g-provectusalgae/followers",
"following_url": "https://api.github.com/users/tim-g-provectusalgae/following{/other_user}",
"gists_url": "https://api.github.com/users/tim-g-provectusalgae/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tim-g-provectusalgae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tim-g-provectusalgae/subscriptions",
"organizations_url": "https://api.github.com/users/tim-g-provectusalgae/orgs",
"repos_url": "https://api.github.com/users/tim-g-provectusalgae/repos",
"events_url": "https://api.github.com/users/tim-g-provectusalgae/events{/privacy}",
"received_events_url": "https://api.github.com/users/tim-g-provectusalgae/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 | 2 | 2023-07-24T01:43:31 | 2023-12-18T23:48:57 | 2023-12-18T23:48:57 |
NONE
| null |
### System Info
Good day, I'm attempting to use `create_tagging_chain_pydantic` to tag certain markets wherein a product is used. The product can be used across multiple markets. Unfortunately the chain doesn't appear to respect the `enum` values passed to it for a return type of an array of string (it works correctly for a [single] string output).
```python
class Tags(BaseModel):
market_verticals: List[str] = Field(...,
enum=["pharmaceutical", "biotech", "food and beverage", "cosmetic",
"industrial", "nutraceuticals", "agriculture", "other"],
description="""describes which of the market verticals of the various uses
of the product
""")
def main():
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
chain = create_tagging_chain_pydantic(Tags, llm)
market_verticals = chain.run(
"The product is used in the production of food additives, pharmaceuticals, and cosmetics")
```
Output:
```bash
market_verticals=['food additives', 'pharmaceuticals', 'cosmetics']
```
Amending the prompt, produces the expected output:
```python
class Tags(BaseModel):
market_verticals: List[str] = Field(...,
enum=["pharmaceutical", "biotech", "food and beverage", "cosmetic",
"industrial", "nutraceuticals", "agriculture", "other"],
description="""describes which of the market verticals of the
various uses of the product. Market verticals are:
pharmaceutical, biotech, food and beverage, cosmetic, industrial,
nutraceuticals, agriculture and other.
""")
```
Output:
```bash
market_verticals=['food and beverage', 'pharmaceutical', 'cosmetic']
```
```bash
$ python3 -V
Python 3.10.10
$ pip show langchain
Name: langchain
Version: 0.0.240
Summary: Building applications with LLMs through composability
Home-page: https://www.github.com/hwchase17/langchain
Author:
Author-email:
License: MIT
Location: /home/tim/Documents/git/ai-magellan/.venv/lib/python3.10/site-packages
Requires: aiohttp, async-timeout, dataclasses-json, langsmith, numexpr, numpy, openapi-schema-pydantic, pydantic, PyYAML, requests, SQLAlchemy, tenacity
Required-by: kor
```
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Write and run the code below:
```
from typing import List
from dotenv import load_dotenv
from langchain.chat_models import ChatOpenAI
from langchain.chains import create_tagging_chain, create_tagging_chain_pydantic
from langchain.prompts import ChatPromptTemplate
from enum import Enum
from pydantic import BaseModel, Field
class Tags(BaseModel):
# enum doesn't work with array
market_verticals: List[str] = Field(...,
items={"type": "string"}, enum=["pharmaceutical", "biotech", "food and beverage", "cosmetic",
"industrial", "nutraceuticals", "agriculture", "other"],
description="""describes which of the market verticals of the
various uses of the product
""")
def main():
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613", verbose=True)
chain = create_tagging_chain_pydantic(Tags, llm, verbose=True)
market_verticals = chain.run(
"Vitamin B is is used in the production of food additives, pharmaceuticals, and cosmetics")
print(market_verticals)
if __name__ == "__main__":
load_dotenv()
main()
```
### Expected behavior
Expected output:
```bash
market_verticals=['food and beverage', 'pharmaceuticals', 'cosmetics']
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8156/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8155
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8155/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8155/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8155/events
|
https://github.com/langchain-ai/langchain/pull/8155
| 1,817,415,017 |
PR_kwDOIPDwls5WLcob
| 8,155 |
nit: small typo in evaluation module docs
|
{
"login": "fielding",
"id": 454023,
"node_id": "MDQ6VXNlcjQ1NDAyMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/454023?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fielding",
"html_url": "https://github.com/fielding",
"followers_url": "https://api.github.com/users/fielding/followers",
"following_url": "https://api.github.com/users/fielding/following{/other_user}",
"gists_url": "https://api.github.com/users/fielding/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fielding/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fielding/subscriptions",
"organizations_url": "https://api.github.com/users/fielding/orgs",
"repos_url": "https://api.github.com/users/fielding/repos",
"events_url": "https://api.github.com/users/fielding/events{/privacy}",
"received_events_url": "https://api.github.com/users/fielding/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-07-24T01:13:26 | 2023-07-24T01:25:15 | 2023-07-24T01:25:14 |
CONTRIBUTOR
| null |
Hopefully, this doesn't come across as nitpicky! That isn't the intention. I only noticed it, because I enjoy reading the documentation and when I hit a mental road bump it is usually due to a missing word or something =)
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8155/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8155",
"html_url": "https://github.com/langchain-ai/langchain/pull/8155",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8155.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8155.patch",
"merged_at": "2023-07-24T01:25:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8154
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8154/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8154/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8154/events
|
https://github.com/langchain-ai/langchain/pull/8154
| 1,817,402,157 |
PR_kwDOIPDwls5WLZxL
| 8,154 |
Unbreak devcontainer
|
{
"login": "finnless",
"id": 6785029,
"node_id": "MDQ6VXNlcjY3ODUwMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6785029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/finnless",
"html_url": "https://github.com/finnless",
"followers_url": "https://api.github.com/users/finnless/followers",
"following_url": "https://api.github.com/users/finnless/following{/other_user}",
"gists_url": "https://api.github.com/users/finnless/gists{/gist_id}",
"starred_url": "https://api.github.com/users/finnless/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/finnless/subscriptions",
"organizations_url": "https://api.github.com/users/finnless/orgs",
"repos_url": "https://api.github.com/users/finnless/repos",
"events_url": "https://api.github.com/users/finnless/events{/privacy}",
"received_events_url": "https://api.github.com/users/finnless/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-07-24T00:56:09 | 2023-07-24T02:33:47 | 2023-07-24T02:33:47 |
CONTRIBUTOR
| null |
Codespaces and devcontainer was broken by the [repo restructure](https://github.com/langchain-ai/langchain/discussions/8043).
- Description: Add libs/langchain to container so it can be built without error.
- Issue: -
- Dependencies: -
- Tag maintainer: @hwchase17 @baskaryan
- Twitter handle: @finnless
The failed build log says:
```
#10 [langchain-dev-dependencies 2/2] RUN poetry install --no-interaction --no-ansi --with dev,test,docs
#10 sha256:e850ee99fc966158bfd2d85e82b7c57244f47ecbb1462e75bd83b981a56a1929
2023-07-23 23:30:33.692Z: #10 0.827
#10 0.827 Directory libs/langchain does not exist
2023-07-23 23:30:33.738Z: #10 ERROR: executor failed running [/bin/sh -c poetry install --no-interaction --no-ansi --with dev,test,docs]: exit code: 1
```
The new pyproject.toml imports from libs/langchain:
https://github.com/langchain-ai/langchain/blob/77bf75c236351edf47d3a76a522bb45ccc90d299/pyproject.toml#L14-L16
But libs/langchain is never added to the dev.Dockerfile:
https://github.com/langchain-ai/langchain/blob/77bf75c236351edf47d3a76a522bb45ccc90d299/libs/langchain/dev.Dockerfile#L37-L39
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8154/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8154",
"html_url": "https://github.com/langchain-ai/langchain/pull/8154",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8154.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8154.patch",
"merged_at": "2023-07-24T02:33:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8153
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8153/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8153/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8153/events
|
https://github.com/langchain-ai/langchain/pull/8153
| 1,817,328,522 |
PR_kwDOIPDwls5WLKAz
| 8,153 |
Function calling logging fixup
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 0 | 2023-07-23T22:48:31 | 2023-07-24T01:01:34 | 2023-07-24T01:01:33 |
COLLABORATOR
| null |
Fix bad overwriting of "functions" arg in invocation params.
Cleanup precedence in the dict
Clean up some inappropriate types (mapping should be dict)
Example: https://dev.smith.langchain.com/public/9a7a6817-1679-49d8-8775-c13916975aae/r

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8153/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8153",
"html_url": "https://github.com/langchain-ai/langchain/pull/8153",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8153.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8153.patch",
"merged_at": "2023-07-24T01:01:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8152
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8152/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8152/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8152/events
|
https://github.com/langchain-ai/langchain/pull/8152
| 1,817,287,908 |
PR_kwDOIPDwls5WLB18
| 8,152 |
simplified nmspace
|
{
"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
}
|
[] |
closed
| false | null |
[] | null | 0 | 2023-07-23T20:34:03 | 2023-07-24T15:40:32 | 2023-07-24T01:02:20 |
COLLABORATOR
| null |
recreated #7894 (it is easy to recreate than resolve conflicts)
A small refactoring to improve the API Reference Agents table
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8152/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8152",
"html_url": "https://github.com/langchain-ai/langchain/pull/8152",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8152.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8152.patch",
"merged_at": "2023-07-24T01:02:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8151
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8151/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8151/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8151/events
|
https://github.com/langchain-ai/langchain/pull/8151
| 1,817,272,038 |
PR_kwDOIPDwls5WK-t4
| 8,151 |
Optimize the cosine_similarity_top_k function performance
|
{
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.com/users/misrasaurabh1/followers",
"following_url": "https://api.github.com/users/misrasaurabh1/following{/other_user}",
"gists_url": "https://api.github.com/users/misrasaurabh1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/misrasaurabh1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/misrasaurabh1/subscriptions",
"organizations_url": "https://api.github.com/users/misrasaurabh1/orgs",
"repos_url": "https://api.github.com/users/misrasaurabh1/repos",
"events_url": "https://api.github.com/users/misrasaurabh1/events{/privacy}",
"received_events_url": "https://api.github.com/users/misrasaurabh1/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-23T19:34:35 | 2023-07-27T01:03:50 | 2023-07-27T01:03:49 |
CONTRIBUTOR
| null |
Optimizing important numerical code and making it run faster.
Performance went up by 1.48x (148%). Runtime went down from 138715us to 56020us
Optimization explanation:
The `cosine_similarity_top_k` function is where we made the most significant optimizations.
Instead of sorting the entire score_array which needs considering all elements, `np.argpartition` is utilized to find the top_k largest scores indices, this operation has a time complexity of O(n), higher performance than sorting. Remember, `np.argpartition` doesn't guarantee the order of the values. So we need to use argsort() to get the indices that would sort our top-k values after partitioning, which is much more efficient because it only sorts the top-K elements, not the entire array. Then to get the row and column indices of sorted top_k scores in the original score array, we use `np.unravel_index`. This operation is more efficient and cleaner than a list comprehension.
The code has been tested for correctness by running the following snippet on both the original function and the optimized function and averaged over 5 times.
```
def test_cosine_similarity_top_k_large_matrices():
X = np.random.rand(1000, 1000)
Y = np.random.rand(1000, 1000)
top_k = 100
score_threshold = 0.5
gc.disable()
counter = time.perf_counter_ns()
return_value = cosine_similarity_top_k(X, Y, top_k, score_threshold)
duration = time.perf_counter_ns() - counter
gc.enable()
```
@hwaking @hwchase17 @jerwelborn
Unit tests pass, I also generated more regression tests which all passed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8151/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8151",
"html_url": "https://github.com/langchain-ai/langchain/pull/8151",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8151.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8151.patch",
"merged_at": "2023-07-27T01:03:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8150
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8150/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8150/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8150/events
|
https://github.com/langchain-ai/langchain/pull/8150
| 1,817,189,068 |
PR_kwDOIPDwls5WKu7B
| 8,150 |
bump experimental to 002
|
{
"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-23T16:17:49 | 2023-07-24T01:28:29 | 2023-07-23T16:22:39 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8150/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/8150/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8150",
"html_url": "https://github.com/langchain-ai/langchain/pull/8150",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8150.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8150.patch",
"merged_at": "2023-07-23T16:22:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8149
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8149/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8149/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8149/events
|
https://github.com/langchain-ai/langchain/issues/8149
| 1,817,148,325 |
I_kwDOIPDwls5sT3ul
| 8,149 |
MultiRetrievalQAChain async mode
|
{
"login": "taweijm",
"id": 105797032,
"node_id": "U_kgDOBk5VqA",
"avatar_url": "https://avatars.githubusercontent.com/u/105797032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taweijm",
"html_url": "https://github.com/taweijm",
"followers_url": "https://api.github.com/users/taweijm/followers",
"following_url": "https://api.github.com/users/taweijm/following{/other_user}",
"gists_url": "https://api.github.com/users/taweijm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/taweijm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taweijm/subscriptions",
"organizations_url": "https://api.github.com/users/taweijm/orgs",
"repos_url": "https://api.github.com/users/taweijm/repos",
"events_url": "https://api.github.com/users/taweijm/events{/privacy}",
"received_events_url": "https://api.github.com/users/taweijm/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-23T14:24:48 | 2023-10-29T16:04:26 | 2023-10-29T16:04:26 |
NONE
| null |
### Feature request
When I testing MultiRetrievalQAChain in synchronous mode, it worked perfectly. It can choose QA from the right retriever. But when I implement MultiRetrievalQAChain into production with streaming, I need mode async.
anyone can help me ?
TIA
### Motivation
I'm quite frustated when I found MultiRetrievalQAChain not yet support mode async. Because the launch time for the product is halted.
### Your contribution
yes, I'd love to help testing the new features from langchain.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8149/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/8149/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8148
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8148/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8148/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8148/events
|
https://github.com/langchain-ai/langchain/issues/8148
| 1,817,123,966 |
I_kwDOIPDwls5sTxx-
| 8,148 |
YoutubeLoader for nodejs
|
{
"login": "zhubaitian",
"id": 7600249,
"node_id": "MDQ6VXNlcjc2MDAyNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7600249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhubaitian",
"html_url": "https://github.com/zhubaitian",
"followers_url": "https://api.github.com/users/zhubaitian/followers",
"following_url": "https://api.github.com/users/zhubaitian/following{/other_user}",
"gists_url": "https://api.github.com/users/zhubaitian/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhubaitian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhubaitian/subscriptions",
"organizations_url": "https://api.github.com/users/zhubaitian/orgs",
"repos_url": "https://api.github.com/users/zhubaitian/repos",
"events_url": "https://api.github.com/users/zhubaitian/events{/privacy}",
"received_events_url": "https://api.github.com/users/zhubaitian/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-07-23T13:09:56 | 2023-11-01T16:06:00 | 2023-11-01T16:05:59 |
NONE
| null |
### Feature request
Would like to have YoutubeLoader on Nodejs api
https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.youtube.YoutubeLoader.html#langchain.document_loaders.youtube.YoutubeLoader
### Motivation
The motivation of this is to have the feature to load the transcript of youtube video and summarize it
### Your contribution
no
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8148/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8145
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8145/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8145/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8145/events
|
https://github.com/langchain-ai/langchain/pull/8145
| 1,817,068,301 |
PR_kwDOIPDwls5WKXFu
| 8,145 |
fix typo: Entity Summary Memory documentation
|
{
"login": "larry-lime",
"id": 101539084,
"node_id": "U_kgDOBg1dDA",
"avatar_url": "https://avatars.githubusercontent.com/u/101539084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larry-lime",
"html_url": "https://github.com/larry-lime",
"followers_url": "https://api.github.com/users/larry-lime/followers",
"following_url": "https://api.github.com/users/larry-lime/following{/other_user}",
"gists_url": "https://api.github.com/users/larry-lime/gists{/gist_id}",
"starred_url": "https://api.github.com/users/larry-lime/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/larry-lime/subscriptions",
"organizations_url": "https://api.github.com/users/larry-lime/orgs",
"repos_url": "https://api.github.com/users/larry-lime/repos",
"events_url": "https://api.github.com/users/larry-lime/events{/privacy}",
"received_events_url": "https://api.github.com/users/larry-lime/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-23T10:03:41 | 2023-07-24T02:36:51 | 2023-07-24T02:36:51 |
CONTRIBUTOR
| null |
Fixed a small typo I came across in the Memory documentation.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8145/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8145",
"html_url": "https://github.com/langchain-ai/langchain/pull/8145",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8145.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8145.patch",
"merged_at": "2023-07-24T02:36:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8143
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8143/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8143/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8143/events
|
https://github.com/langchain-ai/langchain/pull/8143
| 1,816,995,901 |
PR_kwDOIPDwls5WKJRg
| 8,143 |
add faiss test for score threshold
|
{
"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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-23T05:34:21 | 2023-08-04T06:16:58 | 2023-07-24T02:36:38 |
CONTRIBUTOR
| null |
# What
- Add faiss vector search test for score threshold
- Fix failing faiss vector search test; filtering with list value is wrong.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Add faiss vector search test for score threshold; Fix failing faiss vector search test; filtering with list value is wrong.
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
- 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/8143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8143/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8143",
"html_url": "https://github.com/langchain-ai/langchain/pull/8143",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8143.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8143.patch",
"merged_at": "2023-07-24T02:36:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8142
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8142/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8142/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8142/events
|
https://github.com/langchain-ai/langchain/issues/8142
| 1,816,988,798 |
I_kwDOIPDwls5sTQx-
| 8,142 |
RecursiveCharacterTextSplitter overlap sometimes does not work
|
{
"login": "firezym",
"id": 3654421,
"node_id": "MDQ6VXNlcjM2NTQ0MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3654421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/firezym",
"html_url": "https://github.com/firezym",
"followers_url": "https://api.github.com/users/firezym/followers",
"following_url": "https://api.github.com/users/firezym/following{/other_user}",
"gists_url": "https://api.github.com/users/firezym/gists{/gist_id}",
"starred_url": "https://api.github.com/users/firezym/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/firezym/subscriptions",
"organizations_url": "https://api.github.com/users/firezym/orgs",
"repos_url": "https://api.github.com/users/firezym/repos",
"events_url": "https://api.github.com/users/firezym/events{/privacy}",
"received_events_url": "https://api.github.com/users/firezym/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 5 | 2023-07-23T05:00:58 | 2023-11-08T23:32:08 | null |
NONE
| null |
### System Info
langchain 0.0.240
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Run the following code below:
```python
text = """14、中国证券报:今年以来,多个 数字人 民币试点地区开展了丰富多彩的数字人民币促消费活动,活跃消费市场,提振消费需求。不少地方政府向民众发放了数字人民币消费券,拉动居民消费,据记者粗略统计,活动金额超过1.8亿元。业内专家认为,数字人民币与消费券、电商平台等场景结合,可共同促进消费市场加快回暖。 15、猫眼专业版:电影《流浪地球2》上映15天,总票房已经破33亿。从综合票房看,《流浪地球2》再次登顶单日票房榜。2月5日单日实时票房超1.3亿元,领先第二名《满江红》近2000万,锁定单日票房冠军。目前,《流浪地球2》的票房占比34.5%,排片场次92126次。 二、市场回顾【国内股市】 1、2月6日,沪深两市三大指数弱势震荡,沪指跌0.76%, 深证成指 跌1.18%, 创业板 指跌1.4%。盘面上看, ChatGPT概念 持续火爆, 海天瑞声 、 云从科技 涨停6个交易日翻倍; 数字经济 概念盘中发酵, 铜牛信息 涨停;信创、软件股逆市走强, 青 云科技 涨停;八部门适度超前建设充换电基础设施, 充电桩 概念活跃。 白酒 、CRO、新冠 疫苗 、 券商 、 黄金 有色、 保险 、 磷化工 等板块跌幅居前。 2、港股低开低走,截至收盘, 恒生指数 跌2.02%,报21222.16点; 国企指数 跌2.68%, 红筹指数 跌1.37%。 恒生科技指数 跌3.65%,万国数据跌8.65%,哔哩哔哩跌5.38%,快手跌5.05%。 黄金股 集体走低, 山东黄金 跌6.01%, 紫金矿业 跌超5%, 招金矿业 跌4.56%。汽车股下跌, 长城汽车 跌超6%,蔚来跌超5%, 零跑汽车 跌4.80%。 3、年2月6日, 大智慧 数据中心显示,龙虎榜中营业部净卖出3616.66万元。其中,净买入的个股24只,营业部净买入较多个股分别是 润和软件 、 信达证券 、 川大智胜 等,净买入金额占当日成交额比例达2.95%、80.60%、7.19%。净卖出的个股23只,营业部净卖出居前个股分别为 赛为智能 、 同为股份 、 万里石 等,净卖出金额占当日成交额比例达4.92%、4.32%、11.78%。 龙虎榜中机构净卖出1.64亿元。其中,净买入的个股8只,机构净买入较多个股分别是同为股份、 飞龙股份 、赛为智能等,净买入金额占当日成交额比例达0.82%、1.35%、0.48%。净卖出的个股19只,机构净卖出居前个股分别为润和软件、 博睿数据 、 宏景科技 等,净卖出金额占当日成交额比例达0.70%、12.88%、4.76%。 4、北向资金2月6日小幅净卖出5.43亿。其中净买入第一位 贵州茅台 5.46亿、 宁德时代 4.69亿紧随其后,净卖出 万科A 3.87亿、 科大讯飞 2.18亿。南向资金今日净流入19.90亿港元。港股通(沪)方面,恒生中国企业、盈富基金净买入居前,分别获净买入7.77亿港元、5.78亿港元。港股通(深)方面,盈富基金、恒生中国企业净买入居前,分别获净买入25.00亿港元、8.67亿港元。 【环球市场】 1、美股:北京时间7日凌晨,美股周一录得连续第二个交易日收跌。美国国债收益率连续两日大幅攀升令市场情绪紧张。投资者关注美股财报,并等待美联储主席鲍威尔明天将发表的重要讲话。 标普500 指数收跌25.40点,跌幅0.61%,报4111.08点。道指收跌34.99点,跌幅0.10%,报33891.02点。纳指收跌119.50点,跌幅1.00%,报11887.45点。 2、欧股:德国DAX 30指数收跌0.84%,报15345.91点。法国CAC 40指数收跌1.34%,报7137.10点。英国富时100指数收跌0.82%,报7836.71点。 3、黄金:COMEX 4月黄金期货收涨0.15%,报1879.50美元/盎司。 4、 原油 :WTI 3月原油期货收涨0.72美元,涨幅0.98%,报74.11美元/桶。布伦特4月原油期货收涨1.05美元,涨幅1.31%,报80.99美元/桶。 【机构策略】 对于近日市场走势,银河证券指出,节后市场短期波动原因包括:1)春节前市场情绪高涨,第一波上涨实现后,投资者转而更加关注基本面是否能够兑现,市场出现震荡。2)北向资金节前大幅净流入,但对比美国经济复苏初期,我国目前直接促消费措施力度有限,叠加近期上市公司业绩逐步披露兑现,经济修复仍有部分不确定性因素存在,或与外资对我国经济复苏的节奏判断产生预期差,节后也可以看到北向资金流入短暂放缓,增量资金的支持减弱。3)从已披露2022年报业绩预告来看,受去年四季度受疫情冲击拖累,部分企业开工及居民消费都受到较大影响,预计2022年年报业绩仍处底部区间。4)外围市场来看,美国就业数据大超预期引发投资者对美联储加息预期产生分歧,短期引发市场担忧。 该机构认为,虽目前市场短期有一定波动,但中期中国经济企稳增长预期将不断兑现、市场流动性充足支撑、盈利面逐步回暖等对市场形成支撑。同时春节并未带来二次疫情高峰使内资对疫情反复的担忧下降,未来内资或将逐步接棒北向资金。从风格角度看,2022年11月以来,市场春季躁动效应演绎充分,大盘股长势较好。从1月份以来, 中小盘 股开始逐渐举起,行业也从消费切换到科技,风格切换明显,我们认为短期 小盘成长 风格或延续占优:一是成长板块,尤其是TMT板块,整体估值处于历史较低位置,安全垫高,反弹动力强。二是从资金流动的视角,消费板块在经历快速上涨后,目前股价有所回落,成长板块仍是资金配置的最优选择。三是主题风格的演绎催化带动成长板块的上行,行业景气度持续提升,如近期ChatGPT的快速突破也使得 人工智能 产业链备受投资者青睐,未来发展空间广阔。值得注意的是,目前成长板块上涨较快,短期可能面临交易过热或技术位调整的风险,但整体来看,小盘风格占优的趋势仍将延续。四是从投资日历角度来看,2月科技板块胜率较高。 【新股申购】 一致魔芋证券代码839273,发行价11.38元,发行市盈率15.98倍,主营魔芋及魔芋相关产品。 扬州金泉证券代码603307,发行价31.04元,发行市盈率21.61倍,主营帐篷和睡袋。 坤泰股份证券代码001260,发行价14.27元,发行市盈率22.98倍,主营汽车地毯、脚垫。 三、公司公告和预警 【业绩】 通化东宝:业绩快报2022年净利同比增21.46% 富煌钢构:2022年累计新签销售合同额约49.8亿元 同比下降11% 新城控股:1月实现合同销售金额约57.76亿元 比上年同期减少26.54% 金地商置:1月合约销售约22.96亿元 同比降59.68% 融信中国:1月合约销售约9.95亿元 同比降84.7% 新城发展:1月合约销售金额约57.76亿元 同比降24.81% 华安证券:业绩快报2022年实现净利11.81亿元 同比降17% 恒投证券:预计2022年度股东应占亏损约11.59亿元 同比盈转亏 保利置业:1月合同销售金额约49亿元 同比增长105% 融创中国:1月合同销售约72.3亿元 同比降74.1% 【重大事项】 永鼎股份:全资子公司获得12.4亿元线束业务中标确认 康跃科技:拟将证券简称变更为“长药控股” 壹网壹创:公司目前已部署AI内容分析 奥飞数据:公司为百度AI业务提供算力服务支持 晶方科技:“MEMS 传感器 芯片先进封装测试平台”项目获得立项批复 合兴股份:拟公开发行可转债募资不超6.1亿元 风语筑:公司已结合AIGC技术在文生文、文生图、文生音视频等领域进行场景应用 保利发展:拟打包转让12个与 碧桂园 合作项目公司股权 大族激光:目前接近式 光刻机 已投入市场 凯立新材:拟定增募资不超过10.75亿元 宇通客车:宇通集团等拟要约收购公司股份 要约价为7.89元/股 【增减持】 天通股份:公司拟减持 亚光科技 不超1%股份 隆华新材:新余隆振拟减持不超0.88% 海程邦达:股东及董监高拟减持不超1.91% ST开元:实控人拟减持公司不超1.4%股份 沃尔德:实际控制人及一致行动人拟合计减持不超4.01% 海南高速:拟减持不超 海汽集团 3%股份 马云减持约3194万港元,虞锋减持约5728万港元腾盛博药 神州数码:股东王晓岩拟减持不超2%股份 友邦保险:回购263.08万股 耗资约2.25亿港元 【预警】 川能动力:公司董事长被立案调查 云从科技:未与OpenAI开展合作 ChatGPT的产品和服务未给公司带来业务收入 海天瑞声:尚未与OpenAI开展合作 ChatGPT产品和服务尚未给公司带来业务收入 新国都:子公司业务暂不涉及ChatGPT文本生成式AIGC领域 ST三圣:公司及控股股东潘先文遭证监会立案 """
import os
from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter
text_splitter = RecursiveCharacterTextSplitter(separators=["\n\n", "\n", "。", " "], keep_separator=False, chunk_size=256, chunk_overlap=64)
docs = text_splitter.create_documents([text])
docs
```
### Expected behavior
BUG: I get 19 documents. For example, let's see the 2nd and 3rd document. They actually don't have any overlaps. They are exactly cut by `。` in the middle (which I mark it with `||` ) : `2月6日,沪深两市三大指数弱势震荡,沪指跌0.76%, 深证成指 跌1.18%, 创业板 指跌1.4%` `||` `。` `||` `盘面上看, ChatGPT概念 持续火爆, 海天瑞声 、 云从科技 涨停6个交易日翻倍; ` . I put the example below:
1st: ... is ok, have a trunc of overlap
2nd: `2月5日单日实时票房超1.3亿元,领先第二名《满江红》近2000万,锁定单日票房冠军。目前,《流浪地球2》的票房占比34.5%,排片场次92126次。 二、市场回顾【国内股市】 1、2月6日,沪深两市三大指数弱势震荡,沪指跌0.76%, 深证成指 跌1.18%, 创业板 指跌1.4%`
3rd: `盘面上看, ChatGPT概念 持续火爆, 海天瑞声 、 云从科技 涨停6个交易日翻倍; 数字经济 概念盘中发酵, 铜牛信息 涨停;信创、软件股逆市走强, 青 云科技 涨停;八部门适度超前建设充换电基础设施, 充电桩 概念活跃。 白酒 、CRO、新冠 疫苗 、 券商 、 黄金 有色、 保险 、 磷化工 等板块跌幅居前。 2、港股低开低走,截至收盘, 恒生指数 跌2.02%,报21222.16点; 国企指数 跌2.68%, 红筹指数 跌1.37%`
There are also a lot of non overlapped documents in these 19 splitted documents. Please have a lot. Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8142/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8141
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8141/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8141/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8141/events
|
https://github.com/langchain-ai/langchain/issues/8141
| 1,816,978,039 |
I_kwDOIPDwls5sTOJ3
| 8,141 |
Issue: Why condense the conversational history when Open AI provides a 'messages' field in its API?
|
{
"login": "brett-matson",
"id": 74486738,
"node_id": "MDQ6VXNlcjc0NDg2NzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/74486738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brett-matson",
"html_url": "https://github.com/brett-matson",
"followers_url": "https://api.github.com/users/brett-matson/followers",
"following_url": "https://api.github.com/users/brett-matson/following{/other_user}",
"gists_url": "https://api.github.com/users/brett-matson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brett-matson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brett-matson/subscriptions",
"organizations_url": "https://api.github.com/users/brett-matson/orgs",
"repos_url": "https://api.github.com/users/brett-matson/repos",
"events_url": "https://api.github.com/users/brett-matson/events{/privacy}",
"received_events_url": "https://api.github.com/users/brett-matson/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": 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-23T04:01:03 | 2023-10-23T22:41:46 | 2023-10-23T22:41:37 |
NONE
| null |
### Issue you'd like to raise.
Hi there,
I've found many scenarios where ConversationalRetrievalChain's attempt to condense a conversation history into a stand-alone question fails, either because the history is too complex or, for example, if the user simply provides an affirmation.
Why do we attempt to condense the conversational history when Open AI's chat API provides a [messages](https://platform.openai.com/docs/api-reference/chat/create#chat/create-messages) field for this purpose?
Is there a way to construct a retrieval chain such that the messages field in Open AI's chat API can be used instead of attempting to condense the chat history into a stand-alone question?
### Suggestion:
Provide a way to construct a retrieval chain such that Open AI's chat API's messages field can be used instead of attempting to condense the question.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8141/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/8141/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8140
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8140/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8140/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8140/events
|
https://github.com/langchain-ai/langchain/pull/8140
| 1,816,959,325 |
PR_kwDOIPDwls5WKCbX
| 8,140 |
add llamaapi
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-23T02:16:14 | 2023-07-23T16:16:18 | 2023-07-23T16:16:17 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8140/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8140",
"html_url": "https://github.com/langchain-ai/langchain/pull/8140",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8140.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8140.patch",
"merged_at": "2023-07-23T16:16:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8139
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8139/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8139/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8139/events
|
https://github.com/langchain-ai/langchain/pull/8139
| 1,816,953,626 |
PR_kwDOIPDwls5WKBTR
| 8,139 |
beef up getting started
|
{
"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": 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-23T01:48:42 | 2023-07-24T02:57:45 | 2023-07-24T02:57:44 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8139/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8139",
"html_url": "https://github.com/langchain-ai/langchain/pull/8139",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8139.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8139.patch",
"merged_at": "2023-07-24T02:57:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8138
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8138/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8138/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8138/events
|
https://github.com/langchain-ai/langchain/pull/8138
| 1,816,916,762 |
PR_kwDOIPDwls5WJ6AQ
| 8,138 |
Harrison/agent intro
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-22T22:44:13 | 2023-07-23T05:15:01 | 2023-07-23T05:15:00 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8138/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8138",
"html_url": "https://github.com/langchain-ai/langchain/pull/8138",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8138.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8138.patch",
"merged_at": "2023-07-23T05:15:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8137
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8137/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8137/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8137/events
|
https://github.com/langchain-ai/langchain/pull/8137
| 1,816,905,842 |
PR_kwDOIPDwls5WJ37x
| 8,137 |
fix-typo
|
{
"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": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T21:52:14 | 2023-07-24T01:02:58 | 2023-07-24T01:02:58 |
COLLABORATOR
| null |
more general questions about this function:
```
return {
**super()._get_invocation_params(stop=stop, **kwargs),
**self._default_params,
"model": self.model_name,
"functions": kwargs.get("functions"),
}
```
1. `**super()._get_invocation_params(stop=stop, **kwargs)` returns everything in kwargs, including functions (if present). do we do `"functions": kwargs.get("functions"),` because we explicitly need to pass functions through even when not present? (im assuming this is not needed (because its been broken and we havent noticed) so can we just remove
2. This ordering of
```
**super()._get_invocation_params(stop=stop, **kwargs),
**self._default_params,
```
means that if an arbitrary param is passed in through `kwargs` that is same as one in `**self._default_params,`, the one in defuaut params gets logged. imo we want to give preference to everything in kwargs right? why is this ordering the same?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8137/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8137",
"html_url": "https://github.com/langchain-ai/langchain/pull/8137",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8137.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8137.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8136
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8136/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8136/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8136/events
|
https://github.com/langchain-ai/langchain/pull/8136
| 1,816,901,883 |
PR_kwDOIPDwls5WJ3MN
| 8,136 |
actually use input key
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T21:35:08 | 2023-07-24T01:02:46 | 2023-07-24T01:02:45 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8136/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8136",
"html_url": "https://github.com/langchain-ai/langchain/pull/8136",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8136.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8136.patch",
"merged_at": "2023-07-24T01:02:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8135
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8135/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8135/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8135/events
|
https://github.com/langchain-ai/langchain/pull/8135
| 1,816,890,724 |
PR_kwDOIPDwls5WJ1BA
| 8,135 |
Feature faiss delete
|
{
"login": "fqassemi",
"id": 11998793,
"node_id": "MDQ6VXNlcjExOTk4Nzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/11998793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fqassemi",
"html_url": "https://github.com/fqassemi",
"followers_url": "https://api.github.com/users/fqassemi/followers",
"following_url": "https://api.github.com/users/fqassemi/following{/other_user}",
"gists_url": "https://api.github.com/users/fqassemi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fqassemi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fqassemi/subscriptions",
"organizations_url": "https://api.github.com/users/fqassemi/orgs",
"repos_url": "https://api.github.com/users/fqassemi/repos",
"events_url": "https://api.github.com/users/fqassemi/events{/privacy}",
"received_events_url": "https://api.github.com/users/fqassemi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-22T20:51:49 | 2023-08-10T03:13:10 | 2023-08-06T22:46:30 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: docstore had two main method: add and search, however, dealing with docstore sometimes requires deleting an entry from docstore. So I have added a simple delete method that deletes items from docstore. Additionally, I have added the delete method to faiss vectorstore for the very same reason.
- Issue: NA
- Dependencies: NA
- Tag maintainer: @rlancemartin, @eyurtsev
- 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/8135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8135/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8135",
"html_url": "https://github.com/langchain-ai/langchain/pull/8135",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8135.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8135.patch",
"merged_at": "2023-08-06T22:46:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8134
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8134/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8134/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8134/events
|
https://github.com/langchain-ai/langchain/pull/8134
| 1,816,841,116 |
PR_kwDOIPDwls5WJrvL
| 8,134 |
Add embeddings for LocalAI
|
{
"login": "mudler",
"id": 2420543,
"node_id": "MDQ6VXNlcjI0MjA1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2420543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mudler",
"html_url": "https://github.com/mudler",
"followers_url": "https://api.github.com/users/mudler/followers",
"following_url": "https://api.github.com/users/mudler/following{/other_user}",
"gists_url": "https://api.github.com/users/mudler/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mudler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mudler/subscriptions",
"organizations_url": "https://api.github.com/users/mudler/orgs",
"repos_url": "https://api.github.com/users/mudler/repos",
"events_url": "https://api.github.com/users/mudler/events{/privacy}",
"received_events_url": "https://api.github.com/users/mudler/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 | 3 | 2023-07-22T17:35:19 | 2023-07-25T18:31:01 | 2023-07-24T19:16:49 |
CONTRIBUTOR
| null |
Description:
This PR adds embeddings for LocalAI ( https://github.com/go-skynet/LocalAI ), a self-hosted OpenAI drop-in replacement. As LocalAI can re-use OpenAI clients it is mostly following the lines of the OpenAI embeddings, however when embedding documents, it just uses string instead of sending tokens as sending tokens is best-effort depending on the model being used in LocalAI. Sending tokens is also tricky as token id's can mismatch with the model - so it's safer to just send strings in this case.
Partly related to: https://github.com/hwchase17/langchain/issues/5256
Dependencies: No new dependencies
Twitter: @mudler_it
Maintainers: @rlancemartin, @eyurtsev, @hwchase17
<!-- 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/8134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8134/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8134",
"html_url": "https://github.com/langchain-ai/langchain/pull/8134",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8134.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8134.patch",
"merged_at": "2023-07-24T19:16:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8133
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8133/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8133/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8133/events
|
https://github.com/langchain-ai/langchain/pull/8133
| 1,816,840,035 |
PR_kwDOIPDwls5WJrhl
| 8,133 |
doc(sqldatabasechain): use views when jsonb column description is not available
|
{
"login": "samber",
"id": 2951285,
"node_id": "MDQ6VXNlcjI5NTEyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2951285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samber",
"html_url": "https://github.com/samber",
"followers_url": "https://api.github.com/users/samber/followers",
"following_url": "https://api.github.com/users/samber/following{/other_user}",
"gists_url": "https://api.github.com/users/samber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/samber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samber/subscriptions",
"organizations_url": "https://api.github.com/users/samber/orgs",
"repos_url": "https://api.github.com/users/samber/repos",
"events_url": "https://api.github.com/users/samber/events{/privacy}",
"received_events_url": "https://api.github.com/users/samber/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-22T17:30:47 | 2023-07-22T18:30:05 | 2023-07-22T18:30:05 |
CONTRIBUTOR
| null |
I think the PR diff is self explaining ;)
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8133/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8133",
"html_url": "https://github.com/langchain-ai/langchain/pull/8133",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8133.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8133.patch",
"merged_at": "2023-07-22T18:30:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8132
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8132/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8132/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8132/events
|
https://github.com/langchain-ai/langchain/issues/8132
| 1,816,823,556 |
I_kwDOIPDwls5sSocE
| 8,132 |
create_sql_aqent not working with `AgentType.OPENAI_FUNCTIONS`
|
{
"login": "mljlynch",
"id": 13424219,
"node_id": "MDQ6VXNlcjEzNDI0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/13424219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mljlynch",
"html_url": "https://github.com/mljlynch",
"followers_url": "https://api.github.com/users/mljlynch/followers",
"following_url": "https://api.github.com/users/mljlynch/following{/other_user}",
"gists_url": "https://api.github.com/users/mljlynch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mljlynch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mljlynch/subscriptions",
"organizations_url": "https://api.github.com/users/mljlynch/orgs",
"repos_url": "https://api.github.com/users/mljlynch/repos",
"events_url": "https://api.github.com/users/mljlynch/events{/privacy}",
"received_events_url": "https://api.github.com/users/mljlynch/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 | 5 | 2023-07-22T16:35:34 | 2023-10-29T16:04:36 | 2023-10-29T16:04:36 |
NONE
| null |
### System Info
Langchain version: ```langchain = "^0.0.236"````
Python 3.10.10
MacOSx 13.4.1 (c) (22F770820d)
### Who can help?
@hwchase17 @agola11
### 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
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Mysql 5.7 db.
```
toolkit = SQLDatabaseToolkit(db=db, llm=OpenAI(temperature=0))
agent_executor = create_sql_agent(
llm=ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613"),
toolkit=toolkit,
verbose=False,
agent_type=AgentType.OPENAI_FUNCTIONS,
)
response = agent_executor.run(question)
```
Error message:
```none is not an allowed value (type=type_error.none.not_allowed)```
Note: It does work with `AgentType.ZERO_SHOT_REACT_DESCRIPTION`
### Expected behavior
I would expect a response from the agent
Observed:
```none is not an allowed value (type=type_error.none.not_allowed)```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8132/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/8132/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8131
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8131/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8131/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8131/events
|
https://github.com/langchain-ai/langchain/pull/8131
| 1,816,821,052 |
PR_kwDOIPDwls5WJnw9
| 8,131 |
Create langflow
|
{
"login": "Melih134",
"id": 140193315,
"node_id": "U_kgDOCFsuIw",
"avatar_url": "https://avatars.githubusercontent.com/u/140193315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Melih134",
"html_url": "https://github.com/Melih134",
"followers_url": "https://api.github.com/users/Melih134/followers",
"following_url": "https://api.github.com/users/Melih134/following{/other_user}",
"gists_url": "https://api.github.com/users/Melih134/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Melih134/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Melih134/subscriptions",
"organizations_url": "https://api.github.com/users/Melih134/orgs",
"repos_url": "https://api.github.com/users/Melih134/repos",
"events_url": "https://api.github.com/users/Melih134/events{/privacy}",
"received_events_url": "https://api.github.com/users/Melih134/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-07-22T16:28:45 | 2023-07-22T18:28:27 | 2023-07-22T18:28:27 |
NONE
| 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/8131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8131/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8131",
"html_url": "https://github.com/langchain-ai/langchain/pull/8131",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8131.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8131.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8130
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8130/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8130/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8130/events
|
https://github.com/langchain-ai/langchain/pull/8130
| 1,816,809,973 |
PR_kwDOIPDwls5WJlkC
| 8,130 |
edit prompt format method
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/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-07-22T15:53:53 | 2023-07-22T18:32:46 | 2023-07-22T18:32:45 |
CONTRIBUTOR
| null |
- Description: Modify the `PromptTemplate`'s `format` method behavior by temporarily altering the `__repr__` and `__format__` methods of the `Document` class. This will result in only the `page_content` being added to the template when conduct formatting. Refer to the unit test case below for further clarification.
- Issue: the issue #7967 it fixes
- Dependencies: No
- Tag maintainer: @baskaryan @rlancemartin
- Twitter handle: dayuanjian21687
Below is the unit test cases.
```python
prompt = PromptTemplate.from_template("This is a {var} test.")
# if the variable is string
output = prompt.format(var="good")
assert output == "This is a good test."
# if the variable is Document without meta_data
doc = Document(page_content="good")
output = prompt.format(var=doc)
print(output)
assert output == "This is a 'good' test."
# if the variable is Document with meta_data
doc = Document(page_content="good", meta_data={"bar": "baz"})
output = prompt.format(var=doc)
assert output == "This is a 'good' test."
# if the variable is Document and it is inside a list
doc1 = Document(page_content="good1", meta_data={"bar": "baz"})
doc2 = Document(page_content="good2", meta_data={"bar": "baz"})
output = prompt.format(var=[doc1, doc2])
assert output == "This is a ['good1', 'good2'] test."
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8130/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8130",
"html_url": "https://github.com/langchain-ai/langchain/pull/8130",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8130.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8130.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8129
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8129/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8129/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8129/events
|
https://github.com/langchain-ai/langchain/pull/8129
| 1,816,803,502 |
PR_kwDOIPDwls5WJkTd
| 8,129 |
bump versions
|
{
"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-22T15:32:35 | 2023-07-22T15:46:38 | 2023-07-22T15:46:37 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8129/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8129",
"html_url": "https://github.com/langchain-ai/langchain/pull/8129",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8129.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8129.patch",
"merged_at": "2023-07-22T15:46:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8128
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8128/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8128/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8128/events
|
https://github.com/langchain-ai/langchain/pull/8128
| 1,816,799,265 |
PR_kwDOIPDwls5WJjfX
| 8,128 |
Harrison/add back in experimental
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 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-22T15:18:31 | 2023-07-22T15:27:30 | 2023-07-22T15:27:29 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8128/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8128",
"html_url": "https://github.com/langchain-ai/langchain/pull/8128",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8128.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8128.patch",
"merged_at": "2023-07-22T15:27:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8127
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8127/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8127/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8127/events
|
https://github.com/langchain-ai/langchain/pull/8127
| 1,816,788,938 |
PR_kwDOIPDwls5WJhfB
| 8,127 |
fix empty ids when metadatas is provided
|
{
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/Bearnardd/followers",
"following_url": "https://api.github.com/users/Bearnardd/following{/other_user}",
"gists_url": "https://api.github.com/users/Bearnardd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bearnardd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bearnardd/subscriptions",
"organizations_url": "https://api.github.com/users/Bearnardd/orgs",
"repos_url": "https://api.github.com/users/Bearnardd/repos",
"events_url": "https://api.github.com/users/Bearnardd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bearnardd/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 |
{
"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 | 6 | 2023-07-22T14:45:11 | 2023-07-28T23:17:32 | 2023-07-28T23:17:31 |
CONTRIBUTOR
| null |
Fixes https://github.com/hwchase17/langchain/issues/7865 and https://github.com/hwchase17/langchain/issues/8061
- [x] fixes returning empty ids when metadatas argument is provided
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8127/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8127",
"html_url": "https://github.com/langchain-ai/langchain/pull/8127",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8127.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8127.patch",
"merged_at": "2023-07-28T23:17:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8126
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8126/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8126/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8126/events
|
https://github.com/langchain-ai/langchain/issues/8126
| 1,816,778,695 |
I_kwDOIPDwls5sSdfH
| 8,126 |
Issue: Using qdrant.as_retriver() to use the filtered data of a collection (filtered on the basis of payload data)
|
{
"login": "shubham184",
"id": 38903550,
"node_id": "MDQ6VXNlcjM4OTAzNTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/38903550?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubham184",
"html_url": "https://github.com/shubham184",
"followers_url": "https://api.github.com/users/shubham184/followers",
"following_url": "https://api.github.com/users/shubham184/following{/other_user}",
"gists_url": "https://api.github.com/users/shubham184/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shubham184/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shubham184/subscriptions",
"organizations_url": "https://api.github.com/users/shubham184/orgs",
"repos_url": "https://api.github.com/users/shubham184/repos",
"events_url": "https://api.github.com/users/shubham184/events{/privacy}",
"received_events_url": "https://api.github.com/users/shubham184/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 | 5 | 2023-07-22T14:09:54 | 2023-11-03T16:06:32 | 2023-11-03T16:06:31 |
NONE
| null |
### Issue you'd like to raise.
Unable to use metadata filtering of a collection qdrant and then use it in as_retriever function.
### Suggestion:
Qdrant.from_documents should include a filtering method as well to filer on the collection with payload (metadata)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8126/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8126/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8125
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8125/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8125/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8125/events
|
https://github.com/langchain-ai/langchain/issues/8125
| 1,816,770,103 |
I_kwDOIPDwls5sSbY3
| 8,125 |
call directly the prompt of GPT4All Model
|
{
"login": "Mabenan",
"id": 4959465,
"node_id": "MDQ6VXNlcjQ5NTk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4959465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mabenan",
"html_url": "https://github.com/Mabenan",
"followers_url": "https://api.github.com/users/Mabenan/followers",
"following_url": "https://api.github.com/users/Mabenan/following{/other_user}",
"gists_url": "https://api.github.com/users/Mabenan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mabenan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mabenan/subscriptions",
"organizations_url": "https://api.github.com/users/Mabenan/orgs",
"repos_url": "https://api.github.com/users/Mabenan/repos",
"events_url": "https://api.github.com/users/Mabenan/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mabenan/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 | 2 | 2023-07-22T13:43:02 | 2023-07-25T08:29:19 | 2023-07-25T08:29:19 |
NONE
| null |
### System Info
Langchain 0.0.238
System: WSL - Ubuntu
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Use the ConversationBufferMemory and Prompt Templates.
if you have the template
```python
"""
Human: Ask question
Assistant:
"""
```
The prompt passed to GPT4AllModel is again templated by gpt4all.py to avoid which results in the following prompt which is passed to the model
```python
"""
### Human Human: Ask question
Assistant:
### Assistant:
"""
```
This leads to incorrect answers where models are trying to talk to them self as human and assistant
if we directly call GPT4AllModel.model.prompt_model_streaming we are giving the prompt the user indented.
### Expected behavior
That the prompt Template is used that the user/developer gives the Chain
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8125/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8124
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8124/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8124/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8124/events
|
https://github.com/langchain-ai/langchain/pull/8124
| 1,816,761,563 |
PR_kwDOIPDwls5WJcML
| 8,124 |
Add batch processing and wait time to FAISS from_texts method
|
{
"login": "syusuke9999",
"id": 6879863,
"node_id": "MDQ6VXNlcjY4Nzk4NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6879863?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/syusuke9999",
"html_url": "https://github.com/syusuke9999",
"followers_url": "https://api.github.com/users/syusuke9999/followers",
"following_url": "https://api.github.com/users/syusuke9999/following{/other_user}",
"gists_url": "https://api.github.com/users/syusuke9999/gists{/gist_id}",
"starred_url": "https://api.github.com/users/syusuke9999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/syusuke9999/subscriptions",
"organizations_url": "https://api.github.com/users/syusuke9999/orgs",
"repos_url": "https://api.github.com/users/syusuke9999/repos",
"events_url": "https://api.github.com/users/syusuke9999/events{/privacy}",
"received_events_url": "https://api.github.com/users/syusuke9999/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 | 6 | 2023-07-22T13:13:27 | 2023-08-05T11:22:51 | 2023-07-22T18:52:37 |
NONE
| null |
Description: This pull request introduces two new optional parameters to the from_texts method in the FAISS class: batch_size and wait_time. When both parameters are provided, the method will process the texts in batches, waiting for a specified amount of time between each batch. This can be useful when dealing with rate-limited APIs such as the OpenAI API. If tqdm is not installed, an ImportError will be raised.
Issue: This change addresses the issue of handling large volumes of text processing when using rate-limited APIs (solution to issue #634).
Dependencies: This change requires the tqdm module.
Tag maintainer: @rlancemartin, @eyurtsev (as this change is related to VectorStores)
Twitter handle: @syusuke7777
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8124/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8124",
"html_url": "https://github.com/langchain-ai/langchain/pull/8124",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8124.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8124.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8123
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8123/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8123/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8123/events
|
https://github.com/langchain-ai/langchain/issues/8123
| 1,816,729,475 |
I_kwDOIPDwls5sSReD
| 8,123 |
Issue: Rewrite SelfQueryRetriever llm prompt for better results
|
{
"login": "AB00k",
"id": 121571684,
"node_id": "U_kgDOBz8JZA",
"avatar_url": "https://avatars.githubusercontent.com/u/121571684?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AB00k",
"html_url": "https://github.com/AB00k",
"followers_url": "https://api.github.com/users/AB00k/followers",
"following_url": "https://api.github.com/users/AB00k/following{/other_user}",
"gists_url": "https://api.github.com/users/AB00k/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AB00k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AB00k/subscriptions",
"organizations_url": "https://api.github.com/users/AB00k/orgs",
"repos_url": "https://api.github.com/users/AB00k/repos",
"events_url": "https://api.github.com/users/AB00k/events{/privacy}",
"received_events_url": "https://api.github.com/users/AB00k/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T11:23:10 | 2023-10-28T16:04:20 | 2023-10-28T16:04:19 |
NONE
| null |
### Issue you'd like to raise.
How I can change the value of "retriever.llm_chain.prompt" accordingly for specific task to achieve better and accurate results as self Query retrieval isn't working with Open source LLMs it raises following error and there is an issue related to this error that's not yet resolved as well.
OutputParserException: Parsing text
{
"query": "simon josu",
"filter": "and(eq(\"from\", \"Simon assistant app Josu\"), geq(\"date_received\", \"2020-12-14T00:00:00Z\"))"
}
raised following error:
Received unrecognized function geq. Valid functions are [<Operator.AND: 'and'>, <Operator.OR: 'or'>, <Operator.NOT: 'not'>, <Comparator.EQ: 'eq'>, <Comparator.GT: 'gt'>, <Comparator.GTE: 'gte'>, <Comparator.LT: 'lt'>, <Comparator.LTE: 'lte'>]
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8123/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8122
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8122/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8122/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8122/events
|
https://github.com/langchain-ai/langchain/issues/8122
| 1,816,718,804 |
I_kwDOIPDwls5sSO3U
| 8,122 |
missing parameter in similarity_search function in azuresearch.py
|
{
"login": "jshang11",
"id": 126711875,
"node_id": "U_kgDOB414Qw",
"avatar_url": "https://avatars.githubusercontent.com/u/126711875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jshang11",
"html_url": "https://github.com/jshang11",
"followers_url": "https://api.github.com/users/jshang11/followers",
"following_url": "https://api.github.com/users/jshang11/following{/other_user}",
"gists_url": "https://api.github.com/users/jshang11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jshang11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jshang11/subscriptions",
"organizations_url": "https://api.github.com/users/jshang11/orgs",
"repos_url": "https://api.github.com/users/jshang11/repos",
"events_url": "https://api.github.com/users/jshang11/events{/privacy}",
"received_events_url": "https://api.github.com/users/jshang11/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-22T10:43:30 | 2023-10-28T16:04:25 | 2023-10-28T16:04:24 |
NONE
| null |
### System Info
at line 250, self.semantic_hybrid_search function only pass two parameters, query and k. it missing "**kwargs "
241 def similarity_search(
242 self, query: str, k: int = 4, **kwargs: Any
243 ) -> List[Document]:
244 search_type = kwargs.get("search_type", self.search_type)
245 if search_type == "similarity":
246 docs = self.vector_search(query, k=k)
247 elif search_type == "hybrid":
248 docs = self.hybrid_search(query, k=k)
249 elif search_type == "semantic_hybrid":
250 # docs = self.semantic_hybrid_search(query, k=k)
251 docs = self.semantic_hybrid_search(query, k=k ,**kwargs )
252 else:
253 raise ValueError(f"search_type of {search_type} not allowed.")
254 return docs
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
without passing "**kwargs ", filter won't work
### Expected behavior
docs = vector_store.similarity_search(
query=query,
k=3,
search_type="semantic_hybrid",
searchFields='content_vector',
filters="mrn eq '04c3a6bcfcc821d7b7ac722713f4bf7c'",
)
return doc with filtered by filter condition
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8122/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/8122/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8121
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8121/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8121/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8121/events
|
https://github.com/langchain-ai/langchain/pull/8121
| 1,816,713,770 |
PR_kwDOIPDwls5WJS2t
| 8,121 |
GitHub toolkit improvements
|
{
"login": "Gordon-BP",
"id": 77560236,
"node_id": "MDQ6VXNlcjc3NTYwMjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/77560236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gordon-BP",
"html_url": "https://github.com/Gordon-BP",
"followers_url": "https://api.github.com/users/Gordon-BP/followers",
"following_url": "https://api.github.com/users/Gordon-BP/following{/other_user}",
"gists_url": "https://api.github.com/users/Gordon-BP/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Gordon-BP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gordon-BP/subscriptions",
"organizations_url": "https://api.github.com/users/Gordon-BP/orgs",
"repos_url": "https://api.github.com/users/Gordon-BP/repos",
"events_url": "https://api.github.com/users/Gordon-BP/events{/privacy}",
"received_events_url": "https://api.github.com/users/Gordon-BP/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-22T10:24:44 | 2023-07-24T03:17:54 | 2023-07-24T03:17:54 |
CONTRIBUTOR
| null |
Fixes an issue with the github tool where the API returned special objects but the tool was expecting dictionaries.
Also added proper docstrings to the GitHubAPIWraper methods and a (very basic) integration test.
Maintainer responsibilities:
- Agents / Tools / Toolkits: @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8121/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8121",
"html_url": "https://github.com/langchain-ai/langchain/pull/8121",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8121.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8121.patch",
"merged_at": "2023-07-24T03:17:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8120
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8120/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8120/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8120/events
|
https://github.com/langchain-ai/langchain/pull/8120
| 1,816,695,175 |
PR_kwDOIPDwls5WJPZO
| 8,120 |
add HuggingGPT Agent
|
{
"login": "tricktreat",
"id": 25740077,
"node_id": "MDQ6VXNlcjI1NzQwMDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/25740077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tricktreat",
"html_url": "https://github.com/tricktreat",
"followers_url": "https://api.github.com/users/tricktreat/followers",
"following_url": "https://api.github.com/users/tricktreat/following{/other_user}",
"gists_url": "https://api.github.com/users/tricktreat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tricktreat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tricktreat/subscriptions",
"organizations_url": "https://api.github.com/users/tricktreat/orgs",
"repos_url": "https://api.github.com/users/tricktreat/repos",
"events_url": "https://api.github.com/users/tricktreat/events{/privacy}",
"received_events_url": "https://api.github.com/users/tricktreat/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-22T09:16:39 | 2023-07-24T04:55:54 | 2023-07-24T04:55:53 |
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!
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
-->
- Description: add HuggingGPT Agent, see the [paper](https://arxiv.org/abs/2303.17580) and the [original project](https://github.com/microsoft/JARVIS).
- Notebook: add a [notebook](https://github.com/tricktreat/langchain/blob/bc840fe4307690505b3c0b051e0e2d9726777437/docs/extras/use_cases/autonomous_agents/hugginggpt.ipynb) showing its use.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8120/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8120",
"html_url": "https://github.com/langchain-ai/langchain/pull/8120",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8120.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8120.patch",
"merged_at": "2023-07-24T04:55:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8119
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8119/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8119/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8119/events
|
https://github.com/langchain-ai/langchain/pull/8119
| 1,816,667,727 |
PR_kwDOIPDwls5WJKit
| 8,119 |
Add default K in Retriever
|
{
"login": "vnk8071",
"id": 78080480,
"node_id": "MDQ6VXNlcjc4MDgwNDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/78080480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vnk8071",
"html_url": "https://github.com/vnk8071",
"followers_url": "https://api.github.com/users/vnk8071/followers",
"following_url": "https://api.github.com/users/vnk8071/following{/other_user}",
"gists_url": "https://api.github.com/users/vnk8071/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vnk8071/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vnk8071/subscriptions",
"organizations_url": "https://api.github.com/users/vnk8071/orgs",
"repos_url": "https://api.github.com/users/vnk8071/repos",
"events_url": "https://api.github.com/users/vnk8071/events{/privacy}",
"received_events_url": "https://api.github.com/users/vnk8071/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 | 7 | 2023-07-22T07:44:20 | 2023-08-04T05:52:02 | 2023-08-04T05:52:02 |
NONE
| null |
- Description: add default class variable for inheriting BaseRetriever
- Issue: issue #7922 ,
- Dependencies: no,
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8119/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8119",
"html_url": "https://github.com/langchain-ai/langchain/pull/8119",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8119.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8119.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8117
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8117/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8117/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8117/events
|
https://github.com/langchain-ai/langchain/pull/8117
| 1,816,637,467 |
PR_kwDOIPDwls5WJFOq
| 8,117 |
adding full path to .toml files for the COPY in the dev dockerfile
|
{
"login": "byronsalty",
"id": 96877,
"node_id": "MDQ6VXNlcjk2ODc3",
"avatar_url": "https://avatars.githubusercontent.com/u/96877?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/byronsalty",
"html_url": "https://github.com/byronsalty",
"followers_url": "https://api.github.com/users/byronsalty/followers",
"following_url": "https://api.github.com/users/byronsalty/following{/other_user}",
"gists_url": "https://api.github.com/users/byronsalty/gists{/gist_id}",
"starred_url": "https://api.github.com/users/byronsalty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/byronsalty/subscriptions",
"organizations_url": "https://api.github.com/users/byronsalty/orgs",
"repos_url": "https://api.github.com/users/byronsalty/repos",
"events_url": "https://api.github.com/users/byronsalty/events{/privacy}",
"received_events_url": "https://api.github.com/users/byronsalty/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-07-22T05:57:26 | 2023-07-26T00:38:43 | 2023-07-26T00:38:42 |
CONTRIBUTOR
| null |
- Description: in the .devcontainer, docker-compose build is currently failing due to the src paths in the COPY command. This change adds the full path to the pyproject.toml and poetry.toml to allow the build to run.
- Issue: na
- Dependencies: none
- Twitter handle: byronsalty
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8117/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8117",
"html_url": "https://github.com/langchain-ai/langchain/pull/8117",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8117.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8117.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8116
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8116/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8116/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8116/events
|
https://github.com/langchain-ai/langchain/pull/8116
| 1,816,629,809 |
PR_kwDOIPDwls5WJDxt
| 8,116 |
add tests to redis vectorstore
|
{
"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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-22T05:22:39 | 2023-08-04T06:16:38 | 2023-08-01T00:07:09 |
CONTRIBUTOR
| null |
# What
- Add function to get similarity with score with threshold in Redis vector store.
- Add tests to Redis vector store.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Add tests to Redis vector store.
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
- 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/8116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8116/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8116",
"html_url": "https://github.com/langchain-ai/langchain/pull/8116",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8116.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8116.patch",
"merged_at": "2023-08-01T00:07:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8115
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8115/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8115/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8115/events
|
https://github.com/langchain-ai/langchain/pull/8115
| 1,816,604,824 |
PR_kwDOIPDwls5WI-om
| 8,115 |
Generalize Comment on Streaming Support for LLM Implementations and add examples
|
{
"login": "adarshxs",
"id": 114558126,
"node_id": "U_kgDOBtQErg",
"avatar_url": "https://avatars.githubusercontent.com/u/114558126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adarshxs",
"html_url": "https://github.com/adarshxs",
"followers_url": "https://api.github.com/users/adarshxs/followers",
"following_url": "https://api.github.com/users/adarshxs/following{/other_user}",
"gists_url": "https://api.github.com/users/adarshxs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adarshxs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adarshxs/subscriptions",
"organizations_url": "https://api.github.com/users/adarshxs/orgs",
"repos_url": "https://api.github.com/users/adarshxs/repos",
"events_url": "https://api.github.com/users/adarshxs/events{/privacy}",
"received_events_url": "https://api.github.com/users/adarshxs/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-22T04:27:42 | 2023-07-24T06:02:26 | 2023-07-24T06:00:00 |
CONTRIBUTOR
| null |
The example provided demonstrates the usage of the HuggingFaceTextGenInference implementation with streaming enabled.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8115/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8115",
"html_url": "https://github.com/langchain-ai/langchain/pull/8115",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8115.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8115.patch",
"merged_at": "2023-07-24T06:00:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8114
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8114/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8114/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8114/events
|
https://github.com/langchain-ai/langchain/pull/8114
| 1,816,577,970 |
PR_kwDOIPDwls5WI49r
| 8,114 |
changed to mlflow-ai-gateway in llms/__init__.py
|
{
"login": "rajib76",
"id": 16340036,
"node_id": "MDQ6VXNlcjE2MzQwMDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/16340036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajib76",
"html_url": "https://github.com/rajib76",
"followers_url": "https://api.github.com/users/rajib76/followers",
"following_url": "https://api.github.com/users/rajib76/following{/other_user}",
"gists_url": "https://api.github.com/users/rajib76/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajib76/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajib76/subscriptions",
"organizations_url": "https://api.github.com/users/rajib76/orgs",
"repos_url": "https://api.github.com/users/rajib76/repos",
"events_url": "https://api.github.com/users/rajib76/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajib76/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 | 2 | 2023-07-22T03:00:44 | 2023-07-24T06:30:46 | 2023-07-24T06:30:46 |
CONTRIBUTOR
| null |
- Description: In the llms/__init__.py, the key name is wrong for mlflowaigateway. It should be mlflow-ai-gateway
- Issue: NA
- Dependencies: NA
- Tag maintainer: @hwchase17, @baskaryan
- Twitter handle: na
Without this fix, when we run the code for mlflowaigateway, we will get error as below
ValueError: Loading mlflow-ai-gateway LLM not supported
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8114/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8114",
"html_url": "https://github.com/langchain-ai/langchain/pull/8114",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8114.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8114.patch",
"merged_at": "2023-07-24T06:30:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8113
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8113/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8113/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8113/events
|
https://github.com/langchain-ai/langchain/pull/8113
| 1,816,569,204 |
PR_kwDOIPDwls5WI25A
| 8,113 |
add filter to sklearn vector store functions
|
{
"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": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T02:54:32 | 2023-08-04T06:16:27 | 2023-08-04T06:06:41 |
CONTRIBUTOR
| null |
# What
- This is to add filter option to sklearn vectore store functions
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Add filter to sklearn vectore store functions.
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: @MlopsJ
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/8113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8113/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8113",
"html_url": "https://github.com/langchain-ai/langchain/pull/8113",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8113.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8113.patch",
"merged_at": "2023-08-04T06:06:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8112
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8112/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8112/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8112/events
|
https://github.com/langchain-ai/langchain/pull/8112
| 1,816,550,128 |
PR_kwDOIPDwls5WIzO6
| 8,112 |
add save and load tfidf vectorizer and docs for TFIDFRetriever
|
{
"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": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T02:26:41 | 2023-08-04T06:06:27 | 2023-08-04T06:06:27 |
CONTRIBUTOR
| null |
This is to add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever to make the vectorizer reusable.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
- 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/8112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8112/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8112",
"html_url": "https://github.com/langchain-ai/langchain/pull/8112",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8112.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8112.patch",
"merged_at": "2023-08-04T06:06:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8111
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8111/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8111/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8111/events
|
https://github.com/langchain-ai/langchain/pull/8111
| 1,816,540,235 |
PR_kwDOIPDwls5WIxWQ
| 8,111 |
Save tfidf vectorizer and docs in TFIDFRetriever
|
{
"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": 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-22T02:16:44 | 2023-07-22T02:22:05 | 2023-07-22T02:22:03 |
CONTRIBUTOR
| null |
This is to add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever to make the vectorizer reusable.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever
- 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/8111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8111/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8111",
"html_url": "https://github.com/langchain-ai/langchain/pull/8111",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8111.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8111.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8110
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8110/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8110/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8110/events
|
https://github.com/langchain-ai/langchain/pull/8110
| 1,816,539,621 |
PR_kwDOIPDwls5WIxOh
| 8,110 |
MultiOn client toolkit
|
{
"login": "kitrak-rev",
"id": 75213811,
"node_id": "MDQ6VXNlcjc1MjEzODEx",
"avatar_url": "https://avatars.githubusercontent.com/u/75213811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kitrak-rev",
"html_url": "https://github.com/kitrak-rev",
"followers_url": "https://api.github.com/users/kitrak-rev/followers",
"following_url": "https://api.github.com/users/kitrak-rev/following{/other_user}",
"gists_url": "https://api.github.com/users/kitrak-rev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kitrak-rev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kitrak-rev/subscriptions",
"organizations_url": "https://api.github.com/users/kitrak-rev/orgs",
"repos_url": "https://api.github.com/users/kitrak-rev/repos",
"events_url": "https://api.github.com/users/kitrak-rev/events{/privacy}",
"received_events_url": "https://api.github.com/users/kitrak-rev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T02:14:15 | 2023-07-22T15:19:02 | 2023-07-22T15:19:02 |
CONTRIBUTOR
| null |
Addition of MultiOn Client Agent Toolkit
Dependencies: multion pip package
This PR consists of the following:
- MultiOn utility,tools and integration with agent
- sample jupyter notebook.
Request @hwchase17 , @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8110/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8110",
"html_url": "https://github.com/langchain-ai/langchain/pull/8110",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8110.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8110.patch",
"merged_at": "2023-07-22T15:19:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8109
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8109/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8109/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8109/events
|
https://github.com/langchain-ai/langchain/pull/8109
| 1,816,537,010 |
PR_kwDOIPDwls5WIwsW
| 8,109 |
Save TFIDF Vectorizer in tfidf_retriever.py
|
{
"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": 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-22T02:03:38 | 2023-07-22T02:08:18 | 2023-07-22T02:08:14 |
CONTRIBUTOR
| null |
This is to add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever to make the vectorizer reusable.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add save_local and load_local to tfidf_vectorizer and docs in tfidf_retriever
- 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/8109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8109/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8109",
"html_url": "https://github.com/langchain-ai/langchain/pull/8109",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8109.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8109.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8108
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8108/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8108/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8108/events
|
https://github.com/langchain-ai/langchain/pull/8108
| 1,816,534,507 |
PR_kwDOIPDwls5WIwU7
| 8,108 |
add Hybrid retriever that not require any external service
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/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 | 5 | 2023-07-22T01:56:17 | 2023-07-25T02:26:36 | 2023-07-25T02:16:11 |
CONTRIBUTOR
| null |
- Until now, hybrid search was limited to modules requiring external services, such as Weaviate/Pinecone Hybrid Search. However, I have developed a hybrid retriever that can merge a list of retrievers using the [Reciprocal Rank Fusion](https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdf) algorithm. This new approach, similar to Weaviate hybrid search, does not require the initialization of any external service.
- Dependencies: No
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: dayuanjian21687
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8108/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8108",
"html_url": "https://github.com/langchain-ai/langchain/pull/8108",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8108.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8108.patch",
"merged_at": "2023-07-25T02:16:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8107
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8107/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8107/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8107/events
|
https://github.com/langchain-ai/langchain/pull/8107
| 1,816,533,020 |
PR_kwDOIPDwls5WIwHC
| 8,107 |
Added stop sequence support to replicate
|
{
"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": 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-22T01:51:51 | 2023-07-25T02:58:58 | 2023-07-25T00:34:13 |
CONTRIBUTOR
| null |
Stop sequences are useful if you are doing long-running completions and need to early-out rather than running for the full max_length... not only does this save inference cost on Replicate, it is also much faster if you are going to truncate the output later anyway.
Other LLMs support stop sequences natively (e.g. OpenAI) but I didn't see this for Replicate so adding this via their prediction cancel method.
Housekeeping: I ran `make format` and `make lint`, no issues reported in the files I touched.
I did update the replicate integration test and ran `poetry run pytest tests/integration_tests/llms/test_replicate.py` successfully.
Finally, I am @tjaffri https://twitter.com/tjaffri for feature announcement tweets... or if you could please tag @docugami https://twitter.com/docugami we would really appreciate that :-)
Tagging model maintainers @hwchase17 @baskaryan
Thank for all the awesome work you folks are doing.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8107/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8107",
"html_url": "https://github.com/langchain-ai/langchain/pull/8107",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8107.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8107.patch",
"merged_at": "2023-07-25T00:34:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8106
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8106/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8106/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8106/events
|
https://github.com/langchain-ai/langchain/pull/8106
| 1,816,529,863 |
PR_kwDOIPDwls5WIvdZ
| 8,106 |
Harrison/official pre release
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-22T01:38:31 | 2023-07-22T01:44:33 | 2023-07-22T01:44:32 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8106/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8106",
"html_url": "https://github.com/langchain-ai/langchain/pull/8106",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8106.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8106.patch",
"merged_at": "2023-07-22T01:44:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8105
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8105/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8105/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8105/events
|
https://github.com/langchain-ai/langchain/issues/8105
| 1,816,522,282 |
I_kwDOIPDwls5sRe4q
| 8,105 |
DOC: Link broken for Python Guide on Prompts Page
|
{
"login": "siddesai80",
"id": 50095990,
"node_id": "MDQ6VXNlcjUwMDk1OTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/50095990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siddesai80",
"html_url": "https://github.com/siddesai80",
"followers_url": "https://api.github.com/users/siddesai80/followers",
"following_url": "https://api.github.com/users/siddesai80/following{/other_user}",
"gists_url": "https://api.github.com/users/siddesai80/gists{/gist_id}",
"starred_url": "https://api.github.com/users/siddesai80/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/siddesai80/subscriptions",
"organizations_url": "https://api.github.com/users/siddesai80/orgs",
"repos_url": "https://api.github.com/users/siddesai80/repos",
"events_url": "https://api.github.com/users/siddesai80/events{/privacy}",
"received_events_url": "https://api.github.com/users/siddesai80/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-22T01:09:31 | 2023-07-31T09:12:19 | 2023-07-31T09:12:19 |
NONE
| null |
### Issue with current documentation:
The hyperlink which should navigate to the Python guide for Prompts seems to be broken.
Affected link -> https://docs.langchain.com/docs/components/prompts/
Click on the `Python Guide` link under the `info` section. It leads to `Page Not Found`.

### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8105/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8104
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8104/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8104/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8104/events
|
https://github.com/langchain-ai/langchain/pull/8104
| 1,816,520,200 |
PR_kwDOIPDwls5WItfY
| 8,104 |
Enhance Qdrant VS performances by using async embed documents
|
{
"login": "danhnn",
"id": 4262618,
"node_id": "MDQ6VXNlcjQyNjI2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4262618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danhnn",
"html_url": "https://github.com/danhnn",
"followers_url": "https://api.github.com/users/danhnn/followers",
"following_url": "https://api.github.com/users/danhnn/following{/other_user}",
"gists_url": "https://api.github.com/users/danhnn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danhnn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danhnn/subscriptions",
"organizations_url": "https://api.github.com/users/danhnn/orgs",
"repos_url": "https://api.github.com/users/danhnn/repos",
"events_url": "https://api.github.com/users/danhnn/events{/privacy}",
"received_events_url": "https://api.github.com/users/danhnn/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 | 4 | 2023-07-22T01:02:07 | 2023-08-19T02:00:07 | 2023-08-19T02:00:06 |
CONTRIBUTOR
| null |
- Description: Since OpenAI supports async embed documents then the Qdrant VS (and other as well but I focus on Qdrant for now) should use it as well to avoid blocking IO when creating embedded data
- Dependencies: No
- Tag maintainer: @agola11
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8104/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8104",
"html_url": "https://github.com/langchain-ai/langchain/pull/8104",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8104.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8104.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8103
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8103/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8103/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8103/events
|
https://github.com/langchain-ai/langchain/pull/8103
| 1,816,499,761 |
PR_kwDOIPDwls5WIpBv
| 8,103 |
Update SageMaker Endpoint Embeddings docs to be up to date with current requirements
|
{
"login": "JuanJTorres11",
"id": 43612178,
"node_id": "MDQ6VXNlcjQzNjEyMTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/43612178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuanJTorres11",
"html_url": "https://github.com/JuanJTorres11",
"followers_url": "https://api.github.com/users/JuanJTorres11/followers",
"following_url": "https://api.github.com/users/JuanJTorres11/following{/other_user}",
"gists_url": "https://api.github.com/users/JuanJTorres11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JuanJTorres11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JuanJTorres11/subscriptions",
"organizations_url": "https://api.github.com/users/JuanJTorres11/orgs",
"repos_url": "https://api.github.com/users/JuanJTorres11/repos",
"events_url": "https://api.github.com/users/JuanJTorres11/events{/privacy}",
"received_events_url": "https://api.github.com/users/JuanJTorres11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-22T00:14:10 | 2023-07-24T20:35:07 | 2023-07-24T20:35:06 |
CONTRIBUTOR
| null |
- **Description:** Simple change of the Class that ContentHandler inherits from. To create an object of type SagemakerEndpointEmbeddings, the property content_handler must be of type EmbeddingsContentHandler not ContentHandlerBase anymore,
- **Maintainer:** @baskaryan
- **Twitter handle:** @Juanjo_Torres11
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8103/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8103",
"html_url": "https://github.com/langchain-ai/langchain/pull/8103",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8103.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8103.patch",
"merged_at": "2023-07-24T20:35:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8102
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8102/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8102/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8102/events
|
https://github.com/langchain-ai/langchain/pull/8102
| 1,816,482,664 |
PR_kwDOIPDwls5WIlNd
| 8,102 |
Web research retriever
|
{
"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": 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-07-21T23:48:04 | 2023-07-26T02:58:01 | 2023-07-26T02:58:01 |
COLLABORATOR
| null |
Given a user question, this will -
* Use LLM to generate a set of queries.
* Query for each.
* The URLs from search results are stored in self.urls.
* A check is performed for any new URLs that haven't been processed yet (not in self.url_database).
* Only these new URLs are loaded, transformed, and added to the vectorstore.
* The vectorstore is queried for relevant documents based on the questions generated by the LLM.
* Only unique documents are returned as the final result.
This code will avoid reprocessing of URLs across multiple runs of similar queries, which should improve the performance of the retriever. It also keeps track of all URLs that have been processed, which could be useful for debugging or understanding the retriever's behavior.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8102/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8102/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8102",
"html_url": "https://github.com/langchain-ai/langchain/pull/8102",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8102.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8102.patch",
"merged_at": "2023-07-26T02:58:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8101
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8101/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8101/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8101/events
|
https://github.com/langchain-ai/langchain/pull/8101
| 1,816,425,570 |
PR_kwDOIPDwls5WIZFE
| 8,101 |
mv module integrations docs
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-21T21:59:22 | 2023-07-24T06:23:17 | 2023-07-24T06:23:16 |
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/8101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8101/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8101",
"html_url": "https://github.com/langchain-ai/langchain/pull/8101",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8101.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8101.patch",
"merged_at": "2023-07-24T06:23:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8100
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8100/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8100/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8100/events
|
https://github.com/langchain-ai/langchain/pull/8100
| 1,816,406,854 |
PR_kwDOIPDwls5WIVC8
| 8,100 |
SQL Query Prompt update + added _execute method for SQLDatabase
|
{
"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": 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-21T21:33:54 | 2023-08-01T07:53:01 | 2023-07-31T23:28:08 |
CONTRIBUTOR
| null |
- Description: This pull request (PR) includes two minor changes:
1. Updated the default prompt for SQL Query Checker: The current prompt does not clearly specify the final response that the LLM (Language Model) should provide when checking for the query if `use_query_checker` is enabled in SQLDatabase Chain. As a result, the LLM adds extra words like "Here is your updated query" to the response. However, this causes a syntax error when executing the SQL command in SQLDatabaseChain, as these additional words are also included in the SQL query.
2. Moved the query's execution part into a separate method for SQLDatabase: The purpose of this change is to provide users with more flexibility when obtaining the result of an SQL query in the original form returned by sqlalchemy. In the previous implementation, the run method returned the results as a string. By creating a distinct method for execution, users can now receive the results in original format, which proves helpful in various scenarios. For example, during the development of a tool, I found it advantageous to obtain results in original format rather than a string, as currently done by the run method.
- Tag maintainer: @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8100/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/8100/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8100",
"html_url": "https://github.com/langchain-ai/langchain/pull/8100",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8100.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8100.patch",
"merged_at": "2023-07-31T23:28:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8099
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8099/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8099/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8099/events
|
https://github.com/langchain-ai/langchain/pull/8099
| 1,816,401,775 |
PR_kwDOIPDwls5WIT7m
| 8,099 |
Refactored `example_generator`
|
{
"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": 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 | 2 | 2023-07-21T21:27:53 | 2023-07-24T20:53:53 | 2023-07-24T20:36:45 |
COLLABORATOR
| null |
Refactored `example_generator.py`. The same as #7961
`example_generator.py` is in the root code folder. This creates the `langchain.example_generator: Example Generator ` group on the API Reference navigation ToC, on the same level as `Chains` and `Agents` which is not correct.
Refactoring:
- moved `example_generator.py` content into `chains/example_generator.py` (not in `utils` because the `example_generator` has dependencies on other LangChain classes. It also doesn't work for moving into `utilities/`)
- added the backwards compatibility ref in the original `example_generator.py`
@hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8099/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8099",
"html_url": "https://github.com/langchain-ai/langchain/pull/8099",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8099.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8099.patch",
"merged_at": "2023-07-24T20:36:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8098
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8098/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8098/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8098/events
|
https://github.com/langchain-ai/langchain/pull/8098
| 1,816,374,869 |
PR_kwDOIPDwls5WIODO
| 8,098 |
Refactored `env`
|
{
"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": 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 | 2 | 2023-07-21T20:56:17 | 2023-07-24T20:52:55 | 2023-07-24T20:52:55 |
COLLABORATOR
| null |
Refactored `env.py`. The same as #7961
`env.py` is in the root code folder. This creates the `langchain.env: Env ` group on the API Reference navigation ToC, on the same level as `Chains` and `Agents` which is not correct.
Refactoring:
- moved env.py content into utils/env.py
- added the backwards compatibility ref in the original `env.py`
@hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8098/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8098",
"html_url": "https://github.com/langchain-ai/langchain/pull/8098",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8098.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8098.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8097
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8097/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8097/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8097/events
|
https://github.com/langchain-ai/langchain/pull/8097
| 1,816,360,046 |
PR_kwDOIPDwls5WIK0_
| 8,097 |
bump releases rc0
|
{
"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-21T20:39:50 | 2023-07-21T20:54:58 | 2023-07-21T20:54:58 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8097/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8097",
"html_url": "https://github.com/langchain-ai/langchain/pull/8097",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8097.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8097.patch",
"merged_at": "2023-07-21T20:54:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8096
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8096/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8096/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8096/events
|
https://github.com/langchain-ai/langchain/pull/8096
| 1,816,355,982 |
PR_kwDOIPDwls5WIJ8H
| 8,096 |
add experimental release action
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T20:35:10 | 2023-07-21T20:38:36 | 2023-07-21T20:38:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8096/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8096",
"html_url": "https://github.com/langchain-ai/langchain/pull/8096",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8096.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8096.patch",
"merged_at": "2023-07-21T20:38:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8095
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8095/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8095/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8095/events
|
https://github.com/langchain-ai/langchain/issues/8095
| 1,816,308,692 |
I_kwDOIPDwls5sQqvU
| 8,095 |
Human Tool with websocket
|
{
"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": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-07-21T19:47:10 | 2023-11-06T18:11:00 | 2023-11-06T18:10:50 |
NONE
| null |
### Issue you'd like to raise.
How can i use Human Tool along with the websocket. As we cannot use async with tool.Can anyone please provide the solution for this.
def please_take_test():
score = 0
for i, data in enumerate(questions):
print(ask_for_info(data["question"], data["options"]))
provided_answer = str(input())
score += check_answer(provided_answer, data["answer"])
first_prompt = ChatPromptTemplate.from_template(
"""You are the assisant to greet the user on the basis of score
"""
)
info_gathering_chain = LLMChain(llm=llm, prompt=first_prompt)
ai_chat = info_gathering_chain.run(score = score)
return ai_chat
Here I need this input() should be directly taken from the user interface
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8095/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/8095/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8094
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8094/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8094/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8094/events
|
https://github.com/langchain-ai/langchain/issues/8094
| 1,816,302,776 |
I_kwDOIPDwls5sQpS4
| 8,094 |
retrieve email metadata from email stored as pdf
|
{
"login": "tevslin",
"id": 26681478,
"node_id": "MDQ6VXNlcjI2NjgxNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/26681478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tevslin",
"html_url": "https://github.com/tevslin",
"followers_url": "https://api.github.com/users/tevslin/followers",
"following_url": "https://api.github.com/users/tevslin/following{/other_user}",
"gists_url": "https://api.github.com/users/tevslin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tevslin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tevslin/subscriptions",
"organizations_url": "https://api.github.com/users/tevslin/orgs",
"repos_url": "https://api.github.com/users/tevslin/repos",
"events_url": "https://api.github.com/users/tevslin/events{/privacy}",
"received_events_url": "https://api.github.com/users/tevslin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-21T19:40:54 | 2023-10-27T16:04:53 | 2023-10-27T16:04:52 |
NONE
| null |
### Feature request
parse the text in a pdf to determine whether it contains header fields such as From:, To:, Date: etc which make it likely that the original data was an email. if so, return the contents of those fields as Document metadata which can, for example, be used as metadata in a database.
### Motivation
Sometimes it as important to know who said what to whom when as it is to determine what actual facts are. Investigative reporting is one example. There are adequate tools to retrieve email and its metadata from Gmail or Exchange. A similar tool for email which has been saved as a collection of PDFs which parses and retrieves the metadata will make these document collections more accessible and useful.
### Your contribution
I have created a pdf to email tool in the proper format to incorporated with existing langchain document loaders. It's at [https://github.com/tevslin/emailai](https://github.com/tevslin/emailai). If there's interest I will do the linting etc to submit as a pr.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8094/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/8094/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8093
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8093/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8093/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8093/events
|
https://github.com/langchain-ai/langchain/pull/8093
| 1,816,295,760 |
PR_kwDOIPDwls5WH85T
| 8,093 |
Removing score threshold parameter of faiss _similarity_search_with_r…
|
{
"login": "Sidchat95",
"id": 122575389,
"node_id": "U_kgDOB05aHQ",
"avatar_url": "https://avatars.githubusercontent.com/u/122575389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sidchat95",
"html_url": "https://github.com/Sidchat95",
"followers_url": "https://api.github.com/users/Sidchat95/followers",
"following_url": "https://api.github.com/users/Sidchat95/following{/other_user}",
"gists_url": "https://api.github.com/users/Sidchat95/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sidchat95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sidchat95/subscriptions",
"organizations_url": "https://api.github.com/users/Sidchat95/orgs",
"repos_url": "https://api.github.com/users/Sidchat95/repos",
"events_url": "https://api.github.com/users/Sidchat95/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sidchat95/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": 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 | 5 | 2023-07-21T19:33:15 | 2023-08-04T04:31:43 | 2023-08-04T04:31:43 |
CONTRIBUTOR
| null |
Removing score threshold parameter of faiss _similarity_search_with_relevance_scores as the thresholding part is implemented in similarity_search_with_relevance_scores method which calls this method.
As this method is supposed to be a private method of faiss.py this will never receive the score threshold parameter as it is popped in the super method similarity_search_with_relevance_scores.
@baskaryan @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8093/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8093",
"html_url": "https://github.com/langchain-ai/langchain/pull/8093",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8093.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8093.patch",
"merged_at": "2023-08-04T04:31:43"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8092
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8092/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8092/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8092/events
|
https://github.com/langchain-ai/langchain/pull/8092
| 1,816,275,731 |
PR_kwDOIPDwls5WH4mi
| 8,092 |
remove CVEs
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 8 | 2023-07-21T19:12:38 | 2024-01-09T14:20:20 | 2023-07-21T20:32:39 |
COLLABORATOR
| null |
This PR aims to move all code with CVEs into `langchain.experimental`. Note that we are NOT yet removing from the core `langchain` package - we will give people a week to migrate here.
See MIGRATE.md for how to migrate
Zero changes to functionality
Vulnerabilities this addresses:
PALChain:
- https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5752409
- https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5759265
SQLDatabaseChain
- https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5759268
`load_prompt` (Python files only)
- https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAIN-5725807
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8092/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8092",
"html_url": "https://github.com/langchain-ai/langchain/pull/8092",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8092.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8092.patch",
"merged_at": "2023-07-21T20:32:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8091
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8091/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8091/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8091/events
|
https://github.com/langchain-ai/langchain/pull/8091
| 1,816,273,518 |
PR_kwDOIPDwls5WH4Hr
| 8,091 |
add kwargs support for Baseten models
|
{
"login": "philipkiely-baseten",
"id": 98474633,
"node_id": "U_kgDOBd6aiQ",
"avatar_url": "https://avatars.githubusercontent.com/u/98474633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philipkiely-baseten",
"html_url": "https://github.com/philipkiely-baseten",
"followers_url": "https://api.github.com/users/philipkiely-baseten/followers",
"following_url": "https://api.github.com/users/philipkiely-baseten/following{/other_user}",
"gists_url": "https://api.github.com/users/philipkiely-baseten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/philipkiely-baseten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philipkiely-baseten/subscriptions",
"organizations_url": "https://api.github.com/users/philipkiely-baseten/orgs",
"repos_url": "https://api.github.com/users/philipkiely-baseten/repos",
"events_url": "https://api.github.com/users/philipkiely-baseten/events{/privacy}",
"received_events_url": "https://api.github.com/users/philipkiely-baseten/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-21T19:10:20 | 2023-07-21T20:57:27 | 2023-07-21T20:56:27 |
CONTRIBUTOR
| null |
This bugfix PR adds kwargs support to Baseten model invocations so that e.g. the following script works properly:
```python
chatgpt_chain = LLMChain(
llm=Baseten(model="MODEL_ID"),
prompt=prompt,
verbose=False,
memory=ConversationBufferWindowMemory(k=2),
llm_kwargs={"max_length": 4096}
)
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8091/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8091",
"html_url": "https://github.com/langchain-ai/langchain/pull/8091",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8091.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8091.patch",
"merged_at": "2023-07-21T20:56:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8090
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8090/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8090/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8090/events
|
https://github.com/langchain-ai/langchain/pull/8090
| 1,816,262,121 |
PR_kwDOIPDwls5WH1qR
| 8,090 |
use top nav docs
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T18:58:52 | 2023-07-21T20:52:05 | 2023-07-21T20:52:04 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8090/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8090",
"html_url": "https://github.com/langchain-ai/langchain/pull/8090",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8090.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8090.patch",
"merged_at": "2023-07-21T20:52:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8089
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8089/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8089/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8089/events
|
https://github.com/langchain-ai/langchain/issues/8089
| 1,816,206,936 |
I_kwDOIPDwls5sQR5Y
| 8,089 |
Issue: OpenSearch painless scripting scoring function could be improved
|
{
"login": "aerickson-clt",
"id": 32244272,
"node_id": "MDQ6VXNlcjMyMjQ0Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/32244272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aerickson-clt",
"html_url": "https://github.com/aerickson-clt",
"followers_url": "https://api.github.com/users/aerickson-clt/followers",
"following_url": "https://api.github.com/users/aerickson-clt/following{/other_user}",
"gists_url": "https://api.github.com/users/aerickson-clt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aerickson-clt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aerickson-clt/subscriptions",
"organizations_url": "https://api.github.com/users/aerickson-clt/orgs",
"repos_url": "https://api.github.com/users/aerickson-clt/repos",
"events_url": "https://api.github.com/users/aerickson-clt/events{/privacy}",
"received_events_url": "https://api.github.com/users/aerickson-clt/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-21T18:19:26 | 2023-10-27T16:04:59 | 2023-10-27T16:04:58 |
CONTRIBUTOR
| null |
### Issue you'd like to raise.
Painless scripting shows an example scoring function here
https://opensearch.org/docs/latest/search-plugins/knn/painless-functions/#get-started-with-k-nns-painless-scripting-functions
You can see that they reference the query vector by `params.query_value`. This is better, in my opinion than simply pasting it in as we do here
https://github.com/hwchase17/langchain/blob/17c06ee45634cafb9aa8fcd06848a4213b2d58e2/libs/langchain/langchain/vectorstores/opensearch_vector_search.py#L246
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8089/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8088
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8088/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8088/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8088/events
|
https://github.com/langchain-ai/langchain/pull/8088
| 1,816,206,535 |
PR_kwDOIPDwls5WHpiR
| 8,088 |
update contributor guide
|
{
"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-21T18:19:02 | 2023-07-21T19:01:06 | 2023-07-21T19:01:05 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8088/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8088",
"html_url": "https://github.com/langchain-ai/langchain/pull/8088",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8088.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8088.patch",
"merged_at": "2023-07-21T19:01:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8087
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8087/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8087/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8087/events
|
https://github.com/langchain-ai/langchain/issues/8087
| 1,816,203,822 |
I_kwDOIPDwls5sQRIu
| 8,087 |
YoutubeLoader to load documents from transcripts as chunks
|
{
"login": "beaterblank",
"id": 68276845,
"node_id": "MDQ6VXNlcjY4Mjc2ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/68276845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beaterblank",
"html_url": "https://github.com/beaterblank",
"followers_url": "https://api.github.com/users/beaterblank/followers",
"following_url": "https://api.github.com/users/beaterblank/following{/other_user}",
"gists_url": "https://api.github.com/users/beaterblank/gists{/gist_id}",
"starred_url": "https://api.github.com/users/beaterblank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/beaterblank/subscriptions",
"organizations_url": "https://api.github.com/users/beaterblank/orgs",
"repos_url": "https://api.github.com/users/beaterblank/repos",
"events_url": "https://api.github.com/users/beaterblank/events{/privacy}",
"received_events_url": "https://api.github.com/users/beaterblank/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-21T18:16:32 | 2023-10-28T16:04:30 | 2023-10-28T16:04:29 |
NONE
| null |
### Feature request
Currently, The YoutubeLoader class loads transcripts and converts all of them into a single large piece of text loosing all the information regarding when it was said in the video to be able to reference it later.
I understand we cannot have very small/ unpridictable lengths of transcripts, which is why it would be great to chunk them according to a input duration by user and retain some information regarding when its said. which get the best of both worlds by having large enough data and also retaining context
### Motivation
I was trying to make a vedio qa retriever, Then I noticed how the transcripts were being loaded, I have also noticed this issue with other transcript loaders such as VTT, then I had to make my custom function to load the transcripts in chunks of duration that made sense to me, which lead me to making this issue
### Your contribution
I already have the code for chunking the transcripts, would love to submit a PR.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8087/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/8087/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8086
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8086/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8086/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8086/events
|
https://github.com/langchain-ai/langchain/pull/8086
| 1,816,197,628 |
PR_kwDOIPDwls5WHnlf
| 8,086 |
Issue #8089 Improve painless script scoring with params.query_value.
|
{
"login": "aerickson-clt",
"id": 32244272,
"node_id": "MDQ6VXNlcjMyMjQ0Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/32244272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aerickson-clt",
"html_url": "https://github.com/aerickson-clt",
"followers_url": "https://api.github.com/users/aerickson-clt/followers",
"following_url": "https://api.github.com/users/aerickson-clt/following{/other_user}",
"gists_url": "https://api.github.com/users/aerickson-clt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aerickson-clt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aerickson-clt/subscriptions",
"organizations_url": "https://api.github.com/users/aerickson-clt/orgs",
"repos_url": "https://api.github.com/users/aerickson-clt/repos",
"events_url": "https://api.github.com/users/aerickson-clt/events{/privacy}",
"received_events_url": "https://api.github.com/users/aerickson-clt/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T18:11:33 | 2023-08-04T06:06:18 | 2023-08-04T06:06:18 |
CONTRIBUTOR
| null |
This is a minor improvement that replaces the full query_vector with the reference string `params.query_value` used in the painless scripting docs. I have tested it manually and it works on an example. This makes the query about half the size and much easier to read.
https://opensearch.org/docs/latest/search-plugins/knn/painless-functions/#get-started-with-k-nns-painless-scripting-functions
@babbldev
#8089
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8086/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8086",
"html_url": "https://github.com/langchain-ai/langchain/pull/8086",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8086.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8086.patch",
"merged_at": "2023-08-04T06:06:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8085
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8085/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8085/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8085/events
|
https://github.com/langchain-ai/langchain/pull/8085
| 1,816,157,145 |
PR_kwDOIPDwls5WHe2o
| 8,085 |
Issue 8081 Fix query results size bug. Other bug: pass vector_field param.
|
{
"login": "aerickson-clt",
"id": 32244272,
"node_id": "MDQ6VXNlcjMyMjQ0Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/32244272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aerickson-clt",
"html_url": "https://github.com/aerickson-clt",
"followers_url": "https://api.github.com/users/aerickson-clt/followers",
"following_url": "https://api.github.com/users/aerickson-clt/following{/other_user}",
"gists_url": "https://api.github.com/users/aerickson-clt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aerickson-clt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aerickson-clt/subscriptions",
"organizations_url": "https://api.github.com/users/aerickson-clt/orgs",
"repos_url": "https://api.github.com/users/aerickson-clt/repos",
"events_url": "https://api.github.com/users/aerickson-clt/events{/privacy}",
"received_events_url": "https://api.github.com/users/aerickson-clt/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-21T17:36:37 | 2023-08-04T05:41:12 | 2023-08-04T05:41:11 |
CONTRIBUTOR
| null |
@baskaryan
#8081
Likely the reason why the issue occurred is that OpenSearch's default k is 10, so it needs to be specified.
Here's a similar question about its cousin ElasticSearch
https://discuss.elastic.co/t/elasticsearch-returns-only-10-records-but-the-hit-is-507/136605
I tested this manually and also fixed the same issue in `_default_painless_scripting_query`. In addition, `_default_painless_scripting_query` was not passing the `vector_field` name to a sub call, so I fixed that too.

I also tested this in the aws opensearch developer tools.

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8085/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8085",
"html_url": "https://github.com/langchain-ai/langchain/pull/8085",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8085.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8085.patch",
"merged_at": "2023-08-04T05:41:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8084
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8084/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8084/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8084/events
|
https://github.com/langchain-ai/langchain/pull/8084
| 1,816,134,814 |
PR_kwDOIPDwls5WHaHE
| 8,084 |
Harrison/move experimental
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 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-07-21T17:16:23 | 2023-07-21T17:36:29 | 2023-07-21T17:36:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8084/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8084",
"html_url": "https://github.com/langchain-ai/langchain/pull/8084",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8084.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8084.patch",
"merged_at": "2023-07-21T17:36:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8083
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8083/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8083/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8083/events
|
https://github.com/langchain-ai/langchain/pull/8083
| 1,816,098,954 |
PR_kwDOIPDwls5WHSYE
| 8,083 |
fix api ref
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T16:43:35 | 2023-07-21T19:37:22 | 2023-07-21T19:37:21 |
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/8083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8083/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8083",
"html_url": "https://github.com/langchain-ai/langchain/pull/8083",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8083.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8083.patch",
"merged_at": "2023-07-21T19:37:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8082
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8082/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8082/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8082/events
|
https://github.com/langchain-ai/langchain/pull/8082
| 1,816,069,417 |
PR_kwDOIPDwls5WHMEW
| 8,082 |
add kwargs support to Baseten LLMs
|
{
"login": "philipkiely-baseten",
"id": 98474633,
"node_id": "U_kgDOBd6aiQ",
"avatar_url": "https://avatars.githubusercontent.com/u/98474633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philipkiely-baseten",
"html_url": "https://github.com/philipkiely-baseten",
"followers_url": "https://api.github.com/users/philipkiely-baseten/followers",
"following_url": "https://api.github.com/users/philipkiely-baseten/following{/other_user}",
"gists_url": "https://api.github.com/users/philipkiely-baseten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/philipkiely-baseten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philipkiely-baseten/subscriptions",
"organizations_url": "https://api.github.com/users/philipkiely-baseten/orgs",
"repos_url": "https://api.github.com/users/philipkiely-baseten/repos",
"events_url": "https://api.github.com/users/philipkiely-baseten/events{/privacy}",
"received_events_url": "https://api.github.com/users/philipkiely-baseten/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 | 2 | 2023-07-21T16:18:10 | 2023-07-21T19:11:28 | 2023-07-21T19:05:12 |
CONTRIBUTOR
| null |
This bugfix PR adds kwargs support to Baseten model invocations so that e.g. the following script works properly:
```
chatgpt_chain = LLMChain(
llm=Baseten(model="MODEL_ID"),
prompt=prompt,
verbose=False,
memory=ConversationBufferWindowMemory(k=2),
llm_kwargs={"max_length": 4096}
)
``
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8082/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8082",
"html_url": "https://github.com/langchain-ai/langchain/pull/8082",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8082.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8082.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8081
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8081/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8081/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8081/events
|
https://github.com/langchain-ai/langchain/issues/8081
| 1,816,067,589 |
I_kwDOIPDwls5sPv4F
| 8,081 |
OpenSearchVectorStore's similarity search functions can't handle k>10 with script_scoring
|
{
"login": "Karin-Basis",
"id": 18706112,
"node_id": "MDQ6VXNlcjE4NzA2MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/18706112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Karin-Basis",
"html_url": "https://github.com/Karin-Basis",
"followers_url": "https://api.github.com/users/Karin-Basis/followers",
"following_url": "https://api.github.com/users/Karin-Basis/following{/other_user}",
"gists_url": "https://api.github.com/users/Karin-Basis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Karin-Basis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Karin-Basis/subscriptions",
"organizations_url": "https://api.github.com/users/Karin-Basis/orgs",
"repos_url": "https://api.github.com/users/Karin-Basis/repos",
"events_url": "https://api.github.com/users/Karin-Basis/events{/privacy}",
"received_events_url": "https://api.github.com/users/Karin-Basis/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 | 6 | 2023-07-21T16:16:32 | 2023-10-27T16:05:09 | 2023-10-27T16:05:08 |
NONE
| null |
### System Info
Langchain version 0.0.225
M1 Mac
Python 3.11.3
### Who can help?
@naveentatikonda
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.vectorstores import OpenSearchVectorSearch
from opensearchpy import RequestsHttpConnection
from requests_aws4auth import AWS4Auth
import os
aws_auth = AWS4Auth(
os.environ["AWS_ACCESS_KEY"],
os.environ["AWS_SECRET_KEY"],
"us-east-1",
"es"
)
embeddings = HuggingFaceEmbeddings(
model_name="sentence-transformers/distiluse-base-multilingual-cased-v2",
model_kwargs={'device': 'cpu'}
)
opensearch_vector_search = OpenSearchVectorSearch(
os.environ["OPENSEARCH_URL"],
"testindex",
embeddings,
http_auth=aws_auth,
connection_class=RequestsHttpConnection,
)
texts = []
for i in range(1, 41):
texts.append(f"This is document {i}")
opensearch_vector_search.add_texts(texts)
query = "This is a document"
search_result = opensearch_vector_search._raw_similarity_search_with_score(
query,
k=30,
metadata_field="*",
search_type="script_scoring"
)
print("Number of docs in response: ", len(search_result))
```
Output:
```
Number of docs in response: 10
```
When using script_scoring, the code does not pass a "size=k" option to the client query, so it returns a maximum of 10 hits by default. Therefore, the user cannot receive more than 10 results regardless of the value of k. I believe all that is necessary it to add a `size=k` parameter to line 537 in `opensearch_vector_search.py`, and then the `[:k]` in line 539 is superfluous.
### Expected behavior
The above code should produce 30 results, not 10.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8081/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/8081/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8080
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8080/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8080/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8080/events
|
https://github.com/langchain-ai/langchain/issues/8080
| 1,816,034,824 |
I_kwDOIPDwls5sPn4I
| 8,080 |
Calling the OpenAI Functions agent with an empty tool list crashes
|
{
"login": "Markus-sevend",
"id": 127222313,
"node_id": "U_kgDOB5VCKQ",
"avatar_url": "https://avatars.githubusercontent.com/u/127222313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Markus-sevend",
"html_url": "https://github.com/Markus-sevend",
"followers_url": "https://api.github.com/users/Markus-sevend/followers",
"following_url": "https://api.github.com/users/Markus-sevend/following{/other_user}",
"gists_url": "https://api.github.com/users/Markus-sevend/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Markus-sevend/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Markus-sevend/subscriptions",
"organizations_url": "https://api.github.com/users/Markus-sevend/orgs",
"repos_url": "https://api.github.com/users/Markus-sevend/repos",
"events_url": "https://api.github.com/users/Markus-sevend/events{/privacy}",
"received_events_url": "https://api.github.com/users/Markus-sevend/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 | 2 | 2023-07-21T15:52:04 | 2023-11-01T16:06:10 | 2023-11-01T16:06:09 |
NONE
| null |
### System Info
langchain version 0.0.238
openai version 0.27.8
### Who can help?
@hwchase17 @agola11
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Set up your Open AI keys in your .env file then run this python script:
```py
from dotenv import load_dotenv
from langchain.agents import initialize_agent, AgentType
from langchain.chat_models import ChatOpenAI
load_dotenv()
llm = ChatOpenAI(model_name="gpt-3.5-turbo")
agent = initialize_agent(
tools=[],
llm=llm,
agent=AgentType.OPENAI_FUNCTIONS
)
agent.run("Hello World!")
```
### Expected behavior
The agent should be run successfully and just not be able to use any tools if none are provided. This does happen if the functions parameter is not passed to the openai interface when its empty. So should be an easy fix:
1. Detect if the tools list is empty
2. Only pass the function parameter to the openai interface if its not empty
The interface call in question (`langchain/chat_models/openai.py` in line 319):
```py
@retry_decorator
def _completion_with_retry(**kwargs: Any) -> Any:
return self.client.create(**kwargs) # <-- HERE, just filter out key functions if empty
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8080/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8080/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8079
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8079/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8079/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8079/events
|
https://github.com/langchain-ai/langchain/issues/8079
| 1,815,982,077 |
I_kwDOIPDwls5sPa_9
| 8,079 |
Missing Enum support in OpenAI Functions
|
{
"login": "ngundotra",
"id": 7481857,
"node_id": "MDQ6VXNlcjc0ODE4NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7481857?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngundotra",
"html_url": "https://github.com/ngundotra",
"followers_url": "https://api.github.com/users/ngundotra/followers",
"following_url": "https://api.github.com/users/ngundotra/following{/other_user}",
"gists_url": "https://api.github.com/users/ngundotra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ngundotra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ngundotra/subscriptions",
"organizations_url": "https://api.github.com/users/ngundotra/orgs",
"repos_url": "https://api.github.com/users/ngundotra/repos",
"events_url": "https://api.github.com/users/ngundotra/events{/privacy}",
"received_events_url": "https://api.github.com/users/ngundotra/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-21T15:15:39 | 2023-10-27T16:05:19 | 2023-10-27T16:05:18 |
CONTRIBUTOR
| null |
Can be fixed by carrying over openapi enum definitions to new `enum` field here:
https://github.com/hwchase17/langchain/blob/95e369b38dfc8fcb55c8d1ac435ad40e326e653d/langchain/chains/openai_functions/openapi.py#L85
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8079/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8078
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8078/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8078/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8078/events
|
https://github.com/langchain-ai/langchain/pull/8078
| 1,815,925,596 |
PR_kwDOIPDwls5WGs2l
| 8,078 |
Fix InvalidVectorQuery error
|
{
"login": "DSgUY",
"id": 34726269,
"node_id": "MDQ6VXNlcjM0NzI2MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34726269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DSgUY",
"html_url": "https://github.com/DSgUY",
"followers_url": "https://api.github.com/users/DSgUY/followers",
"following_url": "https://api.github.com/users/DSgUY/following{/other_user}",
"gists_url": "https://api.github.com/users/DSgUY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DSgUY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSgUY/subscriptions",
"organizations_url": "https://api.github.com/users/DSgUY/orgs",
"repos_url": "https://api.github.com/users/DSgUY/repos",
"events_url": "https://api.github.com/users/DSgUY/events{/privacy}",
"received_events_url": "https://api.github.com/users/DSgUY/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 | 8 | 2023-07-21T14:39:33 | 2023-07-28T04:59:49 | 2023-07-28T04:59:48 |
NONE
| null |
- Description: Fixed the InvalidVectorQuery error in several functions of the AzureSearch class in azuresearch.py. The changes were based on the code found in [this Azure cognitive-search-vector-pr sample](https://github.com/Azure/cognitive-search-vector-pr/blob/main/demo-python/code/azure-search-vector-recall-python-sample.ipynb).
- Issue: This addresses an observed InvalidVectorQuery error when using AzureSearch with vectors.
- Dependencies: With this fix, the import `from azure.search.documents.models import Vector` is no longer necessary and has been removed.
- Tag maintainer: @rlancemartin, @eyurtsev
- Issue: #7841
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8078/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8078",
"html_url": "https://github.com/langchain-ai/langchain/pull/8078",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8078.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8078.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8077
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8077/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8077/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8077/events
|
https://github.com/langchain-ai/langchain/pull/8077
| 1,815,889,973 |
PR_kwDOIPDwls5WGlH1
| 8,077 |
bump 239
|
{
"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-21T14:17:01 | 2023-07-21T14:31:15 | 2023-07-21T14:31:14 |
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/8077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8077/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8077",
"html_url": "https://github.com/langchain-ai/langchain/pull/8077",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8077.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8077.patch",
"merged_at": "2023-07-21T14:31:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8076
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8076/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8076/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8076/events
|
https://github.com/langchain-ai/langchain/pull/8076
| 1,815,862,551 |
PR_kwDOIPDwls5WGfMe
| 8,076 |
Change with_history option to False for ChatGLM by default
|
{
"login": "mlot",
"id": 8475708,
"node_id": "MDQ6VXNlcjg0NzU3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8475708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mlot",
"html_url": "https://github.com/mlot",
"followers_url": "https://api.github.com/users/mlot/followers",
"following_url": "https://api.github.com/users/mlot/following{/other_user}",
"gists_url": "https://api.github.com/users/mlot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mlot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mlot/subscriptions",
"organizations_url": "https://api.github.com/users/mlot/orgs",
"repos_url": "https://api.github.com/users/mlot/repos",
"events_url": "https://api.github.com/users/mlot/events{/privacy}",
"received_events_url": "https://api.github.com/users/mlot/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T13:59:20 | 2023-07-24T22:46:03 | 2023-07-24T22:46:02 |
CONTRIBUTOR
| null |
ChatGLM LLM integration will by default accumulate conversation history(with_history=True) to ChatGLM backend api, which is not expected in most cases. This PR set with_history=False by default, user should explicitly set llm.with_history=True to turn this feature on. Related PR: #8048 #7774
<!-- 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/8076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8076/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8076",
"html_url": "https://github.com/langchain-ai/langchain/pull/8076",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8076.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8076.patch",
"merged_at": "2023-07-24T22:46:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8075
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8075/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8075/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8075/events
|
https://github.com/langchain-ai/langchain/pull/8075
| 1,815,844,430 |
PR_kwDOIPDwls5WGbP5
| 8,075 |
Change JSONLoader content_key behavior
|
{
"login": "kzk-maeda",
"id": 18380243,
"node_id": "MDQ6VXNlcjE4MzgwMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18380243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kzk-maeda",
"html_url": "https://github.com/kzk-maeda",
"followers_url": "https://api.github.com/users/kzk-maeda/followers",
"following_url": "https://api.github.com/users/kzk-maeda/following{/other_user}",
"gists_url": "https://api.github.com/users/kzk-maeda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kzk-maeda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kzk-maeda/subscriptions",
"organizations_url": "https://api.github.com/users/kzk-maeda/orgs",
"repos_url": "https://api.github.com/users/kzk-maeda/repos",
"events_url": "https://api.github.com/users/kzk-maeda/events{/privacy}",
"received_events_url": "https://api.github.com/users/kzk-maeda/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 | 4 | 2023-07-21T13:48:19 | 2023-09-29T16:26:28 | 2023-09-29T16:26:28 |
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
-->
### Description
Changed the value specified for `content_key` in JSONLoader from a single key to a value based on jq schema.
### Why
For json data like the following, specify `.data[].attributes.message` for page_content and `.data[].attributes.id` or `.data[].attributes.attributes. tags`, etc., the `content_key` must also parse the json structure.
<details>
<summary>sample json data</summary>
```json
{
"data": [
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"source": "stderr",
"service": "worker",
"name": "app.services.predict_services",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407827.0
},
"message": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.827000+09:00"
},
"id": "AgAAAYi17UzTUeIczgAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRAAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
},
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"process": 42.0,
"messages": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407831.0
},
"message": "{\"messages\": \"error while processing user #19084: 'numpy.dtype[bool_]' object is not callable\"}",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.831000+09:00"
},
"id": "AgAAAYi17UzXUeIczwAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRQAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
}
],
"meta": {
"elapsed": 26,
"request_id": "pddv1ChY0SmttaDA0a1REeXZRM01yNkFwYnd3Ii0KHWIANr8mghGpsMIX2cOarI6t4WyTVObXx3wrAuudEgzSbtmduLtPxFVkSo0",
"status": "done"
}
}
```
</details>
<details>
<summary>sample code</summary>
```python
def metadata_func(record: dict, metadata: dict) -> dict:
print(record)
metadata["id"] = record.get("id")
metadata["tags"] = record["attributes"].get("tags")
return metadata
sample_file = "sample.json"
loader = JSONLoader(
file_path=sample_file,
jq_schema='.data[].attributes.message',
content_key="data",
metadata_func=metadata_func
)
```
</details>
### Dependencies
none
### Tag maintainer
@rlancemartin, @eyurtsev
### Twitter handle
[kzk_maeda](https://twitter.com/kzk_maeda)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8075/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8075",
"html_url": "https://github.com/langchain-ai/langchain/pull/8075",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8075.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8075.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8074
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8074/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8074/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8074/events
|
https://github.com/langchain-ai/langchain/issues/8074
| 1,815,838,663 |
I_kwDOIPDwls5sO3_H
| 8,074 |
DOC: Fix issues related to Vertex AI LLMs
|
{
"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": 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 | 0 | 2023-07-21T13:44:36 | 2023-08-18T05:56:11 | 2023-08-18T05:56:11 |
CONTRIBUTOR
| null |
### Issue with current documentation:
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/google_vertex_ai_palm - a few things are already outdated.
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8074/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8073
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8073/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8073/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8073/events
|
https://github.com/langchain-ai/langchain/pull/8073
| 1,815,819,807 |
PR_kwDOIPDwls5WGWBK
| 8,073 |
feat: add USearch vectorstore
|
{
"login": "davvard",
"id": 78792753,
"node_id": "MDQ6VXNlcjc4NzkyNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/78792753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davvard",
"html_url": "https://github.com/davvard",
"followers_url": "https://api.github.com/users/davvard/followers",
"following_url": "https://api.github.com/users/davvard/following{/other_user}",
"gists_url": "https://api.github.com/users/davvard/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davvard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davvard/subscriptions",
"organizations_url": "https://api.github.com/users/davvard/orgs",
"repos_url": "https://api.github.com/users/davvard/repos",
"events_url": "https://api.github.com/users/davvard/events{/privacy}",
"received_events_url": "https://api.github.com/users/davvard/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T13:32:10 | 2023-07-24T09:10:41 | 2023-07-24T09:10:41 |
CONTRIBUTOR
| null |
## Description
Add USearch vectorstore for LangChain
[USearch](https://github.com/unum-cloud/usearch)
## How to use
```python
from langchain.vectorstores.usearch import USearch
usearch = USearch.from_texts(texts, embeddings)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8073/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8073/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8073",
"html_url": "https://github.com/langchain-ai/langchain/pull/8073",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8073.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8073.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8072
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8072/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8072/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8072/events
|
https://github.com/langchain-ai/langchain/issues/8072
| 1,815,807,402 |
I_kwDOIPDwls5sOwWq
| 8,072 |
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
|
{
"login": "vishwachintu",
"id": 32350453,
"node_id": "MDQ6VXNlcjMyMzUwNDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/32350453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vishwachintu",
"html_url": "https://github.com/vishwachintu",
"followers_url": "https://api.github.com/users/vishwachintu/followers",
"following_url": "https://api.github.com/users/vishwachintu/following{/other_user}",
"gists_url": "https://api.github.com/users/vishwachintu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vishwachintu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vishwachintu/subscriptions",
"organizations_url": "https://api.github.com/users/vishwachintu/orgs",
"repos_url": "https://api.github.com/users/vishwachintu/repos",
"events_url": "https://api.github.com/users/vishwachintu/events{/privacy}",
"received_events_url": "https://api.github.com/users/vishwachintu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T13:24:57 | 2023-10-27T16:05:23 | 2023-10-27T16:05:22 |
NONE
| null |
### Issue you'd like to raise.
This is that the documentation has to be improved
from langchain.indexes.vectorstore import VectorstoreIndexWrapper
to from langchain.indexes.vectorstore import VectorStoreIndexWrapper
<img width="762" alt="image" src="https://github.com/hwchase17/langchain/assets/32350453/7ef0656c-69ca-4f09-bc49-fb4230eaf93a">
### Suggestion:
edit this **from langchain.indexes.vectorstore import VectorstoreIndexWrapper**
to **from langchain.indexes.vectorstore import VectorStoreIndexWrapper**
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8072/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8071
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8071/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8071/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8071/events
|
https://github.com/langchain-ai/langchain/pull/8071
| 1,815,787,815 |
PR_kwDOIPDwls5WGPgV
| 8,071 |
feat: add USearch vectorstore
|
{
"login": "davvard",
"id": 78792753,
"node_id": "MDQ6VXNlcjc4NzkyNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/78792753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davvard",
"html_url": "https://github.com/davvard",
"followers_url": "https://api.github.com/users/davvard/followers",
"following_url": "https://api.github.com/users/davvard/following{/other_user}",
"gists_url": "https://api.github.com/users/davvard/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davvard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davvard/subscriptions",
"organizations_url": "https://api.github.com/users/davvard/orgs",
"repos_url": "https://api.github.com/users/davvard/repos",
"events_url": "https://api.github.com/users/davvard/events{/privacy}",
"received_events_url": "https://api.github.com/users/davvard/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-21T13:11:22 | 2023-07-21T13:26:07 | 2023-07-21T13:26:06 |
CONTRIBUTOR
| null |
## Description
Add USearch vectorstore for LangChain
[USearch](https://github.com/unum-cloud/usearch)
## How to use
```python
from langchain.vectorstores.usearch import USearch
usearch = USearch.from_texts(texts, embeddings)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8071/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8071",
"html_url": "https://github.com/langchain-ai/langchain/pull/8071",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8071.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8071.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8070
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8070/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8070/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8070/events
|
https://github.com/langchain-ai/langchain/pull/8070
| 1,815,777,052 |
PR_kwDOIPDwls5WGNLx
| 8,070 |
Don't throw JSON decode error in OpenAIFunctionsAgent
|
{
"login": "chris-boson",
"id": 6893229,
"node_id": "MDQ6VXNlcjY4OTMyMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6893229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chris-boson",
"html_url": "https://github.com/chris-boson",
"followers_url": "https://api.github.com/users/chris-boson/followers",
"following_url": "https://api.github.com/users/chris-boson/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-boson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chris-boson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-boson/subscriptions",
"organizations_url": "https://api.github.com/users/chris-boson/orgs",
"repos_url": "https://api.github.com/users/chris-boson/repos",
"events_url": "https://api.github.com/users/chris-boson/events{/privacy}",
"received_events_url": "https://api.github.com/users/chris-boson/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 | 2 | 2023-07-21T13:03:10 | 2023-08-04T04:11:10 | 2023-08-04T04:11:10 |
NONE
| null |
related to https://github.com/appfolio/af_reactor/issues/1438
### Expected behavior
For a `BaseTool` the OpenAIFunctionCallingAgent reliably outputs a response of the form
```json
{"name": "<tool_name>", "arguments": {"__arg1": "<tool_input>"}}
```
### Actual behavior
For some inputs it formats the response as
```json
{"name": "<tool_name>", "arguments": "<tool_input>"}
```
which leads to a `JSONDecodeError`. The agent doesn't seem to follow the "hacky" format very reliably, even when explicitly encouraged in the system prompt.
@hinthornw
<!-- 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/8070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8070/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8070",
"html_url": "https://github.com/langchain-ai/langchain/pull/8070",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8070.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8070.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8069
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8069/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8069/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8069/events
|
https://github.com/langchain-ai/langchain/issues/8069
| 1,815,703,682 |
I_kwDOIPDwls5sOXCC
| 8,069 |
unable to implement memory with sql agent toolkit
|
{
"login": "amani-acog",
"id": 117151783,
"node_id": "U_kgDOBvuYJw",
"avatar_url": "https://avatars.githubusercontent.com/u/117151783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amani-acog",
"html_url": "https://github.com/amani-acog",
"followers_url": "https://api.github.com/users/amani-acog/followers",
"following_url": "https://api.github.com/users/amani-acog/following{/other_user}",
"gists_url": "https://api.github.com/users/amani-acog/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amani-acog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amani-acog/subscriptions",
"organizations_url": "https://api.github.com/users/amani-acog/orgs",
"repos_url": "https://api.github.com/users/amani-acog/repos",
"events_url": "https://api.github.com/users/amani-acog/events{/privacy}",
"received_events_url": "https://api.github.com/users/amani-acog/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": 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-07-21T12:12:30 | 2023-10-29T16:04:52 | 2023-10-29T16:04:51 |
NONE
| null |
### System Info
I am using langchain 0.0.238, I want to use ConversationBufferMemory with sql-agent-toolkit. Please support in this regard.
I changed prompt :
# flake8: noqa
SQL_PREFIX = """You are an agent designed to interact with a SQL database.
Given an input question, create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer.
Unless the user specifies a specific number of examples they wish to obtain, else fetch all results then fetch all results donot use 'LIMIT'.
When you are using 'WHERE' clause to fetch specific data, you have to apply 'WHERE' clause in several ways like exact matchusing '=' or substring match using 'LIKE'.
You can order the results by a relevant column to return the most interesting examples in the database.
Never query for all the columns from a specific table, only ask for the relevant columns given the question. If you did notfind the column asked by the user, then return "data for the specified column doesnot exists." as the answer.
You have access to tools for interacting with the database.
Only use the below tools. Only use the information returned by the below tools to construct your final answer.
You MUST double check your query before executing it. If you get an error while executing a query, rewrite the query and try again.
DO NOT make any DML statements (INSERT, UPDATE, DELETE, DROP etc.) to the database.
If the question does not seem related to the database, just return "I don't know" as the answer.
This reminds you of your past memory and events:{chat_history}
Know that only the "Question" ("HumanMessage") and "Final answer" ("AIMessage") to each previous question are available inthe past memory section above.
Hence, always include enough detail in the Final answer so that you can answer subsequent questions.
If you believe any of the data computed to answer a question is likely to be useful in answering a possible follow-on question.
"""
SQL_SUFFIX = """Begin!
Question: {input}
Thought: I should look at the tables in the database to see what I can query. Then I should query the schema of the most relevant tables.
{agent_scratchpad}"""
SQL_FUNCTIONS_SUFFIX = """I should look at the tables in the database to see what I can query. Then I should query the schema of the most relevant tables."""
And changed base.py:
"""SQL agent."""
from typing import Any, Dict, List, Optional
from langchain.agents.agent import AgentExecutor, BaseSingleActionAgent
#from sql_agent_toolkits.sql.prompt import ( SQL_FUNCTIONS_SUFFIX,SQL_PREFIX,SQL_SUFFIX,)
from langchain.agents.agent_toolkits.sql.prompt import (
SQL_FUNCTIONS_SUFFIX,
SQL_PREFIX,
SQL_SUFFIX,
)
from langchain.agents.agent_toolkits.sql.toolkit import SQLDatabaseToolkit
from langchain.agents.agent_types import AgentType
from langchain.agents.mrkl.base import ZeroShotAgent
from langchain.agents.mrkl.prompt import FORMAT_INSTRUCTIONS
from langchain.agents.openai_functions_agent.base import OpenAIFunctionsAgent
from langchain.callbacks.base import BaseCallbackManager
from langchain.chains.llm import LLMChain
from langchain.prompts.chat import (
ChatPromptTemplate,
HumanMessagePromptTemplate,
MessagesPlaceholder,
)
from langchain.schema.language_model import BaseLanguageModel
from langchain.schema.messages import AIMessage, SystemMessage
from langchain.memory import ConversationBufferMemory
global memory
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
def create_sql_agent(
llm: BaseLanguageModel,
toolkit: SQLDatabaseToolkit,
agent_type: AgentType = AgentType.ZERO_SHOT_REACT_DESCRIPTION,
callback_manager: Optional[BaseCallbackManager] = None,
prefix: str = SQL_PREFIX,
suffix: Optional[str] = SQL_SUFFIX,
format_instructions: str = FORMAT_INSTRUCTIONS,
input_variables: Optional[List[str]] = None,
top_k: int = 10,
max_iterations: Optional[int] = 15,
max_execution_time: Optional[float] = None,
early_stopping_method: str = "force",
verbose: bool = False,
agent_executor_kwargs: Optional[Dict[str, Any]] = None,
**kwargs: Dict[str, Any],
) -> AgentExecutor:
"""Construct an SQL agent from an LLM and tools."""
tools = toolkit.get_tools()
#prefix = prefix.format(dialect=toolkit.dialect, top_k=top_k)
#print("prefix", prefix)
if input_variables is None:
input_variables = ["dialect", "input", "agent_scratchpad"]
agent: BaseSingleActionAgent
print("input_variables", input_variables)
if agent_type == AgentType.ZERO_SHOT_REACT_DESCRIPTION:
prompt = ZeroShotAgent.create_prompt(
tools,
prefix=prefix,
suffix=suffix or SQL_SUFFIX,
format_instructions=format_instructions,
input_variables=input_variables,
)
llm_chain = LLMChain(
llm=llm,
prompt=prompt,
callback_manager=callback_manager,
)
tool_names = [tool.name for tool in tools]
agent = ZeroShotAgent(llm_chain=llm_chain, allowed_tools=tool_names, **kwargs)
# memory = ConversationBufferMemory(memory_key="chat_history")
elif agent_type == AgentType.OPENAI_FUNCTIONS:
messages = [
SystemMessage(content=prefix),
HumanMessagePromptTemplate.from_template("{input}"),
AIMessage(content=suffix or SQL_FUNCTIONS_SUFFIX),
MessagesPlaceholder(variable_name="agent_scratchpad"),
]
input_variables = ["input", "agent_scratchpad"]
_prompt = ChatPromptTemplate(input_variables=input_variables, messages=messages)
agent = OpenAIFunctionsAgent(
llm=llm,
prompt=_prompt,
tools=tools,
callback_manager=callback_manager,
**kwargs,
)
else:
raise ValueError(f"Agent type {agent_type} not supported at the moment.")
return AgentExecutor.from_agent_and_tools(
agent=agent,
tools=tools,
callback_manager=callback_manager,
verbose=verbose,
max_iterations=max_iterations,
max_execution_time=max_execution_time,
early_stopping_method=early_stopping_method,
memory=memory,
**(agent_executor_kwargs or {}),
)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [X] Memory
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I have changed Prompt.py and base.py to provide chat_history as input but I am running into errors from create_prompt method using ZeroShotAgent or from LLMChain(expecting inputs in dictionary)
Error:
input_variables ['dialect', 'input', 'agent_scratchpad']
input_variables from /opt/miniconda/lib/python3.10/site-packages/langchain/agents/mrkl/ ['dialect', 'input', 'agent_scratchpad']
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[1], line 2
1 from tools.db_llm_with_memory import *
----> 2 db_llm_with_memory("which all enzymes have urate as substrate")
File ~/notebooks/atossa-usecase/atossa_usecase/tools/db_llm_with_memory.py:42, in db_llm_with_memory(query)
35 agent = create_sql_agent(
36 llm=ChatOpenAI(temperature=0),
37 toolkit=toolkit,
38 verbose=True,
39 agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,memory=memory
40 )
41 # agent_chain = AgentExecutor.from_agent_and_tools(agent=agent, tools=toolkit, verbose=True, memory=memory)
---> 42 agent.run(query)
File /opt/miniconda/lib/python3.10/site-packages/langchain/chains/base.py:440, in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
438 if len(args) != 1:
439 raise ValueError("`run` supports only one positional argument.")
--> 440 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
441 _output_key
442 ]
444 if kwargs and not args:
445 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
446 _output_key
447 ]
File /opt/miniconda/lib/python3.10/site-packages/langchain/chains/base.py:220, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, include_run_info)
185 def __call__(
186 self,
187 inputs: Union[Dict[str, Any], Any],
(...)
193 include_run_info: bool = False,
194 ) -> Dict[str, Any]:
195 """Execute the chain.
196
197 Args:
(...)
218 `Chain.output_keys`.
219 """
--> 220 inputs = self.prep_inputs(inputs)
221 callback_manager = CallbackManager.configure(
222 callbacks,
223 self.callbacks,
(...)
228 self.metadata,
229 )
230 new_arg_supported = inspect.signature(self._call).parameters.get("run_manager")
File /opt/miniconda/lib/python3.10/site-packages/langchain/chains/base.py:364, in Chain.prep_inputs(self, inputs)
362 _input_keys = _input_keys.difference(self.memory.memory_variables)
363 if len(_input_keys) != 1:
--> 364 raise ValueError(
365 f"A single string input was passed in, but this chain expects "
366 f"multiple inputs ({_input_keys}). When a chain expects "
367 f"multiple inputs, please call it by passing in a dictionary, "
368 "eg `chain({'foo': 1, 'bar': 2})`"
369 )
370 inputs = {list(_input_keys)[0]: inputs}
371 if self.memory is not None:
ValueError: A single string input was passed in, but this chain expects multiple inputs ({'dialect', 'input'}). When a chain expects multiple inputs, please call it by passing in a dictionary, eg `chain({'foo': 1, 'bar': 2})`
### Expected behavior
Please provide some simple addon behaviour to use memory with sql agent
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8069/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/8069/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8068
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8068/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8068/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8068/events
|
https://github.com/langchain-ai/langchain/issues/8068
| 1,815,656,226 |
I_kwDOIPDwls5sOLci
| 8,068 |
Integration test on BingSearchAPIWrapper
|
{
"login": "skspark",
"id": 118829871,
"node_id": "U_kgDOBxUzLw",
"avatar_url": "https://avatars.githubusercontent.com/u/118829871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skspark",
"html_url": "https://github.com/skspark",
"followers_url": "https://api.github.com/users/skspark/followers",
"following_url": "https://api.github.com/users/skspark/following{/other_user}",
"gists_url": "https://api.github.com/users/skspark/gists{/gist_id}",
"starred_url": "https://api.github.com/users/skspark/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skspark/subscriptions",
"organizations_url": "https://api.github.com/users/skspark/orgs",
"repos_url": "https://api.github.com/users/skspark/repos",
"events_url": "https://api.github.com/users/skspark/events{/privacy}",
"received_events_url": "https://api.github.com/users/skspark/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-07-21T11:36:16 | 2023-10-27T16:05:34 | 2023-10-27T16:05:33 |
CONTRIBUTOR
| null |
### Feature request
Hello, I have a proposal on adding Integration TCs on BingSearchAPIWrapper, in utilities/bing_search, similar with GoogleSerperAPIWrapper.
As bing search provides several API endpoints like [Bing News Search API](https://www.microsoft.com/en-us/bing/apis/bing-news-search-api), I thought it would be good to add some TCs on bing search, to make baseline for further implementation on other bing apis.
For the test, "BING_SUBSCRIPTION_KEY" would be necessary.
### Motivation
As bing search provides several API endpoints like [Bing News Search API](https://www.microsoft.com/en-us/bing/apis/bing-news-search-api), I thought it would be good to add some TCs on bing search, to make baseline for further implementation on other bing apis.
### Your contribution
If you allow me, i would like to contribute on this.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8068/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/8068/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8066
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8066/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8066/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8066/events
|
https://github.com/langchain-ai/langchain/issues/8066
| 1,815,491,917 |
I_kwDOIPDwls5sNjVN
| 8,066 |
Handle simpler tool input schemas for structured tools
|
{
"login": "ramnes",
"id": 835072,
"node_id": "MDQ6VXNlcjgzNTA3Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/835072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ramnes",
"html_url": "https://github.com/ramnes",
"followers_url": "https://api.github.com/users/ramnes/followers",
"following_url": "https://api.github.com/users/ramnes/following{/other_user}",
"gists_url": "https://api.github.com/users/ramnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ramnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ramnes/subscriptions",
"organizations_url": "https://api.github.com/users/ramnes/orgs",
"repos_url": "https://api.github.com/users/ramnes/repos",
"events_url": "https://api.github.com/users/ramnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/ramnes/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 | 10 | 2023-07-21T09:36:30 | 2023-11-05T16:05:35 | 2023-11-05T16:05:34 |
NONE
| null |
### Feature request
Recognize input schemas that do not use `Field` as structured schemas.
### Motivation
A simple schema without `Field` values such as this one will fail to be recognized as a structured schema:
```python
class RepeatTextSchema(BaseModel):
text: str
occurences: int
```
It will thus give such an error:
```
occurences
field required (type=value_error.missing)
```
I guess it would provide a greater developer experience if any schema with multiple variables would be recognized as a structured schema.
### Your contribution
None so far but happy to help if I can.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8066/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8065
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8065/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8065/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8065/events
|
https://github.com/langchain-ai/langchain/issues/8065
| 1,815,487,097 |
I_kwDOIPDwls5sNiJ5
| 8,065 |
Async @tool functions
|
{
"login": "ramnes",
"id": 835072,
"node_id": "MDQ6VXNlcjgzNTA3Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/835072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ramnes",
"html_url": "https://github.com/ramnes",
"followers_url": "https://api.github.com/users/ramnes/followers",
"following_url": "https://api.github.com/users/ramnes/following{/other_user}",
"gists_url": "https://api.github.com/users/ramnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ramnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ramnes/subscriptions",
"organizations_url": "https://api.github.com/users/ramnes/orgs",
"repos_url": "https://api.github.com/users/ramnes/repos",
"events_url": "https://api.github.com/users/ramnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/ramnes/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-21T09:33:16 | 2023-10-27T16:05:38 | 2023-10-27T16:05:38 |
NONE
| null |
### Feature request
Support async functions with the `@tool` decorator (and `StructuredTool.from_function`, I guess).
### Motivation
The API provided by `@tool` is really nice, but using the decorator on an async function currently doesn't work.
### Your contribution
None so far but happy to help if I can.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8065/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8064
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8064/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8064/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8064/events
|
https://github.com/langchain-ai/langchain/pull/8064
| 1,815,420,202 |
PR_kwDOIPDwls5WE_r4
| 8,064 |
Fix `allowed_search_types` in `VectorStoreRetriever`
|
{
"login": "c-bata",
"id": 5564044,
"node_id": "MDQ6VXNlcjU1NjQwNDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5564044?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c-bata",
"html_url": "https://github.com/c-bata",
"followers_url": "https://api.github.com/users/c-bata/followers",
"following_url": "https://api.github.com/users/c-bata/following{/other_user}",
"gists_url": "https://api.github.com/users/c-bata/gists{/gist_id}",
"starred_url": "https://api.github.com/users/c-bata/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/c-bata/subscriptions",
"organizations_url": "https://api.github.com/users/c-bata/orgs",
"repos_url": "https://api.github.com/users/c-bata/repos",
"events_url": "https://api.github.com/users/c-bata/events{/privacy}",
"received_events_url": "https://api.github.com/users/c-bata/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-07-21T08:50:13 | 2023-07-22T01:47:08 | 2023-07-21T15:39:37 |
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
-->
I guess `allowed_search_types` is unexpectedly changed in https://github.com/hwchase17/langchain/commit/6792a3557dc396804a12ba8892b36a322434c7c6, so that we cannot specify `similarity_score_threshold` here.
```python
class VectorStoreRetriever(BaseRetriever):
...
allowed_search_types: ClassVar[Collection[str]] = (
"similarity",
"similarityatscore_threshold",
"mmr",
)
@root_validator()
def validate_search_type(cls, values: Dict) -> Dict:
"""Validate search type."""
search_type = values["search_type"]
if search_type not in cls.allowed_search_types:
raise ValueError(...)
if search_type == "similarity_score_threshold":
... # UNREACHABLE CODE
```
VectorStores Maintainers: @rlancemartin @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8064/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/8064/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8064",
"html_url": "https://github.com/langchain-ai/langchain/pull/8064",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8064.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8064.patch",
"merged_at": "2023-07-21T15:39:36"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8062
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8062/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8062/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8062/events
|
https://github.com/langchain-ai/langchain/issues/8062
| 1,815,411,509 |
I_kwDOIPDwls5sNPs1
| 8,062 |
Issue:in the multiprompt chain connecting sqldatabasechain
|
{
"login": "Boopalanoptisol",
"id": 105263483,
"node_id": "U_kgDOBkYxew",
"avatar_url": "https://avatars.githubusercontent.com/u/105263483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Boopalanoptisol",
"html_url": "https://github.com/Boopalanoptisol",
"followers_url": "https://api.github.com/users/Boopalanoptisol/followers",
"following_url": "https://api.github.com/users/Boopalanoptisol/following{/other_user}",
"gists_url": "https://api.github.com/users/Boopalanoptisol/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Boopalanoptisol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Boopalanoptisol/subscriptions",
"organizations_url": "https://api.github.com/users/Boopalanoptisol/orgs",
"repos_url": "https://api.github.com/users/Boopalanoptisol/repos",
"events_url": "https://api.github.com/users/Boopalanoptisol/events{/privacy}",
"received_events_url": "https://api.github.com/users/Boopalanoptisol/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-21T08:43:59 | 2023-10-27T16:05:43 | 2023-10-27T16:05:43 |
NONE
| null |
### Issue you'd like to raise.
def from_prompts(
cls,
llm: BaseLanguageModel,
db: SQLDatabase,
prompt_infos: List[Dict[str, str]],
default_chain: Optional[LLMChain] = None,
verbose: bool = False,
**kwargs: Any,
) -> Self:
"""Convenience constructor for instantiating from destination prompts."""
destinations = [f"{p['name']}: {p['description']}" for p in prompt_infos]
destinations_str = "\n".join(destinations)
router_template = MULTI_SQL_ROUTER_TEMPLATE.format(
destinations=destinations_str
)
router_prompt = PromptTemplate(
template=router_template,
input_variables=["input"],
output_parser=RouterOutputParser(next_inputs_inner_key="query"),
)
router_chain = LLMRouterChain.from_llm(llm, router_prompt)
destination_chains = {}
for p_info in prompt_infos:
name = p_info["name"]
prompt_template = p_info["prompt_template"]
prompt = PromptTemplate(template=prompt_template,
input_variables=["input" ],
)
chain = SQLDatabaseChain.from_llm(llm, db,prompt=prompt,
output_key="text",
return_intermediate_steps=True,
verbose=True,)
destination_chains[name] = chain
_default_chain = default_chain or ConversationChain(llm=llm, output_key="text")
return cls(
router_chain=router_chain,
destination_chains=destination_chains,
default_chain=_default_chain,
**kwargs,
)
If the enter prompt is not related to database the how can we route them to the defaultchain Or LLMchain and check the logs on which prompt info is executed for that particular prompt.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8062/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/8062/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8061
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8061/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8061/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8061/events
|
https://github.com/langchain-ai/langchain/issues/8061
| 1,815,375,116 |
I_kwDOIPDwls5sNG0M
| 8,061 |
Bug: Chroma().add_texts() return empty ids list when metadata is not None
|
{
"login": "macul99",
"id": 23519286,
"node_id": "MDQ6VXNlcjIzNTE5Mjg2",
"avatar_url": "https://avatars.githubusercontent.com/u/23519286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/macul99",
"html_url": "https://github.com/macul99",
"followers_url": "https://api.github.com/users/macul99/followers",
"following_url": "https://api.github.com/users/macul99/following{/other_user}",
"gists_url": "https://api.github.com/users/macul99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/macul99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/macul99/subscriptions",
"organizations_url": "https://api.github.com/users/macul99/orgs",
"repos_url": "https://api.github.com/users/macul99/repos",
"events_url": "https://api.github.com/users/macul99/events{/privacy}",
"received_events_url": "https://api.github.com/users/macul99/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"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-21T08:17:06 | 2023-07-24T01:18:49 | 2023-07-24T01:18:49 |
NONE
| null |
### System Info
LangChain version: '0.0.238'
### Who can help?
SemanticSimilarityExampleSelector().add_example() raise "IndexError" exception due to empty list ids returned from Chroma().add_texts() when metadata is not None.
@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
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.prompts.example_selector.semantic_similarity import SemanticSimilarityExampleSelector
from langchain.vectorstores import Chroma
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
examples_dict = [{'a':'b'}]
embedding_function = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
example_selector = SemanticSimilarityExampleSelector.from_examples(
# This is the list of examples available to select from.
examples_dict,
# This is the embedding class used to produce embeddings which are used to measure semantic similarity.
embedding_function,
# This is the VectorStore class that is used to store the embeddings and do a similarity search over.
Chroma, # type: ignore
# This is the number of examples to produce and include per prompt
k=min(3, len(examples_dict)),
)
example_selector.add_example(examples_dict[0])
### Expected behavior
ids returned from Chroma().add_texts() should be a list of ids of texts are added
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8061/timeline
| null |
completed
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.