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/11272
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11272/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11272/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11272/events
|
https://github.com/langchain-ai/langchain/issues/11272
| 1,921,054,820
|
I_kwDOIPDwls5ygPhk
| 11,272
|
Another Languaje
|
{
"login": "SilvaRaulEnrique",
"id": 60693919,
"node_id": "MDQ6VXNlcjYwNjkzOTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/60693919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SilvaRaulEnrique",
"html_url": "https://github.com/SilvaRaulEnrique",
"followers_url": "https://api.github.com/users/SilvaRaulEnrique/followers",
"following_url": "https://api.github.com/users/SilvaRaulEnrique/following{/other_user}",
"gists_url": "https://api.github.com/users/SilvaRaulEnrique/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SilvaRaulEnrique/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SilvaRaulEnrique/subscriptions",
"organizations_url": "https://api.github.com/users/SilvaRaulEnrique/orgs",
"repos_url": "https://api.github.com/users/SilvaRaulEnrique/repos",
"events_url": "https://api.github.com/users/SilvaRaulEnrique/events{/privacy}",
"received_events_url": "https://api.github.com/users/SilvaRaulEnrique/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 | 2
| 2023-10-02T00:27:49
| 2023-10-02T02:29:48
| null |
NONE
| null |
### Feature request
Is possible utilizate another languaje, like spanish?
### Motivation
Another Languaje
### Your contribution
I don't
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11272/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11271
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11271/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11271/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11271/events
|
https://github.com/langchain-ai/langchain/pull/11271
| 1,921,026,051
|
PR_kwDOIPDwls5boGS0
| 11,271
|
johnsnowlabs embeddings support
|
{
"login": "C-K-Loan",
"id": 18140070,
"node_id": "MDQ6VXNlcjE4MTQwMDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/18140070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/C-K-Loan",
"html_url": "https://github.com/C-K-Loan",
"followers_url": "https://api.github.com/users/C-K-Loan/followers",
"following_url": "https://api.github.com/users/C-K-Loan/following{/other_user}",
"gists_url": "https://api.github.com/users/C-K-Loan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/C-K-Loan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/C-K-Loan/subscriptions",
"organizations_url": "https://api.github.com/users/C-K-Loan/orgs",
"repos_url": "https://api.github.com/users/C-K-Loan/repos",
"events_url": "https://api.github.com/users/C-K-Loan/events{/privacy}",
"received_events_url": "https://api.github.com/users/C-K-Loan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-10-01T23:19:17
| 2023-10-27T03:22:50
| 2023-10-27T03:22:50
|
CONTRIBUTOR
| null |
- **Description:** Introducing the [JohnSnowLabsEmbeddings](https://www.johnsnowlabs.com/)
- **Dependencies:** johnsnowlabs
- **Tag maintainer:** @C-K-Loan
- **Twitter handle:** https://twitter.com/JohnSnowLabs https://twitter.com/ChristianKasimL
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11271/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11271",
"html_url": "https://github.com/langchain-ai/langchain/pull/11271",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11271.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11271.patch",
"merged_at": "2023-10-27T03:22:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11270
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11270/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11270/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11270/events
|
https://github.com/langchain-ai/langchain/pull/11270
| 1,920,999,592
|
PR_kwDOIPDwls5boA7h
| 11,270
|
Fix line break in docs imports
|
{
"login": "JoaoCarabetta",
"id": 19963732,
"node_id": "MDQ6VXNlcjE5OTYzNzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/19963732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoaoCarabetta",
"html_url": "https://github.com/JoaoCarabetta",
"followers_url": "https://api.github.com/users/JoaoCarabetta/followers",
"following_url": "https://api.github.com/users/JoaoCarabetta/following{/other_user}",
"gists_url": "https://api.github.com/users/JoaoCarabetta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JoaoCarabetta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JoaoCarabetta/subscriptions",
"organizations_url": "https://api.github.com/users/JoaoCarabetta/orgs",
"repos_url": "https://api.github.com/users/JoaoCarabetta/repos",
"events_url": "https://api.github.com/users/JoaoCarabetta/events{/privacy}",
"received_events_url": "https://api.github.com/users/JoaoCarabetta/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-10-01T22:10:32
| 2023-10-02T19:37:17
| 2023-10-02T19:37:16
|
CONTRIBUTOR
| null |
It is just a straightforward docs fix.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11270/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11270/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11270",
"html_url": "https://github.com/langchain-ai/langchain/pull/11270",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11270.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11270.patch",
"merged_at": "2023-10-02T19:37:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11269
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11269/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11269/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11269/events
|
https://github.com/langchain-ai/langchain/pull/11269
| 1,920,937,186
|
PR_kwDOIPDwls5bn0OZ
| 11,269
|
Consolidate run collector. Add link helper
|
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-10-01T19:43:09
| 2023-10-03T13:21:00
| 2023-10-03T13:20:59
|
COLLABORATOR
| null |
Instead of:
```
client = Client()
with collect_runs() as cb:
chain.invoke()
run = cb.traced_runs[0]
client.get_run_url(run)
```
it's
```
with tracing_v2_enabled() as cb:
chain.invoke()
cb.get_run_url()
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11269/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11269",
"html_url": "https://github.com/langchain-ai/langchain/pull/11269",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11269.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11269.patch",
"merged_at": "2023-10-03T13:20:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11268
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11268/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11268/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11268/events
|
https://github.com/langchain-ai/langchain/issues/11268
| 1,920,886,661
|
I_kwDOIPDwls5yfmeF
| 11,268
|
Chat cache results in KeyError: 'message'
|
{
"login": "OrLevy23",
"id": 21291210,
"node_id": "MDQ6VXNlcjIxMjkxMjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/21291210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OrLevy23",
"html_url": "https://github.com/OrLevy23",
"followers_url": "https://api.github.com/users/OrLevy23/followers",
"following_url": "https://api.github.com/users/OrLevy23/following{/other_user}",
"gists_url": "https://api.github.com/users/OrLevy23/gists{/gist_id}",
"starred_url": "https://api.github.com/users/OrLevy23/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OrLevy23/subscriptions",
"organizations_url": "https://api.github.com/users/OrLevy23/orgs",
"repos_url": "https://api.github.com/users/OrLevy23/repos",
"events_url": "https://api.github.com/users/OrLevy23/events{/privacy}",
"received_events_url": "https://api.github.com/users/OrLevy23/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-10-01T17:48:12
| 2023-11-10T11:17:00
| null |
NONE
| null |
### System Info
I'm trying to use langchain with cache using gptcache, using pydantic models
(prior to this message I'm building prompt of mixed human and system messages)
```
chain = create_structured_output_chain(Job, llm, prompt, verbose=False)
res = chain.run({'job': job})
```
when not using cache everything seems to work but when getting from cache I'm seeing this error:
```
File "/Users/orlevy/Projects/tfg/llm-service/venv/lib/python3.9/site-packages/langchain/schema/output.py", line 62, in set_text
values["text"] = values["message"].content
KeyError: 'message'
```
When I digged a little further it seems like this code, is not generating the same response (we are losing function call response) :
<img width="661" alt="image" src="https://github.com/langchain-ai/langchain/assets/21291210/cfeccb45-4806-4f85-a01c-67b42a882c8d">
modified code a bit(not sure if this is actually a good idea) but this one seems to work for chat:
```
res = get(prompt, cache_obj=_gptcache)
if res:
return [
ChatGeneration(
message=AIMessage(content='',
additional_kwargs=generation_dict['message']['additional_kwargs']
),
generation_info=dict(finish_reason=generation_dict.get("finish_reason")),
) for generation_dict in json.loads(res)
]
```
would really appreciate
your help with this
### 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
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. use chat with chain messages
2. use cachegpt (used postgres)
3. make one call
4. cache should be populated
5. from that point on when using cache we see error
### Expected behavior
I should be able to use cache
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11268/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11268/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11263
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11263/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11263/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11263/events
|
https://github.com/langchain-ai/langchain/pull/11263
| 1,920,792,991
|
PR_kwDOIPDwls5bnWrZ
| 11,263
|
feat(graph_sparql_qa): return formatted SPARQL query on demand
|
{
"login": "reidfalconer",
"id": 26482317,
"node_id": "MDQ6VXNlcjI2NDgyMzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/26482317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reidfalconer",
"html_url": "https://github.com/reidfalconer",
"followers_url": "https://api.github.com/users/reidfalconer/followers",
"following_url": "https://api.github.com/users/reidfalconer/following{/other_user}",
"gists_url": "https://api.github.com/users/reidfalconer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/reidfalconer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/reidfalconer/subscriptions",
"organizations_url": "https://api.github.com/users/reidfalconer/orgs",
"repos_url": "https://api.github.com/users/reidfalconer/repos",
"events_url": "https://api.github.com/users/reidfalconer/events{/privacy}",
"received_events_url": "https://api.github.com/users/reidfalconer/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 | 1
| 2023-10-01T14:22:13
| 2023-10-01T14:35:35
| null |
NONE
| null |
- **Description:** Added the `return_sparql_query` feature to the `GraphSparqlQAChain` class, allowing users to get the formatted SPARQL query along with the chain's result.
- **Issue:** NA
- **Dependencies:** None
Note: I've ensured that the PR passes linting and testing by running make format, make lint, and make test locally.
I have added a test for the integration (which relies on network access) and I have added an example to the notebook showing its use.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11263/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11263",
"html_url": "https://github.com/langchain-ai/langchain/pull/11263",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11263.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11263.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11262
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11262/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11262/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11262/events
|
https://github.com/langchain-ai/langchain/issues/11262
| 1,920,763,561
|
I_kwDOIPDwls5yfIap
| 11,262
|
SystemMessage not updating system prompt
|
{
"login": "Tejaswgupta",
"id": 41832833,
"node_id": "MDQ6VXNlcjQxODMyODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/41832833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tejaswgupta",
"html_url": "https://github.com/Tejaswgupta",
"followers_url": "https://api.github.com/users/Tejaswgupta/followers",
"following_url": "https://api.github.com/users/Tejaswgupta/following{/other_user}",
"gists_url": "https://api.github.com/users/Tejaswgupta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tejaswgupta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tejaswgupta/subscriptions",
"organizations_url": "https://api.github.com/users/Tejaswgupta/orgs",
"repos_url": "https://api.github.com/users/Tejaswgupta/repos",
"events_url": "https://api.github.com/users/Tejaswgupta/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tejaswgupta/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false
| null |
[] | null | 1
| 2023-10-01T13:18:15
| 2023-10-01T13:25:34
| null |
NONE
| null |
I'm using create_conversational_retrieval_agent to create an agent and also passing in a system prompt. However , the prompt is passed in as user message, is this expected behavior?
```
conv_agent_executor = create_conversational_retrieval_agent(
llm, tools, verbose=False,
system_message=SystemMessage(
content="Your name is Votum, an expert legal assistant with extensive knowledge about Indian law. Your task is to respond to the given query in a factually correct and concise manner unless asked for a detailed explanation. Feel free to use any tools available to look up relevant information, only if necessary")
)
```
Server Logs:
```
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Your are an expert legal assistant with extensive knowledge about Indian law. Your task is to respond to the given query in a factually correct and concise manner unless asked for a detailed explanation. Feel free to use any tools available to look up relevant information, only if necessary
Answer the following questions as best you can. You have access to the following APIs:
search: Call this tool to interact with the search API. What is the search API useful for? search(query: str) -> str - Useful for retrieving documents related to Indian law. Parameters: {"title": "SearchInput", "type": "object", "properties": {"query": {"title": "Query", "description": "should be a search query in string format", "type": "string"}}, "required": ["query"]}
Use the following format:
Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [search]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can be repeated zero or more times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question
Begin!
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11262/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11262/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11261
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11261/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11261/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11261/events
|
https://github.com/langchain-ai/langchain/issues/11261
| 1,920,758,064
|
I_kwDOIPDwls5yfHEw
| 11,261
|
SmartLLMChain errors with Bedrock Anthropic models and n_ideas>1
|
{
"login": "austinmw",
"id": 12224358,
"node_id": "MDQ6VXNlcjEyMjI0MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/austinmw",
"html_url": "https://github.com/austinmw",
"followers_url": "https://api.github.com/users/austinmw/followers",
"following_url": "https://api.github.com/users/austinmw/following{/other_user}",
"gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/austinmw/subscriptions",
"organizations_url": "https://api.github.com/users/austinmw/orgs",
"repos_url": "https://api.github.com/users/austinmw/repos",
"events_url": "https://api.github.com/users/austinmw/events{/privacy}",
"received_events_url": "https://api.github.com/users/austinmw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-10-01T13:06:07
| 2024-01-09T21:50:51
| null |
NONE
| null |
### System Info
langchain version v0.0.305
Python 3.11
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
claudev2 = BedrockChat(
client=bedrock_inference,
model_id="anthropic.claude-v2",
)
from langchain.prompts import PromptTemplate
from langchain.chat_models import ChatOpenAI
from langchain_experimental.smart_llm import SmartLLMChain
prompt = PromptTemplate.from_template(hard_question)
chain = SmartLLMChain(
llm=claudev2,
prompt=prompt,
n_ideas=2,
)
response = chain.run({} )
print(response)
```
Results in error:
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
[/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb) Cell 10 line 1
[5](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=4) prompt = PromptTemplate.from_template(hard_question)
[7](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=6) chain = SmartLLMChain(
[8](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=7) ideation_llm=claudev2,
[9](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=8) critique_llm=claudeinstant,
(...)
[15](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=14) #verbose=True,
[16](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=15) )
---> [18](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=17) response = chain.run({} )
[20](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=19) print(response)
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:507](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:507), in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
505 if len(args) != 1:
506 raise ValueError("`run` supports only one positional argument.")
--> 507 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
508 _output_key
509 ]
511 if kwargs and not args:
512 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
513 _output_key
514 ]
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:312](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:312), in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
310 except BaseException as e:
311 run_manager.on_chain_error(e)
--> 312 raise e
313 run_manager.on_chain_end(outputs)
314 final_outputs: Dict[str, Any] = self.prep_outputs(
315 inputs, outputs, return_only_outputs
316 )
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:306](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chains/base.py:306), in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
299 run_manager = callback_manager.on_chain_start(
300 dumpd(self),
301 inputs,
302 name=run_name,
303 )
304 try:
305 outputs = (
--> 306 self._call(inputs, run_manager=run_manager)
307 if new_arg_supported
308 else self._call(inputs)
309 )
310 except BaseException as e:
311 run_manager.on_chain_error(e)
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain_experimental/smart_llm/base.py:166](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain_experimental/smart_llm/base.py:166), in SmartLLMChain._call(self, input_list, run_manager)
164 ideas = self._ideate(stop, run_manager)
165 self.history.ideas = ideas
--> 166 critique = self._critique(stop, run_manager)
167 self.history.critique = critique
168 resolution = self._resolve(stop, run_manager)
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain_experimental/smart_llm/base.py:293](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain_experimental/smart_llm/base.py:293), in SmartLLMChain._critique(self, stop, run_manager)
290 callbacks = run_manager.handlers if run_manager else None
291 if llm:
292 critique = self._get_text_from_llm_result(
--> 293 llm.generate_prompt([prompt], stop, callbacks), step="critique"
294 )
295 _colored_text = get_colored_text(critique, "yellow")
296 _text = "Critique:\n" + _colored_text
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:475](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:475), in BaseChatModel.generate_prompt(self, prompts, stop, callbacks, **kwargs)
467 def generate_prompt(
468 self,
469 prompts: List[PromptValue],
(...)
472 **kwargs: Any,
473 ) -> LLMResult:
474 prompt_messages = [p.to_messages() for p in prompts]
--> 475 return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs)
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:365](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:365), in BaseChatModel.generate(self, messages, stop, callbacks, tags, metadata, run_name, **kwargs)
363 if run_managers:
364 run_managers[i].on_llm_error(e)
--> 365 raise e
366 flattened_outputs = [
367 LLMResult(generations=[res.generations], llm_output=res.llm_output)
368 for res in results
369 ]
370 llm_output = self._combine_llm_outputs([res.llm_output for res in results])
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:355](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:355), in BaseChatModel.generate(self, messages, stop, callbacks, tags, metadata, run_name, **kwargs)
352 for i, m in enumerate(messages):
353 try:
354 results.append(
--> 355 self._generate_with_cache(
356 m,
357 stop=stop,
358 run_manager=run_managers[i] if run_managers else None,
359 **kwargs,
360 )
361 )
362 except BaseException as e:
363 if run_managers:
File [~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:507](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/~/mambaforge/envs/bedrock/lib/python3.11/site-packages/langchain/chat_models/base.py:507), in BaseChatModel._generate_with_cache(self, messages, stop, run_manager, **kwargs)
503 raise ValueError(
504 "Asked to cache, but no cache found at `langchain.cache`."
505 )
506 if new_arg_supported:
--> 507 return self._generate(
508 messages, stop=stop, run_manager=run_manager, **kwargs
509 )
510 else:
511 return self._generate(messages, stop=stop, **kwargs)
[/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb) Cell 10 line 3
[366](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=365) if stop:
[367](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=366) params["stop_sequences"] = stop
--> [369](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=368) completion = self._prepare_input_and_invoke(
[370](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=369) prompt=prompt, stop=stop, run_manager=run_manager, **params
[371](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=370) )
[373](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=372) message = AIMessage(content=completion)
[374](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=373) return ChatResult(generations=[ChatGeneration(message=message)])
[/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb) Cell 10 line 2
[223](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=222) provider = self._get_provider()
[224](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=223) params = {**_model_kwargs, **kwargs}
--> [225](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=224) input_body = LLMInputOutputAdapterv2.prepare_input(provider, prompt, params)
[226](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=225) body = json.dumps(input_body)
[227](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=226) accept = "application/json"
[/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb) Cell 10 line 7
[73](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=72) input_body = {**model_kwargs}
[74](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=73) if provider == "anthropic":
---> [75](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=74) input_body["prompt"] = _human_assistant_format_v2(prompt)
[76](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=75) elif provider == "ai21":
[77](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=76) input_body["prompt"] = prompt
[/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb) Cell 10 line 4
[47](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=46) count += 1
[48](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=47) else:
---> [49](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=48) raise ValueError(ALTERNATION_ERROR)
[51](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=50) if count % 2 == 1: # Only saw Human, no Assistant
[52](vscode-notebook-cell:/Users/austinmw/Desktop/bedrocktesting/bedrock_test.ipynb#X14sZmlsZQ%3D%3D?line=51) input_text = input_text + ASSISTANT_PROMPT # SILENT CORRECTION
ValueError: Error: Prompt must alternate between '
Human:' and '
Assistant:'.
```
### Expected behavior
No error
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11261/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11260
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11260/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11260/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11260/events
|
https://github.com/langchain-ai/langchain/issues/11260
| 1,920,745,638
|
I_kwDOIPDwls5yfECm
| 11,260
|
Sub Question Query Engine
|
{
"login": "austinmw",
"id": 12224358,
"node_id": "MDQ6VXNlcjEyMjI0MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/austinmw",
"html_url": "https://github.com/austinmw",
"followers_url": "https://api.github.com/users/austinmw/followers",
"following_url": "https://api.github.com/users/austinmw/following{/other_user}",
"gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/austinmw/subscriptions",
"organizations_url": "https://api.github.com/users/austinmw/orgs",
"repos_url": "https://api.github.com/users/austinmw/repos",
"events_url": "https://api.github.com/users/austinmw/events{/privacy}",
"received_events_url": "https://api.github.com/users/austinmw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 3
| 2023-10-01T12:37:44
| 2023-12-07T05:49:37
| null |
NONE
| null |
### Feature request
Hi, does langchain have a feature similar to LlamaIndex's [Sub Question Query Engine](https://gpt-index.readthedocs.io/en/latest/examples/query_engine/sub_question_query_engine.html)? If not, I'd like to submit a feature request!
### Motivation
This capability is very useful!
### Your contribution
Not sure.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11260/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11260/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11259
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11259/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11259/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11259/events
|
https://github.com/langchain-ai/langchain/pull/11259
| 1,920,745,420
|
PR_kwDOIPDwls5bnM8Y
| 11,259
|
rename repo namespace to langchain-ai
|
{
"login": "kzk-maeda",
"id": 18380243,
"node_id": "MDQ6VXNlcjE4MzgwMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18380243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kzk-maeda",
"html_url": "https://github.com/kzk-maeda",
"followers_url": "https://api.github.com/users/kzk-maeda/followers",
"following_url": "https://api.github.com/users/kzk-maeda/following{/other_user}",
"gists_url": "https://api.github.com/users/kzk-maeda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kzk-maeda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kzk-maeda/subscriptions",
"organizations_url": "https://api.github.com/users/kzk-maeda/orgs",
"repos_url": "https://api.github.com/users/kzk-maeda/repos",
"events_url": "https://api.github.com/users/kzk-maeda/events{/privacy}",
"received_events_url": "https://api.github.com/users/kzk-maeda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-10-01T12:37:15
| 2023-10-01T19:31:06
| 2023-10-01T19:30:58
|
CONTRIBUTOR
| null |
### Description
renamed several repository links from `hwchase17` to `langchain-ai`.
### Why
I discovered that the README file in the devcontainer contains an old repository name, so I took the opportunity to rename the old repository name in all files within the repository, excluding those that do not require changes.
### Dependencies
none
### Tag maintainer
@baskaryan
### Twitter handle
[kzk_maeda](https://twitter.com/kzk_maeda)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11259/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11259",
"html_url": "https://github.com/langchain-ai/langchain/pull/11259",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11259.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11259.patch",
"merged_at": "2023-10-01T19:30:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11258
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11258/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11258/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11258/events
|
https://github.com/langchain-ai/langchain/issues/11258
| 1,920,688,423
|
I_kwDOIPDwls5ye2En
| 11,258
|
ChatOpenAI: Exception InvalidRequestError changes bound "self"
|
{
"login": "baseprime",
"id": 1062622,
"node_id": "MDQ6VXNlcjEwNjI2MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1062622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baseprime",
"html_url": "https://github.com/baseprime",
"followers_url": "https://api.github.com/users/baseprime/followers",
"following_url": "https://api.github.com/users/baseprime/following{/other_user}",
"gists_url": "https://api.github.com/users/baseprime/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baseprime/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baseprime/subscriptions",
"organizations_url": "https://api.github.com/users/baseprime/orgs",
"repos_url": "https://api.github.com/users/baseprime/repos",
"events_url": "https://api.github.com/users/baseprime/events{/privacy}",
"received_events_url": "https://api.github.com/users/baseprime/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-10-01T10:23:41
| 2023-10-01T11:52:12
| 2023-10-01T10:52:33
|
NONE
| null |
### System Info
|Name|Detail|
|--------|--------|
| Python | `3.10.13` |
| LangChain | `0.0.301` |
| System | MacOS `12.2.1` |
### Bug Detail
Playing around with a recursive function to decrement value `k` and ran into an issue whereby `self` is overwritten and bound to instance of `openai.error.InvalidRequestError` when the exception is caught. Note in the code below, the `AttributeError` exception is thrown when `self.save()` is executed upon a successful `run()` or `try` where `openai.error.InvalidRequestError` is not thrown.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
**The code below is a gross oversimplification, but it illustrates how I found this bug:**
```python
class SomeModel(models.Model):
query = models.CharField(max_length=255)
response = models.TextField()
def save(self, *args, **kwargs):
# Unmodified Django save method
return super().save(*args, **kwargs)
def run(self, kb, k=5):
try:
llm = ChatOpenAI()
chain = load_qa_chain(llm=llm, chain_type='stuff')
self.response = chain.run(input_documents=[], human_input=self.query)
self.save() # AttributeError: 'InvalidRequestError' object has no attribute 'save'
except (openai.error.InvalidRequestError,) as e:
if k < 2:
raise e
new_k_val = k - 1
print('K value too high. Trying with %s' % new_k_val)
return self.run(kb, k=new_k_val)
```
### Expected behavior
Where exception happens, `self` should not be bound to another instance/instance of `openai.error.InvalidRequestError`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11258/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11257
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11257/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11257/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11257/events
|
https://github.com/langchain-ai/langchain/pull/11257
| 1,920,660,925
|
PR_kwDOIPDwls5bm7h5
| 11,257
|
[fix] create redis vector index before adding docs, add prefix to doc…
|
{
"login": "a9raag",
"id": 4312730,
"node_id": "MDQ6VXNlcjQzMTI3MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4312730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/a9raag",
"html_url": "https://github.com/a9raag",
"followers_url": "https://api.github.com/users/a9raag/followers",
"following_url": "https://api.github.com/users/a9raag/following{/other_user}",
"gists_url": "https://api.github.com/users/a9raag/gists{/gist_id}",
"starred_url": "https://api.github.com/users/a9raag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/a9raag/subscriptions",
"organizations_url": "https://api.github.com/users/a9raag/orgs",
"repos_url": "https://api.github.com/users/a9raag/repos",
"events_url": "https://api.github.com/users/a9raag/events{/privacy}",
"received_events_url": "https://api.github.com/users/a9raag/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": 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"
}
] |
closed
| false
| null |
[] | null | 7
| 2023-10-01T09:19:07
| 2023-10-24T17:51:26
| 2023-10-24T17:51:25
|
CONTRIBUTOR
| null |
Fix Description:
For Redis Vector integration in add_texts method, there were two issues that lead to this bug.
1. Vector index is not being created leading to no such_index error
2. `doc:index` prefix was also missing for Redis Keys.
resolves #11197
Maintainer: @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11257/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/11257/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11257",
"html_url": "https://github.com/langchain-ai/langchain/pull/11257",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11257.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11257.patch",
"merged_at": "2023-10-24T17:51:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11256
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11256/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11256/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11256/events
|
https://github.com/langchain-ai/langchain/pull/11256
| 1,920,632,960
|
PR_kwDOIPDwls5bm1wb
| 11,256
|
Fix typo in docstring
|
{
"login": "Yeonji-Lim",
"id": 57888020,
"node_id": "MDQ6VXNlcjU3ODg4MDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/57888020?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yeonji-Lim",
"html_url": "https://github.com/Yeonji-Lim",
"followers_url": "https://api.github.com/users/Yeonji-Lim/followers",
"following_url": "https://api.github.com/users/Yeonji-Lim/following{/other_user}",
"gists_url": "https://api.github.com/users/Yeonji-Lim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Yeonji-Lim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Yeonji-Lim/subscriptions",
"organizations_url": "https://api.github.com/users/Yeonji-Lim/orgs",
"repos_url": "https://api.github.com/users/Yeonji-Lim/repos",
"events_url": "https://api.github.com/users/Yeonji-Lim/events{/privacy}",
"received_events_url": "https://api.github.com/users/Yeonji-Lim/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-10-01T08:11:13
| 2023-10-01T19:55:12
| 2023-10-01T19:55:12
|
CONTRIBUTOR
| null |
Description : Remove meaningless 's' in docstring
<!-- 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/hwchase17/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/11256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11256/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11256",
"html_url": "https://github.com/langchain-ai/langchain/pull/11256",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11256.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11256.patch",
"merged_at": "2023-10-01T19:55:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11255
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11255/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11255/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11255/events
|
https://github.com/langchain-ai/langchain/pull/11255
| 1,920,545,447
|
PR_kwDOIPDwls5bmjpE
| 11,255
|
use jq schema for content_key in json_loader
|
{
"login": "kzk-maeda",
"id": 18380243,
"node_id": "MDQ6VXNlcjE4MzgwMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18380243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kzk-maeda",
"html_url": "https://github.com/kzk-maeda",
"followers_url": "https://api.github.com/users/kzk-maeda/followers",
"following_url": "https://api.github.com/users/kzk-maeda/following{/other_user}",
"gists_url": "https://api.github.com/users/kzk-maeda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kzk-maeda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kzk-maeda/subscriptions",
"organizations_url": "https://api.github.com/users/kzk-maeda/orgs",
"repos_url": "https://api.github.com/users/kzk-maeda/repos",
"events_url": "https://api.github.com/users/kzk-maeda/events{/privacy}",
"received_events_url": "https://api.github.com/users/kzk-maeda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false
| null |
[] | null | 1
| 2023-10-01T04:12:17
| 2023-10-05T15:11:06
| null |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
### Description
Changed the value specified for `content_key` in JSONLoader from a single key to a value based on jq schema.
Sorry, I created the [same Pull Request](https://github.com/langchain-ai/langchain/pull/8075) in the past, but some time has elapsed and it was closed, so I am recreating it.
### Why
For json data like the following, specify `.data[].attributes.message` for page_content and `.data[].attributes.id` or `.data[].attributes.attributes. tags`, etc., the `content_key` must also parse the json structure.
<details>
<summary>sample json data</summary>
```json
{
"data": [
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"source": "stderr",
"service": "worker",
"name": "app.services.predict_services",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407827.0
},
"message": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.827000+09:00"
},
"id": "AgAAAYi17UzTUeIczgAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRAAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
},
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"process": 42.0,
"messages": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407831.0
},
"message": "{\"messages\": \"error while processing user #19084: 'numpy.dtype[bool_]' object is not callable\"}",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.831000+09:00"
},
"id": "AgAAAYi17UzXUeIczwAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRQAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
}
],
"meta": {
"elapsed": 26,
"request_id": "pddv1ChY0SmttaDA0a1REeXZRM01yNkFwYnd3Ii0KHWIANr8mghGpsMIX2cOarI6t4WyTVObXx3wrAuudEgzSbtmduLtPxFVkSo0",
"status": "done"
}
}
```
</details>
<details>
<summary>sample code</summary>
```python
def metadata_func(record: dict, metadata: dict) -> dict:
print(record)
metadata["id"] = record.get("id")
metadata["tags"] = record["attributes"].get("tags")
return metadata
sample_file = "sample.json"
loader = JSONLoader(
file_path=sample_file,
jq_schema=".data[]",
content_key=".attributes.message",
metadata_func=metadata_func
)
```
</details>
### Dependencies
none
### Tag maintainer
@rlancemartin, @eyurtsev
### Twitter handle
[kzk_maeda](https://twitter.com/kzk_maeda)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11255/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11255",
"html_url": "https://github.com/langchain-ai/langchain/pull/11255",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11255.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11255.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11254
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11254/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11254/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11254/events
|
https://github.com/langchain-ai/langchain/pull/11254
| 1,920,484,459
|
PR_kwDOIPDwls5bmWcV
| 11,254
|
Fix json loader
|
{
"login": "kzk-maeda",
"id": 18380243,
"node_id": "MDQ6VXNlcjE4MzgwMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18380243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kzk-maeda",
"html_url": "https://github.com/kzk-maeda",
"followers_url": "https://api.github.com/users/kzk-maeda/followers",
"following_url": "https://api.github.com/users/kzk-maeda/following{/other_user}",
"gists_url": "https://api.github.com/users/kzk-maeda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kzk-maeda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kzk-maeda/subscriptions",
"organizations_url": "https://api.github.com/users/kzk-maeda/orgs",
"repos_url": "https://api.github.com/users/kzk-maeda/repos",
"events_url": "https://api.github.com/users/kzk-maeda/events{/privacy}",
"received_events_url": "https://api.github.com/users/kzk-maeda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-10-01T01:34:09
| 2023-10-01T01:49:22
| 2023-10-01T01:39:07
|
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
### Description
Changed the value specified for `content_key` in JSONLoader from a single key to a value based on jq schema.
Sorry, I created the [same Pull Request](https://github.com/langchain-ai/langchain/pull/8075) in the past, but some time has elapsed and it was closed, so I am recreating it.
### Why
For json data like the following, specify `.data[].attributes.message` for page_content and `.data[].attributes.id` or `.data[].attributes.attributes. tags`, etc., the `content_key` must also parse the json structure.
<details>
<summary>sample json data</summary>
```json
{
"data": [
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"source": "stderr",
"service": "worker",
"name": "app.services.predict_services",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407827.0
},
"message": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.827000+09:00"
},
"id": "AgAAAYi17UzTUeIczgAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRAAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
},
{
"attributes": {
"attributes": {
"dd": {
"service": "worker",
"env": "production",
"version": "6b2c46a5883a9097aa2cb09907786b5c06ca3bd0"
},
"process": 42.0,
"messages": "error while processing user #19084: 'numpy.dtype[bool_]' object is not callable",
"levelname": "ERROR",
"container_id": "f9f880b243cc41f1a7d9bae5bf922d60-1262558729",
"timestamp": 1686679407831.0
},
"message": "{\"messages\": \"error while processing user #19084: 'numpy.dtype[bool_]' object is not callable\"}",
"service": "worker",
"status": "error",
"tags": [
"datadog.submission_auth:private_api_key",
"env:production"
],
"timestamp": "2023-06-14T03:03:27.831000+09:00"
},
"id": "AgAAAYi17UzXUeIczwAAAAAAAAAYAAAAAEFZaTE3VThXQUFEOF9sS2J4Z3psRmdBRQAAACQAAAAAMDE4OGI2MzYtMmZlNC00ZDEwLThjZDMtMzhkZTI0NmUyNWMz",
"type": "log"
}
],
"meta": {
"elapsed": 26,
"request_id": "pddv1ChY0SmttaDA0a1REeXZRM01yNkFwYnd3Ii0KHWIANr8mghGpsMIX2cOarI6t4WyTVObXx3wrAuudEgzSbtmduLtPxFVkSo0",
"status": "done"
}
}
```
</details>
<details>
<summary>sample code</summary>
```python
def metadata_func(record: dict, metadata: dict) -> dict:
print(record)
metadata["id"] = record.get("id")
metadata["tags"] = record["attributes"].get("tags")
return metadata
sample_file = "sample.json"
loader = JSONLoader(
file_path=sample_file,
jq_schema='.data[].attributes.message',
content_key="data",
metadata_func=metadata_func
)
```
</details>
### Dependencies
none
### Tag maintainer
@rlancemartin, @eyurtsev
### Twitter handle
[kzk_maeda](https://twitter.com/kzk_maeda)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11254/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11254",
"html_url": "https://github.com/langchain-ai/langchain/pull/11254",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11254.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11254.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11252
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11252/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11252/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11252/events
|
https://github.com/langchain-ai/langchain/issues/11252
| 1,920,348,709
|
I_kwDOIPDwls5ydjIl
| 11,252
|
Implement a custom LangChain class wrapper (LLM model/Agent) for StarCoder model
|
{
"login": "mratanusarkar",
"id": 34891206,
"node_id": "MDQ6VXNlcjM0ODkxMjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/34891206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mratanusarkar",
"html_url": "https://github.com/mratanusarkar",
"followers_url": "https://api.github.com/users/mratanusarkar/followers",
"following_url": "https://api.github.com/users/mratanusarkar/following{/other_user}",
"gists_url": "https://api.github.com/users/mratanusarkar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mratanusarkar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mratanusarkar/subscriptions",
"organizations_url": "https://api.github.com/users/mratanusarkar/orgs",
"repos_url": "https://api.github.com/users/mratanusarkar/repos",
"events_url": "https://api.github.com/users/mratanusarkar/events{/privacy}",
"received_events_url": "https://api.github.com/users/mratanusarkar/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": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 11
| 2023-09-30T17:57:16
| 2023-11-29T05:38:36
| null |
NONE
| null |
### Feature request
Is it possible to integrate any language model (LM) trained on source code or opensource codebases on various programming languages e.g. :
- [StarCoder](https://github.com/bigcode-project/starcoder)
- [replit/replit-code-v1-3b](https://huggingface.co/replit/replit-code-v1-3b)
- [Bloom](https://bigscience.huggingface.co/blog/bloom)
- etc...
as an [LLM Model](https://python.langchain.com/en/latest/modules/models.html) or an [Agent](https://python.langchain.com/en/latest/modules/agents.html) with [LangChain](https://github.com/hwchase17/langchain), and [chain](https://python.langchain.com/en/latest/modules/chains.html) it in a complex usecase?
It would be really cool if, during a general query, the LangChain system has the capability to understand code context (possibly when chained to a vector DB or any data source that contains code or a full code repo), _kind of like chatting with your codebase_!
Any help / hints on the same would be appreciated!
### Motivation
Initially inspired by this [Issue #173](https://github.com/nomic-ai/gpt4all/issues/173)
Raised a similar Issue long back with StarCoder [Issue #53](https://github.com/bigcode-project/starcoder/issues/53)
### Your contribution
n/a
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11252/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11251
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11251/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11251/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11251/events
|
https://github.com/langchain-ai/langchain/pull/11251
| 1,920,308,581
|
PR_kwDOIPDwls5blzrN
| 11,251
|
Clarifai integration doc improvements
|
{
"login": "isaac-chung",
"id": 48971969,
"node_id": "MDQ6VXNlcjQ4OTcxOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/48971969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isaac-chung",
"html_url": "https://github.com/isaac-chung",
"followers_url": "https://api.github.com/users/isaac-chung/followers",
"following_url": "https://api.github.com/users/isaac-chung/following{/other_user}",
"gists_url": "https://api.github.com/users/isaac-chung/gists{/gist_id}",
"starred_url": "https://api.github.com/users/isaac-chung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isaac-chung/subscriptions",
"organizations_url": "https://api.github.com/users/isaac-chung/orgs",
"repos_url": "https://api.github.com/users/isaac-chung/repos",
"events_url": "https://api.github.com/users/isaac-chung/events{/privacy}",
"received_events_url": "https://api.github.com/users/isaac-chung/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 2
| 2023-09-30T15:55:01
| 2023-10-04T06:05:03
| 2023-10-04T01:47:57
|
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/hwchase17/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:** Doc corrections and resolve notebook rendering issue on GH
- **Issue:** N/A
- **Dependencies:** N/A
- **Tag maintainer:** @baskaryan
- **Twitter handle:** `@isaacchung1217`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11251/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11251",
"html_url": "https://github.com/langchain-ai/langchain/pull/11251",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11251.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11251.patch",
"merged_at": "2023-10-04T01:47:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11250
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11250/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11250/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11250/events
|
https://github.com/langchain-ai/langchain/issues/11250
| 1,920,300,925
|
I_kwDOIPDwls5ydXd9
| 11,250
|
Error importing DynamoDBChatMessageHistory
|
{
"login": "jfamestad",
"id": 6542125,
"node_id": "MDQ6VXNlcjY1NDIxMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6542125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jfamestad",
"html_url": "https://github.com/jfamestad",
"followers_url": "https://api.github.com/users/jfamestad/followers",
"following_url": "https://api.github.com/users/jfamestad/following{/other_user}",
"gists_url": "https://api.github.com/users/jfamestad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jfamestad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jfamestad/subscriptions",
"organizations_url": "https://api.github.com/users/jfamestad/orgs",
"repos_url": "https://api.github.com/users/jfamestad/repos",
"events_url": "https://api.github.com/users/jfamestad/events{/privacy}",
"received_events_url": "https://api.github.com/users/jfamestad/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-30T15:34:02
| 2023-12-30T16:01:25
| null |
NONE
| null |
### System Info
I am following this example: https://python.langchain.com/docs/integrations/memory/dynamodb_chat_message_history
When attempting to import DynamoDBChatMessageHistory I am receiving an error
`from langchain.memory.chat_message_histories import DynamoDBChatMessageHistory`
`---------------------------------------------------------------------------
PydanticUserError Traceback (most recent call last)
/var/folders/jq/w80pdyz11zbbhbvz7p8795gh0000gn/T/ipykernel_9395/3590968237.py in <module>
----> 1 from langchain.memory.chat_message_histories import DynamoDBChatMessageHistory
2
3 # history = DynamoDBChatMessageHistory(table_name="SessionTable", session_id="0")
4
5 # history.add_user_message("hi!")
/usr/local/lib/python3.9/site-packages/langchain/__init__.py in <module>
4 from typing import Optional
5
----> 6 from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
7 from langchain.cache import BaseCache
8 from langchain.chains import (
/usr/local/lib/python3.9/site-packages/langchain/agents/__init__.py in <module>
1 """Interface for agents."""
----> 2 from langchain.agents.agent import (
3 Agent,
4 AgentExecutor,
5 AgentOutputParser,
/usr/local/lib/python3.9/site-packages/langchain/agents/agent.py in <module>
13 from pydantic import BaseModel, root_validator
14
---> 15 from langchain.agents.tools import InvalidTool
16 from langchain.base_language import BaseLanguageModel
17 from langchain.callbacks.base import BaseCallbackManager
/usr/local/lib/python3.9/site-packages/langchain/agents/tools.py in <module>
2 from typing import Optional
3
----> 4 from langchain.callbacks.manager import (
5 AsyncCallbackManagerForToolRun,
6 CallbackManagerForToolRun,
/usr/local/lib/python3.9/site-packages/langchain/callbacks/__init__.py in <module>
1 """Callback handlers that allow listening to events in LangChain."""
2
----> 3 from langchain.callbacks.aim_callback import AimCallbackHandler
4 from langchain.callbacks.clearml_callback import ClearMLCallbackHandler
5 from langchain.callbacks.comet_ml_callback import CometCallbackHandler
/usr/local/lib/python3.9/site-packages/langchain/callbacks/aim_callback.py in <module>
2 from typing import Any, Dict, List, Optional, Union
3
----> 4 from langchain.callbacks.base import BaseCallbackHandler
5 from langchain.schema import AgentAction, AgentFinish, LLMResult
6
/usr/local/lib/python3.9/site-packages/langchain/callbacks/base.py in <module>
5 from uuid import UUID
6
----> 7 from langchain.schema import (
8 AgentAction,
9 AgentFinish,
/usr/local/lib/python3.9/site-packages/langchain/schema.py in <module>
145
146
--> 147 class ChatGeneration(Generation):
148 """Output of a single generation."""
149
/usr/local/lib/python3.9/site-packages/langchain/schema.py in ChatGeneration()
152
153 @root_validator
--> 154 def set_text(cls, values: Dict[str, Any]) -> Dict[str, Any]:
155 values["text"] = values["message"].content
156 return values
/usr/local/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py in root_validator(pre, skip_on_failure, allow_reuse, *__args)
220 if __args:
221 # Ensure a nice error is raised if someone attempts to use the bare decorator
--> 222 return root_validator()(*__args) # type: ignore
223
224 if allow_reuse is True: # pragma: no cover
/usr/local/lib/python3.9/site-packages/pydantic/deprecated/class_validators.py in root_validator(pre, skip_on_failure, allow_reuse, *__args)
226 mode: Literal['before', 'after'] = 'before' if pre is True else 'after'
227 if pre is False and skip_on_failure is not True:
--> 228 raise PydanticUserError(
229 'If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`.'
230 ' Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.',
PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.
For further information visit https://errors.pydantic.dev/2.1.1/u/root-validator-pre-skip`
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Attempt to import DynamoDBChatMessageHistory
from langchain.memory.chat_message_histories import DynamoDBChatMessageHistory
### Expected behavior
no errors, successful import
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11250/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11249
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11249/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11249/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11249/events
|
https://github.com/langchain-ai/langchain/issues/11249
| 1,920,235,293
|
I_kwDOIPDwls5ydHcd
| 11,249
|
MathpixPDFLoader never finishes
|
{
"login": "fincha",
"id": 2435678,
"node_id": "MDQ6VXNlcjI0MzU2Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2435678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fincha",
"html_url": "https://github.com/fincha",
"followers_url": "https://api.github.com/users/fincha/followers",
"following_url": "https://api.github.com/users/fincha/following{/other_user}",
"gists_url": "https://api.github.com/users/fincha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fincha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fincha/subscriptions",
"organizations_url": "https://api.github.com/users/fincha/orgs",
"repos_url": "https://api.github.com/users/fincha/repos",
"events_url": "https://api.github.com/users/fincha/events{/privacy}",
"received_events_url": "https://api.github.com/users/fincha/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 | 6
| 2023-09-30T12:12:22
| 2023-11-28T05:27:02
| null |
NONE
| null |
### System Info
langchain==0.0.305
MacOS M1 Silicon
### 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
I have a basic methon for loading the pdf via mathpix
```
def load_pdf(path):
loader = MathpixPDFLoader(path)
pages = loader.load()
return pages;
pages = load_pdf("example_data/DOF-230519AFYXBECVECGY-0028747724.pdf")
```
but if I run this, I gen only this:
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
Status: None, waiting for processing to complete
...
in backend of mathpix I see the document aldready parsed.
Any idea on this?
### Expected behavior
Expect the document to return.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11249/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11248
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11248/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11248/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11248/events
|
https://github.com/langchain-ai/langchain/pull/11248
| 1,920,181,711
|
PR_kwDOIPDwls5blbDp
| 11,248
|
Add comment explaining backend usefulness in gpt4all
|
{
"login": "meherhendi",
"id": 20615903,
"node_id": "MDQ6VXNlcjIwNjE1OTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/20615903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meherhendi",
"html_url": "https://github.com/meherhendi",
"followers_url": "https://api.github.com/users/meherhendi/followers",
"following_url": "https://api.github.com/users/meherhendi/following{/other_user}",
"gists_url": "https://api.github.com/users/meherhendi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meherhendi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meherhendi/subscriptions",
"organizations_url": "https://api.github.com/users/meherhendi/orgs",
"repos_url": "https://api.github.com/users/meherhendi/repos",
"events_url": "https://api.github.com/users/meherhendi/events{/privacy}",
"received_events_url": "https://api.github.com/users/meherhendi/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"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-30T08:58:27
| 2023-10-01T17:20:25
| null |
NONE
| null |
- **Description:** Adding a comment explaining backend optional attribute usefulness in gpt4all LLM
- **Issue:** it is not clear for the code reader what backend attribute is useful for,
- **Dependencies:** None,
- **Tag maintainer:** *
- **Twitter handle:** @meherhendi
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11248/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11248",
"html_url": "https://github.com/langchain-ai/langchain/pull/11248",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11248.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11248.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11246
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11246/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11246/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11246/events
|
https://github.com/langchain-ai/langchain/pull/11246
| 1,920,167,736
|
PR_kwDOIPDwls5blYVA
| 11,246
|
Doc: fix doc to explain the difference between `OpenAIMultiFunctionsAgent` and `OpenAIFunctionsAgent`
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-30T08:08:12
| 2023-11-03T01:46:25
| null |
CONTRIBUTOR
| null |
- **Description:** This update adds an explanation detailing the differences between OpenAIMultiFunctionsAgent and OpenAIFunctionsAgent to both the docstring and the documentation of OpenAIMultiFunctionsAgent.
- **Issue:** the issue #8934
- **Dependencies:** None
- **Tag maintainer:** @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11246/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11246",
"html_url": "https://github.com/langchain-ai/langchain/pull/11246",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11246.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11246.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11245
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11245/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11245/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11245/events
|
https://github.com/langchain-ai/langchain/pull/11245
| 1,920,140,352
|
PR_kwDOIPDwls5blS-x
| 11,245
|
minor fix: remove redundant code from OpenAIFunctionsAgent
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-30T06:23:14
| 2023-10-01T17:22:15
| 2023-10-01T17:22:15
|
CONTRIBUTOR
| null |
Replace this entire comment with:
- **Description:** A very minor fix. Just changed `list([t.name for t in self.tools])` to `[t.name for t in self.tools]` because the `list()` is redundant.
- **Issue:** None
- **Dependencies:** None
- **Tag maintainer:** @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11245/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11245",
"html_url": "https://github.com/langchain-ai/langchain/pull/11245",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11245.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11245.patch",
"merged_at": "2023-10-01T17:22:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11244
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11244/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11244/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11244/events
|
https://github.com/langchain-ai/langchain/issues/11244
| 1,920,074,483
|
I_kwDOIPDwls5ycgLz
| 11,244
|
Hierarchical Planner - Observation: requests_put is not a valid tool, try one of [requests_get, requests_post].
|
{
"login": "codebanesr",
"id": 17947802,
"node_id": "MDQ6VXNlcjE3OTQ3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/17947802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codebanesr",
"html_url": "https://github.com/codebanesr",
"followers_url": "https://api.github.com/users/codebanesr/followers",
"following_url": "https://api.github.com/users/codebanesr/following{/other_user}",
"gists_url": "https://api.github.com/users/codebanesr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codebanesr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codebanesr/subscriptions",
"organizations_url": "https://api.github.com/users/codebanesr/orgs",
"repos_url": "https://api.github.com/users/codebanesr/repos",
"events_url": "https://api.github.com/users/codebanesr/events{/privacy}",
"received_events_url": "https://api.github.com/users/codebanesr/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 5
| 2023-09-30T02:45:21
| 2023-12-30T16:01:56
| null |
NONE
| null |
### System Info
version 0.300
<img width="1397" alt="Screenshot 2023-09-30 at 5 36 41 AM" src="https://github.com/langchain-ai/langchain/assets/17947802/124b1f2a-db02-497f-9cd0-dbad1033b6c8">
\\nObservation: requests_put is not a valid tool, try one of [requests_get, requests_post].\\nThought:I need to use requests_post to update the pet\'s ship date.\\n\\nAction:
This keep happening time and time again!
### Who can help?
hierarchical planner, requests agent
https://github.com/openchatai/OpenCopilot/blob/ecd2f51bfc1f989133a44c4cff15d858b0d2fd30/llm-server/api_caller/planner.py#L319
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
--
### Expected behavior
The agent should be able to use the `put` tool when it needs to use it
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11244/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11243
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11243/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11243/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11243/events
|
https://github.com/langchain-ai/langchain/issues/11243
| 1,919,979,559
|
I_kwDOIPDwls5ycJAn
| 11,243
|
Limit Data and Enforcing Security for SQLDatabase & Agents
|
{
"login": "doit-ceo",
"id": 8027780,
"node_id": "MDQ6VXNlcjgwMjc3ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8027780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/doit-ceo",
"html_url": "https://github.com/doit-ceo",
"followers_url": "https://api.github.com/users/doit-ceo/followers",
"following_url": "https://api.github.com/users/doit-ceo/following{/other_user}",
"gists_url": "https://api.github.com/users/doit-ceo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/doit-ceo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/doit-ceo/subscriptions",
"organizations_url": "https://api.github.com/users/doit-ceo/orgs",
"repos_url": "https://api.github.com/users/doit-ceo/repos",
"events_url": "https://api.github.com/users/doit-ceo/events{/privacy}",
"received_events_url": "https://api.github.com/users/doit-ceo/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"
}
] |
open
| false
| null |
[] | null | 17
| 2023-09-29T22:31:23
| 2023-12-18T11:05:25
| null |
NONE
| null |
### Feature request
We all want to have our clients to interact with the database using LLM, langchain with create_sql_agent, are great, the only problem I see, there is no way to limit user access to the database and fence him to his data.
For example we have table called AI_Product with many columns and one of them is storeid, for normal user, he should have limited access to this table, I also don't trust the AI to limit that, there should be a way to programmatically do that.
So let's look at AI_Product
```
id, name, price, store_id
1, water, 2, 10001
2, pepsi, 4, 10001
3, cokezero , 5, 10002
```
For the above table, the user only have rights to access storeid= 10001, for security and true data we need a way to limit what this user can see.
One solution could be is to allow include_tables to have sql
`include_tables = ['AI_Product']
`
to
`include_tables = ['(select * from AI_Product where store_id = '10001') AI_Product']
`
The other one, is allow the SQL query to come back before execution and allow me to modify it
So if I asked , "How many products do we have?"
```
agent: sql:"select count(*) from AI_Product"
Then we can modify the sql to
protected_sql = sql.replace("AI_Product", "(select * from AI_Product where store_id = '10001') AI_Product")
#sql = "select count(*) from (select * from AI_Product where store_id = '10001') AI_Product"
agent.run (protected_sql)
```
### Motivation
Find a way to protect the data while allow end-user unlimited access to it.
### Your contribution
I'm not familiar with the internal code, but I can help if gudied
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11243/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/11243/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11242
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11242/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11242/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11242/events
|
https://github.com/langchain-ai/langchain/issues/11242
| 1,919,948,621
|
I_kwDOIPDwls5ycBdN
| 11,242
|
Issue: < Urgent Help needed related to VectorstoreIndexCreator >
|
{
"login": "Zuhashaik",
"id": 104340147,
"node_id": "U_kgDOBjgasw",
"avatar_url": "https://avatars.githubusercontent.com/u/104340147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zuhashaik",
"html_url": "https://github.com/Zuhashaik",
"followers_url": "https://api.github.com/users/Zuhashaik/followers",
"following_url": "https://api.github.com/users/Zuhashaik/following{/other_user}",
"gists_url": "https://api.github.com/users/Zuhashaik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zuhashaik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zuhashaik/subscriptions",
"organizations_url": "https://api.github.com/users/Zuhashaik/orgs",
"repos_url": "https://api.github.com/users/Zuhashaik/repos",
"events_url": "https://api.github.com/users/Zuhashaik/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zuhashaik/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-29T21:53:43
| 2023-10-31T07:58:55
| 2023-10-31T07:58:55
|
NONE
| null |
### Issue you'd like to raise.
while RAG we create a db and then we ask a query to the db in this way,
`index = VectorstoreIndexCreator(
vectorstore_cls=DocArrayInMemorySearch
).from_loaders([loader])`
`index.query(llm=chat, question=query)`
we get some response.
Now lets say wanted to create dataset with the generations ive got from gpt to fintune llama2 llm.
the main problem comes here, now how to know what is the reference we got from the index search as it is totaly abstracted!!
i need the exact querry that gone into llm(gpt) in this process.
Or else can i have any other meathod that solves my problem(tried similarity search and fed reference+query manualy the quality of the output droped so i need index search it self.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11242/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11242/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11241
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11241/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11241/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11241/events
|
https://github.com/langchain-ai/langchain/pull/11241
| 1,919,940,380
|
PR_kwDOIPDwls5bkp35
| 11,241
|
Update quickstart.mdx to add backtick after `ChatMessages`
|
{
"login": "engineeringwithjames",
"id": 24612945,
"node_id": "MDQ6VXNlcjI0NjEyOTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/24612945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/engineeringwithjames",
"html_url": "https://github.com/engineeringwithjames",
"followers_url": "https://api.github.com/users/engineeringwithjames/followers",
"following_url": "https://api.github.com/users/engineeringwithjames/following{/other_user}",
"gists_url": "https://api.github.com/users/engineeringwithjames/gists{/gist_id}",
"starred_url": "https://api.github.com/users/engineeringwithjames/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/engineeringwithjames/subscriptions",
"organizations_url": "https://api.github.com/users/engineeringwithjames/orgs",
"repos_url": "https://api.github.com/users/engineeringwithjames/repos",
"events_url": "https://api.github.com/users/engineeringwithjames/events{/privacy}",
"received_events_url": "https://api.github.com/users/engineeringwithjames/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T21:42:08
| 2023-10-02T14:02:04
| 2023-10-02T14:02:03
|
CONTRIBUTOR
| null |
While going through the documentation I found this small issue and wanted to contribute!
<!-- Thank you for contributing to LangChain! -->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11241/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11241",
"html_url": "https://github.com/langchain-ai/langchain/pull/11241",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11241.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11241.patch",
"merged_at": "2023-10-02T14:02:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11240
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11240/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11240/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11240/events
|
https://github.com/langchain-ai/langchain/pull/11240
| 1,919,938,927
|
PR_kwDOIPDwls5bkpj_
| 11,240
|
improved rdf_graph schema generation
|
{
"login": "WessZumino",
"id": 25653652,
"node_id": "MDQ6VXNlcjI1NjUzNjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/25653652?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WessZumino",
"html_url": "https://github.com/WessZumino",
"followers_url": "https://api.github.com/users/WessZumino/followers",
"following_url": "https://api.github.com/users/WessZumino/following{/other_user}",
"gists_url": "https://api.github.com/users/WessZumino/gists{/gist_id}",
"starred_url": "https://api.github.com/users/WessZumino/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WessZumino/subscriptions",
"organizations_url": "https://api.github.com/users/WessZumino/orgs",
"repos_url": "https://api.github.com/users/WessZumino/repos",
"events_url": "https://api.github.com/users/WessZumino/events{/privacy}",
"received_events_url": "https://api.github.com/users/WessZumino/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 | 3
| 2023-09-29T21:40:09
| 2023-11-16T00:35:24
| null |
NONE
| null |
Description:
The RdfGraph loader provides RDF schema extraction to pass to the GraphSparqlQAChain for Q&A. The RdfGraph also allows to provide short comments to each entity in the schema; I found this very useful to pass context or even small examples on how to use a particular class/attribute to the LLM that enhanced query generation in the GraphSparqlQAChain.
In the current version however, adding comments leads to the generation of several artifacts that make the schema too long to fit the context window of the LLM. For example, adding few comments to a medium size graph led to a schema with 40k tokens from the original 200. This was noted in issue https://github.com/langchain-ai/langchain/issues/8907; although here it refers to OWL format, the problem persists in RDF.
In this PR I am resolving the above issue by adding a filter to the original SPARQL query. Referring to the example above, the schema + comments now takes only 280 tokens.
Another addition is the option to add a minimal list of prefixes to the schema. This is useful when the LLM is not able to infer the correct prefix from the URI or this is completely missing from the schema as I found in few use cases.
I am planning to discuss the use of comments/prefix as an addition to the current documentation in a follow up PR.
Issue: https://github.com/langchain-ai/langchain/issues/8907,
Dependencies: N/A,
Tag maintainer: @jexp ,
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11240/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11240/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11240",
"html_url": "https://github.com/langchain-ai/langchain/pull/11240",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11240.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11240.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11239
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11239/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11239/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11239/events
|
https://github.com/langchain-ai/langchain/pull/11239
| 1,919,894,298
|
PR_kwDOIPDwls5bkfsZ
| 11,239
|
feat(embeddings): display token usage and cost for OpenAIEmbeddings
|
{
"login": "mspronesti",
"id": 44113430,
"node_id": "MDQ6VXNlcjQ0MTEzNDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/44113430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mspronesti",
"html_url": "https://github.com/mspronesti",
"followers_url": "https://api.github.com/users/mspronesti/followers",
"following_url": "https://api.github.com/users/mspronesti/following{/other_user}",
"gists_url": "https://api.github.com/users/mspronesti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mspronesti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mspronesti/subscriptions",
"organizations_url": "https://api.github.com/users/mspronesti/orgs",
"repos_url": "https://api.github.com/users/mspronesti/repos",
"events_url": "https://api.github.com/users/mspronesti/events{/privacy}",
"received_events_url": "https://api.github.com/users/mspronesti/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-29T20:55:15
| 2023-11-01T14:23:12
| null |
CONTRIBUTOR
| null |
This PR aims at (optionally) displaying the token usage and its cost for `OpenAIEmbeddings`, addressing #11093.
Since I don't see the need to support callbacks for embeddings [^1], I only added the logic to log the number of total tokens (which corresponds to the prompt tokens) and its cost as well as a flag to enable It.
[^1]: It's easy to export or store the embeddings in langchain and I don't think any use case would benefit from "postprocessing the embeddings".
<!-- 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/hwchase17/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.
-->
@baskaryan @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11239/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11239",
"html_url": "https://github.com/langchain-ai/langchain/pull/11239",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11239.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11239.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11237
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11237/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11237/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11237/events
|
https://github.com/langchain-ai/langchain/pull/11237
| 1,919,888,373
|
PR_kwDOIPDwls5bkeYT
| 11,237
|
make llm imports optional
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T20:49:18
| 2023-10-03T16:14:16
| 2023-10-03T16:14:15
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11237/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11237/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11237",
"html_url": "https://github.com/langchain-ai/langchain/pull/11237",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11237.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11237.patch",
"merged_at": "2023-10-03T16:14:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11236
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11236/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11236/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11236/events
|
https://github.com/langchain-ai/langchain/pull/11236
| 1,919,853,645
|
PR_kwDOIPDwls5bkW1g
| 11,236
|
Update DeepSparse LLM
|
{
"login": "mgoin",
"id": 3195154,
"node_id": "MDQ6VXNlcjMxOTUxNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3195154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mgoin",
"html_url": "https://github.com/mgoin",
"followers_url": "https://api.github.com/users/mgoin/followers",
"following_url": "https://api.github.com/users/mgoin/following{/other_user}",
"gists_url": "https://api.github.com/users/mgoin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mgoin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mgoin/subscriptions",
"organizations_url": "https://api.github.com/users/mgoin/orgs",
"repos_url": "https://api.github.com/users/mgoin/repos",
"events_url": "https://api.github.com/users/mgoin/events{/privacy}",
"received_events_url": "https://api.github.com/users/mgoin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T20:13:44
| 2023-09-29T20:55:20
| 2023-09-29T20:55:20
|
CONTRIBUTOR
| null |
**Description:** Adds streaming and many more sampling parameters to the DeepSparse interface
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11236/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11236/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11236",
"html_url": "https://github.com/langchain-ai/langchain/pull/11236",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11236.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11236.patch",
"merged_at": "2023-09-29T20:55:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11235
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11235/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11235/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11235/events
|
https://github.com/langchain-ai/langchain/pull/11235
| 1,919,831,839
|
PR_kwDOIPDwls5bkR9F
| 11,235
|
Ignore aadd
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T19:57:10
| 2023-09-29T20:10:54
| 2023-09-29T20:10:53
|
COLLABORATOR
| null |
Appears as an issue from runnables utils

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11235/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11235/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11235",
"html_url": "https://github.com/langchain-ai/langchain/pull/11235",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11235.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11235.patch",
"merged_at": "2023-09-29T20:10:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11234
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11234/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11234/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11234/events
|
https://github.com/langchain-ai/langchain/pull/11234
| 1,919,827,873
|
PR_kwDOIPDwls5bkRES
| 11,234
|
Bump deps in langserve
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T19:54:06
| 2023-09-29T20:19:39
| 2023-09-29T20:19:38
|
COLLABORATOR
| null |
Bump deps in langserve lockfile
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11234/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11234/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11234",
"html_url": "https://github.com/langchain-ai/langchain/pull/11234",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11234.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11234.patch",
"merged_at": "2023-09-29T20:19:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11233
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11233/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11233/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11233/events
|
https://github.com/langchain-ai/langchain/pull/11233
| 1,919,819,022
|
PR_kwDOIPDwls5bkPK0
| 11,233
|
fix code injection vuln
|
{
"login": "hazzel-cn",
"id": 17514803,
"node_id": "MDQ6VXNlcjE3NTE0ODAz",
"avatar_url": "https://avatars.githubusercontent.com/u/17514803?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hazzel-cn",
"html_url": "https://github.com/hazzel-cn",
"followers_url": "https://api.github.com/users/hazzel-cn/followers",
"following_url": "https://api.github.com/users/hazzel-cn/following{/other_user}",
"gists_url": "https://api.github.com/users/hazzel-cn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hazzel-cn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hazzel-cn/subscriptions",
"organizations_url": "https://api.github.com/users/hazzel-cn/orgs",
"repos_url": "https://api.github.com/users/hazzel-cn/repos",
"events_url": "https://api.github.com/users/hazzel-cn/events{/privacy}",
"received_events_url": "https://api.github.com/users/hazzel-cn/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T19:45:26
| 2023-09-29T20:16:00
| 2023-09-29T20:16:00
|
CONTRIBUTOR
| null |
- **Description:** Fix a code injection vuln by adding one more keyword into the filtering list
- **Issue:** N/A
- **Dependencies:** N/A
- **Tag maintainer:**
- **Twitter handle:**
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11233/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11233/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11233",
"html_url": "https://github.com/langchain-ai/langchain/pull/11233",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11233.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11233.patch",
"merged_at": "2023-09-29T20:16:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11232
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11232/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11232/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11232/events
|
https://github.com/langchain-ai/langchain/pull/11232
| 1,919,616,475
|
PR_kwDOIPDwls5bjkE_
| 11,232
|
Add type to message chunks
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T16:56:47
| 2023-09-29T19:14:53
| 2023-09-29T19:14:52
|
COLLABORATOR
| null |
This PR adds types to message chunks to distinguish them from non chunked
message variants
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11232/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11232",
"html_url": "https://github.com/langchain-ai/langchain/pull/11232",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11232.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11232.patch",
"merged_at": "2023-09-29T19:14:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11231
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11231/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11231/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11231/events
|
https://github.com/langchain-ai/langchain/pull/11231
| 1,919,601,805
|
PR_kwDOIPDwls5bjhVL
| 11,231
|
Make tests stricter, remove old code, fix up pydantic import when using v2
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T16:45:43
| 2023-09-29T16:47:03
| 2023-09-29T16:47:02
|
COLLABORATOR
| null |
Minor fixes
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11231/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11231/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11231",
"html_url": "https://github.com/langchain-ai/langchain/pull/11231",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11231.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11231.patch",
"merged_at": "2023-09-29T16:47:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11230
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11230/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11230/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11230/events
|
https://github.com/langchain-ai/langchain/pull/11230
| 1,919,587,300
|
PR_kwDOIPDwls5bjeO1
| 11,230
|
Feat bedrock cohere support
|
{
"login": "massi-ang",
"id": 38036163,
"node_id": "MDQ6VXNlcjM4MDM2MTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/38036163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/massi-ang",
"html_url": "https://github.com/massi-ang",
"followers_url": "https://api.github.com/users/massi-ang/followers",
"following_url": "https://api.github.com/users/massi-ang/following{/other_user}",
"gists_url": "https://api.github.com/users/massi-ang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/massi-ang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/massi-ang/subscriptions",
"organizations_url": "https://api.github.com/users/massi-ang/orgs",
"repos_url": "https://api.github.com/users/massi-ang/repos",
"events_url": "https://api.github.com/users/massi-ang/events{/privacy}",
"received_events_url": "https://api.github.com/users/massi-ang/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"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-29T16:33:33
| 2023-10-04T15:12:20
| 2023-10-04T15:12:20
|
CONTRIBUTOR
| null |
**Description:**
Added support for Cohere command model via Bedrock.
With this change it is now possible to use the `cohere.command-text-v14` model via Bedrock API.
About Streaming: Cohere model outputs 2 additional chunks at the end of the text being generated via streaming: a chunk containing the text `<EOS_TOKEN>`, and a chunk indicating the end of the stream. In this implementation I chose to ignore both chunks. An alternative solution could be to replace `<EOS_TOKEN>` with `\n`
Tests: manually tested that the new model work with both `llm.generate()` and `llm.stream()`.
Tested with `temperature`, `p` and `stop` parameters.
**Issue:** #11181
**Dependencies:** No new dependencies
**Tag maintainer:** @baskaryan
**Twitter handle:** mangelino
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11230/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/11230/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11230",
"html_url": "https://github.com/langchain-ai/langchain/pull/11230",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11230.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11230.patch",
"merged_at": "2023-10-04T15:12:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11229
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11229/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11229/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11229/events
|
https://github.com/langchain-ai/langchain/issues/11229
| 1,919,554,598
|
I_kwDOIPDwls5yahQm
| 11,229
|
Add support for a variety of languages to LanguageParser
|
{
"login": "ThatsJustCheesy",
"id": 16456186,
"node_id": "MDQ6VXNlcjE2NDU2MTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/16456186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThatsJustCheesy",
"html_url": "https://github.com/ThatsJustCheesy",
"followers_url": "https://api.github.com/users/ThatsJustCheesy/followers",
"following_url": "https://api.github.com/users/ThatsJustCheesy/following{/other_user}",
"gists_url": "https://api.github.com/users/ThatsJustCheesy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ThatsJustCheesy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ThatsJustCheesy/subscriptions",
"organizations_url": "https://api.github.com/users/ThatsJustCheesy/orgs",
"repos_url": "https://api.github.com/users/ThatsJustCheesy/repos",
"events_url": "https://api.github.com/users/ThatsJustCheesy/events{/privacy}",
"received_events_url": "https://api.github.com/users/ThatsJustCheesy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false
| null |
[] | null | 32
| 2023-09-29T16:07:57
| 2024-01-08T16:10:37
| null |
NONE
| null |
### Feature request
[LanguageParser](https://github.com/langchain-ai/langchain/blob/e9b51513e9bab738c741a348ffbf0f36ce19faf6/libs/langchain/langchain/document_loaders/parsers/language/language_parser.py#L21C7-L21C21) is a parser for Document Loaders that, given source code, splits each top-level function or class into separate documents. As stated in its documentation:
> This approach can potentially improve the accuracy of QA models over source code.
>
> Currently, the supported languages for code parsing are Python and JavaScript.
We would like to add support for additional languages, such as C, C++, Rust, Ruby, Perl, and so on.
### Motivation
There is an [open request](https://github.com/langchain-ai/langchain/issues/10996) for "CPP" (presumably C++) support. By integrating a generic parsing library (such as [tree-sitter](https://github.com/tree-sitter/py-tree-sitter#py-tree-sitter)), we could make LanguageParser work with many more languages, and thus be more generally useful.
### Your contribution
We intend to submit a pull request for this issue no later than mid-November, and likely sooner.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11229/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/11229/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11226
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11226/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11226/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11226/events
|
https://github.com/langchain-ai/langchain/issues/11226
| 1,919,535,609
|
I_kwDOIPDwls5yacn5
| 11,226
|
Encountering a "type object is not subscriptable" error when invoking hub.pull.
|
{
"login": "lehic",
"id": 8796199,
"node_id": "MDQ6VXNlcjg3OTYxOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8796199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lehic",
"html_url": "https://github.com/lehic",
"followers_url": "https://api.github.com/users/lehic/followers",
"following_url": "https://api.github.com/users/lehic/following{/other_user}",
"gists_url": "https://api.github.com/users/lehic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lehic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lehic/subscriptions",
"organizations_url": "https://api.github.com/users/lehic/orgs",
"repos_url": "https://api.github.com/users/lehic/repos",
"events_url": "https://api.github.com/users/lehic/events{/privacy}",
"received_events_url": "https://api.github.com/users/lehic/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 11
| 2023-09-29T15:55:14
| 2023-11-17T00:41:04
| 2023-10-03T14:23:34
|
NONE
| null |
### System Info
Python = 3.8.16
langchain==0.0.304
langchainhub==0.1.13
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. install python 3.8.16
2. install langchain==0.0.304 and langchainhub==0.1.13
3. Run the following script :
from langchain import hub
# LANGCHAIN_HUB_API_KEY is set on my .env file
# pull a chat prompt
try:
prompt = hub.pull("efriis/my-first-prompt")
except Exception as e:
print(e)
raise e
### Expected behavior
I'm uncertain about the expected behavior, as I've never been able to successfully execute hub.pull.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11226/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11225
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11225/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11225/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11225/events
|
https://github.com/langchain-ai/langchain/issues/11225
| 1,919,529,912
|
I_kwDOIPDwls5yabO4
| 11,225
|
DOC: What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent?
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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": 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 | 3
| 2023-09-29T15:51:08
| 2023-10-14T00:52:42
| null |
CONTRIBUTOR
| null |
### Issue with current documentation:
What is the difference between OpenAIFunctionsAgent and OpenAIMultiFunctionsAgent? The document do not clarify it.
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11225/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11225/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11224
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11224/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11224/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11224/events
|
https://github.com/langchain-ai/langchain/pull/11224
| 1,919,515,576
|
PR_kwDOIPDwls5bjO9b
| 11,224
|
bump 305
|
{
"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": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T15:41:29
| 2023-09-29T16:05:33
| 2023-09-29T15:55:00
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11224/reactions",
"total_count": 6,
"+1": 1,
"-1": 0,
"laugh": 1,
"hooray": 1,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11224/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11224",
"html_url": "https://github.com/langchain-ai/langchain/pull/11224",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11224.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11224.patch",
"merged_at": "2023-09-29T15:55:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11223
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11223/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11223/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11223/events
|
https://github.com/langchain-ai/langchain/issues/11223
| 1,919,488,448
|
I_kwDOIPDwls5yaRHA
| 11,223
|
How to disable logger streaming for async LLMChain calls?
|
{
"login": "msieb1",
"id": 32754403,
"node_id": "MDQ6VXNlcjMyNzU0NDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/32754403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msieb1",
"html_url": "https://github.com/msieb1",
"followers_url": "https://api.github.com/users/msieb1/followers",
"following_url": "https://api.github.com/users/msieb1/following{/other_user}",
"gists_url": "https://api.github.com/users/msieb1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msieb1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msieb1/subscriptions",
"organizations_url": "https://api.github.com/users/msieb1/orgs",
"repos_url": "https://api.github.com/users/msieb1/repos",
"events_url": "https://api.github.com/users/msieb1/events{/privacy}",
"received_events_url": "https://api.github.com/users/msieb1/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 | 1
| 2023-09-29T15:26:52
| 2023-09-29T15:41:29
| 2023-09-29T15:41:29
|
NONE
| null |
When using async `LLMChain` calls, the logger prints out a ton of info statements that looks like this:
```
2023-09-29 08:24:51,038:INFO - message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=7 request_id=0cde8ecb8d402ec3db4ec674f0450ade response_code=200
```
I tried setting the logging level on the execution level in a bunch of ways, but to no avail. Do you have any recommendation on how to get rid of those logs?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11223/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11222
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11222/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11222/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11222/events
|
https://github.com/langchain-ai/langchain/pull/11222
| 1,919,477,581
|
PR_kwDOIPDwls5bjGol
| 11,222
|
Implement RunnablePassthrough.assign(...)
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
|
{
"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 | 2
| 2023-09-29T15:22:46
| 2023-09-29T19:12:49
| 2023-09-29T19:12:49
|
COLLABORATOR
| null |
Passes through dict input and assigns additional keys
<!-- 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/hwchase17/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/11222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11222/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11222",
"html_url": "https://github.com/langchain-ai/langchain/pull/11222",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11222.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11222.patch",
"merged_at": "2023-09-29T19:12:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11220
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11220/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11220/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11220/events
|
https://github.com/langchain-ai/langchain/issues/11220
| 1,919,260,245
|
I_kwDOIPDwls5yZZZV
| 11,220
|
raise ValueError(ALTERNATION_ERROR) ValueError: Error: Prompt must alternate between ' Human:' and ' Assistant:'.
|
{
"login": "memanu347",
"id": 117089391,
"node_id": "U_kgDOBvqkbw",
"avatar_url": "https://avatars.githubusercontent.com/u/117089391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/memanu347",
"html_url": "https://github.com/memanu347",
"followers_url": "https://api.github.com/users/memanu347/followers",
"following_url": "https://api.github.com/users/memanu347/following{/other_user}",
"gists_url": "https://api.github.com/users/memanu347/gists{/gist_id}",
"starred_url": "https://api.github.com/users/memanu347/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/memanu347/subscriptions",
"organizations_url": "https://api.github.com/users/memanu347/orgs",
"repos_url": "https://api.github.com/users/memanu347/repos",
"events_url": "https://api.github.com/users/memanu347/events{/privacy}",
"received_events_url": "https://api.github.com/users/memanu347/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 | 14
| 2023-09-29T13:18:59
| 2023-12-01T12:14:30
| null |
NONE
| null |
### System Info
while trying to use BedrockChat , it threw my error below , the updated prompt which am using after the recent changes in claude prompt is below .
prompt_template = """
Human:
You are a helpful, respectful, and honest assistant, dedicated to providing valuable and accurate information.
Guidance for answers below
Answer the question only using the in the context given below, and not with the prior knowledge.
If you don't see answer in the context just Reply "Sorry , the answer is not in the context so I don't know".
Now read this context and answer the question.
{context}
Based on the provided context above and information from the retriever source, provide a detailed answer to the below question
{question}
If the information is not available in the context , respond with "don't know."
Assistant:
"""
Error is below
raise ValueError(ALTERNATION_ERROR)
ValueError: Error: Prompt must alternate between '
Human:' and '
Assistant:'.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
prompt_template = """
Human:
You are a helpful, respectful, and honest assistant, dedicated to providing valuable and accurate information.
Guidance for answers below
Answer the question only using the in the context given below, and not with the prior knowledge.
If you don't see answer in the context just Reply "Sorry , the answer is not in the context so I don't know".
Now read this context and answer the question.
{context}
Based on the provided context above and information from the retriever source, provide a detailed answer to the below question
{question}
If the information is not available in the context , respond with "don't know."
Assistant:
"""
modelId = 'anthropic.claude-v2'
# Langchain chain for invoking Endpoint
llm = BedrockChat(
model_id=modelId,
client=bedrock_client,
model_kwargs={"max_tokens_to_sample": 1000}
)
### Expected behavior
I would have expected the code to run with the prompt.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11220/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11219
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11219/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11219/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11219/events
|
https://github.com/langchain-ai/langchain/pull/11219
| 1,919,210,329
|
PR_kwDOIPDwls5biMZm
| 11,219
|
Clean warnings: replace type with isinstance and fix syntax
|
{
"login": "gkorland",
"id": 753206,
"node_id": "MDQ6VXNlcjc1MzIwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/753206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkorland",
"html_url": "https://github.com/gkorland",
"followers_url": "https://api.github.com/users/gkorland/followers",
"following_url": "https://api.github.com/users/gkorland/following{/other_user}",
"gists_url": "https://api.github.com/users/gkorland/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkorland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkorland/subscriptions",
"organizations_url": "https://api.github.com/users/gkorland/orgs",
"repos_url": "https://api.github.com/users/gkorland/repos",
"events_url": "https://api.github.com/users/gkorland/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkorland/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T12:45:51
| 2023-09-29T16:44:53
| 2023-09-29T14:06:34
|
CONTRIBUTOR
| null |
Clean warnings: replace type with `isinstance` and fix on notebook syntax syntax
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11219/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11219",
"html_url": "https://github.com/langchain-ai/langchain/pull/11219",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11219.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11219.patch",
"merged_at": "2023-09-29T14:06:34"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11218
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11218/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11218/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11218/events
|
https://github.com/langchain-ai/langchain/pull/11218
| 1,919,142,235
|
PR_kwDOIPDwls5bh9kV
| 11,218
|
OpenAI gpt-3.5-turbo-instruct cost information
|
{
"login": "attila-tokes",
"id": 62890262,
"node_id": "MDQ6VXNlcjYyODkwMjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/62890262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/attila-tokes",
"html_url": "https://github.com/attila-tokes",
"followers_url": "https://api.github.com/users/attila-tokes/followers",
"following_url": "https://api.github.com/users/attila-tokes/following{/other_user}",
"gists_url": "https://api.github.com/users/attila-tokes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/attila-tokes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attila-tokes/subscriptions",
"organizations_url": "https://api.github.com/users/attila-tokes/orgs",
"repos_url": "https://api.github.com/users/attila-tokes/repos",
"events_url": "https://api.github.com/users/attila-tokes/events{/privacy}",
"received_events_url": "https://api.github.com/users/attila-tokes/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-29T11:57:32
| 2023-09-29T15:44:56
| 2023-09-29T15:44:56
|
CONTRIBUTOR
| null |
Added pricing info for `gpt-3.5-turbo-instruct` for OpenAI and Azure OpenAI.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11218/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11218",
"html_url": "https://github.com/langchain-ai/langchain/pull/11218",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11218.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11218.patch",
"merged_at": "2023-09-29T15:44:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11217
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11217/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11217/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11217/events
|
https://github.com/langchain-ai/langchain/pull/11217
| 1,919,094,253
|
PR_kwDOIPDwls5bhzBG
| 11,217
|
Isolated python REPL based on docker containers
|
{
"login": "eryk-dsai",
"id": 142571618,
"node_id": "U_kgDOCH94Yg",
"avatar_url": "https://avatars.githubusercontent.com/u/142571618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eryk-dsai",
"html_url": "https://github.com/eryk-dsai",
"followers_url": "https://api.github.com/users/eryk-dsai/followers",
"following_url": "https://api.github.com/users/eryk-dsai/following{/other_user}",
"gists_url": "https://api.github.com/users/eryk-dsai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eryk-dsai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eryk-dsai/subscriptions",
"organizations_url": "https://api.github.com/users/eryk-dsai/orgs",
"repos_url": "https://api.github.com/users/eryk-dsai/repos",
"events_url": "https://api.github.com/users/eryk-dsai/events{/privacy}",
"received_events_url": "https://api.github.com/users/eryk-dsai/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
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
] | null | 1
| 2023-09-29T11:23:48
| 2023-10-02T08:04:59
| null |
CONTRIBUTOR
| null |
## Description:
**This PR provides the ability to execute python code using `PythonREPLTool` tool inside a Docker container.** Isolated runs increase security by avoiding running malicious code generated by the model locally.
This is made possible by introducing a new REPL called `PythonContainerREPL`, which is a wrapper around the Docker container that runs the Python code.
## Resolving Dependency Conflicts
Some checks failed due to a lack of added docker to the dependencies. Adding `docker` and updating `poetry.lock` caused a major merge conflict. We'd like to know how to go about adding Docker as an additional dependency in this case.
We would add docker to `pyproject.toml` as follows if it weren't for the difficult to resolve merge conflict of `poetry.lock`:
```
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
# Other dependencies...
docker = {version = "^6.1.3", optional = true}
[tool.poetry.extras]
docker = ["docker"]
Copy code
all = [
"docker",
# ... other packages ...
]
```
## Twitter handle:
@deepsense_ai
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11217/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11217",
"html_url": "https://github.com/langchain-ai/langchain/pull/11217",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11217.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11217.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11216
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11216/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11216/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11216/events
|
https://github.com/langchain-ai/langchain/pull/11216
| 1,919,056,743
|
PR_kwDOIPDwls5bhq10
| 11,216
|
Add 'device' to GPT4All
|
{
"login": "serranoarevalo",
"id": 3612017,
"node_id": "MDQ6VXNlcjM2MTIwMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3612017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/serranoarevalo",
"html_url": "https://github.com/serranoarevalo",
"followers_url": "https://api.github.com/users/serranoarevalo/followers",
"following_url": "https://api.github.com/users/serranoarevalo/following{/other_user}",
"gists_url": "https://api.github.com/users/serranoarevalo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/serranoarevalo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/serranoarevalo/subscriptions",
"organizations_url": "https://api.github.com/users/serranoarevalo/orgs",
"repos_url": "https://api.github.com/users/serranoarevalo/repos",
"events_url": "https://api.github.com/users/serranoarevalo/events{/privacy}",
"received_events_url": "https://api.github.com/users/serranoarevalo/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T10:54:15
| 2023-10-05T01:25:48
| 2023-10-04T00:37:31
|
CONTRIBUTOR
| null |
Add device to GPT4All
- **Description:** GPT4All now supports GPU. This commit adds the option to enable it.
- **Issue:** It closes https://github.com/langchain-ai/langchain/issues/10486
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11216/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11216/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11216",
"html_url": "https://github.com/langchain-ai/langchain/pull/11216",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11216.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11216.patch",
"merged_at": "2023-10-04T00:37:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11214
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11214/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11214/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11214/events
|
https://github.com/langchain-ai/langchain/pull/11214
| 1,919,043,861
|
PR_kwDOIPDwls5bhoB8
| 11,214
|
Add RunnableGenerator
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T10:44:23
| 2023-09-29T14:21:39
| 2023-09-29T14:21:37
|
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/hwchase17/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/11214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11214/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11214",
"html_url": "https://github.com/langchain-ai/langchain/pull/11214",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11214.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11214.patch",
"merged_at": "2023-09-29T14:21:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11213
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11213/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11213/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11213/events
|
https://github.com/langchain-ai/langchain/pull/11213
| 1,918,892,804
|
PR_kwDOIPDwls5bhG8k
| 11,213
|
improved content retrieval by adjusting _clean_data function
|
{
"login": "gisturiz",
"id": 48292332,
"node_id": "MDQ6VXNlcjQ4MjkyMzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/48292332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gisturiz",
"html_url": "https://github.com/gisturiz",
"followers_url": "https://api.github.com/users/gisturiz/followers",
"following_url": "https://api.github.com/users/gisturiz/following{/other_user}",
"gists_url": "https://api.github.com/users/gisturiz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gisturiz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gisturiz/subscriptions",
"organizations_url": "https://api.github.com/users/gisturiz/orgs",
"repos_url": "https://api.github.com/users/gisturiz/repos",
"events_url": "https://api.github.com/users/gisturiz/events{/privacy}",
"received_events_url": "https://api.github.com/users/gisturiz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-29T09:08:52
| 2023-10-26T08:49:24
| null |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** After some experimentation, I improved the _clean_data function in the ReadTheDocsLoader class. The old implementation would not constantly retrieve all of the text within the HTML document. A lot of times, the "page_content" would be empty. After searching the Discord channel for an answer, I decided to find the solution and am now pushing this implementation which will hopefully help others.,
- **Issue:** N/A,
- **Dependencies:** no new dependencies needed,
- **Tag maintainer:** @baskaryan ,
- **Twitter handle:** @istgus
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/hwchase17/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/11213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11213/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11213",
"html_url": "https://github.com/langchain-ai/langchain/pull/11213",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11213.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11213.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11212
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11212/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11212/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11212/events
|
https://github.com/langchain-ai/langchain/issues/11212
| 1,918,850,778
|
I_kwDOIPDwls5yX1ba
| 11,212
|
Issue: How can I fetch the response from Pinecone using namespace with similarity_search
|
{
"login": "Satenderpal",
"id": 133625646,
"node_id": "U_kgDOB_b3Lg",
"avatar_url": "https://avatars.githubusercontent.com/u/133625646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Satenderpal",
"html_url": "https://github.com/Satenderpal",
"followers_url": "https://api.github.com/users/Satenderpal/followers",
"following_url": "https://api.github.com/users/Satenderpal/following{/other_user}",
"gists_url": "https://api.github.com/users/Satenderpal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Satenderpal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Satenderpal/subscriptions",
"organizations_url": "https://api.github.com/users/Satenderpal/orgs",
"repos_url": "https://api.github.com/users/Satenderpal/repos",
"events_url": "https://api.github.com/users/Satenderpal/events{/privacy}",
"received_events_url": "https://api.github.com/users/Satenderpal/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-29T08:39:49
| 2023-12-30T16:01:32
| null |
NONE
| null |
### Issue you'd like to raise.
I fetch the result from pinecone using Pinecone's from_existing_index function.
My single Index contains multiple namespaces in pinecone.
Now I have 2 cases:
1. I want to get the result of particular namespace.
2. secondly I want to fetch the result from all the index's namespace.
How is it possible, Please Guide me accordingly?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11212/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11211
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11211/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11211/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11211/events
|
https://github.com/langchain-ai/langchain/issues/11211
| 1,918,785,813
|
I_kwDOIPDwls5yXlkV
| 11,211
|
Issue: SQLDatabaseChain fails to run when initialised with custom read only memory
|
{
"login": "amadupu",
"id": 14251460,
"node_id": "MDQ6VXNlcjE0MjUxNDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/14251460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amadupu",
"html_url": "https://github.com/amadupu",
"followers_url": "https://api.github.com/users/amadupu/followers",
"following_url": "https://api.github.com/users/amadupu/following{/other_user}",
"gists_url": "https://api.github.com/users/amadupu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amadupu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amadupu/subscriptions",
"organizations_url": "https://api.github.com/users/amadupu/orgs",
"repos_url": "https://api.github.com/users/amadupu/repos",
"events_url": "https://api.github.com/users/amadupu/events{/privacy}",
"received_events_url": "https://api.github.com/users/amadupu/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": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false
| null |
[] | null | 8
| 2023-09-29T07:59:22
| 2023-09-29T14:32:37
| 2023-09-29T14:32:37
|
NONE
| null |
### Issue you'd like to raise.
I have custom memory with memory key as 'context' as follows which i would like to use in the underling chain as readonly memory
```
memory = ScopeContextMemory(memory_key='context')
readonlymemory = ReadOnlySharedMemory(memory_key='context', memory=memory)
```
i have the following template stored in a file
```
Given an input question, first create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer.
Use the following format:
Question: "Question here"
SQLQuery: "SQL Query to run"
SQLResult: "Result of the SQLQuery"
Answer: "Final answer here"
Only use the following tables:
{table_info}
Use the following context for the query generation:
{context}
```
i have prompt initialised as follows
```
with open('prompts/sql_default_prompt.txt','r') as fp:
DEFAULT_PROMPT = PromptTemplate(input_variables=['input','table_info','dialect', 'context'],
template=fp.read())
```
NOTE: 'context' is added as one of the input variable
Ive initialised SQL Database chain as follows
```
llm=OpenAI(temperature=0)
chain = SQLDatabaseChain.from_llm(llm=llm,
db=db,
verbose=True,
use_query_checker=True,
prompt=DEFAULT_PROMPT,
return_intermediate_steps=True,
memory=memory,
top_k=3)
```
when i tried to run im getting an exception on missing input keys 'context'
```
chain("List Items under the shopping cart for Davis")
---------------------------------------------------------------------------
ValueError
169 missing_keys = set(self.input_keys).difference(inputs)
170 if missing_keys:
--> 171 raise ValueError(f"Missing some input keys: {missing_keys}")
ValueError: Missing some input keys: {'context'}
```
### Suggestion:
Ive tried looking at the documention on memory and its usage in chain , tools and agents but could not figure out what is going wrong here. any pointers on the cause is appreciated and how can i remediate the thing
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11211/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11209
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11209/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11209/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11209/events
|
https://github.com/langchain-ai/langchain/issues/11209
| 1,918,733,653
|
I_kwDOIPDwls5yXY1V
| 11,209
|
Return output from map chain in the final result of ConversationalRetrievalChain.
|
{
"login": "gftempleton",
"id": 144237798,
"node_id": "U_kgDOCJjk5g",
"avatar_url": "https://avatars.githubusercontent.com/u/144237798?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gftempleton",
"html_url": "https://github.com/gftempleton",
"followers_url": "https://api.github.com/users/gftempleton/followers",
"following_url": "https://api.github.com/users/gftempleton/following{/other_user}",
"gists_url": "https://api.github.com/users/gftempleton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gftempleton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gftempleton/subscriptions",
"organizations_url": "https://api.github.com/users/gftempleton/orgs",
"repos_url": "https://api.github.com/users/gftempleton/repos",
"events_url": "https://api.github.com/users/gftempleton/events{/privacy}",
"received_events_url": "https://api.github.com/users/gftempleton/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-09-29T07:23:10
| 2023-10-15T00:07:41
| null |
NONE
| null |
### Feature request
Hi,
I am working on Document QA, and using ConversationalRetrievalChain, with map-reduce as chain type.
In the final result of ConversationalRetrievalChain, I want to get the individual output from each map-chain.
### Motivation
This is a separate issue, and I think there should be a parameter that we can pass, to get the output of these chains as well.
### Your contribution
Not as of now.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11209/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11208
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11208/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11208/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11208/events
|
https://github.com/langchain-ai/langchain/issues/11208
| 1,918,600,924
|
I_kwDOIPDwls5yW4bc
| 11,208
|
How do you stream a langchain response from Flask to React?
|
{
"login": "miggytrinidad",
"id": 11906579,
"node_id": "MDQ6VXNlcjExOTA2NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/11906579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miggytrinidad",
"html_url": "https://github.com/miggytrinidad",
"followers_url": "https://api.github.com/users/miggytrinidad/followers",
"following_url": "https://api.github.com/users/miggytrinidad/following{/other_user}",
"gists_url": "https://api.github.com/users/miggytrinidad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miggytrinidad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miggytrinidad/subscriptions",
"organizations_url": "https://api.github.com/users/miggytrinidad/orgs",
"repos_url": "https://api.github.com/users/miggytrinidad/repos",
"events_url": "https://api.github.com/users/miggytrinidad/events{/privacy}",
"received_events_url": "https://api.github.com/users/miggytrinidad/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 2
| 2023-09-29T04:59:39
| 2023-12-30T16:01:38
| null |
NONE
| null |
### Issue you'd like to raise.
How do you stream a langchain response from Flask to React?
I am having issues with it. I successfully implemented it with Azure OpenAI API only but langchain doesn't give me the right implementation.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11208/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11207
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11207/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11207/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11207/events
|
https://github.com/langchain-ai/langchain/pull/11207
| 1,918,586,238
|
PR_kwDOIPDwls5bgERc
| 11,207
|
Added Sendgrid utilitiy
|
{
"login": "datha",
"id": 457276,
"node_id": "MDQ6VXNlcjQ1NzI3Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/457276?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datha",
"html_url": "https://github.com/datha",
"followers_url": "https://api.github.com/users/datha/followers",
"following_url": "https://api.github.com/users/datha/following{/other_user}",
"gists_url": "https://api.github.com/users/datha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/datha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datha/subscriptions",
"organizations_url": "https://api.github.com/users/datha/orgs",
"repos_url": "https://api.github.com/users/datha/repos",
"events_url": "https://api.github.com/users/datha/events{/privacy}",
"received_events_url": "https://api.github.com/users/datha/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 | 1
| 2023-09-29T04:35:36
| 2023-09-29T13:36:10
| null |
CONTRIBUTOR
| null |
- **Description:** added a Sendgrid utility to enable sending email. This is my first time adding a utility. I am not sure if I did the docs correctly. happy to iterate on this based on any feedback. Thank you!
- **Dependencies:** sendgrid module
- **Tag maintainer:** @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11207/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11207",
"html_url": "https://github.com/langchain-ai/langchain/pull/11207",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11207.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11207.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11206
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11206/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11206/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11206/events
|
https://github.com/langchain-ai/langchain/pull/11206
| 1,918,550,463
|
PR_kwDOIPDwls5bf8Xx
| 11,206
|
Fix typo in gradient.ipynb
|
{
"login": "eltociear",
"id": 22633385,
"node_id": "MDQ6VXNlcjIyNjMzMzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltociear",
"html_url": "https://github.com/eltociear",
"followers_url": "https://api.github.com/users/eltociear/followers",
"following_url": "https://api.github.com/users/eltociear/following{/other_user}",
"gists_url": "https://api.github.com/users/eltociear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eltociear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eltociear/subscriptions",
"organizations_url": "https://api.github.com/users/eltociear/orgs",
"repos_url": "https://api.github.com/users/eltociear/repos",
"events_url": "https://api.github.com/users/eltociear/events{/privacy}",
"received_events_url": "https://api.github.com/users/eltociear/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T03:46:33
| 2023-09-29T15:45:41
| 2023-09-29T15:45:41
|
CONTRIBUTOR
| null |
Enviroment -> Environment
<!-- 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/hwchase17/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/11206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11206/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11206",
"html_url": "https://github.com/langchain-ai/langchain/pull/11206",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11206.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11206.patch",
"merged_at": "2023-09-29T15:45:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11205
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11205/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11205/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11205/events
|
https://github.com/langchain-ai/langchain/pull/11205
| 1,918,530,262
|
PR_kwDOIPDwls5bf4GT
| 11,205
|
Update fireworks features
|
{
"login": "ZixinYang",
"id": 17904229,
"node_id": "MDQ6VXNlcjE3OTA0MjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/17904229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZixinYang",
"html_url": "https://github.com/ZixinYang",
"followers_url": "https://api.github.com/users/ZixinYang/followers",
"following_url": "https://api.github.com/users/ZixinYang/following{/other_user}",
"gists_url": "https://api.github.com/users/ZixinYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZixinYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZixinYang/subscriptions",
"organizations_url": "https://api.github.com/users/ZixinYang/orgs",
"repos_url": "https://api.github.com/users/ZixinYang/repos",
"events_url": "https://api.github.com/users/ZixinYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZixinYang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T03:09:45
| 2023-09-29T15:37:07
| 2023-09-29T15:37:07
|
CONTRIBUTOR
| null |
Description
* Update fireworks feature on web page
Issue - Not applicable
Dependencies - None
Tag maintainer - @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11205/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11205",
"html_url": "https://github.com/langchain-ai/langchain/pull/11205",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11205.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11205.patch",
"merged_at": "2023-09-29T15:37:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11204
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11204/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11204/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11204/events
|
https://github.com/langchain-ai/langchain/pull/11204
| 1,918,516,577
|
PR_kwDOIPDwls5bf1QR
| 11,204
|
Using langchain input types
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T02:44:54
| 2023-09-29T16:37:10
| 2023-09-29T16:37:09
|
COLLABORATOR
| null |
Input types
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11204/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11204",
"html_url": "https://github.com/langchain-ai/langchain/pull/11204",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11204.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11204.patch",
"merged_at": "2023-09-29T16:37:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11203
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11203/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11203/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11203/events
|
https://github.com/langchain-ai/langchain/pull/11203
| 1,918,493,666
|
PR_kwDOIPDwls5bfwdl
| 11,203
|
Chroma batching
|
{
"login": "tazarov",
"id": 1157440,
"node_id": "MDQ6VXNlcjExNTc0NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1157440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tazarov",
"html_url": "https://github.com/tazarov",
"followers_url": "https://api.github.com/users/tazarov/followers",
"following_url": "https://api.github.com/users/tazarov/following{/other_user}",
"gists_url": "https://api.github.com/users/tazarov/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tazarov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tazarov/subscriptions",
"organizations_url": "https://api.github.com/users/tazarov/orgs",
"repos_url": "https://api.github.com/users/tazarov/repos",
"events_url": "https://api.github.com/users/tazarov/events{/privacy}",
"received_events_url": "https://api.github.com/users/tazarov/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": 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"
}
] |
closed
| false
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 4
| 2023-09-29T02:05:52
| 2023-10-17T20:59:43
| 2023-10-17T20:59:42
|
CONTRIBUTOR
| null |
- **Description:** Chroma >= 0.4.10 added support for batch sizes validation of add/upsert. This batch size is dependent on the SQLite limits of the target system and varies. In this change, for Chroma>=0.4.10 batch splitting was added as the aforementioned validation is starting to surface in the Chroma community (users using LC)
- **Issue:** N/A
- **Dependencies:** N/A
- **Tag maintainer:** @eyurtsev
- **Twitter handle:** t_azarov
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11203/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11203",
"html_url": "https://github.com/langchain-ai/langchain/pull/11203",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11203.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11203.patch",
"merged_at": "2023-10-17T20:59:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11202
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11202/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11202/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11202/events
|
https://github.com/langchain-ai/langchain/pull/11202
| 1,918,454,255
|
PR_kwDOIPDwls5bfoDF
| 11,202
|
fix trubrics lint issue
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-29T01:05:35
| 2023-09-29T01:07:51
| 2023-09-29T01:07:50
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11202/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11202",
"html_url": "https://github.com/langchain-ai/langchain/pull/11202",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11202.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11202.patch",
"merged_at": "2023-09-29T01:07:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11201
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11201/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11201/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11201/events
|
https://github.com/langchain-ai/langchain/pull/11201
| 1,918,379,402
|
PR_kwDOIPDwls5bfYDs
| 11,201
|
delete v1 tracer
|
{
"login": "agola11",
"id": 9536492,
"node_id": "MDQ6VXNlcjk1MzY0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agola11",
"html_url": "https://github.com/agola11",
"followers_url": "https://api.github.com/users/agola11/followers",
"following_url": "https://api.github.com/users/agola11/following{/other_user}",
"gists_url": "https://api.github.com/users/agola11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agola11/subscriptions",
"organizations_url": "https://api.github.com/users/agola11/orgs",
"repos_url": "https://api.github.com/users/agola11/repos",
"events_url": "https://api.github.com/users/agola11/events{/privacy}",
"received_events_url": "https://api.github.com/users/agola11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T23:06:41
| 2024-01-02T16:52:59
| 2024-01-02T16:52:59
|
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/hwchase17/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/11201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11201/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11201",
"html_url": "https://github.com/langchain-ai/langchain/pull/11201",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11201.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11201.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11200
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11200/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11200/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11200/events
|
https://github.com/langchain-ai/langchain/pull/11200
| 1,918,356,754
|
PR_kwDOIPDwls5bfTNU
| 11,200
|
Add support for project metadata in run_on_dataset
|
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T22:34:23
| 2023-09-29T04:26:38
| 2023-09-29T04:26:37
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11200/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11200",
"html_url": "https://github.com/langchain-ai/langchain/pull/11200",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11200.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11200.patch",
"merged_at": "2023-09-29T04:26:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11199
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11199/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11199/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11199/events
|
https://github.com/langchain-ai/langchain/pull/11199
| 1,918,315,342
|
PR_kwDOIPDwls5bfKPr
| 11,199
|
docs: Mendable Search Improvements
|
{
"login": "nickscamara",
"id": 20311743,
"node_id": "MDQ6VXNlcjIwMzExNzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/20311743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickscamara",
"html_url": "https://github.com/nickscamara",
"followers_url": "https://api.github.com/users/nickscamara/followers",
"following_url": "https://api.github.com/users/nickscamara/following{/other_user}",
"gists_url": "https://api.github.com/users/nickscamara/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nickscamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickscamara/subscriptions",
"organizations_url": "https://api.github.com/users/nickscamara/orgs",
"repos_url": "https://api.github.com/users/nickscamara/repos",
"events_url": "https://api.github.com/users/nickscamara/events{/privacy}",
"received_events_url": "https://api.github.com/users/nickscamara/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T21:45:59
| 2023-09-28T22:57:04
| 2023-09-28T22:57:04
|
CONTRIBUTOR
| null |
Improvements to the Mendable UI, more accurate responses, and bug fixes.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11199/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11199/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11199",
"html_url": "https://github.com/langchain-ai/langchain/pull/11199",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11199.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11199.patch",
"merged_at": "2023-09-28T22:57:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11198
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11198/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11198/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11198/events
|
https://github.com/langchain-ai/langchain/pull/11198
| 1,918,218,621
|
PR_kwDOIPDwls5be1Z9
| 11,198
|
LangServe: Relax requirements
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T20:23:12
| 2023-09-29T01:27:20
| 2023-09-29T01:27:19
|
COLLABORATOR
| null |
Relax requirements
<!-- 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/hwchase17/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/11198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11198/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11198",
"html_url": "https://github.com/langchain-ai/langchain/pull/11198",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11198.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11198.patch",
"merged_at": "2023-09-29T01:27:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11197
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11197/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11197/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11197/events
|
https://github.com/langchain-ai/langchain/issues/11197
| 1,918,183,041
|
I_kwDOIPDwls5yVSaB
| 11,197
|
Documents not being correctly indexed in vector database. ["redis.exceptions.ResponseError: my_docs: no such index"]
|
{
"login": "Demian143",
"id": 81446007,
"node_id": "MDQ6VXNlcjgxNDQ2MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/81446007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Demian143",
"html_url": "https://github.com/Demian143",
"followers_url": "https://api.github.com/users/Demian143/followers",
"following_url": "https://api.github.com/users/Demian143/following{/other_user}",
"gists_url": "https://api.github.com/users/Demian143/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Demian143/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Demian143/subscriptions",
"organizations_url": "https://api.github.com/users/Demian143/orgs",
"repos_url": "https://api.github.com/users/Demian143/repos",
"events_url": "https://api.github.com/users/Demian143/events{/privacy}",
"received_events_url": "https://api.github.com/users/Demian143/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": 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"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-09-28T19:57:36
| 2023-10-24T17:51:26
| 2023-10-24T17:51:26
|
NONE
| null |
### System Info
Following the steps of indexing from [ https://python.langchain.com/docs/modules/data_connection/indexing ](url) you'll find the following error "redis.exceptions.ResponseError: my_docs: no such index".
You'll get this exception while using redis as retriever:

### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction

The error is here:

If you look for the index you'll get (empty list or set).
This line makes impossible to save in the wanted format, and there's another thing: The index is not created for some reason.
I'll try to fix, but I'm not sure if it's possible for me at the moment, so I'm reporting this, I hope it helps.
### Expected behavior
Expected behavior inside Redis: "docs:indexname_:12ss2sadd"
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11197/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11197/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11196
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11196/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11196/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11196/events
|
https://github.com/langchain-ai/langchain/pull/11196
| 1,918,144,763
|
PR_kwDOIPDwls5beld6
| 11,196
|
Background evaluator
|
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T19:34:57
| 2023-09-28T22:44:48
| 2023-09-28T22:40:59
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11196/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11196",
"html_url": "https://github.com/langchain-ai/langchain/pull/11196",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11196.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11196.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11195
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11195/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11195/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11195/events
|
https://github.com/langchain-ai/langchain/pull/11195
| 1,918,135,247
|
PR_kwDOIPDwls5bejcF
| 11,195
|
Add langserve version
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T19:28:05
| 2023-09-28T20:24:01
| 2023-09-28T20:24:00
|
COLLABORATOR
| null |
Add langserve version
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11195/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11195",
"html_url": "https://github.com/langchain-ai/langchain/pull/11195",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11195.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11195.patch",
"merged_at": "2023-09-28T20:24:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11194
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11194/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11194/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11194/events
|
https://github.com/langchain-ai/langchain/pull/11194
| 1,918,129,268
|
PR_kwDOIPDwls5beiKH
| 11,194
|
Bedrock scheduled 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": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T19:23:22
| 2023-10-02T19:21:55
| 2023-10-02T19:21:54
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11194/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11194",
"html_url": "https://github.com/langchain-ai/langchain/pull/11194",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11194.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11194.patch",
"merged_at": "2023-10-02T19:21:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11193
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11193/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11193/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11193/events
|
https://github.com/langchain-ai/langchain/pull/11193
| 1,918,119,215
|
PR_kwDOIPDwls5bef-t
| 11,193
|
Add a streaming json parser
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
|
{
"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-09-28T19:15:27
| 2023-09-29T19:09:54
| 2023-09-29T19:09:52
|
COLLABORATOR
| null |
<img width="1728" alt="Screenshot 2023-09-28 at 20 15 01" src="https://github.com/langchain-ai/langchain/assets/56902/ed0644c3-6db7-41b9-9543-e34fce46d3e5">
<!-- 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/hwchase17/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/11193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11193/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11193",
"html_url": "https://github.com/langchain-ai/langchain/pull/11193",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11193.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11193.patch",
"merged_at": "2023-09-29T19:09:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11192
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11192/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11192/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11192/events
|
https://github.com/langchain-ai/langchain/pull/11192
| 1,918,085,295
|
PR_kwDOIPDwls5beYnW
| 11,192
|
Rm additional file check for scheduled 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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:48:42
| 2023-09-28T19:33:54
| 2023-09-28T18:49:27
|
COLLABORATOR
| null |
cc @obi1kenobi Causing issues with GHA creds https://github.com/langchain-ai/langchain/actions/runs/6342767671/job/17229204508#step:7:36
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11192/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11192",
"html_url": "https://github.com/langchain-ai/langchain/pull/11192",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11192.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11192.patch",
"merged_at": "2023-09-28T18:49:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11190
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11190/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11190/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11190/events
|
https://github.com/langchain-ai/langchain/pull/11190
| 1,918,049,268
|
PR_kwDOIPDwls5beQwC
| 11,190
|
Suppress warnings in interactive env that stem from tab completion
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:21:13
| 2023-09-29T15:44:31
| 2023-09-29T15:44:30
|
COLLABORATOR
| null |
Suppress warnings in interactive environments that can arise from users
relying on tab completion (without even using deprecated modules).
jupyter seems to filter warnings by default (at least for me), but ipython surfaces them all
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11190/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11190",
"html_url": "https://github.com/langchain-ai/langchain/pull/11190",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11190.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11190.patch",
"merged_at": "2023-09-29T15:44:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11189
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11189/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11189/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11189/events
|
https://github.com/langchain-ai/langchain/issues/11189
| 1,918,043,819
|
I_kwDOIPDwls5yUwar
| 11,189
|
Bedrock InvokeModel failes on GA release
|
{
"login": "mrichman",
"id": 11228,
"node_id": "MDQ6VXNlcjExMjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrichman",
"html_url": "https://github.com/mrichman",
"followers_url": "https://api.github.com/users/mrichman/followers",
"following_url": "https://api.github.com/users/mrichman/following{/other_user}",
"gists_url": "https://api.github.com/users/mrichman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mrichman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrichman/subscriptions",
"organizations_url": "https://api.github.com/users/mrichman/orgs",
"repos_url": "https://api.github.com/users/mrichman/repos",
"events_url": "https://api.github.com/users/mrichman/events{/privacy}",
"received_events_url": "https://api.github.com/users/mrichman/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false
| null |
[] | null | 7
| 2023-09-28T18:17:28
| 2023-10-09T12:39:46
| null |
NONE
| null |
### System Info
Lambda Python 3.11 runtime
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
As of Bedrock GA today, I get this error:
"/var/task/langchain/llms/bedrock.py", line 237, in _prepare_input_and_invoke raise ValueError(f"Error raised by bedrock service: {e}") ValueError: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModel operation: The requested operation is not recognized by the service.
### Expected behavior
It should invoke the model. I'm guessing with today's GA release of Bedrock, an underlying API call changed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11189/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/11189/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11188
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11188/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11188/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11188/events
|
https://github.com/langchain-ai/langchain/pull/11188
| 1,918,043,174
|
PR_kwDOIPDwls5bePb1
| 11,188
|
add anthropic scheduled tests and unit 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": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:16:59
| 2023-09-28T18:47:30
| 2023-09-28T18:47:29
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11188/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11188",
"html_url": "https://github.com/langchain-ai/langchain/pull/11188",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11188.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11188.patch",
"merged_at": "2023-09-28T18:47:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11187
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11187/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11187/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11187/events
|
https://github.com/langchain-ai/langchain/pull/11187
| 1,918,042,943
|
PR_kwDOIPDwls5bePYn
| 11,187
|
temporarily skip embedding empty string 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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:16:47
| 2023-09-28T18:20:02
| 2023-09-28T18:20:00
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11187/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11187",
"html_url": "https://github.com/langchain-ai/langchain/pull/11187",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11187.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11187.patch",
"merged_at": "2023-09-28T18:20:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11186
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11186/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11186/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11186/events
|
https://github.com/langchain-ai/langchain/pull/11186
| 1,918,028,928
|
PR_kwDOIPDwls5beMSy
| 11,186
|
LangServe: Update langchain requirement for publishing
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:06:58
| 2023-09-28T18:11:59
| 2023-09-28T18:11:58
|
COLLABORATOR
| null |
Update langchain requirement for publishing

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11186/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11186",
"html_url": "https://github.com/langchain-ai/langchain/pull/11186",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11186.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11186.patch",
"merged_at": "2023-09-28T18:11:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11185
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11185/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11185/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11185/events
|
https://github.com/langchain-ai/langchain/pull/11185
| 1,918,024,391
|
PR_kwDOIPDwls5beLUL
| 11,185
|
Fix anthropic secret key when passed in via init
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T18:03:25
| 2023-09-28T18:21:42
| 2023-09-28T18:21:41
|
COLLABORATOR
| null |
Fixes anthropic secret key when passed via init
https://github.com/langchain-ai/langchain/issues/11182
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11185/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11185",
"html_url": "https://github.com/langchain-ai/langchain/pull/11185",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11185.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11185.patch",
"merged_at": "2023-09-28T18:21:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11184
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11184/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11184/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11184/events
|
https://github.com/langchain-ai/langchain/pull/11184
| 1,917,993,807
|
PR_kwDOIPDwls5beEpO
| 11,184
|
[OpenSearch] Add Self Query Retriever Support to OpenSearch
|
{
"login": "naveentatikonda",
"id": 89161683,
"node_id": "MDQ6VXNlcjg5MTYxNjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/89161683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naveentatikonda",
"html_url": "https://github.com/naveentatikonda",
"followers_url": "https://api.github.com/users/naveentatikonda/followers",
"following_url": "https://api.github.com/users/naveentatikonda/following{/other_user}",
"gists_url": "https://api.github.com/users/naveentatikonda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/naveentatikonda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naveentatikonda/subscriptions",
"organizations_url": "https://api.github.com/users/naveentatikonda/orgs",
"repos_url": "https://api.github.com/users/naveentatikonda/repos",
"events_url": "https://api.github.com/users/naveentatikonda/events{/privacy}",
"received_events_url": "https://api.github.com/users/naveentatikonda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 8
| 2023-09-28T17:41:23
| 2023-10-01T12:55:14
| 2023-09-28T19:36:52
|
CONTRIBUTOR
| null |
### Description
Add Self Query Retriever Support to OpenSearch
### Maintainers
@rlancemartin, @eyurtsev, @navneet1v
### Twitter Handle
@OpenSearchProj
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11184/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11184",
"html_url": "https://github.com/langchain-ai/langchain/pull/11184",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11184.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11184.patch",
"merged_at": "2023-09-28T19:36:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11183
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11183/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11183/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11183/events
|
https://github.com/langchain-ai/langchain/pull/11183
| 1,917,962,894
|
PR_kwDOIPDwls5bd92t
| 11,183
|
Add source metadata to OutlookMessageLoader
|
{
"login": "ATelders",
"id": 72456061,
"node_id": "MDQ6VXNlcjcyNDU2MDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/72456061?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ATelders",
"html_url": "https://github.com/ATelders",
"followers_url": "https://api.github.com/users/ATelders/followers",
"following_url": "https://api.github.com/users/ATelders/following{/other_user}",
"gists_url": "https://api.github.com/users/ATelders/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ATelders/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ATelders/subscriptions",
"organizations_url": "https://api.github.com/users/ATelders/orgs",
"repos_url": "https://api.github.com/users/ATelders/repos",
"events_url": "https://api.github.com/users/ATelders/events{/privacy}",
"received_events_url": "https://api.github.com/users/ATelders/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T17:18:35
| 2023-09-28T19:02:06
| 2023-09-28T18:58:12
|
CONTRIBUTOR
| null |
Description: Add "source" metadata to OutlookMessageLoader
This pull request adds the "source" metadata to the OutlookMessageLoader class in the load method. The "source" metadata is required when indexing with RecordManager in order to sync the index documents with a source.
Issue: None
Dependencies: None
Twitter handle: @ATelders
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11183/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11183",
"html_url": "https://github.com/langchain-ai/langchain/pull/11183",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11183.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11183.patch",
"merged_at": "2023-09-28T18:58:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11182
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11182/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11182/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11182/events
|
https://github.com/langchain-ai/langchain/issues/11182
| 1,917,900,561
|
I_kwDOIPDwls5yUNcR
| 11,182
|
Pydantic type conversion to SecreteStr for ChatAnthropic anthropic_api_key keyword value raises attribute error in Anthropic client
|
{
"login": "RubenTurciosTensoriot",
"id": 116022333,
"node_id": "U_kgDOBupcPQ",
"avatar_url": "https://avatars.githubusercontent.com/u/116022333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RubenTurciosTensoriot",
"html_url": "https://github.com/RubenTurciosTensoriot",
"followers_url": "https://api.github.com/users/RubenTurciosTensoriot/followers",
"following_url": "https://api.github.com/users/RubenTurciosTensoriot/following{/other_user}",
"gists_url": "https://api.github.com/users/RubenTurciosTensoriot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RubenTurciosTensoriot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RubenTurciosTensoriot/subscriptions",
"organizations_url": "https://api.github.com/users/RubenTurciosTensoriot/orgs",
"repos_url": "https://api.github.com/users/RubenTurciosTensoriot/repos",
"events_url": "https://api.github.com/users/RubenTurciosTensoriot/events{/privacy}",
"received_events_url": "https://api.github.com/users/RubenTurciosTensoriot/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
|
{
"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 | 4
| 2023-09-28T16:37:45
| 2023-09-28T18:21:58
| 2023-09-28T18:21:57
|
NONE
| null |
### System Info
Amazon Linux, langchain version 0.0.304, Docker Image
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce:
1. Initialize ChatAnthropic model, with keyword "anthropic_api_key", as documented: https://api.python.langchain.com/en/latest/chat_models/langchain.chat_models.anthropic.ChatAnthropic.html#langchain.chat_models.anthropic.ChatAnthropic
2. Call chat model via __call__ method, e.g.:
"""
chat = ChatAnthropic(..., anthropic_api_key=os.environ["ANTHROPIC_API_KEY"])
messages = [....]
response = chat(messages)
"""
### Expected behavior
A normal response for a chat model is expected, but instead we get:
```
Traceback (most recent call last):
File "/var/task/app/src/utils/error_route.py", line 27, in custom_route_handler
return await original_route_handler(request)
File "/var/lang/lib/python3.10/site-packages/fastapi/routing.py", line 273, in app
raw_response = await run_endpoint_function(
File "/var/lang/lib/python3.10/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
return await dependant.call(**values)
File "/var/task/app/app.py", line 184, in chat
reply = chat(data["question"])
File "/var/task/app/src/app_modules/chat.py", line 192, in __call__
res = self.chatbot(messages)
File "/var/lang/lib/python3.10/site-packages/langchain/chat_models/base.py", line 595, in __call__
generation = self.generate(
File "/var/lang/lib/python3.10/site-packages/langchain/chat_models/base.py", line 348, in generate
raise e
File "/var/lang/lib/python3.10/site-packages/langchain/chat_models/base.py", line 338, in generate
self._generate_with_cache(
File "/var/lang/lib/python3.10/site-packages/langchain/chat_models/base.py", line 490, in _generate_with_cache
return self._generate(
File "/var/lang/lib/python3.10/site-packages/langchain/chat_models/anthropic.py", line 184, in _generate
response = self.client.completions.create(**params)
File "/var/lang/lib/python3.10/site-packages/anthropic/_utils/_utils.py", line 250, in wrapper
return func(*args, **kwargs)
File "/var/lang/lib/python3.10/site-packages/anthropic/resources/completions.py", line 223, in create
return self._post(
File "/var/lang/lib/python3.10/site-packages/anthropic/_base_client.py", line 949, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "/var/lang/lib/python3.10/site-packages/anthropic/_base_client.py", line 748, in request
return self._request(
File "/var/lang/lib/python3.10/site-packages/anthropic/_base_client.py", line 766, in _request
request = self._build_request(options)
File "/var/lang/lib/python3.10/site-packages/anthropic/_base_client.py", line 397, in _build_request
headers = self._build_headers(options)
File "/var/lang/lib/python3.10/site-packages/anthropic/_base_client.py", line 373, in _build_headers
headers = httpx.Headers(headers_dict)
File "/var/lang/lib/python3.10/site-packages/httpx/_models.py", line 71, in __init__
self._list = [
File "/var/lang/lib/python3.10/site-packages/httpx/_models.py", line 75, in <listcomp>
normalize_header_value(v, encoding),
File "/var/lang/lib/python3.10/site-packages/httpx/_utils.py", line 53, in normalize_header_value
return value.encode(encoding or "ascii")
AttributeError: 'SecretStr' object has no attribute 'encode'
```
Corresponding httpx code:
```
def normalize_header_value(
value: typing.Union[str, bytes], encoding: typing.Optional[str] = None
) -> bytes:
"""
Coerce str/bytes into a strictly byte-wise HTTP header value.
"""
if isinstance(value, bytes):
return value
return value.encode(encoding or "ascii")
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11182/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11181
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11181/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11181/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11181/events
|
https://github.com/langchain-ai/langchain/issues/11181
| 1,917,854,905
|
I_kwDOIPDwls5yUCS5
| 11,181
|
Add support for Bedrock cohere models
|
{
"login": "massi-ang",
"id": 38036163,
"node_id": "MDQ6VXNlcjM4MDM2MTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/38036163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/massi-ang",
"html_url": "https://github.com/massi-ang",
"followers_url": "https://api.github.com/users/massi-ang/followers",
"following_url": "https://api.github.com/users/massi-ang/following{/other_user}",
"gists_url": "https://api.github.com/users/massi-ang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/massi-ang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/massi-ang/subscriptions",
"organizations_url": "https://api.github.com/users/massi-ang/orgs",
"repos_url": "https://api.github.com/users/massi-ang/repos",
"events_url": "https://api.github.com/users/massi-ang/events{/privacy}",
"received_events_url": "https://api.github.com/users/massi-ang/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T16:10:03
| 2023-12-28T16:01:25
| null |
CONTRIBUTOR
| null |
### Feature request
Bedrock added support for Cohere models and the Bedrock llm code must be updated with the right prompt formatting.
The prompt must be passed as `"prompt"` field and not as the code below does as `"input"`
```
{
"modelId": "cohere.command-text-v14",
"contentType": "application/json",
"accept": "*/*",
"body": {
"prompt": "Write a LinkedIn post about starting a career in tech:",
"max_tokens": 100,
"temperature": 0.8,
"return_likelihood": "GENERATION"
}
}
```
https://github.com/langchain-ai/langchain/blob/44489e70291be95b5a95c2e0476f205202945778/libs/langchain/langchain/llms/bedrock.py#L71C1-L89C26
### Motivation
Getting support for all FM exposed by Bedrock via Langchain
### Your contribution
I can submit a PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11181/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/11181/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11180
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11180/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11180/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11180/events
|
https://github.com/langchain-ai/langchain/issues/11180
| 1,917,815,779
|
I_kwDOIPDwls5yT4vj
| 11,180
|
WebBaseLoader interprets incorrectly the web_path parameter
|
{
"login": "mrtj",
"id": 3469711,
"node_id": "MDQ6VXNlcjM0Njk3MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3469711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrtj",
"html_url": "https://github.com/mrtj",
"followers_url": "https://api.github.com/users/mrtj/followers",
"following_url": "https://api.github.com/users/mrtj/following{/other_user}",
"gists_url": "https://api.github.com/users/mrtj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mrtj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrtj/subscriptions",
"organizations_url": "https://api.github.com/users/mrtj/orgs",
"repos_url": "https://api.github.com/users/mrtj/repos",
"events_url": "https://api.github.com/users/mrtj/events{/privacy}",
"received_events_url": "https://api.github.com/users/mrtj/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T15:45:13
| 2023-09-28T15:48:19
| 2023-09-28T15:48:19
|
CONTRIBUTOR
| null |
### System Info
LangChain version: 0.0.304
### Who can help?
@eyurt
### 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
```python
from langchain.document_loaders.web_base import WebBaseLoader
loader = WebBaseLoader("https://www.google.com")
docs = loader.load()
```
Result: RequestException is raised with the message "Invalid URL 'h': No scheme supplied. Perhaps you meant https://h?"
### Expected behavior
The page contents correctly loads to documents.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11180/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11179
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11179/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11179/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11179/events
|
https://github.com/langchain-ai/langchain/pull/11179
| 1,917,799,624
|
PR_kwDOIPDwls5bdZ5u
| 11,179
|
Add safe pandas eval tool
|
{
"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": 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 | 3
| 2023-09-28T15:35:12
| 2023-10-06T15:15:19
| null |
COLLABORATOR
| null |
- [ ] whitelist FROM clause to only allow selecting from the names of the data frames passed in or subqueries (which are themselves subject to same whitelisting)
<img width="1264" alt="Screenshot 2023-10-03 at 13 31 57" src="https://github.com/langchain-ai/langchain/assets/56902/33f460d0-353c-4d27-9f3b-9b4912f194e9">
<!-- 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/hwchase17/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/11179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11179/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11179",
"html_url": "https://github.com/langchain-ai/langchain/pull/11179",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11179.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11179.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11178
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11178/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11178/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11178/events
|
https://github.com/langchain-ai/langchain/pull/11178
| 1,917,751,673
|
PR_kwDOIPDwls5bdPc5
| 11,178
|
LangServe: Add release workflow
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T15:07:56
| 2023-09-28T17:47:57
| 2023-09-28T17:47:56
|
COLLABORATOR
| null |
Add release workflow to langserve
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11178/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11178/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11178",
"html_url": "https://github.com/langchain-ai/langchain/pull/11178",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11178.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11178.patch",
"merged_at": "2023-09-28T17:47:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11177
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11177/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11177/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11177/events
|
https://github.com/langchain-ai/langchain/pull/11177
| 1,917,698,121
|
PR_kwDOIPDwls5bdDpd
| 11,177
|
Enable creating Tools from any Runnable
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T14:40:55
| 2023-09-29T11:03:58
| 2023-09-29T11:03:57
|
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/hwchase17/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/11177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11177/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11177",
"html_url": "https://github.com/langchain-ai/langchain/pull/11177",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11177.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11177.patch",
"merged_at": "2023-09-29T11:03:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11176
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11176/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11176/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11176/events
|
https://github.com/langchain-ai/langchain/pull/11176
| 1,917,678,189
|
PR_kwDOIPDwls5bc_QB
| 11,176
|
Expose lc_id as a classmethod
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T14:31:11
| 2023-09-28T16:25:28
| 2023-09-28T16:25:27
|
COLLABORATOR
| null |
* Expose LC id as a class method
* User should not need to know that the last part of the id is the class name
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11176/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11176/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11176",
"html_url": "https://github.com/langchain-ai/langchain/pull/11176",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11176.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11176.patch",
"merged_at": "2023-09-28T16:25:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11175
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11175/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11175/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11175/events
|
https://github.com/langchain-ai/langchain/pull/11175
| 1,917,666,983
|
PR_kwDOIPDwls5bc8x5
| 11,175
|
Implement better reprs for Runnables
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T14:25:37
| 2023-09-29T10:56:30
| 2023-09-29T10:56:29
|
COLLABORATOR
| null |
```
ChatPromptTemplate(messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], template='You are a nice assistant.')), HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['question'], template='{question}'))])
| RunnableLambda(lambda x: x)
| {
chat: FakeListChatModel(responses=["i'm a chatbot"]),
llm: FakeListLLM(responses=["i'm a textbot"])
}
```
<!-- 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/hwchase17/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/11175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11175/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11175",
"html_url": "https://github.com/langchain-ai/langchain/pull/11175",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11175.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11175.patch",
"merged_at": "2023-09-29T10:56:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11174
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11174/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11174/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11174/events
|
https://github.com/langchain-ai/langchain/pull/11174
| 1,917,550,232
|
PR_kwDOIPDwls5bcjSP
| 11,174
|
LangServe: Clean up init files
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T13:24:33
| 2023-09-28T15:10:44
| 2023-09-28T15:10:43
|
COLLABORATOR
| null |
Clean up init files
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11174/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11174",
"html_url": "https://github.com/langchain-ai/langchain/pull/11174",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11174.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11174.patch",
"merged_at": "2023-09-28T15:10:43"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11173
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11173/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11173/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11173/events
|
https://github.com/langchain-ai/langchain/issues/11173
| 1,917,547,206
|
I_kwDOIPDwls5yS3LG
| 11,173
|
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
|
{
"login": "Locke-bot",
"id": 74389073,
"node_id": "MDQ6VXNlcjc0Mzg5MDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/74389073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Locke-bot",
"html_url": "https://github.com/Locke-bot",
"followers_url": "https://api.github.com/users/Locke-bot/followers",
"following_url": "https://api.github.com/users/Locke-bot/following{/other_user}",
"gists_url": "https://api.github.com/users/Locke-bot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Locke-bot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Locke-bot/subscriptions",
"organizations_url": "https://api.github.com/users/Locke-bot/orgs",
"repos_url": "https://api.github.com/users/Locke-bot/repos",
"events_url": "https://api.github.com/users/Locke-bot/events{/privacy}",
"received_events_url": "https://api.github.com/users/Locke-bot/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T13:22:51
| 2023-12-28T16:01:27
| null |
NONE
| null |
### Issue you'd like to raise.
full_chain = {
"source1": {"question": lambda x: x["question"]} | query_chain | db.run,
"source2": (lambda x: x['question']) | vectorstore.as_retriever(),
"question": lambda x: x['question'],
} | qa_prompt | ChatOpenAI(streaming=True, callbacks=[QueueCallback(q)], temperature=0, model_name='gpt-4')
how can I add chat history to this?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11173/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11171
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11171/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11171/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11171/events
|
https://github.com/langchain-ai/langchain/issues/11171
| 1,917,489,116
|
I_kwDOIPDwls5ySo_c
| 11,171
|
how to add chat history to runnablesequence instance
|
{
"login": "Locke-bot",
"id": 74389073,
"node_id": "MDQ6VXNlcjc0Mzg5MDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/74389073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Locke-bot",
"html_url": "https://github.com/Locke-bot",
"followers_url": "https://api.github.com/users/Locke-bot/followers",
"following_url": "https://api.github.com/users/Locke-bot/following{/other_user}",
"gists_url": "https://api.github.com/users/Locke-bot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Locke-bot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Locke-bot/subscriptions",
"organizations_url": "https://api.github.com/users/Locke-bot/orgs",
"repos_url": "https://api.github.com/users/Locke-bot/repos",
"events_url": "https://api.github.com/users/Locke-bot/events{/privacy}",
"received_events_url": "https://api.github.com/users/Locke-bot/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T12:54:18
| 2023-12-28T16:02:12
| null |
NONE
| null |
### Issue you'd like to raise.
full_chain = {
"source1": {"question": lambda x: x["question"]} | query_chain | db.run,
"source2": (lambda x: x['question']) | vectorstore.as_retriever(),
"question": lambda x: x['question'],
} | qa_prompt | ChatOpenAI(streaming=True, callbacks=[QueueCallback(q)], temperature=0, model_name='gpt-4')
how can I add chat history to this please?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11171/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11169
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11169/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11169/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11169/events
|
https://github.com/langchain-ai/langchain/issues/11169
| 1,917,344,258
|
I_kwDOIPDwls5ySFoC
| 11,169
|
norm_eps parameters in LlamaCpp
|
{
"login": "phamkhactu",
"id": 42369268,
"node_id": "MDQ6VXNlcjQyMzY5MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/42369268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phamkhactu",
"html_url": "https://github.com/phamkhactu",
"followers_url": "https://api.github.com/users/phamkhactu/followers",
"following_url": "https://api.github.com/users/phamkhactu/following{/other_user}",
"gists_url": "https://api.github.com/users/phamkhactu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/phamkhactu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phamkhactu/subscriptions",
"organizations_url": "https://api.github.com/users/phamkhactu/orgs",
"repos_url": "https://api.github.com/users/phamkhactu/repos",
"events_url": "https://api.github.com/users/phamkhactu/events{/privacy}",
"received_events_url": "https://api.github.com/users/phamkhactu/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T11:48:48
| 2023-12-28T16:01:29
| null |
NONE
| null |
### Feature request
When I use llama cpp for my case, I have [problems](https://github.com/ggerganov/llama.cpp/issues/2619). I've tried use "-esp 1e-5". It works well for me.
But when I use ```from langchain.llms import LlamaCpp``` I get the same problems. However I dont know the way to pass parameters
Thank you~~
### Motivation
Relevant with encode - decode
### Your contribution
[Llama cpp](https://github.com/ggerganov/llama.cpp)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11169/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11168
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11168/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11168/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11168/events
|
https://github.com/langchain-ai/langchain/issues/11168
| 1,917,319,585
|
I_kwDOIPDwls5yR_mh
| 11,168
|
Issue: Pinecone.from_documents cannot run on AWS Lambda because of multiprocessing
|
{
"login": "KLia",
"id": 6495644,
"node_id": "MDQ6VXNlcjY0OTU2NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6495644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KLia",
"html_url": "https://github.com/KLia",
"followers_url": "https://api.github.com/users/KLia/followers",
"following_url": "https://api.github.com/users/KLia/following{/other_user}",
"gists_url": "https://api.github.com/users/KLia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KLia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KLia/subscriptions",
"organizations_url": "https://api.github.com/users/KLia/orgs",
"repos_url": "https://api.github.com/users/KLia/repos",
"events_url": "https://api.github.com/users/KLia/events{/privacy}",
"received_events_url": "https://api.github.com/users/KLia/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": 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"
},
{
"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 | 10
| 2023-09-28T11:38:04
| 2023-12-11T18:24:31
| null |
NONE
| null |
### Issue you'd like to raise.
I am writing a few apps that use LangChain and deploying them to AWS Lambda. My previous 2 lambdas are running smoothly, but the one I'm trying to deploy this week is giving me the following stack trace when the lambda is run:
``` "errorMessage": "[Errno 38] Function not implemented",
"errorType": "OSError",
"requestId": "23ef7a93-3d00-475c-b495-421810f93d92",
"stackTrace": [
" File \"/var/task/datadog_lambda/wrapper.py\", line 214, in __call__\n self.response = self.func(event, context, **kwargs)\n",
" File \"/var/task/app.py\", line 4, in lambda_handler\n total_indexed_pages = get_latest_changes()\n",
" File \"/var/task/ddtrace/contrib/aws_lambda/patch.py\", line 115, in __call__\n self.response = self.func(*args, **kwargs)\n",
" File \"/var/task/app.py\", line 4, in lambda_handler\n total_indexed_pages = get_latest_changes()\n",
" File \"/var/task/index_latest_docs.py\", line 137, in get_latest_changes\n raise e\n",
" File \"/var/task/index_latest_docs.py\", line 126, in get_latest_changes\n Pinecone.from_documents(docs, embedding=embeddings, index_name=PINECONE_INDEX_NAME, namespace=PINECONE_NAMESPACE)\n",
" File \"/var/task/langchain/schema/vectorstore.py\", line 420, in from_documents\n return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)\n",
" File \"/var/task/langchain/vectorstores/pinecone.py\", line 416, in from_texts\n pinecone.add_texts(\n",
" File \"/var/task/langchain/vectorstores/pinecone.py\", line 138, in add_texts\n async_res = [\n",
" File \"/var/task/langchain/vectorstores/pinecone.py\", line 139, in <listcomp>\n self._index.upsert(\n",
" File \"/var/task/pinecone/core/utils/error_handling.py\", line 17, in inner_func\n return func(*args, **kwargs)\n",
" File \"/var/task/pinecone/index.py\", line 150, in upsert\n return self._upsert_batch(vectors, namespace, _check_type, **kwargs)\n",
" File \"/var/task/pinecone/index.py\", line 237, in _upsert_batch\n return self._vector_api.upsert(\n",
" File \"/var/task/pinecone/core/client/api_client.py\", line 776, in __call__\n return self.callable(self, *args, **kwargs)\n",
" File \"/var/task/pinecone/core/client/api/vector_operations_api.py\", line 956, in __upsert\n return self.call_with_http_info(**kwargs)\n",
" File \"/var/task/pinecone/core/client/api_client.py\", line 838, in call_with_http_info\n return self.api_client.call_api(\n",
" File \"/var/task/pinecone/core/client/api_client.py\", line 421, in call_api\n return self.pool.apply_async(self.__call_api, (resource_path,\n",
" File \"/var/task/pinecone/core/client/api_client.py\", line 107, in pool\n self._pool = ThreadPool(self.pool_threads)\n",
" File \"/var/lang/lib/python3.11/multiprocessing/pool.py\", line 930, in __init__\n Pool.__init__(self, processes, initializer, initargs)\n",
" File \"/var/lang/lib/python3.11/multiprocessing/pool.py\", line 196, in __init__\n self._change_notifier = self._ctx.SimpleQueue()\n",
" File \"/var/lang/lib/python3.11/multiprocessing/context.py\", line 113, in SimpleQueue\n return SimpleQueue(ctx=self.get_context())\n",
" File \"/var/lang/lib/python3.11/multiprocessing/queues.py\", line 341, in __init__\n self._rlock = ctx.Lock()\n",
" File \"/var/lang/lib/python3.11/multiprocessing/context.py\", line 68, in Lock\n return Lock(ctx=self.get_context())\n",
" File \"/var/lang/lib/python3.11/multiprocessing/synchronize.py\", line 167, in __init__\n SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)\n",
" File \"/var/lang/lib/python3.11/multiprocessing/synchronize.py\", line 57, in __init__\n sl = self._semlock = _multiprocessing.SemLock
```
On line 126 in my index_latest_docs.py file, I have the following line:
`Pinecone.from_documents(docs, embedding=embeddings, index_name=PINECONE_INDEX_NAME, namespace=PINECONE_NAMESPACE)`
This is causing it to not run in AWS Lambda because Lambda cannot handle multiprocessing, which the function seems to be doing internally.
I don't know if this is a newly introduced issue, because I'm using the same exact function in my other lambda apps, and they seem to be running fine - but maybe the containers were built with a different version than this more recent one.
Any help would be greatly appreciated
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11168/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11168/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11167
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11167/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11167/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11167/events
|
https://github.com/langchain-ai/langchain/issues/11167
| 1,917,278,742
|
I_kwDOIPDwls5yR1oW
| 11,167
|
[BUG] OutputParserException when using CSV agent as a tool for another agent
|
{
"login": "aiwalter",
"id": 29627036,
"node_id": "MDQ6VXNlcjI5NjI3MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/29627036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aiwalter",
"html_url": "https://github.com/aiwalter",
"followers_url": "https://api.github.com/users/aiwalter/followers",
"following_url": "https://api.github.com/users/aiwalter/following{/other_user}",
"gists_url": "https://api.github.com/users/aiwalter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aiwalter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aiwalter/subscriptions",
"organizations_url": "https://api.github.com/users/aiwalter/orgs",
"repos_url": "https://api.github.com/users/aiwalter/repos",
"events_url": "https://api.github.com/users/aiwalter/events{/privacy}",
"received_events_url": "https://api.github.com/users/aiwalter/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"
}
] |
closed
| false
| null |
[] | null | 5
| 2023-09-28T11:15:57
| 2023-10-05T13:33:50
| 2023-10-05T13:33:50
|
NONE
| null |
### System Info
langchain==0.0.299
Python 3.10.13
OS: Windows 10
### 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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
from langchain.agents import initialize_agent
from langchain.agents.agent_types import AgentType
from langchain.chat_models import AzureChatOpenAI
from langchain.agents.tools import Tool
from langchain.agents import load_tools
from langchain.agents import create_csv_agent
from langchain.memory import ConversationBufferMemory
llm = AzureChatOpenAI(
model="gpt-4",
temperature=0,
openai_api_version="2023-05-15",
verbose=True,
)
tools = load_tools(["wikipedia", "llm-math"], llm=llm)
csv_agent = create_csv_agent(
llm=llm,
path=["sample_02.csv"], # some sales data
verbose=True,
handle_parsing_errors=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
memory=ConversationBufferMemory(),
)
csv_tool = Tool(
name="CSV Agent",
func=csv_agent.run,
description="Useful for interacting with CSV data.",
)
tools.append(csv_tool)
agent = initialize_agent(
llm=llm,
tools=tools,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
verbose=True,
handle_parsing_errors=True,
memory=ConversationBufferMemory(),
)
agent.run("What is the sum of sales")
```
### Expected behavior
I am getting exception:
```
File "C:\Users\X\lib\site-packages\langchain\agents\mrkl\output_parser.py", line 52, in parse raise OutputParserException( langchain.schema.output_parser.OutputParserException: Could not parse LLM output: 'some info about data comes here'
```
Expected: No exception and agent should have same behaviour as if I would use the CSV agent standalone
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11167/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11166
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11166/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11166/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11166/events
|
https://github.com/langchain-ai/langchain/issues/11166
| 1,917,264,832
|
I_kwDOIPDwls5yRyPA
| 11,166
|
Runtime Exception in create_extraction_chain_pydantic (RuntimeError: no validator found)
|
{
"login": "hedb",
"id": 812947,
"node_id": "MDQ6VXNlcjgxMjk0Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/812947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hedb",
"html_url": "https://github.com/hedb",
"followers_url": "https://api.github.com/users/hedb/followers",
"following_url": "https://api.github.com/users/hedb/following{/other_user}",
"gists_url": "https://api.github.com/users/hedb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hedb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hedb/subscriptions",
"organizations_url": "https://api.github.com/users/hedb/orgs",
"repos_url": "https://api.github.com/users/hedb/repos",
"events_url": "https://api.github.com/users/hedb/events{/privacy}",
"received_events_url": "https://api.github.com/users/hedb/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T11:09:25
| 2023-12-30T16:02:21
| null |
NONE
| null |
### System Info
Langchain 0.0.302
Pydantic 2.4.1
reproducing code:
```
from langchain.chains import create_extraction_chain_pydantic
from langchain.chat_models import ChatOpenAI
from pydantic import BaseModel, model_validator
from typing import Any
class TestData(BaseModel):
company_name: str
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo")
chain = create_extraction_chain_pydantic(pydantic_schema=TestData, llm=llm)
extracted_subsidiary_list = chain.run('')
```
Exception:
**RuntimeError: no validator found for <class '__main__.TestData'>, see `arbitrary_types_allowed` in Config**
Tried adding: (didn't help)
```
@model_validator(mode='after')
def dummy_validator(self):
return self
@model_validator(mode='before')
@classmethod
def dummy_validator1(cls, data: Any) -> Any:
return data
```
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.chains import create_extraction_chain_pydantic
from langchain.chat_models import ChatOpenAI
from pydantic import BaseModel, model_validator
from typing import Any
class TestData(BaseModel):
company_name: str
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo")
chain = create_extraction_chain_pydantic(pydantic_schema=TestData, llm=llm)
extracted_subsidiary_list = chain.run('')
```
### Expected behavior
Doesn't throw exception
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11166/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11165
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11165/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11165/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11165/events
|
https://github.com/langchain-ai/langchain/issues/11165
| 1,917,252,474
|
I_kwDOIPDwls5yRvN6
| 11,165
|
Argument 'value' has incorrect type (expected str, got SecretStr) (type=type_error) in chatAnthropic- Induced in 0.0.301
|
{
"login": "vcet-project",
"id": 141930073,
"node_id": "U_kgDOCHWuWQ",
"avatar_url": "https://avatars.githubusercontent.com/u/141930073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vcet-project",
"html_url": "https://github.com/vcet-project",
"followers_url": "https://api.github.com/users/vcet-project/followers",
"following_url": "https://api.github.com/users/vcet-project/following{/other_user}",
"gists_url": "https://api.github.com/users/vcet-project/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vcet-project/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vcet-project/subscriptions",
"organizations_url": "https://api.github.com/users/vcet-project/orgs",
"repos_url": "https://api.github.com/users/vcet-project/repos",
"events_url": "https://api.github.com/users/vcet-project/events{/privacy}",
"received_events_url": "https://api.github.com/users/vcet-project/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 | 4
| 2023-09-28T11:04:07
| 2023-10-03T12:20:10
| 2023-10-03T12:20:10
|
NONE
| null |
### System Info
Hi Team,
The issue is while calling the ChatAnthropic function with the right anthropic secret key. The type SecretStr is not getting resolved. Discussed over here:https://github.com/langchain-ai/langchain/pull/10724
### Who can help?
@josh
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
To recreate the error :
from langchain.chat_models import ChatAnthropic
claude_chat = ChatAnthropic(anthropic_api_key="xy-key")
### Expected behavior
It should initialize the claude chat
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11165/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11164
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11164/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11164/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11164/events
|
https://github.com/langchain-ai/langchain/pull/11164
| 1,917,225,912
|
PR_kwDOIPDwls5bbaJL
| 11,164
|
add baidu elasticsearch vectorstore
|
{
"login": "wemysschen",
"id": 38650638,
"node_id": "MDQ6VXNlcjM4NjUwNjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/38650638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wemysschen",
"html_url": "https://github.com/wemysschen",
"followers_url": "https://api.github.com/users/wemysschen/followers",
"following_url": "https://api.github.com/users/wemysschen/following{/other_user}",
"gists_url": "https://api.github.com/users/wemysschen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wemysschen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wemysschen/subscriptions",
"organizations_url": "https://api.github.com/users/wemysschen/orgs",
"repos_url": "https://api.github.com/users/wemysschen/repos",
"events_url": "https://api.github.com/users/wemysschen/events{/privacy}",
"received_events_url": "https://api.github.com/users/wemysschen/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T10:51:46
| 2023-10-10T14:07:24
| 2023-10-10T14:07:06
|
CONTRIBUTOR
| null |
**Description:**
add baidu elasticsearch vectorstore
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11164/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11164",
"html_url": "https://github.com/langchain-ai/langchain/pull/11164",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11164.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11164.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11163
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11163/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11163/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11163/events
|
https://github.com/langchain-ai/langchain/issues/11163
| 1,917,192,653
|
I_kwDOIPDwls5yRgnN
| 11,163
|
Add `hierarchy` key to Document metadata in `ConfluenceLoader`
|
{
"login": "ClaudioSalvatoreArcidiacono",
"id": 22871978,
"node_id": "MDQ6VXNlcjIyODcxOTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/22871978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono",
"html_url": "https://github.com/ClaudioSalvatoreArcidiacono",
"followers_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/followers",
"following_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/following{/other_user}",
"gists_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/subscriptions",
"organizations_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/orgs",
"repos_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/repos",
"events_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/events{/privacy}",
"received_events_url": "https://api.github.com/users/ClaudioSalvatoreArcidiacono/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 2
| 2023-09-28T10:33:12
| 2023-12-28T16:01:12
| null |
NONE
| null |
### Feature request
Add `hierarchy` key to Document metadata returned by `ConfluenceLoader`.
So, for example if a page is located under the pages Page A/Page B, the `hierarchy` should be equal to `Page A/Page B`
This could be achieved by calling the confluence endpoint using `expand = "ancestors"`.
For example [this](https://github.com/langchain-ai/langchain/blob/cfa2203c626a2287d60c1febeb3e3a68b77acd77/libs/langchain/langchain/document_loaders/confluence.py#L282) would become
```python
pages = self.paginate_request(
self.confluence.get_all_pages_from_space,
space=space_key,
limit=limit,
max_pages=max_pages,
status="any" if include_archived_content else "current",
expand=f"{content_format.value},ancestors",
)
```
### Motivation
Page Hierarchy is very important in a confluence-like space and it would definitely be relevant when searching for documents in the Vector Store.
### Your contribution
I am willing to submit a PR to add this feature.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11163/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11163/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11161
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11161/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11161/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11161/events
|
https://github.com/langchain-ai/langchain/pull/11161
| 1,917,160,446
|
PR_kwDOIPDwls5bbLkh
| 11,161
|
Update Bedrock service name to "bedrock-runtime" and model identifiers
|
{
"login": "mani2348",
"id": 9773247,
"node_id": "MDQ6VXNlcjk3NzMyNDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9773247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mani2348",
"html_url": "https://github.com/mani2348",
"followers_url": "https://api.github.com/users/mani2348/followers",
"following_url": "https://api.github.com/users/mani2348/following{/other_user}",
"gists_url": "https://api.github.com/users/mani2348/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mani2348/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mani2348/subscriptions",
"organizations_url": "https://api.github.com/users/mani2348/orgs",
"repos_url": "https://api.github.com/users/mani2348/repos",
"events_url": "https://api.github.com/users/mani2348/events{/privacy}",
"received_events_url": "https://api.github.com/users/mani2348/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-09-28T10:12:46
| 2023-09-28T16:43:09
| 2023-09-28T16:42:57
|
CONTRIBUTOR
| null |
- **Description:** Bedrock updated boto service name to "bedrock-runtime" for the InvokeModel and InvokeModelWithResponseStream APIs. This update also includes new model identifiers for Titan text, embedding and Anthropic.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11161/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11161",
"html_url": "https://github.com/langchain-ai/langchain/pull/11161",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11161.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11161.patch",
"merged_at": "2023-09-28T16:42:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11160
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11160/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11160/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11160/events
|
https://github.com/langchain-ai/langchain/pull/11160
| 1,917,148,249
|
PR_kwDOIPDwls5bbI4j
| 11,160
|
chore: add support for TypeScript code splitting
|
{
"login": "fynnfluegge",
"id": 16321871,
"node_id": "MDQ6VXNlcjE2MzIxODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16321871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fynnfluegge",
"html_url": "https://github.com/fynnfluegge",
"followers_url": "https://api.github.com/users/fynnfluegge/followers",
"following_url": "https://api.github.com/users/fynnfluegge/following{/other_user}",
"gists_url": "https://api.github.com/users/fynnfluegge/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fynnfluegge/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fynnfluegge/subscriptions",
"organizations_url": "https://api.github.com/users/fynnfluegge/orgs",
"repos_url": "https://api.github.com/users/fynnfluegge/repos",
"events_url": "https://api.github.com/users/fynnfluegge/events{/privacy}",
"received_events_url": "https://api.github.com/users/fynnfluegge/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": 5510857403,
"node_id": "LA_kwDOIPDwls8AAAABSHkCuw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/needs%20documentation",
"name": "needs documentation",
"color": "DCAAC0",
"default": false,
"description": "PR needs to be updated with documentation"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
|
{
"login": "jacoblee93",
"id": 6952323,
"node_id": "MDQ6VXNlcjY5NTIzMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jacoblee93",
"html_url": "https://github.com/jacoblee93",
"followers_url": "https://api.github.com/users/jacoblee93/followers",
"following_url": "https://api.github.com/users/jacoblee93/following{/other_user}",
"gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions",
"organizations_url": "https://api.github.com/users/jacoblee93/orgs",
"repos_url": "https://api.github.com/users/jacoblee93/repos",
"events_url": "https://api.github.com/users/jacoblee93/events{/privacy}",
"received_events_url": "https://api.github.com/users/jacoblee93/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "jacoblee93",
"id": 6952323,
"node_id": "MDQ6VXNlcjY5NTIzMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jacoblee93",
"html_url": "https://github.com/jacoblee93",
"followers_url": "https://api.github.com/users/jacoblee93/followers",
"following_url": "https://api.github.com/users/jacoblee93/following{/other_user}",
"gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions",
"organizations_url": "https://api.github.com/users/jacoblee93/orgs",
"repos_url": "https://api.github.com/users/jacoblee93/repos",
"events_url": "https://api.github.com/users/jacoblee93/events{/privacy}",
"received_events_url": "https://api.github.com/users/jacoblee93/received_events",
"type": "User",
"site_admin": false
}
] | null | 3
| 2023-09-28T10:05:17
| 2023-09-28T23:41:52
| 2023-09-28T23:41:52
|
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/hwchase17/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:** Adds typescript language to `TextSplitter`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11160/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11160",
"html_url": "https://github.com/langchain-ai/langchain/pull/11160",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11160.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11160.patch",
"merged_at": "2023-09-28T23:41:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11159
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11159/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11159/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11159/events
|
https://github.com/langchain-ai/langchain/issues/11159
| 1,917,083,704
|
I_kwDOIPDwls5yRGA4
| 11,159
|
Raise a warning when using OpenAI and Azure OpenAI Completion API
|
{
"login": "mspronesti",
"id": 44113430,
"node_id": "MDQ6VXNlcjQ0MTEzNDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/44113430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mspronesti",
"html_url": "https://github.com/mspronesti",
"followers_url": "https://api.github.com/users/mspronesti/followers",
"following_url": "https://api.github.com/users/mspronesti/following{/other_user}",
"gists_url": "https://api.github.com/users/mspronesti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mspronesti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mspronesti/subscriptions",
"organizations_url": "https://api.github.com/users/mspronesti/orgs",
"repos_url": "https://api.github.com/users/mspronesti/repos",
"events_url": "https://api.github.com/users/mspronesti/events{/privacy}",
"received_events_url": "https://api.github.com/users/mspronesti/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"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-09-28T09:27:24
| 2023-12-28T16:01:07
| null |
CONTRIBUTOR
| null |
### Feature request
It looks like most of the models of the `Completion` API have been marked as legacy and will be discontinued in early 2024.
On Azure OpenAI I already no longer have access to non-chat models and I can't use the completion API with the newest get-35-turbo and gpt4 (0613).
Shall we raise a warning to the user when instantiating `langchain.llms.OpenAI` and `langchain.llms.AzureOpenAI` with deprecated models?
References:
- https://openai.com/blog/gpt-4-api-general-availability
- https://platform.openai.com/docs/deprecations
### Your contribution
I can contribute to this if the feature makes sense.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11159/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/11159/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11158
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11158/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11158/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11158/events
|
https://github.com/langchain-ai/langchain/pull/11158
| 1,916,982,458
|
PR_kwDOIPDwls5bakuN
| 11,158
|
[ElasticsearchStore] Improve migration text to ElasticsearchStore
|
{
"login": "joemcelroy",
"id": 49480,
"node_id": "MDQ6VXNlcjQ5NDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/49480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joemcelroy",
"html_url": "https://github.com/joemcelroy",
"followers_url": "https://api.github.com/users/joemcelroy/followers",
"following_url": "https://api.github.com/users/joemcelroy/following{/other_user}",
"gists_url": "https://api.github.com/users/joemcelroy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joemcelroy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joemcelroy/subscriptions",
"organizations_url": "https://api.github.com/users/joemcelroy/orgs",
"repos_url": "https://api.github.com/users/joemcelroy/repos",
"events_url": "https://api.github.com/users/joemcelroy/events{/privacy}",
"received_events_url": "https://api.github.com/users/joemcelroy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
|
{
"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-09-28T08:29:25
| 2023-09-28T20:35:00
| 2023-09-28T19:40:19
|
CONTRIBUTOR
| null |
We noticed that as we have been moving developers to the new `ElasticsearchStore` implementation, we want to keep the ElasticVectorSearch class still available as developers transition slowly to the new store.
To speed up this process, I updated the blurb giving them a better recommendation of why they should use ElasticsearchStore.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11158/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11158",
"html_url": "https://github.com/langchain-ai/langchain/pull/11158",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11158.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11158.patch",
"merged_at": "2023-09-28T19:40:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11157
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11157/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11157/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11157/events
|
https://github.com/langchain-ai/langchain/issues/11157
| 1,916,961,643
|
I_kwDOIPDwls5yQoNr
| 11,157
|
ISSUE: how can i get answer only based on vector store? If the context is not available in vector store
|
{
"login": "armmosikyan66",
"id": 87537406,
"node_id": "MDQ6VXNlcjg3NTM3NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/87537406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/armmosikyan66",
"html_url": "https://github.com/armmosikyan66",
"followers_url": "https://api.github.com/users/armmosikyan66/followers",
"following_url": "https://api.github.com/users/armmosikyan66/following{/other_user}",
"gists_url": "https://api.github.com/users/armmosikyan66/gists{/gist_id}",
"starred_url": "https://api.github.com/users/armmosikyan66/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/armmosikyan66/subscriptions",
"organizations_url": "https://api.github.com/users/armmosikyan66/orgs",
"repos_url": "https://api.github.com/users/armmosikyan66/repos",
"events_url": "https://api.github.com/users/armmosikyan66/events{/privacy}",
"received_events_url": "https://api.github.com/users/armmosikyan66/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"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 | 8
| 2023-09-28T08:16:34
| 2023-10-21T14:45:00
| null |
NONE
| null |
template = """Use the following pieces of context to answer the question at the end. If the answer can't be determined using only the information in the provided context simply output "NO ANSWER", just say that you don't know, don't try to make up an answer. Use three sentences maximum. Keep the answer as concise as possible.
{context}
Question: {question}
Helpful Answer:"""
QA_CHAIN_PROMPT = PromptTemplate.from_template(template)
qa = RetrievalQA.from_chain_type(
llm=streaming_llm,
chain_type="stuff",
retriever=compression_retriever,
callback_manager=manager,
chain_type_kwargs={
"prompt": QA_CHAIN_PROMPT
}
)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11157/timeline
| null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.