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/13793
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13793/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13793/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13793/events
|
https://github.com/langchain-ai/langchain/issues/13793
| 2,009,030,550 |
I_kwDOIPDwls53v1-W
| 13,793 |
Issue: please assist me in removing myself from the Discord blacklist.
|
{
"login": "h3l",
"id": 1664952,
"node_id": "MDQ6VXNlcjE2NjQ5NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1664952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h3l",
"html_url": "https://github.com/h3l",
"followers_url": "https://api.github.com/users/h3l/followers",
"following_url": "https://api.github.com/users/h3l/following{/other_user}",
"gists_url": "https://api.github.com/users/h3l/gists{/gist_id}",
"starred_url": "https://api.github.com/users/h3l/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/h3l/subscriptions",
"organizations_url": "https://api.github.com/users/h3l/orgs",
"repos_url": "https://api.github.com/users/h3l/repos",
"events_url": "https://api.github.com/users/h3l/events{/privacy}",
"received_events_url": "https://api.github.com/users/h3l/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"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-24T03:13:29 | 2023-11-30T21:19:17 | null |
CONTRIBUTOR
| null |
### Issue you'd like to raise.
it seems my discord account has been hacked, so it auto send advertisement like below, and i thought it was official ads just like telegram and the ads only show to me, so I don't pay attention to it.
<img width="503" alt="image" src="https://github.com/langchain-ai/langchain/assets/1664952/8a048285-bd18-408e-9a31-0d2c57e1ef17">
Now i can't join discord server as expect.
I have enable 2FA and change my password, so could your please assist me in removing myself from the Discord blacklist. my account id is "h3l1221", thanks a low .
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13793/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13792
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13792/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13792/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13792/events
|
https://github.com/langchain-ai/langchain/issues/13792
| 2,008,978,562 |
I_kwDOIPDwls53vpSC
| 13,792 |
Issue: can i define an agent using a llm chain or a conversationcain as a too?
|
{
"login": "xasxin",
"id": 113810081,
"node_id": "U_kgDOBsiaoQ",
"avatar_url": "https://avatars.githubusercontent.com/u/113810081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xasxin",
"html_url": "https://github.com/xasxin",
"followers_url": "https://api.github.com/users/xasxin/followers",
"following_url": "https://api.github.com/users/xasxin/following{/other_user}",
"gists_url": "https://api.github.com/users/xasxin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xasxin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xasxin/subscriptions",
"organizations_url": "https://api.github.com/users/xasxin/orgs",
"repos_url": "https://api.github.com/users/xasxin/repos",
"events_url": "https://api.github.com/users/xasxin/events{/privacy}",
"received_events_url": "https://api.github.com/users/xasxin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 9 | 2023-11-24T02:15:35 | 2023-11-28T02:00:03 | null |
NONE
| null |
### Issue you'd like to raise.
can i define an agent using a llm chain or a conversationcain as a too?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13792/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13791
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13791/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13791/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13791/events
|
https://github.com/langchain-ai/langchain/pull/13791
| 2,008,932,913 |
PR_kwDOIPDwls5gRGBL
| 13,791 |
Mac nov23
|
{
"login": "donbr",
"id": 7340008,
"node_id": "MDQ6VXNlcjczNDAwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7340008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/donbr",
"html_url": "https://github.com/donbr",
"followers_url": "https://api.github.com/users/donbr/followers",
"following_url": "https://api.github.com/users/donbr/following{/other_user}",
"gists_url": "https://api.github.com/users/donbr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/donbr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/donbr/subscriptions",
"organizations_url": "https://api.github.com/users/donbr/orgs",
"repos_url": "https://api.github.com/users/donbr/repos",
"events_url": "https://api.github.com/users/donbr/events{/privacy}",
"received_events_url": "https://api.github.com/users/donbr/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 3 | 2023-11-24T00:59:12 | 2023-11-24T01:18:31 | 2023-11-24T01:18:20 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13791/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13791",
"html_url": "https://github.com/langchain-ai/langchain/pull/13791",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13791.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13791.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13789
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13789/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13789/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13789/events
|
https://github.com/langchain-ai/langchain/pull/13789
| 2,008,889,012 |
PR_kwDOIPDwls5gQ88r
| 13,789 |
Added SecureStr for NLP Cloud
|
{
"login": "rossalas",
"id": 59295870,
"node_id": "MDQ6VXNlcjU5Mjk1ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/59295870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rossalas",
"html_url": "https://github.com/rossalas",
"followers_url": "https://api.github.com/users/rossalas/followers",
"following_url": "https://api.github.com/users/rossalas/following{/other_user}",
"gists_url": "https://api.github.com/users/rossalas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rossalas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rossalas/subscriptions",
"organizations_url": "https://api.github.com/users/rossalas/orgs",
"repos_url": "https://api.github.com/users/rossalas/repos",
"events_url": "https://api.github.com/users/rossalas/events{/privacy}",
"received_events_url": "https://api.github.com/users/rossalas/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
open
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-11-23T23:28:57 | 2023-11-28T21:12:16 | null |
NONE
| null |
Description: Updated nlpcloud.py with SecureStr
Issue: #12165
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13789/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13789",
"html_url": "https://github.com/langchain-ai/langchain/pull/13789",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13789.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13789.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13788
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13788/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13788/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13788/events
|
https://github.com/langchain-ai/langchain/pull/13788
| 2,008,879,597 |
PR_kwDOIPDwls5gQ7Ab
| 13,788 |
`kaggle` document loader
|
{
"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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T23:08:25 | 2023-11-27T17:05:48 | null |
COLLABORATOR
| null |
Added the `Kaggle` datasets as a DocumentLoader
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13788/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13788",
"html_url": "https://github.com/langchain-ai/langchain/pull/13788",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13788.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13788.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13787
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13787/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13787/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13787/events
|
https://github.com/langchain-ai/langchain/pull/13787
| 2,008,769,510 |
PR_kwDOIPDwls5gQi3k
| 13,787 |
bump 0.0.339rc2
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T20:40:58 | 2023-11-23T20:50:10 | 2023-11-23T20:50:10 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13787/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13787",
"html_url": "https://github.com/langchain-ai/langchain/pull/13787",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13787.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13787.patch",
"merged_at": "2023-11-23T20:50:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13786
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13786/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13786/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13786/events
|
https://github.com/langchain-ai/langchain/pull/13786
| 2,008,756,671 |
PR_kwDOIPDwls5gQgIL
| 13,786 |
RELEASE: core 0.0.5
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T20:23:44 | 2023-11-23T20:23:52 | 2023-11-23T20:23:50 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13786/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13786",
"html_url": "https://github.com/langchain-ai/langchain/pull/13786",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13786.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13786.patch",
"merged_at": "2023-11-23T20:23:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13785
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13785/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13785/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13785/events
|
https://github.com/langchain-ai/langchain/issues/13785
| 2,008,648,479 |
I_kwDOIPDwls53uYsf
| 13,785 |
Azure OpenAI (with openai module 1.x.x) seems not working anymore
|
{
"login": "solyarisoftware",
"id": 4106440,
"node_id": "MDQ6VXNlcjQxMDY0NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4106440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/solyarisoftware",
"html_url": "https://github.com/solyarisoftware",
"followers_url": "https://api.github.com/users/solyarisoftware/followers",
"following_url": "https://api.github.com/users/solyarisoftware/following{/other_user}",
"gists_url": "https://api.github.com/users/solyarisoftware/gists{/gist_id}",
"starred_url": "https://api.github.com/users/solyarisoftware/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/solyarisoftware/subscriptions",
"organizations_url": "https://api.github.com/users/solyarisoftware/orgs",
"repos_url": "https://api.github.com/users/solyarisoftware/repos",
"events_url": "https://api.github.com/users/solyarisoftware/events{/privacy}",
"received_events_url": "https://api.github.com/users/solyarisoftware/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 7 | 2023-11-23T18:06:59 | 2024-01-03T16:10:19 | null |
NONE
| null |
### System Info
$ python3 --version
Python 3.11.6
$ pip show openai | grep Version
Version: 1.3.5
$ pip show langchain | grep Version
Version: 0.0.340
### Who can help?
Who wants to use AzureOpenai deployments with langchain, enabling last openai package versione 1.x.x.
### Information
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
### Reproduction
Hi @hwchase17, @agola11, all!
Thanks in advance for your huge work.
I so far successfully used langchain with the openai module 0.28.x.
Today I upgraded the openai package to the latest version (1.x.x), and I installed also the latest langchain package version.
I configured the environment variables (as described above) and I run the following simple program, as described in langchain documentation: https://python.langchain.com/docs/integrations/chat/azure_chat_openai
```
$ source path/.langchain_azure.env
$ cat path/.langchain_azure.env
# https://python.langchain.com/docs/integrations/llms/azure_openai
export OPENAI_API_TYPE=azure
export OPENAI_API_VERSION=2023-09-01-preview
export AZURE_OPENAI_ENDPOINT="https://xxxxxxxxxxx.openai.azure.com/"
export AZURE_OPENAI_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
```
Program that generate a run-time exception:
```python
# langchain_simple.py
# this example follows the langchain documentation example at: https://python.langchain.com/docs/integrations/chat/azure_chat_openai
import os
from langchain.chat_models import AzureChatOpenAI
from langchain.schema import HumanMessage
model = AzureChatOpenAI(
openai_api_version="2023-05-15",
azure_deployment="gpt-35-turbo" # my existing deployment name
)
message = HumanMessage(content="Translate this sentence from English to French. I love programming.")
model([message])
```
I got the following exception:
```
$ py langchain_simple.py
/home/giorgio/.local/lib/python3.11/site-packages/langchain/chat_models/azure_openai.py:162: UserWarning: As of openai>=1.0.0, if `deployment_name` (or alias `azure_deployment`) is specified then `openai_api_base` (or alias `base_url`) should not be. Instead use `deployment_name` (or alias `azure_deployment`) and `azure_endpoint`.
warnings.warn(
/home/giorgio/.local/lib/python3.11/site-packages/langchain/chat_models/azure_openai.py:170: UserWarning: As of openai>=1.0.0, if `openai_api_base` (or alias `base_url`) is specified it is expected to be of the form https://example-resource.azure.openai.com/openai/deployments/example-deployment. Updating https://openai-convai.openai.azure.com/ to https://openai-convai.openai.azure.com/.
warnings.warn(
Traceback (most recent call last):
File "/home/giorgio/gpt/langchain/langchain_simple.py", line 9, in <module>
model = AzureChatOpenAI(
^^^^^^^^^^^^^^^^
File "/home/giorgio/.local/lib/python3.11/site-packages/langchain/load/serializable.py", line 97, in __init__
super().__init__(**kwargs)
File "/home/giorgio/.local/lib/python3.11/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for AzureChatOpenAI
__root__
base_url and azure_endpoint are mutually exclusive (type=value_error)
```
BTW, I do not understand exactly the error sentence:
```base_url and azure_endpoint are mutually exclusive (type=value_error)```
Where am I wrong?
Thanks
Giorgio
### Expected behavior
I didn't expect to have run-time errors
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13785/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13785/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13784
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13784/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13784/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13784/events
|
https://github.com/langchain-ai/langchain/pull/13784
| 2,008,636,543 |
PR_kwDOIPDwls5gQGVD
| 13,784 |
Astra DB vector store, move constructor docstring to class docstring
|
{
"login": "hemidactylus",
"id": 14221764,
"node_id": "MDQ6VXNlcjE0MjIxNzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/14221764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hemidactylus",
"html_url": "https://github.com/hemidactylus",
"followers_url": "https://api.github.com/users/hemidactylus/followers",
"following_url": "https://api.github.com/users/hemidactylus/following{/other_user}",
"gists_url": "https://api.github.com/users/hemidactylus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hemidactylus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hemidactylus/subscriptions",
"organizations_url": "https://api.github.com/users/hemidactylus/orgs",
"repos_url": "https://api.github.com/users/hemidactylus/repos",
"events_url": "https://api.github.com/users/hemidactylus/events{/privacy}",
"received_events_url": "https://api.github.com/users/hemidactylus/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T17:54:43 | 2023-11-28T21:25:45 | 2023-11-28T21:25:45 |
CONTRIBUTOR
| null |
This PR rearranges the docstring for the `AstraDB` vector store class so as to have all useful information in the _class_ docstring for ease of reading.
(incidentally, due to an oversight, the docstring that was in the constructor ended up buried below some lines of code, thereby disappearing altogether from accessibility. Apologies.)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13784/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13784",
"html_url": "https://github.com/langchain-ai/langchain/pull/13784",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13784.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13784.patch",
"merged_at": "2023-11-28T21:25:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13783
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13783/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13783/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13783/events
|
https://github.com/langchain-ai/langchain/issues/13783
| 2,008,609,445 |
I_kwDOIPDwls53uPKl
| 13,783 |
How to add json_object to ChatOpenAI class?
|
{
"login": "paolomagnani-mxm",
"id": 151837631,
"node_id": "U_kgDOCQzbvw",
"avatar_url": "https://avatars.githubusercontent.com/u/151837631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paolomagnani-mxm",
"html_url": "https://github.com/paolomagnani-mxm",
"followers_url": "https://api.github.com/users/paolomagnani-mxm/followers",
"following_url": "https://api.github.com/users/paolomagnani-mxm/following{/other_user}",
"gists_url": "https://api.github.com/users/paolomagnani-mxm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/paolomagnani-mxm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paolomagnani-mxm/subscriptions",
"organizations_url": "https://api.github.com/users/paolomagnani-mxm/orgs",
"repos_url": "https://api.github.com/users/paolomagnani-mxm/repos",
"events_url": "https://api.github.com/users/paolomagnani-mxm/events{/privacy}",
"received_events_url": "https://api.github.com/users/paolomagnani-mxm/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 5 | 2023-11-23T17:26:32 | 2023-12-11T20:59:25 | null |
NONE
| null |
### Issue you'd like to raise.
How can I add the new parameter **JSON MODE** ( https://platform.openai.com/docs/guides/text-generation/json-mode )
to this snippet of code?
```python
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI(
model_name="gpt-3.5-turbo-1106",
temperature=1,
max_tokens=None
)
```
I see in openai it should be used in this way:
```python
response = client.chat.completions.create(
model="gpt-3.5-turbo-1106",
response_format={ "type": "json_object" },
messages=[
{"role": "system", "content": "You are a helpful assistant designed to output JSON."},
{"role": "user", "content": "Who won the world series in 2020?"}
]
)
```
Thanks!!
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13783/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/13783/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13782
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13782/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13782/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13782/events
|
https://github.com/langchain-ai/langchain/issues/13782
| 2,008,561,158 |
I_kwDOIPDwls53uDYG
| 13,782 |
Support auth header, when underlying client support it.
|
{
"login": "kacperfronc",
"id": 30493915,
"node_id": "MDQ6VXNlcjMwNDkzOTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/30493915?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kacperfronc",
"html_url": "https://github.com/kacperfronc",
"followers_url": "https://api.github.com/users/kacperfronc/followers",
"following_url": "https://api.github.com/users/kacperfronc/following{/other_user}",
"gists_url": "https://api.github.com/users/kacperfronc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kacperfronc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kacperfronc/subscriptions",
"organizations_url": "https://api.github.com/users/kacperfronc/orgs",
"repos_url": "https://api.github.com/users/kacperfronc/repos",
"events_url": "https://api.github.com/users/kacperfronc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kacperfronc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T16:46:27 | 2023-11-24T10:33:54 | null |
NONE
| null |
### Feature request
Support auth token headers in langchain, when underlying model supports it.
### Motivation
I'd like to use ChatAnthropic, but I'm using a custom proxy backend, where I need to provide Authorization header.
This is simple using AnthropicClient directly as it accepts auth_token parameter.
Problem is, langchain ChatAnthropic abstraction, doesn't accept this param.
It would be great to have an option to pass auth_token to model, when model supports it.
### Your contribution
I don't feel comfortable in this codebase to create a PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13782/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13781
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13781/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13781/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13781/events
|
https://github.com/langchain-ai/langchain/pull/13781
| 2,008,547,075 |
PR_kwDOIPDwls5gPy3A
| 13,781 |
Allow returning tokens usage counts
|
{
"login": "AI-Bassem",
"id": 125713079,
"node_id": "U_kgDOB346tw",
"avatar_url": "https://avatars.githubusercontent.com/u/125713079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AI-Bassem",
"html_url": "https://github.com/AI-Bassem",
"followers_url": "https://api.github.com/users/AI-Bassem/followers",
"following_url": "https://api.github.com/users/AI-Bassem/following{/other_user}",
"gists_url": "https://api.github.com/users/AI-Bassem/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AI-Bassem/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AI-Bassem/subscriptions",
"organizations_url": "https://api.github.com/users/AI-Bassem/orgs",
"repos_url": "https://api.github.com/users/AI-Bassem/repos",
"events_url": "https://api.github.com/users/AI-Bassem/events{/privacy}",
"received_events_url": "https://api.github.com/users/AI-Bassem/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-23T16:35:31 | 2023-11-29T03:09:02 | 2023-11-29T03:09:02 |
CONTRIBUTOR
| null |
Small change to allow returning tokens usage counts from OctoAI endpoints
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13781/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13781",
"html_url": "https://github.com/langchain-ai/langchain/pull/13781",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13781.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13781.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13780
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13780/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13780/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13780/events
|
https://github.com/langchain-ai/langchain/pull/13780
| 2,008,460,985 |
PR_kwDOIPDwls5gPgDr
| 13,780 |
AstraDB VectorStore: implement pre_delete_collection
|
{
"login": "nicoloboschi",
"id": 23314389,
"node_id": "MDQ6VXNlcjIzMzE0Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/23314389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicoloboschi",
"html_url": "https://github.com/nicoloboschi",
"followers_url": "https://api.github.com/users/nicoloboschi/followers",
"following_url": "https://api.github.com/users/nicoloboschi/following{/other_user}",
"gists_url": "https://api.github.com/users/nicoloboschi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicoloboschi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicoloboschi/subscriptions",
"organizations_url": "https://api.github.com/users/nicoloboschi/orgs",
"repos_url": "https://api.github.com/users/nicoloboschi/repos",
"events_url": "https://api.github.com/users/nicoloboschi/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicoloboschi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 3 | 2023-11-23T15:34:21 | 2023-12-03T20:06:20 | 2023-12-03T20:06:20 |
CONTRIBUTOR
| null |
- **Description:** some vector stores have a flag for try deleting the collection before creating it (such as ´vectorpg´). This is a useful flag when prototyping indexing pipelines and also for integration tests. Added the bool flag `pre_delete_collection ` to the constructor (default False)
- **Tag maintainer:** @hemidactylus
- **Twitter handle:** nicoloboschi
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13780/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13780",
"html_url": "https://github.com/langchain-ai/langchain/pull/13780",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13780.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13780.patch",
"merged_at": "2023-12-03T20:06:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13778
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13778/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13778/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13778/events
|
https://github.com/langchain-ai/langchain/issues/13778
| 2,008,213,482 |
I_kwDOIPDwls53sufq
| 13,778 |
Issue: how to access to cached question and answer in InMemoryCache
|
{
"login": "reddiamond1234",
"id": 122911466,
"node_id": "U_kgDOB1N66g",
"avatar_url": "https://avatars.githubusercontent.com/u/122911466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reddiamond1234",
"html_url": "https://github.com/reddiamond1234",
"followers_url": "https://api.github.com/users/reddiamond1234/followers",
"following_url": "https://api.github.com/users/reddiamond1234/following{/other_user}",
"gists_url": "https://api.github.com/users/reddiamond1234/gists{/gist_id}",
"starred_url": "https://api.github.com/users/reddiamond1234/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/reddiamond1234/subscriptions",
"organizations_url": "https://api.github.com/users/reddiamond1234/orgs",
"repos_url": "https://api.github.com/users/reddiamond1234/repos",
"events_url": "https://api.github.com/users/reddiamond1234/events{/privacy}",
"received_events_url": "https://api.github.com/users/reddiamond1234/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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-11-23T13:14:19 | 2023-12-06T06:19:45 | 2023-12-06T06:19:45 |
NONE
| null |
### Issue you'd like to raise.
InMemoryCache works, but it doesn't print to stderr like all other LLM responses. I checked logs and response is stored. I don't know how to access to this stored values...
### Suggestion:
option to view object or option to return values.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13778/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13776
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13776/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13776/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13776/events
|
https://github.com/langchain-ai/langchain/issues/13776
| 2,008,002,786 |
I_kwDOIPDwls53r7Di
| 13,776 |
DOC: Simplify CONTRIBUTING.md by removing conda and pip references
|
{
"login": "Glueish",
"id": 87642985,
"node_id": "MDQ6VXNlcjg3NjQyOTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/87642985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Glueish",
"html_url": "https://github.com/Glueish",
"followers_url": "https://api.github.com/users/Glueish/followers",
"following_url": "https://api.github.com/users/Glueish/following{/other_user}",
"gists_url": "https://api.github.com/users/Glueish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Glueish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Glueish/subscriptions",
"organizations_url": "https://api.github.com/users/Glueish/orgs",
"repos_url": "https://api.github.com/users/Glueish/repos",
"events_url": "https://api.github.com/users/Glueish/events{/privacy}",
"received_events_url": "https://api.github.com/users/Glueish/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T11:09:26 | 2023-11-23T11:09:50 | null |
CONTRIBUTOR
| null |
### Issue with current documentation:
if "our goal is to have the simplest developer setup possible", we shouldn't encourage mixing poetry with the use of conda and pip in [CONTRIBUTING.md](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md). Mixing different tools for the same job is error prone and leads to confusion for new contributors.
Specifically, the following lines should be reconsidered:
❗Note: Before installing Poetry, if you use Conda, create and activate a new Conda env (e.g. conda create -n langchain python=3.9) ([link](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md#:~:text=%E2%9D%97Note%3A%20Before%20installing%20Poetry%2C%20if%20you%20use%20Conda%2C%20create%20and%20activate%20a%20new%20Conda%20env%20(e.g.%20conda%20create%20%2Dn%20langchain%20python%3D3.9)))
❗Note: If you use Conda or Pyenv as your environment/package manager, after installing Poetry, tell Poetry to use the virtualenv python environment (poetry config virtualenvs.prefer-active-python true) ([link](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md#:~:text=%E2%9D%97Note%3A%20If%20you%20use%20Conda%20or%20Pyenv%20as%20your%20environment/package%20manager%2C%20after%20installing%20Poetry%2C%20tell%20Poetry%20to%20use%20the%20virtualenv%20python%20environment%20(poetry%20config%20virtualenvs.prefer%2Dactive%2Dpython%20true)))
If the tests don't pass, you may need to pip install additional dependencies, such as numexpr and openapi_schema_pydantic. ([link](https://github.com/langchain-ai/langchain/blob/5ae51a8a85d1a37ea98afeaf639a72ac74a50523/.github/CONTRIBUTING.md#:~:text=If%20the%20tests%20don%27t%20pass%2C%20you%20may%20need%20to%20pip%20install%20additional%20dependencies%2C%20such%20as%20numexpr%20and%20openapi_schema_pydantic.))
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13776/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13774
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13774/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13774/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13774/events
|
https://github.com/langchain-ai/langchain/pull/13774
| 2,007,834,651 |
PR_kwDOIPDwls5gNcSn
| 13,774 |
Ensure AstraDB integration tests clean up the environment
|
{
"login": "nicoloboschi",
"id": 23314389,
"node_id": "MDQ6VXNlcjIzMzE0Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/23314389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicoloboschi",
"html_url": "https://github.com/nicoloboschi",
"followers_url": "https://api.github.com/users/nicoloboschi/followers",
"following_url": "https://api.github.com/users/nicoloboschi/following{/other_user}",
"gists_url": "https://api.github.com/users/nicoloboschi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicoloboschi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicoloboschi/subscriptions",
"organizations_url": "https://api.github.com/users/nicoloboschi/orgs",
"repos_url": "https://api.github.com/users/nicoloboschi/repos",
"events_url": "https://api.github.com/users/nicoloboschi/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicoloboschi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 3 | 2023-11-23T09:49:32 | 2023-12-03T19:14:43 | 2023-12-03T19:14:42 |
CONTRIBUTOR
| null |
- **Description:** currently astra_db integration tests might leave orphan collections
- **Tag maintainer:** @hemidactylus
- **Twitter handle:** nicoloboschi
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13774/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/13774/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13774",
"html_url": "https://github.com/langchain-ai/langchain/pull/13774",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13774.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13774.patch",
"merged_at": "2023-12-03T19:14:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13772
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13772/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13772/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13772/events
|
https://github.com/langchain-ai/langchain/issues/13772
| 2,007,748,476 |
I_kwDOIPDwls53q898
| 13,772 |
how to chain the lenght of context if i wanted use gpt-4 model because of increase token i can't use gpt 4 so how to chain the context
|
{
"login": "Onkargaikwad11",
"id": 121924825,
"node_id": "U_kgDOB0Rs2Q",
"avatar_url": "https://avatars.githubusercontent.com/u/121924825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Onkargaikwad11",
"html_url": "https://github.com/Onkargaikwad11",
"followers_url": "https://api.github.com/users/Onkargaikwad11/followers",
"following_url": "https://api.github.com/users/Onkargaikwad11/following{/other_user}",
"gists_url": "https://api.github.com/users/Onkargaikwad11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Onkargaikwad11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Onkargaikwad11/subscriptions",
"organizations_url": "https://api.github.com/users/Onkargaikwad11/orgs",
"repos_url": "https://api.github.com/users/Onkargaikwad11/repos",
"events_url": "https://api.github.com/users/Onkargaikwad11/events{/privacy}",
"received_events_url": "https://api.github.com/users/Onkargaikwad11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T08:57:22 | 2023-11-23T09:04:02 | null |
NONE
| null |
### Issue with current documentation:
(import pandas as pd
import json
from IPython.display import Markdown, display
from langchain.agents import create_csv_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
import os
os.environ["OPENAI_API_KEY"] = ""
# Load the dataset
df = pd.read_csv('Loan Collections - Sheet1.csv')
def convert_columns_to_float_by_keywords(df):
# Convert date and time columns to float
for column in df.select_dtypes(include=['object']).columns:
# Check if the column name contains 'date' or 'time'
if 'date' in column.lower() or 'time' in column.lower() or 'dob' in column.lower() or 'date of birth' in column.lower():
try:
# Convert the column to datetime
df[column] = pd.to_datetime(df[column], errors='coerce')
# Convert datetime to numerical representation (e.g., days since a reference date)
reference_date = pd.to_datetime('1900-01-01')
df[column] = (df[column] - reference_date).dt.total_seconds() / (24 * 60 * 60)
except ValueError:
# Handle errors during conversion
print(f"Error converting column '{column}' to float.")
# Convert columns with specific keywords to float
keywords_to_convert = ["unique id", "reference id", "account id"]
for column in df.columns:
# Check if the column name contains any of the specified keywords
if any(keyword in column.lower() for keyword in keywords_to_convert):
try:
# Convert the column to float
df[column] = pd.to_numeric(df[column], errors='coerce')
except ValueError:
# Handle errors during conversion
print(f"Error converting column '{column}' to float.")
# Convert 'date' and 'time' columns to float
convert_columns_to_float_by_keywords(df)
# Extract unique values for each column
unique_values_per_column = {}
for column in df.select_dtypes(include=['object']).columns:
unique_values_per_column[column] = df[column].unique().tolist()
# Convert the dictionary to JSON
json_data_train = json.dumps(unique_values_per_column, indent=4)
testData_fname = "Mutual Funds 2023 - Mutual Funds Data Final File (1).csv"
# Load the dataset
df2 = pd.read_csv(testData_fname)
convert_columns_to_float_by_keywords(df2)
# Extract unique values for each column
unique_values_per_column = {}
for column in df2.select_dtypes(include=['object']).columns:
unique_values_per_column[column] = df2[column].unique().tolist()
# Convert the dictionary to JSON
json_data_test = json.dumps(unique_values_per_column, indent=4)
# Define user's question
user_question = "monthly growth analysis of Broker Commission ?"
# Define the prompt template
prompt_template = f'''If the dataset has the following columns: {json_data_train}'''+''' Understand user questions with different column names and convert them to a JSON format.
Question might not even mentioned column name at all, it would probably mention value of the column. so it has to figure it out columnn name based on that value.
Example1:
User Question1: top zone in the year 2019 with Loan Amt between 10k and 20k and tenure > 12 excluding Texas region?
{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": [],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": ["Zone"],
"filters": {},
"not_in": {"Region": ["Texas"]},
"num_filter": {
"gt": [
["Loan Tenure", 12],
["Loan Amount", 10000]
],
"lt": [
["Loan Amount", 20000]
]
},
"percent": "false",
"top": "1",
"bottom": "null"
}
Note the following in the above example
- The word "top" in the User Question made the "top" key have the value as "1". If "highest" is mentioned in the User Question, even then "top" would have the value as "1". If "top" is not mentioned or not implied in the User Question, then it takes on the value "null". Similarly for "bottom" key in the System Response.
- The word "zone" in the User Question refers to a column "Zone" in the dataset and since it is a non-numeric column and we have to group by that column, the system response has it as one of the values of the list of the key "variables_grpby"
- The key "start_date" and "end_date" Since it is mentioned 2019 in the User Question as the timeframe, the "start_date" assumes the beginning of the year 2019 and "end_date" assumes the end of the year 2019. If no date related words are mentioned in the question, "start_date" would be "null" and "end_date" would be "null".
- The key "time_stamp_col" in the System Response should mention the relevant time related column name from the dataset according to the question if the question mentions a time related word.
- The key "agg_columns" in the System Response is a list of columns to be aggregated which should mention the numeric column names on which the question wants us to aggregate on.
- The key "trend" in the System Response, "trend" is set to "null" since the user question doesn't imply any trend analysis . If the question were about trends over time, this key would contain information about the trend, such as "upward," "downward," or "null" if no trend is specified.
- The key "filters" An empty dictionary in this case, as there are no explicit filters mentioned in the user question. If the user asked to filter data based on certain conditions (e.g. excluding a specific region), this key would contain the relevant filters.
- The key "to_start_date" and "to_end_date" Both set to "null" in this example because the user question specifies a single timeframe (2019). If the question mentioned a range (e.g. "from January 2019 to March 2019"), these keys would capture the specified range.
- The key "growth" Set to "null" in this example as there is no mention of growth in the user question. If the user inquired about growth or change over time, this key would provide information about the type of growth (e.g."monthly","yearly"," "absolute") or be set to "null" if not applicable.
- The key "not_in" Contains information about exclusion criteria based on the user's question. In this example, it excludes the "Texas" region. If the user question doesn't involve exclusions, this key would be an empty dictionary.
- The key "num_filter" Specifies numerical filters based on conditions in the user question. In this example, it filters loans with a tenure greater than 12 and loan amounts between 10k and 20k. If the user question doesn't involve numerical filters, this key would be an empty dictionary.
- The key "percent" Set to "false" in this example as there is no mention of percentage in the user question. If the user inquired about percentages, this key would contain information about the use of percentages in the response.
Similarly, below are more examples of user questions and their corresponding expected System Responses.
Example 2:
User Question: What is the Highest Loan Amount and Loan Outstanding by RM Name James in January 2020
{
"start_date": "01-01-2020",
"end_date": "31-01-2020",
"time_stamp_col": "Due Date",
"agg_columns": ["Loan Amount", "Loan Outstanding"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": [],
"filters": {"RM Name": ["James"]},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "1",
"bottom": "null"
}
Example 3:
User Question: Which RM Name with respect to Region has the Highest Interest Outstanding and Principal Outstanding in the year 2019
{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Interest Outstanding", "Principal Outstanding"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": ["RM Name", "Region"],
"filters": {},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "1",
"bottom": "null"
}
Example 4:
User Question: Which Branch in North Carolina with respect to Cibil Score Bucket has the Highest Cibil Score in 2019
{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Cibil Score", "DPD Bucket"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": ["Branch"],
"filters": {"Region": ["North Carolina"]},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "1",
"bottom": "null"
}
''
Example 5:
User Question: With respect to Zone, Region, Branch, RM Name what is the Highest Loan Amount, Loan Tenure, Loan Outstanding, EMI Pending, Principal Outstanding
{
"start_date": "null",
"end_date": "null",
"time_stamp_col": "null",
"agg_columns": ["Loan Amount", "Loan Tenure", "Loan Outstanding", "EMI Pending", "Principal Outstanding"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": ["Zone", "Region", "Branch", "RM Name"],
"filters": {},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "1",
"bottom": "null"
}
Example 6:
User Question: Top 2 zones by Housing Loan in the year 2019
{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Housing Loan"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "null",
"variables_grpby": ["Zone"],
"filters": {"Product": ["Home Loan"]},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "2",
"bottom": "null"
}
Example 7:
User Question: yearly growth analysis by Due Date of Loan Amount?
{
"start_date": "null",
"end_date": "null",
"time_stamp_col": "Due Date",
"agg_columns": ["Loan Amount"],
"trend": "null",
"to_start_date": "null",
"to_end_date": "null",
"growth": "yearly",
"variables_grpby": ["Due Date"],
"filters": {},
"not_in": {},
"num_filter": {},
"percent": "false",
"top": "null",
"bottom": "null"
}
'''+ f'''Our test dataset has the following columns: {json_data_test}
User Question (to be converted): {user_question}'''
# Set the context length
context_length = 3 # Set your desired context length here
# Load the agent with GPT-4 and the specified context length
gpt4_agent = create_csv_agent(ChatOpenAI(temperature=0, model_name="gpt-4"), testData_fname, context_length=context_length)
# Use the formatted question as the input to your agent
response = gpt4_agent.run(prompt_template)
# Print the response
print(user_question)
print(response))
and the error is ( RateLimitError: Rate limit reached for gpt-4 in organization org-bJurmVX4HBor6BJfUF9Q6miB on tokens per min (TPM): Limit 10000, Used 1269, Requested 9015. Please try again in 1.704s. Visit https://platform.openai.com/account/rate-limits to learn more.) so try to run gpt-4 model but chaining the lenght contex
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13772/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13771
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13771/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13771/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13771/events
|
https://github.com/langchain-ai/langchain/issues/13771
| 2,007,681,270 |
I_kwDOIPDwls53qsj2
| 13,771 |
Issue: Conversational retrieval chain, response_if_no_docs_found not working
|
{
"login": "JoAmps",
"id": 64706945,
"node_id": "MDQ6VXNlcjY0NzA2OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/64706945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoAmps",
"html_url": "https://github.com/JoAmps",
"followers_url": "https://api.github.com/users/JoAmps/followers",
"following_url": "https://api.github.com/users/JoAmps/following{/other_user}",
"gists_url": "https://api.github.com/users/JoAmps/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JoAmps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JoAmps/subscriptions",
"organizations_url": "https://api.github.com/users/JoAmps/orgs",
"repos_url": "https://api.github.com/users/JoAmps/repos",
"events_url": "https://api.github.com/users/JoAmps/events{/privacy}",
"received_events_url": "https://api.github.com/users/JoAmps/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-23T08:17:41 | 2023-11-23T08:24:54 | null |
NONE
| null |
### Issue you'd like to raise.
It stated in the docs that there's a parameter called response_if_no_docs_found, which If specified, the chain will return a fixed response if no docs
are found for the question.
I have tried it and asked another person, who says they tried it and it doesn't work,
how do i get it to work
because its a very important aspect
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13771/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13770
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13770/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13770/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13770/events
|
https://github.com/langchain-ai/langchain/issues/13770
| 2,007,675,246 |
I_kwDOIPDwls53qrFu
| 13,770 |
JSON response support for Ollama
|
{
"login": "abaranovskis-redsamurai",
"id": 19287736,
"node_id": "MDQ6VXNlcjE5Mjg3NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/19287736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abaranovskis-redsamurai",
"html_url": "https://github.com/abaranovskis-redsamurai",
"followers_url": "https://api.github.com/users/abaranovskis-redsamurai/followers",
"following_url": "https://api.github.com/users/abaranovskis-redsamurai/following{/other_user}",
"gists_url": "https://api.github.com/users/abaranovskis-redsamurai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abaranovskis-redsamurai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abaranovskis-redsamurai/subscriptions",
"organizations_url": "https://api.github.com/users/abaranovskis-redsamurai/orgs",
"repos_url": "https://api.github.com/users/abaranovskis-redsamurai/repos",
"events_url": "https://api.github.com/users/abaranovskis-redsamurai/events{/privacy}",
"received_events_url": "https://api.github.com/users/abaranovskis-redsamurai/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T08:13:02 | 2023-11-23T08:13:19 | null |
NONE
| null |
### Feature request
JS LangChain (https://js.langchain.com/docs/integrations/chat/ollama_functions) supports Ollama Functions and allows to return JSON output from Ollama. It would be good to have the same functionality in Python LangChain.
### Motivation
JSON response from LangChain Ollama would be very useful, when integrating LangChain into API pipelines running on local environments
### Your contribution
I could test the implementation.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13770/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13769
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13769/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13769/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13769/events
|
https://github.com/langchain-ai/langchain/pull/13769
| 2,007,618,252 |
PR_kwDOIPDwls5gMs2S
| 13,769 |
Repair Wikipedia document loader `load_max_docs` and improve test coverage.
|
{
"login": "queenvictoria",
"id": 694770,
"node_id": "MDQ6VXNlcjY5NDc3MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/694770?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/queenvictoria",
"html_url": "https://github.com/queenvictoria",
"followers_url": "https://api.github.com/users/queenvictoria/followers",
"following_url": "https://api.github.com/users/queenvictoria/following{/other_user}",
"gists_url": "https://api.github.com/users/queenvictoria/gists{/gist_id}",
"starred_url": "https://api.github.com/users/queenvictoria/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/queenvictoria/subscriptions",
"organizations_url": "https://api.github.com/users/queenvictoria/orgs",
"repos_url": "https://api.github.com/users/queenvictoria/repos",
"events_url": "https://api.github.com/users/queenvictoria/events{/privacy}",
"received_events_url": "https://api.github.com/users/queenvictoria/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"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-23T07:25:37 | 2023-11-29T07:07:52 | 2023-11-29T01:26:40 |
CONTRIBUTOR
| null |
**Description:**
Repair Wikipedia document loader `load_max_docs` and improve test coverage.
**Issue:**
The Wikipedia document loader was not respecting the `load_max_docs` paramater (not reported) and would always return a maximum of 10 documents. This is because the API wrapper (in `utilities/wikipedia.py`) wasn't passing `top_k_results` to the underlying [Wikipedia library](https://wikipedia.readthedocs.io/en/latest/code.html#module-wikipedia). By default this library returns 10 results.
The default number of results for the document loader has been reduced from 100 to 25. This is because loading 100 results takes a very long time and is an inconvenient default. It should possibly be 10.
In addition, the documentation for the loader reported that there was a hard limit (300) on the number of documents returned. In actuality 300 is the maximum Wikipedia query character length set by the API wrapper.
Tests have been added for the document loader (previously missing) and to test the correct numbers of documents are being returned by each class, both by default, and when overridden. Also repaired is the `assert_docs` test which has been updated to correctly test for the default metadata (which includes `source` in recent releases).
**Dependencies:**
nil
**Tag maintainer:**
@leo-gan
**Twitter handle:**
@queenvictoria
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13769/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13769",
"html_url": "https://github.com/langchain-ai/langchain/pull/13769",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13769.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13769.patch",
"merged_at": "2023-11-29T01:26:40"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13768
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13768/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13768/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13768/events
|
https://github.com/langchain-ai/langchain/pull/13768
| 2,007,614,962 |
PR_kwDOIPDwls5gMsHn
| 13,768 |
Fix Azure Openai function calling in streaming mode
|
{
"login": "hendrik-hog",
"id": 59823656,
"node_id": "MDQ6VXNlcjU5ODIzNjU2",
"avatar_url": "https://avatars.githubusercontent.com/u/59823656?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hendrik-hog",
"html_url": "https://github.com/hendrik-hog",
"followers_url": "https://api.github.com/users/hendrik-hog/followers",
"following_url": "https://api.github.com/users/hendrik-hog/following{/other_user}",
"gists_url": "https://api.github.com/users/hendrik-hog/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hendrik-hog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hendrik-hog/subscriptions",
"organizations_url": "https://api.github.com/users/hendrik-hog/orgs",
"repos_url": "https://api.github.com/users/hendrik-hog/repos",
"events_url": "https://api.github.com/users/hendrik-hog/events{/privacy}",
"received_events_url": "https://api.github.com/users/hendrik-hog/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T07:22:34 | 2023-12-03T20:07:16 | 2023-12-03T20:07:15 |
CONTRIBUTOR
| null |
- **Description**: This PR addresses an issue with the OpenAI API streaming response, where initially the key (arguments) is provided but the value is None. Subsequently, it updates with {"arguments": "{\n"}, leading to a type inconsistency that causes an exception. The specific error encountered is ValueError: additional_kwargs["arguments"] already exists in this message, but with a different type. This change aims to resolve this inconsistency and ensure smooth API interactions.
- **Issue**: None.
- **Dependencies**: None.
- **Tag maintainer**: @eyurtsev
This is an updated version of #13229 based on the refactored code. Credit goes to @superken01.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13768/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13768",
"html_url": "https://github.com/langchain-ai/langchain/pull/13768",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13768.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13768.patch",
"merged_at": "2023-12-03T20:07:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13767
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13767/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13767/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13767/events
|
https://github.com/langchain-ai/langchain/pull/13767
| 2,007,603,677 |
PR_kwDOIPDwls5gMpp-
| 13,767 |
Update Hologres vector store: use hologres-vector
|
{
"login": "zcgeng",
"id": 13724617,
"node_id": "MDQ6VXNlcjEzNzI0NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/13724617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zcgeng",
"html_url": "https://github.com/zcgeng",
"followers_url": "https://api.github.com/users/zcgeng/followers",
"following_url": "https://api.github.com/users/zcgeng/following{/other_user}",
"gists_url": "https://api.github.com/users/zcgeng/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zcgeng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zcgeng/subscriptions",
"organizations_url": "https://api.github.com/users/zcgeng/orgs",
"repos_url": "https://api.github.com/users/zcgeng/repos",
"events_url": "https://api.github.com/users/zcgeng/events{/privacy}",
"received_events_url": "https://api.github.com/users/zcgeng/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T07:12:04 | 2023-12-03T19:50:46 | 2023-12-03T19:50:45 |
CONTRIBUTOR
| null |
Hi,
I made some code changes on the Hologres vector store to improve the data insertion performance.
Also, this version of the code uses `hologres-vector` library. This library is more convenient for us to update, and more efficient in performance.
The code has passed the format/lint/spell check. I have run the unit test for Hologres connecting to my own database.
Please check this PR again and tell me if anything needs to change.
Best,
Changgeng,
Developer @ Alibaba Cloud
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13767/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13767",
"html_url": "https://github.com/langchain-ai/langchain/pull/13767",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13767.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13767.patch",
"merged_at": "2023-12-03T19:50:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13766
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13766/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13766/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13766/events
|
https://github.com/langchain-ai/langchain/issues/13766
| 2,007,583,055 |
I_kwDOIPDwls53qUlP
| 13,766 |
_TextGenerationModel.predict() got an unexpected keyword argument 'functions'Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
|
{
"login": "prajwalghadge07",
"id": 76210269,
"node_id": "MDQ6VXNlcjc2MjEwMjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/76210269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajwalghadge07",
"html_url": "https://github.com/prajwalghadge07",
"followers_url": "https://api.github.com/users/prajwalghadge07/followers",
"following_url": "https://api.github.com/users/prajwalghadge07/following{/other_user}",
"gists_url": "https://api.github.com/users/prajwalghadge07/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prajwalghadge07/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prajwalghadge07/subscriptions",
"organizations_url": "https://api.github.com/users/prajwalghadge07/orgs",
"repos_url": "https://api.github.com/users/prajwalghadge07/repos",
"events_url": "https://api.github.com/users/prajwalghadge07/events{/privacy}",
"received_events_url": "https://api.github.com/users/prajwalghadge07/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
}
] |
open
| false | null |
[] | null | 4 | 2023-11-23T06:51:29 | 2023-12-04T04:13:10 | null |
NONE
| null |
### Issue you'd like to raise.
I am trying to create a vertex ai and langchain based entity extraction program. I have stored my documents in form of vector embeddings in chromadb. I have been trying to extract the attributes/features like name, price, etc but whenever i run chains I'm getting this error.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13766/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13764
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13764/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13764/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13764/events
|
https://github.com/langchain-ai/langchain/pull/13764
| 2,007,442,172 |
PR_kwDOIPDwls5gMGl0
| 13,764 |
Update agents\conversational\output_parser.py
|
{
"login": "lilong669",
"id": 53218099,
"node_id": "MDQ6VXNlcjUzMjE4MDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/53218099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lilong669",
"html_url": "https://github.com/lilong669",
"followers_url": "https://api.github.com/users/lilong669/followers",
"following_url": "https://api.github.com/users/lilong669/following{/other_user}",
"gists_url": "https://api.github.com/users/lilong669/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lilong669/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lilong669/subscriptions",
"organizations_url": "https://api.github.com/users/lilong669/orgs",
"repos_url": "https://api.github.com/users/lilong669/repos",
"events_url": "https://api.github.com/users/lilong669/events{/privacy}",
"received_events_url": "https://api.github.com/users/lilong669/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-23T03:49:53 | 2024-01-02T00:00:25 | 2024-01-02T00:00:24 |
NONE
| null |
The regular expression regex = r"Action: (.*?)[\n]*Action Input: (.*)", with .* being the default greedy match.This results in the action_input variable not including the part after the newline character.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13764/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13764/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13764",
"html_url": "https://github.com/langchain-ai/langchain/pull/13764",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13764.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13764.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13763
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13763/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13763/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13763/events
|
https://github.com/langchain-ai/langchain/pull/13763
| 2,007,441,418 |
PR_kwDOIPDwls5gMGbu
| 13,763 |
small fix matching engine AttributeError - object has no attribute
|
{
"login": "saiwas",
"id": 3829027,
"node_id": "MDQ6VXNlcjM4MjkwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3829027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saiwas",
"html_url": "https://github.com/saiwas",
"followers_url": "https://api.github.com/users/saiwas/followers",
"following_url": "https://api.github.com/users/saiwas/following{/other_user}",
"gists_url": "https://api.github.com/users/saiwas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/saiwas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saiwas/subscriptions",
"organizations_url": "https://api.github.com/users/saiwas/orgs",
"repos_url": "https://api.github.com/users/saiwas/repos",
"events_url": "https://api.github.com/users/saiwas/events{/privacy}",
"received_events_url": "https://api.github.com/users/saiwas/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-23T03:48:41 | 2023-11-29T03:42:30 | 2023-11-29T03:42:30 |
CONTRIBUTOR
| null |
This PR is fixing an attributeError: object endpoint has no attribute "_public_match_client" when using gcp matching engine with private VPC network.
@baskaryan, @eyurtsev, @hwchase17.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13763/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13763",
"html_url": "https://github.com/langchain-ai/langchain/pull/13763",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13763.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13763.patch",
"merged_at": "2023-11-29T03:42:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13762
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13762/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13762/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13762/events
|
https://github.com/langchain-ai/langchain/issues/13762
| 2,007,439,169 |
I_kwDOIPDwls53pxdB
| 13,762 |
Changing Model Param after Initialization VLLM Model
|
{
"login": "zhuofan-16",
"id": 59607914,
"node_id": "MDQ6VXNlcjU5NjA3OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/59607914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhuofan-16",
"html_url": "https://github.com/zhuofan-16",
"followers_url": "https://api.github.com/users/zhuofan-16/followers",
"following_url": "https://api.github.com/users/zhuofan-16/following{/other_user}",
"gists_url": "https://api.github.com/users/zhuofan-16/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhuofan-16/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhuofan-16/subscriptions",
"organizations_url": "https://api.github.com/users/zhuofan-16/orgs",
"repos_url": "https://api.github.com/users/zhuofan-16/repos",
"events_url": "https://api.github.com/users/zhuofan-16/events{/privacy}",
"received_events_url": "https://api.github.com/users/zhuofan-16/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-23T03:45:30 | 2024-01-15T12:38:27 | null |
NONE
| null |
### Feature request
Introduce a more flexible method to specify model parameters directly within the LLMChain or VLLM method, allowing users to modify these parameters without creating a new model instance each time.
### Motivation
Currently, when utilizing the Langchain library's VLLM class, modifying model parameters (such as temperature, top_k, top_p, etc.) requires creating a new instance of the VLLM class. This process becomes cumbersome, especially when frequent adjustments to model parameters are necessary.
Current Situation:
`
from langchain.llms import VLLM
llm = VLLM(
model="mosaicml/mpt-7b",
trust_remote_code=True, # mandatory for hf models
max_new_tokens=128,
top_k=10,
top_p=0.95,
temperature=0.8,
)
template = """Question: {question}
Answer: Let's think step by step."""
prompt = PromptTemplate(template=template, input_variables=["question"])
llm_chain = LLMChain(prompt=prompt, llm=llm)
question = "Who was the US president in the year the first Pokemon game was released?"
print(llm_chain.run(question))
`
It is very tedious to keep creating new model when i want to change model params like (temperature and etc) .
In naive VLLM, this can be done so easily:
llm = LLM(model="qwen/Qwen-7B-Chat", revision="v1.1.8", trust_remote_code=True)
outputs = llm.generate(prompts, model_params)
outputs = llm.generate(prompts, model_params)
### Your contribution
NA
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13762/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13761
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13761/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13761/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13761/events
|
https://github.com/langchain-ai/langchain/pull/13761
| 2,007,425,696 |
PR_kwDOIPDwls5gMDHS
| 13,761 |
RFC: Serialization tests
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T03:25:32 | 2023-12-14T02:53:39 | 2023-12-14T02:53:39 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13761/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13761",
"html_url": "https://github.com/langchain-ai/langchain/pull/13761",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13761.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13761.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13760
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13760/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13760/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13760/events
|
https://github.com/langchain-ai/langchain/issues/13760
| 2,007,415,465 |
I_kwDOIPDwls53prqp
| 13,760 |
Combine Tools Together in a Chain
|
{
"login": "projectssimm",
"id": 43559168,
"node_id": "MDQ6VXNlcjQzNTU5MTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/43559168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/projectssimm",
"html_url": "https://github.com/projectssimm",
"followers_url": "https://api.github.com/users/projectssimm/followers",
"following_url": "https://api.github.com/users/projectssimm/following{/other_user}",
"gists_url": "https://api.github.com/users/projectssimm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/projectssimm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/projectssimm/subscriptions",
"organizations_url": "https://api.github.com/users/projectssimm/orgs",
"repos_url": "https://api.github.com/users/projectssimm/repos",
"events_url": "https://api.github.com/users/projectssimm/events{/privacy}",
"received_events_url": "https://api.github.com/users/projectssimm/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": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-23T03:12:58 | 2023-11-23T03:17:25 | null |
NONE
| null |
### Issue you'd like to raise.
I got 2 functions and 2 related tools:
def Func_Tool_Extractor(parameters):
print("\n", parameters)
print("触发Func_Tool_Extractor插件")
pdf_id, extractor_id_position = parameters.split(",")
print(f"获取到pdf id为{pdf_id},这篇文档用户想要查询第{extractor_id_position}个分子")
test_smiles = "C1C2=C3CCC3=C2CC1"
extractor_id = 1876
print(f"查询到第{extractor_id_position}个分子的smiles为{test_smiles}, extractor_id为{extractor_id}")
answer = f"查询到分子的SMILES为{test_smiles}, extractor_id为{extractor_id}, pdf_id为{pdf_id}"
return answer
def Func_Tool_ADMET(parameters):
print("\n", parameters)
print("触发Func_Tool_ADMET插件")
print("........正在解析ADMET属性..........")
data = {
"id": "2567",
"smiles": "C1=CC=CC=C1C1=C(C2=CC=CC=C2)C=CC=C1",
"humanIntestinalAbsorption": "HIA+|0.73",
"caco2Permeability": "None",
"caco2PermeabilityIi": "Caco2+|0.70",
"pGlycoproteinInhibitorI": "Pgp_nonInhibitor|0.51",
"pGlycoproteinInhibitorIi": "Pgp_Inhibitor|0.68",
"pGlycoproteinSubstrate": "substrate|0.56",
"bloodBrainBarrier": "BBB+|0.73",
"cyp4501a2Inhibitor": "Inhibitor|0.73",
"cyp4502c19Inhibitor": "Inhibitor|0.68",
"cyp4502c9Inhibitor": "Non_Inhibitor|0.53",
"cyp4502c9Substrate": "non-substrate|0.59",
"cyp4502d6Inhibitor": "Non_Inhibitor|0.65",
"cyp4502d6Substrate": "substrate|0.55",
"cyp4503a4Inhibitor": "Non_Inhibitor|0.71",
"cyp4503a4Substrate": "non_substrate|0.52",
"cypInhibitorPromiscuity": "High CYP Inhibitory Promiscuity|0.61",
"biodegradation": "Not ready biodegradable|0.64",
"renalOrganicCationTransporter": "inhibitor|0.64",
"amesToxicity": "Non AMES toxic|0.66",
"carcinogens": "non_carcinogens|0.71",
"humanEtherAGoGoRelatedGeneInhibitionI": "Weak inhibitor|0.60",
"humanEtherAGoGoRelatedGeneInhibitionIi": "Weak inhibitor|0.53",
"honeyBeeToxicity": "highAT|0.56",
"tetrahymenaPyriformisToxicity": "None",
"tetrahymenaPyriformisToxicityIi": "non-TPT|0.73",
"fishToxicity": "None",
"fishToxicityIi": "High FHMT|0.73",
"aqueousSolubility": "None",
"savePath": "/profile/chemicalAppsResult/admetResult/2023/11/10/2567",
"status": "1",
"favoriteFlag": "0"
}
return data
# Define the tools
tool1 = Tool(
name="Tool_Extractor",
func=Func_Tool_Extractor,
description="""
useful when you want to get a molecule from a document.
like: get the 3rd molecule of the document.
The input of this tool should be comma separated string of two, representing the pdf_id and the number of the molecule to be gotten.
"""
)
tool2 = Tool(
name="Tool_ADMET",
func=Func_Tool_ADMET,
description="""
useful when you want to obtain the ADMET data for a molecule.
like: get the ADMET data for molecule X
The input to this tool should be a string, representing the SMILES of the molecule.
"""
)
Give me a CONVERSATIONAL_REACT_DESCRIPTION code example to use these two tools, and the following requirements should be met:
1. Use initialize_agent method to initialize the agent as needed;
2. The output of tool2 should not be modified by LLM or further processed by the agent chain, avoiding data elimination caused by the thoughts made by LLM models;
3. Use memory to keep history chat messages;
4. Use prompt templates to customize the outputs, especially for the tool2.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13760/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13760/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13759
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13759/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13759/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13759/events
|
https://github.com/langchain-ai/langchain/pull/13759
| 2,007,339,223 |
PR_kwDOIPDwls5gLwpe
| 13,759 |
Revert "INFRA: temp rm master condition (#13753)"
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-23T01:21:59 | 2023-11-24T08:03:53 | 2023-11-23T01:22:07 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13759/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13759",
"html_url": "https://github.com/langchain-ai/langchain/pull/13759",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13759.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13759.patch",
"merged_at": "2023-11-23T01:22:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13758
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13758/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13758/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13758/events
|
https://github.com/langchain-ai/langchain/issues/13758
| 2,007,320,637 |
I_kwDOIPDwls53pUg9
| 13,758 |
Pinecone MultiqueryRetriver with multiple OR metadata filters
|
{
"login": "burberg92",
"id": 78668495,
"node_id": "MDQ6VXNlcjc4NjY4NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/78668495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/burberg92",
"html_url": "https://github.com/burberg92",
"followers_url": "https://api.github.com/users/burberg92/followers",
"following_url": "https://api.github.com/users/burberg92/following{/other_user}",
"gists_url": "https://api.github.com/users/burberg92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/burberg92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/burberg92/subscriptions",
"organizations_url": "https://api.github.com/users/burberg92/orgs",
"repos_url": "https://api.github.com/users/burberg92/repos",
"events_url": "https://api.github.com/users/burberg92/events{/privacy}",
"received_events_url": "https://api.github.com/users/burberg92/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5932474361,
"node_id": "LA_kwDOIPDwls8AAAABYZpf-Q",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone",
"name": "integration: pinecone",
"color": "BC53BE",
"default": false,
"description": "Related to Pinecone vector store integration"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-23T00:55:10 | 2023-11-23T01:59:43 | null |
NONE
| null |
### Issue you'd like to raise.
HI there, I am trying to use Multiquery retiever on pinecone vectordb with multiple filters. I specifically need to use an OR operator.
For example, I would like to retrieve documents with metadata having the metadata "category" : 'value1' OR 'value2' OR 'value3'
this is my current implementation:
```
import pinecone
from langchain.llms import Cohere
from langchain.retrievers.multi_query import MultiQueryRetriever
from langchain.vectorstores import Pinecone
pinecone.init(api_key=pine_api_key, environment=pinecone_env)
index_name = "index_name"
index = pinecone.Index(index_name)
vectorstore = Pinecone(index, embeddings, "text")
llm = Cohere(cohere_api_key=cohere_api_key)
retriever_from_llm = MultiQueryRetriever.from_llm(
retriever=vectorstore.as_retriever(search_kwargs={"k": 10,
'filter': {'user_id': '42',
'category': "c1"}}), llm=llm
)
```
At this point I am able to sucessfully filter by user_id and category when it is only one value, but when I add more values as such
'category': ["c1", "c2", "c3"].
It does not work, when retrieving documents as such:
```
question = "what is foo?"
unique_docs = retriever_from_llm.get_relevant_documents(query=question)
```
Error:
```
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'application/json', 'date': 'Thu, 23 Nov 2023 00:24:58 GMT', 'x-envoy-upstream-service-time': '0', 'content-length': '108', 'server': 'envoy'})
HTTP response body: {"code":3,"message":"illegal condition for field category, got ["c1","c2"]","details":[]}.
```
How can I add a filters that returns documents with category c1 Or c2 Or c3, using pincone and MultiqueryRetriver?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13758/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13757
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13757/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13757/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13757/events
|
https://github.com/langchain-ai/langchain/issues/13757
| 2,007,316,049 |
I_kwDOIPDwls53pTZR
| 13,757 |
How to use a different OpenAI endpoint when Azure content filter applys ?
|
{
"login": "jiangying000",
"id": 23182033,
"node_id": "MDQ6VXNlcjIzMTgyMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/23182033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiangying000",
"html_url": "https://github.com/jiangying000",
"followers_url": "https://api.github.com/users/jiangying000/followers",
"following_url": "https://api.github.com/users/jiangying000/following{/other_user}",
"gists_url": "https://api.github.com/users/jiangying000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jiangying000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jiangying000/subscriptions",
"organizations_url": "https://api.github.com/users/jiangying000/orgs",
"repos_url": "https://api.github.com/users/jiangying000/repos",
"events_url": "https://api.github.com/users/jiangying000/events{/privacy}",
"received_events_url": "https://api.github.com/users/jiangying000/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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-11-23T00:47:25 | 2023-11-24T12:07:04 | null |
CONTRIBUTOR
| null |
### Feature request
When I receive empty text from the Azure content filter, I need to temporarily switch to OpenAI and try again to get an answer.
How can I achieve this functionality?
### Motivation
Error handling for prod. High availability
### Your contribution
pr
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13757/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13756
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13756/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13756/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13756/events
|
https://github.com/langchain-ai/langchain/pull/13756
| 2,007,310,064 |
PR_kwDOIPDwls5gLqZP
| 13,756 |
refactor: Reduce duplicate code of import openai
|
{
"login": "chyroc",
"id": 15604894,
"node_id": "MDQ6VXNlcjE1NjA0ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/15604894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chyroc",
"html_url": "https://github.com/chyroc",
"followers_url": "https://api.github.com/users/chyroc/followers",
"following_url": "https://api.github.com/users/chyroc/following{/other_user}",
"gists_url": "https://api.github.com/users/chyroc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chyroc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chyroc/subscriptions",
"organizations_url": "https://api.github.com/users/chyroc/orgs",
"repos_url": "https://api.github.com/users/chyroc/repos",
"events_url": "https://api.github.com/users/chyroc/events{/privacy}",
"received_events_url": "https://api.github.com/users/chyroc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-23T00:38:19 | 2023-12-23T02:15:52 | 2023-12-23T02:15:52 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
use `import_openai` to import openai, remove duplicate code of import
and There are subtle differences in the import code in different places
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13756/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13756",
"html_url": "https://github.com/langchain-ai/langchain/pull/13756",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13756.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13756.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13755
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13755/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13755/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13755/events
|
https://github.com/langchain-ai/langchain/issues/13755
| 2,007,263,917 |
I_kwDOIPDwls53pGqt
| 13,755 |
MessageHistory type field serialized twice twice
|
{
"login": "shaul75",
"id": 50571259,
"node_id": "MDQ6VXNlcjUwNTcxMjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/50571259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaul75",
"html_url": "https://github.com/shaul75",
"followers_url": "https://api.github.com/users/shaul75/followers",
"following_url": "https://api.github.com/users/shaul75/following{/other_user}",
"gists_url": "https://api.github.com/users/shaul75/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shaul75/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shaul75/subscriptions",
"organizations_url": "https://api.github.com/users/shaul75/orgs",
"repos_url": "https://api.github.com/users/shaul75/repos",
"events_url": "https://api.github.com/users/shaul75/events{/privacy}",
"received_events_url": "https://api.github.com/users/shaul75/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"
},
{
"id": 5955630415,
"node_id": "LA_kwDOIPDwls8AAAABYvu1Tw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis",
"name": "integration: redis",
"color": "F9D0C4",
"default": false,
"description": "Any integration that uses Redis"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T23:55:16 | 2023-11-22T23:58:07 | null |
NONE
| null |
```python
from langchain.memory import RedisChatMessageHistory
history = RedisChatMessageHistory("foo")
history.add_user_message("hi!")
history.add_ai_message("whats up?")
```
{**<ins>"type": "human"**</ins>, "data": {"content": "hi!", "additional_kwargs": {}, <ins>**"type": "human"**</ins>, "example": false}}
I suspect it's a bug in the serialization or does it serve any purpose being in that structure with a duplicate k/v?
https://github.com/langchain-ai/langchain/blob/163bf165ed2d6ae453aad1bca4ed56814d81bf5b/libs/core/langchain_core/messages/base.py#L113C1-L115C1
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13755/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13754
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13754/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13754/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13754/events
|
https://github.com/langchain-ai/langchain/pull/13754
| 2,007,263,534 |
PR_kwDOIPDwls5gLj4p
| 13,754 |
IMPROVEMENT: filter global warnings properly
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T23:54:53 | 2023-11-24T07:51:35 | 2023-11-23T00:26:38 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13754/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13754",
"html_url": "https://github.com/langchain-ai/langchain/pull/13754",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13754.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13754.patch",
"merged_at": "2023-11-23T00:26:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13753
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13753/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13753/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13753/events
|
https://github.com/langchain-ai/langchain/pull/13753
| 2,007,247,588 |
PR_kwDOIPDwls5gLgdq
| 13,753 |
rm master condition
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T23:30:27 | 2023-11-24T08:04:18 | 2023-11-23T00:59:50 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13753/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13753",
"html_url": "https://github.com/langchain-ai/langchain/pull/13753",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13753.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13753.patch",
"merged_at": "2023-11-23T00:59:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13752
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13752/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13752/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13752/events
|
https://github.com/langchain-ai/langchain/pull/13752
| 2,007,229,430 |
PR_kwDOIPDwls5gLcaT
| 13,752 |
Bagatur/patch 0.0.340
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5955630415,
"node_id": "LA_kwDOIPDwls8AAAABYvu1Tw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis",
"name": "integration: redis",
"color": "F9D0C4",
"default": false,
"description": "Any integration that uses Redis"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T23:11:54 | 2023-11-23T01:19:51 | 2023-11-23T01:19:51 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13752/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13752",
"html_url": "https://github.com/langchain-ai/langchain/pull/13752",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13752.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13752.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13751
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13751/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13751/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13751/events
|
https://github.com/langchain-ai/langchain/issues/13751
| 2,007,226,855 |
I_kwDOIPDwls53o9nn
| 13,751 |
GenericLoader.from_filesystem "exclude" not working
|
{
"login": "giancarloerra",
"id": 105157948,
"node_id": "U_kgDOBkSVPA",
"avatar_url": "https://avatars.githubusercontent.com/u/105157948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/giancarloerra",
"html_url": "https://github.com/giancarloerra",
"followers_url": "https://api.github.com/users/giancarloerra/followers",
"following_url": "https://api.github.com/users/giancarloerra/following{/other_user}",
"gists_url": "https://api.github.com/users/giancarloerra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/giancarloerra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/giancarloerra/subscriptions",
"organizations_url": "https://api.github.com/users/giancarloerra/orgs",
"repos_url": "https://api.github.com/users/giancarloerra/repos",
"events_url": "https://api.github.com/users/giancarloerra/events{/privacy}",
"received_events_url": "https://api.github.com/users/giancarloerra/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 | 4 | 2023-11-22T23:08:00 | 2023-11-27T18:43:20 | null |
NONE
| null |
### System Info
Python 3.9.6, Langchain 0.0.334
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm experimenting with some simple code to load a local repository to test CodeLlama, but the "exclude" in GenericLoader.from_filesystem seems not working:
`from langchain.document_loaders.generic import GenericLoader
from langchain.document_loaders.parsers import LanguageParser
from langchain.text_splitter import Language
repo_path = "../../my/laravel/project/"
# Load
loader = GenericLoader.from_filesystem(
repo_path,
glob="**/*",
suffixes=[".php"],
parser=LanguageParser(
parser_threshold=2000,
),
exclude=["../../my/laravel/project/vendor/", "../../my/laravel/project/node_modules/", "../../my/laravel/project/storage/", "../../my/laravel/project/public/", "../../my/laravel/project/tests/", "../../my/laravel/project/resources/"]
)
documents = loader.load()
len(documents)
`
Am I missing something obvious? I cannot find any example...with or without the exclude, the length of docs is the same (and if I just print "documents" I see files in the folders I excluded).
### Expected behavior
I would expect that listing subpaths from the main path then these would be excluded.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13751/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13750
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13750/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13750/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13750/events
|
https://github.com/langchain-ai/langchain/issues/13750
| 2,007,218,514 |
I_kwDOIPDwls53o7lS
| 13,750 |
Random Application Lockdown on ECS Fargate with Langchain and FastAPI
|
{
"login": "Santiagowwi",
"id": 122487744,
"node_id": "U_kgDOB00DwA",
"avatar_url": "https://avatars.githubusercontent.com/u/122487744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Santiagowwi",
"html_url": "https://github.com/Santiagowwi",
"followers_url": "https://api.github.com/users/Santiagowwi/followers",
"following_url": "https://api.github.com/users/Santiagowwi/following{/other_user}",
"gists_url": "https://api.github.com/users/Santiagowwi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Santiagowwi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Santiagowwi/subscriptions",
"organizations_url": "https://api.github.com/users/Santiagowwi/orgs",
"repos_url": "https://api.github.com/users/Santiagowwi/repos",
"events_url": "https://api.github.com/users/Santiagowwi/events{/privacy}",
"received_events_url": "https://api.github.com/users/Santiagowwi/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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-22T22:56:07 | 2023-11-22T23:17:05 | null |
NONE
| null |
### System Info
**Operating system/architecture:**
Linux/X86_64
**CPU | Memory**
8 vCPU | 16 GB
**Platform version**
1.4.0
**Launch type**
FARGATE
**Project libraries:**
snowflake-sqlalchemy==1.4.6
python-dotenv==0.21.0
openai==0.27.2
langchain==0.0.336
pandas==2.0.2
boto3==1.26.144
colorama==0.4.6
fastapi==0.100.1
pydantic~=1.10.8
pytest~=7.1.2
uvicorn~=0.17.6
cassio==0.1.3
sentry-sdk==1.29.2
langsmith==0.0.66
numpy==1.24.3
SQLAlchemy==1.4.46
psycopg2-binary==2.9.7
tiktoken==0.4.0
httpx==0.24.1
unidecode==1.3.7
transformers==4.28.0
transformers[torch]
tensorflow==2.12.1
keras==2.12.0
**Python version of the project:**
python:3.10-slim-bullseye
### Who can help?
_No response_
### 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
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
It's quite challenging to replicate the error as it appears to be rather random. After a few requests, FastAPI stops responding following the OPTIONS query of the endpoint. This issue seems to be attributable to one of the libraries in use. I observed this error after a code refactoring in the project, moving from legacy chains to chains with LCEL. Since this refactoring, the ECS system has exhibited peculiar behavior. Extensive debugging has been conducted throughout the codebase, yet there are no indications of the error's origin. It's worth noting that everything functions flawlessly in local emulation, with no occurrence of any unusual errors. The problem arises when the code is deployed to the ECS Fargate instance, and I want to emphasize that this issue did not exist before the aforementioned changes were made.
<img width="996" alt="Captura de pantalla 2023-11-22 a la(s) 5 51 24 p m" src="https://github.com/langchain-ai/langchain/assets/122487744/15c12aeb-6016-468d-81de-b31a4204ca78">
### Expected behavior
I need someone to help me with new ways to debug this extremely rare bug, to give me ideas on what to do, what to show from my machine, what can be done, or if it's some incompatibility between the libraries. I haven't been able to pinpoint the specific point where the program stops, and it's proving to be very challenging.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13750/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/13750/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13749
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13749/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13749/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13749/events
|
https://github.com/langchain-ai/langchain/issues/13749
| 2,007,212,254 |
I_kwDOIPDwls53o6De
| 13,749 |
UTF-8 content is not loaded correctly with RecursiveUrlLoader
|
{
"login": "Alejandro-M-Cruz",
"id": 113340373,
"node_id": "U_kgDOBsFv1Q",
"avatar_url": "https://avatars.githubusercontent.com/u/113340373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alejandro-M-Cruz",
"html_url": "https://github.com/Alejandro-M-Cruz",
"followers_url": "https://api.github.com/users/Alejandro-M-Cruz/followers",
"following_url": "https://api.github.com/users/Alejandro-M-Cruz/following{/other_user}",
"gists_url": "https://api.github.com/users/Alejandro-M-Cruz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Alejandro-M-Cruz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Alejandro-M-Cruz/subscriptions",
"organizations_url": "https://api.github.com/users/Alejandro-M-Cruz/orgs",
"repos_url": "https://api.github.com/users/Alejandro-M-Cruz/repos",
"events_url": "https://api.github.com/users/Alejandro-M-Cruz/events{/privacy}",
"received_events_url": "https://api.github.com/users/Alejandro-M-Cruz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T22:47:26 | 2023-11-22T22:51:19 | null |
NONE
| null |
### System Info
Langchain version: 0.0.339
Python version: 3.11.5
Running on Ubuntu 22.04.3 LTS via WSL 2
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Running the steps described in the guide for RecursiveUrlLoader: [https://python.langchain.com/docs/integrations/document_loaders/recursive_url](url)
2. Loading some content with UTF-8 encoding, the Python docs for example: [https://docs.python.org/3/](url)
Exact code used:
```python
from pprint import pprint
from langchain.document_loaders import RecursiveUrlLoader
from bs4 import BeautifulSoup
def load_python_docs():
url = "https://docs.python.org/3/"
loader = RecursiveUrlLoader(
url=url, max_depth=2, extractor=lambda x: BeautifulSoup(x, "html.parser").text
)
return loader.load()
pprint([doc.metadata for doc in load_python_docs()])
```
3. If you print the loaded documents, you should be able to see these kind of encoding issues:
```
{'description': 'Editor, Adam Turner,. This article explains the new features '
'in Python 3.12, compared to 3.11. Python 3.12 was released '
'on October 2, 2023. For full details, see the changelog. '
'Summary â\x80\x93 Release hi...',
'language': None,
'source': 'https://docs.python.org/3/whatsnew/3.12.html',
'title': 'Whatâ\x80\x99s New In Python 3.12 — Python 3.12.0 documentation'}
```
### Expected behavior
Should load content correctly, using the right encoding to parse the document. I suppose the issue is due to the fact that the `_get_child_links_recursive` method is calling `requests.get` and not specifying the encoding for the response. A quick fix that worked for me was to include the following line, just after the GET request: `response.encoding = response.apparent_encoding`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13749/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13748
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13748/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13748/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13748/events
|
https://github.com/langchain-ai/langchain/pull/13748
| 2,007,206,054 |
PR_kwDOIPDwls5gLXbH
| 13,748 |
docs: top menu
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T22:38:52 | 2023-11-29T01:21:46 | 2023-11-29T00:35:38 |
COLLABORATOR
| null |
Addressed this issue with the top menu: It allocates too much space. If the screen is small, then the top menu items are split into two lines and look unreadable.
Another issue is with several top menu items: "Chat our docs" and "Also by LangChain". They are compound of several words which also hurts readability. The top menu items should be 1-word size.
Updates:
- "Chat our docs" -> "Chat" (the meaning is clean after clicking/opening the item)
- "Also by LangChain" -> "🦜️🔗"
- "🦜️🔗" moved before "Chat" item. This new item is partially copied from the first left item, the "🦜️🔗 LangChain". This design (with two 🦜️🔗 elements, visually splits the top menu into two parts. The first item in each part holds the 🦜️🔗 symbols and, when we click the second 🦜️🔗 item, it opens the drop-down menu. So, we've got two visually similar parts, which visually split the top menu on the right side: the LangChain Docs (and Doc-related items) and the lift side: other LangChain.ai (company) products/docs.
CC @efriis
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13748/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13748",
"html_url": "https://github.com/langchain-ai/langchain/pull/13748",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13748.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13748.patch",
"merged_at": "2023-11-29T00:35:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13747
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13747/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13747/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13747/events
|
https://github.com/langchain-ai/langchain/pull/13747
| 2,007,197,546 |
PR_kwDOIPDwls5gLVmh
| 13,747 |
DOCS: core editable dep api refs
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T22:27:58 | 2023-11-24T08:11:37 | 2023-11-22T22:33:30 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13747/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13747",
"html_url": "https://github.com/langchain-ai/langchain/pull/13747",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13747.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13747.patch",
"merged_at": "2023-11-22T22:33:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13746
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13746/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13746/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13746/events
|
https://github.com/langchain-ai/langchain/pull/13746
| 2,007,188,566 |
PR_kwDOIPDwls5gLToE
| 13,746 |
RELEASE: 0.0.339rc1
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T22:18:33 | 2023-11-22T22:29:51 | 2023-11-22T22:29:50 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13746/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13746",
"html_url": "https://github.com/langchain-ai/langchain/pull/13746",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13746.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13746.patch",
"merged_at": "2023-11-22T22:29:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13745
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13745/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13745/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13745/events
|
https://github.com/langchain-ai/langchain/pull/13745
| 2,007,161,755 |
PR_kwDOIPDwls5gLNvd
| 13,745 |
Bagatur/bump core 4
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T21:49:58 | 2023-11-22T21:57:29 | 2023-11-22T21:57:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13745/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13745",
"html_url": "https://github.com/langchain-ai/langchain/pull/13745",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13745.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13745.patch",
"merged_at": "2023-11-22T21:57:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13744
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13744/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13744/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13744/events
|
https://github.com/langchain-ai/langchain/pull/13744
| 2,007,078,224 |
PR_kwDOIPDwls5gK7Sh
| 13,744 |
DOCS: fix core api ref build
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T20:33:49 | 2023-11-24T08:02:18 | 2023-11-22T20:42:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13744/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13744",
"html_url": "https://github.com/langchain-ai/langchain/pull/13744",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13744.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13744.patch",
"merged_at": "2023-11-22T20:42:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13743
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13743/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13743/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13743/events
|
https://github.com/langchain-ai/langchain/issues/13743
| 2,007,028,867 |
I_kwDOIPDwls53oNSD
| 13,743 |
Langchain-cli Does not install a usable binary.
|
{
"login": "Sankarshan-Mudkavi",
"id": 1841654,
"node_id": "MDQ6VXNlcjE4NDE2NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1841654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sankarshan-Mudkavi",
"html_url": "https://github.com/Sankarshan-Mudkavi",
"followers_url": "https://api.github.com/users/Sankarshan-Mudkavi/followers",
"following_url": "https://api.github.com/users/Sankarshan-Mudkavi/following{/other_user}",
"gists_url": "https://api.github.com/users/Sankarshan-Mudkavi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sankarshan-Mudkavi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sankarshan-Mudkavi/subscriptions",
"organizations_url": "https://api.github.com/users/Sankarshan-Mudkavi/orgs",
"repos_url": "https://api.github.com/users/Sankarshan-Mudkavi/repos",
"events_url": "https://api.github.com/users/Sankarshan-Mudkavi/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sankarshan-Mudkavi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 6 | 2023-11-22T19:54:42 | 2023-12-04T02:56:26 | 2023-12-04T02:56:26 |
NONE
| null |
### System Info
Langchain version: 0.0.339
Laangserve version: 0.0.30
Langchain-cli version: 0.0.19
Running on apple silicone: MacBook Pro M3 max using a zsh shell.
### Who can help?
@erick
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [x] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Running the installation steps in the guide with
`pip3 install -U langchain-cli`
And then trying to run `langchain app` just results in zsh responding with `zsh: command not found: langchain`.
### Expected behavior
Running the installation steps in the guide with
`pip3 install -U langchain-cli`
Should allow me to run
`langchain app new my-app`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13743/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13742
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13742/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13742/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13742/events
|
https://github.com/langchain-ai/langchain/pull/13742
| 2,007,006,606 |
PR_kwDOIPDwls5gKrj4
| 13,742 |
INFRA: run LC ci after core changes
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T19:35:59 | 2023-11-22T21:38:50 | 2023-11-22T21:38:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13742/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13742",
"html_url": "https://github.com/langchain-ai/langchain/pull/13742",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13742.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13742.patch",
"merged_at": "2023-11-22T21:38:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13741
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13741/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13741/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13741/events
|
https://github.com/langchain-ai/langchain/pull/13741
| 2,007,006,235 |
PR_kwDOIPDwls5gKrew
| 13,741 |
docs: moved up Chains menu
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 3 | 2023-11-22T19:35:39 | 2023-11-29T03:07:59 | 2023-11-29T03:07:58 |
COLLABORATOR
| null |
`Chains` now is inside `More` menu. It is the most important module of LangChain, no? The whole package is "Lang CHAIN" and the Chains are hidden somewhere, no kidding.
`Chains` menu is moved up in the top menu hierarchy.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13741/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13741",
"html_url": "https://github.com/langchain-ai/langchain/pull/13741",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13741.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13741.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13740
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13740/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13740/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13740/events
|
https://github.com/langchain-ai/langchain/pull/13740
| 2,006,975,377 |
PR_kwDOIPDwls5gKkmW
| 13,740 |
docs[patch]: link to LangSmith docs
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T19:15:11 | 2023-11-29T01:19:26 | 2023-11-29T00:44:45 |
COLLABORATOR
| null |
It happens that there is no link to the LangSmith Docs from the LangChain Docs.
Added this link
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13740/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13740/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13740",
"html_url": "https://github.com/langchain-ai/langchain/pull/13740",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13740.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13740.patch",
"merged_at": "2023-11-29T00:44:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13739
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13739/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13739/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13739/events
|
https://github.com/langchain-ai/langchain/pull/13739
| 2,006,973,865 |
PR_kwDOIPDwls5gKkRa
| 13,739 |
[wip] BUGFIX: backwards compatible core namespacing
|
{
"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": 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": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T19:13:51 | 2023-11-23T00:34:56 | 2023-11-23T00:34:56 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13739/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13739",
"html_url": "https://github.com/langchain-ai/langchain/pull/13739",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13739.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13739.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13738
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13738/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13738/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13738/events
|
https://github.com/langchain-ai/langchain/pull/13738
| 2,006,913,897 |
PR_kwDOIPDwls5gKXCm
| 13,738 |
Keep lc_id the same in core
|
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T18:38:30 | 2023-11-29T00:41:37 | 2023-11-29T00:41:37 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13738/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13738",
"html_url": "https://github.com/langchain-ai/langchain/pull/13738",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13738.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13738.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13737
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13737/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13737/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13737/events
|
https://github.com/langchain-ai/langchain/pull/13737
| 2,006,899,111 |
PR_kwDOIPDwls5gKTvt
| 13,737 |
DOCS: added missing imports (#13736)
|
{
"login": "Glueish",
"id": 87642985,
"node_id": "MDQ6VXNlcjg3NjQyOTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/87642985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Glueish",
"html_url": "https://github.com/Glueish",
"followers_url": "https://api.github.com/users/Glueish/followers",
"following_url": "https://api.github.com/users/Glueish/following{/other_user}",
"gists_url": "https://api.github.com/users/Glueish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Glueish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Glueish/subscriptions",
"organizations_url": "https://api.github.com/users/Glueish/orgs",
"repos_url": "https://api.github.com/users/Glueish/repos",
"events_url": "https://api.github.com/users/Glueish/events{/privacy}",
"received_events_url": "https://api.github.com/users/Glueish/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T18:28:26 | 2023-11-29T03:42:44 | 2023-11-29T03:42:43 |
CONTRIBUTOR
| null |
- **Description:** Fixed missing imports in docs
- **Issue:** [#13736](https://github.com/langchain-ai/langchain/issues/13736)
- **Dependencies:** N/A
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13737/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13737/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13737",
"html_url": "https://github.com/langchain-ai/langchain/pull/13737",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13737.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13737.patch",
"merged_at": "2023-11-29T03:42:43"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13736
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13736/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13736/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13736/events
|
https://github.com/langchain-ai/langchain/issues/13736
| 2,006,867,499 |
I_kwDOIPDwls53nl4r
| 13,736 |
DOC: missing imports in "Types of MessagePromptTemplate"
|
{
"login": "Glueish",
"id": 87642985,
"node_id": "MDQ6VXNlcjg3NjQyOTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/87642985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Glueish",
"html_url": "https://github.com/Glueish",
"followers_url": "https://api.github.com/users/Glueish/followers",
"following_url": "https://api.github.com/users/Glueish/following{/other_user}",
"gists_url": "https://api.github.com/users/Glueish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Glueish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Glueish/subscriptions",
"organizations_url": "https://api.github.com/users/Glueish/orgs",
"repos_url": "https://api.github.com/users/Glueish/repos",
"events_url": "https://api.github.com/users/Glueish/events{/privacy}",
"received_events_url": "https://api.github.com/users/Glueish/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T18:08:15 | 2023-11-22T18:08:38 | null |
CONTRIBUTOR
| null |
### Issue with current documentation:
Some langchain objects are used but not imported in [Types of MessagePromptTemplate](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/msg_prompt_templates) documentation.
Specifically, it lacks the following:
```python
from langchain.prompts import HumanMessagePromptTemplate
from langchain.prompts import ChatPromptTemplate
```
and
```python
from langchain.schema.messages import HumanMessage, AIMessage
```
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13736/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13735
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13735/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13735/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13735/events
|
https://github.com/langchain-ai/langchain/pull/13735
| 2,006,849,666 |
PR_kwDOIPDwls5gKIqE
| 13,735 |
Updated langchain stack svg
|
{
"login": "bracesproul",
"id": 46789226,
"node_id": "MDQ6VXNlcjQ2Nzg5MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/46789226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bracesproul",
"html_url": "https://github.com/bracesproul",
"followers_url": "https://api.github.com/users/bracesproul/followers",
"following_url": "https://api.github.com/users/bracesproul/following{/other_user}",
"gists_url": "https://api.github.com/users/bracesproul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bracesproul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bracesproul/subscriptions",
"organizations_url": "https://api.github.com/users/bracesproul/orgs",
"repos_url": "https://api.github.com/users/bracesproul/repos",
"events_url": "https://api.github.com/users/bracesproul/events{/privacy}",
"received_events_url": "https://api.github.com/users/bracesproul/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T18:00:35 | 2023-11-22T18:36:44 | null |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13735/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13735",
"html_url": "https://github.com/langchain-ai/langchain/pull/13735",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13735.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13735.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13734
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13734/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13734/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13734/events
|
https://github.com/langchain-ai/langchain/issues/13734
| 2,006,847,641 |
I_kwDOIPDwls53nhCZ
| 13,734 |
Issue: <Handling Python Package Conflicts in Langchain When Integrating External APIs for Agent Tools>
|
{
"login": "qingpowuwu",
"id": 140480316,
"node_id": "U_kgDOCF-PPA",
"avatar_url": "https://avatars.githubusercontent.com/u/140480316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qingpowuwu",
"html_url": "https://github.com/qingpowuwu",
"followers_url": "https://api.github.com/users/qingpowuwu/followers",
"following_url": "https://api.github.com/users/qingpowuwu/following{/other_user}",
"gists_url": "https://api.github.com/users/qingpowuwu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qingpowuwu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qingpowuwu/subscriptions",
"organizations_url": "https://api.github.com/users/qingpowuwu/orgs",
"repos_url": "https://api.github.com/users/qingpowuwu/repos",
"events_url": "https://api.github.com/users/qingpowuwu/events{/privacy}",
"received_events_url": "https://api.github.com/users/qingpowuwu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T17:59:25 | 2023-11-22T18:10:12 | null |
NONE
| null |
### Issue you'd like to raise.
**Description:**
Hi, sir. I am currently developing an Agent for scientific tasks using Langchain. The first tool I intend to integrate is a function for generating a mesh, implemented through the external API `dolfinx`. However, I've encountered a compatibility issue between my Langchain packages and the `dolfinx` package. This seems to be a broader problem related to designing an Agent that leverages diverse external APIs.
The concern here is that as I continue to expand the Agent's capabilities with more tools utilizing various external APIs, I might face additional conflicts. This issue could be a common challenge in the development process of creating Agents with multiple, diverse external integrations. Here's a snippet of the code for reference:
```
python
from mpi4py import MPI
from dolfinx import mesh, io
@tool("create_mesh")
def create_mesh_tool(text: str):
"""Returns a dolfinx.mesh.Mesh object, useful for generating meshes for PDEs.
The input should always be a string."""
domain = mesh.create_unit_square(MPI.COMM_WORLD, 8, 8, mesh.CellType.quadrilateral)
return domain
tools = [make_random_num, create_mesh_tool]
```
I am seeking advice or solutions on how to effectively manage and resolve these package conflicts within the Langchain framework, particularly when integrating tools that depend on external APIs like dolfinx.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13734/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13733
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13733/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13733/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13733/events
|
https://github.com/langchain-ai/langchain/pull/13733
| 2,006,838,268 |
PR_kwDOIPDwls5gKGI7
| 13,733 |
REFACTOR: combine core documents files
|
{
"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": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T17:52:05 | 2023-11-22T18:10:27 | 2023-11-22T18:10:26 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13733/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/13733/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13733",
"html_url": "https://github.com/langchain-ai/langchain/pull/13733",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13733.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13733.patch",
"merged_at": "2023-11-22T18:10:26"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13732
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13732/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13732/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13732/events
|
https://github.com/langchain-ai/langchain/pull/13732
| 2,006,771,208 |
PR_kwDOIPDwls5gJ3V2
| 13,732 |
Add Nasa tool
|
{
"login": "matiasjacob25",
"id": 88005863,
"node_id": "MDQ6VXNlcjg4MDA1ODYz",
"avatar_url": "https://avatars.githubusercontent.com/u/88005863?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matiasjacob25",
"html_url": "https://github.com/matiasjacob25",
"followers_url": "https://api.github.com/users/matiasjacob25/followers",
"following_url": "https://api.github.com/users/matiasjacob25/following{/other_user}",
"gists_url": "https://api.github.com/users/matiasjacob25/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matiasjacob25/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matiasjacob25/subscriptions",
"organizations_url": "https://api.github.com/users/matiasjacob25/orgs",
"repos_url": "https://api.github.com/users/matiasjacob25/repos",
"events_url": "https://api.github.com/users/matiasjacob25/events{/privacy}",
"received_events_url": "https://api.github.com/users/matiasjacob25/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T17:07:56 | 2023-12-04T20:37:11 | 2023-12-04T20:37:11 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
**Description:**
This PR adds a new NASA toolkit that provides users access to the NASA's Image and Video Library API, with potential to expand and include other available NASA APIs in the future.
Integration tests and an example notebook showing the toolkit's use have been added.
Who can review?
@baskaryan , @eyurtsev , @hwchase17
**We also ran the following checks:**
make format passed ✅
make lint passed ✅
Files touched by this PR passed the linter ✅
passed integration tests via local jupyter notebook testing on NasaAPIWrapper ✅
make spell_check passed ✅
The original issue that this ticket addresses can be found here: https://github.com/langchain-ai/langchain/issues/11787
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13732/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13732",
"html_url": "https://github.com/langchain-ai/langchain/pull/13732",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13732.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13732.patch",
"merged_at": "2023-12-04T20:37:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13731
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13731/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13731/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13731/events
|
https://github.com/langchain-ai/langchain/pull/13731
| 2,006,717,729 |
PR_kwDOIPDwls5gJrpU
| 13,731 |
DB-bound (or, "Convertor-based") prompt templates + Cassandra and Feast implementation
|
{
"login": "hemidactylus",
"id": 14221764,
"node_id": "MDQ6VXNlcjE0MjIxNzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/14221764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hemidactylus",
"html_url": "https://github.com/hemidactylus",
"followers_url": "https://api.github.com/users/hemidactylus/followers",
"following_url": "https://api.github.com/users/hemidactylus/following{/other_user}",
"gists_url": "https://api.github.com/users/hemidactylus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hemidactylus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hemidactylus/subscriptions",
"organizations_url": "https://api.github.com/users/hemidactylus/orgs",
"repos_url": "https://api.github.com/users/hemidactylus/repos",
"events_url": "https://api.github.com/users/hemidactylus/events{/privacy}",
"received_events_url": "https://api.github.com/users/hemidactylus/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T16:34:24 | 2023-12-08T01:02:26 | null |
CONTRIBUTOR
| null |
This PR adds a new (sub)type of Prompt Template to reduce boilerplate around "retrieving from a DB to fill a prompt".
A generic subclass of `StringPromptTemplate` provides the common behaviour, which is then further subclassed as a Cassandra-specific and a Feast-specific ready-to-use classes. The accompanying notebook/doc well shows rationale and usage and points to the way for a developer to expand with other DB-specific implementations.
A picture to summarize the decoupling of inputs / template variables with a DB-lookup acting as a bridge:

#### Remarks
- I could not test building the docs due to a `No docs found in "templates"` from Docusaurus - might be related to the recent langchain/langchain_core refactor. Sorry about that.
- The notebook includes the same image I left here; however it is linked from `user-images.githubusercontent.com` - I am not sure of the right place for those. I'd ask for advice on this point.
I'd like to draw @eyurtsev 's attention to this PR - Thank you very much!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13731/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13731/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13731",
"html_url": "https://github.com/langchain-ai/langchain/pull/13731",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13731.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13731.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13730
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13730/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13730/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13730/events
|
https://github.com/langchain-ai/langchain/issues/13730
| 2,006,686,650 |
I_kwDOIPDwls53m5u6
| 13,730 |
chain input not pass into Python_REPL tool input by '\n'
|
{
"login": "lilong669",
"id": 53218099,
"node_id": "MDQ6VXNlcjUzMjE4MDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/53218099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lilong669",
"html_url": "https://github.com/lilong669",
"followers_url": "https://api.github.com/users/lilong669/followers",
"following_url": "https://api.github.com/users/lilong669/following{/other_user}",
"gists_url": "https://api.github.com/users/lilong669/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lilong669/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lilong669/subscriptions",
"organizations_url": "https://api.github.com/users/lilong669/orgs",
"repos_url": "https://api.github.com/users/lilong669/repos",
"events_url": "https://api.github.com/users/lilong669/events{/privacy}",
"received_events_url": "https://api.github.com/users/lilong669/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-22T16:15:52 | 2023-11-23T03:41:35 | null |
NONE
| null |
### System Info
langchain==0.0.339
windows11
python==3.10
### Who can help?
simple chain with tool code ,but not pass full input to tool cause '\n'
`
model = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, verbose=False, streaming=True)
custom_tool_list = [PythonREPLTool(),#CustomPythonExec()
]
memory = ConversationBufferMemory(memory_key="chat_history")
agent_executor = initialize_agent(
custom_tool_list,
llm=model,
agent=AgentType.CONVERSATIONAL_REACT_DESCRIPTION,
verbose=True,
max_iterations=1,
memory=memory,
early_stopping_method="generate",
agent_kwargs={"prefix": custom_prefix},
handle_parsing_errors="Check your output and make sure it conforms",
agent_executor.run("some prompt")
`
logs:
[chain/end] [1:chain:AgentExecutor > 2:chain:LLMChain] [4.94s] Exiting Chain run with output:
{
"text": "Thought: Do I need to use a tool? Yes\nAction: Python_REPL\nAction Input: import pandas as pd\ndf = pd.read_csv('./statics/20231123_000614_test.csv')\nline_count = len(df
)\nline_count"
}
[tool/start] [1:chain:AgentExecutor > 4:tool:Python_REPL] Entering Tool run with input:
"import pandas as pd"
2023-11-23 00:06:19 - Python REPL can execute arbitrary code. Use with caution.
[tool/end] [1:chain:AgentExecutor > 4:tool:Python_REPL] [4ms] Exiting Tool run with output:
""
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
[chain/end] [1:chain:AgentExecutor > 2:chain:LLMChain] [4.94s] Exiting Chain run with output:
{
"text": "Thought: Do I need to use a tool? Yes\nAction: Python_REPL\nAction Input: import pandas as pd\ndf = pd.read_csv('./statics/20231123_000614_test.csv')\nline_count = len(df
)\nline_count"
}
[tool/start] [1:chain:AgentExecutor > 4:tool:Python_REPL] Entering Tool run with input:
"import pandas as pd"
2023-11-23 00:06:19 - Python REPL can execute arbitrary code. Use with caution.
[tool/end] [1:chain:AgentExecutor > 4:tool:Python_REPL] [4ms] Exiting Tool run with output:
""
### Expected behavior
pass full input string to tool
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13730/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13728
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13728/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13728/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13728/events
|
https://github.com/langchain-ai/langchain/issues/13728
| 2,006,669,669 |
I_kwDOIPDwls53m1ll
| 13,728 |
Issue: Error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever`
|
{
"login": "harsh020",
"id": 39561084,
"node_id": "MDQ6VXNlcjM5NTYxMDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/39561084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harsh020",
"html_url": "https://github.com/harsh020",
"followers_url": "https://api.github.com/users/harsh020/followers",
"following_url": "https://api.github.com/users/harsh020/following{/other_user}",
"gists_url": "https://api.github.com/users/harsh020/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harsh020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harsh020/subscriptions",
"organizations_url": "https://api.github.com/users/harsh020/orgs",
"repos_url": "https://api.github.com/users/harsh020/repos",
"events_url": "https://api.github.com/users/harsh020/events{/privacy}",
"received_events_url": "https://api.github.com/users/harsh020/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 3 | 2023-11-22T16:07:12 | 2023-11-24T17:09:20 | 2023-11-24T17:09:20 |
NONE
| null |
### Issue you'd like to raise.
I followed the lecture by Harrison on langchain on deeplearning.ai and when i follow it I am getting error `Got invalid JSON object. Error: Extra data:`when using `SelfQueryRetriever` to `get_relevant_documents`.
Using the following code:
```python
document_content_description = "Lecture notes"
retriever = SelfQueryRetriever.from_llm(
llm=model,
vectorstore=vectordb,
metadata_field_info=metadata_field_info,
document_contents=document_content_description,
verbose=True,
handle_parsing_errors=True,
)
docs = retriever.get_relevant_documents(question)
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13728/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13727
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13727/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13727/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13727/events
|
https://github.com/langchain-ai/langchain/pull/13727
| 2,006,667,343 |
PR_kwDOIPDwls5gJgkN
| 13,727 |
Tqdm while waiting
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T16:06:17 | 2023-12-01T17:26:22 | 2023-12-01T17:26:22 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13727/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13727/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13727",
"html_url": "https://github.com/langchain-ai/langchain/pull/13727",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13727.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13727.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13726
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13726/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13726/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13726/events
|
https://github.com/langchain-ai/langchain/pull/13726
| 2,006,618,922 |
PR_kwDOIPDwls5gJVxw
| 13,726 |
[docs] fix reduce prompt in summarization example
|
{
"login": "cmpadden",
"id": 5807118,
"node_id": "MDQ6VXNlcjU4MDcxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5807118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cmpadden",
"html_url": "https://github.com/cmpadden",
"followers_url": "https://api.github.com/users/cmpadden/followers",
"following_url": "https://api.github.com/users/cmpadden/following{/other_user}",
"gists_url": "https://api.github.com/users/cmpadden/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cmpadden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cmpadden/subscriptions",
"organizations_url": "https://api.github.com/users/cmpadden/orgs",
"repos_url": "https://api.github.com/users/cmpadden/repos",
"events_url": "https://api.github.com/users/cmpadden/events{/privacy}",
"received_events_url": "https://api.github.com/users/cmpadden/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T15:43:56 | 2023-11-29T03:22:42 | 2023-11-29T03:22:42 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
Small fix to _summarization_ example, `reduce_template` should use `{docs}` variable.
Bug likely introduced as following code suggests using `hub.pull("rlm/map-prompt")` instead of defined prompt.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13726/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13726/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13726",
"html_url": "https://github.com/langchain-ai/langchain/pull/13726",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13726.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13726.patch",
"merged_at": "2023-11-29T03:22:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13725
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13725/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13725/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13725/events
|
https://github.com/langchain-ai/langchain/pull/13725
| 2,006,596,477 |
PR_kwDOIPDwls5gJQwu
| 13,725 |
Fix locking
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T15:33:22 | 2023-11-22T15:37:26 | 2023-11-22T15:37:25 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13725/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13725",
"html_url": "https://github.com/langchain-ai/langchain/pull/13725",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13725.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13725.patch",
"merged_at": "2023-11-22T15:37:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13724
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13724/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13724/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13724/events
|
https://github.com/langchain-ai/langchain/pull/13724
| 2,006,558,582 |
PR_kwDOIPDwls5gJIgG
| 13,724 |
Merge branch 'master' into pr/xsa-dev/1
|
{
"login": "xsa-dev",
"id": 16959353,
"node_id": "MDQ6VXNlcjE2OTU5MzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/16959353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xsa-dev",
"html_url": "https://github.com/xsa-dev",
"followers_url": "https://api.github.com/users/xsa-dev/followers",
"following_url": "https://api.github.com/users/xsa-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/xsa-dev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xsa-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xsa-dev/subscriptions",
"organizations_url": "https://api.github.com/users/xsa-dev/orgs",
"repos_url": "https://api.github.com/users/xsa-dev/repos",
"events_url": "https://api.github.com/users/xsa-dev/events{/privacy}",
"received_events_url": "https://api.github.com/users/xsa-dev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T15:13:08 | 2023-11-22T15:24:14 | 2023-11-22T15:21:38 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13724/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13724",
"html_url": "https://github.com/langchain-ai/langchain/pull/13724",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13724.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13724.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13723
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13723/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13723/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13723/events
|
https://github.com/langchain-ai/langchain/issues/13723
| 2,006,525,842 |
I_kwDOIPDwls53mSeS
| 13,723 |
RunnableBranch doesnt stream correctly
|
{
"login": "MateusZ36",
"id": 33990259,
"node_id": "MDQ6VXNlcjMzOTkwMjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/33990259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MateusZ36",
"html_url": "https://github.com/MateusZ36",
"followers_url": "https://api.github.com/users/MateusZ36/followers",
"following_url": "https://api.github.com/users/MateusZ36/following{/other_user}",
"gists_url": "https://api.github.com/users/MateusZ36/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MateusZ36/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MateusZ36/subscriptions",
"organizations_url": "https://api.github.com/users/MateusZ36/orgs",
"repos_url": "https://api.github.com/users/MateusZ36/repos",
"events_url": "https://api.github.com/users/MateusZ36/events{/privacy}",
"received_events_url": "https://api.github.com/users/MateusZ36/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 7 | 2023-11-22T14:57:38 | 2023-12-16T23:54:54 | null |
NONE
| null |
### System Info
LangChain Version: 0.0.339
Platform: Windows 10
Python Version: 3.10.10
### Who can help?
@agol
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [X] Callbacks/Tracing
- [X] Async
### Reproduction
I've implemented this `RunnableBranch` example: https://python.langchain.com/docs/expression_language/how_to/routing
using this `MyCallbackHandler` example: https://python.langchain.com/docs/modules/agents/how_to/streaming_stdout_final_only
For streamming I've used this `streamming` example: https://python.langchain.com/docs/modules/model_io/chat/streaming
the result becomes something like this:
```
##
#Other#
##
(Verse 1)... <the output of the question as a whole, not separated by tokens, generated all at once>
```
### Expected behavior
every single token be surrounded by ##, like this:
```
#token1#
#token2#
...
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13723/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13722
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13722/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13722/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13722/events
|
https://github.com/langchain-ai/langchain/pull/13722
| 2,006,467,848 |
PR_kwDOIPDwls5gI0js
| 13,722 |
fix: MergedDataLoader is compatible with load with parameters such as ConfluenceLoader
|
{
"login": "chyroc",
"id": 15604894,
"node_id": "MDQ6VXNlcjE1NjA0ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/15604894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chyroc",
"html_url": "https://github.com/chyroc",
"followers_url": "https://api.github.com/users/chyroc/followers",
"following_url": "https://api.github.com/users/chyroc/following{/other_user}",
"gists_url": "https://api.github.com/users/chyroc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chyroc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chyroc/subscriptions",
"organizations_url": "https://api.github.com/users/chyroc/orgs",
"repos_url": "https://api.github.com/users/chyroc/repos",
"events_url": "https://api.github.com/users/chyroc/events{/privacy}",
"received_events_url": "https://api.github.com/users/chyroc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 4 | 2023-11-22T14:27:17 | 2023-12-03T22:09:18 | 2023-12-03T22:09:18 |
CONTRIBUTOR
| null |
Replace this entire comment with:
- **Description:** [a description of the change, ](fix: MergedDataLoader is compatible with load with parameters such as ConfluenceLoader)
- **Issue:** https://github.com/langchain-ai/langchain/issues/12923
- **Dependencies:** no
- **Tag maintainer:**
- **Twitter handle:** @chyroc_
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13722/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13722/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13722",
"html_url": "https://github.com/langchain-ai/langchain/pull/13722",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13722.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13722.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13720
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13720/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13720/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13720/events
|
https://github.com/langchain-ai/langchain/pull/13720
| 2,006,302,236 |
PR_kwDOIPDwls5gIPxU
| 13,720 |
Update summarization.ipynb
|
{
"login": "k3ybladewielder",
"id": 50303964,
"node_id": "MDQ6VXNlcjUwMzAzOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/50303964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/k3ybladewielder",
"html_url": "https://github.com/k3ybladewielder",
"followers_url": "https://api.github.com/users/k3ybladewielder/followers",
"following_url": "https://api.github.com/users/k3ybladewielder/following{/other_user}",
"gists_url": "https://api.github.com/users/k3ybladewielder/gists{/gist_id}",
"starred_url": "https://api.github.com/users/k3ybladewielder/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/k3ybladewielder/subscriptions",
"organizations_url": "https://api.github.com/users/k3ybladewielder/orgs",
"repos_url": "https://api.github.com/users/k3ybladewielder/repos",
"events_url": "https://api.github.com/users/k3ybladewielder/events{/privacy}",
"received_events_url": "https://api.github.com/users/k3ybladewielder/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 4 | 2023-11-22T13:05:16 | 2023-11-29T17:43:11 | 2023-11-29T03:21:14 |
NONE
| null |
After testing the example, I saw that the input_variables was docs and not doc_summaries
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13720/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13720/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13720",
"html_url": "https://github.com/langchain-ai/langchain/pull/13720",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13720.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13720.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13719
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13719/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13719/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13719/events
|
https://github.com/langchain-ai/langchain/issues/13719
| 2,006,274,368 |
I_kwDOIPDwls53lVFA
| 13,719 |
get token count for other LLM Models
|
{
"login": "VpkPrasanna",
"id": 30804112,
"node_id": "MDQ6VXNlcjMwODA0MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30804112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VpkPrasanna",
"html_url": "https://github.com/VpkPrasanna",
"followers_url": "https://api.github.com/users/VpkPrasanna/followers",
"following_url": "https://api.github.com/users/VpkPrasanna/following{/other_user}",
"gists_url": "https://api.github.com/users/VpkPrasanna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VpkPrasanna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VpkPrasanna/subscriptions",
"organizations_url": "https://api.github.com/users/VpkPrasanna/orgs",
"repos_url": "https://api.github.com/users/VpkPrasanna/repos",
"events_url": "https://api.github.com/users/VpkPrasanna/events{/privacy}",
"received_events_url": "https://api.github.com/users/VpkPrasanna/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-11-22T12:50:02 | 2023-11-22T13:01:38 | null |
CONTRIBUTOR
| null |
### Feature request
it could be better where i can add a callback to get the total token spend on other LLMS apart from OPENAI ?
### Motivation
since there is a call back for openai why don't we have for other models too just to see how much token is consumed ?
### Your contribution
Happy to contribute to the issue with PR later
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13719/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13719/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13718
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13718/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13718/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13718/events
|
https://github.com/langchain-ai/langchain/pull/13718
| 2,006,231,911 |
PR_kwDOIPDwls5gIAPM
| 13,718 |
Feat: Robocorp Action Server
|
{
"login": "rihardsgravis",
"id": 31288628,
"node_id": "MDQ6VXNlcjMxMjg4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/31288628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rihardsgravis",
"html_url": "https://github.com/rihardsgravis",
"followers_url": "https://api.github.com/users/rihardsgravis/followers",
"following_url": "https://api.github.com/users/rihardsgravis/following{/other_user}",
"gists_url": "https://api.github.com/users/rihardsgravis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rihardsgravis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rihardsgravis/subscriptions",
"organizations_url": "https://api.github.com/users/rihardsgravis/orgs",
"repos_url": "https://api.github.com/users/rihardsgravis/repos",
"events_url": "https://api.github.com/users/rihardsgravis/events{/privacy}",
"received_events_url": "https://api.github.com/users/rihardsgravis/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-11-22T12:25:02 | 2023-11-23T12:43:28 | 2023-11-23T12:43:28 |
CONTRIBUTOR
| null |
[do not merge]
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13718/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13718",
"html_url": "https://github.com/langchain-ai/langchain/pull/13718",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13718.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13718.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13717
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13717/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13717/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13717/events
|
https://github.com/langchain-ai/langchain/issues/13717
| 2,006,180,319 |
I_kwDOIPDwls53k-Hf
| 13,717 |
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
|
{
"login": "Saulti23",
"id": 68811412,
"node_id": "MDQ6VXNlcjY4ODExNDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/68811412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Saulti23",
"html_url": "https://github.com/Saulti23",
"followers_url": "https://api.github.com/users/Saulti23/followers",
"following_url": "https://api.github.com/users/Saulti23/following{/other_user}",
"gists_url": "https://api.github.com/users/Saulti23/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Saulti23/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Saulti23/subscriptions",
"organizations_url": "https://api.github.com/users/Saulti23/orgs",
"repos_url": "https://api.github.com/users/Saulti23/repos",
"events_url": "https://api.github.com/users/Saulti23/events{/privacy}",
"received_events_url": "https://api.github.com/users/Saulti23/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-11-22T11:54:27 | 2023-11-23T08:40:22 | null |
NONE
| null |
### Issue you'd like to raise.
Hi I am running the create_pandas_dataframe_agent agent, and the issue I'm facing is with the call back FinalStreamingStdOutCallbackHandler for some reason when I only have one civ it works fine as soon as I pass through multiple then it doesn't stream the data it just prints it all in one go.
here is my code:
```
def _get_llm(callback):
return OpenAI(
callbacks=[callback],
streaming=True,
temperature=0
)
file_path = ['people-100.csv','organizations-100.csv']
dataframes = [pd.read_csv(path) for path in file_path]
agent = create_pandas_dataframe_agent(
llm = _get_llm(FinalStreamingStdOutCallbackHandler()),
df = dataframes,
# agent_executor_kwargs={"memory": memory},
verbose=False,
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
)
print(agent.run('go in deatil on the explination of the data and give me a statistical list aswell'))
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13717/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13717/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13716
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13716/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13716/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13716/events
|
https://github.com/langchain-ai/langchain/pull/13716
| 2,006,169,490 |
PR_kwDOIPDwls5gHydR
| 13,716 |
feat: Add ERNIE-Bot-8K model support for ErnieBotChat.
|
{
"login": "wangwei1237",
"id": 3480154,
"node_id": "MDQ6VXNlcjM0ODAxNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3480154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wangwei1237",
"html_url": "https://github.com/wangwei1237",
"followers_url": "https://api.github.com/users/wangwei1237/followers",
"following_url": "https://api.github.com/users/wangwei1237/following{/other_user}",
"gists_url": "https://api.github.com/users/wangwei1237/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wangwei1237/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wangwei1237/subscriptions",
"organizations_url": "https://api.github.com/users/wangwei1237/orgs",
"repos_url": "https://api.github.com/users/wangwei1237/repos",
"events_url": "https://api.github.com/users/wangwei1237/events{/privacy}",
"received_events_url": "https://api.github.com/users/wangwei1237/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T11:47:38 | 2023-11-29T03:22:24 | 2023-11-29T03:22:23 |
CONTRIBUTOR
| null |
- **Description:** According to the document https://cloud.baidu.com/doc/WENXINWORKSHOP/s/6lp69is2a, add ERNIE-Bot-8K model support for ErnieBotChat.
- **Dependencies:** Before using the ERNIE-Bot-8K, you should have the model's access authority.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13716/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13716",
"html_url": "https://github.com/langchain-ai/langchain/pull/13716",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13716.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13716.patch",
"merged_at": "2023-11-29T03:22:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13715
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13715/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13715/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13715/events
|
https://github.com/langchain-ai/langchain/pull/13715
| 2,006,088,794 |
PR_kwDOIPDwls5gHghP
| 13,715 |
FIX #13709 rename xml.py-> xml_parser.py
|
{
"login": "shine10076",
"id": 38824616,
"node_id": "MDQ6VXNlcjM4ODI0NjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/38824616?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shine10076",
"html_url": "https://github.com/shine10076",
"followers_url": "https://api.github.com/users/shine10076/followers",
"following_url": "https://api.github.com/users/shine10076/following{/other_user}",
"gists_url": "https://api.github.com/users/shine10076/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shine10076/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shine10076/subscriptions",
"organizations_url": "https://api.github.com/users/shine10076/orgs",
"repos_url": "https://api.github.com/users/shine10076/repos",
"events_url": "https://api.github.com/users/shine10076/events{/privacy}",
"received_events_url": "https://api.github.com/users/shine10076/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T11:02:37 | 2023-11-22T11:21:24 | null |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
- **Description:** rename langchain/output_parsers/xml.py -> langchain/output_parsers/xml_parser.py, fix xml.py and the imported module xml.etree.ElementTree as ET is causing the ModuleNotFoundError
- **Issue:** [ModuleNotFoundError](https://github.com/langchain-ai/langchain/issues/13709),
- - **Dependencies:** no dependencies change,
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13715/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13715",
"html_url": "https://github.com/langchain-ai/langchain/pull/13715",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13715.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13715.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13714
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13714/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13714/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13714/events
|
https://github.com/langchain-ai/langchain/pull/13714
| 2,006,029,378 |
PR_kwDOIPDwls5gHTnb
| 13,714 |
Add option to prefix config keys in configurable_alts
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T10:29:09 | 2023-11-27T15:25:18 | 2023-11-27T15:25:17 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13714/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13714",
"html_url": "https://github.com/langchain-ai/langchain/pull/13714",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13714.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13714.patch",
"merged_at": "2023-11-27T15:25:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13712
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13712/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13712/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13712/events
|
https://github.com/langchain-ai/langchain/pull/13712
| 2,005,891,781 |
PR_kwDOIPDwls5gG1a8
| 13,712 |
info sql tool remove whitespaces in table names
|
{
"login": "dudub12",
"id": 70527423,
"node_id": "MDQ6VXNlcjcwNTI3NDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/70527423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dudub12",
"html_url": "https://github.com/dudub12",
"followers_url": "https://api.github.com/users/dudub12/followers",
"following_url": "https://api.github.com/users/dudub12/following{/other_user}",
"gists_url": "https://api.github.com/users/dudub12/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dudub12/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dudub12/subscriptions",
"organizations_url": "https://api.github.com/users/dudub12/orgs",
"repos_url": "https://api.github.com/users/dudub12/repos",
"events_url": "https://api.github.com/users/dudub12/events{/privacy}",
"received_events_url": "https://api.github.com/users/dudub12/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T09:13:37 | 2023-12-06T04:07:39 | 2023-12-06T04:07:38 |
CONTRIBUTOR
| null |
Remove whitespaces from the input of the ListSQLDatabaseTool for better support.
for example, the input "table1,table2,table3" will throw an exception whiteout the change although it's a valid input.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13712/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13712/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13712",
"html_url": "https://github.com/langchain-ai/langchain/pull/13712",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13712.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13712.patch",
"merged_at": "2023-12-06T04:07:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13711
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13711/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13711/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13711/events
|
https://github.com/langchain-ai/langchain/issues/13711
| 2,005,863,753 |
I_kwDOIPDwls53jw1J
| 13,711 |
Agent as tool gives wrong result ( pandas agent)
|
{
"login": "Chetan8000",
"id": 53088237,
"node_id": "MDQ6VXNlcjUzMDg4MjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/53088237?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chetan8000",
"html_url": "https://github.com/Chetan8000",
"followers_url": "https://api.github.com/users/Chetan8000/followers",
"following_url": "https://api.github.com/users/Chetan8000/following{/other_user}",
"gists_url": "https://api.github.com/users/Chetan8000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Chetan8000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Chetan8000/subscriptions",
"organizations_url": "https://api.github.com/users/Chetan8000/orgs",
"repos_url": "https://api.github.com/users/Chetan8000/repos",
"events_url": "https://api.github.com/users/Chetan8000/events{/privacy}",
"received_events_url": "https://api.github.com/users/Chetan8000/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 2 | 2023-11-22T08:56:25 | 2023-11-22T09:28:00 | null |
NONE
| null |
### Issue you'd like to raise.
I'm using
```python
from langchain.agents import create_pandas_dataframe_agent
pd_agent = create_pandas_dataframe_agent(OpenAI(temperature=0),
df,
verbose=True)
pd_agent.run('some question on dataframe')
```
```python
english_tools = [
Tool(name="SomeNAME_1",
func=lambda q: app.finance_chain.run(q),
description=" Some app related description ",
return_direct=True,
coroutine=lambda q: app.finance_chain.arun(q),
),
Tool(name="SomeNAME_2",
func=lambda q: app.rqa(q),
description=" Some app related description ",
coroutine=lambda q: app.rqa_english.arun(q),
return_direct=True
),
Tool.from_function(
name="SomeNAME_3",
func=lambda q: app.pd_agent(q),
description=" Some app related description",
coroutine=lambda q: app.pd_agent.arun(q),
)
]
```
when we call this agent seperatly it's gives me a good result
but when i use this agent as a tool along with other tools it's not gives consistent results, mostly wrong answer
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13711/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13711/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13710
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13710/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13710/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13710/events
|
https://github.com/langchain-ai/langchain/pull/13710
| 2,005,846,291 |
PR_kwDOIPDwls5gGreR
| 13,710 |
Update DeepSparse LLM Tests and Docs
|
{
"login": "mwitiderrick",
"id": 10187095,
"node_id": "MDQ6VXNlcjEwMTg3MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/10187095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mwitiderrick",
"html_url": "https://github.com/mwitiderrick",
"followers_url": "https://api.github.com/users/mwitiderrick/followers",
"following_url": "https://api.github.com/users/mwitiderrick/following{/other_user}",
"gists_url": "https://api.github.com/users/mwitiderrick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mwitiderrick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mwitiderrick/subscriptions",
"organizations_url": "https://api.github.com/users/mwitiderrick/orgs",
"repos_url": "https://api.github.com/users/mwitiderrick/repos",
"events_url": "https://api.github.com/users/mwitiderrick/events{/privacy}",
"received_events_url": "https://api.github.com/users/mwitiderrick/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T08:45:45 | 2023-12-05T04:59:03 | 2023-12-04T20:48:55 |
NONE
| null |
Update the documentation and tests for the DeepSparse LangChain integration
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13710/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13710",
"html_url": "https://github.com/langchain-ai/langchain/pull/13710",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13710.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13710.patch",
"merged_at": "2023-12-04T20:48:55"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13709
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13709/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13709/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13709/events
|
https://github.com/langchain-ai/langchain/issues/13709
| 2,005,831,934 |
I_kwDOIPDwls53jpD-
| 13,709 |
ModuleNotFoundError: No module named 'xml.etree'; 'xml' is not a package
|
{
"login": "shine10076",
"id": 38824616,
"node_id": "MDQ6VXNlcjM4ODI0NjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/38824616?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shine10076",
"html_url": "https://github.com/shine10076",
"followers_url": "https://api.github.com/users/shine10076/followers",
"following_url": "https://api.github.com/users/shine10076/following{/other_user}",
"gists_url": "https://api.github.com/users/shine10076/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shine10076/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shine10076/subscriptions",
"organizations_url": "https://api.github.com/users/shine10076/orgs",
"repos_url": "https://api.github.com/users/shine10076/repos",
"events_url": "https://api.github.com/users/shine10076/events{/privacy}",
"received_events_url": "https://api.github.com/users/shine10076/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 6 | 2023-11-22T08:36:24 | 2023-11-22T11:10:41 | null |
NONE
| null |
### System Info
Traceback (most recent call last):
File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parsers/xml.py", line 2, in <module>
import xml.etree.ElementTree as ET
File "/Users/xxx/anaconda3/envs/kaoyan-chat/lib/python3.10/site-packages/langchain/output_parsers/xml.py", line 2, in <module>
import xml.etree.ElementTree as ET
ModuleNotFoundError: No module named 'xml.etree'; 'xml' is not a package
### 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
- [X] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
llm = AzureChatOpenAI(model_name="gpt-35-turbo",
deployment_name="gpt-35-turbo", temperature=0.3)
tools = load_tools(["serpapi", "llm-math"], llm=llm)
### Expected behavior
i run this code and hope it can run normally, but it throw the exception. xml is not a package , i think this is beacause the python file is named xml.py , it confilct with import xml.etree.ElementTree as ET
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13709/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13709/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13708
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13708/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13708/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13708/events
|
https://github.com/langchain-ai/langchain/pull/13708
| 2,005,815,713 |
PR_kwDOIPDwls5gGkzS
| 13,708 |
Fix typo/line break in python code
|
{
"login": "h3l",
"id": 1664952,
"node_id": "MDQ6VXNlcjE2NjQ5NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1664952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h3l",
"html_url": "https://github.com/h3l",
"followers_url": "https://api.github.com/users/h3l/followers",
"following_url": "https://api.github.com/users/h3l/following{/other_user}",
"gists_url": "https://api.github.com/users/h3l/gists{/gist_id}",
"starred_url": "https://api.github.com/users/h3l/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/h3l/subscriptions",
"organizations_url": "https://api.github.com/users/h3l/orgs",
"repos_url": "https://api.github.com/users/h3l/repos",
"events_url": "https://api.github.com/users/h3l/events{/privacy}",
"received_events_url": "https://api.github.com/users/h3l/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T08:26:23 | 2023-11-22T17:10:07 | 2023-11-22T17:10:07 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
- **Description:** simple modify on markdown file
- **Dependencies:** None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13708/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13708/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13708",
"html_url": "https://github.com/langchain-ai/langchain/pull/13708",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13708.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13708.patch",
"merged_at": "2023-11-22T17:10:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13707
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13707/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13707/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13707/events
|
https://github.com/langchain-ai/langchain/issues/13707
| 2,005,812,732 |
I_kwDOIPDwls53jkX8
| 13,707 |
Add system_fingerprint in OpenAI callbacks
|
{
"login": "kennethleungty",
"id": 16691614,
"node_id": "MDQ6VXNlcjE2NjkxNjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/16691614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kennethleungty",
"html_url": "https://github.com/kennethleungty",
"followers_url": "https://api.github.com/users/kennethleungty/followers",
"following_url": "https://api.github.com/users/kennethleungty/following{/other_user}",
"gists_url": "https://api.github.com/users/kennethleungty/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kennethleungty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kennethleungty/subscriptions",
"organizations_url": "https://api.github.com/users/kennethleungty/orgs",
"repos_url": "https://api.github.com/users/kennethleungty/repos",
"events_url": "https://api.github.com/users/kennethleungty/events{/privacy}",
"received_events_url": "https://api.github.com/users/kennethleungty/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 4 | 2023-11-22T08:24:18 | 2023-11-23T15:06:02 | null |
CONTRIBUTOR
| null |
### Feature request
Given that the seed is already in beta phase, the system_fingerprint would also be highly useful in tracking deterministic responses. Suggest to add a `system_fingerprint` as part of the callbacks. https://api.python.langchain.com/en/latest/callbacks/langchain.callbacks.openai_info.OpenAICallbackHandler.html#langchain.callbacks.openai_info.OpenAICallbackHandler
### Motivation
Given that the seed is already in beta phase, the system_fingerprint would also be highly useful
### Your contribution
Proposed suggestion
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13707/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/13707/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13705
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13705/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13705/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13705/events
|
https://github.com/langchain-ai/langchain/pull/13705
| 2,005,776,896 |
PR_kwDOIPDwls5gGcVO
| 13,705 |
Fix Pydantic V2 Errors
|
{
"login": "SID262000",
"id": 46255642,
"node_id": "MDQ6VXNlcjQ2MjU1NjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/46255642?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SID262000",
"html_url": "https://github.com/SID262000",
"followers_url": "https://api.github.com/users/SID262000/followers",
"following_url": "https://api.github.com/users/SID262000/following{/other_user}",
"gists_url": "https://api.github.com/users/SID262000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SID262000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SID262000/subscriptions",
"organizations_url": "https://api.github.com/users/SID262000/orgs",
"repos_url": "https://api.github.com/users/SID262000/repos",
"events_url": "https://api.github.com/users/SID262000/events{/privacy}",
"received_events_url": "https://api.github.com/users/SID262000/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
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 | 3 | 2023-11-22T08:00:10 | 2023-12-05T05:09:31 | null |
NONE
| null | ERROR: type should be string, got "\r\nhttps://docs.pydantic.dev/latest/migration/#migration-guide\r\n\r\n- **Description:** response=response.dict() to response=response.model_dump()" |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13705/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13705",
"html_url": "https://github.com/langchain-ai/langchain/pull/13705",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13705.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13705.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13704
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13704/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13704/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13704/events
|
https://github.com/langchain-ai/langchain/pull/13704
| 2,005,764,915 |
PR_kwDOIPDwls5gGZwT
| 13,704 |
Added annotations support to AOAI
|
{
"login": "shayben",
"id": 2972050,
"node_id": "MDQ6VXNlcjI5NzIwNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2972050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shayben",
"html_url": "https://github.com/shayben",
"followers_url": "https://api.github.com/users/shayben/followers",
"following_url": "https://api.github.com/users/shayben/following{/other_user}",
"gists_url": "https://api.github.com/users/shayben/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shayben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shayben/subscriptions",
"organizations_url": "https://api.github.com/users/shayben/orgs",
"repos_url": "https://api.github.com/users/shayben/repos",
"events_url": "https://api.github.com/users/shayben/events{/privacy}",
"received_events_url": "https://api.github.com/users/shayben/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 1 | 2023-11-22T07:51:17 | 2023-11-28T16:44:56 | null |
NONE
| null |
- **Description:** Added Azure OpenAI Annotations (content filtering results) to ChatResult
- **Issue:** 13090
- **Twitter handle:** ElazarShay
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13704/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13704/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13704",
"html_url": "https://github.com/langchain-ai/langchain/pull/13704",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13704.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13704.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13703
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13703/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13703/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13703/events
|
https://github.com/langchain-ai/langchain/pull/13703
| 2,005,737,654 |
PR_kwDOIPDwls5gGT0E
| 13,703 |
fix merge None value and non None value error
|
{
"login": "mengjincn",
"id": 29910729,
"node_id": "MDQ6VXNlcjI5OTEwNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/29910729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mengjincn",
"html_url": "https://github.com/mengjincn",
"followers_url": "https://api.github.com/users/mengjincn/followers",
"following_url": "https://api.github.com/users/mengjincn/following{/other_user}",
"gists_url": "https://api.github.com/users/mengjincn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mengjincn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mengjincn/subscriptions",
"organizations_url": "https://api.github.com/users/mengjincn/orgs",
"repos_url": "https://api.github.com/users/mengjincn/repos",
"events_url": "https://api.github.com/users/mengjincn/events{/privacy}",
"received_events_url": "https://api.github.com/users/mengjincn/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T07:31:11 | 2023-11-28T20:49:56 | 2023-11-28T20:49:56 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13703/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13703",
"html_url": "https://github.com/langchain-ai/langchain/pull/13703",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13703.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13703.patch",
"merged_at": "2023-11-28T20:49:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13702
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13702/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13702/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13702/events
|
https://github.com/langchain-ai/langchain/pull/13702
| 2,005,693,735 |
PR_kwDOIPDwls5gGKXY
| 13,702 |
BUGFIX: add prompt imports for backwards compat
|
{
"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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T06:55:29 | 2023-11-22T07:04:22 | 2023-11-22T07:04:21 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13702/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13702/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13702",
"html_url": "https://github.com/langchain-ai/langchain/pull/13702",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13702.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13702.patch",
"merged_at": "2023-11-22T07:04:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13700
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13700/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13700/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13700/events
|
https://github.com/langchain-ai/langchain/pull/13700
| 2,005,585,430 |
PR_kwDOIPDwls5gFzC-
| 13,700 |
IMPROVEMENT: Conditionally import for type hints
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714126,
"node_id": "LA_kwDOIPDwls8AAAABc3-rjg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L",
"name": "size:L",
"color": "BFD4F2",
"default": false,
"description": "This PR changes 100-499 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T05:08:36 | 2023-11-26T01:59:03 | 2023-11-22T05:38:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13700/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13700/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13700",
"html_url": "https://github.com/langchain-ai/langchain/pull/13700",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13700.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13700.patch",
"merged_at": "2023-11-22T05:38:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13699
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13699/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13699/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13699/events
|
https://github.com/langchain-ai/langchain/pull/13699
| 2,005,578,820 |
PR_kwDOIPDwls5gFxm9
| 13,699 |
Migrate mlflow and databricks classes to deployments APIs.
|
{
"login": "harupy",
"id": 17039389,
"node_id": "MDQ6VXNlcjE3MDM5Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/17039389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harupy",
"html_url": "https://github.com/harupy",
"followers_url": "https://api.github.com/users/harupy/followers",
"following_url": "https://api.github.com/users/harupy/following{/other_user}",
"gists_url": "https://api.github.com/users/harupy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harupy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harupy/subscriptions",
"organizations_url": "https://api.github.com/users/harupy/orgs",
"repos_url": "https://api.github.com/users/harupy/repos",
"events_url": "https://api.github.com/users/harupy/events{/privacy}",
"received_events_url": "https://api.github.com/users/harupy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
closed
| false |
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-11-22T05:00:33 | 2023-11-30T23:06:59 | 2023-11-30T23:06:59 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
## Description
Related to https://github.com/mlflow/mlflow/pull/10420. MLflow AI gateway will be deprecated and replaced by the `mlflow.deployments` module. Happy to split this PR if it's too large.
```
pip install git+https://github.com/langchain-ai/langchain.git@refs/pull/13699/merge#subdirectory=libs/langchain
```
## Dependencies
Install mlflow from https://github.com/mlflow/mlflow/pull/10420:
```
pip install git+https://github.com/mlflow/mlflow.git@refs/pull/10420/merge
```
## Testing plan
The following code works fine on local and databricks:
<details><summary>Click</summary>
<p>
```python
"""
Setup
-----
mlflow deployments start-server --config-path examples/gateway/openai/config.yaml
databricks secrets create-scope <scope>
databricks secrets put-secret <scope> openai-api-key --string-value $OPENAI_API_KEY
Run
---
python /path/to/this/file.py secrets/<scope>/openai-api-key
"""
from langchain.chat_models import ChatMlflow, ChatDatabricks
from langchain.embeddings import MlflowEmbeddings, DatabricksEmbeddings
from langchain.llms import Databricks, Mlflow
from langchain.schema.messages import HumanMessage
from langchain.chains.loading import load_chain
from mlflow.deployments import get_deploy_client
import uuid
import sys
import tempfile
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
###############################
# MLflow
###############################
chat = ChatMlflow(
target_uri="http://127.0.0.1:5000", endpoint="chat", params={"temperature": 0.1}
)
print(chat([HumanMessage(content="hello")]))
embeddings = MlflowEmbeddings(target_uri="http://127.0.0.1:5000", endpoint="embeddings")
print(embeddings.embed_query("hello")[:3])
print(embeddings.embed_documents(["hello", "world"])[0][:3])
llm = Mlflow(
target_uri="http://127.0.0.1:5000",
endpoint="completions",
params={"temperature": 0.1},
)
print(llm("I am"))
llm_chain = LLMChain(
llm=llm,
prompt=PromptTemplate(
input_variables=["adjective"],
template="Tell me a {adjective} joke",
),
)
print(llm_chain.run(adjective="funny"))
# serialization/deserialization
with tempfile.TemporaryDirectory() as tmpdir:
print(tmpdir)
path = f"{tmpdir}/llm.yaml"
llm_chain.save(path)
loaded_chain = load_chain(path)
print(loaded_chain("funny"))
###############################
# Databricks
###############################
secret = sys.argv[1]
client = get_deploy_client("databricks")
# External - chat
name = f"chat-{uuid.uuid4()}"
client.create_endpoint(
name=name,
config={
"served_entities": [
{
"name": "test",
"external_model": {
"name": "gpt-4",
"provider": "openai",
"task": "llm/v1/chat",
"openai_config": {
"openai_api_key": "{{" + secret + "}}",
},
},
}
],
},
)
try:
chat = ChatDatabricks(
target_uri="databricks", endpoint=name, params={"temperature": 0.1}
)
print(chat([HumanMessage(content="hello")]))
finally:
client.delete_endpoint(endpoint=name)
# External - embeddings
name = f"embeddings-{uuid.uuid4()}"
client.create_endpoint(
name=name,
config={
"served_entities": [
{
"name": "test",
"external_model": {
"name": "text-embedding-ada-002",
"provider": "openai",
"task": "llm/v1/embeddings",
"openai_config": {
"openai_api_key": "{{" + secret + "}}",
},
},
}
],
},
)
try:
embeddings = DatabricksEmbeddings(target_uri="databricks", endpoint=name)
print(embeddings.embed_query("hello")[:3])
print(embeddings.embed_documents(["hello", "world"])[0][:3])
finally:
client.delete_endpoint(endpoint=name)
# External - completions
name = f"completions-{uuid.uuid4()}"
client.create_endpoint(
name=name,
config={
"served_entities": [
{
"name": "test",
"external_model": {
"name": "gpt-3.5-turbo-instruct",
"provider": "openai",
"task": "llm/v1/completions",
"openai_config": {
"openai_api_key": "{{" + secret + "}}",
},
},
}
],
},
)
try:
llm = Databricks(
endpoint_name=name,
model_kwargs={"temperature": 0.1},
)
print(llm("I am"))
finally:
client.delete_endpoint(endpoint=name)
# Foundation model - chat
chat = ChatDatabricks(
endpoint="databricks-llama-2-70b-chat", params={"temperature": 0.1}
)
print(chat([HumanMessage(content="hello")]))
# Foundation model - embeddings
embeddings = DatabricksEmbeddings(endpoint="databricks-bge-large-en")
print(embeddings.embed_query("hello")[:3])
# Foundation model - completions
llm = Databricks(
endpoint_name="databricks-mpt-7b-instruct", model_kwargs={"temperature": 0.1}
)
print(llm("hello"))
llm_chain = LLMChain(
llm=llm,
prompt=PromptTemplate(
input_variables=["adjective"],
template="Tell me a {adjective} joke",
),
)
print(llm_chain.run(adjective="funny"))
# serialization/deserialization
with tempfile.TemporaryDirectory() as tmpdir:
print(tmpdir)
path = f"{tmpdir}/llm.yaml"
llm_chain.save(path)
loaded_chain = load_chain(path)
print(loaded_chain("funny"))
```
Output:
```
content='Hello! How can I assist you today?'
[-0.025058426, -0.01938856, -0.027781019]
[-0.025058426, -0.01938856, -0.027781019]
sorry, but I cannot continue the sentence as it is incomplete. Can you please provide more information or context?
Sure, here's a classic one for you:
Why don't scientists trust atoms?
Because they make up everything!
/var/folders/dz/cd_nvlf14g9g__n3ph0d_0pm0000gp/T/tmpx_4no6ad
{'adjective': 'funny', 'text': "Sure, here's a classic one for you:\n\nWhy don't scientists trust atoms?\n\nBecause they make up everything!"}
content='Hello! How can I assist you today?'
[-0.025058426, -0.01938856, -0.027781019]
[-0.025058426, -0.01938856, -0.027781019]
a 23 year old female and I am currently studying for my master's degree
content="\nHello! It's nice to meet you. Is there something I can help you with or would you like to chat for a bit?"
[0.051055908203125, 0.007221221923828125, 0.003879547119140625]
[0.051055908203125, 0.007221221923828125, 0.003879547119140625]
hello back
Well, I don't really know many jokes, but I do know this funny story...
/var/folders/dz/cd_nvlf14g9g__n3ph0d_0pm0000gp/T/tmp7_ds72ex
{'adjective': 'funny', 'text': " Well, I don't really know many jokes, but I do know this funny story..."}
```
</p>
</details>
The existing workflow doesn't break:
<details><summary>click</summary>
<p>
```python
import uuid
import mlflow
from mlflow.models import ModelSignature
from mlflow.types.schema import ColSpec, Schema
class MyModel(mlflow.pyfunc.PythonModel):
def predict(self, context, model_input):
return str(uuid.uuid4())
with mlflow.start_run():
mlflow.pyfunc.log_model(
"model",
python_model=MyModel(),
pip_requirements=["mlflow==2.8.1", "cloudpickle<3"],
signature=ModelSignature(
inputs=Schema(
[
ColSpec("string", "prompt"),
ColSpec("string", "stop"),
]
),
outputs=Schema(
[
ColSpec(name=None, type="string"),
]
),
),
registered_model_name=f"lang-{uuid.uuid4()}",
)
# Manually create a serving endpoint with the registered model and run
from langchain.llms import Databricks
llm = Databricks(endpoint_name="<name>")
llm("hello") # 9d0b2491-3d13-487c-bc02-1287f06ecae7
```
</p>
</details>
## Follow-up tasks
(This PR is too large. I'll file a separate one for follow-up tasks.)
- Update `docs/docs/integrations/providers/mlflow_ai_gateway.mdx` and `docs/docs/integrations/providers/databricks.md`.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13699/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13699",
"html_url": "https://github.com/langchain-ai/langchain/pull/13699",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13699.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13699.patch",
"merged_at": "2023-11-30T23:06:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13698
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13698/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13698/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13698/events
|
https://github.com/langchain-ai/langchain/pull/13698
| 2,005,532,904 |
PR_kwDOIPDwls5gFny1
| 13,698 |
BUGFIX: llm backwards compat imports
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T04:04:21 | 2023-11-22T04:12:36 | 2023-11-22T04:12:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13698/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13698/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13698",
"html_url": "https://github.com/langchain-ai/langchain/pull/13698",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13698.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13698.patch",
"merged_at": "2023-11-22T04:12:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13697
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13697/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13697/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13697/events
|
https://github.com/langchain-ai/langchain/issues/13697
| 2,005,499,791 |
I_kwDOIPDwls53iX-P
| 13,697 |
Issue: how to remain the chain in different api calls?
|
{
"login": "RedNoseJJN",
"id": 89859275,
"node_id": "MDQ6VXNlcjg5ODU5Mjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/89859275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RedNoseJJN",
"html_url": "https://github.com/RedNoseJJN",
"followers_url": "https://api.github.com/users/RedNoseJJN/followers",
"following_url": "https://api.github.com/users/RedNoseJJN/following{/other_user}",
"gists_url": "https://api.github.com/users/RedNoseJJN/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RedNoseJJN/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RedNoseJJN/subscriptions",
"organizations_url": "https://api.github.com/users/RedNoseJJN/orgs",
"repos_url": "https://api.github.com/users/RedNoseJJN/repos",
"events_url": "https://api.github.com/users/RedNoseJJN/events{/privacy}",
"received_events_url": "https://api.github.com/users/RedNoseJJN/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 10 | 2023-11-22T03:33:38 | 2023-11-24T07:52:39 | 2023-11-24T07:50:17 |
NONE
| null |
### Issue you'd like to raise.
This question may be stupid but I find nothing to refer to.
I'm using langchain.chains.LLMChain in flask api, but I found that the chain will be reloaded and reconstructed if I call the api after a call. So the first question I wanna ask is how to make my LLMChain be remembered so that I can use it directly in the next call.
I tried to use session in flask, but get ```Object of type LLMChain is not JSON serializable```.
Thanks.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13697/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13696
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13696/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13696/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13696/events
|
https://github.com/langchain-ai/langchain/issues/13696
| 2,005,494,274 |
I_kwDOIPDwls53iWoC
| 13,696 |
DOC: how to use load_qa_chain with memory
|
{
"login": "lfoppiano",
"id": 15426,
"node_id": "MDQ6VXNlcjE1NDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/15426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lfoppiano",
"html_url": "https://github.com/lfoppiano",
"followers_url": "https://api.github.com/users/lfoppiano/followers",
"following_url": "https://api.github.com/users/lfoppiano/following{/other_user}",
"gists_url": "https://api.github.com/users/lfoppiano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lfoppiano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lfoppiano/subscriptions",
"organizations_url": "https://api.github.com/users/lfoppiano/orgs",
"repos_url": "https://api.github.com/users/lfoppiano/repos",
"events_url": "https://api.github.com/users/lfoppiano/events{/privacy}",
"received_events_url": "https://api.github.com/users/lfoppiano/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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 | 6 | 2023-11-22T03:29:40 | 2023-11-22T06:30:33 | 2023-11-22T06:30:33 |
CONTRIBUTOR
| null |
### Issue with current documentation:
There is a lack of comprehensive documentation on how to use load_qa_chain with memory.
I've found this: https://cheatsheet.md/langchain-tutorials/load-qa-chain-langchain.en but does not cover other memories, like for example BufferedWindowMemory.
I have the following memory:
```
memory = {ConversationBufferWindowMemory} chat_memory=ChatMessageHistory(messages=[HumanMessage(content='What is the main material? Keept he answer short'), AIMessage(content='The main material is R 2 Fe 14 B.'), HumanMessage(content='What are its properties? '), AIMessage(content='The properties
Config = {type} <class 'langchain.schema.memory.BaseMemory.Config'>
ai_prefix = {str} 'AI'
buffer = {str} 'Human: What is the main material? Keept he answer short\nAI: The main material is R 2 Fe 14 B.\nHuman: What are its properties? \nAI: The properties of the material being discussed are not explicitly mentioned in the given context. However, some information
buffer_as_messages = {list: 4} [content='What is the main material? Keept he answer short', content='The main material is R 2 Fe 14 B.', content='What are its properties? ', content='The properties of the material being discussed are not explicitly mentioned in the given context. Howeve
buffer_as_str = {str} 'Human: What is the main material? Keept he answer short\nAI: The main material is R 2 Fe 14 B.\nHuman: What are its properties? \nAI: The properties of the material being discussed are not explicitly mentioned in the given context. However, some information
chat_memory = {ChatMessageHistory} messages=[HumanMessage(content='What is the main material? Keept he answer short'), AIMessage(content='The main material is R 2 Fe 14 B.'), HumanMessage(content='What are its properties? '), AIMessage(content='The properties of the material being discussed
human_prefix = {str} 'Human'
input_key = {NoneType} None
k = {int} 4
lc_attributes = {dict: 0} {}
lc_secrets = {dict: 0} {}
memory_key = {str} 'history'
memory_variables = {list: 1} ['history']
output_key = {NoneType} None
return_messages = {bool} False
```
And the messages are the following:
```
0 = {HumanMessage} content='What is the main material? Keept he answer short'
1 = {AIMessage} content='The main material is R 2 Fe 14 B.'
2 = {HumanMessage} content='What are its properties? '
3 = {AIMessage} content='The properties of the material being discussed are not explicitly mentioned in the given context. However, some information about the magnetic properties and microstructure of the material is provided. It is mentioned that the magnetic properties of the specimens were measured using a BH tracer or a vibrating sample magnetometer (VSM). The microstructure and crystal structure were analyzed using various techniques such as focused ion beam-scanning electron microscopy (FIB-SEM), electron probe microanalyses (EPMA), scanning transmission electron microscope-energy dispersive spectroscopy (STEM-EDS), and X-ray diffraction (XRD). The area ratio of each phase and the coverage ratio of the grains by the grain-boundary phase were calculated. Additionally, it is mentioned that the material contains rare-earth elements (Nd, Y, and Ce) and Fe, and that the coercivity can be improved by controlling the grain boundaries using certain phases (R6Fe13Ga and RFe2).'
```
And then I pass it to a load_qa_chain which is instantiated as follow (I'm summarising)
```
self.chain = load_qa_chain(llm, chain_type=qa_chain_type)
[...]
self.chain.run(input_documents=relevant_documents,
question=query,
memory=memory)
```
however, in the prompt, there seems to be no memory information.
I would like to avoid having to rewrite the prompt with a custom one. Maybe the memory does not follow the required conventions (e.g. how the human / assitant message should be characterized), which are not clear to me, I haven't found any documentation in regard.
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13696/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13696/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13695
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13695/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13695/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13695/events
|
https://github.com/langchain-ai/langchain/pull/13695
| 2,005,494,138 |
PR_kwDOIPDwls5gFfKw
| 13,695 |
Support Azure gov cloud in Azure Cognitive Search retriever
|
{
"login": "nceccarelli",
"id": 41022718,
"node_id": "MDQ6VXNlcjQxMDIyNzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/41022718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nceccarelli",
"html_url": "https://github.com/nceccarelli",
"followers_url": "https://api.github.com/users/nceccarelli/followers",
"following_url": "https://api.github.com/users/nceccarelli/following{/other_user}",
"gists_url": "https://api.github.com/users/nceccarelli/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nceccarelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nceccarelli/subscriptions",
"organizations_url": "https://api.github.com/users/nceccarelli/orgs",
"repos_url": "https://api.github.com/users/nceccarelli/repos",
"events_url": "https://api.github.com/users/nceccarelli/events{/privacy}",
"received_events_url": "https://api.github.com/users/nceccarelli/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T03:29:35 | 2023-12-04T20:56:35 | 2023-12-04T20:56:35 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** The existing version hardcoded search.windows.net in the base url. This is not compatible with the gov cloud. I am allowing the user to override the default for gov cloud support.,
- **Issue:** N/A, did not write up in an issue,
- **Dependencies:** None
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13695/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13695",
"html_url": "https://github.com/langchain-ai/langchain/pull/13695",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13695.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13695.patch",
"merged_at": "2023-12-04T20:56:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13694
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13694/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13694/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13694/events
|
https://github.com/langchain-ai/langchain/pull/13694
| 2,005,490,043 |
PR_kwDOIPDwls5gFeTA
| 13,694 |
Set default region from boto3 session for Bedrock
|
{
"login": "Falydoor",
"id": 2212267,
"node_id": "MDQ6VXNlcjIyMTIyNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2212267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Falydoor",
"html_url": "https://github.com/Falydoor",
"followers_url": "https://api.github.com/users/Falydoor/followers",
"following_url": "https://api.github.com/users/Falydoor/following{/other_user}",
"gists_url": "https://api.github.com/users/Falydoor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Falydoor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Falydoor/subscriptions",
"organizations_url": "https://api.github.com/users/Falydoor/orgs",
"repos_url": "https://api.github.com/users/Falydoor/repos",
"events_url": "https://api.github.com/users/Falydoor/events{/privacy}",
"received_events_url": "https://api.github.com/users/Falydoor/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T03:24:07 | 2023-11-29T01:52:07 | 2023-11-29T01:26:54 |
CONTRIBUTOR
| null |
- **Description:** Set default region from boto3 session for Bedrock
- **Issue:** #13683
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13694/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13694",
"html_url": "https://github.com/langchain-ai/langchain/pull/13694",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13694.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13694.patch",
"merged_at": "2023-11-29T01:26:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13693
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13693/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13693/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13693/events
|
https://github.com/langchain-ai/langchain/pull/13693
| 2,005,435,687 |
PR_kwDOIPDwls5gFSzE
| 13,693 |
fix merge None value and non None value error
|
{
"login": "mengjincn",
"id": 29910729,
"node_id": "MDQ6VXNlcjI5OTEwNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/29910729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mengjincn",
"html_url": "https://github.com/mengjincn",
"followers_url": "https://api.github.com/users/mengjincn/followers",
"following_url": "https://api.github.com/users/mengjincn/following{/other_user}",
"gists_url": "https://api.github.com/users/mengjincn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mengjincn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mengjincn/subscriptions",
"organizations_url": "https://api.github.com/users/mengjincn/orgs",
"repos_url": "https://api.github.com/users/mengjincn/repos",
"events_url": "https://api.github.com/users/mengjincn/events{/privacy}",
"received_events_url": "https://api.github.com/users/mengjincn/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-22T02:14:01 | 2023-11-22T07:34:16 | 2023-11-22T07:33:58 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13693/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13693",
"html_url": "https://github.com/langchain-ai/langchain/pull/13693",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13693.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13693.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13692
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13692/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13692/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13692/events
|
https://github.com/langchain-ai/langchain/pull/13692
| 2,005,425,471 |
PR_kwDOIPDwls5gFQra
| 13,692 |
Added SQL report based querying as an option on the chain
|
{
"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": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-22T02:00:31 | 2023-11-22T02:00:50 | 2023-11-22T02:00:47 |
CONTRIBUTOR
| null |
Summary:
1. During indexing, get description of all tables if they exist and put them in the pickle
2. When running the chain, create sql query agents for any tables that exist
3. Other improvements like fixing the "validation error" on chat history (just make it optional) and running ingestion in batches
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13692/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13692",
"html_url": "https://github.com/langchain-ai/langchain/pull/13692",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13692.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13692.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13691
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13691/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13691/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13691/events
|
https://github.com/langchain-ai/langchain/pull/13691
| 2,005,332,797 |
PR_kwDOIPDwls5gE9BE
| 13,691 |
Template Metadata pt 1
|
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-21T23:58:13 | 2023-11-22T06:41:13 | 2023-11-22T06:41:12 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13691/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13691",
"html_url": "https://github.com/langchain-ai/langchain/pull/13691",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13691.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13691.patch",
"merged_at": "2023-11-22T06:41:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13690
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13690/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13690/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13690/events
|
https://github.com/langchain-ai/langchain/pull/13690
| 2,005,320,232 |
PR_kwDOIPDwls5gE6W0
| 13,690 |
bump core dep 0.0.3
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 6232714108,
"node_id": "LA_kwDOIPDwls8AAAABc3-rfA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S",
"name": "size:S",
"color": "BFDADC",
"default": false,
"description": "This PR changes 10-29 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-21T23:41:44 | 2023-11-21T23:50:20 | 2023-11-21T23:50:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13690/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13690",
"html_url": "https://github.com/langchain-ai/langchain/pull/13690",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13690.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13690.patch",
"merged_at": "2023-11-21T23:50:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13689
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13689/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13689/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13689/events
|
https://github.com/langchain-ai/langchain/pull/13689
| 2,005,307,804 |
PR_kwDOIPDwls5gE3td
| 13,689 |
add callback import test
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714119,
"node_id": "LA_kwDOIPDwls8AAAABc3-rhw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M",
"name": "size:M",
"color": "C5DEF5",
"default": false,
"description": "This PR changes 30-99 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-21T23:25:15 | 2023-11-21T23:28:50 | 2023-11-21T23:28:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13689/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13689",
"html_url": "https://github.com/langchain-ai/langchain/pull/13689",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13689.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13689.patch",
"merged_at": "2023-11-21T23:28:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13688
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13688/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13688/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13688/events
|
https://github.com/langchain-ai/langchain/pull/13688
| 2,005,301,605 |
PR_kwDOIPDwls5gE2WQ
| 13,688 |
Bagatur/core utils
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-21T23:18:31 | 2023-11-21T23:25:48 | 2023-11-21T23:25:47 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13688/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13688",
"html_url": "https://github.com/langchain-ai/langchain/pull/13688",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13688.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13688.patch",
"merged_at": "2023-11-21T23:25:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13687
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13687/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13687/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13687/events
|
https://github.com/langchain-ai/langchain/pull/13687
| 2,005,291,790 |
PR_kwDOIPDwls5gE0Qx
| 13,687 |
added CrossEncoderReranker with HuggingFaceCrossEncoder and SagemakerEndpointCrossEncoder
|
{
"login": "kennethchoe",
"id": 1812592,
"node_id": "MDQ6VXNlcjE4MTI1OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1812592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kennethchoe",
"html_url": "https://github.com/kennethchoe",
"followers_url": "https://api.github.com/users/kennethchoe/followers",
"following_url": "https://api.github.com/users/kennethchoe/following{/other_user}",
"gists_url": "https://api.github.com/users/kennethchoe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kennethchoe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kennethchoe/subscriptions",
"organizations_url": "https://api.github.com/users/kennethchoe/orgs",
"repos_url": "https://api.github.com/users/kennethchoe/repos",
"events_url": "https://api.github.com/users/kennethchoe/events{/privacy}",
"received_events_url": "https://api.github.com/users/kennethchoe/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
open
| false | null |
[] | null | 5 | 2023-11-21T23:06:50 | 2023-12-18T19:04:28 | null |
CONTRIBUTOR
| null |
- **Description:** Support reranking based on cross encoder models available from HuggingFace.
- Added `CrossEncoder` schema
- Implemented `HuggingFaceCrossEncoder` and `SagemakerEndpointCrossEncoder`
- Implemented `CrossEncoderReranker` that performs similar functionality to `CohereRerank`
- Added `cross-encoder-reranker.ipynb` to demonstrate how to use it. Please let me know if anything else needs to be done to make it visible on the table-of-contents navigation bar on the left, or on the card list on [retrievers documentation page](https://python.langchain.com/docs/integrations/retrievers).
- **Issue:** N/A
- **Dependencies:** None other than the existing ones.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13687/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/13687/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13687",
"html_url": "https://github.com/langchain-ai/langchain/pull/13687",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13687.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13687.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13686
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13686/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13686/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13686/events
|
https://github.com/langchain-ai/langchain/issues/13686
| 2,005,201,744 |
I_kwDOIPDwls53hPNQ
| 13,686 |
While utlizing the create_csv_agent function, the output is not returned in the JSON format
|
{
"login": "nithinreddyyyyyy",
"id": 129744879,
"node_id": "U_kgDOB7u_7w",
"avatar_url": "https://avatars.githubusercontent.com/u/129744879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinreddyyyyyy",
"html_url": "https://github.com/nithinreddyyyyyy",
"followers_url": "https://api.github.com/users/nithinreddyyyyyy/followers",
"following_url": "https://api.github.com/users/nithinreddyyyyyy/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinreddyyyyyy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinreddyyyyyy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinreddyyyyyy/subscriptions",
"organizations_url": "https://api.github.com/users/nithinreddyyyyyy/orgs",
"repos_url": "https://api.github.com/users/nithinreddyyyyyy/repos",
"events_url": "https://api.github.com/users/nithinreddyyyyyy/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinreddyyyyyy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-11-21T21:51:45 | 2023-11-21T21:56:09 | null |
NONE
| null |
### Issue with current documentation:
Hey guys! Below is the code which i'm using to get the output
```
import pandas as pd
from IPython.display import Markdown, display
from langchain.agents import create_csv_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
import os
os.environ["OPENAI_API_KEY"] = ""
# Load the dataset
df = pd.read_csv('https://gist.githubusercontent.com/armgilles/194bcff35001e7eb53a2a8b441e8b2c6/raw/92200bc0a673d5ce2110aaad4544ed6c4010f687/pokemon.csv')
df.to_csv('pokemon.csv', index=False)
# Extract columns for the prompt template
columns = list(df.columns)
json_data = ', '.join(columns)
# Define the prompt template
prompt_template = f'''If the dataset has the following columns: {json_data}
Understand user questions with different column names and convert them to a JSON format. Here's an example:
Example 1:
User Question: Top 2 zones by Housing Loan in the West and South in the year 2019 excluding small loans and with Discount > 5 and Term Deposit between 10k and 15k
{{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Month",
"agg_columns": ["Housing Loan"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": ["Zone"],
"filters": {{"Zone": ["West", "South"]}},
"not_in": {{"Loan Type": ["Small"]}},
"num_filter": {{
"gt": [
["Discount", 5],
["Term Deposit", 10000]
],
"lt": [
["Term Deposit", 15000]
]
}},
"percent": false,
"top": "2",
"bottom": null
}}
Example 2:
User Question: What is the Highest Loan Amount and Loan Outstanding by RM Name James in January 2020
{{
"start_date": "01-01-2020",
"end_date": "31-01-2020",
"time_stamp_col": "Due Date",
"agg_columns": ["Loan Amount", "Loan Outstanding"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": [],
"filters": {{"RM Name": ["James"]}},
"not_in": {{}},
"num_filter": {{}},
"percent": false,
"top": "1",
"bottom": null
}}
Example 3:
User Question: Which RM Name with respect to Region has the Highest Interest Outstanding and Principal Outstanding in the year 2019
{{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Interest Outstanding", "Principal Outstanding"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": ["RM Name", "Region"],
"filters": {{}},
"not_in": {{}},
"num_filter": {{}},
"percent": false,
"top": "1",
"bottom": null
}}
Example 4:
User Question: Which Branch in North Carolina with respect to Cibil Score Bucket has the Highest Cibil Score in 2019
{{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Cibil Score", "DPD Bucket"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": ["Branch"],
"filters": {{"Region": ["North Carolina"]}},
"not_in": {{}},
"num_filter": {{}},
"percent": false,
"top": "1",
"bottom": null
}}
Example 5:
User Question: With respect to Zone, Region, Branch, RM Name what is the Highest Loan Amount, Loan Tenure, Loan Outstanding, EMI Pending, Principal Outstanding
{{
"start_date": null,
"end_date": null,
"time_stamp_col": null,
"agg_columns": ["Loan Amount", "Loan Tenure", "Loan Outstanding", "EMI Pending", "Principal Outstanding"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": ["Zone", "Region", "Branch", "RM Name"],
"filters": {{}},
"not_in": {{}},
"num_filter": {{}},
"percent": false,
"top": "1",
"bottom": null
}}
Example 6:
User Question: Top 2 zones by Housing Loan in the year 2019
{{
"start_date": "01-01-2019",
"end_date": "31-12-2019",
"time_stamp_col": "Due Date",
"agg_columns": ["Housing Loan"],
"trend": null,
"to_start_date": null,
"to_end_date": null,
"growth": null,
"variables_grpby": ["Zone"],
"filters": {{"Product": ["Home Loan"]}},
"not_in": {{}},
"num_filter": {{}},
"percent": false,
"top": "2",
"bottom": null
}}
Our test dataset has the following columns: {json_data}
User Question (to be converted): {{{{user_question}}}}'''
prompt_template = prompt_template.replace("{", "{{").replace("}", "}}").replace("{{{{", "{").replace("}}}}", "}")
# Define user's question
user_question = "Which pokemon has the highest attack and which has lowest defense? I need the output in the json format"
# Format the user's question within the template
formatted_question = prompt_template.format(user_question=user_question)
# Load the agent
agent = create_csv_agent(OpenAI(temperature=0), "pokemon.csv", verbose=True)
gpt4_agent = create_csv_agent(ChatOpenAI(temperature=0, model_name="gpt-4"), "pokemon.csv", verbose=True)
# Use the formatted question as the input to your agent
response = agent.run(formatted_question)
# Print the response
print(response)
```
Below is the output which i got
```
> Entering new chain...
Thought: I need to find the highest attack and lowest defense values in the dataset
Action: python_repl_ast
Action Input: df[['Name', 'Attack', 'Defense']].sort_values(by=['Attack', 'Defense'], ascending=[False, True]).head(1).to_json()
Observation: {"Name":{"163":"MewtwoMega Mewtwo X"},"Attack":{"163":190},"Defense":{"163":100}}
Thought: I now know the final answer
Final Answer: The pokemon with the highest attack is MewtwoMega Mewtwo X with an attack of 190 and the pokemon with the lowest defense is MewtwoMega Mewtwo X with a defense of 100.
> Finished chain.
The pokemon with the highest attack is MewtwoMega Mewtwo X with an attack of 190 and the pokemon with the lowest defense is MewtwoMega Mewtwo X with a defense of 100.
```
But the output i need is in the JSON format whichi've mentioned in the prompt_template. Can anyone assist me?
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13686/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13685
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13685/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13685/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13685/events
|
https://github.com/langchain-ai/langchain/issues/13685
| 2,005,192,238 |
I_kwDOIPDwls53hM4u
| 13,685 |
OpenAIModerationChain with OpenAI SDK >= v1.0.0 Broken
|
{
"login": "MrNickBreen",
"id": 1408032,
"node_id": "MDQ6VXNlcjE0MDgwMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1408032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrNickBreen",
"html_url": "https://github.com/MrNickBreen",
"followers_url": "https://api.github.com/users/MrNickBreen/followers",
"following_url": "https://api.github.com/users/MrNickBreen/following{/other_user}",
"gists_url": "https://api.github.com/users/MrNickBreen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MrNickBreen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MrNickBreen/subscriptions",
"organizations_url": "https://api.github.com/users/MrNickBreen/orgs",
"repos_url": "https://api.github.com/users/MrNickBreen/repos",
"events_url": "https://api.github.com/users/MrNickBreen/events{/privacy}",
"received_events_url": "https://api.github.com/users/MrNickBreen/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 6 | 2023-11-21T21:45:08 | 2023-11-28T17:38:22 | null |
NONE
| null |
### System Info
It appears that OpenAI's SDK v1.0.0 update introduced some needed migrations.
Running the Langchain OpenAIModerationChain with OpenAI SDK >= v1.0.0 provides the following error:
```
You tried to access openai.Moderation, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
```
After briefly reading the mitigation steps I believe the suggested migration is from `openai.Moderation.create()` -> `client.moderations.create()`.
I believe the `validate_environment` of `OpenAIModerationChain` will want updating from ```values["client"] = openai.Moderation``` to using the recommended `client.moderations` syntax. (https://api.python.langchain.com/en/latest/_modules/langchain/chains/moderation.html#OpenAIModerationChain)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
With OpenAI SDK >= v1.0.0 try to use `OpenAIModerationChain` to moderate a piece of content.
Error appears:
```
You tried to access openai.Moderation, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
```
### Expected behavior
When using `OpenAIModerationChain` with OpenAI SDK >= v1.0.0 I expect the chain to properly moderate content and not fail with an error.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13685/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/13685/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/13684
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13684/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13684/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13684/events
|
https://github.com/langchain-ai/langchain/pull/13684
| 2,005,181,866 |
PR_kwDOIPDwls5gEcOD
| 13,684 |
Llama support bedrock chat fix
|
{
"login": "WouterDurnez",
"id": 25830509,
"node_id": "MDQ6VXNlcjI1ODMwNTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/25830509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WouterDurnez",
"html_url": "https://github.com/WouterDurnez",
"followers_url": "https://api.github.com/users/WouterDurnez/followers",
"following_url": "https://api.github.com/users/WouterDurnez/following{/other_user}",
"gists_url": "https://api.github.com/users/WouterDurnez/gists{/gist_id}",
"starred_url": "https://api.github.com/users/WouterDurnez/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WouterDurnez/subscriptions",
"organizations_url": "https://api.github.com/users/WouterDurnez/orgs",
"repos_url": "https://api.github.com/users/WouterDurnez/repos",
"events_url": "https://api.github.com/users/WouterDurnez/events{/privacy}",
"received_events_url": "https://api.github.com/users/WouterDurnez/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 1 | 2023-11-21T21:39:37 | 2023-11-21T21:41:59 | 2023-11-21T21:41:54 |
CONTRIBUTOR
| null |
- **Description:** Bug fix for `if` statement in provider select, potentially leading to `NotImplementedError`
- **Issue:** /
- **Dependencies:** /
- **Tag maintainer:** @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13684/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/13684",
"html_url": "https://github.com/langchain-ai/langchain/pull/13684",
"diff_url": "https://github.com/langchain-ai/langchain/pull/13684.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/13684.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13683
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/13683/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13683/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/13683/events
|
https://github.com/langchain-ai/langchain/issues/13683
| 2,005,167,112 |
I_kwDOIPDwls53hGwI
| 13,683 |
[Issue] Error with Bedrock when AWS region is not specified or not in environment variable
|
{
"login": "kaihe-stori",
"id": 93944014,
"node_id": "U_kgDOBZl4zg",
"avatar_url": "https://avatars.githubusercontent.com/u/93944014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaihe-stori",
"html_url": "https://github.com/kaihe-stori",
"followers_url": "https://api.github.com/users/kaihe-stori/followers",
"following_url": "https://api.github.com/users/kaihe-stori/following{/other_user}",
"gists_url": "https://api.github.com/users/kaihe-stori/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kaihe-stori/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaihe-stori/subscriptions",
"organizations_url": "https://api.github.com/users/kaihe-stori/orgs",
"repos_url": "https://api.github.com/users/kaihe-stori/repos",
"events_url": "https://api.github.com/users/kaihe-stori/events{/privacy}",
"received_events_url": "https://api.github.com/users/kaihe-stori/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
closed
| false | null |
[] | null | 2 | 2023-11-21T21:28:42 | 2023-11-30T03:55:47 | 2023-11-30T03:55:47 |
NONE
| null |
### System Info
langchain version: 0.0.339
python: 3.9.17
### 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
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
When creating a Bedrock model without `region_name`
```py
llm_bedrock = Bedrock(model_id='anthropic.claude-instant-v1')
```
It errors out
```py
ValidationError: 1 validation error for Bedrock
__root__
Could not load credentials to authenticate with AWS client. Please check that credentials in the specified profile name are valid. (type=value_error)
```
This works
```py
llm_bedrock = Bedrock(model_id='anthropic.claude-instant-v1', region_name='us-west-2')
```
The problem is from https://github.com/langchain-ai/langchain/blob/bfb980b96800020d90c9362aaad40d8817636711/libs/langchain/langchain/llms/bedrock.py#L203-L207
where `get_from_dict_or_env` raises an exception if region is neither specified nor in env and default is not set.
To fix it, change default from `None` to `session.region_name`.
### Expected behavior
No error is raised.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/13683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/13683/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.