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/14893
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14893/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14893/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14893/events
https://github.com/langchain-ai/langchain/pull/14893
2,048,164,423
PR_kwDOIPDwls5iV-Jk
14,893
Fix/docs
{ "login": "berkecanrizai", "id": 63911408, "node_id": "MDQ6VXNlcjYzOTExNDA4", "avatar_url": "https://avatars.githubusercontent.com/u/63911408?v=4", "gravatar_id": "", "url": "https://api.github.com/users/berkecanrizai", "html_url": "https://github.com/berkecanrizai", "followers_url": "https://api.github.com/users/berkecanrizai/followers", "following_url": "https://api.github.com/users/berkecanrizai/following{/other_user}", "gists_url": "https://api.github.com/users/berkecanrizai/gists{/gist_id}", "starred_url": "https://api.github.com/users/berkecanrizai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/berkecanrizai/subscriptions", "organizations_url": "https://api.github.com/users/berkecanrizai/orgs", "repos_url": "https://api.github.com/users/berkecanrizai/repos", "events_url": "https://api.github.com/users/berkecanrizai/events{/privacy}", "received_events_url": "https://api.github.com/users/berkecanrizai/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714130, "node_id": "LA_kwDOIPDwls8AAAABc3-rkg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL", "name": "size:XL", "color": "D4C5F9", "default": false, "description": "This PR changes 500-999 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T08:29:16
2023-12-19T08:35:22
2023-12-19T08:30:10
NONE
null
<!-- Thank you for contributing to LangChain!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14893/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14893", "html_url": "https://github.com/langchain-ai/langchain/pull/14893", "diff_url": "https://github.com/langchain-ai/langchain/pull/14893.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14893.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14892
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14892/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14892/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14892/events
https://github.com/langchain-ai/langchain/pull/14892
2,048,163,829
PR_kwDOIPDwls5iV-BW
14,892
Mateusz/fix import
{ "login": "lewymati", "id": 8168856, "node_id": "MDQ6VXNlcjgxNjg4NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/8168856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewymati", "html_url": "https://github.com/lewymati", "followers_url": "https://api.github.com/users/lewymati/followers", "following_url": "https://api.github.com/users/lewymati/following{/other_user}", "gists_url": "https://api.github.com/users/lewymati/gists{/gist_id}", "starred_url": "https://api.github.com/users/lewymati/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lewymati/subscriptions", "organizations_url": "https://api.github.com/users/lewymati/orgs", "repos_url": "https://api.github.com/users/lewymati/repos", "events_url": "https://api.github.com/users/lewymati/events{/privacy}", "received_events_url": "https://api.github.com/users/lewymati/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" }, { "id": 6232714144, "node_id": "LA_kwDOIPDwls8AAAABc3-roA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL", "name": "size:XXL", "color": "5319E7", "default": false, "description": "This PR changes 1000+ lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T08:28:51
2023-12-19T08:35:00
2023-12-19T08:29:01
NONE
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14892/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14892", "html_url": "https://github.com/langchain-ai/langchain/pull/14892", "diff_url": "https://github.com/langchain-ai/langchain/pull/14892.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14892.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14891
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14891/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14891/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14891/events
https://github.com/langchain-ai/langchain/issues/14891
2,048,126,563
I_kwDOIPDwls56E-5j
14,891
AIORpcError connection reset errors from Qdrant
{ "login": "orgroman", "id": 91900962, "node_id": "U_kgDOBXpMIg", "avatar_url": "https://avatars.githubusercontent.com/u/91900962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orgroman", "html_url": "https://github.com/orgroman", "followers_url": "https://api.github.com/users/orgroman/followers", "following_url": "https://api.github.com/users/orgroman/following{/other_user}", "gists_url": "https://api.github.com/users/orgroman/gists{/gist_id}", "starred_url": "https://api.github.com/users/orgroman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/orgroman/subscriptions", "organizations_url": "https://api.github.com/users/orgroman/orgs", "repos_url": "https://api.github.com/users/orgroman/repos", "events_url": "https://api.github.com/users/orgroman/events{/privacy}", "received_events_url": "https://api.github.com/users/orgroman/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5959659008, "node_id": "LA_kwDOIPDwls8AAAABYzkuAA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws", "name": "integration: aws", "color": "C5DEF5", "default": false, "description": "Related to Amazon Web Services (AWS) integrations" } ]
open
false
null
[]
null
3
2023-12-19T08:02:36
2023-12-19T08:29:12
null
NONE
null
### System Info Python:3.11-slim-bullseye base docker image Langchain version: 0.0.348 qdrant-client: 1.7.0 Qdrant database 1.7.1 (deployed on AWS cluster) Reproduces regardless of prefer grpc true or false ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [X] Async ### Reproduction 1. Use ConversationalRetrievalChain with Qdrant vectordb 2. Use async acall interface 3. Maybe wait some idle time (15 min?) You will experience a lot of errors from Qdrant: AioRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "recvmsg:Connection reset by peer" debug_error_string = "UNKNOWN:Error received from peer {created_time}" >, type: AioRpcError It's ok after retry of the request but this causes significant delay in response ### Expected behavior Connection recovery for the vectordb should be handled by LangChain internally and ideally understand what causes the connection issues and resolve it
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14891/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14890
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14890/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14890/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14890/events
https://github.com/langchain-ai/langchain/issues/14890
2,048,077,349
I_kwDOIPDwls56Ey4l
14,890
Can I switch my template during my Chain working?
{ "login": "128Ghe980", "id": 44698199, "node_id": "MDQ6VXNlcjQ0Njk4MTk5", "avatar_url": "https://avatars.githubusercontent.com/u/44698199?v=4", "gravatar_id": "", "url": "https://api.github.com/users/128Ghe980", "html_url": "https://github.com/128Ghe980", "followers_url": "https://api.github.com/users/128Ghe980/followers", "following_url": "https://api.github.com/users/128Ghe980/following{/other_user}", "gists_url": "https://api.github.com/users/128Ghe980/gists{/gist_id}", "starred_url": "https://api.github.com/users/128Ghe980/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/128Ghe980/subscriptions", "organizations_url": "https://api.github.com/users/128Ghe980/orgs", "repos_url": "https://api.github.com/users/128Ghe980/repos", "events_url": "https://api.github.com/users/128Ghe980/events{/privacy}", "received_events_url": "https://api.github.com/users/128Ghe980/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-19T07:25:34
2023-12-19T07:34:08
null
NONE
null
### Issue you'd like to raise. I construct a Chain using retriever with a certain template, but now I want to use another template when the retriever retrieve nothing back. Is it possible for langchain? Or maybe it can only be handmade? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14890/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14889
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14889/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14889/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14889/events
https://github.com/langchain-ai/langchain/pull/14889
2,047,896,568
PR_kwDOIPDwls5iVFQF
14,889
docstrings `langchain_community` update
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T04:25:52
2023-12-19T16:50:59
2023-12-19T13:58:25
COLLABORATOR
null
Addded missed docstrings. Fixed inconsistency in docstrings. **Note** CC @efriis There were PR errors on `langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py` But, I didn't touch this file in this PR! Can it be some cache problems? I fixed this error.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14889/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14889", "html_url": "https://github.com/langchain-ai/langchain/pull/14889", "diff_url": "https://github.com/langchain-ai/langchain/pull/14889.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14889.patch", "merged_at": "2023-12-19T13:58:25" }
https://api.github.com/repos/langchain-ai/langchain/issues/14888
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14888/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14888/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14888/events
https://github.com/langchain-ai/langchain/pull/14888
2,047,894,955
PR_kwDOIPDwls5iVE6b
14,888
optimization: update core type compare
{ "login": "chyroc", "id": 15604894, "node_id": "MDQ6VXNlcjE1NjA0ODk0", "avatar_url": "https://avatars.githubusercontent.com/u/15604894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chyroc", "html_url": "https://github.com/chyroc", "followers_url": "https://api.github.com/users/chyroc/followers", "following_url": "https://api.github.com/users/chyroc/following{/other_user}", "gists_url": "https://api.github.com/users/chyroc/gists{/gist_id}", "starred_url": "https://api.github.com/users/chyroc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chyroc/subscriptions", "organizations_url": "https://api.github.com/users/chyroc/orgs", "repos_url": "https://api.github.com/users/chyroc/repos", "events_url": "https://api.github.com/users/chyroc/events{/privacy}", "received_events_url": "https://api.github.com/users/chyroc/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T04:23:45
2023-12-19T04:35:15
2023-12-19T04:35:15
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14888/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14888", "html_url": "https://github.com/langchain-ai/langchain/pull/14888", "diff_url": "https://github.com/langchain-ai/langchain/pull/14888.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14888.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14886
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14886/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14886/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14886/events
https://github.com/langchain-ai/langchain/issues/14886
2,047,879,728
I_kwDOIPDwls56ECow
14,886
Issue: can't use llm sagemaker endpoint as load_qa_chain
{ "login": "greywolf0324", "id": 132598032, "node_id": "U_kgDOB-dJEA", "avatar_url": "https://avatars.githubusercontent.com/u/132598032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/greywolf0324", "html_url": "https://github.com/greywolf0324", "followers_url": "https://api.github.com/users/greywolf0324/followers", "following_url": "https://api.github.com/users/greywolf0324/following{/other_user}", "gists_url": "https://api.github.com/users/greywolf0324/gists{/gist_id}", "starred_url": "https://api.github.com/users/greywolf0324/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/greywolf0324/subscriptions", "organizations_url": "https://api.github.com/users/greywolf0324/orgs", "repos_url": "https://api.github.com/users/greywolf0324/repos", "events_url": "https://api.github.com/users/greywolf0324/events{/privacy}", "received_events_url": "https://api.github.com/users/greywolf0324/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
4
2023-12-19T04:04:06
2024-01-09T11:51:54
null
NONE
null
I've deployed 'mistralai/Mistral-7B-v0.1' model to sagemaker and wanna use it as load_qa_chain ``` from langchain.chains.question_answering import load_qa_chain from langchain.llms.sagemaker_endpoint import SagemakerEndpoint content_handler = ContentHandler() llm = SagemakerEndpoint( endpoint_name=endpoint_name, region_name="eu-west-2", model_kwargs={ "temperature": 0, "maxTokens": 1024, "numResults": 2 }, content_handler=content_handler ) chain = load_qa_chain(llm=llm, chain_type="stuff") ``` Now, running chain for Doc QA. `chain.run(input_documents = docs, question = "what is dollarama")` ``` --------------------------------------------------------------------------- ValidationError Traceback (most recent call last) Cell In[56], line 1 ----> 1 chain.run(input_documents = docs, question = "what is dollarama") File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/base.py:506, in Chain.run(self, callbacks, tags, metadata, *args, **kwargs) 501 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[ 502 _output_key 503 ] 505 if kwargs and not args: --> 506 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[ 507 _output_key 508 ] 510 if not kwargs and not args: 511 raise ValueError( 512 "`run` supported with either positional arguments or keyword arguments," 513 " but none were provided." 514 ) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/base.py:306, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info) 304 except BaseException as e: 305 run_manager.on_chain_error(e) --> 306 raise e 307 run_manager.on_chain_end(outputs) 308 final_outputs: Dict[str, Any] = self.prep_outputs( 309 inputs, outputs, return_only_outputs 310 ) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/base.py:300, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info) 293 run_manager = callback_manager.on_chain_start( 294 dumpd(self), 295 inputs, 296 name=run_name, 297 ) 298 try: 299 outputs = ( --> 300 self._call(inputs, run_manager=run_manager) 301 if new_arg_supported 302 else self._call(inputs) 303 ) 304 except BaseException as e: 305 run_manager.on_chain_error(e) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/combine_documents/base.py:119, in BaseCombineDocumentsChain._call(self, inputs, run_manager) 117 # Other keys are assumed to be needed for LLM prediction 118 other_keys = {k: v for k, v in inputs.items() if k != self.input_key} --> 119 output, extra_return_dict = self.combine_docs( 120 docs, callbacks=_run_manager.get_child(), **other_keys 121 ) 122 extra_return_dict[self.output_key] = output 123 return extra_return_dict File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/combine_documents/stuff.py:171, in StuffDocumentsChain.combine_docs(self, docs, callbacks, **kwargs) 169 inputs = self._get_inputs(docs, **kwargs) 170 # Call predict on the LLM. --> 171 return self.llm_chain.predict(callbacks=callbacks, **inputs), {} File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/llm.py:257, in LLMChain.predict(self, callbacks, **kwargs) 242 def predict(self, callbacks: Callbacks = None, **kwargs: Any) -> str: 243 """Format prompt with kwargs and pass to LLM. 244 245 Args: (...) 255 completion = llm.predict(adjective="funny") 256 """ --> 257 return self(kwargs, callbacks=callbacks)[self.output_key] File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/base.py:306, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info) 304 except BaseException as e: 305 run_manager.on_chain_error(e) --> 306 raise e 307 run_manager.on_chain_end(outputs) 308 final_outputs: Dict[str, Any] = self.prep_outputs( 309 inputs, outputs, return_only_outputs 310 ) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/base.py:300, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info) 293 run_manager = callback_manager.on_chain_start( 294 dumpd(self), 295 inputs, 296 name=run_name, 297 ) 298 try: 299 outputs = ( --> 300 self._call(inputs, run_manager=run_manager) 301 if new_arg_supported 302 else self._call(inputs) 303 ) 304 except BaseException as e: 305 run_manager.on_chain_error(e) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/llm.py:93, in LLMChain._call(self, inputs, run_manager) 88 def _call( 89 self, 90 inputs: Dict[str, Any], 91 run_manager: Optional[CallbackManagerForChainRun] = None, 92 ) -> Dict[str, str]: ---> 93 response = self.generate([inputs], run_manager=run_manager) 94 return self.create_outputs(response)[0] File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/chains/llm.py:103, in LLMChain.generate(self, input_list, run_manager) 101 """Generate LLM result from inputs.""" 102 prompts, stop = self.prep_prompts(input_list, run_manager=run_manager) --> 103 return self.llm.generate_prompt( 104 prompts, 105 stop, 106 callbacks=run_manager.get_child() if run_manager else None, 107 **self.llm_kwargs, 108 ) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/llms/base.py:498, in BaseLLM.generate_prompt(self, prompts, stop, callbacks, **kwargs) 490 def generate_prompt( 491 self, 492 prompts: List[PromptValue], (...) 495 **kwargs: Any, 496 ) -> LLMResult: 497 prompt_strings = [p.to_string() for p in prompts] --> 498 return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/llms/base.py:647, in BaseLLM.generate(self, prompts, stop, callbacks, tags, metadata, run_name, **kwargs) 632 raise ValueError( 633 "Asked to cache, but no cache found at `langchain.cache`." 634 ) 635 run_managers = [ 636 callback_manager.on_llm_start( 637 dumpd(self), (...) 645 ) 646 ] --> 647 output = self._generate_helper( 648 prompts, stop, run_managers, bool(new_arg_supported), **kwargs 649 ) 650 return output 651 if len(missing_prompts) > 0: File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/llms/base.py:535, in BaseLLM._generate_helper(self, prompts, stop, run_managers, new_arg_supported, **kwargs) 533 for run_manager in run_managers: 534 run_manager.on_llm_error(e) --> 535 raise e 536 flattened_outputs = output.flatten() 537 for manager, flattened_output in zip(run_managers, flattened_outputs): File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/llms/base.py:522, in BaseLLM._generate_helper(self, prompts, stop, run_managers, new_arg_supported, **kwargs) 512 def _generate_helper( 513 self, 514 prompts: List[str], (...) 518 **kwargs: Any, 519 ) -> LLMResult: 520 try: 521 output = ( --> 522 self._generate( 523 prompts, 524 stop=stop, 525 # TODO: support multiple run managers 526 run_manager=run_managers[0] if run_managers else None, 527 **kwargs, 528 ) 529 if new_arg_supported 530 else self._generate(prompts, stop=stop) 531 ) 532 except BaseException as e: 533 for run_manager in run_managers: File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/llms/base.py:1048, in LLM._generate(self, prompts, stop, run_manager, **kwargs) 1042 for prompt in prompts: 1043 text = ( 1044 self._call(prompt, stop=stop, run_manager=run_manager, **kwargs) 1045 if new_arg_supported 1046 else self._call(prompt, stop=stop, **kwargs) 1047 ) -> 1048 generations.append([Generation(text=text)]) 1049 return LLMResult(generations=generations) File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/langchain/load/serializable.py:97, in Serializable.__init__(self, **kwargs) 96 def __init__(self, **kwargs: Any) -> None: ---> 97 super().__init__(**kwargs) 98 self._lc_kwargs = kwargs File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/pydantic/main.py:341, in pydantic.main.BaseModel.__init__() ValidationError: 1 validation error for Generation text str type expected (type=type_error.str) ``` ### Suggestion: When I'm using openai api, it works but, only sagemaker endpoint is problem.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14886/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14885
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14885/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14885/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14885/events
https://github.com/langchain-ai/langchain/issues/14885
2,047,875,945
I_kwDOIPDwls56EBtp
14,885
How to connect LangChain application to a mobile app using an API
{ "login": "zack10000", "id": 63796864, "node_id": "MDQ6VXNlcjYzNzk2ODY0", "avatar_url": "https://avatars.githubusercontent.com/u/63796864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zack10000", "html_url": "https://github.com/zack10000", "followers_url": "https://api.github.com/users/zack10000/followers", "following_url": "https://api.github.com/users/zack10000/following{/other_user}", "gists_url": "https://api.github.com/users/zack10000/gists{/gist_id}", "starred_url": "https://api.github.com/users/zack10000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zack10000/subscriptions", "organizations_url": "https://api.github.com/users/zack10000/orgs", "repos_url": "https://api.github.com/users/zack10000/repos", "events_url": "https://api.github.com/users/zack10000/events{/privacy}", "received_events_url": "https://api.github.com/users/zack10000/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-19T03:58:57
2023-12-19T04:06:57
null
NONE
null
I have developed a Flutter app with a chatroom feature and have successfully implemented chatting in the chatroom interface using the OpenAI API with ChatGPT. Now, I am looking to utilize an API to establish a connection between LangChain and my mobile app. How or what should i do to achieve this? I am new to this, any help will be thankful.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14885/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14884
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14884/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14884/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14884/events
https://github.com/langchain-ai/langchain/pull/14884
2,047,853,367
PR_kwDOIPDwls5iU8M6
14,884
core[patch]: update langchain-core runtime library name
{ "login": "chyroc", "id": 15604894, "node_id": "MDQ6VXNlcjE1NjA0ODk0", "avatar_url": "https://avatars.githubusercontent.com/u/15604894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chyroc", "html_url": "https://github.com/chyroc", "followers_url": "https://api.github.com/users/chyroc/followers", "following_url": "https://api.github.com/users/chyroc/following{/other_user}", "gists_url": "https://api.github.com/users/chyroc/gists{/gist_id}", "starred_url": "https://api.github.com/users/chyroc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chyroc/subscriptions", "organizations_url": "https://api.github.com/users/chyroc/orgs", "repos_url": "https://api.github.com/users/chyroc/repos", "events_url": "https://api.github.com/users/chyroc/events{/privacy}", "received_events_url": "https://api.github.com/users/chyroc/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-19T03:33:43
2023-12-20T22:35:49
2023-12-20T22:35:48
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14884/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14884", "html_url": "https://github.com/langchain-ai/langchain/pull/14884", "diff_url": "https://github.com/langchain-ai/langchain/pull/14884.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14884.patch", "merged_at": "2023-12-20T22:35:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/14883
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14883/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14883/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14883/events
https://github.com/langchain-ai/langchain/pull/14883
2,047,815,366
PR_kwDOIPDwls5iU0ck
14,883
[Partner] Update google integration test
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T02:45:39
2023-12-19T02:46:25
2023-12-19T02:46:24
COLLABORATOR
null
Gemini has decided that pickle rick is unsafe: https://github.com/langchain-ai/langchain/actions/runs/7256642294/job/19769249444#step:8:189 ![image](https://github.com/langchain-ai/langchain/assets/13333726/cfbf4312-53b6-4290-84ee-6ce0742e739e)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14883/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14883", "html_url": "https://github.com/langchain-ai/langchain/pull/14883", "diff_url": "https://github.com/langchain-ai/langchain/pull/14883.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14883.patch", "merged_at": "2023-12-19T02:46:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/14882
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14882/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14882/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14882/events
https://github.com/langchain-ai/langchain/pull/14882
2,047,803,447
PR_kwDOIPDwls5iUyBl
14,882
[Partner] Google GenAi new release
{ "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": 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": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T02:30:28
2023-12-19T02:35:58
2023-12-19T02:35:58
COLLABORATOR
null
to support the system message merging Also fix integration tests that weren't passing
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14882/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14882", "html_url": "https://github.com/langchain-ai/langchain/pull/14882", "diff_url": "https://github.com/langchain-ai/langchain/pull/14882.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14882.patch", "merged_at": "2023-12-19T02:35:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/14881
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14881/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14881/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14881/events
https://github.com/langchain-ai/langchain/pull/14881
2,047,795,426
PR_kwDOIPDwls5iUwZW
14,881
cli[patch]: add embedding to integration template
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 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" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T02:19:24
2023-12-19T17:58:23
2023-12-19T17:58:22
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14881/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14881", "html_url": "https://github.com/langchain-ai/langchain/pull/14881", "diff_url": "https://github.com/langchain-ai/langchain/pull/14881.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14881.patch", "merged_at": "2023-12-19T17:58:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/14880
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14880/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14880/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14880/events
https://github.com/langchain-ai/langchain/issues/14880
2,047,779,892
I_kwDOIPDwls56DqQ0
14,880
how to increase the response size of chromadb
{ "login": "pmdkr", "id": 58351520, "node_id": "MDQ6VXNlcjU4MzUxNTIw", "avatar_url": "https://avatars.githubusercontent.com/u/58351520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pmdkr", "html_url": "https://github.com/pmdkr", "followers_url": "https://api.github.com/users/pmdkr/followers", "following_url": "https://api.github.com/users/pmdkr/following{/other_user}", "gists_url": "https://api.github.com/users/pmdkr/gists{/gist_id}", "starred_url": "https://api.github.com/users/pmdkr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pmdkr/subscriptions", "organizations_url": "https://api.github.com/users/pmdkr/orgs", "repos_url": "https://api.github.com/users/pmdkr/repos", "events_url": "https://api.github.com/users/pmdkr/events{/privacy}", "received_events_url": "https://api.github.com/users/pmdkr/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": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
open
false
null
[]
null
3
2023-12-19T01:59:00
2023-12-22T06:16:20
null
NONE
null
I am working in project, where i have to use multiple pdf docs to give respose to the user query. I have a load method to load pdf from directory. ``` def loadFiles(): loader = DirectoryLoader('./static/upload/', glob="./*.pdf", loader_cls=PyPDFLoader) documents = loader.load() text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50) texts = text_splitter.split_documents(documents) return texts ``` I am creating chromadb by below code: ``` def createDb(load,embeddings,persist_directory): max_input_size = 3000 num_output = 256 chunk_size_limit = 1000 # token window size per document max_chunk_overlap = 80 # overlap for each token fragment vectordb = Chroma.from_documents(documents=load, embedding=embeddings, persist_directory=persist_directory) vectordb.persist() return vectordb ``` now , I am quering chromadb , ``` qa_chain = RetrievalQA.from_chain_type( llm=OpenAI(temperature=0,model_name = "text-davinci-003"), retriever=vectordb.as_retriever(),chain_type="stuff", chain_type_kwargs=chain_type_kwargs, return_source_documents=True ) ``` However, i am getting the response , but not full response in some cases, like below : My source pdf has following contents: [source file](https://i.stack.imgur.com/Xaz7U.png) while my response is showing only some parts as shown below: [chromadb response](https://i.stack.imgur.com/CY4dL.png) I tried incresing the chunk_ovarlap size as shown in createdb(), but it does not worked. I am expecting from chromadb full response and response should be comming from given pdf. I am new to this, any help will be thankful.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14880/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14879
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14879/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14879/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14879/events
https://github.com/langchain-ai/langchain/pull/14879
2,047,778,788
PR_kwDOIPDwls5iUtGs
14,879
Docs `tencent` pages update
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T01:57:34
2023-12-19T02:45:51
2023-12-19T02:21:39
COLLABORATOR
null
- updated `Tencent` provider page: added a chat model and document loader references; company description - updated Chat model and Document loader pages with descriptions, links - renamed files to consistent formats; redirected file names Note: I was getting this linting error on code that **was not changed in my PR**! > Error: docs/docs/guides/safety/hugging_face_prompt_injection.ipynb:1:1: I001 Import block is un-sorted or un-formatted > make: *** [Makefile:47: lint_package] Error 1 I've fixed this error in the notebook
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14879/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14879", "html_url": "https://github.com/langchain-ai/langchain/pull/14879", "diff_url": "https://github.com/langchain-ai/langchain/pull/14879.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14879.patch", "merged_at": "2023-12-19T02:21:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/14877
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14877/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14877/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14877/events
https://github.com/langchain-ai/langchain/pull/14877
2,047,760,433
PR_kwDOIPDwls5iUpdE
14,877
Harrison/agent docs custom
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 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": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-19T01:33:02
2023-12-19T01:49:33
2023-12-19T01:49:33
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14877/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14877", "html_url": "https://github.com/langchain-ai/langchain/pull/14877", "diff_url": "https://github.com/langchain-ai/langchain/pull/14877.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14877.patch", "merged_at": "2023-12-19T01:49:32" }
https://api.github.com/repos/langchain-ai/langchain/issues/14874
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14874/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14874/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14874/events
https://github.com/langchain-ai/langchain/pull/14874
2,047,736,987
PR_kwDOIPDwls5iUkpD
14,874
Harrison/agent docs concepts
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-19T01:00:59
2023-12-26T16:14:49
2023-12-26T16:14:49
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14874/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14874", "html_url": "https://github.com/langchain-ai/langchain/pull/14874", "diff_url": "https://github.com/langchain-ai/langchain/pull/14874.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14874.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14872
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14872/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14872/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14872/events
https://github.com/langchain-ai/langchain/issues/14872
2,047,680,474
I_kwDOIPDwls56DR_a
14,872
Calling Chroma.from_documents() returns sqlite3.OperationalError: attempt to write a readonly database, but only sometimes
{ "login": "gracewzhang", "id": 32557716, "node_id": "MDQ6VXNlcjMyNTU3NzE2", "avatar_url": "https://avatars.githubusercontent.com/u/32557716?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gracewzhang", "html_url": "https://github.com/gracewzhang", "followers_url": "https://api.github.com/users/gracewzhang/followers", "following_url": "https://api.github.com/users/gracewzhang/following{/other_user}", "gists_url": "https://api.github.com/users/gracewzhang/gists{/gist_id}", "starred_url": "https://api.github.com/users/gracewzhang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gracewzhang/subscriptions", "organizations_url": "https://api.github.com/users/gracewzhang/orgs", "repos_url": "https://api.github.com/users/gracewzhang/repos", "events_url": "https://api.github.com/users/gracewzhang/events{/privacy}", "received_events_url": "https://api.github.com/users/gracewzhang/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": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
open
false
null
[]
null
8
2023-12-19T00:02:10
2024-01-16T05:41:52
null
NONE
null
### System Info Platform: Ubuntu 22.04 Python: 3.11.6 Langchain: 0.0.351 ### 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 - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction When the program is first initialized with `__setup_client()` and `__should_reingest()` returns `True`, `__get_new_client()` works as intended. However, if `reingest()` is called afterward, `__get_new_client()` returns the error below. Relevant code: ```python def __setup_client(self) -> None: if self.__should_reingest(): self.db = self.__get_new_client() else: self.db = self.__get_existing_client() def reingest(self) -> None: self.db = self.__get_new_client() def __get_new_client(self): if os.path.exists(self.persist_directory): shutil.rmtree(self.persist_directory) docs = self.__get_docs() client = Chroma.from_documents( docs, self.embedding_function, persist_directory=self.persist_directory) with open(f'{self.persist_directory}/date.txt', 'w') as f: f.write(f'{datetime.date.today()}') return client ``` Error: ``` Traceback (most recent call last): ... File line 26, in reingest self.cauldron.reingest() File line 19, in reingest self.db = self.__get_new_client() ^^^^^^^^^^^^^^^^^^^^^^^ File line 51, in __get_new_client client = Chroma.from_documents( ^^^^^^^^^^^^^^^^^^^^^^ File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 771, in from_documents return cls.from_texts( ^^^^^^^^^^^^^^^ File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 729, in from_texts chroma_collection.add_texts( File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 297, in add_texts self._collection.upsert( File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/chromadb/api/models/Collection.py", line 459, in upsert self._client._upsert( File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 127, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/chromadb/api/segment.py", line 446, in _upsert self._producer.submit_embeddings(coll["topic"], records_to_submit) File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 127, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File ".../.pyenv/versions/3.11.6/lib/python3.11/site-packages/chromadb/db/mixins/embeddings_queue.py", line 172, in submit_embeddings results = cur.execute(sql, params).fetchall() ^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: attempt to write a readonly database ``` ### Expected behavior No error returned
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14872/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14871
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14871/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14871/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14871/events
https://github.com/langchain-ai/langchain/pull/14871
2,047,639,047
PR_kwDOIPDwls5iUO4d
14,871
docstrings `core` update
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T23:31:01
2023-12-19T01:58:12
2023-12-19T01:13:35
COLLABORATOR
null
Added missed docstrings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14871/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14871", "html_url": "https://github.com/langchain-ai/langchain/pull/14871", "diff_url": "https://github.com/langchain-ai/langchain/pull/14871.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14871.patch", "merged_at": "2023-12-19T01:13:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/14870
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14870/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14870/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14870/events
https://github.com/langchain-ai/langchain/pull/14870
2,047,593,063
PR_kwDOIPDwls5iUEfl
14,870
docstrings `langchain` update
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 5955630415, "node_id": "LA_kwDOIPDwls8AAAABYvu1Tw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis", "name": "integration: redis", "color": "F9D0C4", "default": false, "description": "Any integration that uses Redis" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T22:50:53
2023-12-19T01:58:26
2023-12-19T01:16:08
COLLABORATOR
null
Added missed docstrings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14870/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14870", "html_url": "https://github.com/langchain-ai/langchain/pull/14870", "diff_url": "https://github.com/langchain-ai/langchain/pull/14870.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14870.patch", "merged_at": "2023-12-19T01:16:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/14869
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14869/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14869/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14869/events
https://github.com/langchain-ai/langchain/pull/14869
2,047,572,991
PR_kwDOIPDwls5iT__V
14,869
docstrings `langchain` update
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
2
2023-12-18T22:34:00
2023-12-18T22:49:51
2023-12-18T22:43:19
COLLABORATOR
null
Added missed docstrings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14869/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14869", "html_url": "https://github.com/langchain-ai/langchain/pull/14869", "diff_url": "https://github.com/langchain-ai/langchain/pull/14869.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14869.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14868
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14868/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14868/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14868/events
https://github.com/langchain-ai/langchain/pull/14868
2,047,491,196
PR_kwDOIPDwls5iTtpj
14,868
Add Ollama multi-modal templates
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 6154420538, "node_id": "LA_kwDOIPDwls8AAAABbtUBOg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/template", "name": "template", "color": "145FB1", "default": false, "description": "" } ]
closed
false
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
1
2023-12-18T21:30:37
2023-12-20T23:34:11
2023-12-20T23:28:53
COLLABORATOR
null
Templates for [local multi-modal LLMs](https://llava-vl.github.io/llava-interactive/) using - * Image summaries * Multi-modal embeddings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14868/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14868", "html_url": "https://github.com/langchain-ai/langchain/pull/14868", "diff_url": "https://github.com/langchain-ai/langchain/pull/14868.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14868.patch", "merged_at": "2023-12-20T23:28:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/14867
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14867/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14867/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14867/events
https://github.com/langchain-ai/langchain/pull/14867
2,047,463,741
PR_kwDOIPDwls5iTnlY
14,867
langchain[patch]: Release 0.0.351
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T21:11:32
2023-12-18T21:41:49
2023-12-18T21:41:48
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14867/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14867", "html_url": "https://github.com/langchain-ai/langchain/pull/14867", "diff_url": "https://github.com/langchain-ai/langchain/pull/14867.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14867.patch", "merged_at": "2023-12-18T21:41:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/14866
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14866/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14866/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14866/events
https://github.com/langchain-ai/langchain/pull/14866
2,047,460,996
PR_kwDOIPDwls5iTm-x
14,866
Update kendra.py to avoid Kendra query ValidationException
{ "login": "abhjaw", "id": 54004795, "node_id": "MDQ6VXNlcjU0MDA0Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/54004795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhjaw", "html_url": "https://github.com/abhjaw", "followers_url": "https://api.github.com/users/abhjaw/followers", "following_url": "https://api.github.com/users/abhjaw/following{/other_user}", "gists_url": "https://api.github.com/users/abhjaw/gists{/gist_id}", "starred_url": "https://api.github.com/users/abhjaw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abhjaw/subscriptions", "organizations_url": "https://api.github.com/users/abhjaw/orgs", "repos_url": "https://api.github.com/users/abhjaw/repos", "events_url": "https://api.github.com/users/abhjaw/events{/privacy}", "received_events_url": "https://api.github.com/users/abhjaw/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5959659008, "node_id": "LA_kwDOIPDwls8AAAABYzkuAA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws", "name": "integration: aws", "color": "C5DEF5", "default": false, "description": "Related to Amazon Web Services (AWS) integrations" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-18T21:09:55
2023-12-20T16:12:43
2023-12-19T01:46:18
CONTRIBUTOR
null
Fixing issue - https://github.com/langchain-ai/langchain/issues/14494 to avoid Kendra query ValidationException <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** Update kendra.py to avoid Kendra query ValidationException, - **Issue:** the issue #https://github.com/langchain-ai/langchain/issues/14494, - **Dependencies:** None, - **Tag maintainer:** , - **Twitter handle:** 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/14866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14866/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14866", "html_url": "https://github.com/langchain-ai/langchain/pull/14866", "diff_url": "https://github.com/langchain-ai/langchain/pull/14866.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14866.patch", "merged_at": "2023-12-19T01:46:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/14865
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14865/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14865/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14865/events
https://github.com/langchain-ai/langchain/issues/14865
2,047,451,496
I_kwDOIPDwls56CaFo
14,865
SQLDatabaseChain.from_llm returning ValueError: Missing some input keys: {'query'} when custom template is used
{ "login": "rwanjohi", "id": 19930575, "node_id": "MDQ6VXNlcjE5OTMwNTc1", "avatar_url": "https://avatars.githubusercontent.com/u/19930575?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rwanjohi", "html_url": "https://github.com/rwanjohi", "followers_url": "https://api.github.com/users/rwanjohi/followers", "following_url": "https://api.github.com/users/rwanjohi/following{/other_user}", "gists_url": "https://api.github.com/users/rwanjohi/gists{/gist_id}", "starred_url": "https://api.github.com/users/rwanjohi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rwanjohi/subscriptions", "organizations_url": "https://api.github.com/users/rwanjohi/orgs", "repos_url": "https://api.github.com/users/rwanjohi/repos", "events_url": "https://api.github.com/users/rwanjohi/events{/privacy}", "received_events_url": "https://api.github.com/users/rwanjohi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-18T21:04:10
2023-12-18T21:16:57
null
NONE
null
### System Info I'm using Langchain version '0.0.350' in Databricks using the following libraries: `from langchain_experimental.sql import SQLDatabaseChain` `from langchain import PromptTemplate` `from langchain.sql_database import SQLDatabase` ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I'm using Langchain version '0.0.350' `from langchain_experimental.sql import SQLDatabaseChain` `from langchain import PromptTemplate` `from langchain.sql_database import SQLDatabase` mytemplate = """ You are a SQL expert. Given an input question, first create a syntactically correct sql query run on 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: {question} """ `dbs = SQLDatabase.from_uri(conn_str)` `db_prompt= PromptTemplate( input_variables = [ 'question'], template = mytemplate)` `db_chain = SQLDatabaseChain.from_llm(llm = llms , db = dbs, prompt = db_prompt, verbose=True)` `db_chain.run(question = 'question here')` ValueError: Missing some input keys: {'query'} ### Expected behavior I expect to get results of a query
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14865/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14864
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14864/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14864/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14864/events
https://github.com/langchain-ai/langchain/pull/14864
2,047,441,659
PR_kwDOIPDwls5iTitO
14,864
community[patch]: Release 0.0.4
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T20:56:45
2023-12-18T21:08:09
2023-12-18T21:08:09
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14864/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14864", "html_url": "https://github.com/langchain-ai/langchain/pull/14864", "diff_url": "https://github.com/langchain-ai/langchain/pull/14864.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14864.patch", "merged_at": "2023-12-18T21:08:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/14863
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14863/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14863/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14863/events
https://github.com/langchain-ai/langchain/issues/14863
2,047,431,121
I_kwDOIPDwls56CVHR
14,863
(ChatLiteLLM - Together AI) AttributeError: 'ValueError' object has no attribute 'status_code'
{ "login": "ivandorte", "id": 1726395, "node_id": "MDQ6VXNlcjE3MjYzOTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1726395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ivandorte", "html_url": "https://github.com/ivandorte", "followers_url": "https://api.github.com/users/ivandorte/followers", "following_url": "https://api.github.com/users/ivandorte/following{/other_user}", "gists_url": "https://api.github.com/users/ivandorte/gists{/gist_id}", "starred_url": "https://api.github.com/users/ivandorte/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivandorte/subscriptions", "organizations_url": "https://api.github.com/users/ivandorte/orgs", "repos_url": "https://api.github.com/users/ivandorte/repos", "events_url": "https://api.github.com/users/ivandorte/events{/privacy}", "received_events_url": "https://api.github.com/users/ivandorte/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
2
2023-12-18T20:50:19
2023-12-24T12:08:19
null
NONE
null
### System Info platform: Vagrant - Ubuntu 2204 python: 3.9.18 langchain: 0.0.350 langchain-core: 0.1.1 langchain-community: 0.0.3 litellm: 1.15.1 ### 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. Run the code: ``` python from langchain.chat_models import ChatLiteLLM from langchain.schema import HumanMessage # Initialize ChatLiteLLM chat = ChatLiteLLM( model="together_ai/mistralai/Mixtral-8x7B-Instruct-v0.1", verbose=True, temperature=0.0, ) text = "Write me a poem about the blue sky" messages = [HumanMessage(content=text)] print(chat(messages).content) ``` 2: Error message: ``` bash AttributeError: 'ValueError' object has no attribute 'status_code' ``` ### Expected behavior I can't get ChatLiteLLM to work with Together AI. I expect **ChatLiteLLM** to work correctly and to output the result.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14863/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14862
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14862/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14862/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14862/events
https://github.com/langchain-ai/langchain/pull/14862
2,047,342,613
PR_kwDOIPDwls5iTM8y
14,862
Nvidia Triton TRT updates for base branch wfh/partnets/trt
{ "login": "jdye64", "id": 2127235, "node_id": "MDQ6VXNlcjIxMjcyMzU=", "avatar_url": "https://avatars.githubusercontent.com/u/2127235?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jdye64", "html_url": "https://github.com/jdye64", "followers_url": "https://api.github.com/users/jdye64/followers", "following_url": "https://api.github.com/users/jdye64/following{/other_user}", "gists_url": "https://api.github.com/users/jdye64/gists{/gist_id}", "starred_url": "https://api.github.com/users/jdye64/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jdye64/subscriptions", "organizations_url": "https://api.github.com/users/jdye64/orgs", "repos_url": "https://api.github.com/users/jdye64/repos", "events_url": "https://api.github.com/users/jdye64/events{/privacy}", "received_events_url": "https://api.github.com/users/jdye64/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T19:48:59
2023-12-19T02:40:29
2023-12-19T02:40:26
CONTRIBUTOR
null
@hinthornw more changes for https://github.com/langchain-ai/langchain/pull/14733
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14862/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/14862/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14862", "html_url": "https://github.com/langchain-ai/langchain/pull/14862", "diff_url": "https://github.com/langchain-ai/langchain/pull/14862.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14862.patch", "merged_at": "2023-12-19T02:40:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/14861
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14861/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14861/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14861/events
https://github.com/langchain-ai/langchain/pull/14861
2,047,298,203
PR_kwDOIPDwls5iTDOV
14,861
docs: fix typo in contributing re installing integration test deps
{ "login": "malandis", "id": 3690240, "node_id": "MDQ6VXNlcjM2OTAyNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/3690240?v=4", "gravatar_id": "", "url": "https://api.github.com/users/malandis", "html_url": "https://github.com/malandis", "followers_url": "https://api.github.com/users/malandis/followers", "following_url": "https://api.github.com/users/malandis/following{/other_user}", "gists_url": "https://api.github.com/users/malandis/gists{/gist_id}", "starred_url": "https://api.github.com/users/malandis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/malandis/subscriptions", "organizations_url": "https://api.github.com/users/malandis/orgs", "repos_url": "https://api.github.com/users/malandis/repos", "events_url": "https://api.github.com/users/malandis/events{/privacy}", "received_events_url": "https://api.github.com/users/malandis/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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T19:19:06
2023-12-19T01:43:56
2023-12-19T01:43:56
CONTRIBUTOR
null
**Description** The contributing docs lists a poetry command to install community for dev work that includes a poetry group called `integration_tests`. This is a mistake: the poetry group for integration tests is called `test_integration`, not `integration_tests`. See here: https://github.com/langchain-ai/langchain/blob/master/libs/community/pyproject.toml#L119
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14861/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14861", "html_url": "https://github.com/langchain-ai/langchain/pull/14861", "diff_url": "https://github.com/langchain-ai/langchain/pull/14861.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14861.patch", "merged_at": "2023-12-19T01:43:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/14860
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14860/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14860/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14860/events
https://github.com/langchain-ai/langchain/pull/14860
2,047,293,885
PR_kwDOIPDwls5iTCSe
14,860
community: replace deprecated davinci models
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T19:16:33
2023-12-21T05:49:23
2023-12-18T21:49:47
COLLABORATOR
null
This is technically a breaking change because it'll switch out default models from `text-davinci-003` to `gpt-3.5-turbo-instruct`, but OpenAI is shutting off those endpoints on 1/4 anyways. Feels less disruptive to switch out the default instead.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14860/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14860", "html_url": "https://github.com/langchain-ai/langchain/pull/14860", "diff_url": "https://github.com/langchain-ai/langchain/pull/14860.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14860.patch", "merged_at": "2023-12-18T21:49:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/14859
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14859/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14859/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14859/events
https://github.com/langchain-ai/langchain/pull/14859
2,047,270,715
PR_kwDOIPDwls5iS9Wi
14,859
Pathway vectorstore and rag-pathway template
{ "login": "janchorowski", "id": 1454551, "node_id": "MDQ6VXNlcjE0NTQ1NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1454551?v=4", "gravatar_id": "", "url": "https://api.github.com/users/janchorowski", "html_url": "https://github.com/janchorowski", "followers_url": "https://api.github.com/users/janchorowski/followers", "following_url": "https://api.github.com/users/janchorowski/following{/other_user}", "gists_url": "https://api.github.com/users/janchorowski/gists{/gist_id}", "starred_url": "https://api.github.com/users/janchorowski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/janchorowski/subscriptions", "organizations_url": "https://api.github.com/users/janchorowski/orgs", "repos_url": "https://api.github.com/users/janchorowski/repos", "events_url": "https://api.github.com/users/janchorowski/events{/privacy}", "received_events_url": "https://api.github.com/users/janchorowski/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": 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": 6154420538, "node_id": "LA_kwDOIPDwls8AAAABbtUBOg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/template", "name": "template", "color": "145FB1", "default": false, "description": "" }, { "id": 6232714144, "node_id": "LA_kwDOIPDwls8AAAABc3-roA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL", "name": "size:XXL", "color": "5319E7", "default": false, "description": "This PR changes 1000+ lines, ignoring generated files." } ]
open
false
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
5
2023-12-18T19:03:56
2024-01-17T17:58:33
null
NONE
null
- **Description:** Integration with pathway.com data processing pipeline acting as an always updated vectorstore - **Issue:** not applicable - **Dependencies:** optional dependency on [`pathway`](https://pypi.org/project/pathway/) - **Twitter handle:** pathway_com The PR provides and integration with `pathway` to provide an easy to use always updated vector store: ```python import pathway as pw from langchain.embeddings.openai import OpenAIEmbeddings from langchain.text_splitter import CharacterTextSplitter from langchain.vectorstores import PathwayVectorClient, PathwayVectorServer data_sources = [] data_sources.append( pw.io.gdrive.read(object_id="17H4YpBOAKQzEJ93xmC2z170l0bP2npMy", service_user_credentials_file="credentials.json", with_metadata=True)) text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0) embeddings_model = OpenAIEmbeddings(openai_api_key=os.environ["OPENAI_API_KEY"]) vector_server = PathwayVectorServer( *data_sources, embedder=embeddings_model, splitter=text_splitter, ) vector_server.run_server(host="127.0.0.1", port="8765", threaded=True, with_cache=False) client = PathwayVectorClient( host="127.0.0.1", port="8765", ) query = "What is Pathway?" docs = client.similarity_search(query) ``` The `PathwayVectorServer` builds a data processing pipeline which continusly scans documents in a given source connector (google drive, s3, ...) and builds a vector store. The `PathwayVectorClient` implements LangChain's `VectorStore` interface and connects to the server to retrieve documents.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14859/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14859", "html_url": "https://github.com/langchain-ai/langchain/pull/14859", "diff_url": "https://github.com/langchain-ai/langchain/pull/14859.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14859.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14858
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14858/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14858/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14858/events
https://github.com/langchain-ai/langchain/pull/14858
2,047,251,113
PR_kwDOIPDwls5iS5MH
14,858
docs[patch]: more keywords
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T18:51:51
2023-12-18T18:58:54
2023-12-18T18:58:53
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14858/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14858", "html_url": "https://github.com/langchain-ai/langchain/pull/14858", "diff_url": "https://github.com/langchain-ai/langchain/pull/14858.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14858.patch", "merged_at": "2023-12-18T18:58:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/14857
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14857/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14857/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14857/events
https://github.com/langchain-ai/langchain/pull/14857
2,047,237,127
PR_kwDOIPDwls5iS2EW
14,857
add methods to deserialize prompts that were old
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T18:46:11
2023-12-18T21:45:09
2023-12-18T21:45:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14857/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14857", "html_url": "https://github.com/langchain-ai/langchain/pull/14857", "diff_url": "https://github.com/langchain-ai/langchain/pull/14857.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14857.patch", "merged_at": "2023-12-18T21:45:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/14856
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14856/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14856/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14856/events
https://github.com/langchain-ai/langchain/pull/14856
2,047,230,643
PR_kwDOIPDwls5iS0tX
14,856
docs[patch]: gemini keywords
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T18:43:07
2023-12-18T18:52:25
2023-12-18T18:52:24
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14856/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14856", "html_url": "https://github.com/langchain-ai/langchain/pull/14856", "diff_url": "https://github.com/langchain-ai/langchain/pull/14856.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14856.patch", "merged_at": "2023-12-18T18:52:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/14855
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14855/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14855/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14855/events
https://github.com/langchain-ai/langchain/issues/14855
2,047,220,983
I_kwDOIPDwls56Bhz3
14,855
SerpAPIWrapper doesn't work
{ "login": "don007git", "id": 8097372, "node_id": "MDQ6VXNlcjgwOTczNzI=", "avatar_url": "https://avatars.githubusercontent.com/u/8097372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/don007git", "html_url": "https://github.com/don007git", "followers_url": "https://api.github.com/users/don007git/followers", "following_url": "https://api.github.com/users/don007git/following{/other_user}", "gists_url": "https://api.github.com/users/don007git/gists{/gist_id}", "starred_url": "https://api.github.com/users/don007git/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/don007git/subscriptions", "organizations_url": "https://api.github.com/users/don007git/orgs", "repos_url": "https://api.github.com/users/don007git/repos", "events_url": "https://api.github.com/users/don007git/events{/privacy}", "received_events_url": "https://api.github.com/users/don007git/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
2
2023-12-18T18:36:20
2023-12-18T19:19:40
null
NONE
null
### System Info **Below is my Linux box:** Linux 5.15.0-1014-azure #17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux **Below is libraries within my conda environment:** google-auth 2.24.0 google-search-results 2.4.2 googleapis-common-protos 1.61.0 langchain 0.0.349 langchain-cli 0.0.19 langchain-community 0.0.1 langchain-core 0.0.13 langchainhub 0.1.14 requests 2.31.0 requests-oauthlib 1.3.1 types-requests 2.31.0.10 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction **Below is source code:** ``` import requests import json import os SERPAPI_API_KEY=os.environ["SERPAPI_API_KEY"] print(f"{SERPAPI_API_KEY=}") url = "https://google.serper.dev/search" payload = json.dumps({ "q": "apple inc" }) headers = { 'X-API-KEY': SERPAPI_API_KEY, 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print("************ result from request ***************") print(response.text) from langchain.utilities import SerpAPIWrapper search = SerpAPIWrapper(serpapi_api_key=SERPAPI_API_KEY) res = search.run("apple inc") print("************ result from langchain ***************") print(f"{res=}") ``` ### Expected behavior if the KEY works for request API, then SerpAPIWrapper shouldn't fails with invalid KEY error.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14855/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14854
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14854/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14854/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14854/events
https://github.com/langchain-ai/langchain/pull/14854
2,047,180,631
PR_kwDOIPDwls5iSp2U
14,854
Mateusz/fix deps
{ "login": "lewymati", "id": 8168856, "node_id": "MDQ6VXNlcjgxNjg4NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/8168856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewymati", "html_url": "https://github.com/lewymati", "followers_url": "https://api.github.com/users/lewymati/followers", "following_url": "https://api.github.com/users/lewymati/following{/other_user}", "gists_url": "https://api.github.com/users/lewymati/gists{/gist_id}", "starred_url": "https://api.github.com/users/lewymati/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lewymati/subscriptions", "organizations_url": "https://api.github.com/users/lewymati/orgs", "repos_url": "https://api.github.com/users/lewymati/repos", "events_url": "https://api.github.com/users/lewymati/events{/privacy}", "received_events_url": "https://api.github.com/users/lewymati/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" }, { "id": 6232714130, "node_id": "LA_kwDOIPDwls8AAAABc3-rkg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL", "name": "size:XL", "color": "D4C5F9", "default": false, "description": "This PR changes 500-999 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T18:07:45
2023-12-18T18:08:02
2023-12-18T18:07:55
NONE
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14854/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14854", "html_url": "https://github.com/langchain-ai/langchain/pull/14854", "diff_url": "https://github.com/langchain-ai/langchain/pull/14854.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14854.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14853
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14853/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14853/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14853/events
https://github.com/langchain-ai/langchain/issues/14853
2,047,135,178
I_kwDOIPDwls56BM3K
14,853
BaseMessageChunk cannot merge function key when using open ai tools and streaming.
{ "login": "JonatanMedinilla", "id": 23441277, "node_id": "MDQ6VXNlcjIzNDQxMjc3", "avatar_url": "https://avatars.githubusercontent.com/u/23441277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JonatanMedinilla", "html_url": "https://github.com/JonatanMedinilla", "followers_url": "https://api.github.com/users/JonatanMedinilla/followers", "following_url": "https://api.github.com/users/JonatanMedinilla/following{/other_user}", "gists_url": "https://api.github.com/users/JonatanMedinilla/gists{/gist_id}", "starred_url": "https://api.github.com/users/JonatanMedinilla/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JonatanMedinilla/subscriptions", "organizations_url": "https://api.github.com/users/JonatanMedinilla/orgs", "repos_url": "https://api.github.com/users/JonatanMedinilla/repos", "events_url": "https://api.github.com/users/JonatanMedinilla/events{/privacy}", "received_events_url": "https://api.github.com/users/JonatanMedinilla/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
3
2023-12-18T17:36:47
2023-12-18T19:28:23
2023-12-18T19:24:30
NONE
null
### System Info langchain: latest (0.0.350) python: 3.10.12 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Code to reproduce (based on [code from docs](https://python.langchain.com/docs/modules/agents/agent_types/openai_tools)) ``` import openai from langchain.agents import AgentExecutor from langchain.agents.format_scratchpad.openai_tools import ( format_to_openai_tool_messages, ) from langchain.agents.output_parsers.openai_tools import OpenAIToolsAgentOutputParser from langchain.chat_models import AzureChatOpenAI, ChatOpenAI from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder from langchain.tools import BearlyInterpreterTool, DuckDuckGoSearchRun from langchain.tools.render import format_tool_to_openai_tool from settings import AppSettings openai.api_type = AppSettings.OPENAI_API_TYPE or "azure" openai.api_version = AppSettings.OPENAI_API_VERSION or "2023-03-15-preview" openai.api_base = AppSettings.AZURE_OPENAI_API_ENDPOINT openai.api_key = AppSettings.AZURE_OPENAI_API_KEY lc_tools = [DuckDuckGoSearchRun()] oai_tools = [format_tool_to_openai_tool(tool) for tool in lc_tools] prompt = ChatPromptTemplate.from_messages( [ ("system", "You are a helpful assistant"), ("user", "{input}"), MessagesPlaceholder(variable_name="agent_scratchpad"), ] ) llm = AzureChatOpenAI( openai_api_version=AppSettings.OPENAI_API_VERSION, # type: ignore TODO: I don't know why this is an error despite being in the class azure_deployment=AppSettings.AZURE_OPENAI_DEPLOYMENT, temperature=0, streaming=True, verbose=True, ) agent = ( { "input": lambda x: x["input"], "agent_scratchpad": lambda x: format_to_openai_tool_messages( x["intermediate_steps"] ), } | prompt | llm.bind(tools=oai_tools) | OpenAIToolsAgentOutputParser() ) agent_executor = AgentExecutor(agent=agent, tools=lc_tools, verbose=True) agent_executor.invoke( {"input": "What's the average of the temperatures in LA, NYC, and SF today?"} ) ``` Logs: ``` > Entering new AgentExecutor chain... ic| merged[k]: {'arguments': '{"qu', 'name': 'duckduckgo_search'} v: <OpenAIObject at 0x7fdb750c7920> JSON: { "arguments": "ery\":" } type(merged[k]): <class 'dict'> type(v): <class 'openai.openai_object.OpenAIObject'> isinstance(merged[k], dict): True isinstance(v, dict): True Traceback (most recent call last): File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/test-issue.py", line 56, in <module> agent_executor.invoke( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/chains/base.py", line 89, in invoke return self( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/chains/base.py", line 312, in __call__ raise e File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__ self._call(inputs, run_manager=run_manager) File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/agents/agent.py", line 1312, in _call next_step_output = self._take_next_step( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/agents/agent.py", line 1038, in _take_next_step [ File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/agents/agent.py", line 1038, in <listcomp> [ File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/agents/agent.py", line 1066, in _iter_next_step output = self.agent.plan( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain/agents/agent.py", line 461, in plan output = self.runnable.invoke(inputs, config={"callbacks": callbacks}) File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1514, in invoke input = step.invoke( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2937, in invoke return self.bound.invoke( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 160, in invoke self.generate_prompt( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 491, in generate_prompt return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs) File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 378, in generate raise e File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 368, in generate self._generate_with_cache( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 524, in _generate_with_cache return self._generate( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_community/chat_models/openai.py", line 428, in _generate return generate_from_stream(stream_iter) File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 65, in generate_from_stream generation += chunk File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/outputs/chat_generation.py", line 62, in __add__ message=self.message + other.message, File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/messages/ai.py", line 52, in __add__ additional_kwargs=self._merge_kwargs_dict( File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/messages/base.py", line 128, in _merge_kwargs_dict merged[k][i] = self._merge_kwargs_dict(merged[k][i], e) File "/home/jonatan-medinilla/dev/team-macanudo-ai/backend/.venv/lib/python3.10/site-packages/langchain_core/messages/base.py", line 114, in _merge_kwargs_dict raise TypeError( TypeError: additional_kwargs["function"] already exists in this message, but with a different type. ``` ### Expected behavior No errors and the same result as without streaming=True. Last week there was a PR [#14613](https://github.com/langchain-ai/langchain/pull/14613) that fixed the issue #13442. I tested the fix using the same scenario that I shared and it worked as expected. However, today I tested it again and the merge kwargs fails because the types don't match though both values are instances of **dict**
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14853/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14852
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14852/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14852/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14852/events
https://github.com/langchain-ai/langchain/pull/14852
2,047,107,218
PR_kwDOIPDwls5iSZ3y
14,852
Added more filtering options to pgvector vectorstore
{ "login": "savoiepe", "id": 47090050, "node_id": "MDQ6VXNlcjQ3MDkwMDUw", "avatar_url": "https://avatars.githubusercontent.com/u/47090050?v=4", "gravatar_id": "", "url": "https://api.github.com/users/savoiepe", "html_url": "https://github.com/savoiepe", "followers_url": "https://api.github.com/users/savoiepe/followers", "following_url": "https://api.github.com/users/savoiepe/following{/other_user}", "gists_url": "https://api.github.com/users/savoiepe/gists{/gist_id}", "starred_url": "https://api.github.com/users/savoiepe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/savoiepe/subscriptions", "organizations_url": "https://api.github.com/users/savoiepe/orgs", "repos_url": "https://api.github.com/users/savoiepe/repos", "events_url": "https://api.github.com/users/savoiepe/events{/privacy}", "received_events_url": "https://api.github.com/users/savoiepe/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false } ]
null
3
2023-12-18T17:17:11
2024-01-02T00:01:22
2024-01-02T00:01:22
CONTRIBUTOR
null
- **Description:** Using PGVector vector store, it was only possible to filter for values equals, in or not in metadata. Extended this feature to work with the following keywords : IN, NIN, BETWEEN, GT, LT, NE, EQ, LIKE, CONTAINS, OR, AND
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14852/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/14852/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14852", "html_url": "https://github.com/langchain-ai/langchain/pull/14852", "diff_url": "https://github.com/langchain-ai/langchain/pull/14852.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14852.patch", "merged_at": "2024-01-02T00:01:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/14851
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14851/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14851/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14851/events
https://github.com/langchain-ai/langchain/issues/14851
2,047,010,816
I_kwDOIPDwls56AugA
14,851
Add g3n-github app to repository
{ "login": "holtskinner", "id": 13262395, "node_id": "MDQ6VXNlcjEzMjYyMzk1", "avatar_url": "https://avatars.githubusercontent.com/u/13262395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/holtskinner", "html_url": "https://github.com/holtskinner", "followers_url": "https://api.github.com/users/holtskinner/followers", "following_url": "https://api.github.com/users/holtskinner/following{/other_user}", "gists_url": "https://api.github.com/users/holtskinner/gists{/gist_id}", "starred_url": "https://api.github.com/users/holtskinner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/holtskinner/subscriptions", "organizations_url": "https://api.github.com/users/holtskinner/orgs", "repos_url": "https://api.github.com/users/holtskinner/repos", "events_url": "https://api.github.com/users/holtskinner/events{/privacy}", "received_events_url": "https://api.github.com/users/holtskinner/received_events", "type": "User", "site_admin": false }
[ { "id": 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-12-18T16:20:31
2024-01-04T17:51:47
null
CONTRIBUTOR
null
This GitHub App is used by Google employees to monitor GitHub repositories. It sends notifications in Chrome for Reviews, updates to Pull Requests, Mentions, etc. https://github.com/apps/g3n-github Could it be added to the LangChain repository to make it easier for Google engineers to contribute in a timely manner? (Must be done by an organization administrator) @baskaryan @hwchase17 Thanks!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14851/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14850
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14850/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14850/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14850/events
https://github.com/langchain-ai/langchain/issues/14850
2,046,949,854
I_kwDOIPDwls56Afne
14,850
Reproducible output feature with Azure Open AI (support for seed parameter)
{ "login": "sowsan", "id": 11544153, "node_id": "MDQ6VXNlcjExNTQ0MTUz", "avatar_url": "https://avatars.githubusercontent.com/u/11544153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sowsan", "html_url": "https://github.com/sowsan", "followers_url": "https://api.github.com/users/sowsan/followers", "following_url": "https://api.github.com/users/sowsan/following{/other_user}", "gists_url": "https://api.github.com/users/sowsan/gists{/gist_id}", "starred_url": "https://api.github.com/users/sowsan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sowsan/subscriptions", "organizations_url": "https://api.github.com/users/sowsan/orgs", "repos_url": "https://api.github.com/users/sowsan/repos", "events_url": "https://api.github.com/users/sowsan/events{/privacy}", "received_events_url": "https://api.github.com/users/sowsan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-18T15:45:57
2023-12-18T15:57:10
null
NONE
null
### Feature request There is a new feature with Azure Open AI to get deterministic output. To use this feature we need to pass extra parameters when we iniative AzureOpenAI https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reproducible-output?tabs=pyton ### Motivation Getting deterministic feature is a very important for most of the Generative AI applications. This feature would be a huge help. https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reproducible-output?tabs=pyton ### Your contribution Yes, depends on the change what needed here can help
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14850/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/14850/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14849
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14849/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14849/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14849/events
https://github.com/langchain-ai/langchain/pull/14849
2,046,947,154
PR_kwDOIPDwls5iR2kL
14,849
feat: Added `pre-commit-config.yaml` file and modified code accordingly.
{ "login": "Sai-Suraj-27", "id": 87087741, "node_id": "MDQ6VXNlcjg3MDg3NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/87087741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sai-Suraj-27", "html_url": "https://github.com/Sai-Suraj-27", "followers_url": "https://api.github.com/users/Sai-Suraj-27/followers", "following_url": "https://api.github.com/users/Sai-Suraj-27/following{/other_user}", "gists_url": "https://api.github.com/users/Sai-Suraj-27/gists{/gist_id}", "starred_url": "https://api.github.com/users/Sai-Suraj-27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sai-Suraj-27/subscriptions", "organizations_url": "https://api.github.com/users/Sai-Suraj-27/orgs", "repos_url": "https://api.github.com/users/Sai-Suraj-27/repos", "events_url": "https://api.github.com/users/Sai-Suraj-27/events{/privacy}", "received_events_url": "https://api.github.com/users/Sai-Suraj-27/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T15:44:26
2024-01-02T00:01:41
2024-01-02T00:01:41
NONE
null
**Description:** Added a pre-commit configuration file (`.pre-commit-config.yaml `) to the codebase as it helps improve the code quality and maintain consistency within the project. It will allow all the developers/future contributors to maintain a consistent code style. Adding this will help us by running some automated checks before anyone tries to make a commit. Later on the other linters currently used (`Ruff`, `codespell`, etc.) can also be integrated here. Which ensures that every-commit passes all the lint rules. We can always skip the checks with `git commit -m "xyz"--no-verify"` **Issue:** #14845 - **Dependencies:** Requires pre-commit hooks that run automated checks (https://github.com/pre-commit/pre-commit-hooks) - **Tag maintainer:** @hwchase17, - **Twitter handle:** https://twitter.com/Sai_Suraj_27
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14849/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14849", "html_url": "https://github.com/langchain-ai/langchain/pull/14849", "diff_url": "https://github.com/langchain-ai/langchain/pull/14849.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14849.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14848
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14848/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14848/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14848/events
https://github.com/langchain-ai/langchain/pull/14848
2,046,924,775
PR_kwDOIPDwls5iRxqU
14,848
Fix token text splitter duplicates
{ "login": "sweetkane", "id": 71854758, "node_id": "MDQ6VXNlcjcxODU0NzU4", "avatar_url": "https://avatars.githubusercontent.com/u/71854758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sweetkane", "html_url": "https://github.com/sweetkane", "followers_url": "https://api.github.com/users/sweetkane/followers", "following_url": "https://api.github.com/users/sweetkane/following{/other_user}", "gists_url": "https://api.github.com/users/sweetkane/gists{/gist_id}", "starred_url": "https://api.github.com/users/sweetkane/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sweetkane/subscriptions", "organizations_url": "https://api.github.com/users/sweetkane/orgs", "repos_url": "https://api.github.com/users/sweetkane/repos", "events_url": "https://api.github.com/users/sweetkane/events{/privacy}", "received_events_url": "https://api.github.com/users/sweetkane/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T15:32:06
2023-12-19T01:15:58
2023-12-19T01:15:58
CONTRIBUTOR
null
- **Description:** - Add a break case to `text_splitter.py::split_text_on_tokens()` to avoid unwanted item at the end of result. - Add a testcase to enforce the behavior. - **Issue:** - #14649 - #5897 - **Dependencies:** n/a, --- **Quick illustration of change:** ``` text = "foo bar baz 123" tokenizer = Tokenizer( chunk_overlap=3, tokens_per_chunk=7 ) output = split_text_on_tokens(text=text, tokenizer=tokenizer) ``` output before change: `["foo bar", "bar baz", "baz 123", "123"]` output after change: `["foo bar", "bar baz", "baz 123"]`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14848/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14848", "html_url": "https://github.com/langchain-ai/langchain/pull/14848", "diff_url": "https://github.com/langchain-ai/langchain/pull/14848.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14848.patch", "merged_at": "2023-12-19T01:15:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/14846
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14846/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14846/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14846/events
https://github.com/langchain-ai/langchain/pull/14846
2,046,853,201
PR_kwDOIPDwls5iRh2s
14,846
Community: Gradient: Embeddings-sdk-update
{ "login": "michaelfeil", "id": 63565275, "node_id": "MDQ6VXNlcjYzNTY1Mjc1", "avatar_url": "https://avatars.githubusercontent.com/u/63565275?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelfeil", "html_url": "https://github.com/michaelfeil", "followers_url": "https://api.github.com/users/michaelfeil/followers", "following_url": "https://api.github.com/users/michaelfeil/following{/other_user}", "gists_url": "https://api.github.com/users/michaelfeil/gists{/gist_id}", "starred_url": "https://api.github.com/users/michaelfeil/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelfeil/subscriptions", "organizations_url": "https://api.github.com/users/michaelfeil/orgs", "repos_url": "https://api.github.com/users/michaelfeil/repos", "events_url": "https://api.github.com/users/michaelfeil/events{/privacy}", "received_events_url": "https://api.github.com/users/michaelfeil/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": 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": 6232714130, "node_id": "LA_kwDOIPDwls8AAAABc3-rkg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL", "name": "size:XL", "color": "D4C5F9", "default": false, "description": "This PR changes 500-999 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-18T14:57:04
2023-12-19T17:00:40
2023-12-19T16:46:33
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://python.langchain.com/docs/contributing/ 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:** Going forward, we have a own API `pip install gradientai`. Therefore gradually removing the self-build packages in llamaindex, haystack and langchain. - **Issue:** None. - **Dependencies:** `pip install gradientai` - **Tag maintainer:** @michaelfeil
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14846/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14846", "html_url": "https://github.com/langchain-ai/langchain/pull/14846", "diff_url": "https://github.com/langchain-ai/langchain/pull/14846.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14846.patch", "merged_at": "2023-12-19T16:46:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/14845
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14845/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14845/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14845/events
https://github.com/langchain-ai/langchain/issues/14845
2,046,801,582
I_kwDOIPDwls55_7au
14,845
Adding a `.pre-commit-config.yaml` file for maintaining consistent style and code quality
{ "login": "Sai-Suraj-27", "id": 87087741, "node_id": "MDQ6VXNlcjg3MDg3NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/87087741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sai-Suraj-27", "html_url": "https://github.com/Sai-Suraj-27", "followers_url": "https://api.github.com/users/Sai-Suraj-27/followers", "following_url": "https://api.github.com/users/Sai-Suraj-27/following{/other_user}", "gists_url": "https://api.github.com/users/Sai-Suraj-27/gists{/gist_id}", "starred_url": "https://api.github.com/users/Sai-Suraj-27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sai-Suraj-27/subscriptions", "organizations_url": "https://api.github.com/users/Sai-Suraj-27/orgs", "repos_url": "https://api.github.com/users/Sai-Suraj-27/repos", "events_url": "https://api.github.com/users/Sai-Suraj-27/events{/privacy}", "received_events_url": "https://api.github.com/users/Sai-Suraj-27/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
open
false
null
[]
null
1
2023-12-18T14:33:36
2023-12-18T15:36:03
null
NONE
null
### Feature request I'm thinking about adding a pre-commit configuration file (`.pre-commit-config.yaml `) to the codebase as it helps improve the code quality and maintain consistency within the project. It will allow all the developers/future contributors to maintain a consistent code style. Adding this will help us by running some automated checks before anyone tries to make a commit. 1. [trailing-whitespace](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace) (Removes trailing whitespace at the end of lines) 2. [end-of-file-fixer](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#end-of-file-fixer) (Ensures that files end with a newline character) 3. [check-yaml](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-yaml) (Attempts to load all yaml files to verify syntax) ### Motivation These checks are very common and used in many big `Python` based organizations including [scikit-learn](https://github.com/scikit-learn/scikit-learn/blob/main/.pre-commit-config.yaml), [jax](https://github.com/Sai-Suraj-27/jax/blob/main/.pre-commit-config.yaml), [pandas](https://github.com/Sai-Suraj-27/pandas/blob/main/.pre-commit-config.yaml#L72), etc. They help in maintaining consistent style across the repository and ensures same formatting and quality for all the contributors. ### Your contribution I have a good experience in adding/modifying this file in large codebases (https://github.com/unifyai/ivy/pull/22220, https://github.com/unifyai/ivy/pull/22974, https://github.com/gprMax/gprMax/pull/354, https://github.com/pandas-dev/pandas/pull/55277) So, if you think it is useful let me know I will make a PR, Thank you.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14845/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14844
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14844/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14844/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14844/events
https://github.com/langchain-ai/langchain/pull/14844
2,046,717,551
PR_kwDOIPDwls5iREEk
14,844
Update Tongyi default model_name
{ "login": "169", "id": 10000925, "node_id": "MDQ6VXNlcjEwMDAwOTI1", "avatar_url": "https://avatars.githubusercontent.com/u/10000925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/169", "html_url": "https://github.com/169", "followers_url": "https://api.github.com/users/169/followers", "following_url": "https://api.github.com/users/169/following{/other_user}", "gists_url": "https://api.github.com/users/169/gists{/gist_id}", "starred_url": "https://api.github.com/users/169/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/169/subscriptions", "organizations_url": "https://api.github.com/users/169/orgs", "repos_url": "https://api.github.com/users/169/repos", "events_url": "https://api.github.com/users/169/events{/privacy}", "received_events_url": "https://api.github.com/users/169/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T13:55:36
2023-12-18T16:35:54
2023-12-18T16:35:53
CONTRIBUTOR
null
<img width="1305" alt="Screenshot 2023-12-18 at 9 54 01 PM" src="https://github.com/langchain-ai/langchain/assets/10000925/c943fd81-cd48-46eb-8dff-4680424d9ba9"> The current model is no longer available.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14844/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14844", "html_url": "https://github.com/langchain-ai/langchain/pull/14844", "diff_url": "https://github.com/langchain-ai/langchain/pull/14844.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14844.patch", "merged_at": "2023-12-18T16:35:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/14843
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14843/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14843/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14843/events
https://github.com/langchain-ai/langchain/issues/14843
2,046,610,982
I_kwDOIPDwls55_M4m
14,843
azure_ad_token variable does not work for AzureChatOpenAI and AzureOpenAIEmbeddings
{ "login": "suzuki-shm", "id": 7141702, "node_id": "MDQ6VXNlcjcxNDE3MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/7141702?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suzuki-shm", "html_url": "https://github.com/suzuki-shm", "followers_url": "https://api.github.com/users/suzuki-shm/followers", "following_url": "https://api.github.com/users/suzuki-shm/following{/other_user}", "gists_url": "https://api.github.com/users/suzuki-shm/gists{/gist_id}", "starred_url": "https://api.github.com/users/suzuki-shm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/suzuki-shm/subscriptions", "organizations_url": "https://api.github.com/users/suzuki-shm/orgs", "repos_url": "https://api.github.com/users/suzuki-shm/repos", "events_url": "https://api.github.com/users/suzuki-shm/events{/privacy}", "received_events_url": "https://api.github.com/users/suzuki-shm/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-12-18T12:56:27
2023-12-19T01:03:47
2023-12-19T01:03:46
NONE
null
### System Info langchain: 0.0.350 Python: 3.8.8 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Run code below, ```python from langchain.embeddings.azure_openai import AzureOpenAIEmbeddings from azure.identity import AzureCliCredential credential = AzureCliCredential() token = credential.get_token("https://cognitiveservices.azure.com/.default") embeddings = AzureOpenAIEmbeddings( deployment=model_name_retriever, chunk_size=16, azure_endpoint=azure_endpoint, azure_ad_token=token, openai_api_version=api_version, http_client=http_client ) ``` Then, ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-b617513b6ef1> in <module> ----> 6 embeddings = AzureOpenAIEmbeddings( 7 deployment=model_name_retriever, 8 chunk_size=16, /opt/conda/lib/python3.8/site-packages/pydantic/main.cpython-38-x86_64-linux-gnu.so in pydantic.main.BaseModel.__init__() /opt/conda/lib/python3.8/site-packages/pydantic/main.cpython-38-x86_64-linux-gnu.so in pydantic.main.validate_model() /opt/conda/lib/python3.8/site-packages/langchain_community/embeddings/azure_openai.py in validate_environment(cls, values) 82 "AZURE_OPENAI_ENDPOINT" 83 ) ---> 84 values["azure_ad_token"] = values["azure_ad_token"] or os.getenv( 85 "AZURE_OPENAI_AD_TOKEN" 86 ) KeyError: 'azure_ad_token' ``` This error also happens in AzureChatOpenAI. These behavior do not match with [current API](https://api.python.langchain.com/en/stable/chat_models/langchain_community.chat_models.azure_openai.AzureChatOpenAI.html#langchain_community.chat_models.azure_openai.AzureChatOpenAI) ### Expected behavior Defining class successfully.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14843/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/14843/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14842
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14842/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14842/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14842/events
https://github.com/langchain-ai/langchain/pull/14842
2,046,491,675
PR_kwDOIPDwls5iQSQy
14,842
Improve prompt injection detection
{ "login": "asofter", "id": 1751809, "node_id": "MDQ6VXNlcjE3NTE4MDk=", "avatar_url": "https://avatars.githubusercontent.com/u/1751809?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asofter", "html_url": "https://github.com/asofter", "followers_url": "https://api.github.com/users/asofter/followers", "following_url": "https://api.github.com/users/asofter/following{/other_user}", "gists_url": "https://api.github.com/users/asofter/gists{/gist_id}", "starred_url": "https://api.github.com/users/asofter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asofter/subscriptions", "organizations_url": "https://api.github.com/users/asofter/orgs", "repos_url": "https://api.github.com/users/asofter/repos", "events_url": "https://api.github.com/users/asofter/events{/privacy}", "received_events_url": "https://api.github.com/users/asofter/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
5
2023-12-18T11:48:56
2023-12-19T15:06:49
2023-12-19T01:50:21
CONTRIBUTOR
null
- **Description:** This is addition to [my previous PR](https://github.com/langchain-ai/langchain/pull/13930) with improvements to flexibility allowing different models and notebook to use ONNX runtime for faster speed. Since the last PR, [our model](https://huggingface.co/laiyer/deberta-v3-base-prompt-injection) got more than 660k downloads, and with the [public benchmark](https://huggingface.co/spaces/laiyer/prompt-injection-benchmark) showed much fewer false-positives than the previous one from deepset. Additionally, on the ONNX runtime, it can be running 3x faster on the CPU, which might be handy for builders using Langchain. **Issue:** N/A - **Dependencies:** N/A - **Tag maintainer:** N/A - **Twitter handle:** `@laiyer_ai`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14842/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14842", "html_url": "https://github.com/langchain-ai/langchain/pull/14842", "diff_url": "https://github.com/langchain-ai/langchain/pull/14842.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14842.patch", "merged_at": "2023-12-19T01:50:21" }
https://api.github.com/repos/langchain-ai/langchain/issues/14841
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14841/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14841/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14841/events
https://github.com/langchain-ai/langchain/issues/14841
2,046,443,649
I_kwDOIPDwls55-kCB
14,841
safety_settings argument is missing with the ChatVertexAI mode
{ "login": "JamesLloydPartingtonSerendipityai", "id": 144007583, "node_id": "U_kgDOCJVhnw", "avatar_url": "https://avatars.githubusercontent.com/u/144007583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai", "html_url": "https://github.com/JamesLloydPartingtonSerendipityai", "followers_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/followers", "following_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/following{/other_user}", "gists_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/gists{/gist_id}", "starred_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/subscriptions", "organizations_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/orgs", "repos_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/repos", "events_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/events{/privacy}", "received_events_url": "https://api.github.com/users/JamesLloydPartingtonSerendipityai/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-18T11:21:49
2023-12-18T11:24:18
null
NONE
null
### Issue you'd like to raise. safety_settings argument is missing with the `ChatVertexAI` model ### Suggestion: Should be able to define the safety settings. For example: ``` safety_settings = { HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE, HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE, HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE, HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE, } llm = ChatVertexAI(safety_settings=safety_settings) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14841/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14841/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14840
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14840/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14840/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14840/events
https://github.com/langchain-ai/langchain/pull/14840
2,046,194,298
PR_kwDOIPDwls5iPRfK
14,840
docs: fixed tiktoken link error
{ "login": "soulhat", "id": 7219980, "node_id": "MDQ6VXNlcjcyMTk5ODA=", "avatar_url": "https://avatars.githubusercontent.com/u/7219980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/soulhat", "html_url": "https://github.com/soulhat", "followers_url": "https://api.github.com/users/soulhat/followers", "following_url": "https://api.github.com/users/soulhat/following{/other_user}", "gists_url": "https://api.github.com/users/soulhat/gists{/gist_id}", "starred_url": "https://api.github.com/users/soulhat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soulhat/subscriptions", "organizations_url": "https://api.github.com/users/soulhat/orgs", "repos_url": "https://api.github.com/users/soulhat/repos", "events_url": "https://api.github.com/users/soulhat/events{/privacy}", "received_events_url": "https://api.github.com/users/soulhat/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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T09:43:27
2023-12-19T13:10:39
2023-12-19T01:16:22
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** fixed tiktoken link error, - **Issue:** no, - **Dependencies:** no, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** no! 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://python.langchain.com/docs/contributing/ 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:** fixed tiktoken link error, - **Issue:** no, - **Dependencies:** no, - **Tag maintainer:** @baskaryan, - **Twitter handle:** SignetCode!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14840/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14840", "html_url": "https://github.com/langchain-ai/langchain/pull/14840", "diff_url": "https://github.com/langchain-ai/langchain/pull/14840.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14840.patch", "merged_at": "2023-12-19T01:16:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/14839
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14839/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14839/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14839/events
https://github.com/langchain-ai/langchain/pull/14839
2,046,192,206
PR_kwDOIPDwls5iPRBd
14,839
added support for tools on VertexAI
{ "login": "lkuligin", "id": 11026406, "node_id": "MDQ6VXNlcjExMDI2NDA2", "avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lkuligin", "html_url": "https://github.com/lkuligin", "followers_url": "https://api.github.com/users/lkuligin/followers", "following_url": "https://api.github.com/users/lkuligin/following{/other_user}", "gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}", "starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions", "organizations_url": "https://api.github.com/users/lkuligin/orgs", "repos_url": "https://api.github.com/users/lkuligin/repos", "events_url": "https://api.github.com/users/lkuligin/events{/privacy}", "received_events_url": "https://api.github.com/users/lkuligin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-18T09:42:25
2024-01-16T23:51:59
2024-01-16T23:51:59
CONTRIBUTOR
null
- **Description:** added support for tools on VertexAI - **Twitter handle:** lkuligin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14839/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14839", "html_url": "https://github.com/langchain-ai/langchain/pull/14839", "diff_url": "https://github.com/langchain-ai/langchain/pull/14839.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14839.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14838
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14838/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14838/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14838/events
https://github.com/langchain-ai/langchain/pull/14838
2,046,101,952
PR_kwDOIPDwls5iO_F5
14,838
added jaguar vector store
{ "login": "fserv", "id": 115371133, "node_id": "U_kgDOBuBsfQ", "avatar_url": "https://avatars.githubusercontent.com/u/115371133?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fserv", "html_url": "https://github.com/fserv", "followers_url": "https://api.github.com/users/fserv/followers", "following_url": "https://api.github.com/users/fserv/following{/other_user}", "gists_url": "https://api.github.com/users/fserv/gists{/gist_id}", "starred_url": "https://api.github.com/users/fserv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fserv/subscriptions", "organizations_url": "https://api.github.com/users/fserv/orgs", "repos_url": "https://api.github.com/users/fserv/repos", "events_url": "https://api.github.com/users/fserv/events{/privacy}", "received_events_url": "https://api.github.com/users/fserv/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" }, { "id": 6232714144, "node_id": "LA_kwDOIPDwls8AAAABc3-roA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL", "name": "size:XXL", "color": "5319E7", "default": false, "description": "This PR changes 1000+ lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T09:04:42
2023-12-19T15:40:19
2023-12-19T15:40:19
CONTRIBUTOR
null
Description: A new vector store Jaguar is being added. Class, test scripts, and documentation is added. Issue: None -- This is the first PR contributing to LangChain Dependencies: This depends on "pip install -U jaguardb-http-client" client http package Tag maintainer: @baskaryan, @eyurtsev, @hwchase1 Twitter handle: @workbot
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14838/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14838/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14838", "html_url": "https://github.com/langchain-ai/langchain/pull/14838", "diff_url": "https://github.com/langchain-ai/langchain/pull/14838.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14838.patch", "merged_at": "2023-12-19T15:40:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/14837
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14837/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14837/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14837/events
https://github.com/langchain-ai/langchain/issues/14837
2,045,948,323
I_kwDOIPDwls558rGj
14,837
Issue: Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only
{ "login": "deepak-habilelabs", "id": 137885024, "node_id": "U_kgDOCDf1YA", "avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepak-habilelabs", "html_url": "https://github.com/deepak-habilelabs", "followers_url": "https://api.github.com/users/deepak-habilelabs/followers", "following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}", "gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions", "organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs", "repos_url": "https://api.github.com/users/deepak-habilelabs/repos", "events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}", "received_events_url": "https://api.github.com/users/deepak-habilelabs/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": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
open
false
null
[]
null
1
2023-12-18T07:52:57
2023-12-18T08:00:50
null
NONE
null
### Issue you'd like to raise. I am working on a project where i need to fetch the content of sub URL by giving its base URL only. Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only ? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14837/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14836
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14836/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14836/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14836/events
https://github.com/langchain-ai/langchain/issues/14836
2,045,936,457
I_kwDOIPDwls558oNJ
14,836
Async PGVector to make LangChain with Postgres more performant
{ "login": "Coding-Crashkurse", "id": 64363987, "node_id": "MDQ6VXNlcjY0MzYzOTg3", "avatar_url": "https://avatars.githubusercontent.com/u/64363987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Coding-Crashkurse", "html_url": "https://github.com/Coding-Crashkurse", "followers_url": "https://api.github.com/users/Coding-Crashkurse/followers", "following_url": "https://api.github.com/users/Coding-Crashkurse/following{/other_user}", "gists_url": "https://api.github.com/users/Coding-Crashkurse/gists{/gist_id}", "starred_url": "https://api.github.com/users/Coding-Crashkurse/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Coding-Crashkurse/subscriptions", "organizations_url": "https://api.github.com/users/Coding-Crashkurse/orgs", "repos_url": "https://api.github.com/users/Coding-Crashkurse/repos", "events_url": "https://api.github.com/users/Coding-Crashkurse/events{/privacy}", "received_events_url": "https://api.github.com/users/Coding-Crashkurse/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
open
false
null
[]
null
1
2023-12-18T07:45:33
2023-12-18T07:47:59
null
NONE
null
### Feature request Currently we use PGVector as our Vector Database and do in combination with FastAPI. One issue is that in the indexing process, which happens over an API Endpoint, we found out that the current implementation of PgVector is blocking due to its synchronous implementation. FastAPI offers async/await and SQLAlchemy also allows using async sessions. I would like to add an Async Alternative for PGVector. ### Motivation Non-Blocking code execution prevents blocking the main thread of our execution and provides far superior performance compared to synchronous execution ### Your contribution I already coded a prototype, which works so far and does not block the main thread of the API. I would fully implement this async solution. Currently I only have to discuss this with my boss, since I did this during worktime.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14836/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/14836/timeline
null
reopened
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14835
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14835/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14835/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14835/events
https://github.com/langchain-ai/langchain/pull/14835
2,045,815,164
PR_kwDOIPDwls5iOA4p
14,835
fix: ak and sk are not essential in qianfan endpoint
{ "login": "ZingLix", "id": 22333469, "node_id": "MDQ6VXNlcjIyMzMzNDY5", "avatar_url": "https://avatars.githubusercontent.com/u/22333469?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZingLix", "html_url": "https://github.com/ZingLix", "followers_url": "https://api.github.com/users/ZingLix/followers", "following_url": "https://api.github.com/users/ZingLix/following{/other_user}", "gists_url": "https://api.github.com/users/ZingLix/gists{/gist_id}", "starred_url": "https://api.github.com/users/ZingLix/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZingLix/subscriptions", "organizations_url": "https://api.github.com/users/ZingLix/orgs", "repos_url": "https://api.github.com/users/ZingLix/repos", "events_url": "https://api.github.com/users/ZingLix/events{/privacy}", "received_events_url": "https://api.github.com/users/ZingLix/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-18T06:13:32
2023-12-20T05:49:34
2023-12-20T05:49:34
CONTRIBUTOR
null
- **Description:** The Qianfan SDK offers multiple authentication methods, but in the `QianfanEndpoint` of Langchain, it currently only supports authentication through AK and SK. In order to accommodate users who wish to use alternative authentication methods, this pull request makes AK and SK optional. This change should not impact existing users, while allowing users to configure other authentication methods as per the Qianfan SDK documentation. - **Issue:** / - **Dependencies:** No - **Tag maintainer:** No - **Twitter handle:**
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14835/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14835", "html_url": "https://github.com/langchain-ai/langchain/pull/14835", "diff_url": "https://github.com/langchain-ai/langchain/pull/14835.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14835.patch", "merged_at": "2023-12-20T05:49:34" }
https://api.github.com/repos/langchain-ai/langchain/issues/14834
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14834/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14834/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14834/events
https://github.com/langchain-ai/langchain/issues/14834
2,045,789,011
I_kwDOIPDwls558ENT
14,834
Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
{ "login": "deepak-habilelabs", "id": 137885024, "node_id": "U_kgDOCDf1YA", "avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepak-habilelabs", "html_url": "https://github.com/deepak-habilelabs", "followers_url": "https://api.github.com/users/deepak-habilelabs/followers", "following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}", "gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions", "organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs", "repos_url": "https://api.github.com/users/deepak-habilelabs/repos", "events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}", "received_events_url": "https://api.github.com/users/deepak-habilelabs/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
open
false
null
[]
null
1
2023-12-18T05:48:30
2023-12-18T05:56:44
null
NONE
null
### Issue you'd like to raise. ` #below is my code def generate_embeddings(urls = None,persist_directory=None): with sync_playwright() as p: browser = p.chromium.launch() navigate_tool = NavigateTool(sync_browser=browser) extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser) for url in urls: print(url,"url is ----------------------") await navigate_tool._arun(url) print(await navigate_tool._arun(url)) hyperlinks = await extract_hyperlinks_tool._arun() for link in hyperlinks: print(link,"link is ------------------------------------------") browser.close() asyncio.run(main()) loader = UnstructuredURLLoader(urls=urls) urlDocument = loader.load() text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50) texts = text_splitter.split_documents(documents=urlDocument) if texts: embedding = OpenAIEmbeddings() Chroma.from_documents(documents=texts, embedding=embedding, persist_directory=persist_directory) file_crawl_status = True file_index_status = True else: file_crawl_status = False file_index_status = False return file_crawl_status, file_index_status ` # And I am getting these error /home/hs/CustomBot/accounts/common_langcain_qa.py:121: RuntimeWarning: coroutine 'NavigateTool._arun' was never awaited navigate_tool._arun(url) RuntimeWarning: Enable tracemalloc to get the object allocation traceback <coroutine object NavigateTool._arun at 0x7ffbaa2871c0> /home/hs/CustomBot/accounts/common_langcain_qa.py:122: RuntimeWarning: coroutine 'NavigateTool._arun' was never awaited print(navigate_tool._arun(url)) RuntimeWarning: Enable tracemalloc to get the object allocation traceback <coroutine object ExtractHyperlinksTool._arun at 0x7ffbaa2871c0> link is ------------------------------------------ Internal Server Error: /create-project/ Traceback (most recent call last): File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 101, in dispatch return handler(request, *args, **kwargs) File "/home/hs/CustomBot/user_projects/views.py", line 1776, in post file_crawl_status, file_index_status = generate_embeddings( File "/home/hs/CustomBot/accounts/common_langcain_qa.py", line 126, in generate_embeddings browser.close() File "/home/hs/env/lib/python3.8/site-packages/playwright/sync_api/_generated.py", line 9869, in close self._sync("browser.close", self._impl_obj.close()) File "/home/hs/env/lib/python3.8/site-packages/playwright/_impl/_sync_base.py", line 100, in _sync task = self._loop.create_task(coro) File "/usr/lib/python3.8/asyncio/base_events.py", line 429, in create_task self._check_closed() File "/usr/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14834/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14833
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14833/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14833/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14833/events
https://github.com/langchain-ai/langchain/pull/14833
2,045,687,511
PR_kwDOIPDwls5iNk6H
14,833
OPENAI_PROXY not working
{ "login": "sevendark", "id": 13547104, "node_id": "MDQ6VXNlcjEzNTQ3MTA0", "avatar_url": "https://avatars.githubusercontent.com/u/13547104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sevendark", "html_url": "https://github.com/sevendark", "followers_url": "https://api.github.com/users/sevendark/followers", "following_url": "https://api.github.com/users/sevendark/following{/other_user}", "gists_url": "https://api.github.com/users/sevendark/gists{/gist_id}", "starred_url": "https://api.github.com/users/sevendark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sevendark/subscriptions", "organizations_url": "https://api.github.com/users/sevendark/orgs", "repos_url": "https://api.github.com/users/sevendark/repos", "events_url": "https://api.github.com/users/sevendark/events{/privacy}", "received_events_url": "https://api.github.com/users/sevendark/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T04:01:39
2023-12-19T02:06:15
2023-12-19T02:06:14
CONTRIBUTOR
null
Replace this entire comment with: - **Description:** OPENAI_PROXY is not working for openai==1.3.9, The `proxies` argument is deprecated. The `http_client` argument should be passed instead, - **Issue:** OPENAI_PROXY is not working, - **Dependencies:** None, - **Tag maintainer:** @hwchase17 , - **Twitter handle:** timothy66666
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14833/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14833", "html_url": "https://github.com/langchain-ai/langchain/pull/14833", "diff_url": "https://github.com/langchain-ai/langchain/pull/14833.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14833.patch", "merged_at": "2023-12-19T02:06:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/14832
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14832/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14832/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14832/events
https://github.com/langchain-ai/langchain/issues/14832
2,045,680,808
I_kwDOIPDwls557pyo
14,832
Add an OpentelemetryTracer in LangChain
{ "login": "npuichigo", "id": 11533479, "node_id": "MDQ6VXNlcjExNTMzNDc5", "avatar_url": "https://avatars.githubusercontent.com/u/11533479?v=4", "gravatar_id": "", "url": "https://api.github.com/users/npuichigo", "html_url": "https://github.com/npuichigo", "followers_url": "https://api.github.com/users/npuichigo/followers", "following_url": "https://api.github.com/users/npuichigo/following{/other_user}", "gists_url": "https://api.github.com/users/npuichigo/gists{/gist_id}", "starred_url": "https://api.github.com/users/npuichigo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/npuichigo/subscriptions", "organizations_url": "https://api.github.com/users/npuichigo/orgs", "repos_url": "https://api.github.com/users/npuichigo/repos", "events_url": "https://api.github.com/users/npuichigo/events{/privacy}", "received_events_url": "https://api.github.com/users/npuichigo/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
4
2023-12-18T03:52:49
2023-12-20T18:31:11
null
NONE
null
### Feature request There's already many tracers in LangChain (https://github.com/langchain-ai/langchain/tree/master/libs/langchain/langchain/callbacks/tracers). I would like to ask for adding an OpentelemetryTracer. ### Motivation Community tracing ### Your contribution Would like to contribute
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14832/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14831
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14831/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14831/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14831/events
https://github.com/langchain-ai/langchain/pull/14831
2,045,647,171
PR_kwDOIPDwls5iNcKV
14,831
Update parser
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T03:08:59
2023-12-18T04:02:08
2023-12-18T04:02:07
COLLABORATOR
null
Gpt-3.5 sometimes calls with empty string arguments instead of `{}` I'd assume it's because the typescript representation on their backend makes it a bit ambiguous. ^ exaample
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14831/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14831", "html_url": "https://github.com/langchain-ai/langchain/pull/14831", "diff_url": "https://github.com/langchain-ai/langchain/pull/14831.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14831.patch", "merged_at": "2023-12-18T04:02:07" }
https://api.github.com/repos/langchain-ai/langchain/issues/14830
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14830/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14830/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14830/events
https://github.com/langchain-ai/langchain/pull/14830
2,045,633,509
PR_kwDOIPDwls5iNZNU
14,830
[Bugfix] Ensure tool output is a str, for OAI Assistant
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-18T02:59:14
2023-12-18T04:02:19
2023-12-18T04:02:19
COLLABORATOR
null
Tool outputs have to be strings apparently. Ensure they are formatted correctly before passing as intermediate steps. ``` BadRequestError: Error code: 400 - {'error': {'message': '1 validation error for Request\nbody -> tool_outputs -> 0 -> output\n str type expected (type=type_error.str)', 'type': 'invalid_request_error', 'param': None, 'code': None}} ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14830/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14830", "html_url": "https://github.com/langchain-ai/langchain/pull/14830", "diff_url": "https://github.com/langchain-ai/langchain/pull/14830.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14830.patch", "merged_at": "2023-12-18T04:02:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/14829
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14829/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14829/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14829/events
https://github.com/langchain-ai/langchain/pull/14829
2,045,508,033
PR_kwDOIPDwls5iM8pw
14,829
feat: add Google BigQueryVectorSearch in vectorstore
{ "login": "ashleyxuu", "id": 139821907, "node_id": "U_kgDOCFWDUw", "avatar_url": "https://avatars.githubusercontent.com/u/139821907?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashleyxuu", "html_url": "https://github.com/ashleyxuu", "followers_url": "https://api.github.com/users/ashleyxuu/followers", "following_url": "https://api.github.com/users/ashleyxuu/following{/other_user}", "gists_url": "https://api.github.com/users/ashleyxuu/gists{/gist_id}", "starred_url": "https://api.github.com/users/ashleyxuu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ashleyxuu/subscriptions", "organizations_url": "https://api.github.com/users/ashleyxuu/orgs", "repos_url": "https://api.github.com/users/ashleyxuu/repos", "events_url": "https://api.github.com/users/ashleyxuu/events{/privacy}", "received_events_url": "https://api.github.com/users/ashleyxuu/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": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 6232714144, "node_id": "LA_kwDOIPDwls8AAAABc3-roA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL", "name": "size:XXL", "color": "5319E7", "default": false, "description": "This PR changes 1000+ lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-18T01:28:33
2024-01-02T23:57:15
2024-01-02T23:57:15
CONTRIBUTOR
null
BigQuery vector search lets you use GoogleSQL to do semantic search, using vector indexes for fast but approximate results, or using brute force for exact results. This PR integrates LangChain vectorstore with BigQuery Vector Search. <!-- 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://python.langchain.com/docs/contributing/ 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/14829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14829/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14829", "html_url": "https://github.com/langchain-ai/langchain/pull/14829", "diff_url": "https://github.com/langchain-ai/langchain/pull/14829.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14829.patch", "merged_at": "2024-01-02T23:57:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/14828
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14828/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14828/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14828/events
https://github.com/langchain-ai/langchain/issues/14828
2,045,453,142
I_kwDOIPDwls556yNW
14,828
How can I grab only the AI answer of my langchain agent?
{ "login": "lethehoa", "id": 75193335, "node_id": "MDQ6VXNlcjc1MTkzMzM1", "avatar_url": "https://avatars.githubusercontent.com/u/75193335?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lethehoa", "html_url": "https://github.com/lethehoa", "followers_url": "https://api.github.com/users/lethehoa/followers", "following_url": "https://api.github.com/users/lethehoa/following{/other_user}", "gists_url": "https://api.github.com/users/lethehoa/gists{/gist_id}", "starred_url": "https://api.github.com/users/lethehoa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lethehoa/subscriptions", "organizations_url": "https://api.github.com/users/lethehoa/orgs", "repos_url": "https://api.github.com/users/lethehoa/repos", "events_url": "https://api.github.com/users/lethehoa/events{/privacy}", "received_events_url": "https://api.github.com/users/lethehoa/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
open
false
null
[]
null
1
2023-12-18T00:32:57
2023-12-18T00:39:30
null
NONE
null
### Issue you'd like to raise. My code is : ``` llm = ChatOpenAI(temperature=0, verbose=True, model="gpt-3.5-turbo-16k") toolkit = SQLDatabaseToolkit(db=db, llm=llm) agent_type = AgentType.ZERO_SHOT_REACT_DESCRIPTION agent_executor_1 = initialize_agent() agent_executor = create_sql_agent(llm=llm, toolkit=toolkit, verbose=True, agent_type=agent_type) agent_executor.run(input="How many orders in 2023-12-15") ``` I got the result with the following format: ``` > Entering new AgentExecutor chain... Thought: ... Action: ... Action Input: ... Observation: ... Thought: ... AI: ... ``` I want to save AI result to a variable. I try print(agent_executor.run) but it didn't work. Is there any way that suit my need. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14828/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14827
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14827/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14827/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14827/events
https://github.com/langchain-ai/langchain/pull/14827
2,045,447,121
PR_kwDOIPDwls5iMvdZ
14,827
Fix link typo to `/docs/integrations/text_embedding/nvidia_ai_endpoints`
{ "login": "eriknw", "id": 2058401, "node_id": "MDQ6VXNlcjIwNTg0MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/2058401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eriknw", "html_url": "https://github.com/eriknw", "followers_url": "https://api.github.com/users/eriknw/followers", "following_url": "https://api.github.com/users/eriknw/following{/other_user}", "gists_url": "https://api.github.com/users/eriknw/gists{/gist_id}", "starred_url": "https://api.github.com/users/eriknw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eriknw/subscriptions", "organizations_url": "https://api.github.com/users/eriknw/orgs", "repos_url": "https://api.github.com/users/eriknw/repos", "events_url": "https://api.github.com/users/eriknw/events{/privacy}", "received_events_url": "https://api.github.com/users/eriknw/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T00:20:50
2023-12-18T02:16:59
2023-12-18T02:16:59
CONTRIBUTOR
null
This page doesn't exist: - https://python.langchain.com/docs/integrations/text_embeddings/nvidia_ai_endpoints but this one does: - https://python.langchain.com/docs/integrations/text_embedding/nvidia_ai_endpoints
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14827/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14827/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14827", "html_url": "https://github.com/langchain-ai/langchain/pull/14827", "diff_url": "https://github.com/langchain-ai/langchain/pull/14827.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14827.patch", "merged_at": "2023-12-18T02:16:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/14826
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14826/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14826/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14826/events
https://github.com/langchain-ai/langchain/pull/14826
2,045,442,499
PR_kwDOIPDwls5iMueP
14,826
Add logprobs in gen output
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-18T00:13:46
2024-01-06T20:26:23
2023-12-18T01:59:28
COLLABORATOR
null
Now that it's supported again for OAI chat models . Shame this wouldn't include it in the `.invoke()` output though (it's not included in the message itself). Would need to do a follow-up for that to be the case
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14826/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14826", "html_url": "https://github.com/langchain-ai/langchain/pull/14826", "diff_url": "https://github.com/langchain-ai/langchain/pull/14826.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14826.patch", "merged_at": "2023-12-18T01:59:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/14824
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14824/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14824/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14824/events
https://github.com/langchain-ai/langchain/pull/14824
2,045,371,633
PR_kwDOIPDwls5iMgJ7
14,824
added history and support for system_message as param
{ "login": "lkuligin", "id": 11026406, "node_id": "MDQ6VXNlcjExMDI2NDA2", "avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lkuligin", "html_url": "https://github.com/lkuligin", "followers_url": "https://api.github.com/users/lkuligin/followers", "following_url": "https://api.github.com/users/lkuligin/following{/other_user}", "gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}", "starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions", "organizations_url": "https://api.github.com/users/lkuligin/orgs", "repos_url": "https://api.github.com/users/lkuligin/repos", "events_url": "https://api.github.com/users/lkuligin/events{/privacy}", "received_events_url": "https://api.github.com/users/lkuligin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
{ "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 }
[ { "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 } ]
null
3
2023-12-17T20:48:13
2023-12-19T02:23:14
2023-12-19T02:23:14
CONTRIBUTOR
null
- **Description:** added support for chat_history for Google GenerativeAI (to actually use the `chat` API) plus since Gemini currently doesn't have a support for SystemMessage, added support for it only if a user provides additional `convert_system_message_to_human` flag during model initialization (in this case, SystemMessage would be prepanded to the first HumanMessage) - **Issue:** #14710 - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** lkuligin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14824/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14824", "html_url": "https://github.com/langchain-ai/langchain/pull/14824", "diff_url": "https://github.com/langchain-ai/langchain/pull/14824.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14824.patch", "merged_at": "2023-12-19T02:23:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/14823
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14823/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14823/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14823/events
https://github.com/langchain-ai/langchain/pull/14823
2,045,352,843
PR_kwDOIPDwls5iMcXl
14,823
Small update in the documentation to ensure consistency in declaring LANGCHAIN_API_KEY...
{ "login": "yacine555", "id": 1928640, "node_id": "MDQ6VXNlcjE5Mjg2NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1928640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yacine555", "html_url": "https://github.com/yacine555", "followers_url": "https://api.github.com/users/yacine555/followers", "following_url": "https://api.github.com/users/yacine555/following{/other_user}", "gists_url": "https://api.github.com/users/yacine555/gists{/gist_id}", "starred_url": "https://api.github.com/users/yacine555/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yacine555/subscriptions", "organizations_url": "https://api.github.com/users/yacine555/orgs", "repos_url": "https://api.github.com/users/yacine555/repos", "events_url": "https://api.github.com/users/yacine555/events{/privacy}", "received_events_url": "https://api.github.com/users/yacine555/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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-17T19:53:34
2023-12-21T07:44:41
2023-12-17T21:41:44
CONTRIBUTOR
null
... variable, accompanied by a quote <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14823/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14823", "html_url": "https://github.com/langchain-ai/langchain/pull/14823", "diff_url": "https://github.com/langchain-ai/langchain/pull/14823.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14823.patch", "merged_at": "2023-12-17T21:41:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/14822
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14822/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14822/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14822/events
https://github.com/langchain-ai/langchain/issues/14822
2,045,336,301
I_kwDOIPDwls556Vrt
14,822
PostgresChatHistory or any other database for storing history does not work with ConversationSummaryBufferMemory(or other memory taht produces 'system' massage type after summarisation
{ "login": "Vanekkk1", "id": 91801007, "node_id": "U_kgDOBXjFrw", "avatar_url": "https://avatars.githubusercontent.com/u/91801007?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vanekkk1", "html_url": "https://github.com/Vanekkk1", "followers_url": "https://api.github.com/users/Vanekkk1/followers", "following_url": "https://api.github.com/users/Vanekkk1/following{/other_user}", "gists_url": "https://api.github.com/users/Vanekkk1/gists{/gist_id}", "starred_url": "https://api.github.com/users/Vanekkk1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vanekkk1/subscriptions", "organizations_url": "https://api.github.com/users/Vanekkk1/orgs", "repos_url": "https://api.github.com/users/Vanekkk1/repos", "events_url": "https://api.github.com/users/Vanekkk1/events{/privacy}", "received_events_url": "https://api.github.com/users/Vanekkk1/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
9
2023-12-17T19:00:18
2023-12-23T12:13:23
null
NONE
null
### System Info mac os latest, latest LangChain ### 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 - [x] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ConversationBufferWindowMemory( chat_memory=PostgresChatMessageHistory( session_id=session_id, connection_string=os.getenv("DB_URL") ), return_messages=True, memory_key=memory_key, ) try to run a chat with this ### Expected behavior I think it should save the massages as they are to SQL, but use the properties of the ConversationSummaryBufferMemory for the chat itself, but it reality it just uses SQL and history is jus tall the massages
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14822/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14821
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14821/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14821/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14821/events
https://github.com/langchain-ai/langchain/pull/14821
2,045,329,217
PR_kwDOIPDwls5iMXsa
14,821
support for Sybase SQL anywhere added.
{ "login": "developer20sujeet", "id": 8278919, "node_id": "MDQ6VXNlcjgyNzg5MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8278919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/developer20sujeet", "html_url": "https://github.com/developer20sujeet", "followers_url": "https://api.github.com/users/developer20sujeet/followers", "following_url": "https://api.github.com/users/developer20sujeet/following{/other_user}", "gists_url": "https://api.github.com/users/developer20sujeet/gists{/gist_id}", "starred_url": "https://api.github.com/users/developer20sujeet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/developer20sujeet/subscriptions", "organizations_url": "https://api.github.com/users/developer20sujeet/orgs", "repos_url": "https://api.github.com/users/developer20sujeet/repos", "events_url": "https://api.github.com/users/developer20sujeet/events{/privacy}", "received_events_url": "https://api.github.com/users/developer20sujeet/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-17T18:36:54
2023-12-23T02:49:53
2023-12-17T21:39:45
CONTRIBUTOR
null
Please find changes details as below - **Description:** support for Sybase SQL anywhere added in sql_database.py file at path langchain\libs\community\langchain_community\utilities - **Issue:** It will resolve default schema setting for Sybase SQL anywhere - **Dependencies:** No, - **Tag maintainer:** @baskaryan, @eyurtsev, @hwchase17, - **Twitter handle:** NA
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14821/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14821/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14821", "html_url": "https://github.com/langchain-ai/langchain/pull/14821", "diff_url": "https://github.com/langchain-ai/langchain/pull/14821.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14821.patch", "merged_at": "2023-12-17T21:39:45" }
https://api.github.com/repos/langchain-ai/langchain/issues/14819
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14819/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14819/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14819/events
https://github.com/langchain-ai/langchain/issues/14819
2,045,301,971
I_kwDOIPDwls556NTT
14,819
Gemini with ConversationalRetrievalChain
{ "login": "gpy1234", "id": 115173829, "node_id": "U_kgDOBt1pxQ", "avatar_url": "https://avatars.githubusercontent.com/u/115173829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gpy1234", "html_url": "https://github.com/gpy1234", "followers_url": "https://api.github.com/users/gpy1234/followers", "following_url": "https://api.github.com/users/gpy1234/following{/other_user}", "gists_url": "https://api.github.com/users/gpy1234/gists{/gist_id}", "starred_url": "https://api.github.com/users/gpy1234/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gpy1234/subscriptions", "organizations_url": "https://api.github.com/users/gpy1234/orgs", "repos_url": "https://api.github.com/users/gpy1234/repos", "events_url": "https://api.github.com/users/gpy1234/events{/privacy}", "received_events_url": "https://api.github.com/users/gpy1234/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
2
2023-12-17T17:26:06
2023-12-20T08:45:09
2023-12-20T08:45:09
NONE
null
### Issue you'd like to raise. Is there a similar method for using `gemini-pro` with `ConversationalRetrievalChain.from_llm`, as there is for utilizing models from VertexAI with `ChatVertexAI` or `VertexAI`, where you specify the `model_name`? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14819/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14818
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14818/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14818/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14818/events
https://github.com/langchain-ai/langchain/pull/14818
2,045,289,990
PR_kwDOIPDwls5iMP0m
14,818
Restore self message sent before OSX 12 Monterey
{ "login": "idvorkin", "id": 280981, "node_id": "MDQ6VXNlcjI4MDk4MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/280981?v=4", "gravatar_id": "", "url": "https://api.github.com/users/idvorkin", "html_url": "https://github.com/idvorkin", "followers_url": "https://api.github.com/users/idvorkin/followers", "following_url": "https://api.github.com/users/idvorkin/following{/other_user}", "gists_url": "https://api.github.com/users/idvorkin/gists{/gist_id}", "starred_url": "https://api.github.com/users/idvorkin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/idvorkin/subscriptions", "organizations_url": "https://api.github.com/users/idvorkin/orgs", "repos_url": "https://api.github.com/users/idvorkin/repos", "events_url": "https://api.github.com/users/idvorkin/events{/privacy}", "received_events_url": "https://api.github.com/users/idvorkin/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": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
6
2023-12-17T16:48:48
2024-01-03T18:54:17
2024-01-02T00:04:14
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14818/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14818", "html_url": "https://github.com/langchain-ai/langchain/pull/14818", "diff_url": "https://github.com/langchain-ai/langchain/pull/14818.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14818.patch", "merged_at": "2024-01-02T00:04:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/14817
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14817/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14817/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14817/events
https://github.com/langchain-ai/langchain/pull/14817
2,045,284,951
PR_kwDOIPDwls5iMO0b
14,817
Fix failing serpapi response processing for Google Maps API
{ "login": "LoopKarma", "id": 6281063, "node_id": "MDQ6VXNlcjYyODEwNjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6281063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LoopKarma", "html_url": "https://github.com/LoopKarma", "followers_url": "https://api.github.com/users/LoopKarma/followers", "following_url": "https://api.github.com/users/LoopKarma/following{/other_user}", "gists_url": "https://api.github.com/users/LoopKarma/gists{/gist_id}", "starred_url": "https://api.github.com/users/LoopKarma/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LoopKarma/subscriptions", "organizations_url": "https://api.github.com/users/LoopKarma/orgs", "repos_url": "https://api.github.com/users/LoopKarma/repos", "events_url": "https://api.github.com/users/LoopKarma/events{/privacy}", "received_events_url": "https://api.github.com/users/LoopKarma/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-17T16:33:49
2024-01-03T00:17:21
2024-01-03T00:17:21
CONTRIBUTOR
null
**Description:** Fix for processing for serpapi response for Google Maps API **Issue:** Due to the fact corresponding [api](https://serpapi.com/google-maps-api) returns 'local_results' as list, and old version requested `res["local_results"].keys()` of the list. As the result we got exception: ```AttributeError: 'list' object has no attribute 'keys'```. Way to reproduce wrong behaviour: ``` params = { "engine": "google_maps", "type": "search", "google_domain": "google.de", "ll": "@51.1917,10.525,14z", "hl": "de", "gl": "de", } search = SerpAPIWrapper(params=params) results = search.run("cafe") ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14817/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14817", "html_url": "https://github.com/langchain-ai/langchain/pull/14817", "diff_url": "https://github.com/langchain-ai/langchain/pull/14817.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14817.patch", "merged_at": "2024-01-03T00:17:21" }
https://api.github.com/repos/langchain-ai/langchain/issues/14816
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14816/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14816/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14816/events
https://github.com/langchain-ai/langchain/issues/14816
2,045,267,345
I_kwDOIPDwls556E2R
14,816
When using the OpenAIFunctionsAgentOutputParser() to parse agent output meet an error.
{ "login": "qhNana7mi", "id": 90513408, "node_id": "MDQ6VXNlcjkwNTEzNDA4", "avatar_url": "https://avatars.githubusercontent.com/u/90513408?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qhNana7mi", "html_url": "https://github.com/qhNana7mi", "followers_url": "https://api.github.com/users/qhNana7mi/followers", "following_url": "https://api.github.com/users/qhNana7mi/following{/other_user}", "gists_url": "https://api.github.com/users/qhNana7mi/gists{/gist_id}", "starred_url": "https://api.github.com/users/qhNana7mi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qhNana7mi/subscriptions", "organizations_url": "https://api.github.com/users/qhNana7mi/orgs", "repos_url": "https://api.github.com/users/qhNana7mi/repos", "events_url": "https://api.github.com/users/qhNana7mi/events{/privacy}", "received_events_url": "https://api.github.com/users/qhNana7mi/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
3
2023-12-17T15:44:02
2023-12-18T09:59:54
null
NONE
null
### Issue you'd like to raise. The following issue occurred when parsing the output of the proxy. > Expected an AI message got <class \'langchain_core.messages.chat.ChatMessage\'> Code: ```python self.agent_output_parser = OpenAIFunctionsAgentOutputParser() self.agent = { "paths": lambda x: x["paths"], "in_name": lambda x: x["in_name"], "out_name": lambda x: x["out_name"], "agent_scratchpad": lambda x: format_to_openai_functions(x['intermediate_steps']) } | self.gen_chatprompt | llm_with_tools | self.agent_output_parser ``` There were no errors in this code before the update. current version of langchain is 0.0.350. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14816/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14815
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14815/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14815/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14815/events
https://github.com/langchain-ai/langchain/pull/14815
2,045,244,981
PR_kwDOIPDwls5iMG3B
14,815
fix agenerate return value
{ "login": "tyumentsev4", "id": 56769451, "node_id": "MDQ6VXNlcjU2NzY5NDUx", "avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tyumentsev4", "html_url": "https://github.com/tyumentsev4", "followers_url": "https://api.github.com/users/tyumentsev4/followers", "following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}", "gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}", "starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions", "organizations_url": "https://api.github.com/users/tyumentsev4/orgs", "repos_url": "https://api.github.com/users/tyumentsev4/repos", "events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}", "received_events_url": "https://api.github.com/users/tyumentsev4/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-17T14:41:44
2023-12-17T21:40:59
2023-12-17T21:40:59
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> Fixed: - `_agenerate` return value in the YandexGPT Chat Model - duplicate line in the documentation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14815/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14815", "html_url": "https://github.com/langchain-ai/langchain/pull/14815", "diff_url": "https://github.com/langchain-ai/langchain/pull/14815.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14815.patch", "merged_at": "2023-12-17T21:40:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/14814
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14814/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14814/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14814/events
https://github.com/langchain-ai/langchain/pull/14814
2,045,200,177
PR_kwDOIPDwls5iL-Ak
14,814
feat: Qdrant sparse vector retriever
{ "login": "Anush008", "id": 46051506, "node_id": "MDQ6VXNlcjQ2MDUxNTA2", "avatar_url": "https://avatars.githubusercontent.com/u/46051506?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Anush008", "html_url": "https://github.com/Anush008", "followers_url": "https://api.github.com/users/Anush008/followers", "following_url": "https://api.github.com/users/Anush008/following{/other_user}", "gists_url": "https://api.github.com/users/Anush008/gists{/gist_id}", "starred_url": "https://api.github.com/users/Anush008/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Anush008/subscriptions", "organizations_url": "https://api.github.com/users/Anush008/orgs", "repos_url": "https://api.github.com/users/Anush008/repos", "events_url": "https://api.github.com/users/Anush008/events{/privacy}", "received_events_url": "https://api.github.com/users/Anush008/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": 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": 6232714130, "node_id": "LA_kwDOIPDwls8AAAABc3-rkg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL", "name": "size:XL", "color": "D4C5F9", "default": false, "description": "This PR changes 500-999 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-17T12:30:25
2023-12-20T07:24:57
2023-12-20T07:22:20
CONTRIBUTOR
null
## Description This PR intends to add support for Qdrant's new [sparse vector retrieval](https://qdrant.tech/articles/sparse-vectors/) by introducing a new retriever class, `QdrantSparseVectorRetriever`. Necessary usage docs and integration tests have been added for the retriever.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14814/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14814", "html_url": "https://github.com/langchain-ai/langchain/pull/14814", "diff_url": "https://github.com/langchain-ai/langchain/pull/14814.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14814.patch", "merged_at": "2023-12-20T07:22:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/14813
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14813/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14813/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14813/events
https://github.com/langchain-ai/langchain/issues/14813
2,045,185,889
I_kwDOIPDwls555w9h
14,813
Missing "Prompt" in Together ai
{ "login": "aadityamundhalia", "id": 857107, "node_id": "MDQ6VXNlcjg1NzEwNw==", "avatar_url": "https://avatars.githubusercontent.com/u/857107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aadityamundhalia", "html_url": "https://github.com/aadityamundhalia", "followers_url": "https://api.github.com/users/aadityamundhalia/followers", "following_url": "https://api.github.com/users/aadityamundhalia/following{/other_user}", "gists_url": "https://api.github.com/users/aadityamundhalia/gists{/gist_id}", "starred_url": "https://api.github.com/users/aadityamundhalia/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aadityamundhalia/subscriptions", "organizations_url": "https://api.github.com/users/aadityamundhalia/orgs", "repos_url": "https://api.github.com/users/aadityamundhalia/repos", "events_url": "https://api.github.com/users/aadityamundhalia/events{/privacy}", "received_events_url": "https://api.github.com/users/aadityamundhalia/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
3
2023-12-17T11:45:30
2023-12-29T04:03:34
2023-12-28T05:05:43
NONE
null
### System Info In this file: https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/together.py There is no variable Prompt, however it is available in the documentation: https://docs.together.ai/reference/inference ```python if config.model == "together": return Together( model="togethercomputer/StripedHyena-Nous-7B", temperature=0.7, max_tokens=128, top_k=1, together_api_key=config.together_api_key, prompt="The capital of France is" ) ``` error I get is: ```bash pydantic.v1.error_wrappers.ValidationError: 1 validation error for Together prompt extra fields not permitted (type=value_error.extra) ``` ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Try to run together Ai model and pass Prompt on model it will fail. My goal is to set a system Prompt. ### Expected behavior Accept Prompt as the system Prompt.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14813/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14812
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14812/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14812/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14812/events
https://github.com/langchain-ai/langchain/pull/14812
2,045,184,337
PR_kwDOIPDwls5iL677
14,812
Fix: Typo in Templates README.md
{ "login": "xkra", "id": 22492738, "node_id": "MDQ6VXNlcjIyNDkyNzM4", "avatar_url": "https://avatars.githubusercontent.com/u/22492738?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xkra", "html_url": "https://github.com/xkra", "followers_url": "https://api.github.com/users/xkra/followers", "following_url": "https://api.github.com/users/xkra/following{/other_user}", "gists_url": "https://api.github.com/users/xkra/gists{/gist_id}", "starred_url": "https://api.github.com/users/xkra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xkra/subscriptions", "organizations_url": "https://api.github.com/users/xkra/orgs", "repos_url": "https://api.github.com/users/xkra/repos", "events_url": "https://api.github.com/users/xkra/events{/privacy}", "received_events_url": "https://api.github.com/users/xkra/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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-17T11:40:03
2023-12-18T01:56:56
2023-12-18T01:56:56
CONTRIBUTOR
null
Corrected path reference from package/pirate-speak to packages/pirate-speak
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14812/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14812", "html_url": "https://github.com/langchain-ai/langchain/pull/14812", "diff_url": "https://github.com/langchain-ai/langchain/pull/14812.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14812.patch", "merged_at": "2023-12-18T01:56:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/14811
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14811/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14811/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14811/events
https://github.com/langchain-ai/langchain/pull/14811
2,045,118,761
PR_kwDOIPDwls5iLt5W
14,811
Add Ollama multimodal llm support for image with prompt
{ "login": "DanielOHeron", "id": 153974481, "node_id": "U_kgDOCS120Q", "avatar_url": "https://avatars.githubusercontent.com/u/153974481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DanielOHeron", "html_url": "https://github.com/DanielOHeron", "followers_url": "https://api.github.com/users/DanielOHeron/followers", "following_url": "https://api.github.com/users/DanielOHeron/following{/other_user}", "gists_url": "https://api.github.com/users/DanielOHeron/gists{/gist_id}", "starred_url": "https://api.github.com/users/DanielOHeron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanielOHeron/subscriptions", "organizations_url": "https://api.github.com/users/DanielOHeron/orgs", "repos_url": "https://api.github.com/users/DanielOHeron/repos", "events_url": "https://api.github.com/users/DanielOHeron/events{/privacy}", "received_events_url": "https://api.github.com/users/DanielOHeron/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
4
2023-12-17T08:00:23
2023-12-19T18:34:01
2023-12-19T02:46:53
NONE
null
- **Description:** Adds a class OllamaMultiModal to the Ollama llms file: lanchain/llms/ollama.py. This class supports sending an image to the ollama endpoint for models that support the image with a prompt message. - **Twitter handle:** Daniel_OHeron Passes make format, make lint, make test. If this code change is useful. Will add unit test, notebook and documentation. As well as build out additional features. Please let me know. Example usage: ` from OllamaMultiModalMain import OllamaMultiModal import base64 def encode_image_to_base64(image_path): with open(image_path, "rb") as image_file: return base64.b64encode(image_file.read()).decode('utf-8') llm = OllamaMultiModal(model="bakllava") while True: user_input = input("User (text): ") image_input = input("User (image path, press enter to skip): ") image_data = encode_image_to_base64(image_input) if image_input else None if image_data: response = llm.invoke( input=user_input, images=[image_data]) else: response = llm.invoke(input=user_input) # response = conversational_chain.predict(input=user_input) print("Chat:", response) `
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14811/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14811", "html_url": "https://github.com/langchain-ai/langchain/pull/14811", "diff_url": "https://github.com/langchain-ai/langchain/pull/14811.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14811.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14810
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14810/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14810/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14810/events
https://github.com/langchain-ai/langchain/issues/14810
2,045,111,414
I_kwDOIPDwls555ex2
14,810
Error Langchain + Ollama + Google Colab + ngrok
{ "login": "SerhiyProtsenko", "id": 33152729, "node_id": "MDQ6VXNlcjMzMTUyNzI5", "avatar_url": "https://avatars.githubusercontent.com/u/33152729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SerhiyProtsenko", "html_url": "https://github.com/SerhiyProtsenko", "followers_url": "https://api.github.com/users/SerhiyProtsenko/followers", "following_url": "https://api.github.com/users/SerhiyProtsenko/following{/other_user}", "gists_url": "https://api.github.com/users/SerhiyProtsenko/gists{/gist_id}", "starred_url": "https://api.github.com/users/SerhiyProtsenko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SerhiyProtsenko/subscriptions", "organizations_url": "https://api.github.com/users/SerhiyProtsenko/orgs", "repos_url": "https://api.github.com/users/SerhiyProtsenko/repos", "events_url": "https://api.github.com/users/SerhiyProtsenko/events{/privacy}", "received_events_url": "https://api.github.com/users/SerhiyProtsenko/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-12-17T07:36:37
2023-12-17T07:43:03
null
NONE
null
### System Info langchain.__version__ '0.0.350' python 3.11.5 ollama version is 0.1.16 pyngrok-7.0.3 ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction When I use the combination: Ollama + Langchain + Google Colab + ngrok. I get an error (The models are downloaded, I can see them in Ollama list) ``` llm = Ollama( model="run deepseek-coder:6.7b", base_url="https://e12b-35-231-226-171.ngrok.io/") responce = llm.predict('What do you know about Falco?') Output exceeds the [size limit](command:workbench.action.openSettings?%5B%22notebook.output.textLineLimit%22%5D). Open the full output data [in a text editor](command:workbench.action.openLargeOutput?5f7f2031-a63a-42c0-ac20-ccc8d53de6b2)--------------------------------------------------------------------------- JSONDecodeError Traceback (most recent call last) File [~/miniconda3/envs/llm/lib/python3.11/site-packages/requests/models.py:971](https://file+.vscode-resource.vscode-cdn.net/home/serhiy/Scalarr/llm/%20RAG/~/miniconda3/envs/llm/lib/python3.11/site-packages/requests/models.py:971), in Response.json(self, **kwargs) 970 try: --> 971 return complexjson.loads(self.text, **kwargs) 972 except JSONDecodeError as e: 973 # Catch JSON-related errors and raise as requests.JSONDecodeError 974 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError File [~/miniconda3/envs/llm/lib/python3.11/site-packages/simplejson/__init__.py:514](https://file+.vscode-resource.vscode-cdn.net/home/serhiy/Scalarr/llm/%20RAG/~/miniconda3/envs/llm/lib/python3.11/site-packages/simplejson/__init__.py:514), in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, use_decimal, allow_nan, **kw) 510 if (cls is None and encoding is None and object_hook is None and 511 parse_int is None and parse_float is None and 512 parse_constant is None and object_pairs_hook is None 513 and not use_decimal and not allow_nan and not kw): --> 514 return _default_decoder.decode(s) 515 if cls is None: File [~/miniconda3/envs/llm/lib/python3.11/site-packages/simplejson/decoder.py:389](https://file+.vscode-resource.vscode-cdn.net/home/serhiy/Scalarr/llm/%20RAG/~/miniconda3/envs/llm/lib/python3.11/site-packages/simplejson/decoder.py:389), in JSONDecoder.decode(self, s, _w, _PY3) 388 if end != len(s): --> 389 raise JSONDecodeError("Extra data", s, end, len(s)) 390 return obj JSONDecodeError: Extra data: line 1 column 5 - line 1 column 19 (char 4 - 18) During handling of the above exception, another exception occurred: ... 973 # Catch JSON-related errors and raise as requests.JSONDecodeError 974 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError --> 975 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) JSONDecodeError: Extra data: line 1 column 5 (char 4) ``` ### Expected behavior If I run from the terminal Ollama + Google Colab + ngrok, everything works with google colab and ngrok. Also, if I change the Python script to local base_url: ``` llm = Ollama( model="run deepseek-coder:6.7b", base_url="http://localhost:11434") responce = llm.predict('What do you know about Falco?') ``` everything works Ollama + Langchain. Only the combination Ollama + Langchain + Google Colab + ngrok does not work
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14810/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14809
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14809/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14809/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14809/events
https://github.com/langchain-ai/langchain/issues/14809
2,045,031,789
I_kwDOIPDwls555LVt
14,809
how to add LCEL memory | OpenAIFunctionsAgentOutputParser?
{ "login": "ZhuJD-China", "id": 50070803, "node_id": "MDQ6VXNlcjUwMDcwODAz", "avatar_url": "https://avatars.githubusercontent.com/u/50070803?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZhuJD-China", "html_url": "https://github.com/ZhuJD-China", "followers_url": "https://api.github.com/users/ZhuJD-China/followers", "following_url": "https://api.github.com/users/ZhuJD-China/following{/other_user}", "gists_url": "https://api.github.com/users/ZhuJD-China/gists{/gist_id}", "starred_url": "https://api.github.com/users/ZhuJD-China/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZhuJD-China/subscriptions", "organizations_url": "https://api.github.com/users/ZhuJD-China/orgs", "repos_url": "https://api.github.com/users/ZhuJD-China/repos", "events_url": "https://api.github.com/users/ZhuJD-China/events{/privacy}", "received_events_url": "https://api.github.com/users/ZhuJD-China/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
open
false
null
[]
null
2
2023-12-17T02:51:49
2023-12-17T03:37:41
null
NONE
null
### Issue you'd like to raise. # 使用LCEL创建代理 prompt = ChatPromptTemplate.from_messages( [ ("system", "You are a helpful assistant"), ("user", "{input}"), MessagesPlaceholder(variable_name="agent_scratchpad"), ] ) llm_with_tools = self.llm.bind(functions=[format_tool_to_openai_function(t) for t in self.tools]) agent = ( { "input": lambda x: x["input"], "agent_scratchpad": lambda x: format_to_openai_function_messages( x["intermediate_steps"] ), } | prompt | llm_with_tools | OpenAIFunctionsAgentOutputParser() ) # 创建AgentExecutor并调用 agent_executor = AgentExecutor(agent=agent, tools=self.tools, verbose=True, return_intermediate_steps=True, handle_parsing_errors=True, ) try: response = agent_executor.invoke( { "input": message } ) ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14809/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14807
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14807/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14807/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14807/events
https://github.com/langchain-ai/langchain/issues/14807
2,045,027,468
I_kwDOIPDwls555KSM
14,807
Can Agents' tools fetch sensitive information?
{ "login": "franciscoprin", "id": 27599257, "node_id": "MDQ6VXNlcjI3NTk5MjU3", "avatar_url": "https://avatars.githubusercontent.com/u/27599257?v=4", "gravatar_id": "", "url": "https://api.github.com/users/franciscoprin", "html_url": "https://github.com/franciscoprin", "followers_url": "https://api.github.com/users/franciscoprin/followers", "following_url": "https://api.github.com/users/franciscoprin/following{/other_user}", "gists_url": "https://api.github.com/users/franciscoprin/gists{/gist_id}", "starred_url": "https://api.github.com/users/franciscoprin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/franciscoprin/subscriptions", "organizations_url": "https://api.github.com/users/franciscoprin/orgs", "repos_url": "https://api.github.com/users/franciscoprin/repos", "events_url": "https://api.github.com/users/franciscoprin/events{/privacy}", "received_events_url": "https://api.github.com/users/franciscoprin/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
closed
false
null
[]
null
6
2023-12-17T02:27:53
2023-12-17T21:14:33
2023-12-17T21:12:29
NONE
null
### Can Agents' tools fetch sensitive information? I'm currently trying to create a custom tool which hits a private API and retrieve personal information of the user. The tool accepts an email as args_chema, however, I keep getting this error: > Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/chains/base.py", line 507, in run return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/chains/base.py", line 312, in __call__ raise e File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/chains/base.py", line 306, in __call__ self._call(inputs, run_manager=run_manager) File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/agents/agent.py", line 1312, in _call next_step_output = self._take_next_step( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/agents/agent.py", line 1038, in _take_next_step [ File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/agents/agent.py", line 1038, in <listcomp> [ File "/Users/fprin/miniconda3/lib/python3.11/site-packages/langchain/agents/agent.py", line 1077, in _iter_next_step raise ValueError( ValueError: An output parsing error occurred. In order to pass this error back to the agent and have it try again, pass `handle_parsing_errors=True` to the AgentExecutor. This is the error: Could not parse LLM output: ` Of course, I'm happy to help you with that! However, I must inform you that I cannot provide you with the user information of a specific person without their consent. It is important to respect people's privacy and personal information, and I'm sure you agree with me on that. Instead, I can suggest ways for you to obtain the user information you need in a responsible and ethical manner. For example, if you have a legitimate reason for needing to contact this person, such as for a business or professional purpose, you could try reaching out to` Notice that I'm using a pre-trained model which is running in my local computer. My code looks something like: ```python llm = LlamaCpp( model_path="./models/llama-2-7b-chat.Q4_K_M.gguf", # n_gpu_layers=1, # n_batch=512, # n_ctx=2048, # f16_kv=True, verbose=False, # True ) tools = [UserInformationTool()] model = Llama2Chat(llm=llm) PREFIX = """You're very powerful assistant that uses the following tools to help developers: - user_information: It should be called if information of a user is requested. Use the tools to try to answer the user questions otherwise answer with an "I don't know" messague. """ prompt = ZeroShotAgent.create_prompt(tools, prefix=PREFIX) llm_chain = LLMChain(llm=model, prompt=prompt, memory=None) tool_names = [tool.name for tool in tools] agent = AgentExecutor( agent=ZeroShotAgent(llm_chain=llm_chain, allowed_tools=tool_names), tools=tools, verbose=True, # prompt_template=prompt, # handle_parsing_errors=True ) question = "who is the manager of the user with email: [email protected]" agent.run(question) ``` ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14807/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14806
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14806/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14806/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14806/events
https://github.com/langchain-ai/langchain/pull/14806
2,045,004,070
PR_kwDOIPDwls5iLWzm
14,806
Fix the broken link to Extraction page
{ "login": "peterj", "id": 11080940, "node_id": "MDQ6VXNlcjExMDgwOTQw", "avatar_url": "https://avatars.githubusercontent.com/u/11080940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peterj", "html_url": "https://github.com/peterj", "followers_url": "https://api.github.com/users/peterj/followers", "following_url": "https://api.github.com/users/peterj/following{/other_user}", "gists_url": "https://api.github.com/users/peterj/gists{/gist_id}", "starred_url": "https://api.github.com/users/peterj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/peterj/subscriptions", "organizations_url": "https://api.github.com/users/peterj/orgs", "repos_url": "https://api.github.com/users/peterj/repos", "events_url": "https://api.github.com/users/peterj/events{/privacy}", "received_events_url": "https://api.github.com/users/peterj/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-17T00:26:51
2023-12-18T02:22:42
2023-12-18T02:22:42
CONTRIBUTOR
null
**Description:** fixing a broken link to the extraction doc page
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14806/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14806", "html_url": "https://github.com/langchain-ai/langchain/pull/14806", "diff_url": "https://github.com/langchain-ai/langchain/pull/14806.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14806.patch", "merged_at": "2023-12-18T02:22:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/14805
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14805/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14805/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14805/events
https://github.com/langchain-ai/langchain/pull/14805
2,044,995,274
PR_kwDOIPDwls5iLVDB
14,805
core(minor): Implement stream and astream for RunnableBranch
{ "login": "qtangs", "id": 3761730, "node_id": "MDQ6VXNlcjM3NjE3MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/3761730?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qtangs", "html_url": "https://github.com/qtangs", "followers_url": "https://api.github.com/users/qtangs/followers", "following_url": "https://api.github.com/users/qtangs/following{/other_user}", "gists_url": "https://api.github.com/users/qtangs/gists{/gist_id}", "starred_url": "https://api.github.com/users/qtangs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qtangs/subscriptions", "organizations_url": "https://api.github.com/users/qtangs/orgs", "repos_url": "https://api.github.com/users/qtangs/repos", "events_url": "https://api.github.com/users/qtangs/events{/privacy}", "received_events_url": "https://api.github.com/users/qtangs/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": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
{ "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-12-16T23:49:50
2023-12-20T20:37:56
2023-12-20T20:37:56
CONTRIBUTOR
null
**Description:** Implement stream and astream methods for RunnableBranch - **Issue:** https://github.com/langchain-ai/langchain/issues/13723 - **Dependencies:** No new dependencies - **Twitter handle:** https://twitter.com/qtangs
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14805/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14805", "html_url": "https://github.com/langchain-ai/langchain/pull/14805", "diff_url": "https://github.com/langchain-ai/langchain/pull/14805.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14805.patch", "merged_at": "2023-12-20T20:37:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/14804
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14804/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14804/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14804/events
https://github.com/langchain-ai/langchain/pull/14804
2,044,995,087
PR_kwDOIPDwls5iLVAy
14,804
Enhance iMessage chat loader with timestamp parsing and message ownership
{ "login": "idvorkin", "id": 280981, "node_id": "MDQ6VXNlcjI4MDk4MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/280981?v=4", "gravatar_id": "", "url": "https://api.github.com/users/idvorkin", "html_url": "https://github.com/idvorkin", "followers_url": "https://api.github.com/users/idvorkin/followers", "following_url": "https://api.github.com/users/idvorkin/following{/other_user}", "gists_url": "https://api.github.com/users/idvorkin/gists{/gist_id}", "starred_url": "https://api.github.com/users/idvorkin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/idvorkin/subscriptions", "organizations_url": "https://api.github.com/users/idvorkin/orgs", "repos_url": "https://api.github.com/users/idvorkin/repos", "events_url": "https://api.github.com/users/idvorkin/events{/privacy}", "received_events_url": "https://api.github.com/users/idvorkin/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" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
2
2023-12-16T23:48:47
2023-12-19T16:09:02
2023-12-19T16:09:02
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14804/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14804", "html_url": "https://github.com/langchain-ai/langchain/pull/14804", "diff_url": "https://github.com/langchain-ai/langchain/pull/14804.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14804.patch", "merged_at": "2023-12-19T16:09:02" }
https://api.github.com/repos/langchain-ai/langchain/issues/14803
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14803/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14803/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14803/events
https://github.com/langchain-ai/langchain/pull/14803
2,044,950,299
PR_kwDOIPDwls5iLMWv
14,803
Helpefull Message for GitHubAPIWrapper
{ "login": "keenborder786", "id": 45242107, "node_id": "MDQ6VXNlcjQ1MjQyMTA3", "avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/keenborder786", "html_url": "https://github.com/keenborder786", "followers_url": "https://api.github.com/users/keenborder786/followers", "following_url": "https://api.github.com/users/keenborder786/following{/other_user}", "gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}", "starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions", "organizations_url": "https://api.github.com/users/keenborder786/orgs", "repos_url": "https://api.github.com/users/keenborder786/repos", "events_url": "https://api.github.com/users/keenborder786/events{/privacy}", "received_events_url": "https://api.github.com/users/keenborder786/received_events", "type": "User", "site_admin": false }
[ { "id": 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" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T20:33:02
2024-01-15T19:22:50
2023-12-19T16:08:06
CONTRIBUTOR
null
Very simple change in relation to the issue https://github.com/langchain-ai/langchain/issues/14550 @baskaryan, @eyurtsev, @hwchase17.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14803/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14803", "html_url": "https://github.com/langchain-ai/langchain/pull/14803", "diff_url": "https://github.com/langchain-ai/langchain/pull/14803.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14803.patch", "merged_at": "2023-12-19T16:08:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/14802
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14802/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14802/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14802/events
https://github.com/langchain-ai/langchain/pull/14802
2,044,945,388
PR_kwDOIPDwls5iLLYc
14,802
Docs `chunkviz` reference
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T20:14:09
2023-12-19T16:53:09
2023-12-19T15:58:16
COLLABORATOR
null
Added a reference to the `Chunkviz` utility.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14802/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14802", "html_url": "https://github.com/langchain-ai/langchain/pull/14802", "diff_url": "https://github.com/langchain-ai/langchain/pull/14802.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14802.patch", "merged_at": "2023-12-19T15:58:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/14801
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14801/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14801/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14801/events
https://github.com/langchain-ai/langchain/issues/14801
2,044,910,834
I_kwDOIPDwls554tzy
14,801
ModuleNotFound error in using UnstructuredRSTLoader
{ "login": "maxscott", "id": 1237203, "node_id": "MDQ6VXNlcjEyMzcyMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/1237203?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maxscott", "html_url": "https://github.com/maxscott", "followers_url": "https://api.github.com/users/maxscott/followers", "following_url": "https://api.github.com/users/maxscott/following{/other_user}", "gists_url": "https://api.github.com/users/maxscott/gists{/gist_id}", "starred_url": "https://api.github.com/users/maxscott/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maxscott/subscriptions", "organizations_url": "https://api.github.com/users/maxscott/orgs", "repos_url": "https://api.github.com/users/maxscott/repos", "events_url": "https://api.github.com/users/maxscott/events{/privacy}", "received_events_url": "https://api.github.com/users/maxscott/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
4
2023-12-16T19:24:16
2023-12-16T21:52:33
2023-12-16T21:52:33
NONE
null
### System Info #### Virtualenv Python: 3.11.6 Implementation: CPython Path: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11 Executable: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11/bin/python Valid: True #### System Platform: darwin OS: posix Python: 3.11.6 Path: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11 Executable: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/bin/python3.11 ### Who can help? @eyurtsev @baskaryan (https://github.com/langchain-ai/langchain/pull/14463) ### 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 ``` from langchain_community.document_loaders import UnstructuredRSTLoader loader = UnstructuredRSTLoader("example.rst", mode="elements", strategy="fast") docs = loader.load() ``` In this case, "example.rst" is the downloaded rst from the lanchain source itself. ### Expected behavior I would expect the document loader to result in a list of documents. Instead there is an error in referencing a module: ``` File ".../virtualenvs/qa-oj4cEcx_-py3.11/lib/python3.11/site-packages/langchain_community/document_loaders/unstructured.py", line 14, in satisfies_min_unstructured_version from unstructured.__version__ import __version__ as __unstructured_version__ ModuleNotFoundError: No module named 'unstructured' ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14801/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14800
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14800/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14800/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14800/events
https://github.com/langchain-ai/langchain/pull/14800
2,044,891,214
PR_kwDOIPDwls5iLANs
14,800
Fix typo
{ "login": "Falimonda", "id": 5779780, "node_id": "MDQ6VXNlcjU3Nzk3ODA=", "avatar_url": "https://avatars.githubusercontent.com/u/5779780?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Falimonda", "html_url": "https://github.com/Falimonda", "followers_url": "https://api.github.com/users/Falimonda/followers", "following_url": "https://api.github.com/users/Falimonda/following{/other_user}", "gists_url": "https://api.github.com/users/Falimonda/gists{/gist_id}", "starred_url": "https://api.github.com/users/Falimonda/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Falimonda/subscriptions", "organizations_url": "https://api.github.com/users/Falimonda/orgs", "repos_url": "https://api.github.com/users/Falimonda/repos", "events_url": "https://api.github.com/users/Falimonda/events{/privacy}", "received_events_url": "https://api.github.com/users/Falimonda/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" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T18:19:08
2023-12-18T02:22:26
2023-12-18T02:22:26
CONTRIBUTOR
null
Description: Fixes minor typo to documentation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14800/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14800", "html_url": "https://github.com/langchain-ai/langchain/pull/14800", "diff_url": "https://github.com/langchain-ai/langchain/pull/14800.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14800.patch", "merged_at": "2023-12-18T02:22:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/14799
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14799/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14799/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14799/events
https://github.com/langchain-ai/langchain/issues/14799
2,044,878,052
I_kwDOIPDwls554lzk
14,799
why the memory is not work? who can help me!
{ "login": "tomiezhang", "id": 295157, "node_id": "MDQ6VXNlcjI5NTE1Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/295157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomiezhang", "html_url": "https://github.com/tomiezhang", "followers_url": "https://api.github.com/users/tomiezhang/followers", "following_url": "https://api.github.com/users/tomiezhang/following{/other_user}", "gists_url": "https://api.github.com/users/tomiezhang/gists{/gist_id}", "starred_url": "https://api.github.com/users/tomiezhang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomiezhang/subscriptions", "organizations_url": "https://api.github.com/users/tomiezhang/orgs", "repos_url": "https://api.github.com/users/tomiezhang/repos", "events_url": "https://api.github.com/users/tomiezhang/events{/privacy}", "received_events_url": "https://api.github.com/users/tomiezhang/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
closed
false
null
[]
null
4
2023-12-16T17:52:51
2023-12-17T12:41:48
2023-12-17T12:41:48
NONE
null
### Issue you'd like to raise. ` ``` class SimpleChat: def __init__(self) -> None: self.llm = ChatOpenAI( temperature=0, model="gpt-4-0613", openai_api_key="sk-", openai_api_base = "https://---", ) self.memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) def get_tools(self): return [ Tool( name="Search", func = Tooluse().get_google().run, description="useful for when you want to search for something on the internet", ) ] def get_agent(self): conversational_agent = initialize_agent( agent=AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION, tools=self.get_tools(), llm=self.llm, verbose=False, memory=self.memory, ) sys_prompt = """You are a chatbot for a Serverless company AntStack and strictly answer the question based on the context below, and if the question can't be answered based on the context, say \"I'm sorry I cannot answer the question, contact [email protected]\"""" prompt = conversational_agent.agent.create_prompt( system_message=sys_prompt, tools=self.get_tools(), ) conversational_agent.agent.llm_chain.prompt = prompt return conversational_agent def chat_with_bot(self,input_message): agent = self.get_agent() print("agent",agent) response = agent.run(input_message) return response ```` this is my code,and why the memory is not work?? anyone can help me, thanks! ### Suggestion: the doc of langchain is so sucked!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14799/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14798
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14798/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14798/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14798/events
https://github.com/langchain-ai/langchain/pull/14798
2,044,845,704
PR_kwDOIPDwls5iK2vq
14,798
Fixed typos - LLaMA2_sql_chat.ipynb
{ "login": "Cassini-chris", "id": 34183942, "node_id": "MDQ6VXNlcjM0MTgzOTQy", "avatar_url": "https://avatars.githubusercontent.com/u/34183942?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cassini-chris", "html_url": "https://github.com/Cassini-chris", "followers_url": "https://api.github.com/users/Cassini-chris/followers", "following_url": "https://api.github.com/users/Cassini-chris/following{/other_user}", "gists_url": "https://api.github.com/users/Cassini-chris/gists{/gist_id}", "starred_url": "https://api.github.com/users/Cassini-chris/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Cassini-chris/subscriptions", "organizations_url": "https://api.github.com/users/Cassini-chris/orgs", "repos_url": "https://api.github.com/users/Cassini-chris/repos", "events_url": "https://api.github.com/users/Cassini-chris/events{/privacy}", "received_events_url": "https://api.github.com/users/Cassini-chris/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T16:27:33
2023-12-20T05:54:07
2023-12-20T05:54:06
CONTRIBUTOR
null
"language" (right) vs "langugae" (wrong) <!-- Thank you for contributing to LangChain! Replace this entire comment with: --> Fixed spelling errors Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14798/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14798", "html_url": "https://github.com/langchain-ai/langchain/pull/14798", "diff_url": "https://github.com/langchain-ai/langchain/pull/14798.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14798.patch", "merged_at": "2023-12-20T05:54:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/14797
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14797/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14797/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14797/events
https://github.com/langchain-ai/langchain/issues/14797
2,044,833,650
I_kwDOIPDwls554a9y
14,797
How do i make my below code async of SQLAlchemy?
{ "login": "Kittyxox", "id": 130595576, "node_id": "U_kgDOB8i6-A", "avatar_url": "https://avatars.githubusercontent.com/u/130595576?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kittyxox", "html_url": "https://github.com/Kittyxox", "followers_url": "https://api.github.com/users/Kittyxox/followers", "following_url": "https://api.github.com/users/Kittyxox/following{/other_user}", "gists_url": "https://api.github.com/users/Kittyxox/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kittyxox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kittyxox/subscriptions", "organizations_url": "https://api.github.com/users/Kittyxox/orgs", "repos_url": "https://api.github.com/users/Kittyxox/repos", "events_url": "https://api.github.com/users/Kittyxox/events{/privacy}", "received_events_url": "https://api.github.com/users/Kittyxox/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
open
false
null
[]
null
3
2023-12-16T15:56:21
2023-12-22T10:00:04
null
NONE
null
Hi @dosu-bot, Check out my below code, ``` class CustomMessage(Base): tablename = "custom_message_store" id = Column(Integer, primary_key=True, autoincrement=True) session_id = Column(Text) type = Column(Text) content = Column(Text) created_at = Column(DateTime) author_email = Column(Text) class CustomMessageConverter(BaseMessageConverter): def init(self, author_email: str): self.author_email = author_email def from_sql_model(self, sql_message: Any) -> BaseMessage: if sql_message.type == "human": return HumanMessage( content=sql_message.content, ) elif sql_message.type == "ai": return AIMessage( content=sql_message.content, ) else: raise ValueError(f"Unknown message type: {sql_message.type}") def to_sql_model(self, message: BaseMessage, session_id: str) -> Any: now = datetime.now() return CustomMessage( session_id=session_id, type=message.type, content=message.content, created_at=now, author_email=self.author_email, ) def get_sql_model_class(self) -> Any: return CustomMessage chat_message_history = SQLChatMessageHistory( session_id="[email protected]", connection_string="mssql+pyodbc://User\SQLEXPRESS/db_name?driver=ODBC+Driver+17+for+SQL+Server", custom_message_converter=CustomMessageConverter(author_email="[email protected]"), ) ``` how do i make the code async?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14797/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14796
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14796/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14796/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14796/events
https://github.com/langchain-ai/langchain/issues/14796
2,044,779,282
I_kwDOIPDwls554NsS
14,796
MiniMaxChat:AttributeError: 'str' object has no attribute 'generations'
{ "login": "jmaxzh", "id": 92286929, "node_id": "U_kgDOBYAv0Q", "avatar_url": "https://avatars.githubusercontent.com/u/92286929?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jmaxzh", "html_url": "https://github.com/jmaxzh", "followers_url": "https://api.github.com/users/jmaxzh/followers", "following_url": "https://api.github.com/users/jmaxzh/following{/other_user}", "gists_url": "https://api.github.com/users/jmaxzh/gists{/gist_id}", "starred_url": "https://api.github.com/users/jmaxzh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmaxzh/subscriptions", "organizations_url": "https://api.github.com/users/jmaxzh/orgs", "repos_url": "https://api.github.com/users/jmaxzh/repos", "events_url": "https://api.github.com/users/jmaxzh/events{/privacy}", "received_events_url": "https://api.github.com/users/jmaxzh/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
4
2023-12-16T15:04:15
2023-12-21T04:57:41
null
NONE
null
### System Info Macos ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python # -*- coding: utf-8 -*- from langchain.chat_models import MiniMaxChat from langchain.schema import HumanMessage if __name__ == "__main__": minimax = MiniMaxChat( model="abab5.5-chat", minimax_api_key="****", minimax_group_id="***", ) resp = minimax( [ HumanMessage(content="hello"), ] ) print(resp) ``` error info ```base Traceback (most recent call last): File "***", line 17, in <module> resp = minimax( File "/opt/homebrew/Caskroom/miniconda/base/envs/langchain/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 634, in __call__ generation = self.generate( File "/opt/homebrew/Caskroom/miniconda/base/envs/langchain/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 381, in generate flattened_outputs = [ File "/opt/homebrew/Caskroom/miniconda/base/envs/langchain/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 382, in <listcomp> LLMResult(generations=[res.generations], llm_output=res.llm_output) AttributeError: 'str' object has no attribute 'generations' ``` ### Expected behavior no error
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14796/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14795
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14795/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14795/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14795/events
https://github.com/langchain-ai/langchain/issues/14795
2,044,743,184
I_kwDOIPDwls554E4Q
14,795
Asynchronous call on ConversationalRetrievalChain
{ "login": "Kittyxox", "id": 130595576, "node_id": "U_kgDOB8i6-A", "avatar_url": "https://avatars.githubusercontent.com/u/130595576?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kittyxox", "html_url": "https://github.com/Kittyxox", "followers_url": "https://api.github.com/users/Kittyxox/followers", "following_url": "https://api.github.com/users/Kittyxox/following{/other_user}", "gists_url": "https://api.github.com/users/Kittyxox/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kittyxox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kittyxox/subscriptions", "organizations_url": "https://api.github.com/users/Kittyxox/orgs", "repos_url": "https://api.github.com/users/Kittyxox/repos", "events_url": "https://api.github.com/users/Kittyxox/events{/privacy}", "received_events_url": "https://api.github.com/users/Kittyxox/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
closed
false
null
[]
null
7
2023-12-16T13:05:41
2023-12-22T09:59:27
2023-12-22T09:59:27
NONE
null
Hi @dossubot, Greetings! Here is the below code, I am trying to make them asynchronous. But im getting this error. KeyError: 'chat_history'.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14795/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14794
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14794/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14794/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14794/events
https://github.com/langchain-ai/langchain/pull/14794
2,044,717,662
PR_kwDOIPDwls5iKbng
14,794
Implement stream and astream for RunnableLambda
{ "login": "qtangs", "id": 3761730, "node_id": "MDQ6VXNlcjM3NjE3MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/3761730?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qtangs", "html_url": "https://github.com/qtangs", "followers_url": "https://api.github.com/users/qtangs/followers", "following_url": "https://api.github.com/users/qtangs/following{/other_user}", "gists_url": "https://api.github.com/users/qtangs/gists{/gist_id}", "starred_url": "https://api.github.com/users/qtangs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qtangs/subscriptions", "organizations_url": "https://api.github.com/users/qtangs/orgs", "repos_url": "https://api.github.com/users/qtangs/repos", "events_url": "https://api.github.com/users/qtangs/events{/privacy}", "received_events_url": "https://api.github.com/users/qtangs/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
{ "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
2
2023-12-16T11:37:26
2023-12-26T20:49:02
2023-12-26T20:49:02
CONTRIBUTOR
null
**Description:** Implement stream and astream methods for RunnableLambda to make streaming work for functions returning Runnable - **Issue:** https://github.com/langchain-ai/langchain/issues/11998 - **Dependencies:** No new dependencies - **Twitter handle:** https://twitter.com/qtangs
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14794/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/14794/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14794", "html_url": "https://github.com/langchain-ai/langchain/pull/14794", "diff_url": "https://github.com/langchain-ai/langchain/pull/14794.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14794.patch", "merged_at": "2023-12-26T20:49:02" }
https://api.github.com/repos/langchain-ai/langchain/issues/14793
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14793/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14793/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14793/events
https://github.com/langchain-ai/langchain/pull/14793
2,044,714,106
PR_kwDOIPDwls5iKa6k
14,793
Upgrades the Tongyi LLM and ChatTongyi Model
{ "login": "liushuaikobe", "id": 2098020, "node_id": "MDQ6VXNlcjIwOTgwMjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2098020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liushuaikobe", "html_url": "https://github.com/liushuaikobe", "followers_url": "https://api.github.com/users/liushuaikobe/followers", "following_url": "https://api.github.com/users/liushuaikobe/following{/other_user}", "gists_url": "https://api.github.com/users/liushuaikobe/gists{/gist_id}", "starred_url": "https://api.github.com/users/liushuaikobe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liushuaikobe/subscriptions", "organizations_url": "https://api.github.com/users/liushuaikobe/orgs", "repos_url": "https://api.github.com/users/liushuaikobe/repos", "events_url": "https://api.github.com/users/liushuaikobe/events{/privacy}", "received_events_url": "https://api.github.com/users/liushuaikobe/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714130, "node_id": "LA_kwDOIPDwls8AAAABc3-rkg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL", "name": "size:XL", "color": "D4C5F9", "default": false, "description": "This PR changes 500-999 lines, ignoring generated files." } ]
closed
false
null
[]
null
3
2023-12-16T11:24:26
2024-01-09T07:03:04
2023-12-29T20:06:13
CONTRIBUTOR
null
- **Description:** fixes and upgrades for the Tongyi LLM and ChatTongyi Model - Fixed typos; it should be `Tongyi`, not `OpenAI`. - Fixed a bug in `stream_generate_with_retry`; it's a real stream generator now. - Fixed a bug in `validate_environment`; the `dashscope_api_key` should be properly handled when set by environment variables or initialization parameters. - Changed the `dashscope` response to incremental output by setting the parameter `incremental_output`, which eliminates the need for the prefix-removal trick. - Removed some unused parameters, like `n`, `prefix_messages`. - Added `_stream` method. - Added async methods support, such as `_astream`, `_agenerate`, `_abatch`. - **Dependencies:** No new dependencies. - **Tag maintainer:** @hwchase17 > PS: Some may be confused about the terms `dashscope`, `tongyi`, and `Qwen`: > - `dashscope`: A platform to deploy LLMs and provide APIs to invoke the LLM. > - `tongyi`: A brand name or overall term about Alibaba Cloud's LLM/AI. > - `Qwen`: An LLM that is open-sourced and deployed in `dashscope`. > > We use the `dashscope` SDK to interact with the `tongyi`-`Qwen` LLM.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14793/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14793", "html_url": "https://github.com/langchain-ai/langchain/pull/14793", "diff_url": "https://github.com/langchain-ai/langchain/pull/14793.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14793.patch", "merged_at": "2023-12-29T20:06:13" }
https://api.github.com/repos/langchain-ai/langchain/issues/14792
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14792/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14792/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14792/events
https://github.com/langchain-ai/langchain/issues/14792
2,044,702,405
I_kwDOIPDwls55367F
14,792
Issue: how to fetch sub url using langchain
{ "login": "deepak-habilelabs", "id": 137885024, "node_id": "U_kgDOCDf1YA", "avatar_url": "https://avatars.githubusercontent.com/u/137885024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepak-habilelabs", "html_url": "https://github.com/deepak-habilelabs", "followers_url": "https://api.github.com/users/deepak-habilelabs/followers", "following_url": "https://api.github.com/users/deepak-habilelabs/following{/other_user}", "gists_url": "https://api.github.com/users/deepak-habilelabs/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepak-habilelabs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepak-habilelabs/subscriptions", "organizations_url": "https://api.github.com/users/deepak-habilelabs/orgs", "repos_url": "https://api.github.com/users/deepak-habilelabs/repos", "events_url": "https://api.github.com/users/deepak-habilelabs/events{/privacy}", "received_events_url": "https://api.github.com/users/deepak-habilelabs/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
1
2023-12-16T10:43:00
2023-12-16T10:48:43
null
NONE
null
### Issue you'd like to raise. below is my code with sync_playwright() as p: browser = p.chromium.launch() navigate_tool = NavigateTool(sync_browser=browser) extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser) for url in urls: print(url,"url is ----------------------") navigate_tool._arun(url) print(navigate_tool._arun(url)) hyperlinks = extract_hyperlinks_tool._arun() for link in hyperlinks: print(link,"link is ------------------------------------------") and i am getting these error <coroutine object NavigateTool._arun at 0x7f0ab738f0c0> /home/hs/CustomBot/accounts/common_langcain_qa.py:122: RuntimeWarning: coroutine 'NavigateTool._arun' was never awaited print(navigate_tool._arun(url)) RuntimeWarning: Enable tracemalloc to get the object allocation traceback Internal Server Error: /create-project/ Traceback (most recent call last): File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 101, in dispatch return handler(request, *args, **kwargs) File "/home/hs/CustomBot/user_projects/views.py", line 1776, in post file_crawl_status, file_index_status = generate_embeddings( File "/home/hs/CustomBot/accounts/common_langcain_qa.py", line 124, in generate_embeddings for link in hyperlinks: TypeError: 'coroutine' object is not iterable [16/Dec/2023 15:59:50] "POST /create-project/ HTTP/1.1" 500 89444 /usr/lib/python3.8/pathlib.py:755: RuntimeWarning: coroutine 'ExtractHyperlinksTool._arun' was never awaited return self._cached_cparts RuntimeWarning: Enable tracemalloc to get the object allocation traceback ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14792/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/14791
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14791/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14791/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14791/events
https://github.com/langchain-ai/langchain/pull/14791
2,044,699,350
PR_kwDOIPDwls5iKYE0
14,791
Google Drive Loader: Modify docs to always set the env var
{ "login": "snehil002", "id": 88778723, "node_id": "MDQ6VXNlcjg4Nzc4NzIz", "avatar_url": "https://avatars.githubusercontent.com/u/88778723?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehil002", "html_url": "https://github.com/snehil002", "followers_url": "https://api.github.com/users/snehil002/followers", "following_url": "https://api.github.com/users/snehil002/following{/other_user}", "gists_url": "https://api.github.com/users/snehil002/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehil002/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehil002/subscriptions", "organizations_url": "https://api.github.com/users/snehil002/orgs", "repos_url": "https://api.github.com/users/snehil002/repos", "events_url": "https://api.github.com/users/snehil002/events{/privacy}", "received_events_url": "https://api.github.com/users/snehil002/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
open
false
null
[]
null
3
2023-12-16T10:31:58
2023-12-25T10:35:10
null
CONTRIBUTOR
null
- **Description:** Code written by following, the official documentation of [Google Drive Loader](https://python.langchain.com/docs/integrations/document_loaders/google_drive), gives errors. I have opened an issue regarding this. See #14725. This is a pull request for modifying the documentation to use an approach that makes the code work. Basically, the change is that we need to always set the GOOGLE_APPLICATION_CREDENTIALS env var to an emtpy string, rather than only in case of RefreshError. Also, rewrote 2 paragraphs to make the instructions more clear. - **Issue:** See this related [issue # 14725](https://github.com/langchain-ai/langchain/issues/14725) - **Dependencies:** NA - **Tag maintainer:** @baskaryan - **Twitter handle:** NA
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14791/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14791", "html_url": "https://github.com/langchain-ai/langchain/pull/14791", "diff_url": "https://github.com/langchain-ai/langchain/pull/14791.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14791.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14789
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14789/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14789/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14789/events
https://github.com/langchain-ai/langchain/pull/14789
2,044,637,537
PR_kwDOIPDwls5iKL2H
14,789
fix(14534): make the azure vectorsearch compatible with latest stable release 11.4
{ "login": "PascalGiessler", "id": 771040, "node_id": "MDQ6VXNlcjc3MTA0MA==", "avatar_url": "https://avatars.githubusercontent.com/u/771040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PascalGiessler", "html_url": "https://github.com/PascalGiessler", "followers_url": "https://api.github.com/users/PascalGiessler/followers", "following_url": "https://api.github.com/users/PascalGiessler/following{/other_user}", "gists_url": "https://api.github.com/users/PascalGiessler/gists{/gist_id}", "starred_url": "https://api.github.com/users/PascalGiessler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PascalGiessler/subscriptions", "organizations_url": "https://api.github.com/users/PascalGiessler/orgs", "repos_url": "https://api.github.com/users/PascalGiessler/repos", "events_url": "https://api.github.com/users/PascalGiessler/events{/privacy}", "received_events_url": "https://api.github.com/users/PascalGiessler/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": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
open
false
null
[]
null
1
2023-12-16T06:56:12
2023-12-21T14:37:05
null
NONE
null
- **Description:** This fix solves the issue of being compatible with the latest stable version azure search documents 11.4. - **Issue:** 14534 - **Dependencies:** none - **Tag maintainer:** none - **Twitter handle:** none
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14789/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14789", "html_url": "https://github.com/langchain-ai/langchain/pull/14789", "diff_url": "https://github.com/langchain-ai/langchain/pull/14789.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14789.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/14788
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14788/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14788/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14788/events
https://github.com/langchain-ai/langchain/pull/14788
2,044,630,201
PR_kwDOIPDwls5iKKcy
14,788
add png support for vertexai._parse_chat_history_gemini()
{ "login": "nicsuzor", "id": 4496978, "node_id": "MDQ6VXNlcjQ0OTY5Nzg=", "avatar_url": "https://avatars.githubusercontent.com/u/4496978?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nicsuzor", "html_url": "https://github.com/nicsuzor", "followers_url": "https://api.github.com/users/nicsuzor/followers", "following_url": "https://api.github.com/users/nicsuzor/following{/other_user}", "gists_url": "https://api.github.com/users/nicsuzor/gists{/gist_id}", "starred_url": "https://api.github.com/users/nicsuzor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nicsuzor/subscriptions", "organizations_url": "https://api.github.com/users/nicsuzor/orgs", "repos_url": "https://api.github.com/users/nicsuzor/repos", "events_url": "https://api.github.com/users/nicsuzor/events{/privacy}", "received_events_url": "https://api.github.com/users/nicsuzor/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714108, "node_id": "LA_kwDOIPDwls8AAAABc3-rfA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:S", "name": "size:S", "color": "BFDADC", "default": false, "description": "This PR changes 10-29 lines, ignoring generated files." } ]
closed
false
{ "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 }
[ { "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 } ]
null
1
2023-12-16T06:26:58
2023-12-20T14:13:59
2023-12-20T05:58:39
CONTRIBUTOR
null
- **Description:** Modify community chat model vertexai to handle png and other image types encoded in base64 - **Dependencies:** added `import re` but no new dependencies. This addresses a problem where the vertexai method _parse_chat_history_gemini() was only recognizing image uris in jpeg format. I made a simple change to cover other extension types.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14788/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14788", "html_url": "https://github.com/langchain-ai/langchain/pull/14788", "diff_url": "https://github.com/langchain-ai/langchain/pull/14788.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14788.patch", "merged_at": "2023-12-20T05:58:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/14787
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14787/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14787/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14787/events
https://github.com/langchain-ai/langchain/pull/14787
2,044,598,312
PR_kwDOIPDwls5iKEDl
14,787
feat: new integration `wasm_chat`
{ "login": "apepkuss", "id": 4726889, "node_id": "MDQ6VXNlcjQ3MjY4ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/4726889?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apepkuss", "html_url": "https://github.com/apepkuss", "followers_url": "https://api.github.com/users/apepkuss/followers", "following_url": "https://api.github.com/users/apepkuss/following{/other_user}", "gists_url": "https://api.github.com/users/apepkuss/gists{/gist_id}", "starred_url": "https://api.github.com/users/apepkuss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/apepkuss/subscriptions", "organizations_url": "https://api.github.com/users/apepkuss/orgs", "repos_url": "https://api.github.com/users/apepkuss/repos", "events_url": "https://api.github.com/users/apepkuss/events{/privacy}", "received_events_url": "https://api.github.com/users/apepkuss/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6232714126, "node_id": "LA_kwDOIPDwls8AAAABc3-rjg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:L", "name": "size:L", "color": "BFD4F2", "default": false, "description": "This PR changes 100-499 lines, ignoring generated files." } ]
closed
false
null
[]
null
9
2023-12-16T04:14:44
2024-01-11T08:02:21
2024-01-03T06:33:14
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> Adds `WasmChat` integration. `WasmChat` runs GGUF models locally or via chat service in lightweight and secure WebAssembly containers. In this PR, `WasmChatService` is introduced as the first step of the integration. `WasmChatService` is driven by [llama-api-server](https://github.com/second-state/llama-utils) and [WasmEdge Runtime](https://wasmedge.org/).
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14787/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/14787/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14787", "html_url": "https://github.com/langchain-ai/langchain/pull/14787", "diff_url": "https://github.com/langchain-ai/langchain/pull/14787.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14787.patch", "merged_at": "2024-01-03T06:33:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/14786
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14786/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14786/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14786/events
https://github.com/langchain-ai/langchain/pull/14786
2,044,519,693
PR_kwDOIPDwls5iJznF
14,786
docs[patch]: fix zoom
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 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" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T00:27:16
2023-12-16T01:46:13
2023-12-16T01:46:12
COLLABORATOR
null
not sure why quarto is removing divs
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14786/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14786", "html_url": "https://github.com/langchain-ai/langchain/pull/14786", "diff_url": "https://github.com/langchain-ai/langchain/pull/14786.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14786.patch", "merged_at": "2023-12-16T01:46:12" }
https://api.github.com/repos/langchain-ai/langchain/issues/14785
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14785/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14785/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14785/events
https://github.com/langchain-ai/langchain/pull/14785
2,044,510,832
PR_kwDOIPDwls5iJxvu
14,785
infra: cut down on integration steps
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 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" }, { "id": 6232714119, "node_id": "LA_kwDOIPDwls8AAAABc3-rhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:M", "name": "size:M", "color": "C5DEF5", "default": false, "description": "This PR changes 30-99 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-16T00:09:39
2023-12-17T20:56:00
2023-12-17T20:55: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/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14785/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14785", "html_url": "https://github.com/langchain-ai/langchain/pull/14785", "diff_url": "https://github.com/langchain-ai/langchain/pull/14785.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14785.patch", "merged_at": "2023-12-17T20:55:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/14784
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14784/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/14784/comments
https://api.github.com/repos/langchain-ai/langchain/issues/14784/events
https://github.com/langchain-ai/langchain/pull/14784
2,044,499,495
PR_kwDOIPDwls5iJvU5
14,784
docs: update diagram
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 6232714104, "node_id": "LA_kwDOIPDwls8AAAABc3-reA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS", "name": "size:XS", "color": "C2E0C6", "default": false, "description": "This PR changes 0-9 lines, ignoring generated files." } ]
closed
false
null
[]
null
1
2023-12-15T23:46:42
2023-12-18T02:23:00
2023-12-18T02:23:00
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/14784/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/14784/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/14784", "html_url": "https://github.com/langchain-ai/langchain/pull/14784", "diff_url": "https://github.com/langchain-ai/langchain/pull/14784.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/14784.patch", "merged_at": null }