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/12700
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12700/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12700/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12700/events
https://github.com/langchain-ai/langchain/issues/12700
1,971,998,242
I_kwDOIPDwls51ik4i
12,700
UnstructuredFileLoader does not work so I am using UnstructuredFileIOLoader
{ "login": "ZahraBoroujeni", "id": 5347462, "node_id": "MDQ6VXNlcjUzNDc0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/5347462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZahraBoroujeni", "html_url": "https://github.com/ZahraBoroujeni", "followers_url": "https://api.github.com/users/ZahraBoroujeni/followers", "following_url": "https://api.github.com/users/ZahraBoroujeni/following{/other_user}", "gists_url": "https://api.github.com/users/ZahraBoroujeni/gists{/gist_id}", "starred_url": "https://api.github.com/users/ZahraBoroujeni/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZahraBoroujeni/subscriptions", "organizations_url": "https://api.github.com/users/ZahraBoroujeni/orgs", "repos_url": "https://api.github.com/users/ZahraBoroujeni/repos", "events_url": "https://api.github.com/users/ZahraBoroujeni/events{/privacy}", "received_events_url": "https://api.github.com/users/ZahraBoroujeni/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
1
2023-11-01T09:18:50
2023-11-01T09:30:23
null
NONE
null
### System Info Langchain version 0.0.327, WSL ubuntu 22, python version 3.10.3 As you can see in the code below the UnstructuredFileLoader does not work and can not load the file. ``` from langchain.document_loaders import UnstructuredFileLoader from langchain.document_loaders import UnstructuredFileIOLoader # UnstructuredFileLoader does not work so I am using UnstructuredFileIOLoader loader = UnstructuredFileLoader('data/scenario/xodr/common_junction_creator.xodr',mode="single", strategy="fast") documents_xml = loader.load() # print(documents_xml) print(f"Number of documents={len(documents_xml)}") with open("data/scenario/xodr/road_with_custom_roadmarkers.xodr", "rb") as f: loader = UnstructuredFileIOLoader( f, mode="single", strategy="fast", ) docs = loader.load() print(docs) print(f"Number of documents={len(docs)}") ``` Output: **[Document(page_content='', metadata={'source': 'data/scenario/xodr/common_junction_creator.xodr'})] Number of documents=1** [Document(page_content='<OpenDRIVE>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<header name="road with custom lanes" revMajor="1" revMinor="5" date="2023-10-24 13:01:55.839866" north="0.0" south="0.0" east="0.0" west="0.0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'f2bcadaa39170fe65d413bbd3b2dc2bb', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<road rule="RHT" id="0" junction="-1" length="300">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<planView>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<geometry s="0" x="0" y="0" hdg="0" length="300">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'db34f8689a2ee8ac79294c4b6daccc9b', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<line/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</geometry>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</planView>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<elevationProfile/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lateralProfile/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lanes>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<laneSection s="0">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'aa1aca19f288f19fc4ea835d72dff88e', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<lane id="1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'aa1aca19f288f19fc4ea835d72dff88e', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="0" type="none" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<roadMark sOffset="0" type="solid solid" weight="standard" color="standard" height="0.02">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<type name="solid solid" width="None">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<line length="0" space="0" tOffset="0.2" width="0.2" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<line length="0" space="0" tOffset="-0.2" width="0.2" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</type>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</roadMark>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="-1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '1b93bbf1878690ead63ce7f1619e042e', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</laneSection>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<laneSection s="100">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'b3712cf5f4c02aadc160326bedfe5ba6', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<lane id="1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': 'b3712cf5f4c02aadc160326bedfe5ba6', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="0" type="none" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<roadMark sOffset="0" type="solid broken" weight="standard" color="standard" height="0.02">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<type name="solid broken" width="None">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<line length="0" space="0" tOffset="0.2" width="0.2" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<line length="3" space="3" tOffset="-0.2" width="0.2" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</type>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</roadMark>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="-1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '1b93bbf1878690ead63ce7f1619e042e', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</laneSection>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<laneSection s="200">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '970aed3aa631e4aac64ea6da5ec910ad', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<lane id="1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '970aed3aa631e4aac64ea6da5ec910ad', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</left>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="0" type="none" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<roadMark sOffset="0" type="broken broken" weight="standard" color="standard" height="0.02">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '17412d8e1360a85c15cb6702ea423aa4', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<type name="broken broken" width="None">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '17412d8e1360a85c15cb6702ea423aa4', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<line length="9" space="3" tOffset="0.2" width="0.2" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<line length="3" space="9" tOffset="-0.2" width="0.2" sOffset="3"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</type>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</roadMark>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</center>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<lane id="-1" type="driving" level="false">', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '1b93bbf1878690ead63ce7f1619e042e', 'languages': ['eng'], 'category': 'NarrativeText'}), Document(page_content='<link/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='<width a="4" b="0" c="0" d="0" sOffset="0"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'parent_id': '9e49db703ffb69458886d0d4db951017', 'languages': ['eng'], 'category': 'UncategorizedText'}), Document(page_content='<roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lane>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</right>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</laneSection>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</lanes>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</road>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'}), Document(page_content='</OpenDRIVE>', metadata={'last_modified': '2023-10-30T08:42:44', 'filetype': 'text/plain', 'languages': ['eng'], 'category': 'Title'})] Number of documents=93 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction 1. run the python code for an openDrive file (.xodr) file. ``` <?xml version="1.0" encoding="UTF-8"?> <OpenDRIVE> <header name="my_road" revMajor="1" revMinor="5" date="2023-10-24 12:47:51.670385" north="0.0" south="0.0" east="0.0" west="0.0"/> <road rule="RHT" id="1" junction="-1" length="100"> <link> <successor elementType="junction" elementId="100"/> </link> <planView> <geometry s="0" x="0" y="0" hdg="0" length="100"> <line/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="2" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> <right> <lane id="-1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="-2" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </right> </laneSection> </lanes> </road> <road rule="RHT" id="2" junction="-1" length="100"> <link> <predecessor elementType="junction" elementId="100"/> </link> <planView> <geometry s="0" x="149.99999999999957" y="50.000000000000895" hdg="1.5706573464102072" length="100"> <line/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> <right> <lane id="-1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </right> </laneSection> </lanes> </road> <road rule="RHT" id="3" junction="-1" length="100"> <link> <predecessor elementType="junction" elementId="100"/> </link> <planView> <geometry s="0" x="200.0" y="0.0" hdg="9.26535897924907e-05" length="100"> <line/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="2" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> <right> <lane id="-1" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="-2" type="driving" level="false"> <link/> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </right> </laneSection> </lanes> </road> <road rule="RHT" id="100" junction="100" length="100.00000012397831"> <link> <predecessor elementType="road" elementId="1" contactPoint="end"/> <successor elementType="road" elementId="3" contactPoint="start"/> </link> <planView> <geometry s="0" x="100.0" y="0.0" hdg="0" length="33.33333335241042"> <spiral curvStart="1e-09" curvEnd="-2.7801076883213167e-06"/> </geometry> <geometry s="33.33333335241042" x="133.33333334526168" y="-0.0005144643872362006" hdg="-4.6318461498530586e-05" length="33.33333341915747"> <spiral curvStart="-2.780107688321317e-06" curvEnd="5.558715377723275e-06"/> </geometry> <geometry s="66.66666677156789" x="166.66666672388249" y="-0.0020586908846665537" hdg="-8.333222595482807e-09" length="33.33333335241042"> <spiral curvStart="5.5587153777232755e-06" curvEnd="9.999999999996516e-10"/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="2" type="driving" level="false"> <link> <predecessor id="2"/> <successor id="2"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="1" type="driving" level="false"> <link> <predecessor id="1"/> <successor id="1"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> <right> <lane id="-1" type="driving" level="false"> <link> <predecessor id="-1"/> <successor id="-1"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="broken" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> <lane id="-2" type="driving" level="false"> <link> <predecessor id="-2"/> <successor id="-2"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </right> </laneSection> </lanes> </road> <road rule="RHT" id="101" junction="100" length="80.57849294213008"> <link> <predecessor elementType="road" elementId="1" contactPoint="end"/> <successor elementType="road" elementId="2" contactPoint="start"/> </link> <planView> <geometry s="0" x="100.0" y="3.0" hdg="0" length="25.406829175061056"> <spiral curvStart="1e-09" curvEnd="0.02541075466216959"/> </geometry> <geometry s="25.406829175061056" x="125.14335899689604" y="5.713523057106356" hdg="0.32280336415897914" length="29.764834592007983"> <spiral curvStart="0.0254107546621696" curvEnd="0.031526347239798955"/> </geometry> <geometry s="55.171663767069035" x="146.64343936963272" y="24.998132686495545" hdg="1.1701650742891778" length="25.406829175061056"> <spiral curvStart="0.03152634723979895" curvEnd="9.999999994736442e-10"/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="1" type="driving" level="false"> <link> <predecessor id="2"/> <successor id="1"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> </laneSection> </lanes> </road> <road rule="RHT" id="102" junction="100" length="80.58464104902598"> <link> <predecessor elementType="road" elementId="2" contactPoint="start"/> <successor elementType="road" elementId="3" contactPoint="start"/> </link> <planView> <geometry s="0" x="149.99999999999957" y="50.000000000000895" hdg="4.71225" length="25.408049844246484"> <spiral curvStart="1e-09" curvEnd="0.03153901640632509"/> </geometry> <geometry s="25.408049844246484" x="153.35124601428106" y="24.99636057548867" hdg="5.112922463149233" length="29.768541360533018"> <spiral curvStart="0.0315390164063251" curvEnd="0.025406434592294906"/> </geometry> <geometry s="55.1765912047795" x="174.85483977842026" y="5.710997601779319" hdg="5.9605139698225456" length="25.408049844246484"> <spiral curvStart="0.025406434592294896" curvEnd="9.999999994736442e-10"/> </geometry> </planView> <elevationProfile/> <lateralProfile/> <lanes> <laneSection s="0"> <left> <lane id="1" type="driving" level="false"> <link> <predecessor id="-1"/> <successor id="2"/> </link> <width a="3" b="0" c="0" d="0" sOffset="0"/> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </left> <center> <lane id="0" type="none" level="false"> <roadMark sOffset="0" type="solid" weight="standard" color="standard" height="0.02" width="0.2"/> </lane> </center> </laneSection> </lanes> </road> <junction name="my_junction" id="100" type="default"> <connection incomingRoad="3" id="0" contactPoint="end" connectingRoad="100"> <laneLink from="2" to="2"/> <laneLink from="1" to="1"/> <laneLink from="-1" to="-1"/> <laneLink from="-2" to="-2"/> </connection> <connection incomingRoad="1" id="1" contactPoint="start" connectingRoad="100"> <laneLink from="2" to="2"/> <laneLink from="1" to="1"/> <laneLink from="-1" to="-1"/> <laneLink from="-2" to="-2"/> </connection> <connection incomingRoad="1" id="2" contactPoint="start" connectingRoad="101"> <laneLink from="2" to="1"/> </connection> <connection incomingRoad="2" id="3" contactPoint="start" connectingRoad="102"> <laneLink from="-1" to="1"/> </connection> </junction> </OpenDRIVE> ``` ### Expected behavior Fix the bug in the library.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12700/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12698
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12698/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12698/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12698/events
https://github.com/langchain-ai/langchain/issues/12698
1,971,850,317
I_kwDOIPDwls51iAxN
12,698
DOC: BaseCallbackHandler vs BaseTracer
{ "login": "DataLama", "id": 38907104, "node_id": "MDQ6VXNlcjM4OTA3MTA0", "avatar_url": "https://avatars.githubusercontent.com/u/38907104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DataLama", "html_url": "https://github.com/DataLama", "followers_url": "https://api.github.com/users/DataLama/followers", "following_url": "https://api.github.com/users/DataLama/following{/other_user}", "gists_url": "https://api.github.com/users/DataLama/gists{/gist_id}", "starred_url": "https://api.github.com/users/DataLama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DataLama/subscriptions", "organizations_url": "https://api.github.com/users/DataLama/orgs", "repos_url": "https://api.github.com/users/DataLama/repos", "events_url": "https://api.github.com/users/DataLama/events{/privacy}", "received_events_url": "https://api.github.com/users/DataLama/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" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
open
false
null
[]
null
1
2023-11-01T07:27:08
2023-11-01T07:38:20
null
NONE
null
### Issue with current documentation: While reviewing the document, I am learning about the callback functionality of langchain and have a question. In langchain.callbacks, there are two classes: `BaseCallbackHandler` and `BaseTracer`. From what I can see in the document, it seems like the roles of these two classes are similar. Could you please provide an explanation of the differences between these two classes and clarify when it is appropriate to inherit from each class when creating a custom callback? ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12698/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/12698/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12697
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12697/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12697/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12697/events
https://github.com/langchain-ai/langchain/issues/12697
1,971,809,367
I_kwDOIPDwls51h2xX
12,697
Issue: Pinecone Vector Store incorrectly assigns score in similarity_search_with_relevance_scores
{ "login": "dangoldbj", "id": 16420546, "node_id": "MDQ6VXNlcjE2NDIwNTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/16420546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dangoldbj", "html_url": "https://github.com/dangoldbj", "followers_url": "https://api.github.com/users/dangoldbj/followers", "following_url": "https://api.github.com/users/dangoldbj/following{/other_user}", "gists_url": "https://api.github.com/users/dangoldbj/gists{/gist_id}", "starred_url": "https://api.github.com/users/dangoldbj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dangoldbj/subscriptions", "organizations_url": "https://api.github.com/users/dangoldbj/orgs", "repos_url": "https://api.github.com/users/dangoldbj/repos", "events_url": "https://api.github.com/users/dangoldbj/events{/privacy}", "received_events_url": "https://api.github.com/users/dangoldbj/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5932474361, "node_id": "LA_kwDOIPDwls8AAAABYZpf-Q", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone", "name": "integration: pinecone", "color": "BC53BE", "default": false, "description": "Related to Pinecone vector store integration" } ]
open
false
null
[]
null
1
2023-11-01T06:51:09
2023-11-01T07:01:28
null
NONE
null
### Issue you'd like to raise. With the Pinecone index setup with `cosine` metric, so the scores received from the vector database are already in the`cosine` metric. However, the `_select_relevance_score_fn` of langchain pinecone vector store returns the base vector store's `_cosine_relevance_score_fn` for the `cosine` distance strategy. https://github.com/langchain-ai/langchain/blob/b2138508cbf17aef3a08cdce072d79fd5dc63dc3/libs/langchain/langchain/vectorstores/pinecone.py#L231 In the base vector store implementation of `_cosine_relevance_score_fn` the score is the complement. https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/schema/vectorstore.py#L187 So the cosine metric of 0.81 returned by the pinecone vector database indicating a higher similarity is turned into 0.19 in langchain and processed as very low similarity. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12697/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12696
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12696/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12696/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12696/events
https://github.com/langchain-ai/langchain/pull/12696
1,971,736,757
PR_kwDOIPDwls5eTNWd
12,696
Keep also original query - multi_query.py
{ "login": "manuelrech", "id": 63170478, "node_id": "MDQ6VXNlcjYzMTcwNDc4", "avatar_url": "https://avatars.githubusercontent.com/u/63170478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manuelrech", "html_url": "https://github.com/manuelrech", "followers_url": "https://api.github.com/users/manuelrech/followers", "following_url": "https://api.github.com/users/manuelrech/following{/other_user}", "gists_url": "https://api.github.com/users/manuelrech/gists{/gist_id}", "starred_url": "https://api.github.com/users/manuelrech/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/manuelrech/subscriptions", "organizations_url": "https://api.github.com/users/manuelrech/orgs", "repos_url": "https://api.github.com/users/manuelrech/repos", "events_url": "https://api.github.com/users/manuelrech/events{/privacy}", "received_events_url": "https://api.github.com/users/manuelrech/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-11-01T05:37:52
2023-11-09T11:20:29
2023-11-03T01:15:02
CONTRIBUTOR
null
When you use a MultiQuery it might be useful to use the original query as well as the newly generated ones to maximise the changes to retriever the correct document. I haven't created an issue, it seems a very small and easy thing.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12696/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12696", "html_url": "https://github.com/langchain-ai/langchain/pull/12696", "diff_url": "https://github.com/langchain-ai/langchain/pull/12696.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12696.patch", "merged_at": "2023-11-03T01:15:02" }
https://api.github.com/repos/langchain-ai/langchain/issues/12695
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12695/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12695/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12695/events
https://github.com/langchain-ai/langchain/issues/12695
1,971,721,957
I_kwDOIPDwls51hhbl
12,695
ChatTongyi class use _generate method as async call and result in replying text dispeared
{ "login": "joeylin", "id": 2030833, "node_id": "MDQ6VXNlcjIwMzA4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/2030833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeylin", "html_url": "https://github.com/joeylin", "followers_url": "https://api.github.com/users/joeylin/followers", "following_url": "https://api.github.com/users/joeylin/following{/other_user}", "gists_url": "https://api.github.com/users/joeylin/gists{/gist_id}", "starred_url": "https://api.github.com/users/joeylin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joeylin/subscriptions", "organizations_url": "https://api.github.com/users/joeylin/orgs", "repos_url": "https://api.github.com/users/joeylin/repos", "events_url": "https://api.github.com/users/joeylin/events{/privacy}", "received_events_url": "https://api.github.com/users/joeylin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
7
2023-11-01T05:20:30
2023-11-13T14:38:00
null
NONE
null
### System Info langchain 0.0.327 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction it is easy to reproduction use AsyncIteratorCallbackHandler() to get ChatTongyi stream data, it only get warning: `/venv/lib/python3.10/site-packages/langchain/chat_models/tongyi.py:365: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited run_manager.on_llm_new_token(chunk.content, chunk=chunk)` and the reply text dispeared I look into the code , and find the problem is in the _agenerate() with only using _generate() ![image](https://github.com/langchain-ai/langchain/assets/2030833/ee37d1c0-3824-4932-91f0-3e0c1aafe61f) we can see, the stream functionality in _generate() is incomplete and problematic. One of them is the questionable support for asynchronous callback, ![image](https://github.com/langchain-ai/langchain/assets/2030833/84a3e1a9-f936-4002-aea3-889afbd618f8) and this is where error happens ![image](https://github.com/langchain-ai/langchain/assets/2030833/070b61ad-d6ad-4aaf-ac3f-1f6f116942db) it should use _astream() pls, fix it , thx ### Expected behavior return stream data
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12695/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12694
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12694/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12694/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12694/events
https://github.com/langchain-ai/langchain/pull/12694
1,971,717,932
PR_kwDOIPDwls5eTJWw
12,694
Self-query template
{ "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": 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": "" } ]
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
2
2023-11-01T05:15:57
2023-11-13T19:46:09
2023-11-13T19:44:19
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12694/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12694", "html_url": "https://github.com/langchain-ai/langchain/pull/12694", "diff_url": "https://github.com/langchain-ai/langchain/pull/12694.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12694.patch", "merged_at": "2023-11-13T19:44:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/12693
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12693/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12693/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12693/events
https://github.com/langchain-ai/langchain/issues/12693
1,971,675,122
I_kwDOIPDwls51hV_y
12,693
DOC: RetrievalQA.from_chain_type batch inference with elastic vectorstore
{ "login": "littlebeanhp", "id": 58417668, "node_id": "MDQ6VXNlcjU4NDE3NjY4", "avatar_url": "https://avatars.githubusercontent.com/u/58417668?v=4", "gravatar_id": "", "url": "https://api.github.com/users/littlebeanhp", "html_url": "https://github.com/littlebeanhp", "followers_url": "https://api.github.com/users/littlebeanhp/followers", "following_url": "https://api.github.com/users/littlebeanhp/following{/other_user}", "gists_url": "https://api.github.com/users/littlebeanhp/gists{/gist_id}", "starred_url": "https://api.github.com/users/littlebeanhp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/littlebeanhp/subscriptions", "organizations_url": "https://api.github.com/users/littlebeanhp/orgs", "repos_url": "https://api.github.com/users/littlebeanhp/repos", "events_url": "https://api.github.com/users/littlebeanhp/events{/privacy}", "received_events_url": "https://api.github.com/users/littlebeanhp/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 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": 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": 6077048506, "node_id": "LA_kwDOIPDwls8AAAABajhmug", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20elasticsearch", "name": "integration: elasticsearch", "color": "DAB5EC", "default": false, "description": "Related to elastic/elasticsearch integrations" } ]
open
false
null
[]
null
2
2023-11-01T04:26:22
2023-11-10T10:24:40
null
NONE
null
### Issue with current documentation: I have searched for a while but there is no example for RetrievalQA batch inference. For example, here is my code: `model_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2" embeddings = HuggingFaceEmbeddings(model_name=model_name) db = ElasticVectorSearch( embedding = embeddings, elasticsearch_url="http://localhost:9200", index_name="test_index", ) model = transformers.AutoModelForCausalLM.from_pretrained('vilm/vietcuna-7b-v3') generate_text = transformers.pipeline( model=model, tokenizer=tokenizer, batch_size = 8, return_full_text=True, task='text-generation', stopping_criteria=stopping_criteria, temperature=0, max_new_tokens=512, repetition_penalty=1.1 ) model_id = 'vilm/vietcuna-7b-v3' llm = HuggingFacePipeline(pipeline=generate_text) qa = RetrievalQA.from_chain_type( llm=llm, chain_type="stuff", retriever=db.as_retriever(), verbose=True, return_source_documents=True, ) ` then I tried: `qa.batch(inputs=[{'query':'Who is the prime minister of Vietnam'},{'query':'what is desease?'}])` and `qa(inputs=[{'query':'Who is the prime minister of Vietnam'},{'query':'what is desease?'}])` Both failed. I saw the reason is ElasticVectorSearch cannot return two source documents at the same time. But the main problem is that is there any way to get RetrievalQA do batch inferencing with GPU utilization. LLM batch inference is easy to use (defined params) but it seems like the RetrievalQA chain hasn't supported this. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12693/timeline
null
reopened
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12691
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12691/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12691/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12691/events
https://github.com/langchain-ai/langchain/pull/12691
1,971,553,239
PR_kwDOIPDwls5eSmh5
12,691
Fix typo highlighted by `ruff` autoformatter.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-11-01T01:54:20
2023-11-01T02:16:07
2023-11-01T02:16:06
COLLABORATOR
null
H/t @MichaReiser for spotting it: https://github.com/langchain-ai/langchain/pull/12585/files#r1378253045
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12691/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/12691/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12691", "html_url": "https://github.com/langchain-ai/langchain/pull/12691", "diff_url": "https://github.com/langchain-ai/langchain/pull/12691.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12691.patch", "merged_at": "2023-11-01T02:16:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/12690
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12690/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12690/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12690/events
https://github.com/langchain-ai/langchain/pull/12690
1,971,549,825
PR_kwDOIPDwls5eSly9
12,690
zep: VectorStore: Use Native MMR
{ "login": "danielchalef", "id": 131175, "node_id": "MDQ6VXNlcjEzMTE3NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/131175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielchalef", "html_url": "https://github.com/danielchalef", "followers_url": "https://api.github.com/users/danielchalef/followers", "following_url": "https://api.github.com/users/danielchalef/following{/other_user}", "gists_url": "https://api.github.com/users/danielchalef/gists{/gist_id}", "starred_url": "https://api.github.com/users/danielchalef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielchalef/subscriptions", "organizations_url": "https://api.github.com/users/danielchalef/orgs", "repos_url": "https://api.github.com/users/danielchalef/repos", "events_url": "https://api.github.com/users/danielchalef/events{/privacy}", "received_events_url": "https://api.github.com/users/danielchalef/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-11-01T01:50:10
2023-11-02T23:45:42
2023-11-02T23:45:42
CONTRIBUTOR
null
- refactor to use Zep's native MMR; update example - @baskaryan @eyurtsev
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12690/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12690", "html_url": "https://github.com/langchain-ai/langchain/pull/12690", "diff_url": "https://github.com/langchain-ai/langchain/pull/12690.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12690.patch", "merged_at": "2023-11-02T23:45:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/12689
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12689/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12689/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12689/events
https://github.com/langchain-ai/langchain/issues/12689
1,971,542,844
I_kwDOIPDwls51g1s8
12,689
Missing 'Action:' after 'Thought:
{ "login": "WalnutStudios", "id": 69432365, "node_id": "MDQ6VXNlcjY5NDMyMzY1", "avatar_url": "https://avatars.githubusercontent.com/u/69432365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WalnutStudios", "html_url": "https://github.com/WalnutStudios", "followers_url": "https://api.github.com/users/WalnutStudios/followers", "following_url": "https://api.github.com/users/WalnutStudios/following{/other_user}", "gists_url": "https://api.github.com/users/WalnutStudios/gists{/gist_id}", "starred_url": "https://api.github.com/users/WalnutStudios/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WalnutStudios/subscriptions", "organizations_url": "https://api.github.com/users/WalnutStudios/orgs", "repos_url": "https://api.github.com/users/WalnutStudios/repos", "events_url": "https://api.github.com/users/WalnutStudios/events{/privacy}", "received_events_url": "https://api.github.com/users/WalnutStudios/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
2
2023-11-01T01:41:04
2023-11-02T02:54:21
null
NONE
null
### System Info langchain==0.0.326 Python 3.10.8 llm = Bedrock Note: I tested this with the Bedrock LLM and these 3 models: anthropic.claude-instant-v1 anthropic.claude-v2 ai21.j2-ultra-v1 The error does NOT occur when using llm=OpenAI EDIT: Can only replicate this error with anthropic.claude-instant-v1 Stack Trace: ``` Thought:Traceback (most recent call last): File "...venv\lib\site-packages\langchain\agents\agent.py", line 933, in _take_next_step output = self.agent.plan( File "...venv\lib\site-packages\langchain\agents\agent.py", line 547, in plan return self.output_parser.parse(full_output) File "...venv\lib\site-packages\langchain\agents\mrkl\output_parser.py", line 61, in parse raise OutputParserException( langchain.schema.output_parser.OutputParserException: Could not parse LLM output: ` Fumio Kishida is 65 years old. The largest prime number smaller than 65 is 61.` During handling of the above exception, another exception occurred: Traceback (most recent call last): File "...langchain\l101.py", line 32, in <module> agent.run("Who is the current leader of Japan and how old are they? What is the largest prime number that is smaller than the leader's age?") File "...venv\lib\site-packages\langchain\chains\base.py", line 505, in run return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[ File "...venv\lib\site-packages\langchain\chains\base.py", line 310, in __call__ raise e File "...venv\lib\site-packages\langchain\chains\base.py", line 304, in __call__ self._call(inputs, run_manager=run_manager) File "...venv\lib\site-packages\langchain\agents\agent.py", line 1146, in _call next_step_output = self._take_next_step( File "...venv\lib\site-packages\langchain\agents\agent.py", line 944, in _take_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: ` Fumio Kishida is 65 years old. The largest prime number smaller than 65 is 61.` ``` ### Who can help? @sbusso ### Information - [ ] The official example notebooks/scripts - [X] 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 - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ``` llm = Bedrock( credentials_profile_name="default", model_id="anthropic.claude-instant-v1", # streaming=True, model_kwargs={"temperature": 0.0} ) # llm = OpenAI(temperature=0) tools = load_tools(["serpapi"],llm=llm) # agent = initialize_agent(tools=tools,llm=llm,agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,handle_parsing_errors=True,verbose=True) agent = initialize_agent(tools=tools,llm=llm,agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,verbose=True) agent.run("Who is the current leader of Japan and how old are they? What is the largest prime number that is smaller than the leader's age?") ``` ### Expected behavior The text should have been parsed. Based on the stack trace: Could not parse LLM output: ` Fumio Kishida is 65 years old. The largest prime number smaller than 65 is 61.` I'm thinking this is probably derived from the boto3 API response, because it works fine with OpenAI.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12689/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12689/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12688
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12688/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12688/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12688/events
https://github.com/langchain-ai/langchain/pull/12688
1,971,534,420
PR_kwDOIPDwls5eSin0
12,688
Add basic critique revise template
{ "login": "jacoblee93", "id": 6952323, "node_id": "MDQ6VXNlcjY5NTIzMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacoblee93", "html_url": "https://github.com/jacoblee93", "followers_url": "https://api.github.com/users/jacoblee93/followers", "following_url": "https://api.github.com/users/jacoblee93/following{/other_user}", "gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}", "starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions", "organizations_url": "https://api.github.com/users/jacoblee93/orgs", "repos_url": "https://api.github.com/users/jacoblee93/repos", "events_url": "https://api.github.com/users/jacoblee93/events{/privacy}", "received_events_url": "https://api.github.com/users/jacoblee93/received_events", "type": "User", "site_admin": false }
[ { "id": 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": 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": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }, { "login": "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-11-01T01:31:12
2023-11-10T01:33:30
2023-11-10T01:33:29
CONTRIBUTOR
null
@baskaryan @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12688/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12688", "html_url": "https://github.com/langchain-ai/langchain/pull/12688", "diff_url": "https://github.com/langchain-ai/langchain/pull/12688.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12688.patch", "merged_at": "2023-11-10T01:33:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/12687
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12687/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12687/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12687/events
https://github.com/langchain-ai/langchain/pull/12687
1,971,517,871
PR_kwDOIPDwls5eSfK9
12,687
Add possibility to pass on_artifacts for a specific conversation
{ "login": "jakubno", "id": 50249709, "node_id": "MDQ6VXNlcjUwMjQ5NzA5", "avatar_url": "https://avatars.githubusercontent.com/u/50249709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jakubno", "html_url": "https://github.com/jakubno", "followers_url": "https://api.github.com/users/jakubno/followers", "following_url": "https://api.github.com/users/jakubno/following{/other_user}", "gists_url": "https://api.github.com/users/jakubno/gists{/gist_id}", "starred_url": "https://api.github.com/users/jakubno/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jakubno/subscriptions", "organizations_url": "https://api.github.com/users/jakubno/orgs", "repos_url": "https://api.github.com/users/jakubno/repos", "events_url": "https://api.github.com/users/jakubno/events{/privacy}", "received_events_url": "https://api.github.com/users/jakubno/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-11-01T01:10:19
2023-11-06T15:29:47
2023-11-06T15:29:47
CONTRIBUTOR
null
Possibility to pass on_artifacts to a conversation. It can be then achieved by adding this way: ```python result = agent.run( input=message.text, metadata={ "on_artifact": CALLBACK_FUNCTION }, ) ``` <!-- 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/12687/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12687/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12687", "html_url": "https://github.com/langchain-ai/langchain/pull/12687", "diff_url": "https://github.com/langchain-ai/langchain/pull/12687.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12687.patch", "merged_at": "2023-11-06T15:29:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/12686
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12686/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12686/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12686/events
https://github.com/langchain-ai/langchain/pull/12686
1,971,486,951
PR_kwDOIPDwls5eSYqx
12,686
Zep: Summary Search and Example
{ "login": "danielchalef", "id": 131175, "node_id": "MDQ6VXNlcjEzMTE3NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/131175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielchalef", "html_url": "https://github.com/danielchalef", "followers_url": "https://api.github.com/users/danielchalef/followers", "following_url": "https://api.github.com/users/danielchalef/following{/other_user}", "gists_url": "https://api.github.com/users/danielchalef/gists{/gist_id}", "starred_url": "https://api.github.com/users/danielchalef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielchalef/subscriptions", "organizations_url": "https://api.github.com/users/danielchalef/orgs", "repos_url": "https://api.github.com/users/danielchalef/repos", "events_url": "https://api.github.com/users/danielchalef/events{/privacy}", "received_events_url": "https://api.github.com/users/danielchalef/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-11-01T00:34:56
2023-11-02T23:31:11
2023-11-02T23:31:11
CONTRIBUTOR
null
Zep now has the ability to search over chat history summaries. This PR adds support for doing so. More here: https://blog.getzep.com/zep-v0-17/ @baskaryan @eyurtsev
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12686/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12686", "html_url": "https://github.com/langchain-ai/langchain/pull/12686", "diff_url": "https://github.com/langchain-ai/langchain/pull/12686.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12686.patch", "merged_at": "2023-11-02T23:31:11" }
https://api.github.com/repos/langchain-ai/langchain/issues/12685
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12685/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12685/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12685/events
https://github.com/langchain-ai/langchain/pull/12685
1,971,475,701
PR_kwDOIPDwls5eSWV5
12,685
properly increment version in cli
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-11-01T00:21:22
2023-11-01T00:27:45
2023-11-01T00:27:44
COLLABORATOR
null
Went from 0.0.9 -> 0.0.11 without releasing. Back to 10, then release.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12685/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12685/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12685", "html_url": "https://github.com/langchain-ai/langchain/pull/12685", "diff_url": "https://github.com/langchain-ai/langchain/pull/12685.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12685.patch", "merged_at": "2023-11-01T00:27:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/12684
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12684/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12684/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12684/events
https://github.com/langchain-ai/langchain/pull/12684
1,971,452,662
PR_kwDOIPDwls5eSRmr
12,684
Add RAG input types
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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": 5932474361, "node_id": "LA_kwDOIPDwls8AAAABYZpf-Q", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone", "name": "integration: pinecone", "color": "BC53BE", "default": false, "description": "Related to Pinecone vector store integration" } ]
closed
false
null
[]
null
1
2023-10-31T23:53:23
2023-11-01T00:13:45
2023-11-01T00:13:45
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12684/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12684", "html_url": "https://github.com/langchain-ai/langchain/pull/12684", "diff_url": "https://github.com/langchain-ai/langchain/pull/12684.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12684.patch", "merged_at": "2023-11-01T00:13:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/12683
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12683/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12683/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12683/events
https://github.com/langchain-ai/langchain/pull/12683
1,971,444,608
PR_kwDOIPDwls5eSP7r
12,683
RAG on clinical trial data
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "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": 6154420538, "node_id": "LA_kwDOIPDwls8AAAABbtUBOg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/template", "name": "template", "color": "145FB1", "default": false, "description": "" } ]
open
false
null
[]
null
2
2023-10-31T23:40:42
2023-12-12T01:33:09
null
COLLABORATOR
null
RAG on records from [clinical trials .gov](https://classic.clinicaltrials.gov/api/gui/ref/download_all).
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12683/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12683", "html_url": "https://github.com/langchain-ai/langchain/pull/12683", "diff_url": "https://github.com/langchain-ai/langchain/pull/12683.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12683.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12682
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12682/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12682/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12682/events
https://github.com/langchain-ai/langchain/pull/12682
1,971,426,921
PR_kwDOIPDwls5eSMOW
12,682
fix elastic rag template in playground
{ "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": 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": 6077048506, "node_id": "LA_kwDOIPDwls8AAAABajhmug", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20elasticsearch", "name": "integration: elasticsearch", "color": "DAB5EC", "default": false, "description": "Related to elastic/elasticsearch integrations" } ]
closed
false
null
[]
null
1
2023-10-31T23:14:48
2023-11-01T00:18:36
2023-11-01T00:18:35
COLLABORATOR
null
- a few instructions in the readme (load_documents -> ingest.py) - added docker run command for local elastic - adds input type definition to render playground properly
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12682/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12682", "html_url": "https://github.com/langchain-ai/langchain/pull/12682", "diff_url": "https://github.com/langchain-ai/langchain/pull/12682.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12682.patch", "merged_at": "2023-11-01T00:18:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/12681
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12681/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12681/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12681/events
https://github.com/langchain-ai/langchain/issues/12681
1,971,402,125
I_kwDOIPDwls51gTWN
12,681
Local var ref in PALChain.from_math_prompt
{ "login": "hemanth", "id": 18315, "node_id": "MDQ6VXNlcjE4MzE1", "avatar_url": "https://avatars.githubusercontent.com/u/18315?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hemanth", "html_url": "https://github.com/hemanth", "followers_url": "https://api.github.com/users/hemanth/followers", "following_url": "https://api.github.com/users/hemanth/following{/other_user}", "gists_url": "https://api.github.com/users/hemanth/gists{/gist_id}", "starred_url": "https://api.github.com/users/hemanth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hemanth/subscriptions", "organizations_url": "https://api.github.com/users/hemanth/orgs", "repos_url": "https://api.github.com/users/hemanth/repos", "events_url": "https://api.github.com/users/hemanth/events{/privacy}", "received_events_url": "https://api.github.com/users/hemanth/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-10-31T22:45:41
2023-10-31T22:59:21
null
NONE
null
### System Info Python 3.10.12 langchain [v0.0.327](https://github.com/langchain-ai/langchain/releases/tag/v0.0.327) ### Who can help? @agola ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction <img width="909" alt="image" src="https://github.com/langchain-ai/langchain/assets/18315/ed391f1c-fda6-45bb-9ca6-002e99eb6782"> ### Expected behavior The right answer?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12681/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12680
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12680/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12680/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12680/events
https://github.com/langchain-ai/langchain/pull/12680
1,971,389,215
PR_kwDOIPDwls5eSEM7
12,680
link to templates
{ "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" } ]
closed
false
null
[]
null
1
2023-10-31T22:31:00
2023-10-31T23:19:23
2023-10-31T23:19:22
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12680/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12680", "html_url": "https://github.com/langchain-ai/langchain/pull/12680", "diff_url": "https://github.com/langchain-ai/langchain/pull/12680.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12680.patch", "merged_at": "2023-10-31T23:19:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/12679
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12679/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12679/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12679/events
https://github.com/langchain-ai/langchain/pull/12679
1,971,323,135
PR_kwDOIPDwls5eR12n
12,679
Use black to lint notebooks and docs for now.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T21:23:07
2023-10-31T21:51:06
2023-10-31T21:51:05
COLLABORATOR
null
Due to #12677 having lots of errors for the time being.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12679/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12679", "html_url": "https://github.com/langchain-ai/langchain/pull/12679", "diff_url": "https://github.com/langchain-ai/langchain/pull/12679.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12679.patch", "merged_at": "2023-10-31T21:51:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/12678
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12678/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12678/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12678/events
https://github.com/langchain-ai/langchain/pull/12678
1,971,306,702
PR_kwDOIPDwls5eRySk
12,678
Use an in-project virtualenv in the CLI package.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T21:09:12
2023-10-31T21:51:25
2023-10-31T21:51:24
COLLABORATOR
null
Keeping it in sync with how our other packages are configured.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12678/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12678", "html_url": "https://github.com/langchain-ai/langchain/pull/12678", "diff_url": "https://github.com/langchain-ai/langchain/pull/12678.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12678.patch", "merged_at": "2023-10-31T21:51:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/12677
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12677/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12677/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12677/events
https://github.com/langchain-ai/langchain/pull/12677
1,971,303,319
PR_kwDOIPDwls5eRxjg
12,677
Lint Python notebooks with ruff.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
7
2023-10-31T21:06:21
2023-11-14T20:58:23
2023-11-14T20:58:22
COLLABORATOR
null
The new ruff version fixed the blocking bugs, and I was able to fairly easily us to a passing state: ruff fixed some issues on its own, I fixed a handful by hand, and I added a list of narrowly-targeted exclusions for files that are currently failing ruff rules that we probably should look into eventually. I went pretty lenient on the docs / cookbooks rules, allowing dead code and such things. Perhaps in the future we may want to tighten the rules further, but this is already a good set of checks that found real issues and will prevent them going forward.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12677/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12677", "html_url": "https://github.com/langchain-ai/langchain/pull/12677", "diff_url": "https://github.com/langchain-ai/langchain/pull/12677.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12677.patch", "merged_at": "2023-11-14T20:58:22" }
https://api.github.com/repos/langchain-ai/langchain/issues/12676
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12676/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12676/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12676/events
https://github.com/langchain-ai/langchain/pull/12676
1,971,290,384
PR_kwDOIPDwls5eRut2
12,676
Both lint and format `templates` with ruff v0.1.3.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T20:56:00
2023-10-31T21:52:02
2023-10-31T21:52:01
COLLABORATOR
null
- Both lint and format code in `templates`. - Upgrade to ruff v0.1.3.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12676/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12676", "html_url": "https://github.com/langchain-ai/langchain/pull/12676", "diff_url": "https://github.com/langchain-ai/langchain/pull/12676.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12676.patch", "merged_at": "2023-10-31T21:52:01" }
https://api.github.com/repos/langchain-ai/langchain/issues/12675
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12675/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12675/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12675/events
https://github.com/langchain-ai/langchain/pull/12675
1,971,272,370
PR_kwDOIPDwls5eRqrQ
12,675
Remove the CLI package's pydantic compatibility tests.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T20:45:20
2023-10-31T20:57:39
2023-10-31T20:57:38
COLLABORATOR
null
They aren't necessary, since the CLI package doesn't have a direct dependency on pydantic.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12675/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12675", "html_url": "https://github.com/langchain-ai/langchain/pull/12675", "diff_url": "https://github.com/langchain-ai/langchain/pull/12675.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12675.patch", "merged_at": "2023-10-31T20:57:38" }
https://api.github.com/repos/langchain-ai/langchain/issues/12673
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12673/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12673/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12673/events
https://github.com/langchain-ai/langchain/pull/12673
1,971,267,336
PR_kwDOIPDwls5eRpi5
12,673
fix plate chain
{ "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": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-10-31T20:42:25
2023-10-31T20:45:11
2023-10-31T20:45:10
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12673/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12673", "html_url": "https://github.com/langchain-ai/langchain/pull/12673", "diff_url": "https://github.com/langchain-ai/langchain/pull/12673.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12673.patch", "merged_at": "2023-10-31T20:45:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/12672
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12672/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12672/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12672/events
https://github.com/langchain-ai/langchain/pull/12672
1,971,266,123
PR_kwDOIPDwls5eRpRj
12,672
Use `ruff` for both linting and formatting in `langchain-cli`.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T20:41:49
2023-10-31T20:52:27
2023-10-31T20:52:26
COLLABORATOR
null
Prior to this PR, `ruff` was used only for linting and not for formatting, despite the names of the commands. This PR makes it be used for both linting code and autoformatting it.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12672/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12672", "html_url": "https://github.com/langchain-ai/langchain/pull/12672", "diff_url": "https://github.com/langchain-ai/langchain/pull/12672.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12672.patch", "merged_at": "2023-10-31T20:52:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/12671
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12671/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12671/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12671/events
https://github.com/langchain-ai/langchain/pull/12671
1,971,237,510
PR_kwDOIPDwls5eRjGK
12,671
Use separate jobs for building and publishing test releases.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T20:20:30
2023-11-01T01:36:27
2023-11-01T01:36:26
COLLABORATOR
null
This follows the principle of least privilege. Our `poetry build` step doesn't need, and shouldn't get, access to our GitHub OIDC capability. This is the same structure as I used in the already-merged PR for refactoring the regular PyPI release workflow: #12578.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12671/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12671", "html_url": "https://github.com/langchain-ai/langchain/pull/12671", "diff_url": "https://github.com/langchain-ai/langchain/pull/12671.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12671.patch", "merged_at": "2023-11-01T01:36:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/12668
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12668/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12668/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12668/events
https://github.com/langchain-ai/langchain/pull/12668
1,971,173,088
PR_kwDOIPDwls5eRVUc
12,668
Only publish to test PyPI from the `_test_release.yml` workflow.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T19:33:10
2023-11-01T01:36:39
2023-11-01T01:36:39
COLLABORATOR
null
PyPI trusted publishing wants to know which workflow is expected to do the publish. We always want to publish from the same workflow, so we're making `_test_release.yml` the only workflow that publishes to Test PyPI.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12668/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12668", "html_url": "https://github.com/langchain-ai/langchain/pull/12668", "diff_url": "https://github.com/langchain-ai/langchain/pull/12668.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12668.patch", "merged_at": "2023-11-01T01:36:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/12667
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12667/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12667/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12667/events
https://github.com/langchain-ai/langchain/issues/12667
1,971,149,418
I_kwDOIPDwls51fVpq
12,667
output parsed: Error: Failed to parse. Text: "10,0,0,....". Error: TypeError: text.trim is not a function
{ "login": "ali-habibzadeh", "id": 1344532, "node_id": "MDQ6VXNlcjEzNDQ1MzI=", "avatar_url": "https://avatars.githubusercontent.com/u/1344532?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ali-habibzadeh", "html_url": "https://github.com/ali-habibzadeh", "followers_url": "https://api.github.com/users/ali-habibzadeh/followers", "following_url": "https://api.github.com/users/ali-habibzadeh/following{/other_user}", "gists_url": "https://api.github.com/users/ali-habibzadeh/gists{/gist_id}", "starred_url": "https://api.github.com/users/ali-habibzadeh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ali-habibzadeh/subscriptions", "organizations_url": "https://api.github.com/users/ali-habibzadeh/orgs", "repos_url": "https://api.github.com/users/ali-habibzadeh/repos", "events_url": "https://api.github.com/users/ali-habibzadeh/events{/privacy}", "received_events_url": "https://api.github.com/users/ali-habibzadeh/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-10-31T19:16:56
2023-11-01T12:26:20
2023-11-01T12:26:20
NONE
null
### System Info I have this method that is trying to format the output of LLM: ```typescript private async getOrderedTitles(titles: string[], question: string) { const outputParser = StructuredOutputParser.fromZodSchema(z.array(z.number().describe("The score for this title"))); const llm = new OpenAI({ modelName: "gpt-3.5-turbo", openAIApiKey: this.openAIApiKey, temperature: 0 }); const orderingChain = new LLMChain({ llm, outputParser, prompt: new PromptTemplate({ template: getSortingPromot(), inputVariables: ["question", "titles"], partialVariables: { format_instructions: outputParser.getFormatInstructions() }, }), }); const res = await orderingChain.call({ question, titles }); return outputParser.parse(res.text); } ``` and the prompt is: ``` Give each title a score as to how relevant it is to this question: {question} ########################################## Titles: {titles} ########################################## {format_instructions} ``` it fails with: ``` Error: Failed to parse. Text: "10,0,0,10,0,10,10,0,10,0,10,0,10,0,0". Error: TypeError: text.trim is not a function ``` ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Above code is all that is needed to recreate the issue. ### Expected behavior There is no obvious reason why it should be failiing
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12667/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12666
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12666/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12666/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12666/events
https://github.com/langchain-ai/langchain/pull/12666
1,971,116,759
PR_kwDOIPDwls5eRJIl
12,666
Add with score functions to MMR for chroma
{ "login": "Hexecu", "id": 48324318, "node_id": "MDQ6VXNlcjQ4MzI0MzE4", "avatar_url": "https://avatars.githubusercontent.com/u/48324318?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hexecu", "html_url": "https://github.com/Hexecu", "followers_url": "https://api.github.com/users/Hexecu/followers", "following_url": "https://api.github.com/users/Hexecu/following{/other_user}", "gists_url": "https://api.github.com/users/Hexecu/gists{/gist_id}", "starred_url": "https://api.github.com/users/Hexecu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hexecu/subscriptions", "organizations_url": "https://api.github.com/users/Hexecu/orgs", "repos_url": "https://api.github.com/users/Hexecu/repos", "events_url": "https://api.github.com/users/Hexecu/events{/privacy}", "received_events_url": "https://api.github.com/users/Hexecu/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
open
false
null
[]
null
3
2023-10-31T18:53:19
2023-12-27T20:11:28
null
NONE
null
## 📝 **Description** This PR introduces two new functions to the Chroma vectorstore: max_marginal_relevance_search_by_vector_with_scores max_marginal_relevance_search_with_scores These functions extend the existing Maximal Marginal Relevance (MMR) functionality. In addition to returning the most relevant documents, they also return their associated similarity scores. This added context enables further customization and is particularly useful for applications requiring more advanced sorting or filtering algorithms. ## 🎯 **Usecase** The extended functionality will be especially beneficial for applications that require advanced sorting or filtering mechanisms. My specific use-case involves using a Reciprocal Rank Fusion (RRF) system across multiple queries on the same topic. The inclusion of similarity scores alongside documents facilitates this kind of advanced application. ## 🛠 **Dependencies** None. This feature does not introduce any new dependencies. ## 👥 **Maintainers** @rlancemartin, @eyurtsev, I would highly appreciate your feedback on these additions.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12666/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12666", "html_url": "https://github.com/langchain-ai/langchain/pull/12666", "diff_url": "https://github.com/langchain-ai/langchain/pull/12666.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12666.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12665
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12665/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12665/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12665/events
https://github.com/langchain-ai/langchain/pull/12665
1,971,072,114
PR_kwDOIPDwls5eQ_fv
12,665
fix for `YahooFinanceNewsTool`
{ "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": 4678528808, "node_id": "LA_kwDOIPDwls8AAAABFtyvKA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T18:23:43
2023-10-31T22:00:21
2023-10-31T21:58:09
COLLABORATOR
null
Added YahooFinanceNewsTool to the __init__.py It was missed here.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12665/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12665", "html_url": "https://github.com/langchain-ai/langchain/pull/12665", "diff_url": "https://github.com/langchain-ai/langchain/pull/12665.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12665.patch", "merged_at": "2023-10-31T21:58:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/12662
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12662/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12662/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12662/events
https://github.com/langchain-ai/langchain/issues/12662
1,970,956,799
I_kwDOIPDwls51emn_
12,662
VertexAIEmbeddings is raising timout exception
{ "login": "tripathyas", "id": 12702948, "node_id": "MDQ6VXNlcjEyNzAyOTQ4", "avatar_url": "https://avatars.githubusercontent.com/u/12702948?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tripathyas", "html_url": "https://github.com/tripathyas", "followers_url": "https://api.github.com/users/tripathyas/followers", "following_url": "https://api.github.com/users/tripathyas/following{/other_user}", "gists_url": "https://api.github.com/users/tripathyas/gists{/gist_id}", "starred_url": "https://api.github.com/users/tripathyas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tripathyas/subscriptions", "organizations_url": "https://api.github.com/users/tripathyas/orgs", "repos_url": "https://api.github.com/users/tripathyas/repos", "events_url": "https://api.github.com/users/tripathyas/events{/privacy}", "received_events_url": "https://api.github.com/users/tripathyas/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-10-31T17:31:54
2023-11-03T08:59:32
2023-11-03T08:59:31
NONE
null
### System Info `[tool.poetry.dependencies] python = "=3.8.16" langchain = "^0.0.327" google-cloud-aiplatform = "^1.35.0" ` code: `embedding = VertexAIEmbeddings()` error: `Traceback (most recent call last): File "/Users/astripathy/Library/Caches/pypoetry/virtualenvs/nssauto-test-2ktKcOZb-py3.8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 75, in error_r emapped_callable return callable_(*args, **kwargs) File "/Users/astripathy/Library/Caches/pypoetry/virtualenvs/nssauto-test-2ktKcOZb-py3.8/lib/python3.8/site-packages/grpc/_channel.py", line 1161, in __call__ return _end_unary_response_blocking(state, call, False, None) File "/Users/astripathy/Library/Caches/pypoetry/virtualenvs/nssauto-test-2ktKcOZb-py3.8/lib/python3.8/site-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking raise _InactiveRpcError(state) # pytype: disable=not-instantiable grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "DNS resolution failed for us-central1-aiplatform.googleapis.com:443: C-ares status is not ARES_SUCCESS qtype=A name=us-central1-aiplatform.googleapis.co m is_balancer=0: DNS query cancelled" debug_error_string = "UNKNOWN:DNS resolution failed for us-central1-aiplatform.googleapis.com:443: C-ares status is not ARES_SUCCESS qtype=A name=us-central1-aipla tform.googleapis.com is_balancer=0: DNS query cancelled {grpc_status:14, created_time:"2023-10-31T22:38:41.657524+05:30"}"` I don't think there is any connectivity issue as I am able to successfully run below query from the same machine: `MODEL_ID="textembedding-gecko" PROJECT_ID=XXXX-XXXX curl \ -X POST \ -H "Authorization: Bearer $(gcloud auth print-access-token)" \ -H "Content-Type: application/json" \ https://us-central1-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/us-central1/publishers/google/models/${MODEL_ID}:predict -d \ $'{ "instances": [ { "content": "What is life?"} ], }' { "predictions": [ { "embeddings": { "values": [ 0.010562753304839134, 0.049150310456752777,` ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction `!pip install langchain !pip install google-cloud-aiplatform import langchain from langchain.embeddings import VertexAIEmbeddings from google.cloud import aiplatform embedding = VertexAIEmbeddings()` ### Expected behavior Below code should not throw any exception: ` embedding = VertexAIEmbeddings()`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12662/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12661
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12661/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12661/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12661/events
https://github.com/langchain-ai/langchain/pull/12661
1,970,944,786
PR_kwDOIPDwls5eQjDX
12,661
Update README for Hybrid Search Weaviate
{ "login": "erika-cardenas", "id": 110841617, "node_id": "U_kgDOBptPEQ", "avatar_url": "https://avatars.githubusercontent.com/u/110841617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erika-cardenas", "html_url": "https://github.com/erika-cardenas", "followers_url": "https://api.github.com/users/erika-cardenas/followers", "following_url": "https://api.github.com/users/erika-cardenas/following{/other_user}", "gists_url": "https://api.github.com/users/erika-cardenas/gists{/gist_id}", "starred_url": "https://api.github.com/users/erika-cardenas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erika-cardenas/subscriptions", "organizations_url": "https://api.github.com/users/erika-cardenas/orgs", "repos_url": "https://api.github.com/users/erika-cardenas/repos", "events_url": "https://api.github.com/users/erika-cardenas/events{/privacy}", "received_events_url": "https://api.github.com/users/erika-cardenas/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-10-31T17:24:20
2023-10-31T18:02:35
2023-10-31T18:02:35
CONTRIBUTOR
null
- **Description:** Updated the README for Hybrid Search Weaviate
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12661/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12661", "html_url": "https://github.com/langchain-ai/langchain/pull/12661", "diff_url": "https://github.com/langchain-ai/langchain/pull/12661.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12661.patch", "merged_at": "2023-10-31T18:02:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/12660
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12660/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12660/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12660/events
https://github.com/langchain-ai/langchain/pull/12660
1,970,929,885
PR_kwDOIPDwls5eQfv2
12,660
use http.client instead of urllib3
{ "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": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
null
[]
null
1
2023-10-31T17:17:07
2023-11-01T18:15:07
2023-11-01T18:15:06
COLLABORATOR
null
dep problems with requests cloudflare debugging not worth it with urllib
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12660/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12660", "html_url": "https://github.com/langchain-ai/langchain/pull/12660", "diff_url": "https://github.com/langchain-ai/langchain/pull/12660.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12660.patch", "merged_at": "2023-11-01T18:15:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/12659
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12659/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12659/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12659/events
https://github.com/langchain-ai/langchain/issues/12659
1,970,920,738
I_kwDOIPDwls51ed0i
12,659
DOC: When using LCEL, how do I set verbose=True on a chain?
{ "login": "mroedder-d7", "id": 129860311, "node_id": "U_kgDOB72C1w", "avatar_url": "https://avatars.githubusercontent.com/u/129860311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mroedder-d7", "html_url": "https://github.com/mroedder-d7", "followers_url": "https://api.github.com/users/mroedder-d7/followers", "following_url": "https://api.github.com/users/mroedder-d7/following{/other_user}", "gists_url": "https://api.github.com/users/mroedder-d7/gists{/gist_id}", "starred_url": "https://api.github.com/users/mroedder-d7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroedder-d7/subscriptions", "organizations_url": "https://api.github.com/users/mroedder-d7/orgs", "repos_url": "https://api.github.com/users/mroedder-d7/repos", "events_url": "https://api.github.com/users/mroedder-d7/events{/privacy}", "received_events_url": "https://api.github.com/users/mroedder-d7/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": 6134259614, "node_id": "LA_kwDOIPDwls8AAAABbaFfng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20lcel", "name": "area: lcel", "color": "38B1E8", "default": false, "description": "" } ]
closed
true
null
[]
null
3
2023-10-31T17:11:43
2023-10-31T19:56:08
2023-10-31T19:56:08
NONE
null
### Issue with current documentation: I´m using https://python.langchain.com/docs/guides/debugging and https://python.langchain.com/docs/modules/chains/document/refine. Somehow the documentation does not line up. How can I set verbose=True on a chain when using LCEL? ### Idea or request for content: Add documentation on how to activate verbose logs on a chain when using LCEL.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12659/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12659/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12658
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12658/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12658/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12658/events
https://github.com/langchain-ai/langchain/pull/12658
1,970,901,471
PR_kwDOIPDwls5eQZhN
12,658
Overwrite existing distributions when uploading to test PyPI.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T16:59:58
2023-10-31T17:02:52
2023-10-31T17:02:51
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12658/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12658", "html_url": "https://github.com/langchain-ai/langchain/pull/12658", "diff_url": "https://github.com/langchain-ai/langchain/pull/12658.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12658.patch", "merged_at": "2023-10-31T17:02:51" }
https://api.github.com/repos/langchain-ai/langchain/issues/12657
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12657/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12657/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12657/events
https://github.com/langchain-ai/langchain/pull/12657
1,970,883,950
PR_kwDOIPDwls5eQVrH
12,657
Update MosaicML Embedding Input Key
{ "login": "margaretqian", "id": 9680231, "node_id": "MDQ6VXNlcjk2ODAyMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/9680231?v=4", "gravatar_id": "", "url": "https://api.github.com/users/margaretqian", "html_url": "https://github.com/margaretqian", "followers_url": "https://api.github.com/users/margaretqian/followers", "following_url": "https://api.github.com/users/margaretqian/following{/other_user}", "gists_url": "https://api.github.com/users/margaretqian/gists{/gist_id}", "starred_url": "https://api.github.com/users/margaretqian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/margaretqian/subscriptions", "organizations_url": "https://api.github.com/users/margaretqian/orgs", "repos_url": "https://api.github.com/users/margaretqian/repos", "events_url": "https://api.github.com/users/margaretqian/events{/privacy}", "received_events_url": "https://api.github.com/users/margaretqian/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
2
2023-10-31T16:49:52
2023-10-31T18:43:31
2023-10-31T18:43:30
CONTRIBUTOR
null
This input key was missed in the last update PR: https://github.com/langchain-ai/langchain/pull/7391 The input/output formats are intended to be like this: ``` {"inputs": [<prompt>]} {"outputs": [<output_text>]} ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12657/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12657", "html_url": "https://github.com/langchain-ai/langchain/pull/12657", "diff_url": "https://github.com/langchain-ai/langchain/pull/12657.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12657.patch", "merged_at": "2023-10-31T18:43:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/12656
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12656/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12656/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12656/events
https://github.com/langchain-ai/langchain/issues/12656
1,970,867,010
I_kwDOIPDwls51eQtC
12,656
MultiLanguageModel: work with multiple LLM with the interface of a single one
{ "login": "fapont", "id": 32645951, "node_id": "MDQ6VXNlcjMyNjQ1OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/32645951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fapont", "html_url": "https://github.com/fapont", "followers_url": "https://api.github.com/users/fapont/followers", "following_url": "https://api.github.com/users/fapont/following{/other_user}", "gists_url": "https://api.github.com/users/fapont/gists{/gist_id}", "starred_url": "https://api.github.com/users/fapont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fapont/subscriptions", "organizations_url": "https://api.github.com/users/fapont/orgs", "repos_url": "https://api.github.com/users/fapont/repos", "events_url": "https://api.github.com/users/fapont/events{/privacy}", "received_events_url": "https://api.github.com/users/fapont/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
9
2023-10-31T16:39:54
2023-11-20T21:11:44
null
CONTRIBUTOR
null
### Feature request The idea is to have an object that can be used in the same way as `LanguageModel` objects, but the object would contain a list of `LanguageModels` that could be chosen according to rules. For instance I would to call my list of LLM with a round robin strategy in order to distribute requests among multiple LLM. Example: ``` llm1 = OpenAI(key1) llm2 = OpenAI(key2) muti_llm = MultiLLM([llm1, llm2], method="round-robin") multi_llm.predict(...) # will use llm1 multi_llm.predict(...) # the second time will use the llm2 ``` ### Motivation The motivations behind these features are: - leveraging multi account to avoid API limits per account - act as a load balancer to easily create balancing strategies (round robin, random, least connection, ...) - (in the future maybe) have the possibility to make shadowing between multiple LLM or other strategies ### Your contribution I started working on that but I'm not sure about the object hierarchy I need to implement to achieve this goal properly without impacting too much the existing codebase. Here is my naive implementation: ```python LanguageModelInput = TypeVar("LanguageModelOutput") class BaseMultiLanguageModel(BaseLanguageModel[LanguageModelInput], ABC): language_models: List[BaseLanguageModel] = Field( description="List of language models", min_items=1 ) @property @abstractmethod def active_model(self) -> BaseLanguageModel: ... def generate_prompt(self, prompts: List[PromptValue], stop: Optional[List[str]] = None, callbacks: Callbacks = None, **kwargs: Any) -> LLMResult: return self.active_model.generate_prompt(prompts, stop, callbacks, **kwargs) async def agenerate_prompt(self, prompts: List[PromptValue], stop: Optional[List[str]] = None, callbacks: Callbacks = None, **kwargs: Any) -> LLMResult: return await self.active_model.agenerate_prompt(prompts, stop, callbacks, **kwargs) def predict(self, text: str, *, stop: Optional[Sequence[str]] = None, **kwargs: Any) -> str: return self.active_model.predict(text, stop=stop, **kwargs) def predict_messages(self, messages: List[BaseMessage], *, stop: Optional[Sequence[str]] = None, **kwargs: Any) -> BaseMessage: return self.active_model.predict_messages(messages, stop=stop, **kwargs) async def apredict(self, text: str, *, stop: Optional[Sequence[str]] = None, **kwargs: Any) -> str: return await self.active_model.apredict(text, stop=stop, **kwargs) async def apredict_messages(self, messages: List[BaseMessage], *, stop: Optional[Sequence[str]] = None, **kwargs: Any) -> BaseMessage: return await self.active_model.apredict_messages(messages, stop=stop, **kwargs) def invoke(self, input: Input, config: Optional[RunnableConfig] = None, **kwargs: Any) -> Output: return self.active_model.invoke(input, config, **kwargs) # Example of subclasses creation class RandomMultiChatModel(BaseMultiLanguageModel[PromptValue]): @property def active_model(self) -> BaseLanguageModel: choice = randint(0, len(self.language_models) - 1) print(f"Using LLM: {choice}") return self.language_models[choice] class RoundRobinMultiChatModel(BaseMultiLanguageModel[PromptValue]): index: int = 0 @property def active_model(self) -> BaseLanguageModel: self.index = (self.index + 1) % len(self.language_models) print(f"Using LLM: {self.index}") return self.language_models[self.index] # Usage llm1 = ChatOpenAI(openai_api_key=OPENAI_API_KEY_1) llm2 = ChatOpenAI(openai_api_key=OPENAI_API_KEY_2) round_robin_multi_llm = RoundRobinMultiChatModel(language_models=[llm1, llm2]) round_robin_multi_llm.predict("Hello, how are you?") # use the same methods as BaseLanguageModel ``` This is working with simple examples but I'm not sure this inheritance hierarchy is the best so any help would be appreciated to define the best solution :)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12656/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/12656/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12655
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12655/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12655/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12655/events
https://github.com/langchain-ai/langchain/pull/12655
1,970,866,007
PR_kwDOIPDwls5eQRts
12,655
update lc version
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T16:39:19
2023-10-31T17:19:17
2023-10-31T17:19:16
COLLABORATOR
null
also updated py version in `csv-agent` and `rag-codellama-fireworks` because they have stricter python requirements
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12655/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12655", "html_url": "https://github.com/langchain-ai/langchain/pull/12655", "diff_url": "https://github.com/langchain-ai/langchain/pull/12655.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12655.patch", "merged_at": "2023-10-31T17:19:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/12654
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12654/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12654/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12654/events
https://github.com/langchain-ai/langchain/pull/12654
1,970,865,926
PR_kwDOIPDwls5eQRsg
12,654
Support release-testing packages with dashes in their names.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T16:39:17
2023-10-31T16:40:36
2023-10-31T16:40:35
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12654/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12654", "html_url": "https://github.com/langchain-ai/langchain/pull/12654", "diff_url": "https://github.com/langchain-ai/langchain/pull/12654.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12654.patch", "merged_at": "2023-10-31T16:40:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/12653
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12653/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12653/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12653/events
https://github.com/langchain-ai/langchain/pull/12653
1,970,856,769
PR_kwDOIPDwls5eQPqJ
12,653
Create autocomment.yml
{ "login": "shraddha761", "id": 106100728, "node_id": "U_kgDOBlL3-A", "avatar_url": "https://avatars.githubusercontent.com/u/106100728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shraddha761", "html_url": "https://github.com/shraddha761", "followers_url": "https://api.github.com/users/shraddha761/followers", "following_url": "https://api.github.com/users/shraddha761/following{/other_user}", "gists_url": "https://api.github.com/users/shraddha761/gists{/gist_id}", "starred_url": "https://api.github.com/users/shraddha761/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shraddha761/subscriptions", "organizations_url": "https://api.github.com/users/shraddha761/orgs", "repos_url": "https://api.github.com/users/shraddha761/repos", "events_url": "https://api.github.com/users/shraddha761/events{/privacy}", "received_events_url": "https://api.github.com/users/shraddha761/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
9
2023-10-31T16:34:04
2023-10-31T21:57:03
2023-10-31T21:57:03
NONE
null
I have created a Workflow that automatically commits when an issue is opened, a pull request is created, an issue is closed, or an issue is assigned or unassigned. ![image](https://github.com/langchain-ai/langchain/assets/106100728/1b1eb81d-fa9d-4e53-9f3e-a853e2ddbd1c) <!-- 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/12653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12653/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12653", "html_url": "https://github.com/langchain-ai/langchain/pull/12653", "diff_url": "https://github.com/langchain-ai/langchain/pull/12653.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12653.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12651
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12651/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12651/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12651/events
https://github.com/langchain-ai/langchain/pull/12651
1,970,824,646
PR_kwDOIPDwls5eQIqA
12,651
Add RAG template for Timescale Vector
{ "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": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-31T16:16:33
2023-10-31T16:56:31
2023-10-31T16:56:30
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/12651/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12651/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12651", "html_url": "https://github.com/langchain-ai/langchain/pull/12651", "diff_url": "https://github.com/langchain-ai/langchain/pull/12651.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12651.patch", "merged_at": "2023-10-31T16:56:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/12650
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12650/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12650/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12650/events
https://github.com/langchain-ai/langchain/pull/12650
1,970,818,386
PR_kwDOIPDwls5eQHR_
12,650
fix template py verisons
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T16:13:13
2023-10-31T16:20:31
2023-10-31T16:20:30
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12650/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12650", "html_url": "https://github.com/langchain-ai/langchain/pull/12650", "diff_url": "https://github.com/langchain-ai/langchain/pull/12650.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12650.patch", "merged_at": "2023-10-31T16:20:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/12649
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12649/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12649/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12649/events
https://github.com/langchain-ai/langchain/pull/12649
1,970,817,814
PR_kwDOIPDwls5eQHJ6
12,649
Rename Template
{ "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" } ]
closed
false
null
[]
null
1
2023-10-31T16:12:51
2023-10-31T16:15:31
2023-10-31T16:15:30
COLLABORATOR
null
To chatbot feedback. Update import
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12649/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12649", "html_url": "https://github.com/langchain-ai/langchain/pull/12649", "diff_url": "https://github.com/langchain-ai/langchain/pull/12649.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12649.patch", "merged_at": "2023-10-31T16:15:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/12648
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12648/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12648/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12648/events
https://github.com/langchain-ai/langchain/pull/12648
1,970,796,890
PR_kwDOIPDwls5eQClG
12,648
Remove `print()` statements which seemed leftover from debugging.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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" } ]
closed
false
null
[]
null
1
2023-10-31T16:01:15
2023-10-31T17:45:49
2023-10-31T17:45:48
COLLABORATOR
null
Added in #12159 presumably during debugging. Right now they cause a bit of visual noise.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12648/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12648", "html_url": "https://github.com/langchain-ai/langchain/pull/12648", "diff_url": "https://github.com/langchain-ai/langchain/pull/12648.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12648.patch", "merged_at": "2023-10-31T17:45:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/12647
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12647/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12647/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12647/events
https://github.com/langchain-ai/langchain/pull/12647
1,970,790,128
PR_kwDOIPDwls5eQBGg
12,647
Show ruff output inline in GitHub PRs.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T15:57:42
2023-10-31T16:16:03
2023-10-31T16:16:01
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12647/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12647", "html_url": "https://github.com/langchain-ai/langchain/pull/12647", "diff_url": "https://github.com/langchain-ai/langchain/pull/12647.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12647.patch", "merged_at": "2023-10-31T16:16:01" }
https://api.github.com/repos/langchain-ai/langchain/issues/12646
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12646/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12646/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12646/events
https://github.com/langchain-ai/langchain/pull/12646
1,970,789,402
PR_kwDOIPDwls5eQA8R
12,646
template updates
{ "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" } ]
closed
false
null
[]
null
1
2023-10-31T15:57:21
2023-10-31T16:13:59
2023-10-31T16:13:58
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12646/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12646", "html_url": "https://github.com/langchain-ai/langchain/pull/12646", "diff_url": "https://github.com/langchain-ai/langchain/pull/12646.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12646.patch", "merged_at": "2023-10-31T16:13:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/12645
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12645/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12645/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12645/events
https://github.com/langchain-ai/langchain/issues/12645
1,970,785,521
I_kwDOIPDwls51d8zx
12,645
MRKL agent is passing "Observation" text to tools when using non-OpenAI LLMs and breaks structured input tools
{ "login": "thoraxe", "id": 94413, "node_id": "MDQ6VXNlcjk0NDEz", "avatar_url": "https://avatars.githubusercontent.com/u/94413?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thoraxe", "html_url": "https://github.com/thoraxe", "followers_url": "https://api.github.com/users/thoraxe/followers", "following_url": "https://api.github.com/users/thoraxe/following{/other_user}", "gists_url": "https://api.github.com/users/thoraxe/gists{/gist_id}", "starred_url": "https://api.github.com/users/thoraxe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thoraxe/subscriptions", "organizations_url": "https://api.github.com/users/thoraxe/orgs", "repos_url": "https://api.github.com/users/thoraxe/repos", "events_url": "https://api.github.com/users/thoraxe/events{/privacy}", "received_events_url": "https://api.github.com/users/thoraxe/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
6
2023-10-31T15:55:50
2024-01-04T11:44:18
null
NONE
null
### System Info Python 3.9.16 Langchain 0.0.326 Linux (Fedora 37) ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python from langchain.utilities import SerpAPIWrapper from langchain.agents import AgentType, initialize_agent from langchain.tools import Tool import langchain langchain.debug = True from langchain.llms import OpenAI llm = OpenAI(temperature=0, verbose=True) search = SerpAPIWrapper() events_tool = Tool( name="events_tool_serp", description="A tool to look up current events", func=search.run, ) tools = [events_tool] agent = initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True ) agent.run("What happened yesterday?") ``` When the above code is run with OpenAI, things work OK. However, when swapped for a different LLM endpoint: ```python # using IBM watsonx.ai from model_context import get_watsonx_predictor llm = get_watsonx_predictor( model="codellama/codellama-34b-instruct", min_new_tokens=5, verbose=True ) ``` Odd things happen: ``` [llm/start] [1:chain:AgentExecutor > 2:chain:LLMChain > 3:llm:LangChainInterface] Entering LLM run with input: { "prompts": [ "Answer the following questions as best you can. You have access to the following tools:\n\nevents_tool_serp: A tool to look up current events\n\nUse the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [events_tool_serp]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question\n\nBegin!\n\nQuestion: What happened yesterday?\nThought:" ] } [llm/end] [1:chain:AgentExecutor > 2:chain:LLMChain > 3:llm:LangChainInterface] [2.65s] Exiting LLM run with output: { "generations": [ [ { "text": " I should look up current events\nAction: events_tool_serp\nAction Input: yesterday\nObservation:", "generation_info": { "generated_token_count": 25, "input_token_count": 160, "stop_reason": "STOP_SEQUENCE", "stop_sequence": "\nObservation:", "input_text": "Answer the following questions as best you can. You have access to the following tools:\n\nevents_tool_serp: A tool to look up current events\n\nUse the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [events_tool_serp]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question\n\nBegin!\n\nQuestion: What happened yesterday?\nThought:" }, "type": "Generation" } ] ], "llm_output": { "token_usage": { "generated_token_count": 25, "input_token_count": 160 } }, "run": null } [chain/end] [1:chain:AgentExecutor > 2:chain:LLMChain] [2.65s] Exiting Chain run with output: { "text": " I should look up current events\nAction: events_tool_serp\nAction Input: yesterday\nObservation:" } [tool/start] [1:chain:AgentExecutor > 4:tool:events_tool_serp] Entering Tool run with input: "yesterday Observation:" ``` The `Observation:` text is being passed into the tool. For simple tools like search engines, this often is not a problem. However, when your tool expects a structured input, you sometimes end up with tool input like the following: ``` "foo,bar Observation:" ``` This results in the tool attempting to do something like splitting on `,` and then the second part of the resulting array is: ``` bar Observation: ``` Which definitely breaks the tool. ### Expected behavior The `Observation:` text should definitely not be passed as part of the tool input. The MRKL output parser is here: https://github.com/langchain-ai/langchain/blob/v0.0.327/libs/langchain/langchain/agents/mrkl/output_parser.py#L26-L77 The regex does appear to match the groups correctly: https://regex101.com/r/v7Tg1n/1 It's unclear, though, why the `Observation:` text is ending up getting passed into the input. Although, when you use newline characters (`\n`) in the string, and not actual newlines, it does appear that the `Observation` part is being caught in the group: https://regex101.com/r/MMCvYn/1 I tried to spelunk into the code to figure out when the agent "base" calls `parse` to see why the `Observation` text would be getting passed into parse in the first place, but it seems that one possible fix here would be to modify the parse RegEx for MRKL to make sure it does NOT capture the observation component. Changing the RegEx in the MRKL agent to the following: ```python r"Action\s*\d*\s*:[\s]*(.*?)[\s]*Action\s*\d*\s*Input\s*\d*\s*:[\s]*(.*)Observation:" ``` And then modifying the tool input strip: ```python if action_match: action = action_match.group(1).strip() action_input = action_match.group(2) tool_input = action_input.strip() ``` fixes the issue if "Observation" got passed in, but I am assuming that `parse` shouldn't have gotten this in the first place.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12645/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12644
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12644/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12644/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12644/events
https://github.com/langchain-ai/langchain/pull/12644
1,970,776,750
PR_kwDOIPDwls5eP-Iy
12,644
Update Vertex template
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T15:51:18
2023-10-31T21:00:24
2023-10-31T21:00:23
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12644/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12644", "html_url": "https://github.com/langchain-ai/langchain/pull/12644", "diff_url": "https://github.com/langchain-ai/langchain/pull/12644.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12644.patch", "merged_at": "2023-10-31T21:00:23" }
https://api.github.com/repos/langchain-ai/langchain/issues/12643
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12643/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12643/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12643/events
https://github.com/langchain-ai/langchain/issues/12643
1,970,772,521
I_kwDOIPDwls51d5op
12,643
`llm.batch` method fails with `max_concurrency` in config
{ "login": "kaihe-stori", "id": 93944014, "node_id": "U_kgDOBZl4zg", "avatar_url": "https://avatars.githubusercontent.com/u/93944014?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kaihe-stori", "html_url": "https://github.com/kaihe-stori", "followers_url": "https://api.github.com/users/kaihe-stori/followers", "following_url": "https://api.github.com/users/kaihe-stori/following{/other_user}", "gists_url": "https://api.github.com/users/kaihe-stori/gists{/gist_id}", "starred_url": "https://api.github.com/users/kaihe-stori/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kaihe-stori/subscriptions", "organizations_url": "https://api.github.com/users/kaihe-stori/orgs", "repos_url": "https://api.github.com/users/kaihe-stori/repos", "events_url": "https://api.github.com/users/kaihe-stori/events{/privacy}", "received_events_url": "https://api.github.com/users/kaihe-stori/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 6134259614, "node_id": "LA_kwDOIPDwls8AAAABbaFfng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20lcel", "name": "area: lcel", "color": "38B1E8", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2023-10-31T15:49:39
2023-11-21T20:56:52
2023-11-21T20:56:52
NONE
null
### System Info - langchain version: 0.0.320 - python: 3.9.17 ### 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 - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Similar to the [guide](https://python.langchain.com/docs/expression_language/interface#batch) for `chat_models.batch`, but if we use `llm` instead, `batch` and `abatch` methods will throw exceptions. Here is an example for `batch` ```py model = OpenAI() prompt = PromptTemplate.from_template("tell me a joke about {topic}") chain = prompt | model chain.batch([{"topic": "bears"}, {"topic": "cats"}], config={"max_concurrency": 5}) ``` You get the following error for dead loop exceeding recursion limit ```py ... --> 300 for output in self.batch( 301 batch, config=config, return_exceptions=return_exceptions, **kwargs 302 ) 303 ] File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:273](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:273), in BaseLLM.batch(self, inputs, config, return_exceptions, **kwargs) 270 if not inputs: 271 return [] --> 273 config = get_config_list(config, len(inputs)) 274 max_concurrency = config[0].get("max_concurrency") 276 if max_concurrency is None: File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/config.py:115](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/config.py:115), in get_config_list(config, length) 108 def get_config_list( 109 config: Optional[Union[RunnableConfig, List[RunnableConfig]]], length: int 110 ) -> List[RunnableConfig]: 111 """ 112 Helper method to get a list of configs from a single config or a list of 113 configs, useful for subclasses overriding batch() or abatch(). 114 """ --> 115 if length < 0: 116 raise ValueError(f"length must be >= 0, but got {length}") 117 if isinstance(config, list) and len(config) != length: RecursionError: maximum recursion depth exceeded in comparison ``` Or if you set `max_concurrency` to be smaller than the length of the prompts, say 1 ```py chain.batch([{"topic": "bears"}, {"topic": "cats"}], config={"max_concurrency": 1}) ValueError Traceback (most recent call last) ... File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/base.py:1271](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/base.py:1271), in RunnableSequence.batch(self, inputs, config, return_exceptions, **kwargs) 1269 else: 1270 for i, step in enumerate(self.steps): -> 1271 inputs = step.batch( 1272 inputs, 1273 [ 1274 # each step a child run of the corresponding root run 1275 patch_config( 1276 config, callbacks=rm.get_child(f"seq:step:{i+1}") 1277 ) 1278 for rm, config in zip(run_managers, configs) 1279 ], 1280 ) 1282 # finish the root runs 1283 except BaseException as e: File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:297](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:297), in BaseLLM.batch(self, inputs, config, return_exceptions, **kwargs) 292 else: 293 batches = [ 294 inputs[i : i + max_concurrency] 295 for i in range(0, len(inputs), max_concurrency) 296 ] --> 297 return [ 298 output 299 for batch in batches 300 for output in self.batch( 301 batch, config=config, return_exceptions=return_exceptions, **kwargs 302 ) 303 ] File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:300](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:300), in <listcomp>(.0) 292 else: 293 batches = [ 294 inputs[i : i + max_concurrency] 295 for i in range(0, len(inputs), max_concurrency) 296 ] 297 return [ 298 output 299 for batch in batches --> 300 for output in self.batch( 301 batch, config=config, return_exceptions=return_exceptions, **kwargs 302 ) 303 ] File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:273](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/llms/base.py:273), in BaseLLM.batch(self, inputs, config, return_exceptions, **kwargs) 270 if not inputs: 271 return [] --> 273 config = get_config_list(config, len(inputs)) 274 max_concurrency = config[0].get("max_concurrency") 276 if max_concurrency is None: File [/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/config.py:118](https://file+.vscode-resource.vscode-cdn.net/usr/local/Caskroom/miniconda/base/envs/chatgpt/lib/python3.9/site-packages/langchain/schema/runnable/config.py:118), in get_config_list(config, length) 116 raise ValueError(f"length must be >= 0, but got {length}") 117 if isinstance(config, list) and len(config) != length: --> 118 raise ValueError( 119 f"config must be a list of the same length as inputs, " 120 f"but got {len(config)} configs for {length} inputs" 121 ) 123 return ( 124 list(map(ensure_config, config)) 125 if isinstance(config, list) 126 else [patch_config(config, copy_locals=True) for _ in range(length)] 127 ) ValueError: config must be a list of the same length as inputs, but got 2 configs for 1 inputs ``` Similar errors for `abatch` with `max_concurrecy`. I believe the bug lies in https://github.com/langchain-ai/langchain/blob/f94e24dfd79ccf55a14641b6940a706674c070f8/libs/langchain/langchain/llms/base.py#L297 where `config` list length is inconsistent with the `inputs` length after chopping up by max_concurrency. The fix could be as simple as ``` config = {**config[0], "max_concurrency": None} # no list is needed ``` ### Expected behavior No error, just like with `chat_models`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12643/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12642
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12642/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12642/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12642/events
https://github.com/langchain-ai/langchain/pull/12642
1,970,738,037
PR_kwDOIPDwls5eP1o4
12,642
Minor updates to READMEs
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-10-31T15:32:09
2023-10-31T15:34:47
2023-10-31T15:34:46
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12642/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12642", "html_url": "https://github.com/langchain-ai/langchain/pull/12642", "diff_url": "https://github.com/langchain-ai/langchain/pull/12642.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12642.patch", "merged_at": "2023-10-31T15:34:46" }
https://api.github.com/repos/langchain-ai/langchain/issues/12641
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12641/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12641/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12641/events
https://github.com/langchain-ai/langchain/pull/12641
1,970,737,887
PR_kwDOIPDwls5eP1mx
12,641
Publish new versions to test PyPI on package version bump.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/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
3
2023-10-31T15:32:04
2023-11-13T22:17:13
null
COLLABORATOR
null
When a PR updates the `pyproject.toml` version to a number that does not currently exist on PyPI (the main one, not test), a successful test run will cause the package to be built and published on test PyPI under that version by triggering the test release workflow. We use caching to avoid spamming the PyPI metadata APIs on every PR, and instead only make one request per new version. We have updated the release workflow to always overwrite test PyPI publishes, so I decided to not make the test publishes use `rc` versions to avoid introducing additional implementation complexity. If you feel that the extra complexity is worth it, I'm happy to switch to generating an `rc` release instead.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12641/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12641", "html_url": "https://github.com/langchain-ai/langchain/pull/12641", "diff_url": "https://github.com/langchain-ai/langchain/pull/12641.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12641.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12638
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12638/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12638/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12638/events
https://github.com/langchain-ai/langchain/pull/12638
1,970,637,295
PR_kwDOIPDwls5ePflM
12,638
Skip test-publishing `langchain-cli` to test PyPI.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
2
2023-10-31T14:46:19
2023-10-31T15:42:30
2023-10-31T15:17:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12638/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12638", "html_url": "https://github.com/langchain-ai/langchain/pull/12638", "diff_url": "https://github.com/langchain-ai/langchain/pull/12638.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12638.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12637
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12637/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12637/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12637/events
https://github.com/langchain-ai/langchain/pull/12637
1,970,629,699
PR_kwDOIPDwls5ePd6P
12,637
Relax python version and remove need for explicit setup step
{ "login": "hemidactylus", "id": 14221764, "node_id": "MDQ6VXNlcjE0MjIxNzY0", "avatar_url": "https://avatars.githubusercontent.com/u/14221764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hemidactylus", "html_url": "https://github.com/hemidactylus", "followers_url": "https://api.github.com/users/hemidactylus/followers", "following_url": "https://api.github.com/users/hemidactylus/following{/other_user}", "gists_url": "https://api.github.com/users/hemidactylus/gists{/gist_id}", "starred_url": "https://api.github.com/users/hemidactylus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hemidactylus/subscriptions", "organizations_url": "https://api.github.com/users/hemidactylus/orgs", "repos_url": "https://api.github.com/users/hemidactylus/repos", "events_url": "https://api.github.com/users/hemidactylus/events{/privacy}", "received_events_url": "https://api.github.com/users/hemidactylus/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T14:42:45
2023-11-16T09:01:08
2023-10-31T16:42:28
CONTRIBUTOR
null
This PR addresses what seems like a unnecessary Python version restriction in the pyroject.toml specs within both Cassandra (/Astra DB) templates. With "^3.11" I got some version incompatibilities with the latest "langchain add [...]" commands, so these are now relaxed in line with the other templates I could inspect. Incidentally, in the "entomology" template, the need for an explicit "setup" step for the user to carry on has been removed, replaced by a check-and-execute-if-necessary instruction on app startup. Thank you for your attention!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12637/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12637", "html_url": "https://github.com/langchain-ai/langchain/pull/12637", "diff_url": "https://github.com/langchain-ai/langchain/pull/12637.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12637.patch", "merged_at": "2023-10-31T16:42:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/12636
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12636/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12636/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12636/events
https://github.com/langchain-ai/langchain/issues/12636
1,970,609,183
I_kwDOIPDwls51dRwf
12,636
Langchain Information Extraction
{ "login": "HasnainKhanNiazi", "id": 22851414, "node_id": "MDQ6VXNlcjIyODUxNDE0", "avatar_url": "https://avatars.githubusercontent.com/u/22851414?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HasnainKhanNiazi", "html_url": "https://github.com/HasnainKhanNiazi", "followers_url": "https://api.github.com/users/HasnainKhanNiazi/followers", "following_url": "https://api.github.com/users/HasnainKhanNiazi/following{/other_user}", "gists_url": "https://api.github.com/users/HasnainKhanNiazi/gists{/gist_id}", "starred_url": "https://api.github.com/users/HasnainKhanNiazi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HasnainKhanNiazi/subscriptions", "organizations_url": "https://api.github.com/users/HasnainKhanNiazi/orgs", "repos_url": "https://api.github.com/users/HasnainKhanNiazi/repos", "events_url": "https://api.github.com/users/HasnainKhanNiazi/events{/privacy}", "received_events_url": "https://api.github.com/users/HasnainKhanNiazi/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" }, { "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": 6406915535, "node_id": "LA_kwDOIPDwls8AAAABfeHFzw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/extraction", "name": "extraction", "color": "2C2E30", "default": false, "description": "" } ]
open
false
null
[]
null
6
2023-10-31T14:32:45
2024-01-08T20:30:26
null
NONE
null
I am trying to use Langchain information extraction chain with OpenAI. Firstly, I am reading a PDF file having some text about products or product. There is no specefic format of PDF, it can be in any format like, there can be only one product on one page or one product can be on two pages or there can be 10 products on one page. So it's completely random. How can I extract the the useful information (some key attributes) for all the products. Currently, I am using Pydantic to validate the output schema and I am using `PyPDFLoader` to load the pdf and then using the `load_and_split`. ``` loader = PyPDFLoader(file_path=file_path) pages = loader.load_and_split() ``` And then I am looping on the pages like this: ``` llm = ChatOpenAI(temperature=0, model=model_name, openai_api_key=key) chain = create_extraction_chain(schema, llm) for index in range(0, len(pages)): output = chain.run(pages[index]) results.append(output) ``` How can I run the extraction in such a way that it should be completely automated, currently, it is just extracting information from one page and then other and then other.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12636/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12635
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12635/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12635/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12635/events
https://github.com/langchain-ai/langchain/issues/12635
1,970,604,472
I_kwDOIPDwls51dQm4
12,635
Cannot keep history of Cypher LLM in GraphCypherQAChain in the memory object
{ "login": "mesutgurlek", "id": 9192832, "node_id": "MDQ6VXNlcjkxOTI4MzI=", "avatar_url": "https://avatars.githubusercontent.com/u/9192832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mesutgurlek", "html_url": "https://github.com/mesutgurlek", "followers_url": "https://api.github.com/users/mesutgurlek/followers", "following_url": "https://api.github.com/users/mesutgurlek/following{/other_user}", "gists_url": "https://api.github.com/users/mesutgurlek/gists{/gist_id}", "starred_url": "https://api.github.com/users/mesutgurlek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mesutgurlek/subscriptions", "organizations_url": "https://api.github.com/users/mesutgurlek/orgs", "repos_url": "https://api.github.com/users/mesutgurlek/repos", "events_url": "https://api.github.com/users/mesutgurlek/events{/privacy}", "received_events_url": "https://api.github.com/users/mesutgurlek/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-10-31T14:30:34
2023-11-01T06:11:25
2023-11-01T06:11:25
NONE
null
### System Info Python 3.9.16, langchain==0.0.322 ### Who can help? @agola11 @sudranga ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I want to keep generated cypher queries in the memory to feed into Question/Answer LLM which leads better understanding of the context. Following example helps to reproduce error (I am not providing prompt details etc.). * I initialize a ConversationBufferMemory to keep both question-answer as well as generated cypher queries. ```python graph = get_neo4j_graph(neo4j_url, neo4j_db_name, neo4j_username, neo4j_password) custom_cypher_prompt = generate_custom_cypher_prompt() custom_qa_prompt = generate_custom_qa_prompt() # First I did not give any input key to Memory but it gives error when there is multiple input in the prompt template # 'question' input_key makes it work for cypher_llm and qa_llm but fails in GraphCypherQAChain # Since GraphCypherQAChain default input_key is 'query' memory = ConversationBufferMemory(memory_key="chat_history", input_key='question') readonlymemory = ReadOnlySharedMemory(memory=memory) graph_chain = GraphCypherQAChain.from_llm( graph=graph, cypher_llm=ChatOpenAI(temperature='0', model='gpt-4', openai_api_key=openai_api_key), qa_llm=ChatOpenAI(temperature='0.5', model='gpt-3.5-turbo-16k', openai_api_key=openai_api_key), cypher_llm_kwargs={"prompt": custom_cypher_prompt, "memory": memory, "verbose": True}, qa_llm_kwargs={"prompt": custom_qa_prompt, "memory": readonlymemory, "verbose": True}, # Limit the number of results from the Cypher QA Chain using the top_k parameter top_k=5, # Return intermediate steps from the Cypher QA Chain # return_intermediate_steps=True, validate_cypher=True, verbose=True, memory=memory ) response = graph_chain.run(query="<question>") ``` ### Expected behavior Keep generated cypher query in the memory to feed into QA LLM as history.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12635/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12634
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12634/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12634/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12634/events
https://github.com/langchain-ai/langchain/pull/12634
1,970,599,702
PR_kwDOIPDwls5ePXVC
12,634
Fix small typo on Founcational -> Router notebook
{ "login": "BrianMcBrayer", "id": 7584774, "node_id": "MDQ6VXNlcjc1ODQ3NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7584774?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BrianMcBrayer", "html_url": "https://github.com/BrianMcBrayer", "followers_url": "https://api.github.com/users/BrianMcBrayer/followers", "following_url": "https://api.github.com/users/BrianMcBrayer/following{/other_user}", "gists_url": "https://api.github.com/users/BrianMcBrayer/gists{/gist_id}", "starred_url": "https://api.github.com/users/BrianMcBrayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BrianMcBrayer/subscriptions", "organizations_url": "https://api.github.com/users/BrianMcBrayer/orgs", "repos_url": "https://api.github.com/users/BrianMcBrayer/repos", "events_url": "https://api.github.com/users/BrianMcBrayer/events{/privacy}", "received_events_url": "https://api.github.com/users/BrianMcBrayer/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-10-31T14:28:19
2023-10-31T16:16:30
2023-10-31T16:16:29
CONTRIBUTOR
null
- **Description:** Fix small typo on Founcational -> Router notebook
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12634/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12634", "html_url": "https://github.com/langchain-ai/langchain/pull/12634", "diff_url": "https://github.com/langchain-ai/langchain/pull/12634.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12634.patch", "merged_at": "2023-10-31T16:16:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/12633
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12633/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12633/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12633/events
https://github.com/langchain-ai/langchain/pull/12633
1,970,593,919
PR_kwDOIPDwls5ePWFG
12,633
Add retry to ConfluenceLoader
{ "login": "ClemensWatzenboeck", "id": 33835951, "node_id": "MDQ6VXNlcjMzODM1OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/33835951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ClemensWatzenboeck", "html_url": "https://github.com/ClemensWatzenboeck", "followers_url": "https://api.github.com/users/ClemensWatzenboeck/followers", "following_url": "https://api.github.com/users/ClemensWatzenboeck/following{/other_user}", "gists_url": "https://api.github.com/users/ClemensWatzenboeck/gists{/gist_id}", "starred_url": "https://api.github.com/users/ClemensWatzenboeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ClemensWatzenboeck/subscriptions", "organizations_url": "https://api.github.com/users/ClemensWatzenboeck/orgs", "repos_url": "https://api.github.com/users/ClemensWatzenboeck/repos", "events_url": "https://api.github.com/users/ClemensWatzenboeck/events{/privacy}", "received_events_url": "https://api.github.com/users/ClemensWatzenboeck/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
open
false
null
[]
null
1
2023-10-31T14:25:35
2023-10-31T14:34:58
null
NONE
null
**Description:** Add retry to ConfluenceLoader **Issue:** When an HTTP error occurs during assessing if a page is public all the already an error was raised (e.g. "Rate Limit") although a simple retry could have lead to successful loading of the document(s). **Dependencies:** None
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12633/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12633", "html_url": "https://github.com/langchain-ai/langchain/pull/12633", "diff_url": "https://github.com/langchain-ai/langchain/pull/12633.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12633.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12632
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12632/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12632/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12632/events
https://github.com/langchain-ai/langchain/issues/12632
1,970,512,615
I_kwDOIPDwls51c6Ln
12,632
Add an optional get_token function argument to AzureChatOpenAI to be called on retry
{ "login": "shaiv-syg", "id": 83551644, "node_id": "MDQ6VXNlcjgzNTUxNjQ0", "avatar_url": "https://avatars.githubusercontent.com/u/83551644?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shaiv-syg", "html_url": "https://github.com/shaiv-syg", "followers_url": "https://api.github.com/users/shaiv-syg/followers", "following_url": "https://api.github.com/users/shaiv-syg/following{/other_user}", "gists_url": "https://api.github.com/users/shaiv-syg/gists{/gist_id}", "starred_url": "https://api.github.com/users/shaiv-syg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shaiv-syg/subscriptions", "organizations_url": "https://api.github.com/users/shaiv-syg/orgs", "repos_url": "https://api.github.com/users/shaiv-syg/repos", "events_url": "https://api.github.com/users/shaiv-syg/events{/privacy}", "received_events_url": "https://api.github.com/users/shaiv-syg/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
0
2023-10-31T13:46:03
2023-10-31T13:48:14
null
NONE
null
### Feature request Hi there, Thanks you so much for this awesome library! I have a suggestion that might improve the AzureChatOpenAI class. In my company we use AzureChatOpenAI where the initialization of a `chat` object looks like this: ``` os.environ["OPENAI_API_KEY"] = get_token().token return AzureChatOpenAI( openai_api_base=AZ_OAI_API_BASE_GPT_4, openai_api_version="2023-05-15", deployment_name=AZ_OAI_DEPLOYMENT_ID_GPT_4, openai_api_type="azuread", ) ``` The problem is that the get_token function returns a token with a ttl of 60 minutes. This requires us to recreate the chat object before the expiration reaches. I think it would be great if you could add an optional function as an argument which the AzureChatOpenAI class will trigger in the retry logic incase there is a 401 API error. Something that looks like this: ``` class AzureChatOpenAI(ChatOpenAI): # ..... other properties token_refresh_function: Optional[Callable[[], str]] = None # call this on the retry function... def _refresh_token_if_needed(self): if self.token_refresh_function: new_token = self.token_refresh_function() if new_token: self.client.api_key = new_token ``` ### Motivation The Azure models might have a more strict security requirements where the open_api key is a token with a short ttl. ### Your contribution I would love to help just don't have the time right now, but I shared a few snippets that might help..
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12632/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12631
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12631/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12631/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12631/events
https://github.com/langchain-ai/langchain/issues/12631
1,970,446,072
I_kwDOIPDwls51cp74
12,631
DOC: Import Error while creating SelfQueryRetriever
{ "login": "beinghasnain16", "id": 55703712, "node_id": "MDQ6VXNlcjU1NzAzNzEy", "avatar_url": "https://avatars.githubusercontent.com/u/55703712?v=4", "gravatar_id": "", "url": "https://api.github.com/users/beinghasnain16", "html_url": "https://github.com/beinghasnain16", "followers_url": "https://api.github.com/users/beinghasnain16/followers", "following_url": "https://api.github.com/users/beinghasnain16/following{/other_user}", "gists_url": "https://api.github.com/users/beinghasnain16/gists{/gist_id}", "starred_url": "https://api.github.com/users/beinghasnain16/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/beinghasnain16/subscriptions", "organizations_url": "https://api.github.com/users/beinghasnain16/orgs", "repos_url": "https://api.github.com/users/beinghasnain16/repos", "events_url": "https://api.github.com/users/beinghasnain16/events{/privacy}", "received_events_url": "https://api.github.com/users/beinghasnain16/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
open
false
null
[]
null
2
2023-10-31T13:12:27
2023-10-31T13:43:27
null
NONE
null
### Issue with current documentation: Import Error while creating SelfQueryRetriever `retriever = SelfQueryRetriever.from_llm( llm, vectordb, document_content_description, metadata_field_info, verbose=True)` The documentation mentions it requires lark but doesn't explicitly mention its version. I am getting an import error. <img width="810" alt="image" src="https://github.com/langchain-ai/langchain/assets/55703712/8380cd66-5e1f-4c91-8384-7649ca802be0"> ### Idea or request for content: The documentation should mention specifically that lark version greater then 1.1.5 is required. `pip install lark==1.1.5` <img width="529" alt="image" src="https://github.com/langchain-ai/langchain/assets/55703712/f054f70b-672a-4938-aaf2-4fbfa16cb051"> But this also didn't solve the issue.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12631/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12631/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12630
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12630/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12630/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12630/events
https://github.com/langchain-ai/langchain/pull/12630
1,970,204,246
PR_kwDOIPDwls5eN_41
12,630
Improve Runnable type inference for input_schemas
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T11:05:24
2023-10-31T15:15:18
2023-10-31T13:22:54
COLLABORATOR
null
- Prefer lambda type annotations over inferred dict schema - For sequences that start with RunnableAssign infer seq input type as "input type of 2nd item in sequence - output type of runnable assign"
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12630/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12630", "html_url": "https://github.com/langchain-ai/langchain/pull/12630", "diff_url": "https://github.com/langchain-ai/langchain/pull/12630.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12630.patch", "merged_at": "2023-10-31T13:22:54" }
https://api.github.com/repos/langchain-ai/langchain/issues/12629
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12629/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12629/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12629/events
https://github.com/langchain-ai/langchain/issues/12629
1,970,198,162
I_kwDOIPDwls51btaS
12,629
AttributeError: 'PGVector' object has no attribute 'CollectionStore'. Did you mean: 'collection_name'?
{ "login": "anirbanpuky", "id": 81764556, "node_id": "MDQ6VXNlcjgxNzY0NTU2", "avatar_url": "https://avatars.githubusercontent.com/u/81764556?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anirbanpuky", "html_url": "https://github.com/anirbanpuky", "followers_url": "https://api.github.com/users/anirbanpuky/followers", "following_url": "https://api.github.com/users/anirbanpuky/following{/other_user}", "gists_url": "https://api.github.com/users/anirbanpuky/gists{/gist_id}", "starred_url": "https://api.github.com/users/anirbanpuky/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anirbanpuky/subscriptions", "organizations_url": "https://api.github.com/users/anirbanpuky/orgs", "repos_url": "https://api.github.com/users/anirbanpuky/repos", "events_url": "https://api.github.com/users/anirbanpuky/events{/privacy}", "received_events_url": "https://api.github.com/users/anirbanpuky/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" } ]
open
false
null
[]
null
7
2023-10-31T11:02:09
2023-11-03T13:13:16
null
NONE
null
### System Info Langchain version. - 0.0.326 Python - 3.9.6 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction embeddings = HuggingFaceEmbeddings(model_name='all-MiniLM-L6-v2') CONNECTION_STRING = "postgresql+psycopg2://hwc@localhost:5432/test3" COLLECTION_NAME = "state_of_the_union_test" vectorestore = PGVector.from_documents( embedding=embeddings, documents=docs, collection_name=COLLECTION_NAME, connection_string=CONNECTION_STRING, ) Getting below error line 221, in get_collection return self.CollectionStore.get_by_name(session, self.collection_name) ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'PGVector' object has no attribute 'CollectionStore'. Did you mean: 'collection_name'? ### Expected behavior The embeddings should be stored in the database using pgvector.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12629/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/12629/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12627
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12627/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12627/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12627/events
https://github.com/langchain-ai/langchain/pull/12627
1,970,157,483
PR_kwDOIPDwls5eN1mv
12,627
Adding a template for Solo Performance Prompting Agent
{ "login": "Sandy247", "id": 24295927, "node_id": "MDQ6VXNlcjI0Mjk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/24295927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sandy247", "html_url": "https://github.com/Sandy247", "followers_url": "https://api.github.com/users/Sandy247/followers", "following_url": "https://api.github.com/users/Sandy247/following{/other_user}", "gists_url": "https://api.github.com/users/Sandy247/gists{/gist_id}", "starred_url": "https://api.github.com/users/Sandy247/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sandy247/subscriptions", "organizations_url": "https://api.github.com/users/Sandy247/orgs", "repos_url": "https://api.github.com/users/Sandy247/repos", "events_url": "https://api.github.com/users/Sandy247/events{/privacy}", "received_events_url": "https://api.github.com/users/Sandy247/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 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
null
[]
null
1
2023-10-31T10:38:54
2023-11-01T15:10:08
2023-11-01T15:10:08
CONTRIBUTOR
null
**Description:** This template creates an agent that transforms a single LLM into a cognitive synergist by engaging in multi-turn self-collaboration with multiple personas. **Tag maintainer:** @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12627/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12627", "html_url": "https://github.com/langchain-ai/langchain/pull/12627", "diff_url": "https://github.com/langchain-ai/langchain/pull/12627.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12627.patch", "merged_at": "2023-11-01T15:10:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/12626
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12626/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12626/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12626/events
https://github.com/langchain-ai/langchain/issues/12626
1,970,082,248
I_kwDOIPDwls51bRHI
12,626
How to use FewShotPromptTemplate and RunnableBranch combination?
{ "login": "NSObjects", "id": 17995427, "node_id": "MDQ6VXNlcjE3OTk1NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/17995427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NSObjects", "html_url": "https://github.com/NSObjects", "followers_url": "https://api.github.com/users/NSObjects/followers", "following_url": "https://api.github.com/users/NSObjects/following{/other_user}", "gists_url": "https://api.github.com/users/NSObjects/gists{/gist_id}", "starred_url": "https://api.github.com/users/NSObjects/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NSObjects/subscriptions", "organizations_url": "https://api.github.com/users/NSObjects/orgs", "repos_url": "https://api.github.com/users/NSObjects/repos", "events_url": "https://api.github.com/users/NSObjects/events{/privacy}", "received_events_url": "https://api.github.com/users/NSObjects/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
3
2023-10-31T10:03:04
2023-11-01T09:19:06
2023-11-01T09:19:06
NONE
null
``` langchain_chain = ( FewShotPromptTemplate( examples=examples, example_prompt=example_prompt, prefix=prefix, suffix="current time {now}\n{format_instructions} \n Question: {question} ", input_variables=["question", "now", "format_instructions"]) | ChatOpenAI() ) branch = RunnableBranch( (lambda x: "q1" in x["topic"].lower(), langchain_chain), llm=ChatTongyi())), (lambda x: "12" in x["topic"].lower(), anthropic_chain), general_chain, ) full_chain = {"topic": chain, "question": lambda x: x["question"], "now": now, "format_instructions": format_instructions} | branch print(full_chain.invoke({"question": "question"})) ```` I want to pass some parameters to the next chain after selecting the corresponding chain in RunnableBranch, here is the langchain_chain
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12626/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12626/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12625
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12625/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12625/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12625/events
https://github.com/langchain-ai/langchain/pull/12625
1,970,058,888
PR_kwDOIPDwls5eNfl6
12,625
LM Format Enforcer Integration + Sample Notebook
{ "login": "noamgat", "id": 1331304, "node_id": "MDQ6VXNlcjEzMzEzMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1331304?v=4", "gravatar_id": "", "url": "https://api.github.com/users/noamgat", "html_url": "https://github.com/noamgat", "followers_url": "https://api.github.com/users/noamgat/followers", "following_url": "https://api.github.com/users/noamgat/following{/other_user}", "gists_url": "https://api.github.com/users/noamgat/gists{/gist_id}", "starred_url": "https://api.github.com/users/noamgat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/noamgat/subscriptions", "organizations_url": "https://api.github.com/users/noamgat/orgs", "repos_url": "https://api.github.com/users/noamgat/repos", "events_url": "https://api.github.com/users/noamgat/events{/privacy}", "received_events_url": "https://api.github.com/users/noamgat/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-10-31T09:51:16
2023-10-31T16:49:01
2023-10-31T16:49:01
CONTRIBUTOR
null
## Description This PR adds support for [lm-format-enforcer](https://github.com/noamgat/lm-format-enforcer) to LangChain. ![image](https://raw.githubusercontent.com/noamgat/lm-format-enforcer/main/docs/Intro.webp) The library is similar to jsonformer / RELLM which are supported in Langchain, but has several advantages such as - Batching and Beam search support - More complete JSON Schema support - LLM has control over whitespace, improving quality - Better runtime performance due to only calling the LLM's generate() function once per generate() call. The integration is loosely based on the jsonformer integration in terms of project structure. ## Dependencies No compile-time dependency was added, but if `lm-format-enforcer` is not installed, a runtime error will occur if it is trying to be used. ## Tests Due to the integration modifying the internal parameters of the underlying huggingface transformer LLM, it is not possible to test without building a real LM, which requires internet access. So, similar to the jsonformer and RELLM integrations, the testing is via the notebook. ## Twitter Handle [@noamgat](https://twitter.com/noamgat) Looking forward to hearing feedback!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12625/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12625", "html_url": "https://github.com/langchain-ai/langchain/pull/12625", "diff_url": "https://github.com/langchain-ai/langchain/pull/12625.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12625.patch", "merged_at": "2023-10-31T16:49:01" }
https://api.github.com/repos/langchain-ai/langchain/issues/12624
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12624/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12624/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12624/events
https://github.com/langchain-ai/langchain/pull/12624
1,970,027,175
PR_kwDOIPDwls5eNYkI
12,624
Add TileDB vectorstore implementation
{ "login": "NikolaosPapailiou", "id": 115017354, "node_id": "U_kgDOBtsGig", "avatar_url": "https://avatars.githubusercontent.com/u/115017354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NikolaosPapailiou", "html_url": "https://github.com/NikolaosPapailiou", "followers_url": "https://api.github.com/users/NikolaosPapailiou/followers", "following_url": "https://api.github.com/users/NikolaosPapailiou/following{/other_user}", "gists_url": "https://api.github.com/users/NikolaosPapailiou/gists{/gist_id}", "starred_url": "https://api.github.com/users/NikolaosPapailiou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NikolaosPapailiou/subscriptions", "organizations_url": "https://api.github.com/users/NikolaosPapailiou/orgs", "repos_url": "https://api.github.com/users/NikolaosPapailiou/repos", "events_url": "https://api.github.com/users/NikolaosPapailiou/events{/privacy}", "received_events_url": "https://api.github.com/users/NikolaosPapailiou/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" } ]
closed
false
null
[]
null
2
2023-10-31T09:35:49
2023-11-03T09:59:44
2023-11-03T00:21:03
CONTRIBUTOR
null
- **Description:** Add [TileDB](https://tiledb.com) vectorstore implementation. TileDB offers ANN search capabilities using the [TileDB-Vector-Search](https://github.com/TileDB-Inc/TileDB-Vector-Search) module. It provides serverless execution of ANN queries and storage of vector indexes both on local disk and cloud object stores (i.e. AWS S3). More details in: - [Why TileDB as a Vector Database](https://tiledb.com/blog/why-tiledb-as-a-vector-database) - [TileDB 101: Vector Search](https://tiledb.com/blog/tiledb-101-vector-search) - **Twitter handle:** @tiledb
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12624/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12624", "html_url": "https://github.com/langchain-ai/langchain/pull/12624", "diff_url": "https://github.com/langchain-ai/langchain/pull/12624.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12624.patch", "merged_at": "2023-11-03T00:21:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/12623
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12623/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12623/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12623/events
https://github.com/langchain-ai/langchain/pull/12623
1,969,979,460
PR_kwDOIPDwls5eNN8X
12,623
bump 327
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T09:12:50
2023-10-31T09:18:10
2023-10-31T09:18:09
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12623/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12623/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12623", "html_url": "https://github.com/langchain-ai/langchain/pull/12623", "diff_url": "https://github.com/langchain-ai/langchain/pull/12623.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12623.patch", "merged_at": "2023-10-31T09:18:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/12622
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12622/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12622/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12622/events
https://github.com/langchain-ai/langchain/pull/12622
1,969,912,353
PR_kwDOIPDwls5eM_a2
12,622
added template to use Vertex Vector Search for q&a
{ "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": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
{ "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-10-31T08:34:01
2023-10-31T15:49:25
2023-10-31T15:49:25
CONTRIBUTOR
null
added template to use Vertex Vector Search for q&a
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12622/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12622/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12622", "html_url": "https://github.com/langchain-ai/langchain/pull/12622", "diff_url": "https://github.com/langchain-ai/langchain/pull/12622.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12622.patch", "merged_at": "2023-10-31T15:49:25" }
https://api.github.com/repos/langchain-ai/langchain/issues/12621
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12621/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12621/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12621/events
https://github.com/langchain-ai/langchain/issues/12621
1,969,872,868
I_kwDOIPDwls51ad_k
12,621
Issue: Creating Memory of QAChain , Making the llm not to answer from its own knowledge but rely on the context we provided
{ "login": "hassanfar00q", "id": 144198088, "node_id": "U_kgDOCJhJyA", "avatar_url": "https://avatars.githubusercontent.com/u/144198088?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hassanfar00q", "html_url": "https://github.com/hassanfar00q", "followers_url": "https://api.github.com/users/hassanfar00q/followers", "following_url": "https://api.github.com/users/hassanfar00q/following{/other_user}", "gists_url": "https://api.github.com/users/hassanfar00q/gists{/gist_id}", "starred_url": "https://api.github.com/users/hassanfar00q/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hassanfar00q/subscriptions", "organizations_url": "https://api.github.com/users/hassanfar00q/orgs", "repos_url": "https://api.github.com/users/hassanfar00q/repos", "events_url": "https://api.github.com/users/hassanfar00q/events{/privacy}", "received_events_url": "https://api.github.com/users/hassanfar00q/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "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-10-31T08:07:32
2023-10-31T08:28:48
null
NONE
null
### Issue you'd like to raise. I have created a retrieval QA project. In this project, I want to add memory to LLM so that it can also remember the previous chat. I have configured the LLM not to answer from its own knowledge but from the context I provided, and it is working fine. However, when I add memory to it, it starts to answer from its own knowledge if it is out of context. I just want the LLM to answer based on the context, remember the previous chat, and if the answer is out of context, it should simply state that it is out of context or something similar. Kindly help me or suggest me something which can work. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12621/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12620
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12620/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12620/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12620/events
https://github.com/langchain-ai/langchain/issues/12620
1,969,684,277
I_kwDOIPDwls51Zv81
12,620
Issue: Amazon Bedrock Cohere Command - Malformed input request: 2 schema violations found, please reformat your input and try again.
{ "login": "nishanth-k-10", "id": 138845690, "node_id": "U_kgDOCEad-g", "avatar_url": "https://avatars.githubusercontent.com/u/138845690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nishanth-k-10", "html_url": "https://github.com/nishanth-k-10", "followers_url": "https://api.github.com/users/nishanth-k-10/followers", "following_url": "https://api.github.com/users/nishanth-k-10/following{/other_user}", "gists_url": "https://api.github.com/users/nishanth-k-10/gists{/gist_id}", "starred_url": "https://api.github.com/users/nishanth-k-10/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nishanth-k-10/subscriptions", "organizations_url": "https://api.github.com/users/nishanth-k-10/orgs", "repos_url": "https://api.github.com/users/nishanth-k-10/repos", "events_url": "https://api.github.com/users/nishanth-k-10/events{/privacy}", "received_events_url": "https://api.github.com/users/nishanth-k-10/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" }, { "id": 5959659008, "node_id": "LA_kwDOIPDwls8AAAABYzkuAA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws", "name": "integration: aws", "color": "C5DEF5", "default": false, "description": "Related to Amazon Web Services (AWS) integrations" } ]
closed
false
null
[]
null
7
2023-10-31T05:43:21
2024-01-03T12:12:32
2023-11-02T04:56:45
NONE
null
### Issue you'd like to raise. I've have been trying to work with AWS bedrock Cohere command LLM with Langchain and I'm referring [https://github.com/aws-samples/rag-using-langchain-amazon-bedrock-and-opensearch/blob/main/ask-bedrock-with-rag.py](url) as source. **Below are few snippet of code that I'm working with,** def create_bedrock_llm(bedrock_client): bedrock_llm = Bedrock( model_id="cohere.command-text-v14", client=bedrock_client, verbose = True, model_kwargs={'temperature': 0} ) return bedrock_llm bedrock_client = bedrock_client = boto3.client(service_name="bedrock-runtime", region_name="us-east-1") llm = create_bedrock_llm(bedrock_client) template = """"Your are a expert financial reporter who analyzes performance of the company. The relevant information for answering the question is given below. Try to give detailed answer using the context available. If you don't know the answer, just say that you don't know, don't try to make up an answer. {context} Question: {question} Answer:""" prompt = PromptTemplate(template=template, input_variables=['context', 'question']) embedding = SentenceTransformerEmbeddings(model_name="all-MiniLM-L6-v2") db = Chroma(persist_directory=DB_CHROMA_PATH, embedding_function=embedding) retriever=db.as_retriever(search_kwargs={'k': 3}) qa = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=retriever, return_source_documents=True, chain_type_kwargs={"prompt": prompt, "verbose": True}, verbose=True) while True: query = input("\nEnter the query\n") if query.lower() == 'exit': break res = qa(query) print(res) **Error**: ValueError: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModel operation: Malformed input request: 2 schema violations found, please reformat your input and try again. ### Suggestion: I have tried with API request using invoke_model() function with the same prompt schema which worked perfectly fine and response was recieved.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12620/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12619
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12619/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12619/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12619/events
https://github.com/langchain-ai/langchain/pull/12619
1,969,645,555
PR_kwDOIPDwls5eMFrc
12,619
Adds version CLI command
{ "login": "jacoblee93", "id": 6952323, "node_id": "MDQ6VXNlcjY5NTIzMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacoblee93", "html_url": "https://github.com/jacoblee93", "followers_url": "https://api.github.com/users/jacoblee93/followers", "following_url": "https://api.github.com/users/jacoblee93/following{/other_user}", "gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}", "starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions", "organizations_url": "https://api.github.com/users/jacoblee93/orgs", "repos_url": "https://api.github.com/users/jacoblee93/repos", "events_url": "https://api.github.com/users/jacoblee93/events{/privacy}", "received_events_url": "https://api.github.com/users/jacoblee93/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-31T04:59:51
2023-10-31T21:50:05
2023-10-31T21:50:04
CONTRIBUTOR
null
Will be automatically bumped with `poetry version patch`. @efriis @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12619/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12619", "html_url": "https://github.com/langchain-ai/langchain/pull/12619", "diff_url": "https://github.com/langchain-ai/langchain/pull/12619.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12619.patch", "merged_at": "2023-10-31T21:50:04" }
https://api.github.com/repos/langchain-ai/langchain/issues/12618
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12618/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12618/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12618/events
https://github.com/langchain-ai/langchain/pull/12618
1,969,629,110
PR_kwDOIPDwls5eMCIN
12,618
Adds confirmation logs after creating a new project
{ "login": "jacoblee93", "id": 6952323, "node_id": "MDQ6VXNlcjY5NTIzMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6952323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacoblee93", "html_url": "https://github.com/jacoblee93", "followers_url": "https://api.github.com/users/jacoblee93/followers", "following_url": "https://api.github.com/users/jacoblee93/following{/other_user}", "gists_url": "https://api.github.com/users/jacoblee93/gists{/gist_id}", "starred_url": "https://api.github.com/users/jacoblee93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jacoblee93/subscriptions", "organizations_url": "https://api.github.com/users/jacoblee93/orgs", "repos_url": "https://api.github.com/users/jacoblee93/repos", "events_url": "https://api.github.com/users/jacoblee93/events{/privacy}", "received_events_url": "https://api.github.com/users/jacoblee93/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
open
false
null
[]
null
1
2023-10-31T04:39:33
2023-10-31T04:39:58
null
CONTRIBUTOR
null
@efriis @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12618/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12618", "html_url": "https://github.com/langchain-ai/langchain/pull/12618", "diff_url": "https://github.com/langchain-ai/langchain/pull/12618.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12618.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12616
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12616/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12616/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12616/events
https://github.com/langchain-ai/langchain/issues/12616
1,969,528,605
I_kwDOIPDwls51ZJ8d
12,616
PGVector __post_init__ was removed in 0.0.326
{ "login": "GhimBoon", "id": 92513442, "node_id": "U_kgDOBYOkog", "avatar_url": "https://avatars.githubusercontent.com/u/92513442?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GhimBoon", "html_url": "https://github.com/GhimBoon", "followers_url": "https://api.github.com/users/GhimBoon/followers", "following_url": "https://api.github.com/users/GhimBoon/following{/other_user}", "gists_url": "https://api.github.com/users/GhimBoon/gists{/gist_id}", "starred_url": "https://api.github.com/users/GhimBoon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GhimBoon/subscriptions", "organizations_url": "https://api.github.com/users/GhimBoon/orgs", "repos_url": "https://api.github.com/users/GhimBoon/repos", "events_url": "https://api.github.com/users/GhimBoon/events{/privacy}", "received_events_url": "https://api.github.com/users/GhimBoon/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" } ]
open
false
null
[]
null
1
2023-10-31T02:40:48
2023-10-31T02:48:51
null
NONE
null
### System Info Langchain: 0.0.326 __post_init__ in __init__ accidentally removed in: https://github.com/langchain-ai/langchain/commit/2c58dca5f0ca946421ef9b7cc8149d38537ee466 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction 1. Use PGVector 2. lib/python3.11/site-packages/langchain/vectorstores/pgvector.py", line 497, in from_texts embeddings = embedding.embed_documents(list(texts)) ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'embed_documents' ### Expected behavior PGVector should have __post_init__ to initialize the collection
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12616/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12616/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12615
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12615/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12615/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12615/events
https://github.com/langchain-ai/langchain/pull/12615
1,969,514,538
PR_kwDOIPDwls5eLpXP
12,615
Readme rewrite
{ "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" } ]
closed
false
null
[]
null
1
2023-10-31T02:23:01
2023-10-31T15:30:45
2023-10-31T07:06:03
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12615/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12615", "html_url": "https://github.com/langchain-ai/langchain/pull/12615", "diff_url": "https://github.com/langchain-ai/langchain/pull/12615.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12615.patch", "merged_at": "2023-10-31T07:06:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/12614
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12614/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12614/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12614/events
https://github.com/langchain-ai/langchain/issues/12614
1,969,450,626
I_kwDOIPDwls51Y26C
12,614
Better Math Chain
{ "login": "kenhuang1964", "id": 87556616, "node_id": "MDQ6VXNlcjg3NTU2NjE2", "avatar_url": "https://avatars.githubusercontent.com/u/87556616?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kenhuang1964", "html_url": "https://github.com/kenhuang1964", "followers_url": "https://api.github.com/users/kenhuang1964/followers", "following_url": "https://api.github.com/users/kenhuang1964/following{/other_user}", "gists_url": "https://api.github.com/users/kenhuang1964/gists{/gist_id}", "starred_url": "https://api.github.com/users/kenhuang1964/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kenhuang1964/subscriptions", "organizations_url": "https://api.github.com/users/kenhuang1964/orgs", "repos_url": "https://api.github.com/users/kenhuang1964/repos", "events_url": "https://api.github.com/users/kenhuang1964/events{/privacy}", "received_events_url": "https://api.github.com/users/kenhuang1964/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" } ]
closed
false
null
[]
null
0
2023-10-31T00:59:14
2023-10-31T01:59:39
2023-10-31T01:59:39
NONE
null
### Feature request Currently, there are two separate chains for math: LLMSymbolicMathChain and LLMMathChain. Is there a way to get the best of both words? ### Motivation Sometimes it is better to use one over the other for my app, but currently, I can only use one. ### Your contribution Not that I know of.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12614/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12614/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12612
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12612/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12612/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12612/events
https://github.com/langchain-ai/langchain/pull/12612
1,969,426,337
PR_kwDOIPDwls5eLWzC
12,612
Add RAG example for Astra DB
{ "login": "erichare", "id": 700235, "node_id": "MDQ6VXNlcjcwMDIzNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/700235?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erichare", "html_url": "https://github.com/erichare", "followers_url": "https://api.github.com/users/erichare/followers", "following_url": "https://api.github.com/users/erichare/following{/other_user}", "gists_url": "https://api.github.com/users/erichare/gists{/gist_id}", "starred_url": "https://api.github.com/users/erichare/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erichare/subscriptions", "organizations_url": "https://api.github.com/users/erichare/orgs", "repos_url": "https://api.github.com/users/erichare/repos", "events_url": "https://api.github.com/users/erichare/events{/privacy}", "received_events_url": "https://api.github.com/users/erichare/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": 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
4
2023-10-31T00:24:16
2023-11-03T20:43:54
2023-11-03T20:35:50
NONE
null
- **Description:** This PR adds a simple RAG example using Cassandra / Astra DB, powered by cassio on the backend. - **Dependencies:** cassio>=0.1.3
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12612/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12612", "html_url": "https://github.com/langchain-ai/langchain/pull/12612", "diff_url": "https://github.com/langchain-ai/langchain/pull/12612.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12612.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12611
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12611/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12611/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12611/events
https://github.com/langchain-ai/langchain/pull/12611
1,969,419,833
PR_kwDOIPDwls5eLVbV
12,611
bump cli to 009
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-31T00:16:42
2023-10-31T01:12:09
2023-10-31T01:12:08
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12611/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12611/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12611", "html_url": "https://github.com/langchain-ai/langchain/pull/12611", "diff_url": "https://github.com/langchain-ai/langchain/pull/12611.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12611.patch", "merged_at": "2023-10-31T01:12:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/12610
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12610/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12610/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12610/events
https://github.com/langchain-ai/langchain/pull/12610
1,969,398,551
PR_kwDOIPDwls5eLQzt
12,610
run poetry build in working dir
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-30T23:50:18
2023-10-30T23:58:35
2023-10-30T23:58:34
COLLABORATOR
null
Was failing because was trying to build from root: https://github.com/langchain-ai/langchain/actions/runs/6700033981/job/18205251365
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12610/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12610/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12610", "html_url": "https://github.com/langchain-ai/langchain/pull/12610", "diff_url": "https://github.com/langchain-ai/langchain/pull/12610.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12610.patch", "merged_at": "2023-10-30T23:58:34" }
https://api.github.com/repos/langchain-ai/langchain/issues/12609
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12609/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12609/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12609/events
https://github.com/langchain-ai/langchain/pull/12609
1,969,396,398
PR_kwDOIPDwls5eLQWN
12,609
add guardrails profanity
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-30T23:47:35
2023-10-31T00:01:24
2023-10-31T00:01:24
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12609/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12609/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12609", "html_url": "https://github.com/langchain-ai/langchain/pull/12609", "diff_url": "https://github.com/langchain-ai/langchain/pull/12609.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12609.patch", "merged_at": "2023-10-31T00:01:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/12608
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12608/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12608/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12608/events
https://github.com/langchain-ai/langchain/pull/12608
1,969,387,960
PR_kwDOIPDwls5eLOhm
12,608
VoyageEmbeddings
{ "login": "thomas0809", "id": 11373553, "node_id": "MDQ6VXNlcjExMzczNTUz", "avatar_url": "https://avatars.githubusercontent.com/u/11373553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomas0809", "html_url": "https://github.com/thomas0809", "followers_url": "https://api.github.com/users/thomas0809/followers", "following_url": "https://api.github.com/users/thomas0809/following{/other_user}", "gists_url": "https://api.github.com/users/thomas0809/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomas0809/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomas0809/subscriptions", "organizations_url": "https://api.github.com/users/thomas0809/orgs", "repos_url": "https://api.github.com/users/thomas0809/repos", "events_url": "https://api.github.com/users/thomas0809/events{/privacy}", "received_events_url": "https://api.github.com/users/thomas0809/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-30T23:37:15
2023-10-31T01:37:44
2023-10-31T01:37:44
CONTRIBUTOR
null
- **Description:** Integrate VoyageEmbeddings into LangChain, with tests and docs - **Issue:** N/A - **Dependencies:** N/A - **Tag maintainer:** N/A - **Twitter handle:** @Voyage_AI_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12608/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12608/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12608", "html_url": "https://github.com/langchain-ai/langchain/pull/12608", "diff_url": "https://github.com/langchain-ai/langchain/pull/12608.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12608.patch", "merged_at": "2023-10-31T01:37:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/12607
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12607/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12607/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12607/events
https://github.com/langchain-ai/langchain/pull/12607
1,969,380,685
PR_kwDOIPDwls5eLM8l
12,607
cli should pull instead of delete+clone
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-30T23:28:33
2023-10-30T23:52:39
2023-10-30T23:44:09
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12607/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12607", "html_url": "https://github.com/langchain-ai/langchain/pull/12607", "diff_url": "https://github.com/langchain-ai/langchain/pull/12607.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12607.patch", "merged_at": "2023-10-30T23:44:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/12606
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12606/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12606/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12606/events
https://github.com/langchain-ai/langchain/pull/12606
1,969,371,482
PR_kwDOIPDwls5eLK6Z
12,606
Hybrid Search Weaviate Template
{ "login": "erika-cardenas", "id": 110841617, "node_id": "U_kgDOBptPEQ", "avatar_url": "https://avatars.githubusercontent.com/u/110841617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erika-cardenas", "html_url": "https://github.com/erika-cardenas", "followers_url": "https://api.github.com/users/erika-cardenas/followers", "following_url": "https://api.github.com/users/erika-cardenas/following{/other_user}", "gists_url": "https://api.github.com/users/erika-cardenas/gists{/gist_id}", "starred_url": "https://api.github.com/users/erika-cardenas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erika-cardenas/subscriptions", "organizations_url": "https://api.github.com/users/erika-cardenas/orgs", "repos_url": "https://api.github.com/users/erika-cardenas/repos", "events_url": "https://api.github.com/users/erika-cardenas/events{/privacy}", "received_events_url": "https://api.github.com/users/erika-cardenas/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-30T23:17:59
2023-10-31T16:46:25
2023-10-31T01:10:48
CONTRIBUTOR
null
- **Description:** This template covers hybrid search in Weaviate - **Dependencies:** No - **Twitter handle:** @ecardenas300
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12606/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12606/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12606", "html_url": "https://github.com/langchain-ai/langchain/pull/12606", "diff_url": "https://github.com/langchain-ai/langchain/pull/12606.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12606.patch", "merged_at": "2023-10-31T01:10:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/12605
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12605/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12605/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12605/events
https://github.com/langchain-ai/langchain/pull/12605
1,969,369,835
PR_kwDOIPDwls5eLKjU
12,605
refactor: Code Refactoring of Vertex AI Components
{ "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": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
7
2023-10-30T23:16:00
2023-11-29T01:07:15
null
CONTRIBUTOR
null
- Improved Readability/Efficiency by Code Refactoring of Vertex AI Components - Fixes #11961 - Adds error handling for aiplatform versions <1.35.0 <!-- 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/12605/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12605/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12605", "html_url": "https://github.com/langchain-ai/langchain/pull/12605", "diff_url": "https://github.com/langchain-ai/langchain/pull/12605.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12605.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12604
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12604/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12604/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12604/events
https://github.com/langchain-ai/langchain/pull/12604
1,969,363,395
PR_kwDOIPDwls5eLJJY
12,604
remove poetry from cli
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-10-30T23:09:09
2023-10-30T23:14:45
2023-10-30T23:14:44
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12604/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12604", "html_url": "https://github.com/langchain-ai/langchain/pull/12604", "diff_url": "https://github.com/langchain-ai/langchain/pull/12604.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12604.patch", "merged_at": "2023-10-30T23:14:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/12603
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12603/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12603/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12603/events
https://github.com/langchain-ai/langchain/pull/12603
1,969,355,245
PR_kwDOIPDwls5eLHXH
12,603
Fix very small typo
{ "login": "BrianMcBrayer", "id": 7584774, "node_id": "MDQ6VXNlcjc1ODQ3NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7584774?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BrianMcBrayer", "html_url": "https://github.com/BrianMcBrayer", "followers_url": "https://api.github.com/users/BrianMcBrayer/followers", "following_url": "https://api.github.com/users/BrianMcBrayer/following{/other_user}", "gists_url": "https://api.github.com/users/BrianMcBrayer/gists{/gist_id}", "starred_url": "https://api.github.com/users/BrianMcBrayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BrianMcBrayer/subscriptions", "organizations_url": "https://api.github.com/users/BrianMcBrayer/orgs", "repos_url": "https://api.github.com/users/BrianMcBrayer/repos", "events_url": "https://api.github.com/users/BrianMcBrayer/events{/privacy}", "received_events_url": "https://api.github.com/users/BrianMcBrayer/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-10-30T22:59:45
2023-10-31T01:14:02
2023-10-30T23:30:18
CONTRIBUTOR
null
- **Description:** this is the world's smallest typo change of a typo I saw while reading the docs
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12603/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12603/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12603", "html_url": "https://github.com/langchain-ai/langchain/pull/12603", "diff_url": "https://github.com/langchain-ai/langchain/pull/12603.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12603.patch", "merged_at": "2023-10-30T23:30:18" }
https://api.github.com/repos/langchain-ai/langchain/issues/12602
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12602/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12602/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12602/events
https://github.com/langchain-ai/langchain/pull/12602
1,969,348,525
PR_kwDOIPDwls5eLF0r
12,602
add emailfrompdf capability
{ "login": "tevslin", "id": 26681478, "node_id": "MDQ6VXNlcjI2NjgxNDc4", "avatar_url": "https://avatars.githubusercontent.com/u/26681478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tevslin", "html_url": "https://github.com/tevslin", "followers_url": "https://api.github.com/users/tevslin/followers", "following_url": "https://api.github.com/users/tevslin/following{/other_user}", "gists_url": "https://api.github.com/users/tevslin/gists{/gist_id}", "starred_url": "https://api.github.com/users/tevslin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tevslin/subscriptions", "organizations_url": "https://api.github.com/users/tevslin/orgs", "repos_url": "https://api.github.com/users/tevslin/repos", "events_url": "https://api.github.com/users/tevslin/events{/privacy}", "received_events_url": "https://api.github.com/users/tevslin/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
open
false
null
[]
null
4
2023-10-30T22:54:57
2023-11-03T19:35:40
null
NONE
null
Description: This adds a document loader to extract content and metadata from email and email-like memos which have been saved in .pdf format rather than retrieved from outlook, exchange or gmail or saved in ,eml format. metadata includes, to, cc, from, subject, date and the names of any inline-images or attachments. This is likely to be especially useful for wading through a response to public record requests. Issue: email with metadata from pdfs langchain-ai/langchain#12494 Dependencies: dateparser pdf2image pytesseract Twitter handle: tevslin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12602/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12602", "html_url": "https://github.com/langchain-ai/langchain/pull/12602", "diff_url": "https://github.com/langchain-ai/langchain/pull/12602.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12602.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12601
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12601/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12601/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12601/events
https://github.com/langchain-ai/langchain/issues/12601
1,969,345,542
I_kwDOIPDwls51YdQG
12,601
DataFrameLoader accepts ONLY one column and by default labeled as "text"
{ "login": "Hadi2525", "id": 23264077, "node_id": "MDQ6VXNlcjIzMjY0MDc3", "avatar_url": "https://avatars.githubusercontent.com/u/23264077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hadi2525", "html_url": "https://github.com/Hadi2525", "followers_url": "https://api.github.com/users/Hadi2525/followers", "following_url": "https://api.github.com/users/Hadi2525/following{/other_user}", "gists_url": "https://api.github.com/users/Hadi2525/gists{/gist_id}", "starred_url": "https://api.github.com/users/Hadi2525/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hadi2525/subscriptions", "organizations_url": "https://api.github.com/users/Hadi2525/orgs", "repos_url": "https://api.github.com/users/Hadi2525/repos", "events_url": "https://api.github.com/users/Hadi2525/events{/privacy}", "received_events_url": "https://api.github.com/users/Hadi2525/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" }, { "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
5
2023-10-30T22:51:00
2023-10-31T04:00:06
null
NONE
null
I am working with a DataFrame that has multiple columns to get their text. Why is the method only accepts one column as input? Here is the reference to the line of the code: https://github.com/langchain-ai/langchain/blob/481bf6fae695653c52b26895292a40cf010c08e2/libs/langchain/langchain/document_loaders/dataframe.py#L36C71-L36C71
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12601/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12601/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12600
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12600/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12600/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12600/events
https://github.com/langchain-ai/langchain/pull/12600
1,969,340,450
PR_kwDOIPDwls5eLEDE
12,600
Add support for using metadata vars to form llm prompts. Add test cas…
{ "login": "sudranga", "id": 12044110, "node_id": "MDQ6VXNlcjEyMDQ0MTEw", "avatar_url": "https://avatars.githubusercontent.com/u/12044110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sudranga", "html_url": "https://github.com/sudranga", "followers_url": "https://api.github.com/users/sudranga/followers", "following_url": "https://api.github.com/users/sudranga/following{/other_user}", "gists_url": "https://api.github.com/users/sudranga/gists{/gist_id}", "starred_url": "https://api.github.com/users/sudranga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sudranga/subscriptions", "organizations_url": "https://api.github.com/users/sudranga/orgs", "repos_url": "https://api.github.com/users/sudranga/repos", "events_url": "https://api.github.com/users/sudranga/events{/privacy}", "received_events_url": "https://api.github.com/users/sudranga/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-10-30T22:45:24
2023-11-03T11:58:59
null
CONTRIBUTOR
null
The LLM chain does allow prompt variables to be filled in by metadata variables. This commit allows for this. Also, an example for a structured chat agent that shows how metadata can be passed and used by a tool (Discussion here: https://github.com/langchain-ai/langchain/issues/12410)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12600/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12600/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12600", "html_url": "https://github.com/langchain-ai/langchain/pull/12600", "diff_url": "https://github.com/langchain-ai/langchain/pull/12600.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12600.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12599
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12599/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12599/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12599/events
https://github.com/langchain-ai/langchain/pull/12599
1,969,330,169
PR_kwDOIPDwls5eLBwb
12,599
Fixed missing optional tags. Added default key value for Ollama
{ "login": "herrjemand", "id": 1636116, "node_id": "MDQ6VXNlcjE2MzYxMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/1636116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/herrjemand", "html_url": "https://github.com/herrjemand", "followers_url": "https://api.github.com/users/herrjemand/followers", "following_url": "https://api.github.com/users/herrjemand/following{/other_user}", "gists_url": "https://api.github.com/users/herrjemand/gists{/gist_id}", "starred_url": "https://api.github.com/users/herrjemand/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/herrjemand/subscriptions", "organizations_url": "https://api.github.com/users/herrjemand/orgs", "repos_url": "https://api.github.com/users/herrjemand/repos", "events_url": "https://api.github.com/users/herrjemand/events{/privacy}", "received_events_url": "https://api.github.com/users/herrjemand/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" } ]
closed
false
null
[]
null
2
2023-10-30T22:34:50
2023-10-30T23:30:10
2023-10-30T23:30:10
CONTRIBUTOR
null
Added missing Optional typings. Added default values for Ollama optional keys.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12599/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12599", "html_url": "https://github.com/langchain-ai/langchain/pull/12599", "diff_url": "https://github.com/langchain-ai/langchain/pull/12599.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12599.patch", "merged_at": "2023-10-30T23:30:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/12597
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12597/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12597/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12597/events
https://github.com/langchain-ai/langchain/pull/12597
1,969,326,765
PR_kwDOIPDwls5eLA_4
12,597
Codebase RAG fireworks
{ "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": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-30T22:31:40
2023-10-30T23:21:57
2023-10-30T23:21:56
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12597/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12597/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12597", "html_url": "https://github.com/langchain-ai/langchain/pull/12597", "diff_url": "https://github.com/langchain-ai/langchain/pull/12597.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12597.patch", "merged_at": "2023-10-30T23:21:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/12596
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12596/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12596/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12596/events
https://github.com/langchain-ai/langchain/pull/12596
1,969,305,752
PR_kwDOIPDwls5eK8WH
12,596
Fix BeautifulSoupTransformer: no more duplicates and correct order of tags + tests
{ "login": "petervandenabeele", "id": 55656, "node_id": "MDQ6VXNlcjU1NjU2", "avatar_url": "https://avatars.githubusercontent.com/u/55656?v=4", "gravatar_id": "", "url": "https://api.github.com/users/petervandenabeele", "html_url": "https://github.com/petervandenabeele", "followers_url": "https://api.github.com/users/petervandenabeele/followers", "following_url": "https://api.github.com/users/petervandenabeele/following{/other_user}", "gists_url": "https://api.github.com/users/petervandenabeele/gists{/gist_id}", "starred_url": "https://api.github.com/users/petervandenabeele/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/petervandenabeele/subscriptions", "organizations_url": "https://api.github.com/users/petervandenabeele/orgs", "repos_url": "https://api.github.com/users/petervandenabeele/repos", "events_url": "https://api.github.com/users/petervandenabeele/events{/privacy}", "received_events_url": "https://api.github.com/users/petervandenabeele/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
7
2023-10-30T22:12:10
2023-11-11T08:56:59
2023-11-11T08:56:37
CONTRIBUTOR
null
- **Description:** Fix extracting nested tags in correct order and without duplication - **Issue:** None - **Dependencies:** None - **Tag maintainer:** @baskaryan reviewed and merged my previous similar PR - **Twitter handle:** peter_v Run `make format`, `make lint` and `make test` => OK
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12596/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12596/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12596", "html_url": "https://github.com/langchain-ai/langchain/pull/12596", "diff_url": "https://github.com/langchain-ai/langchain/pull/12596.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12596.patch", "merged_at": "2023-11-11T08:56:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/12595
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12595/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12595/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12595/events
https://github.com/langchain-ai/langchain/pull/12595
1,969,304,508
PR_kwDOIPDwls5eK8EI
12,595
docs: removed DocCardList in `guides/` indexes
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
{ "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
6
2023-10-30T22:10:53
2023-11-06T11:33:49
2023-11-06T11:33:48
COLLABORATOR
null
Removed unnecessary `DocCardList` in the `index` files. They create unnecessary duplicate of ToC in the end of pages (we also have ToC on sidebars). this PR is continuing after #12745 12307 Problem statement: Here is an [example](https://python.langchain.com/docs/integrations/document_transformers). We have a sidebar with Toc and we also have a ToC at the end of the page. The ToC at the end of the page is not necessary and it is confusing when we mix the index page styles, moreover, it requires manual work. So, instead of the generated index.mdx pages with CardLists, I've created them manually with small text about an entity
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12595/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12595/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12595", "html_url": "https://github.com/langchain-ai/langchain/pull/12595", "diff_url": "https://github.com/langchain-ai/langchain/pull/12595.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12595.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12594
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12594/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12594/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12594/events
https://github.com/langchain-ai/langchain/pull/12594
1,969,286,918
PR_kwDOIPDwls5eK4Lz
12,594
Remove `black` caching config from CI lint workflow.
{ "login": "obi1kenobi", "id": 2348618, "node_id": "MDQ6VXNlcjIzNDg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/obi1kenobi", "html_url": "https://github.com/obi1kenobi", "followers_url": "https://api.github.com/users/obi1kenobi/followers", "following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}", "gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}", "starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions", "organizations_url": "https://api.github.com/users/obi1kenobi/orgs", "repos_url": "https://api.github.com/users/obi1kenobi/repos", "events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}", "received_events_url": "https://api.github.com/users/obi1kenobi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-10-30T21:54:47
2023-11-01T01:39:06
2023-11-01T01:39:05
COLLABORATOR
null
To merge after #12585 is merged.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12594/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12594", "html_url": "https://github.com/langchain-ai/langchain/pull/12594", "diff_url": "https://github.com/langchain-ai/langchain/pull/12594.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12594.patch", "merged_at": "2023-11-01T01:39:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/12593
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12593/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12593/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12593/events
https://github.com/langchain-ai/langchain/pull/12593
1,969,286,704
PR_kwDOIPDwls5eK4I7
12,593
factor out to_secret
{ "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": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-10-30T21:54:35
2023-10-30T22:10:26
2023-10-30T22:10:25
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12593/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12593/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12593", "html_url": "https://github.com/langchain-ai/langchain/pull/12593", "diff_url": "https://github.com/langchain-ai/langchain/pull/12593.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12593.patch", "merged_at": "2023-10-30T22:10:25" }
https://api.github.com/repos/langchain-ai/langchain/issues/12592
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12592/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12592/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12592/events
https://github.com/langchain-ai/langchain/pull/12592
1,969,273,915
PR_kwDOIPDwls5eK1TJ
12,592
PGVector fix
{ "login": "theromis", "id": 3720229, "node_id": "MDQ6VXNlcjM3MjAyMjk=", "avatar_url": "https://avatars.githubusercontent.com/u/3720229?v=4", "gravatar_id": "", "url": "https://api.github.com/users/theromis", "html_url": "https://github.com/theromis", "followers_url": "https://api.github.com/users/theromis/followers", "following_url": "https://api.github.com/users/theromis/following{/other_user}", "gists_url": "https://api.github.com/users/theromis/gists{/gist_id}", "starred_url": "https://api.github.com/users/theromis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theromis/subscriptions", "organizations_url": "https://api.github.com/users/theromis/orgs", "repos_url": "https://api.github.com/users/theromis/repos", "events_url": "https://api.github.com/users/theromis/events{/privacy}", "received_events_url": "https://api.github.com/users/theromis/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false } ]
null
1
2023-10-30T21:44:16
2023-10-31T21:01:16
2023-10-31T21:01:16
CONTRIBUTOR
null
latest release broken, this fixes it
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12592/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/12592/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12592", "html_url": "https://github.com/langchain-ai/langchain/pull/12592", "diff_url": "https://github.com/langchain-ai/langchain/pull/12592.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12592.patch", "merged_at": "2023-10-31T21:01:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/12591
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12591/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12591/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12591/events
https://github.com/langchain-ai/langchain/issues/12591
1,969,256,873
I_kwDOIPDwls51YHmp
12,591
Summarization: documentation example not replicable. Invalid response object from API together/or w/ reponse time error
{ "login": "sfc-gh-syang", "id": 66184093, "node_id": "MDQ6VXNlcjY2MTg0MDkz", "avatar_url": "https://avatars.githubusercontent.com/u/66184093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-syang", "html_url": "https://github.com/sfc-gh-syang", "followers_url": "https://api.github.com/users/sfc-gh-syang/followers", "following_url": "https://api.github.com/users/sfc-gh-syang/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-syang/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-syang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-syang/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-syang/orgs", "repos_url": "https://api.github.com/users/sfc-gh-syang/repos", "events_url": "https://api.github.com/users/sfc-gh-syang/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-syang/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": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
1
2023-10-30T21:29:38
2023-10-31T00:40:51
null
NONE
null
### System Info Trying to replicate the basic langchain summarization type = Stuff usage as on [website documentation](https://python.langchain.com/docs/use_cases/summarization), but it is not able to process long doc. Test model used: meta-llama/Llama-2-7b-chat-hf Test result: tried its original demo code, it did not work, and gives two types of error alternatively after dozens of trials: **Error 1:** timeout error (I've referred to the [related langchain timeout discussion](https://github.com/langchain-ai/langchain/issues/3005) here to increase request_timeout=600/3600 secs, but still get the timeout error. checked my host is on) **Error 2:** Invalid response object from API Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.._completion_with_retry in 4.0 seconds as it raised APIError: Invalid response object from API: '{"object":"error","message":"Expecting value: line 1 column 1 (char 0)","code":50001}' (HTTP response code was 400). ### Who can help? Hi @hwchase17 , include this issue with you, as I am using llm **chat wrappers** like `from langchain.llms.openai import OpenAI`, `from langchain.chains.combine_documents.stuff import StuffDocumentsChain` and `from langchain.chains.summarize import load_summarize_chain` etc and error comes from there Hi @agola11 , include you w/ this issue re **callbacks**, as in the errors mentioned above, the Error2: goes to -> --> stuff_chainself.combine_docs(docs, callbacks=_run_manager.get_child(), **other_keys) --> 171 return self.llm_chain.predict(callbacks=callbacks, **inputs) --> 257 return self(kwargs, callbacks=callbacks)[self.output_key] --> 310 raise e --> 304 self._call(inputs, run_manager=run_manager) ---> 93 response = self.generate([inputs], run_manager=run_manager) ### 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 - [X] Chains - [X] Callbacks/Tracing - [ ] Async ### Reproduction To get something out from langchain summarization, I downsized the model from llama2-7b to "Sheared-LLaMA-1.3B" and replaced the original example's doc with a shorter doc "". I can see from langchain w/ verbose started w/ > Entering new StuffDocumentsChain chain..., > Entering new LLMChain chain... w/ print out the original full doc, but it returns'> Finished chain. returns "Got any creative ideas for a 10 year old’s birthday?"' ``` from langchain.chat_models import ChatOpenAI from langchain.chains.llm import LLMChain from langchain.prompts import PromptTemplate from langchain.chains.combine_documents.stuff import StuffDocumentsChain prompt_template = """Write a concise summary of the following: "{text}" CONCISE SUMMARY:""" prompt = PromptTemplate.from_template(prompt_template) llm = ChatOpenAI(verbose = True , temperature=0.1 , model_name=model_name , openai_api_key = "EMPTY" , openai_api_base = "http://localhost:8000/v1" , request_timeout=600 , max_retries=1) llm_chain = LLMChain(llm=llm, prompt=prompt, verbose = True) stuff_chain = StuffDocumentsChain( llm_chain=llm_chain, document_variable_name="text" ) loader = WebBaseLoader("https://huggingface.co/princeton-nlp/Sheared-LLaMA-1.3B") docs = loader.load() print(stuff_chain.run(docs )) ``` But I got strange result as below: <img width="692" alt="image" src="https://github.com/langchain-ai/langchain/assets/66184093/ef38f029-9d0c-401e-8b66-7312e44d75b8"> (my local host heart beats well) Try the same code with a small piece of business-related conversation doc(~ 1k words) w/ StuffDocumentsChain returns something relevant, but load_summarize_chain only gives <img width="713" alt="image" src="https://github.com/langchain-ai/langchain/assets/66184093/0d776be5-1288-49c7-8f6f-ec41171ce2c1"> More problem comes, when I double the size on my test doc(4k words, definitely have to be>4096 tokens, that's the point of using summarization), it returns Error 1 and Error 2 mentioned at the beginning, same as attempting replication langchain documentation, so get the trouble it is not able to process long doc gain. ### Expected behavior returns some relavent result. though understand it does not have to be good, as I am using toy model 1.3Brelevant
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12591/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/12590
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12590/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12590/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12590/events
https://github.com/langchain-ai/langchain/pull/12590
1,969,251,185
PR_kwDOIPDwls5eKwSq
12,590
Conversational Feedback
{ "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": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-10-30T21:25:00
2023-10-31T15:34:20
2023-10-31T15:34:19
COLLABORATOR
null
Context in the README. Show how score chat responses based on a followup from the user and then log that as feedback in LangSmith
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12590/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12590/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12590", "html_url": "https://github.com/langchain-ai/langchain/pull/12590", "diff_url": "https://github.com/langchain-ai/langchain/pull/12590.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12590.patch", "merged_at": "2023-10-31T15:34:19" }
https://api.github.com/repos/langchain-ai/langchain/issues/12589
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12589/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12589/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12589/events
https://github.com/langchain-ai/langchain/pull/12589
1,969,219,289
PR_kwDOIPDwls5eKpRN
12,589
hosting note
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-10-30T21:02:43
2023-10-30T22:31:32
2023-10-30T22:31:31
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/12589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12589/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12589", "html_url": "https://github.com/langchain-ai/langchain/pull/12589", "diff_url": "https://github.com/langchain-ai/langchain/pull/12589.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12589.patch", "merged_at": "2023-10-30T22:31:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/12588
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12588/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12588/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12588/events
https://github.com/langchain-ai/langchain/pull/12588
1,969,175,377
PR_kwDOIPDwls5eKfV0
12,588
Add RAG template for Timescale Vector
{ "login": "cevian", "id": 112245, "node_id": "MDQ6VXNlcjExMjI0NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/112245?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cevian", "html_url": "https://github.com/cevian", "followers_url": "https://api.github.com/users/cevian/followers", "following_url": "https://api.github.com/users/cevian/following{/other_user}", "gists_url": "https://api.github.com/users/cevian/gists{/gist_id}", "starred_url": "https://api.github.com/users/cevian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cevian/subscriptions", "organizations_url": "https://api.github.com/users/cevian/orgs", "repos_url": "https://api.github.com/users/cevian/repos", "events_url": "https://api.github.com/users/cevian/events{/privacy}", "received_events_url": "https://api.github.com/users/cevian/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
3
2023-10-30T20:39:24
2023-10-31T17:00:05
2023-10-31T16:59:44
CONTRIBUTOR
null
**Description:** Add RAG template for Timescale Vector Also fix UTM links to ensure 90-day trial. <!-- 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/12588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12588/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12588", "html_url": "https://github.com/langchain-ai/langchain/pull/12588", "diff_url": "https://github.com/langchain-ai/langchain/pull/12588.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12588.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/12586
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/12586/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/12586/comments
https://api.github.com/repos/langchain-ai/langchain/issues/12586/events
https://github.com/langchain-ai/langchain/pull/12586
1,969,166,672
PR_kwDOIPDwls5eKdZX
12,586
Feat auto hftextgen
{ "login": "dcbark01", "id": 16838332, "node_id": "MDQ6VXNlcjE2ODM4MzMy", "avatar_url": "https://avatars.githubusercontent.com/u/16838332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dcbark01", "html_url": "https://github.com/dcbark01", "followers_url": "https://api.github.com/users/dcbark01/followers", "following_url": "https://api.github.com/users/dcbark01/following{/other_user}", "gists_url": "https://api.github.com/users/dcbark01/gists{/gist_id}", "starred_url": "https://api.github.com/users/dcbark01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dcbark01/subscriptions", "organizations_url": "https://api.github.com/users/dcbark01/orgs", "repos_url": "https://api.github.com/users/dcbark01/repos", "events_url": "https://api.github.com/users/dcbark01/events{/privacy}", "received_events_url": "https://api.github.com/users/dcbark01/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
2
2023-10-30T20:33:39
2023-10-30T20:38:41
null
CONTRIBUTOR
null
**Description** I have developed a class `HuggingFaceTextGenInferenceAuto` to automate the process of managing Docker inference server containers for the `HuggingFaceTextGenerationInference` LLM. It essentially acts as a factory to create an instance of `HuggingFaceTextGenInference` via the `from_docker` classmethod. This class can create, reuse, or recreate containers as-needed based on parameter changes. The objective is to simplify the management of HuggingFace TextGen inference servers, and allow users to spin up Docker containers for model inference with ease. The code also contains methods to handle the health checks, wait for model downloads, and ensure container and API readiness before proceeding. **Issue** See feature request issue #12564 **Dependencies** Updated toml and lockfile per contrib guidelines. ``` docker = "^6.1.3" pytest-skip-slow = "^0.0.5" text-generation = "^0.6.1" ``` **Twitter Handle**: [@daniel_c_barker](https://twitter.com/daniel_c_barker) <!-- 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/12586/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/12586/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/12586", "html_url": "https://github.com/langchain-ai/langchain/pull/12586", "diff_url": "https://github.com/langchain-ai/langchain/pull/12586.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/12586.patch", "merged_at": null }