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/10383
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10383/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10383/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10383/events
https://github.com/langchain-ai/langchain/pull/10383
1,888,348,416
PR_kwDOIPDwls5Z6dXQ
10,383
fix(DynamoDBChatMessageHistory): correct delete_item method call
{ "login": "BenLinnik", "id": 12953323, "node_id": "MDQ6VXNlcjEyOTUzMzIz", "avatar_url": "https://avatars.githubusercontent.com/u/12953323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BenLinnik", "html_url": "https://github.com/BenLinnik", "followers_url": "https://api.github.com/users/BenLinnik/followers", "following_url": "https://api.github.com/users/BenLinnik/following{/other_user}", "gists_url": "https://api.github.com/users/BenLinnik/gists{/gist_id}", "starred_url": "https://api.github.com/users/BenLinnik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BenLinnik/subscriptions", "organizations_url": "https://api.github.com/users/BenLinnik/orgs", "repos_url": "https://api.github.com/users/BenLinnik/repos", "events_url": "https://api.github.com/users/BenLinnik/events{/privacy}", "received_events_url": "https://api.github.com/users/BenLinnik/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-09-08T20:59:16
2023-09-11T23:16:21
2023-09-11T23:16:20
CONTRIBUTOR
null
**Description**: Fixed a bug introduced in version 0.0.281 in `DynamoDBChatMessageHistory` where `self.table.delete_item(self.key)` produced a TypeError: `TypeError: delete_item() only accepts keyword arguments`. Updated the method call to `self.table.delete_item(Key=self.key)` to resolve this issue. Please see also [the official AWS documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/delete_item.html#) on this **delete_item** method - only `**kwargs` are accepted. See also the PR, which introduced this bug: https://github.com/langchain-ai/langchain/pull/9896#discussion_r1317899073 Please merge this, I rely on this delete dynamodb item functionality (because of GDPR considerations). **Dependencies**: None **Tag maintainer**: @hwchase17 @joshualwhite **Twitter handle**: [@BenjaminLinnik](https://twitter.com/BenjaminLinnik) - [x] Linting (`make lint`) - [x] Formatting (`make format`) - [x] Tests (`make test`)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10383/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/10383/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10383", "html_url": "https://github.com/langchain-ai/langchain/pull/10383", "diff_url": "https://github.com/langchain-ai/langchain/pull/10383.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10383.patch", "merged_at": "2023-09-11T23:16:20" }
https://api.github.com/repos/langchain-ai/langchain/issues/10382
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10382/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10382/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10382/events
https://github.com/langchain-ai/langchain/pull/10382
1,888,278,978
PR_kwDOIPDwls5Z6NhY
10,382
Rewrite Retrieval docs page
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-08T20:20:18
2023-09-14T15:38:34
2023-09-14T15:38:34
COLLABORATOR
null
Using https://colab.research.google.com/drive/1pXsjcOFkrOKXUMwD5SIoed0Ct8DYtly1?authuser=1#scrollTo=wTC9cRDiZZ-t
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10382/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10382", "html_url": "https://github.com/langchain-ai/langchain/pull/10382", "diff_url": "https://github.com/langchain-ai/langchain/pull/10382.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10382.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10381
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10381/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10381/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10381/events
https://github.com/langchain-ai/langchain/pull/10381
1,888,051,934
PR_kwDOIPDwls5Z5brc
10,381
`chat_loaders` refactoring
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 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
{ "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 }
[ { "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 }, { "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false } ]
null
3
2023-09-08T17:16:24
2023-09-10T18:23:43
2023-09-09T22:22:56
COLLABORATOR
null
Replaced unnecessary namespace renaming `from langchain.chat_loaders import base as chat_loaders` with `from langchain.chat_loaders.base import BaseChatLoader, ChatSession` and simplified correspondent types. @eyurtsev
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10381/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10381", "html_url": "https://github.com/langchain-ai/langchain/pull/10381", "diff_url": "https://github.com/langchain-ai/langchain/pull/10381.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10381.patch", "merged_at": "2023-09-09T22:22:56" }
https://api.github.com/repos/langchain-ai/langchain/issues/10380
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10380/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10380/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10380/events
https://github.com/langchain-ai/langchain/pull/10380
1,888,040,024
PR_kwDOIPDwls5Z5ZDH
10,380
Bagatur/add konko chat model
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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
1
2023-09-08T17:07:26
2023-09-08T17:29:03
2023-09-08T17:29:02
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10380/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10380", "html_url": "https://github.com/langchain-ai/langchain/pull/10380", "diff_url": "https://github.com/langchain-ai/langchain/pull/10380.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10380.patch", "merged_at": "2023-09-08T17:29:02" }
https://api.github.com/repos/langchain-ai/langchain/issues/10379
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10379/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10379/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10379/events
https://github.com/langchain-ai/langchain/pull/10379
1,888,022,899
PR_kwDOIPDwls5Z5VWi
10,379
Resolves issue DOC: Incorrect and confusing documentation of AIMessag…
{ "login": "captivus", "id": 366332, "node_id": "MDQ6VXNlcjM2NjMzMg==", "avatar_url": "https://avatars.githubusercontent.com/u/366332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/captivus", "html_url": "https://github.com/captivus", "followers_url": "https://api.github.com/users/captivus/followers", "following_url": "https://api.github.com/users/captivus/following{/other_user}", "gists_url": "https://api.github.com/users/captivus/gists{/gist_id}", "starred_url": "https://api.github.com/users/captivus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/captivus/subscriptions", "organizations_url": "https://api.github.com/users/captivus/orgs", "repos_url": "https://api.github.com/users/captivus/repos", "events_url": "https://api.github.com/users/captivus/events{/privacy}", "received_events_url": "https://api.github.com/users/captivus/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-08T16:52:31
2023-09-08T22:53:08
2023-09-08T22:53:08
CONTRIBUTOR
null
Resolves issue DOC: Incorrect and confusing documentation of AIMessagePromptTemplate and HumanMessagePromptTemplate #10378 - Description: Revised docstrings to correctly and clearly document each PromptTemplate - Issue: #10378 - Dependencies: N/A - Tag maintainer: @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10379/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10379", "html_url": "https://github.com/langchain-ai/langchain/pull/10379", "diff_url": "https://github.com/langchain-ai/langchain/pull/10379.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10379.patch", "merged_at": "2023-09-08T22:53:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/10378
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10378/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10378/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10378/events
https://github.com/langchain-ai/langchain/issues/10378
1,888,011,222
I_kwDOIPDwls5wiMPW
10,378
DOC: Incorrect and confusing documentation of AIMessagePromptTemplate and HumanMessagePromptTemplate
{ "login": "captivus", "id": 366332, "node_id": "MDQ6VXNlcjM2NjMzMg==", "avatar_url": "https://avatars.githubusercontent.com/u/366332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/captivus", "html_url": "https://github.com/captivus", "followers_url": "https://api.github.com/users/captivus/followers", "following_url": "https://api.github.com/users/captivus/following{/other_user}", "gists_url": "https://api.github.com/users/captivus/gists{/gist_id}", "starred_url": "https://api.github.com/users/captivus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/captivus/subscriptions", "organizations_url": "https://api.github.com/users/captivus/orgs", "repos_url": "https://api.github.com/users/captivus/repos", "events_url": "https://api.github.com/users/captivus/events{/privacy}", "received_events_url": "https://api.github.com/users/captivus/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-08T16:43:51
2023-12-18T23:47:12
2023-12-18T23:47:12
CONTRIBUTOR
null
### Issue with current documentation: [AIMessagePromptTemplate documentation](https://api.python.langchain.com/en/latest/prompts/langchain.prompts.chat.AIMessagePromptTemplate.html#langchain-prompts-chat-aimessageprompttemplate) incorrectly and confusingly describes the message as "... This is a message that is not sent to the user." [HumanMessagePromptTemplate documentation](https://api.python.langchain.com/en/latest/prompts/langchain.prompts.chat.HumanMessagePromptTemplate.html#langchain-prompts-chat-humanmessageprompttemplate) incorrectly and confusingly describes the message as "... This is a message that is sent to the user." Compare to the documentation for [AIMessage](https://api.python.langchain.com/en/latest/schema/langchain.schema.messages.AIMessage.html#langchain-schema-messages-aimessage) and [HumanMessage](https://api.python.langchain.com/en/latest/schema/langchain.schema.messages.HumanMessage.html#langchain-schema-messages-humanmessage), which correctly and clearly describe each message as "A message from an AI" and "A message from a human." respectively. ### Idea or request for content: AIMessagePromptTemplate should be described as "AI message prompt template. This is a message that is sent to the user from the AI." HumanMessagePromptTemplate should be described as "Human message prompt template. This is a message that is sent from the user to the AI." These are clear, concise and consistent with documentation of the message schema. I will submit a PR with revised docstrings for each class. This should, then, be reflected in the API reference documentation upon next build.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10378/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/10378/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10377
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10377/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10377/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10377/events
https://github.com/langchain-ai/langchain/issues/10377
1,887,955,487
I_kwDOIPDwls5wh-of
10,377
Couldn't import BaseMessageConverter from
{ "login": "mattthomps1", "id": 75652496, "node_id": "MDQ6VXNlcjc1NjUyNDk2", "avatar_url": "https://avatars.githubusercontent.com/u/75652496?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mattthomps1", "html_url": "https://github.com/mattthomps1", "followers_url": "https://api.github.com/users/mattthomps1/followers", "following_url": "https://api.github.com/users/mattthomps1/following{/other_user}", "gists_url": "https://api.github.com/users/mattthomps1/gists{/gist_id}", "starred_url": "https://api.github.com/users/mattthomps1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mattthomps1/subscriptions", "organizations_url": "https://api.github.com/users/mattthomps1/orgs", "repos_url": "https://api.github.com/users/mattthomps1/repos", "events_url": "https://api.github.com/users/mattthomps1/events{/privacy}", "received_events_url": "https://api.github.com/users/mattthomps1/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
5
2023-09-08T16:06:52
2023-09-09T00:46:51
2023-09-09T00:46:51
NONE
null
### System Info Python 3.10.8 running on mac mini in VS Code ### Who can help? @asai95 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction attempt to import basemessage converter following customer storage guide here - https://python.langchain.com/docs/integrations/memory/sql_chat_message_history Enter from langchain.memory.chat_message_histories.sql import BaseMessageConverter Actual behavior - ImportError: cannot import name 'BaseMessageConverter' from 'langchain.memory.chat_message_histories.sql' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/langchain/memory/chat_message_histories/sql.py) ### Expected behavior Being able to import the BaseMessageConverter
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10377/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10377/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10376
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10376/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10376/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10376/events
https://github.com/langchain-ai/langchain/pull/10376
1,887,952,391
PR_kwDOIPDwls5Z5F3z
10,376
Support multiple errors
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T16:04:26
2023-09-08T16:07:16
2023-09-08T16:07:15
COLLABORATOR
null
in on_retry
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10376/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10376/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10376", "html_url": "https://github.com/langchain-ai/langchain/pull/10376", "diff_url": "https://github.com/langchain-ai/langchain/pull/10376.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10376.patch", "merged_at": "2023-09-08T16:07:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/10375
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10375/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10375/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10375/events
https://github.com/langchain-ai/langchain/issues/10375
1,887,908,236
I_kwDOIPDwls5whzGM
10,375
DOC: How to properly initialize Function Agent as a Tool for other Agent
{ "login": "1vash", "id": 23149363, "node_id": "MDQ6VXNlcjIzMTQ5MzYz", "avatar_url": "https://avatars.githubusercontent.com/u/23149363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/1vash", "html_url": "https://github.com/1vash", "followers_url": "https://api.github.com/users/1vash/followers", "following_url": "https://api.github.com/users/1vash/following{/other_user}", "gists_url": "https://api.github.com/users/1vash/gists{/gist_id}", "starred_url": "https://api.github.com/users/1vash/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/1vash/subscriptions", "organizations_url": "https://api.github.com/users/1vash/orgs", "repos_url": "https://api.github.com/users/1vash/repos", "events_url": "https://api.github.com/users/1vash/events{/privacy}", "received_events_url": "https://api.github.com/users/1vash/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-08T15:33:54
2023-12-18T23:47:18
2023-12-18T23:47:17
NONE
null
### Issue with current documentation: I would like to get clarification of proper setting of Function Agents as Tools for other Agents. In [Agent Tools Docs](https://python.langchain.com/docs/modules/agents/tools/) said that **tools can be even other agents but there are lack of examples** I have implemented the following code with 2 approaches - Inheriting from the `BaseTool` interface to convert a Function Agent into a Tool object and I have also tried `Tool.from_function()` approach. My goal is to pre-define custom business formulas to be executed precisely as required and OpenAI Functions suit my needs well. For this purpose, I must use the Function Agent and I have followed this [Custom functions with OpenAI Functions Agent guide](https://python.langchain.com/docs/modules/agents/how_to/custom-functions-with-openai-functions-agent). However, there's a need to use other types of tools as well, requiring the initialization of different Agent types to invoke them. I'm seeking a solution where I can have a centralized Agent capable of invoking other agents. Currently, I can see only a solution using Classification Chain model for this purpose as provided below cases don't work ### Current Behavior The current structure of the code exhibits the following issues: - The `function_agent` executes FOO OpenAI Function and other tasks perfectly. - The `main_agent` throws errors and occasionally manages to execute the FOO OpenAI function. Not sure why it's able to run successfully once in time. ### Desired Behavior I would like the `functions_agent` to function seamlessly within the `main_agent` so that it performs the same well. I believe there might be an issue with how the `message query` is being passed to OpenAI Python Functions in the two distinct approaches outlined below. Can you please offer guidance on the correct method to initialize the Function agent as a tool for another agent or suggest an alternative approach to achieve the desired behavior. Thank you ```python from langchain.agents import initialize_agent from langchain.chat_models import ChatOpenAI from langchain.agents import AgentType, Tool from pydantic import BaseModel, Field from langchain.tools import BaseTool from typing import Type from dotenv import load_dotenv, find_dotenv _ = load_dotenv(find_dotenv()) def foo(target): """Useful when you want to get current mean and std """ return {"TARGET": target, "number": 123} class FooFuncInput(BaseModel): """Inputs parsed from LLM for 'foo' function""" target: str = Field(description="Allows for manual interaction using either hands or legs. " "allowable values: {`hands`, `legs`} ") class FooFuncTool(BaseTool): name = "foo" description = f""" Calculate {name} business function. """ args_schema: Type[BaseModel] = FooFuncInput return_direct = True verbose = False def _run(self, target: str): response = foo(target) return response def _arun(self): raise NotImplementedError("foo does not support async") def get_function_tools(): tools = [ FooFuncTool(), ] return tools functions_agent = initialize_agent( tools=get_function_tools(), llm=ChatOpenAI(model="gpt-3.5-turbo", temperature=0), agent=AgentType.OPENAI_FUNCTIONS, verbose=True, max_iterations=1, early_stopping_method="generate" ) class AGENT_FUNCTION_TOOL(BaseTool): name = "AGENT_FUNCTION_TOOL" description = """ Useful for when you need to calculate business functions Names of allowable business functions: `ATT`, `DDT`, `FOO` """ return_direct = True verbose = True def _run(self, query: str): response = functions_agent.run(query) return response def _arun(self): raise NotImplementedError("AGENT_FUNCTION_TOOL does not support async") tools = [ AGENT_FUNCTION_TOOL(), # Tool.from_function( # func=functions_agent.run, # name="Defined Business functions agent", # description=""" # Useful for when you need to calculate business functions # Names of allowable business functions: `ATT`, `DDT`, `FOO` # """), ] assistant_target = 'business management' agent_kwargs = \ {'prefix': f'You are friendly {assistant_target} assistant.' f'questions related to {assistant_target}. You have access to the following tools:'} main_agent = initialize_agent( tools=tools, llm=ChatOpenAI(model="gpt-3.5-turbo", temperature=0), agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True, max_iterations=1, early_stopping_method="generate", agent_kwargs=agent_kwargs ) message = 'calculate business function `FOO` and do it with bare hands' main_agent.run(message) ``` Also I have tried using `Tool.from_function()` method as explained on [reddit can an agent be a tool thread](https://www.reddit.com/r/LangChain/comments/13618qu/can_an_agent_be_a_tool/) but it looks like `message` query is not properly passed to OpenAI python Functions also. ```python Tool.from_function( func=functions_agent.run, name="Defined Business functions agent", description=""" Useful for when you need to calculate business functions Names of allowable business functions: `ATT`, `DDT`, `FOO` """), ``` --------- Executed script using `main_agent` with `AGENT_FUNCTION_TOOL`, class implemented from `BaseTool` langchain interface ![Screenshot from 2023-09-09 13-50-02](https://github.com/langchain-ai/langchain/assets/23149363/40854487-8bd3-49cf-86f3-58183c16f8df) --------- Executed script using `main_agent` with `Tool.from_function()` ![Screenshot from 2023-09-09 13-52-48](https://github.com/langchain-ai/langchain/assets/23149363/c3e26e59-cf7b-4631-9ac9-ce4a4eb8f951) --------- Executing script using `functions_agent` and desired behavior: ![Screenshot from 2023-09-09 14-20-30](https://github.com/langchain-ai/langchain/assets/23149363/a13ea5db-c09b-4c37-8e92-9ba796d6dc2a) ### Idea or request for content: How to properly use Function Agents as Tools which consequently can be used by other Agents.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10375/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/10375/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10374
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10374/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10374/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10374/events
https://github.com/langchain-ai/langchain/pull/10374
1,887,897,322
PR_kwDOIPDwls5Z46HS
10,374
Add `Runnable.astream_log()`
{ "login": "nfcampos", "id": 56902, "node_id": "MDQ6VXNlcjU2OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nfcampos", "html_url": "https://github.com/nfcampos", "followers_url": "https://api.github.com/users/nfcampos/followers", "following_url": "https://api.github.com/users/nfcampos/following{/other_user}", "gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}", "starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions", "organizations_url": "https://api.github.com/users/nfcampos/orgs", "repos_url": "https://api.github.com/users/nfcampos/repos", "events_url": "https://api.github.com/users/nfcampos/events{/privacy}", "received_events_url": "https://api.github.com/users/nfcampos/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
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
3
2023-09-08T15:26:49
2023-09-21T17:19:56
2023-09-21T17:19:55
COLLABORATOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10374/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10374", "html_url": "https://github.com/langchain-ai/langchain/pull/10374", "diff_url": "https://github.com/langchain-ai/langchain/pull/10374.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10374.patch", "merged_at": "2023-09-21T17:19:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/10373
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10373/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10373/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10373/events
https://github.com/langchain-ai/langchain/pull/10373
1,887,885,326
PR_kwDOIPDwls5Z43lq
10,373
bump 285
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-08T15:19:35
2023-09-08T15:26:32
2023-09-08T15:26:31
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10373/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10373", "html_url": "https://github.com/langchain-ai/langchain/pull/10373", "diff_url": "https://github.com/langchain-ai/langchain/pull/10373.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10373.patch", "merged_at": "2023-09-08T15:26:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/10371
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10371/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10371/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10371/events
https://github.com/langchain-ai/langchain/pull/10371
1,887,830,458
PR_kwDOIPDwls5Z4rqP
10,371
add missing verb
{ "login": "bsenst", "id": 8211411, "node_id": "MDQ6VXNlcjgyMTE0MTE=", "avatar_url": "https://avatars.githubusercontent.com/u/8211411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bsenst", "html_url": "https://github.com/bsenst", "followers_url": "https://api.github.com/users/bsenst/followers", "following_url": "https://api.github.com/users/bsenst/following{/other_user}", "gists_url": "https://api.github.com/users/bsenst/gists{/gist_id}", "starred_url": "https://api.github.com/users/bsenst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bsenst/subscriptions", "organizations_url": "https://api.github.com/users/bsenst/orgs", "repos_url": "https://api.github.com/users/bsenst/repos", "events_url": "https://api.github.com/users/bsenst/events{/privacy}", "received_events_url": "https://api.github.com/users/bsenst/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-09-08T14:46:45
2023-09-08T15:56:15
2023-09-08T15:56:15
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10371/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10371", "html_url": "https://github.com/langchain-ai/langchain/pull/10371", "diff_url": "https://github.com/langchain-ai/langchain/pull/10371.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10371.patch", "merged_at": "2023-09-08T15:56:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/10370
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10370/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10370/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10370/events
https://github.com/langchain-ai/langchain/pull/10370
1,887,809,486
PR_kwDOIPDwls5Z4nBQ
10,370
Adding headers for accessing pdf file url
{ "login": "xcellentbird", "id": 59414764, "node_id": "MDQ6VXNlcjU5NDE0NzY0", "avatar_url": "https://avatars.githubusercontent.com/u/59414764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xcellentbird", "html_url": "https://github.com/xcellentbird", "followers_url": "https://api.github.com/users/xcellentbird/followers", "following_url": "https://api.github.com/users/xcellentbird/following{/other_user}", "gists_url": "https://api.github.com/users/xcellentbird/gists{/gist_id}", "starred_url": "https://api.github.com/users/xcellentbird/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xcellentbird/subscriptions", "organizations_url": "https://api.github.com/users/xcellentbird/orgs", "repos_url": "https://api.github.com/users/xcellentbird/repos", "events_url": "https://api.github.com/users/xcellentbird/events{/privacy}", "received_events_url": "https://api.github.com/users/xcellentbird/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T14:35:11
2023-09-26T19:20:34
2023-09-13T23:09:38
CONTRIBUTOR
null
- Description: Set up 'file_headers' params for accessing pdf file url - Tag maintainer: @hwchase17 ✅ make format, make lint, make test
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10370/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10370", "html_url": "https://github.com/langchain-ai/langchain/pull/10370", "diff_url": "https://github.com/langchain-ai/langchain/pull/10370.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10370.patch", "merged_at": "2023-09-13T23:09:38" }
https://api.github.com/repos/langchain-ai/langchain/issues/10368
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10368/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10368/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10368/events
https://github.com/langchain-ai/langchain/pull/10368
1,887,768,219
PR_kwDOIPDwls5Z4d_L
10,368
Adding file_headers parameters for accessing pdf file path(url)
{ "login": "xcellentbird", "id": 59414764, "node_id": "MDQ6VXNlcjU5NDE0NzY0", "avatar_url": "https://avatars.githubusercontent.com/u/59414764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xcellentbird", "html_url": "https://github.com/xcellentbird", "followers_url": "https://api.github.com/users/xcellentbird/followers", "following_url": "https://api.github.com/users/xcellentbird/following{/other_user}", "gists_url": "https://api.github.com/users/xcellentbird/gists{/gist_id}", "starred_url": "https://api.github.com/users/xcellentbird/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xcellentbird/subscriptions", "organizations_url": "https://api.github.com/users/xcellentbird/orgs", "repos_url": "https://api.github.com/users/xcellentbird/repos", "events_url": "https://api.github.com/users/xcellentbird/events{/privacy}", "received_events_url": "https://api.github.com/users/xcellentbird/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T14:11:37
2023-09-08T14:33:35
2023-09-08T14:33:08
CONTRIBUTOR
null
- Description: Set up 'file_headers' params for accessing pdf file url - Tag maintainer: @hwchase17 ✅ make format, make lint, make test
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10368/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10368", "html_url": "https://github.com/langchain-ai/langchain/pull/10368", "diff_url": "https://github.com/langchain-ai/langchain/pull/10368.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10368.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10367
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10367/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10367/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10367/events
https://github.com/langchain-ai/langchain/pull/10367
1,887,766,920
PR_kwDOIPDwls5Z4ds9
10,367
VertexAI now allows to tune codey models
{ "login": "cgrotz", "id": 888146, "node_id": "MDQ6VXNlcjg4ODE0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/888146?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cgrotz", "html_url": "https://github.com/cgrotz", "followers_url": "https://api.github.com/users/cgrotz/followers", "following_url": "https://api.github.com/users/cgrotz/following{/other_user}", "gists_url": "https://api.github.com/users/cgrotz/gists{/gist_id}", "starred_url": "https://api.github.com/users/cgrotz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cgrotz/subscriptions", "organizations_url": "https://api.github.com/users/cgrotz/orgs", "repos_url": "https://api.github.com/users/cgrotz/repos", "events_url": "https://api.github.com/users/cgrotz/events{/privacy}", "received_events_url": "https://api.github.com/users/cgrotz/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-08T14:10:50
2023-09-08T16:12:24
2023-09-08T16:12:24
CONTRIBUTOR
null
Description: VertexAI now supports to tune codey models, I adapted the Vertex AI LLM wrapper accordingly https://cloud.google.com/vertex-ai/docs/generative-ai/models/tune-code-models
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10367/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10367", "html_url": "https://github.com/langchain-ai/langchain/pull/10367", "diff_url": "https://github.com/langchain-ai/langchain/pull/10367.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10367.patch", "merged_at": "2023-09-08T16:12:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/10366
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10366/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10366/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10366/events
https://github.com/langchain-ai/langchain/issues/10366
1,887,699,565
I_kwDOIPDwls5whAJt
10,366
Why did you broke Redis completely in a minor version change
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini", "followers_url": "https://api.github.com/users/FrancescoSaverioZuppichini/followers", "following_url": "https://api.github.com/users/FrancescoSaverioZuppichini/following{/other_user}", "gists_url": "https://api.github.com/users/FrancescoSaverioZuppichini/gists{/gist_id}", "starred_url": "https://api.github.com/users/FrancescoSaverioZuppichini/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FrancescoSaverioZuppichini/subscriptions", "organizations_url": "https://api.github.com/users/FrancescoSaverioZuppichini/orgs", "repos_url": "https://api.github.com/users/FrancescoSaverioZuppichini/repos", "events_url": "https://api.github.com/users/FrancescoSaverioZuppichini/events{/privacy}", "received_events_url": "https://api.github.com/users/FrancescoSaverioZuppichini/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
4
2023-09-08T13:30:27
2023-09-10T06:59:18
2023-09-10T06:59:17
NONE
null
### System Info Hi there :wave: , I am wondering why now redis is completely broken (most of the paramters names have been changed) and you did this is a minor version change - doesn't make any sense - and I'd like to know how to pass `k` to the retriever now and how to get the `k`; previous I could just do `retriever.k` Thanks, Fra ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Just try to use redis now ### Expected behavior I wouldn't except BREAKING changes from a minor version change
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10366/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/10366/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10365
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10365/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10365/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10365/events
https://github.com/langchain-ai/langchain/pull/10365
1,887,656,311
PR_kwDOIPDwls5Z4Flu
10,365
Add Language Detection
{ "login": "mateusz-wosinski-ds", "id": 142883372, "node_id": "U_kgDOCIQ6LA", "avatar_url": "https://avatars.githubusercontent.com/u/142883372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mateusz-wosinski-ds", "html_url": "https://github.com/mateusz-wosinski-ds", "followers_url": "https://api.github.com/users/mateusz-wosinski-ds/followers", "following_url": "https://api.github.com/users/mateusz-wosinski-ds/following{/other_user}", "gists_url": "https://api.github.com/users/mateusz-wosinski-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/mateusz-wosinski-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mateusz-wosinski-ds/subscriptions", "organizations_url": "https://api.github.com/users/mateusz-wosinski-ds/orgs", "repos_url": "https://api.github.com/users/mateusz-wosinski-ds/repos", "events_url": "https://api.github.com/users/mateusz-wosinski-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/mateusz-wosinski-ds/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-09-08T13:06:57
2023-09-08T13:07:45
2023-09-08T13:07:45
CONTRIBUTOR
null
**!! Should wait for https://github.com/langchain-ai/langchain/pull/10181 to be merged, so that the example with TTS component is added !!** ### Description Adds language detection component based on [langdetect](https://github.com/Mimino666/langdetect/tree/master/langdetect) library. It implements naive Bayesian filter and is able to recognize >50 languages. This module can be especially useful together with components that require selection of the language (e.g. text-2-speech or data-anonymizer) ### Twitter handle @deepsense_ai, @matt_wosinski
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10365/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10365", "html_url": "https://github.com/langchain-ai/langchain/pull/10365", "diff_url": "https://github.com/langchain-ai/langchain/pull/10365.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10365.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10362
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10362/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10362/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10362/events
https://github.com/langchain-ai/langchain/pull/10362
1,887,504,630
PR_kwDOIPDwls5Z3kCA
10,362
fix ChatMessageChunk concat error
{ "login": "anexplore", "id": 4945756, "node_id": "MDQ6VXNlcjQ5NDU3NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/4945756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anexplore", "html_url": "https://github.com/anexplore", "followers_url": "https://api.github.com/users/anexplore/followers", "following_url": "https://api.github.com/users/anexplore/following{/other_user}", "gists_url": "https://api.github.com/users/anexplore/gists{/gist_id}", "starred_url": "https://api.github.com/users/anexplore/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anexplore/subscriptions", "organizations_url": "https://api.github.com/users/anexplore/orgs", "repos_url": "https://api.github.com/users/anexplore/repos", "events_url": "https://api.github.com/users/anexplore/events{/privacy}", "received_events_url": "https://api.github.com/users/anexplore/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
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false } ]
null
4
2023-09-08T11:35:11
2023-09-27T06:28:56
2023-09-27T06:28:34
NONE
null
- Description: fix ChatMessageChunk '+' error, add __add__ method for ChatMessageChunk - Issue: ChatMessageChunk has required field "role", however it's use BaseMessageChunk.__add__method which do not handle role field ```python # BaseMessageChunk def __add__(self, other: Any) -> BaseMessageChunk: # type: ignore if isinstance(other, BaseMessageChunk): # If both are (subclasses of) BaseMessageChunk, # concat into a single BaseMessageChunk # this line will raise error for role not set return self.__class__( content=self.content + other.content, additional_kwargs=self._merge_kwargs_dict( self.additional_kwargs, other.additional_kwargs ), ) else: raise TypeError( 'unsupported operand type(s) for +: "' f"{self.__class__.__name__}" f'" and "{other.__class__.__name__}"' ) ````
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10362/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10362", "html_url": "https://github.com/langchain-ai/langchain/pull/10362", "diff_url": "https://github.com/langchain-ai/langchain/pull/10362.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10362.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10361
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10361/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10361/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10361/events
https://github.com/langchain-ai/langchain/issues/10361
1,887,374,918
I_kwDOIPDwls5wfw5G
10,361
DOC: What is the Difference between OpenAIAgent and agent=AgentType.OPENAI_FUNCTIONS
{ "login": "Hsgngr", "id": 32769732, "node_id": "MDQ6VXNlcjMyNzY5NzMy", "avatar_url": "https://avatars.githubusercontent.com/u/32769732?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hsgngr", "html_url": "https://github.com/Hsgngr", "followers_url": "https://api.github.com/users/Hsgngr/followers", "following_url": "https://api.github.com/users/Hsgngr/following{/other_user}", "gists_url": "https://api.github.com/users/Hsgngr/gists{/gist_id}", "starred_url": "https://api.github.com/users/Hsgngr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hsgngr/subscriptions", "organizations_url": "https://api.github.com/users/Hsgngr/orgs", "repos_url": "https://api.github.com/users/Hsgngr/repos", "events_url": "https://api.github.com/users/Hsgngr/events{/privacy}", "received_events_url": "https://api.github.com/users/Hsgngr/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-08T10:16:55
2023-12-18T23:47:22
2023-12-18T23:47:22
NONE
null
### Issue with current documentation: Overall there are so many terms on top of each other and I do understand we are trading off growing fast to having clean, set terms but lets discuss about currently what is the common way to define an AGENT that uses openAI for reasoning engine, and answers questions using tools that we define. What is the AgentExecutor if we can also run agent.run() What is AgentExecutorIterator We can define an agent like this: ``` agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, agent_kwargs=agent_kwargs, verbose=True, return_intermediate_steps=True,) ``` But also we can define an agent like this: [(From this documentation: Custom LLM Agent)](https://python.langchain.com/docs/modules/agents/how_to/custom_llm_agent) ``` llm = OpenAI(temperature=0) llm_chain = LLMChain(llm=llm, prompt=prompt) agent = LLMSingleActionAgent( llm_chain=llm_chain, output_parser=output_parser, stop=["\nObservation:"], allowed_tools=tool_names ) ``` There are also ChatAgent, OpenAIAgent and more[ Classes](https://js.langchain.com/docs/api/agents/classes/) I would like to have a custom agent that I use with openai api and I will give custom tools like weather functions or finance functions etc. What is the cleanest way to do this currently ? (8 September 2023) ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10361/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10361/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10360
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10360/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10360/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10360/events
https://github.com/langchain-ai/langchain/pull/10360
1,887,365,201
PR_kwDOIPDwls5Z3FGz
10,360
Modified chain datatype to Chain to support for ConversationalRetrievalChain, etc
{ "login": "prarshah1", "id": 112908732, "node_id": "U_kgDOBrrZvA", "avatar_url": "https://avatars.githubusercontent.com/u/112908732?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prarshah1", "html_url": "https://github.com/prarshah1", "followers_url": "https://api.github.com/users/prarshah1/followers", "following_url": "https://api.github.com/users/prarshah1/following{/other_user}", "gists_url": "https://api.github.com/users/prarshah1/gists{/gist_id}", "starred_url": "https://api.github.com/users/prarshah1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prarshah1/subscriptions", "organizations_url": "https://api.github.com/users/prarshah1/orgs", "repos_url": "https://api.github.com/users/prarshah1/repos", "events_url": "https://api.github.com/users/prarshah1/events{/privacy}", "received_events_url": "https://api.github.com/users/prarshah1/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false } ]
null
2
2023-09-08T10:10:30
2023-09-27T18:18:42
2023-09-27T18:18:41
NONE
null
**Description:** In the class ConstitutionalChain currently supports LLMChain when using from_llm. When we try to use it with other type of chains such as ConversationalRetrievalChain whose superclass isn't LLMChain it gives a type error. As both the class's superclass was Chain, when replaced with it, it worked as supposed to. **Issue:** Found it to be relevant to [https://github.com/langchain-ai/langchain/issues/5881](https://github.com/langchain-ai/langchain/issues/5881) [https://github.com/langchain-ai/langchain/issues/1904](https://github.com/langchain-ai/langchain/issues/1904) **Dependencies:** None **Tag maintainer:** @wnmurphy @hwchase17 **Twitter handle:** Linkdin: www.linkedin.com/in/prar **How I used it** ``` qa_chain = ConversationalRetrievalChain.from_llm(llm, db.as_retriever(), memory=memory, condense_question_prompt=qa_prompt) constitutional_chain = ConstitutionalChain.from_llm( llm=llm, chain=qa_chain, constitutional_principles=list(principles), ) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10360/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10360", "html_url": "https://github.com/langchain-ai/langchain/pull/10360", "diff_url": "https://github.com/langchain-ai/langchain/pull/10360.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10360.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10359
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10359/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10359/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10359/events
https://github.com/langchain-ai/langchain/issues/10359
1,887,349,628
I_kwDOIPDwls5wfqt8
10,359
Own Api LLM
{ "login": "brightebyte", "id": 144440602, "node_id": "U_kgDOCJv9Gg", "avatar_url": "https://avatars.githubusercontent.com/u/144440602?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brightebyte", "html_url": "https://github.com/brightebyte", "followers_url": "https://api.github.com/users/brightebyte/followers", "following_url": "https://api.github.com/users/brightebyte/following{/other_user}", "gists_url": "https://api.github.com/users/brightebyte/gists{/gist_id}", "starred_url": "https://api.github.com/users/brightebyte/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brightebyte/subscriptions", "organizations_url": "https://api.github.com/users/brightebyte/orgs", "repos_url": "https://api.github.com/users/brightebyte/repos", "events_url": "https://api.github.com/users/brightebyte/events{/privacy}", "received_events_url": "https://api.github.com/users/brightebyte/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
2
2023-09-08T10:00:51
2023-12-18T23:47:27
2023-12-18T23:47:27
NONE
null
### Feature request The Project [Basaran](https://github.com/hyperonym/basaran) lets you host an api that is similar to the OpenAI api, but with a self hosted llm. Support for such custom API LLMs would be great ### Motivation Further democritizig LLMs ### Your contribution I could test it
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10359/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10357
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10357/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10357/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10357/events
https://github.com/langchain-ai/langchain/issues/10357
1,887,295,643
I_kwDOIPDwls5wfdib
10,357
Issue: The mapreduce chain doesn't generate full response.
{ "login": "Jeremylee1234", "id": 42887249, "node_id": "MDQ6VXNlcjQyODg3MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/42887249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jeremylee1234", "html_url": "https://github.com/Jeremylee1234", "followers_url": "https://api.github.com/users/Jeremylee1234/followers", "following_url": "https://api.github.com/users/Jeremylee1234/following{/other_user}", "gists_url": "https://api.github.com/users/Jeremylee1234/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jeremylee1234/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jeremylee1234/subscriptions", "organizations_url": "https://api.github.com/users/Jeremylee1234/orgs", "repos_url": "https://api.github.com/users/Jeremylee1234/repos", "events_url": "https://api.github.com/users/Jeremylee1234/events{/privacy}", "received_events_url": "https://api.github.com/users/Jeremylee1234/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-08T09:26:17
2023-12-18T23:47:33
2023-12-18T23:47:32
NONE
null
### mapreduce chain doesn't provide full response. I'm currently using mapreduce chain to do news summarization. But the output doesn't provide full response. Is there any way to fix this issue? I'm following the guide of langchain api mapreduce chain example.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10357/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10355
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10355/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10355/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10355/events
https://github.com/langchain-ai/langchain/issues/10355
1,887,216,037
I_kwDOIPDwls5wfKGl
10,355
pydantic 2.0 support
{ "login": "tandav", "id": 5549677, "node_id": "MDQ6VXNlcjU1NDk2Nzc=", "avatar_url": "https://avatars.githubusercontent.com/u/5549677?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tandav", "html_url": "https://github.com/tandav", "followers_url": "https://api.github.com/users/tandav/followers", "following_url": "https://api.github.com/users/tandav/following{/other_user}", "gists_url": "https://api.github.com/users/tandav/gists{/gist_id}", "starred_url": "https://api.github.com/users/tandav/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tandav/subscriptions", "organizations_url": "https://api.github.com/users/tandav/orgs", "repos_url": "https://api.github.com/users/tandav/repos", "events_url": "https://api.github.com/users/tandav/events{/privacy}", "received_events_url": "https://api.github.com/users/tandav/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T08:33:35
2023-09-08T08:49:07
2023-09-08T08:49:07
NONE
null
### Feature request Please update dependencies to support installing `pydantic>=2.0. Now there's a conflict, for example pip resolver gives following error: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. langchainplus-sdk 0.0.20 requires pydantic<2,>=1, but you have pydantic 2.3.0 which is incompatible. langchain 0.0.228 requires pydantic<2,>=1, but you have pydantic 2.3.0 which is incompatible. ``` ### Motivation pydantic 1.* is outdated. Starting new project and use old syntax which will be deprecated soon is unpleasant ### Your contribution -
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10355/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10354
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10354/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10354/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10354/events
https://github.com/langchain-ai/langchain/pull/10354
1,887,213,546
PR_kwDOIPDwls5Z2kdj
10,354
ENH: Add `llm_kwargs` for Xinference LLMs
{ "login": "jiayini1119", "id": 105399924, "node_id": "U_kgDOBkhGdA", "avatar_url": "https://avatars.githubusercontent.com/u/105399924?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiayini1119", "html_url": "https://github.com/jiayini1119", "followers_url": "https://api.github.com/users/jiayini1119/followers", "following_url": "https://api.github.com/users/jiayini1119/following{/other_user}", "gists_url": "https://api.github.com/users/jiayini1119/gists{/gist_id}", "starred_url": "https://api.github.com/users/jiayini1119/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jiayini1119/subscriptions", "organizations_url": "https://api.github.com/users/jiayini1119/orgs", "repos_url": "https://api.github.com/users/jiayini1119/repos", "events_url": "https://api.github.com/users/jiayini1119/events{/privacy}", "received_events_url": "https://api.github.com/users/jiayini1119/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
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false } ]
null
1
2023-09-08T08:31:48
2023-09-18T15:36:30
2023-09-18T15:36:30
CONTRIBUTOR
null
- This pr adds `llm_kwargs` to the initialization of Xinference LLMs (integrated in #8171 ). - With this enhancement, users can not only provide `generate_configs` when calling the llms for generation but also during the initialization process. This allows users to include custom configurations when utilizing LangChain features like LLMChain. - It also fixes some format issues for the docstrings.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10354/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10354", "html_url": "https://github.com/langchain-ai/langchain/pull/10354", "diff_url": "https://github.com/langchain-ai/langchain/pull/10354.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10354.patch", "merged_at": "2023-09-18T15:36:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/10353
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10353/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10353/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10353/events
https://github.com/langchain-ai/langchain/issues/10353
1,887,127,834
I_kwDOIPDwls5we0ka
10,353
ConversationalRetrievalChain is not adding chat_history to new message
{ "login": "nemoooooooooo", "id": 97554379, "node_id": "U_kgDOBdCPyw", "avatar_url": "https://avatars.githubusercontent.com/u/97554379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nemoooooooooo", "html_url": "https://github.com/nemoooooooooo", "followers_url": "https://api.github.com/users/nemoooooooooo/followers", "following_url": "https://api.github.com/users/nemoooooooooo/following{/other_user}", "gists_url": "https://api.github.com/users/nemoooooooooo/gists{/gist_id}", "starred_url": "https://api.github.com/users/nemoooooooooo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nemoooooooooo/subscriptions", "organizations_url": "https://api.github.com/users/nemoooooooooo/orgs", "repos_url": "https://api.github.com/users/nemoooooooooo/repos", "events_url": "https://api.github.com/users/nemoooooooooo/events{/privacy}", "received_events_url": "https://api.github.com/users/nemoooooooooo/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-08T07:36:09
2023-12-18T23:47:37
2023-12-18T23:47:37
NONE
null
### Issue you'd like to raise. I am using ConversationalRetrievalChain for document Q/A bot and updating chat_history = [] with every message however I noticed this chat_history string is never added to final inference string. In _call method of BaseConversationalRetrievalChain class, even when "if chat_history_str:" condition is true, new_question is never updated with the chat_history_str. ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10353/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/10353/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10352
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10352/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10352/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10352/events
https://github.com/langchain-ai/langchain/issues/10352
1,887,085,921
I_kwDOIPDwls5weqVh
10,352
quip doc loader
{ "login": "shufanhao", "id": 11540660, "node_id": "MDQ6VXNlcjExNTQwNjYw", "avatar_url": "https://avatars.githubusercontent.com/u/11540660?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shufanhao", "html_url": "https://github.com/shufanhao", "followers_url": "https://api.github.com/users/shufanhao/followers", "following_url": "https://api.github.com/users/shufanhao/following{/other_user}", "gists_url": "https://api.github.com/users/shufanhao/gists{/gist_id}", "starred_url": "https://api.github.com/users/shufanhao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shufanhao/subscriptions", "organizations_url": "https://api.github.com/users/shufanhao/orgs", "repos_url": "https://api.github.com/users/shufanhao/repos", "events_url": "https://api.github.com/users/shufanhao/events{/privacy}", "received_events_url": "https://api.github.com/users/shufanhao/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
5
2023-09-08T07:07:49
2023-12-18T23:47:43
2023-12-18T23:47:42
CONTRIBUTOR
null
### Feature request like https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/document_loaders/confluence.py, we need a loader for quip document, please follow https://github.com/quip/quip-api/tree/master/python ### Motivation I have a lot of documents in quip, want to load these quip documents. ### Your contribution I like to contribute this idea if no one to take.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10352/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10351
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10351/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10351/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10351/events
https://github.com/langchain-ai/langchain/pull/10351
1,886,921,060
PR_kwDOIPDwls5Z1knH
10,351
Add json evaluators
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T04:39:35
2023-12-08T00:35:36
2023-12-08T00:35:36
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10351/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10351", "html_url": "https://github.com/langchain-ai/langchain/pull/10351", "diff_url": "https://github.com/langchain-ai/langchain/pull/10351.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10351.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10350
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10350/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10350/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10350/events
https://github.com/langchain-ai/langchain/pull/10350
1,886,882,615
PR_kwDOIPDwls5Z1ceh
10,350
Feature/adding csharp support to textsplitter
{ "login": "Ather23", "id": 2106106, "node_id": "MDQ6VXNlcjIxMDYxMDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2106106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ather23", "html_url": "https://github.com/Ather23", "followers_url": "https://api.github.com/users/Ather23/followers", "following_url": "https://api.github.com/users/Ather23/following{/other_user}", "gists_url": "https://api.github.com/users/Ather23/gists{/gist_id}", "starred_url": "https://api.github.com/users/Ather23/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ather23/subscriptions", "organizations_url": "https://api.github.com/users/Ather23/orgs", "repos_url": "https://api.github.com/users/Ather23/repos", "events_url": "https://api.github.com/users/Ather23/events{/privacy}", "received_events_url": "https://api.github.com/users/Ather23/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
3
2023-09-08T03:40:29
2023-09-08T23:02:47
2023-09-08T23:01:06
CONTRIBUTOR
null
**Description:** Adding C# language support for `RecursiveCharacterTextSplitter` **Issue:** N/A **Dependencies:** N/A
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10350/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10350", "html_url": "https://github.com/langchain-ai/langchain/pull/10350", "diff_url": "https://github.com/langchain-ai/langchain/pull/10350.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10350.patch", "merged_at": "2023-09-08T23:01:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/10349
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10349/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10349/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10349/events
https://github.com/langchain-ai/langchain/pull/10349
1,886,860,316
PR_kwDOIPDwls5Z1X16
10,349
Feature/add deepeval
{ "login": "ColabDog", "id": 108557828, "node_id": "U_kgDOBnh2BA", "avatar_url": "https://avatars.githubusercontent.com/u/108557828?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ColabDog", "html_url": "https://github.com/ColabDog", "followers_url": "https://api.github.com/users/ColabDog/followers", "following_url": "https://api.github.com/users/ColabDog/following{/other_user}", "gists_url": "https://api.github.com/users/ColabDog/gists{/gist_id}", "starred_url": "https://api.github.com/users/ColabDog/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ColabDog/subscriptions", "organizations_url": "https://api.github.com/users/ColabDog/orgs", "repos_url": "https://api.github.com/users/ColabDog/repos", "events_url": "https://api.github.com/users/ColabDog/events{/privacy}", "received_events_url": "https://api.github.com/users/ColabDog/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
4
2023-09-08T03:04:43
2023-09-09T20:28:17
2023-09-09T20:28:17
CONTRIBUTOR
null
Description: Adding `DeepEval` - which provides an opinionated framework for testing and evaluating LLMs Issue: Missing Deepeval Dependencies: Optional DeepEval dependency Tag maintainer: @baskaryan (not 100% sure) Twitter handle: https://twitter.com/ColabDog ✅ `make format` ✅`make lint` and ✅`make test` If you're adding a new integration, please include: ✅ a test for the integration, preferably unit tests that do not rely on network access, ✅ an example notebook showing its use. These live is docs/extras directory.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10349/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10349", "html_url": "https://github.com/langchain-ai/langchain/pull/10349", "diff_url": "https://github.com/langchain-ai/langchain/pull/10349.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10349.patch", "merged_at": "2023-09-09T20:28:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/10348
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10348/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10348/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10348/events
https://github.com/langchain-ai/langchain/pull/10348
1,886,791,665
PR_kwDOIPDwls5Z1Jo4
10,348
Add progress bar + runner fixes
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-08T01:17:42
2023-09-08T14:45:29
2023-09-08T14:45:28
COLLABORATOR
null
- Add progress bar to eval runs - Use thread pool for concurrency - Update some error messages - Friendlier project name - Print out quantiles of the final stats Closes LS-902
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10348/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10348", "html_url": "https://github.com/langchain-ai/langchain/pull/10348", "diff_url": "https://github.com/langchain-ai/langchain/pull/10348.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10348.patch", "merged_at": "2023-09-08T14:45:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/10347
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10347/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10347/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10347/events
https://github.com/langchain-ai/langchain/pull/10347
1,886,617,592
PR_kwDOIPDwls5Z0i84
10,347
Stop generating undesired tokens from GPT4All
{ "login": "ThibaultDef", "id": 121451795, "node_id": "U_kgDOBz01Ew", "avatar_url": "https://avatars.githubusercontent.com/u/121451795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThibaultDef", "html_url": "https://github.com/ThibaultDef", "followers_url": "https://api.github.com/users/ThibaultDef/followers", "following_url": "https://api.github.com/users/ThibaultDef/following{/other_user}", "gists_url": "https://api.github.com/users/ThibaultDef/gists{/gist_id}", "starred_url": "https://api.github.com/users/ThibaultDef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThibaultDef/subscriptions", "organizations_url": "https://api.github.com/users/ThibaultDef/orgs", "repos_url": "https://api.github.com/users/ThibaultDef/repos", "events_url": "https://api.github.com/users/ThibaultDef/events{/privacy}", "received_events_url": "https://api.github.com/users/ThibaultDef/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
3
2023-09-07T22:08:25
2023-11-29T02:50:52
2023-11-29T02:50:51
NONE
null
@baskaryan In this PR, I made a small modification in gpt4all.py in the project folder libs/langchain, more precisely in the method `_call`. I added a unit test for the additional function `remove_stop_words` in libs/lanchain/llms/utils.py It fixes the issue https://github.com/langchain-ai/langchain/issues/10345 There is no additional packages. By executing `make format`, `make lint` and `make test` locally, it works.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10347/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10347", "html_url": "https://github.com/langchain-ai/langchain/pull/10347", "diff_url": "https://github.com/langchain-ai/langchain/pull/10347.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10347.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10346
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10346/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10346/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10346/events
https://github.com/langchain-ai/langchain/pull/10346
1,886,599,045
PR_kwDOIPDwls5Z0e6d
10,346
Bagatur/multilingual anon
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-07T21:45:19
2023-09-07T22:15:09
2023-09-07T22:15:09
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10346/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10346", "html_url": "https://github.com/langchain-ai/langchain/pull/10346", "diff_url": "https://github.com/langchain-ai/langchain/pull/10346.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10346.patch", "merged_at": "2023-09-07T22:15:09" }
https://api.github.com/repos/langchain-ai/langchain/issues/10345
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10345/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10345/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10345/events
https://github.com/langchain-ai/langchain/issues/10345
1,886,588,480
I_kwDOIPDwls5wcw5A
10,345
Issue: GPT4All LLM continue to generate undesired tokens even if stop attribute has been specified
{ "login": "ThibaultDef", "id": 121451795, "node_id": "U_kgDOBz01Ew", "avatar_url": "https://avatars.githubusercontent.com/u/121451795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThibaultDef", "html_url": "https://github.com/ThibaultDef", "followers_url": "https://api.github.com/users/ThibaultDef/followers", "following_url": "https://api.github.com/users/ThibaultDef/following{/other_user}", "gists_url": "https://api.github.com/users/ThibaultDef/gists{/gist_id}", "starred_url": "https://api.github.com/users/ThibaultDef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThibaultDef/subscriptions", "organizations_url": "https://api.github.com/users/ThibaultDef/orgs", "repos_url": "https://api.github.com/users/ThibaultDef/repos", "events_url": "https://api.github.com/users/ThibaultDef/events{/privacy}", "received_events_url": "https://api.github.com/users/ThibaultDef/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
5
2023-09-07T21:33:08
2023-11-15T21:51:45
null
NONE
null
### Issue you'd like to raise. I was led to use GPT4All for building a personal chatbot. It generated undesired output. More precisely, it generates the all conversation, after writing the first prompt. For solving this problem, I instantiated GPT4All with a not empty list value for attribute `stop` : ` llm = GPT4All( model=local_path, callbacks=callbacks, verbose=True, streaming=True, stop=["System:"], ) ` However, it continues to generate these undesired output. ### Suggestion: Finally I may have found a small fix to solve this problem for this type of LLM. I intent to create a PR very soon, if you agree with this.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10345/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10344
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10344/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10344/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10344/events
https://github.com/langchain-ai/langchain/pull/10344
1,886,576,310
PR_kwDOIPDwls5Z0Z_y
10,344
Fix colab link(missing graph in url) and comment to match the code fo…
{ "login": "kcocco", "id": 1429579, "node_id": "MDQ6VXNlcjE0Mjk1Nzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1429579?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kcocco", "html_url": "https://github.com/kcocco", "followers_url": "https://api.github.com/users/kcocco/followers", "following_url": "https://api.github.com/users/kcocco/following{/other_user}", "gists_url": "https://api.github.com/users/kcocco/gists{/gist_id}", "starred_url": "https://api.github.com/users/kcocco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kcocco/subscriptions", "organizations_url": "https://api.github.com/users/kcocco/orgs", "repos_url": "https://api.github.com/users/kcocco/repos", "events_url": "https://api.github.com/users/kcocco/events{/privacy}", "received_events_url": "https://api.github.com/users/kcocco/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-07T21:19:16
2023-09-07T22:59:09
2023-09-07T21:57:28
CONTRIBUTOR
null
- Description: Fixing Colab broken link and comment correction to align with the code that uses Warren Buffet for wiki query - Issue: None open - Dependencies: none - Tag maintainer: n/a - Twitter handle: Not a PR change but: kcocco
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10344/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10344", "html_url": "https://github.com/langchain-ai/langchain/pull/10344", "diff_url": "https://github.com/langchain-ai/langchain/pull/10344.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10344.patch", "merged_at": "2023-09-07T21:57:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/10342
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10342/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10342/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10342/events
https://github.com/langchain-ai/langchain/pull/10342
1,886,501,351
PR_kwDOIPDwls5Z0J45
10,342
split lcel cookbook
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-07T20:08:42
2023-09-07T21:56:39
2023-09-07T21:56:38
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10342/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10342", "html_url": "https://github.com/langchain-ai/langchain/pull/10342", "diff_url": "https://github.com/langchain-ai/langchain/pull/10342.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10342.patch", "merged_at": "2023-09-07T21:56:38" }
https://api.github.com/repos/langchain-ai/langchain/issues/10341
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10341/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10341/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10341/events
https://github.com/langchain-ai/langchain/pull/10341
1,886,491,563
PR_kwDOIPDwls5Z0Hwv
10,341
Reduce default num retries
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-07T20:00:06
2023-11-22T22:42:03
2023-11-22T22:42:03
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10341/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10341", "html_url": "https://github.com/langchain-ai/langchain/pull/10341", "diff_url": "https://github.com/langchain-ai/langchain/pull/10341.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10341.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10340
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10340/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10340/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10340/events
https://github.com/langchain-ai/langchain/pull/10340
1,886,385,649
PR_kwDOIPDwls5ZzwyF
10,340
eugene/automaton variant 3
{ "login": "eyurtsev", "id": 3205522, "node_id": "MDQ6VXNlcjMyMDU1MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eyurtsev", "html_url": "https://github.com/eyurtsev", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "repos_url": "https://api.github.com/users/eyurtsev/repos", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
open
false
null
[]
null
1
2023-09-07T18:26:37
2023-09-07T21:07:02
null
COLLABORATOR
null
Rewrite with more runnable stuff
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10340/timeline
null
null
true
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10340", "html_url": "https://github.com/langchain-ai/langchain/pull/10340", "diff_url": "https://github.com/langchain-ai/langchain/pull/10340.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10340.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10339
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10339/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10339/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10339/events
https://github.com/langchain-ai/langchain/issues/10339
1,886,350,516
I_kwDOIPDwls5wb2y0
10,339
Streaming Turns on Verbose mode for AgentType.CONVERSATIONAL_REACT_DESCRIPTION
{ "login": "rdhillbb", "id": 17669783, "node_id": "MDQ6VXNlcjE3NjY5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/17669783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rdhillbb", "html_url": "https://github.com/rdhillbb", "followers_url": "https://api.github.com/users/rdhillbb/followers", "following_url": "https://api.github.com/users/rdhillbb/following{/other_user}", "gists_url": "https://api.github.com/users/rdhillbb/gists{/gist_id}", "starred_url": "https://api.github.com/users/rdhillbb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rdhillbb/subscriptions", "organizations_url": "https://api.github.com/users/rdhillbb/orgs", "repos_url": "https://api.github.com/users/rdhillbb/repos", "events_url": "https://api.github.com/users/rdhillbb/events{/privacy}", "received_events_url": "https://api.github.com/users/rdhillbb/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
3
2023-09-07T17:56:38
2023-12-14T16:04:47
2023-12-14T16:04:47
NONE
null
### System Info With Streaming turned on, verbose mode is turned on. Am I doing something wrong? Python 3.10.9 Name: langchain Version: 0.0.284 llm2 = ChatOpenAI( temperature=0, streaming=True, callbacks=[StreamingStdOutCallbackHandler()], model="gpt-4-0613", ) agent = initialize_agent( tools, llm2, agent=AgentType.CONVERSATIONAL_REACT_DESCRIPTION, memory=memory, verbose=False, ) Thought: Do I need to use a tool? Yes Action: Search for Property Owners Action Input: 5954A Bartonsville RoadDo I need to use a tool? No AI: The house at 5954A Bartonsville Road is owned by Rainbown Johonson.The house at 5954A Bartonsville Road is owned by Rainbown Johonson. Thought: Do I need to use a tool? Yes Action: Search for Property Owners Action Input: 1163 Annamarie WayDo I need to use a tool? Yes Action: Search for People Action Input: Randolph HillDo I need to use a tool? No ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction llm2 = ChatOpenAI( temperature=0, streaming=True, callbacks=[StreamingStdOutCallbackHandler()], model="gpt-4-0613", ) agent = initialize_agent( tools, llm2, agent=AgentType.CONVERSATIONAL_REACT_DESCRIPTION, memory=memory, #verbose=False, ) print( agent.run( input="Who owns the house at the following address 5954A Bartonsville Road?" ) ) ### Expected behavior I do not expect verbose output.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10339/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10338
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10338/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10338/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10338/events
https://github.com/langchain-ai/langchain/issues/10338
1,886,322,923
I_kwDOIPDwls5wbwDr
10,338
DOC: LLMSingleActionAgent vs. Agent
{ "login": "GiannisPikoulis", "id": 87807741, "node_id": "MDQ6VXNlcjg3ODA3NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/87807741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GiannisPikoulis", "html_url": "https://github.com/GiannisPikoulis", "followers_url": "https://api.github.com/users/GiannisPikoulis/followers", "following_url": "https://api.github.com/users/GiannisPikoulis/following{/other_user}", "gists_url": "https://api.github.com/users/GiannisPikoulis/gists{/gist_id}", "starred_url": "https://api.github.com/users/GiannisPikoulis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GiannisPikoulis/subscriptions", "organizations_url": "https://api.github.com/users/GiannisPikoulis/orgs", "repos_url": "https://api.github.com/users/GiannisPikoulis/repos", "events_url": "https://api.github.com/users/GiannisPikoulis/events{/privacy}", "received_events_url": "https://api.github.com/users/GiannisPikoulis/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-07T17:33:37
2023-12-14T16:04:52
2023-12-14T16:04:52
NONE
null
### Issue with current documentation: Hello. I think there is little to no explanation as to which are the differences between `LLMSingleActionAgent` and `Agent` classes, and which is suitable for what scenario. Both classes inherit from `BaseSingleActionAgent`. Thanks in advance. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10338/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/10338/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10337
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10337/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10337/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10337/events
https://github.com/langchain-ai/langchain/issues/10337
1,886,302,306
I_kwDOIPDwls5wbrBi
10,337
TextGen parameter to silence the print in terminal
{ "login": "michaelgrewal", "id": 58837913, "node_id": "MDQ6VXNlcjU4ODM3OTEz", "avatar_url": "https://avatars.githubusercontent.com/u/58837913?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelgrewal", "html_url": "https://github.com/michaelgrewal", "followers_url": "https://api.github.com/users/michaelgrewal/followers", "following_url": "https://api.github.com/users/michaelgrewal/following{/other_user}", "gists_url": "https://api.github.com/users/michaelgrewal/gists{/gist_id}", "starred_url": "https://api.github.com/users/michaelgrewal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelgrewal/subscriptions", "organizations_url": "https://api.github.com/users/michaelgrewal/orgs", "repos_url": "https://api.github.com/users/michaelgrewal/repos", "events_url": "https://api.github.com/users/michaelgrewal/events{/privacy}", "received_events_url": "https://api.github.com/users/michaelgrewal/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-07T17:16:09
2023-12-07T16:14:14
2023-12-07T16:14:07
NONE
null
### Feature request I'd like a way to silence TextGen's output in my terminal. For example, a parameter would be perfect. Looking at TextGen's source code, I see this line `print(prompt + result)`. If I remove this line, then I get the desired effect where nothing is printed to my terminal. ### Motivation I'm working on an app with lots of logging and thousands of requests are sent via TextGen. My output is very noisy with every prompt and result printed, and it's troublesome to scroll through it all. I only care about the result I receive. ### Your contribution My suggestion is to add a parameter flag to TextGen such that I can control the print (on or off), instead of it being hardcoded in. There are 2 areas where I'd like to see it changed: 1. When streaming is enabled `print(prompt + combined_text_output)` 2. When streaming is disabled `print(prompt + result)`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10337/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10336
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10336/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10336/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10336/events
https://github.com/langchain-ai/langchain/issues/10336
1,886,296,572
I_kwDOIPDwls5wbpn8
10,336
Issue with Few Short prompt when passed to agent
{ "login": "AnkitaKota", "id": 75229326, "node_id": "MDQ6VXNlcjc1MjI5MzI2", "avatar_url": "https://avatars.githubusercontent.com/u/75229326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnkitaKota", "html_url": "https://github.com/AnkitaKota", "followers_url": "https://api.github.com/users/AnkitaKota/followers", "following_url": "https://api.github.com/users/AnkitaKota/following{/other_user}", "gists_url": "https://api.github.com/users/AnkitaKota/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnkitaKota/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnkitaKota/subscriptions", "organizations_url": "https://api.github.com/users/AnkitaKota/orgs", "repos_url": "https://api.github.com/users/AnkitaKota/repos", "events_url": "https://api.github.com/users/AnkitaKota/events{/privacy}", "received_events_url": "https://api.github.com/users/AnkitaKota/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
36
2023-09-07T17:11:20
2023-10-03T17:02:39
null
NONE
null
### System Info I have used the SemanticSimilarityExampleSelector and created a prompt. When I try to pass this to agent it fails saying: **ValueError: Saving an example selector is not currently supported** ![image](https://github.com/langchain-ai/langchain/assets/75229326/81a38ed5-b2d2-4756-ae30-e89e41c6a734) ValueError: Saving an example selector is not currently supported to create prompt I have used https://python.langchain.com/docs/modules/model_io/prompts/example_selectors/similarity ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Use the above code provided along with prompt selector provided in the original docuementation ### Expected behavior To produce the output for the question asked
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10336/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/10336/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10335
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10335/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10335/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10335/events
https://github.com/langchain-ai/langchain/pull/10335
1,886,280,398
PR_kwDOIPDwls5ZzaBc
10,335
supabase embedding usage fix
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
1
2023-09-07T17:00:49
2023-09-07T17:06:45
2023-09-07T17:04:49
COLLABORATOR
null
Should be calling Embeddings.embed_query instead of embed_documents when searching
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10335/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10335", "html_url": "https://github.com/langchain-ai/langchain/pull/10335", "diff_url": "https://github.com/langchain-ai/langchain/pull/10335.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10335.patch", "merged_at": "2023-09-07T17:04:49" }
https://api.github.com/repos/langchain-ai/langchain/issues/10334
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10334/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10334/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10334/events
https://github.com/langchain-ai/langchain/pull/10334
1,886,256,568
PR_kwDOIPDwls5ZzUog
10,334
nuclia db nit
{ "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": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-07T16:48:52
2023-09-07T16:49:01
2023-09-07T16:48:57
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10334/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10334", "html_url": "https://github.com/langchain-ai/langchain/pull/10334", "diff_url": "https://github.com/langchain-ai/langchain/pull/10334.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10334.patch", "merged_at": "2023-09-07T16:48:57" }
https://api.github.com/repos/langchain-ai/langchain/issues/10333
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10333/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10333/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10333/events
https://github.com/langchain-ai/langchain/issues/10333
1,886,206,628
I_kwDOIPDwls5wbTqk
10,333
PineconeHynridSearchRetriever missing several args and not returning ids of vectors when adding texts
{ "login": "OmriNach", "id": 32659330, "node_id": "MDQ6VXNlcjMyNjU5MzMw", "avatar_url": "https://avatars.githubusercontent.com/u/32659330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OmriNach", "html_url": "https://github.com/OmriNach", "followers_url": "https://api.github.com/users/OmriNach/followers", "following_url": "https://api.github.com/users/OmriNach/following{/other_user}", "gists_url": "https://api.github.com/users/OmriNach/gists{/gist_id}", "starred_url": "https://api.github.com/users/OmriNach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OmriNach/subscriptions", "organizations_url": "https://api.github.com/users/OmriNach/orgs", "repos_url": "https://api.github.com/users/OmriNach/repos", "events_url": "https://api.github.com/users/OmriNach/events{/privacy}", "received_events_url": "https://api.github.com/users/OmriNach/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": 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": 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
2
2023-09-07T16:19:08
2023-12-14T16:04:58
2023-12-14T16:04:57
CONTRIBUTOR
null
### System Info There are a few differences between the PineconeHybridSearchRetriever and base Pinecone retriever making it difficult to switch to the former. @hw You can pass search_kwargs to pinecone index.as_retriver(search_kwargs:{filter: 'value'}) because it inherits from base VectorStore which has the as_retriever method with search_kwarg args. But it is not clear from the documentation of PineconeHybridSearchRetriever, which inherits from BaseRetriever, how to pass those same arguments. Also, the add_text method in Pinecone class returns the IDs, whereas in HybridSearch it does not. `[[docs]](https://api.python.langchain.com/en/latest/vectorstores/langchain.vectorstores.pinecone.Pinecone.html#langchain.vectorstores.pinecone.Pinecone.add_texts) def add_texts( self, texts: Iterable[str], metadatas: Optional[List[dict]] = None, ids: Optional[List[str]] = None, namespace: Optional[str] = None, batch_size: int = 32, embedding_chunk_size: int = 1000, **kwargs: Any, .... .... for i in range(0, len(texts), embedding_chunk_size): chunk_texts = texts[i : i + embedding_chunk_size] chunk_ids = ids[i : i + embedding_chunk_size] chunk_metadatas = metadatas[i : i + embedding_chunk_size] embeddings = self._embed_documents(chunk_texts) async_res = [ self._index.upsert( vectors=batch, namespace=namespace, async_req=True, **kwargs, ) for batch in batch_iterate( batch_size, zip(chunk_ids, embeddings, chunk_metadatas) ) ] [res.get() for res in async_res] return ids` ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Create pinecone index and use as_retriever with passing search_kwargs('filter':{key:value}) Vs Create PineconeHybridSearchRetriever, there is no way to pass filters ### Expected behavior Pass search_kwargs in the class instantiation of PineconeHybridSearchRetriever so it can be used downstream in conversationalretrievalchain
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10333/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10332
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10332/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10332/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10332/events
https://github.com/langchain-ai/langchain/pull/10332
1,886,166,026
PR_kwDOIPDwls5ZzA0i
10,332
Adding Self-querying for Vectara
{ "login": "ofermend", "id": 1823547, "node_id": "MDQ6VXNlcjE4MjM1NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/1823547?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ofermend", "html_url": "https://github.com/ofermend", "followers_url": "https://api.github.com/users/ofermend/followers", "following_url": "https://api.github.com/users/ofermend/following{/other_user}", "gists_url": "https://api.github.com/users/ofermend/gists{/gist_id}", "starred_url": "https://api.github.com/users/ofermend/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ofermend/subscriptions", "organizations_url": "https://api.github.com/users/ofermend/orgs", "repos_url": "https://api.github.com/users/ofermend/repos", "events_url": "https://api.github.com/users/ofermend/events{/privacy}", "received_events_url": "https://api.github.com/users/ofermend/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-09-07T15:53:10
2023-09-07T17:24:50
2023-09-07T17:24:50
CONTRIBUTOR
null
- Description: Adding support for self-querying to Vectara integration - Issue: per customer request - Tag maintainer: @rlancemartin @baskaryan - Twitter handle: @ofermend Also updated some documentation, added self-query testing, and a demo notebook with self-query example.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10332/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10332", "html_url": "https://github.com/langchain-ai/langchain/pull/10332", "diff_url": "https://github.com/langchain-ai/langchain/pull/10332.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10332.patch", "merged_at": "2023-09-07T17:24:50" }
https://api.github.com/repos/langchain-ai/langchain/issues/10331
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10331/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10331/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10331/events
https://github.com/langchain-ai/langchain/pull/10331
1,886,157,738
PR_kwDOIPDwls5Zy-8w
10,331
nuclia nb nit
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-07T15:49:23
2023-09-07T15:49:34
2023-09-07T15:49:33
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10331/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10331", "html_url": "https://github.com/langchain-ai/langchain/pull/10331", "diff_url": "https://github.com/langchain-ai/langchain/pull/10331.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10331.patch", "merged_at": "2023-09-07T15:49:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/10330
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10330/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10330/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10330/events
https://github.com/langchain-ai/langchain/pull/10330
1,886,140,671
PR_kwDOIPDwls5Zy7T9
10,330
bump 284
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-07T15:39:48
2023-09-07T15:45:43
2023-09-07T15:45:42
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10330/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10330", "html_url": "https://github.com/langchain-ai/langchain/pull/10330", "diff_url": "https://github.com/langchain-ai/langchain/pull/10330.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10330.patch", "merged_at": "2023-09-07T15:45:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/10329
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10329/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10329/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10329/events
https://github.com/langchain-ai/langchain/issues/10329
1,885,991,150
I_kwDOIPDwls5wafDu
10,329
Response is sometimes in different language
{ "login": "BioStarr", "id": 58954329, "node_id": "MDQ6VXNlcjU4OTU0MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/58954329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BioStarr", "html_url": "https://github.com/BioStarr", "followers_url": "https://api.github.com/users/BioStarr/followers", "following_url": "https://api.github.com/users/BioStarr/following{/other_user}", "gists_url": "https://api.github.com/users/BioStarr/gists{/gist_id}", "starred_url": "https://api.github.com/users/BioStarr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BioStarr/subscriptions", "organizations_url": "https://api.github.com/users/BioStarr/orgs", "repos_url": "https://api.github.com/users/BioStarr/repos", "events_url": "https://api.github.com/users/BioStarr/events{/privacy}", "received_events_url": "https://api.github.com/users/BioStarr/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-07T14:13:38
2023-12-14T16:05:03
2023-12-14T16:05:02
NONE
null
### System Info Got no system info to share. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I just want to say that what you developed is awesome, but I have small bug to report, sometimes when I am chatting the response will be in french/spanish although training documentation and question asked is in English. How to reproduce: Say hello to bot, he will respond information is not in the given context. Ask him some question about docs it learned from in English, answer will be in another language French/Spanish/etc. Here is the code. ``` for message in st.session_state.messages: with st.chat_message(message["role"]: st.markdown(message["content"]) if prompt := st.chat_input("State your question"): st.session_state.messages.append({"role": "user", "content": prompt}) with st.chat_message("user"): st.markdown(prompt) llm = ChatOpenAI(temperature=0.5, max_tokens=1000, model_name="gpt-3.5-turbo") conversation = ConversationalRetrievalChain.from_llm( llm, vector_store.as_retriever()) final= conversation ({"question": prompt, "chat_history": [ (message["role"], message["content"]) for message in st.session_state.messages]}) with st.chat_message("assistant): message_placeholder = st.empty() final_response= final["answer"] message_placeholder.markdown(final_response) message_placeholder.markdown(final_response) st.session_state.messages.append( {"role": "assistant", "content": final_response}) ``` ### Expected behavior Answer should be in same language question was asked.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10329/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10327
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10327/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10327/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10327/events
https://github.com/langchain-ai/langchain/pull/10327
1,885,875,398
PR_kwDOIPDwls5ZyB07
10,327
Multilingual anonymization
{ "login": "maks-operlejn-ds", "id": 142261444, "node_id": "U_kgDOCHq8xA", "avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maks-operlejn-ds", "html_url": "https://github.com/maks-operlejn-ds", "followers_url": "https://api.github.com/users/maks-operlejn-ds/followers", "following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}", "gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions", "organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs", "repos_url": "https://api.github.com/users/maks-operlejn-ds/repos", "events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/maks-operlejn-ds/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-09-07T13:14:26
2023-09-07T21:42:24
2023-09-07T21:42:24
CONTRIBUTOR
null
### Description Add multiple language support to Anonymizer PII detection in Microsoft Presidio relies on several components - in addition to the usual pattern matching (e.g. using regex), the analyser uses a model for Named Entity Recognition (NER) to extract entities such as: - `PERSON` - `LOCATION` - `DATE_TIME` - `NRP` - `ORGANIZATION` [[Source]](https://github.com/microsoft/presidio/blob/main/presidio-analyzer/presidio_analyzer/predefined_recognizers/spacy_recognizer.py) To handle NER in specific languages, we utilize unique models from the `spaCy` library, recognized for its extensive selection covering multiple languages and sizes. However, it's not restrictive, allowing for integration of alternative frameworks such as [Stanza](https://microsoft.github.io/presidio/analyzer/nlp_engines/spacy_stanza/) or [transformers](https://microsoft.github.io/presidio/analyzer/nlp_engines/transformers/) when necessary. ### Future works - **automatic language detection** - instead of passing the language as a parameter in `anonymizer.anonymize`, we could detect the language/s beforehand and then use the corresponding NER model. We have discussed this internally and @mateusz-wosinski-ds will look into a standalone language detection tool/chain for LangChain :smile: ### Twitter handle @deepsense_ai / @MaksOpp ### Tag maintainer @baskaryan @hwchase17 @hinthornw
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10327/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10327", "html_url": "https://github.com/langchain-ai/langchain/pull/10327", "diff_url": "https://github.com/langchain-ai/langchain/pull/10327.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10327.patch", "merged_at": "2023-09-07T21:42:24" }
https://api.github.com/repos/langchain-ai/langchain/issues/10326
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10326/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10326/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10326/events
https://github.com/langchain-ai/langchain/pull/10326
1,885,831,167
PR_kwDOIPDwls5Zx4AZ
10,326
Enhancement: add parameter boto3_session for AWS DynamoDB cross account use cases
{ "login": "tmin97", "id": 40569118, "node_id": "MDQ6VXNlcjQwNTY5MTE4", "avatar_url": "https://avatars.githubusercontent.com/u/40569118?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tmin97", "html_url": "https://github.com/tmin97", "followers_url": "https://api.github.com/users/tmin97/followers", "following_url": "https://api.github.com/users/tmin97/following{/other_user}", "gists_url": "https://api.github.com/users/tmin97/gists{/gist_id}", "starred_url": "https://api.github.com/users/tmin97/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tmin97/subscriptions", "organizations_url": "https://api.github.com/users/tmin97/orgs", "repos_url": "https://api.github.com/users/tmin97/repos", "events_url": "https://api.github.com/users/tmin97/events{/privacy}", "received_events_url": "https://api.github.com/users/tmin97/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-09-07T12:50:26
2023-09-08T00:57:10
2023-09-07T21:58:29
CONTRIBUTOR
null
- Description: to allow boto3 assume role for AWS cross account use cases to read and update the chat history, - Issue: use case I faced in my company, - Dependencies: no - Tag maintainer: @baskaryan , - Twitter handle: @tmin97
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10326/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10326", "html_url": "https://github.com/langchain-ai/langchain/pull/10326", "diff_url": "https://github.com/langchain-ai/langchain/pull/10326.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10326.patch", "merged_at": "2023-09-07T21:58:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/10325
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10325/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10325/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10325/events
https://github.com/langchain-ai/langchain/issues/10325
1,885,710,571
I_kwDOIPDwls5wZajr
10,325
Running SQLDatabaseChain return records that does not match the query
{ "login": "livos", "id": 24694937, "node_id": "MDQ6VXNlcjI0Njk0OTM3", "avatar_url": "https://avatars.githubusercontent.com/u/24694937?v=4", "gravatar_id": "", "url": "https://api.github.com/users/livos", "html_url": "https://github.com/livos", "followers_url": "https://api.github.com/users/livos/followers", "following_url": "https://api.github.com/users/livos/following{/other_user}", "gists_url": "https://api.github.com/users/livos/gists{/gist_id}", "starred_url": "https://api.github.com/users/livos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/livos/subscriptions", "organizations_url": "https://api.github.com/users/livos/orgs", "repos_url": "https://api.github.com/users/livos/repos", "events_url": "https://api.github.com/users/livos/events{/privacy}", "received_events_url": "https://api.github.com/users/livos/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5774514459, "node_id": "LA_kwDOIPDwls8AAAABWDAZGw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale", "name": "stale", "color": "dadada", "default": false, "description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
6
2023-09-07T11:33:14
2023-12-30T16:02:24
null
NONE
null
### System Info Running SQLDatabaseChain with LangChain version 0.0.271 and SQLite return records that does not match the query. Using SQLDatabaseChain with verbose set to true I am getting these in the console: ```sql SQLQuery:SELECT id, sale_type, sold_date, property_type, address, city, state_or_province, zip_or_postal_code, price, beds, baths, location, square_feet, lot_size, year_built, day_on_market, usd_per_square_feet, hoa_per_month, url, latitude, longitude FROM properties WHERE city = 'New York' AND price <= 900000 AND property_type = 'House' AND beds >= 2 ORDER BY price DESC LIMIT 5; ``` ``` SQLResult: Answer:[{"id":3,"sale_type":"MLS Listing","sold_date":"None","property_type":"Condo/Co-op","address":"225 Fifth Ave Ph -H","city":"New York","state_or_province":"NY","zip_or_postal_code":10010,"price":3495000,"beds":3,"baths":3.0,"location":"NoMad","square_feet":"1987","lot_size":31106,"year_built":1907,"day_on_market":1,"usd_per_square_feet":"1987","hoa_per_month":"HOAMONTH","url":"https://www.redfin.com/NY/New-York/225-5th-Ave-10010/unit-H/home/174298359","latitude":40.7437447,"longitude":-73.9875513},{"id":2,"sale_type":"MLS Listing","sold_date":"None","property_type":"Condo/Co-op","address":"416 W 52nd St #520","city":"New York","state_or_province":"NY","zip_or_ ``` The SQLResult does not match the SQLQuery. The SQLResult contains a property with a price of 3495000 which is higher than the 900000 filter in the SQLQuery. Also property_type "Condo/Co-op" does not match "house" from the query. Note that for any reason the results string is truncated at "zip_or_" around 770 characters. When I execute a copy/paste of the SQL query from SQLQuery in console directly in the database it returns me 0 result. which what it should return. For info the "price" column is an INTEGER. This is the code : ```python def ask_question(): data = request.get_json() question = data['question'] question = QUERY.format(question=question) text = db_chain.run(question) ``` Did I miss something ? ### 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 - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Run an SQLDatabaseChain with verbose to True Compare the SQLquery and the SQLresult from the console. The result is not what is expected with the query. ### Expected behavior The SQL result from the console should match the SQL query.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10325/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/10325/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10324
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10324/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10324/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10324/events
https://github.com/langchain-ai/langchain/pull/10324
1,885,646,576
PR_kwDOIPDwls5ZxP5x
10,324
Multilingual anonymization
{ "login": "maks-operlejn-ds", "id": 142261444, "node_id": "U_kgDOCHq8xA", "avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maks-operlejn-ds", "html_url": "https://github.com/maks-operlejn-ds", "followers_url": "https://api.github.com/users/maks-operlejn-ds/followers", "following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}", "gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions", "organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs", "repos_url": "https://api.github.com/users/maks-operlejn-ds/repos", "events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/maks-operlejn-ds/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-09-07T10:49:53
2023-09-07T11:00:00
2023-09-07T10:50:52
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10324/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10324", "html_url": "https://github.com/langchain-ai/langchain/pull/10324", "diff_url": "https://github.com/langchain-ai/langchain/pull/10324.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10324.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10321
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10321/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10321/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10321/events
https://github.com/langchain-ai/langchain/issues/10321
1,885,452,004
I_kwDOIPDwls5wYbbk
10,321
sqlite3.OperationalError: too many SQL variables
{ "login": "Ali-Jakhar", "id": 57293126, "node_id": "MDQ6VXNlcjU3MjkzMTI2", "avatar_url": "https://avatars.githubusercontent.com/u/57293126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ali-Jakhar", "html_url": "https://github.com/Ali-Jakhar", "followers_url": "https://api.github.com/users/Ali-Jakhar/followers", "following_url": "https://api.github.com/users/Ali-Jakhar/following{/other_user}", "gists_url": "https://api.github.com/users/Ali-Jakhar/gists{/gist_id}", "starred_url": "https://api.github.com/users/Ali-Jakhar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ali-Jakhar/subscriptions", "organizations_url": "https://api.github.com/users/Ali-Jakhar/orgs", "repos_url": "https://api.github.com/users/Ali-Jakhar/repos", "events_url": "https://api.github.com/users/Ali-Jakhar/events{/privacy}", "received_events_url": "https://api.github.com/users/Ali-Jakhar/received_events", "type": "User", "site_admin": false }
[ { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
6
2023-09-07T09:11:01
2023-12-14T16:05:07
2023-12-14T16:05:06
NONE
null
### Issue you'd like to raise. I have pdf which has more than 2000 pages. file read successfully, but vector db was not created and getting this error. please suggest any solution. **complete error:** embeddings results = cur.execute(sql, params).fetchall() sqlite3.OperationalError: too many SQL variables ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10321/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10320
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10320/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10320/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10320/events
https://github.com/langchain-ai/langchain/pull/10320
1,885,424,580
PR_kwDOIPDwls5Zwepi
10,320
Fixed link to colab notebook
{ "login": "maks-operlejn-ds", "id": 142261444, "node_id": "U_kgDOCHq8xA", "avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maks-operlejn-ds", "html_url": "https://github.com/maks-operlejn-ds", "followers_url": "https://api.github.com/users/maks-operlejn-ds/followers", "following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}", "gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}", "starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions", "organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs", "repos_url": "https://api.github.com/users/maks-operlejn-ds/repos", "events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}", "received_events_url": "https://api.github.com/users/maks-operlejn-ds/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
2
2023-09-07T08:54:44
2023-09-07T15:42:05
2023-09-07T15:42:05
CONTRIBUTOR
null
@hinthornw small fix to anonymizer documentation
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10320/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10320", "html_url": "https://github.com/langchain-ai/langchain/pull/10320", "diff_url": "https://github.com/langchain-ai/langchain/pull/10320.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10320.patch", "merged_at": "2023-09-07T15:42:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/10319
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10319/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10319/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10319/events
https://github.com/langchain-ai/langchain/pull/10319
1,885,410,699
PR_kwDOIPDwls5Zwbja
10,319
added ContentFormatter escape special characters for message content
{ "login": "Manikanta5112", "id": 116510423, "node_id": "U_kgDOBvHO1w", "avatar_url": "https://avatars.githubusercontent.com/u/116510423?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Manikanta5112", "html_url": "https://github.com/Manikanta5112", "followers_url": "https://api.github.com/users/Manikanta5112/followers", "following_url": "https://api.github.com/users/Manikanta5112/following{/other_user}", "gists_url": "https://api.github.com/users/Manikanta5112/gists{/gist_id}", "starred_url": "https://api.github.com/users/Manikanta5112/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Manikanta5112/subscriptions", "organizations_url": "https://api.github.com/users/Manikanta5112/orgs", "repos_url": "https://api.github.com/users/Manikanta5112/repos", "events_url": "https://api.github.com/users/Manikanta5112/events{/privacy}", "received_events_url": "https://api.github.com/users/Manikanta5112/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
4
2023-09-07T08:48:37
2023-10-06T01:02:30
2023-10-06T01:02:30
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: for azure ml chat endpoint added support for ContentFormatter escape special characters for message content, - Issue: escape special character for message content, - Dependencies: not required any - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10319/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10319", "html_url": "https://github.com/langchain-ai/langchain/pull/10319", "diff_url": "https://github.com/langchain-ai/langchain/pull/10319.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10319.patch", "merged_at": "2023-10-06T01:02:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/10318
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10318/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10318/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10318/events
https://github.com/langchain-ai/langchain/issues/10318
1,885,373,063
I_kwDOIPDwls5wYIKH
10,318
Langchain doesnt work with Databricks Model serving asking generate (str type expected (type=type_error.str)
{ "login": "Prashantramappa", "id": 21273520, "node_id": "MDQ6VXNlcjIxMjczNTIw", "avatar_url": "https://avatars.githubusercontent.com/u/21273520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Prashantramappa", "html_url": "https://github.com/Prashantramappa", "followers_url": "https://api.github.com/users/Prashantramappa/followers", "following_url": "https://api.github.com/users/Prashantramappa/following{/other_user}", "gists_url": "https://api.github.com/users/Prashantramappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Prashantramappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Prashantramappa/subscriptions", "organizations_url": "https://api.github.com/users/Prashantramappa/orgs", "repos_url": "https://api.github.com/users/Prashantramappa/repos", "events_url": "https://api.github.com/users/Prashantramappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Prashantramappa/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-09-07T08:28:28
2023-12-05T12:55:20
null
NONE
null
### System Info I have created a LLama 7b model and in Databricks i have used model serving options. When i test model it works in databricks, but when i use the same model to connect with Langchain i get this error. this works in Databricks model endpoint: Json input: { "dataframe_split": { "columns": [ "prompt", "temperature", "max_tokens" ], "data": [ [ "what is ML?", 0.5, 100 ] ] } } code:- from langchain.llms import Databricks llm = Databricks(endpoint_name="databricks-llama-servingmodel", model_kwargs={"temperature": 0.1, "max_tokens": 100}) llm ("who are you") Error:- ValidationError: 1 validation error for Generation text str type expected (type=type_error.str) ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Any model you take LLM and use the below notebook https://github.com/databricks/databricks-ml-examples/blob/master/llm-models/llamav2/llamav2-7b/02_mlflow_logging_inference.py (for model serving) Try using model serving in Langchain as show in the code and official langchain documents from langchain.llms import Databricks llm = Databricks(endpoint_name="databricks-llama-servingmodel", model_kwargs={"temperature": 0.1, "max_tokens": 100}) llm ("who are you") ### Expected behavior llm("who are you") expected output:- I am language model
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10318/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10317
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10317/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10317/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10317/events
https://github.com/langchain-ai/langchain/issues/10317
1,885,368,696
I_kwDOIPDwls5wYHF4
10,317
Issue: How to customize the question_generator_chain in ConversationalRetrievalChain
{ "login": "Tsukumizu", "id": 143052241, "node_id": "U_kgDOCIbN0Q", "avatar_url": "https://avatars.githubusercontent.com/u/143052241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tsukumizu", "html_url": "https://github.com/Tsukumizu", "followers_url": "https://api.github.com/users/Tsukumizu/followers", "following_url": "https://api.github.com/users/Tsukumizu/following{/other_user}", "gists_url": "https://api.github.com/users/Tsukumizu/gists{/gist_id}", "starred_url": "https://api.github.com/users/Tsukumizu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Tsukumizu/subscriptions", "organizations_url": "https://api.github.com/users/Tsukumizu/orgs", "repos_url": "https://api.github.com/users/Tsukumizu/repos", "events_url": "https://api.github.com/users/Tsukumizu/events{/privacy}", "received_events_url": "https://api.github.com/users/Tsukumizu/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" } ]
closed
false
null
[]
null
2
2023-09-07T08:25:40
2023-12-08T04:55:32
2023-12-08T04:55:26
NONE
null
### Issue you'd like to raise. I am writing a ConversationalRetrievalChain with a question_generator_chain. When writing a prompt for condensing the chat_history, I found it doesn't work well with the whole {chat_history}. I guess if I only give all questions asked by "human:", it will perform better. But I don't know how to do that. The original prompt is: Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, if the follow up question is already a standalone question, just return the follow up question. Chat History: {chat_history} Follow Up Question: {question} Standalone question: What I want may looks like: ......... Question asked: {chat_history.human} Follow Up Question: {question} Standalone question: Thanks for attention ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10317/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10316
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10316/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10316/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10316/events
https://github.com/langchain-ai/langchain/issues/10316
1,885,260,192
I_kwDOIPDwls5wXsmg
10,316
Final answer streaming problem
{ "login": "poojitharamachandra", "id": 39840406, "node_id": "MDQ6VXNlcjM5ODQwNDA2", "avatar_url": "https://avatars.githubusercontent.com/u/39840406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/poojitharamachandra", "html_url": "https://github.com/poojitharamachandra", "followers_url": "https://api.github.com/users/poojitharamachandra/followers", "following_url": "https://api.github.com/users/poojitharamachandra/following{/other_user}", "gists_url": "https://api.github.com/users/poojitharamachandra/gists{/gist_id}", "starred_url": "https://api.github.com/users/poojitharamachandra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/poojitharamachandra/subscriptions", "organizations_url": "https://api.github.com/users/poojitharamachandra/orgs", "repos_url": "https://api.github.com/users/poojitharamachandra/repos", "events_url": "https://api.github.com/users/poojitharamachandra/events{/privacy}", "received_events_url": "https://api.github.com/users/poojitharamachandra/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
16
2023-09-07T07:14:40
2024-01-05T17:54:39
null
NONE
null
### System Info hi, I am unable to stream the final answer from llm chain to chianlit UI. langchain==0.0.218 Python 3.9.16 here are the details: https://github.com/Chainlit/chainlit/issues/313 is this implemented? - https://github.com/langchain-ai/langchain/pull/1222/ ### 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 - [X] Chains - [X] Callbacks/Tracing - [ ] Async ### Reproduction the code given above can reproduce the behaviour ### Expected behavior expected behaviour : the final answer from llm chain to be streamed properly to chianlit UI
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10316/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10315
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10315/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10315/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10315/events
https://github.com/langchain-ai/langchain/issues/10315
1,885,236,282
I_kwDOIPDwls5wXmw6
10,315
Issue: CustomCallBackHandlers for catch all intermediate steps
{ "login": "axen2u", "id": 68794951, "node_id": "MDQ6VXNlcjY4Nzk0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68794951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axen2u", "html_url": "https://github.com/axen2u", "followers_url": "https://api.github.com/users/axen2u/followers", "following_url": "https://api.github.com/users/axen2u/following{/other_user}", "gists_url": "https://api.github.com/users/axen2u/gists{/gist_id}", "starred_url": "https://api.github.com/users/axen2u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axen2u/subscriptions", "organizations_url": "https://api.github.com/users/axen2u/orgs", "repos_url": "https://api.github.com/users/axen2u/repos", "events_url": "https://api.github.com/users/axen2u/events{/privacy}", "received_events_url": "https://api.github.com/users/axen2u/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-07T06:57:57
2023-12-14T16:05:12
2023-12-14T16:05:12
NONE
null
### Issue you'd like to raise. I want to create a callback handler to monitor all tokens in all intermediate steps and output catch and return when the response has "AI:". How can I achieve that using the following custom callback handler? ``` import sys from typing import Any, Dict, List, Optional from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler DEFAULT_ANSWER_PREFIX_TOKENS = ["AI", ":"] class CustomCallBackHandler(StreamingStdOutCallbackHandler): """Callback handler for streaming in agents. Only works with agents using LLMs that support streaming. Only the final output of the agent will be streamed. """ def append_to_last_tokens(self, token: str) -> None: self.last_tokens.append(token) self.last_tokens_stripped.append(token.strip()) if len(self.last_tokens) > len(self.answer_prefix_tokens): self.last_tokens.pop(0) self.last_tokens_stripped.pop(0) def check_if_answer_reached(self) -> bool: if self.strip_tokens: return self.last_tokens_stripped == self.answer_prefix_tokens_stripped else: return self.last_tokens == self.answer_prefix_tokens def __init__( self, *, answer_prefix_tokens: Optional[List[str]] = None, strip_tokens: bool = True, stream_prefix: bool = False ) -> None: self.collected_tokens = [] """Instantiate FinalStreamingStdOutCallbackHandler. Args: answer_prefix_tokens: Token sequence that prefixes the answer. Default is ["Final", "Answer", ":"] strip_tokens: Ignore white spaces and new lines when comparing answer_prefix_tokens to last tokens? (to determine if answer has been reached) stream_prefix: Should answer prefix itself also be streamed? """ super().__init__() if answer_prefix_tokens is None: self.answer_prefix_tokens = DEFAULT_ANSWER_PREFIX_TOKENS else: self.answer_prefix_tokens = answer_prefix_tokens if strip_tokens: self.answer_prefix_tokens_stripped = [ token.strip() for token in self.answer_prefix_tokens ] else: self.answer_prefix_tokens_stripped = self.answer_prefix_tokens self.last_tokens = [""] * len(self.answer_prefix_tokens) self.last_tokens_stripped = [""] * len(self.answer_prefix_tokens) self.strip_tokens = strip_tokens self.stream_prefix = stream_prefix self.answer_reached = False def on_llm_start( self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any ) -> None: self.answer_reached = False def on_llm_new_token(self, token: str, **kwargs: Any) -> None: """Run on new LLM token. Only available when streaming is enabled.""" # Remember the last n tokens, where n = len(answer_prefix_tokens) self.append_to_last_tokens(token) # Check if the last n tokens match the answer_prefix_tokens list ... if self.check_if_answer_reached(): self.answer_reached = True if self.stream_prefix: for t in self.last_tokens: self.collected_tokens.append(t) return # ... if yes, then collect tokens from now on if self.answer_reached: self.collected_tokens.append(token) def get_collected_tokens(self) -> str: """Return the collected tokens as a single string.""" return ''.join(self.collected_tokens) ``` ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10315/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10314
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10314/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10314/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10314/events
https://github.com/langchain-ai/langchain/issues/10314
1,885,210,992
I_kwDOIPDwls5wXglw
10,314
Langchain Quickstart is not working for me
{ "login": "FilipMasar", "id": 17461714, "node_id": "MDQ6VXNlcjE3NDYxNzE0", "avatar_url": "https://avatars.githubusercontent.com/u/17461714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FilipMasar", "html_url": "https://github.com/FilipMasar", "followers_url": "https://api.github.com/users/FilipMasar/followers", "following_url": "https://api.github.com/users/FilipMasar/following{/other_user}", "gists_url": "https://api.github.com/users/FilipMasar/gists{/gist_id}", "starred_url": "https://api.github.com/users/FilipMasar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FilipMasar/subscriptions", "organizations_url": "https://api.github.com/users/FilipMasar/orgs", "repos_url": "https://api.github.com/users/FilipMasar/repos", "events_url": "https://api.github.com/users/FilipMasar/events{/privacy}", "received_events_url": "https://api.github.com/users/FilipMasar/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-07T06:38:07
2023-09-09T21:29:36
2023-09-09T21:29:36
NONE
null
### System Info Apple Macbook M1 Pro python: 3.11.2 langchain: 0.0.283 pydantic: 2.3.0 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction 1. pip3.11 install langchain 2. run python3.11 in terminal 3. execute `from langchain.llms import OpenAI` which produce following error for me ``` Python 3.11.2 (main, Feb 16 2023, 02:55:59) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from langchain.llms import OpenAI Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/homebrew/lib/python3.11/site-packages/langchain/__init__.py", line 6, in <module> from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain File "/opt/homebrew/lib/python3.11/site-packages/langchain/agents/__init__.py", line 31, in <module> from langchain.agents.agent import ( File "/opt/homebrew/lib/python3.11/site-packages/langchain/agents/agent.py", line 14, in <module> from langchain.agents.agent_iterator import AgentExecutorIterator File "/opt/homebrew/lib/python3.11/site-packages/langchain/agents/agent_iterator.py", line 30, in <module> from langchain.tools import BaseTool File "/opt/homebrew/lib/python3.11/site-packages/langchain/tools/__init__.py", line 25, in <module> from langchain.tools.arxiv.tool import ArxivQueryRun File "/opt/homebrew/lib/python3.11/site-packages/langchain/tools/arxiv/tool.py", line 8, in <module> from langchain.utilities.arxiv import ArxivAPIWrapper File "/opt/homebrew/lib/python3.11/site-packages/langchain/utilities/__init__.py", line 7, in <module> from langchain.utilities.apify import ApifyWrapper File "/opt/homebrew/lib/python3.11/site-packages/langchain/utilities/apify.py", line 3, in <module> from langchain.document_loaders import ApifyDatasetLoader File "/opt/homebrew/lib/python3.11/site-packages/langchain/document_loaders/__init__.py", line 76, in <module> from langchain.document_loaders.embaas import EmbaasBlobLoader, EmbaasLoader File "/opt/homebrew/lib/python3.11/site-packages/langchain/document_loaders/embaas.py", line 54, in <module> class BaseEmbaasLoader(BaseModel): File "/opt/homebrew/lib/python3.11/site-packages/pydantic/main.py", line 204, in __new__ fields[ann_name] = ModelField.infer( ^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 488, in infer return cls( ^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 419, in __init__ self.prepare() File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 539, in prepare self.populate_validators() File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 801, in populate_validators *(get_validators() if get_validators else list(find_validators(self.type_, self.model_config))), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/validators.py", line 696, in find_validators yield make_typeddict_validator(type_, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/validators.py", line 585, in make_typeddict_validator TypedDictModel = create_model_from_typeddict( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/annotated_types.py", line 35, in create_model_from_typeddict return create_model(typeddict_cls.__name__, **kwargs, **field_definitions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/main.py", line 972, in create_model return type(__model_name, __base__, namespace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/main.py", line 204, in __new__ fields[ann_name] = ModelField.infer( ^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 488, in infer return cls( ^^^^ File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 419, in __init__ self.prepare() File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 534, in prepare self._type_analysis() File "/opt/homebrew/lib/python3.11/site-packages/pydantic/fields.py", line 638, in _type_analysis elif issubclass(origin, Tuple): # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/typing.py", line 1551, in __subclasscheck__ return issubclass(cls, self.__origin__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: issubclass() arg 1 must be a class ``` ### Expected behavior To be able to use langchain
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10314/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10313
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10313/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10313/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10313/events
https://github.com/langchain-ai/langchain/issues/10313
1,885,171,818
I_kwDOIPDwls5wXXBq
10,313
apply embeddings to pandas dataframe
{ "login": "andysingal", "id": 20493493, "node_id": "MDQ6VXNlcjIwNDkzNDkz", "avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andysingal", "html_url": "https://github.com/andysingal", "followers_url": "https://api.github.com/users/andysingal/followers", "following_url": "https://api.github.com/users/andysingal/following{/other_user}", "gists_url": "https://api.github.com/users/andysingal/gists{/gist_id}", "starred_url": "https://api.github.com/users/andysingal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andysingal/subscriptions", "organizations_url": "https://api.github.com/users/andysingal/orgs", "repos_url": "https://api.github.com/users/andysingal/repos", "events_url": "https://api.github.com/users/andysingal/events{/privacy}", "received_events_url": "https://api.github.com/users/andysingal/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
7
2023-09-07T06:02:33
2023-12-14T16:05:18
2023-12-14T16:05:17
NONE
null
### System Info jupyter notebook, RTX 3090 ### Who can help? @agola11 @hwchase17 @ey ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ``` from langchain.embeddings import SentenceTransformerEmbeddings embedding=lambda x: x['combined_info'].apply(lambda text: embeddings.embed_documents(text)) ``` does not work Any workarounds on it? ### Expected behavior outputs embeddings
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10313/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10312
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10312/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10312/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10312/events
https://github.com/langchain-ai/langchain/issues/10312
1,885,116,454
I_kwDOIPDwls5wXJgm
10,312
DOC: <Observation Streaming Using Call Back>
{ "login": "axen2u", "id": 68794951, "node_id": "MDQ6VXNlcjY4Nzk0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68794951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axen2u", "html_url": "https://github.com/axen2u", "followers_url": "https://api.github.com/users/axen2u/followers", "following_url": "https://api.github.com/users/axen2u/following{/other_user}", "gists_url": "https://api.github.com/users/axen2u/gists{/gist_id}", "starred_url": "https://api.github.com/users/axen2u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axen2u/subscriptions", "organizations_url": "https://api.github.com/users/axen2u/orgs", "repos_url": "https://api.github.com/users/axen2u/repos", "events_url": "https://api.github.com/users/axen2u/events{/privacy}", "received_events_url": "https://api.github.com/users/axen2u/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
4
2023-09-07T04:57:35
2023-12-30T18:21:43
2023-12-14T16:05:21
NONE
null
### Issue with current documentation: When I am using a tool with `return_direct = True` , the observation step will provide the answer. Is there a way to stream that observation from the intermediate steps using callbacks. I found no information regarding this. It is much appreciated if we can add something regarding that as well. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10312/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/10312/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10311
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10311/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10311/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10311/events
https://github.com/langchain-ai/langchain/issues/10311
1,885,097,882
I_kwDOIPDwls5wXE-a
10,311
Issue: Obeservation is capping out when passing to Action Input [CONVERSATIONAL_REACT_DESCRIPTION]
{ "login": "axen2u", "id": 68794951, "node_id": "MDQ6VXNlcjY4Nzk0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68794951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axen2u", "html_url": "https://github.com/axen2u", "followers_url": "https://api.github.com/users/axen2u/followers", "following_url": "https://api.github.com/users/axen2u/following{/other_user}", "gists_url": "https://api.github.com/users/axen2u/gists{/gist_id}", "starred_url": "https://api.github.com/users/axen2u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axen2u/subscriptions", "organizations_url": "https://api.github.com/users/axen2u/orgs", "repos_url": "https://api.github.com/users/axen2u/repos", "events_url": "https://api.github.com/users/axen2u/events{/privacy}", "received_events_url": "https://api.github.com/users/axen2u/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-07T04:34:10
2023-12-14T16:05:27
2023-12-14T16:05:26
NONE
null
### Issue you'd like to raise. When working with the `CONVERSATIONAL_REACT_DESCRIPTION`, I found Observation was capped out when passing to the action input. For example I have retrieved a JsonArray by using a structured tool but when the agent passes it to the final tool jsonArray was capped out. Can I handle it? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10311/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10310
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10310/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10310/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10310/events
https://github.com/langchain-ai/langchain/issues/10310
1,885,075,993
I_kwDOIPDwls5wW_oZ
10,310
DOC: Action Input and Final Answer
{ "login": "axen2u", "id": 68794951, "node_id": "MDQ6VXNlcjY4Nzk0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68794951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axen2u", "html_url": "https://github.com/axen2u", "followers_url": "https://api.github.com/users/axen2u/followers", "following_url": "https://api.github.com/users/axen2u/following{/other_user}", "gists_url": "https://api.github.com/users/axen2u/gists{/gist_id}", "starred_url": "https://api.github.com/users/axen2u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axen2u/subscriptions", "organizations_url": "https://api.github.com/users/axen2u/orgs", "repos_url": "https://api.github.com/users/axen2u/repos", "events_url": "https://api.github.com/users/axen2u/events{/privacy}", "received_events_url": "https://api.github.com/users/axen2u/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-07T04:03:13
2023-09-15T03:15:07
2023-09-15T03:15:07
NONE
null
### Issue with current documentation: I wasn't able to find any information related to the customization of Action Input and Final Answer customization. It is much-appreciated if the documentation can provide some info regarding that as well. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10310/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10309
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10309/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10309/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10309/events
https://github.com/langchain-ai/langchain/issues/10309
1,885,064,287
I_kwDOIPDwls5wW8xf
10,309
Errors about ErnieBotChat
{ "login": "liye199033", "id": 131761099, "node_id": "U_kgDOB9qDyw", "avatar_url": "https://avatars.githubusercontent.com/u/131761099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liye199033", "html_url": "https://github.com/liye199033", "followers_url": "https://api.github.com/users/liye199033/followers", "following_url": "https://api.github.com/users/liye199033/following{/other_user}", "gists_url": "https://api.github.com/users/liye199033/gists{/gist_id}", "starred_url": "https://api.github.com/users/liye199033/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liye199033/subscriptions", "organizations_url": "https://api.github.com/users/liye199033/orgs", "repos_url": "https://api.github.com/users/liye199033/repos", "events_url": "https://api.github.com/users/liye199033/events{/privacy}", "received_events_url": "https://api.github.com/users/liye199033/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-07T03:46:18
2023-09-07T04:09:47
2023-09-07T04:09:46
NONE
null
### Issue you'd like to raise. my test code ``` import unittest from langchain.chat_models import ErnieBotChat from langchain.schema import ( HumanMessage ) class TestErnieBotCase(unittest.TestCase): def test_ernie_bot(self): chat_llm = ErnieBotChat( ernie_client_id="xxx", ernie_client_secret="xxx" ) result = chat_llm.generate(messages=[HumanMessage(content="请列出清朝的所有皇帝的姓名和年号")]) print(result) if __name__ == '__main__': unittest.main() ``` it's return error: ``` Error Traceback (most recent call last): File "/Users/keigo/Workspace/study/langchain/tests/test_erniebot.py", line 14, in test_ernie_bot result = chat_llm.generate(messages=[HumanMessage(content="请列出清朝的所有皇帝的姓名和年号")]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/base.py", line 309, in generate raise e File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/base.py", line 299, in generate self._generate_with_cache( File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/base.py", line 446, in _generate_with_cache return self._generate( ^^^^^^^^^^^^^^^ File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/ernie.py", line 157, in _generate "messages": [_convert_message_to_dict(m) for m in messages], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/ernie.py", line 157, in <listcomp> "messages": [_convert_message_to_dict(m) for m in messages], ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/keigo/Workspace/study/langchain/venv/lib/python3.11/site-packages/langchain/chat_models/ernie.py", line 31, in _convert_message_to_dict raise ValueError(f"Got unknown type {message}") ValueError: Got unknown type ('content', '请列出清朝的所有皇帝的姓名和年号') ``` in ernie.py file function _convert_message_to_dict,the variable message is of type tuple。 ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10309/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10308
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10308/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10308/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10308/events
https://github.com/langchain-ai/langchain/issues/10308
1,885,057,548
I_kwDOIPDwls5wW7IM
10,308
Issue: create_pandas_dataframe_agent is hard to work with llama models
{ "login": "JulyMin", "id": 18291008, "node_id": "MDQ6VXNlcjE4MjkxMDA4", "avatar_url": "https://avatars.githubusercontent.com/u/18291008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JulyMin", "html_url": "https://github.com/JulyMin", "followers_url": "https://api.github.com/users/JulyMin/followers", "following_url": "https://api.github.com/users/JulyMin/following{/other_user}", "gists_url": "https://api.github.com/users/JulyMin/gists{/gist_id}", "starred_url": "https://api.github.com/users/JulyMin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JulyMin/subscriptions", "organizations_url": "https://api.github.com/users/JulyMin/orgs", "repos_url": "https://api.github.com/users/JulyMin/repos", "events_url": "https://api.github.com/users/JulyMin/events{/privacy}", "received_events_url": "https://api.github.com/users/JulyMin/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": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
11
2023-09-07T03:36:15
2024-01-05T07:11:45
null
NONE
null
### Issue you'd like to raise. Langchain pandas agents (create_pandas_dataframe_agent ) is hard to work with llama models. (the same scripts work well with gpt3.5.) I am trying to use local model Vicuna 13b v1.5 (LLaMa2 based) to create a local Question&Answer system. it works well dealing with doc QAs. but it doesn't work well dealing with pandas data (by calling create_pandas_dataframe_agent ). Any suggestions for me ? my calling code: ``` df=pd.read_excel(CSV_NAME) pd_agent = create_pandas_dataframe_agent( ChatOpenAI(temperature=0,model_name=set_model), df, verbose=True, agent_type=AgentType.OPENAI_FUNCTIONS, agent_executor_kwargs={"handle_parsing_errors":True} ) pd_agent.run(query) ``` example: when I asking How many events occurred after May 20, 2023? the final answer would be : ````From the data provided, we can find the GUID of the event, and then filter out the data after May 20, 2023 based on the date. The following is the Python code implementation: ```python import pandas as pd #Read data data = pd.read_csv('your_data_file.csv') # Filter the data in the date range filtered_data = data[data['date'] >= '2023-05-20'] # Extract the GUID of the event guids = filtered_data[filtered_data['element'] == 'events']['id'].unique() # Output the GUID of the event print(guids) ``` Please replace `your_data_file.csv` with your data file name. This code will output the GUID of the event after May 20, 2023. ```` it seems the chain did not proceed to the last step. any suggestions for me ? 1. other than create_pandas_dataframe_agent , is there other chain or agent can I try? 2. if i need to overwrite some methods, which method should I edit? the only similar example I found is written by kvnsng https://github.com/langchain-ai/langchain/issues/7709#issuecomment-1653833036 ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10308/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/langchain-ai/langchain/issues/10308/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10307
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10307/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10307/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10307/events
https://github.com/langchain-ai/langchain/pull/10307
1,885,051,072
PR_kwDOIPDwls5ZvOli
10,307
docstrings: `chat_loaders`
{ "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
null
[]
null
1
2023-09-07T03:26:42
2023-09-08T02:55:34
2023-09-08T02:35:35
COLLABORATOR
null
Updated docstrings. Made them consistent across the module.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10307/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10307/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10307", "html_url": "https://github.com/langchain-ai/langchain/pull/10307", "diff_url": "https://github.com/langchain-ai/langchain/pull/10307.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10307.patch", "merged_at": "2023-09-08T02:35:34" }
https://api.github.com/repos/langchain-ai/langchain/issues/10305
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10305/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10305/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10305/events
https://github.com/langchain-ai/langchain/pull/10305
1,884,908,496
PR_kwDOIPDwls5ZuwsI
10,305
Bagatur/myscale vector sql
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-09-07T00:09:58
2023-09-07T00:31:25
2023-09-07T00:30:59
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10305/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10305/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10305", "html_url": "https://github.com/langchain-ai/langchain/pull/10305", "diff_url": "https://github.com/langchain-ai/langchain/pull/10305.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10305.patch", "merged_at": "2023-09-07T00:30:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/10304
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10304/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10304/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10304/events
https://github.com/langchain-ai/langchain/pull/10304
1,884,906,258
PR_kwDOIPDwls5ZuwOE
10,304
Supabase vector self querying retriever
{ "login": "gregnr", "id": 4133076, "node_id": "MDQ6VXNlcjQxMzMwNzY=", "avatar_url": "https://avatars.githubusercontent.com/u/4133076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gregnr", "html_url": "https://github.com/gregnr", "followers_url": "https://api.github.com/users/gregnr/followers", "following_url": "https://api.github.com/users/gregnr/following{/other_user}", "gists_url": "https://api.github.com/users/gregnr/gists{/gist_id}", "starred_url": "https://api.github.com/users/gregnr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gregnr/subscriptions", "organizations_url": "https://api.github.com/users/gregnr/orgs", "repos_url": "https://api.github.com/users/gregnr/repos", "events_url": "https://api.github.com/users/gregnr/events{/privacy}", "received_events_url": "https://api.github.com/users/gregnr/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5932504711, "node_id": "LA_kwDOIPDwls8AAAABYZrWhw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20supabase", "name": "integration: supabase", "color": "738DC8", "default": false, "description": "" } ]
closed
false
null
[]
null
5
2023-09-07T00:06:38
2023-09-07T22:03:27
2023-09-07T22:03:26
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. --> ## Description Adds Supabase Vector as a self-querying retriever. - Designed to be backwards compatible with existing `filter` logic on `SupabaseVectorStore`. - Adds new filter `postgrest_filter` to `SupabaseVectorStore` `similarity_search()` methods - Supports entire PostgREST [filter query language](https://postgrest.org/en/stable/references/api/tables_views.html#read) (used by self-querying retriever, but also works as an escape hatch for more query control) - `SupabaseVectorTranslator` converts Langchain filter into the above PostgREST query - Adds Jupyter Notebook for the self-querying retriever - Adds tests ## Tag maintainer @hwchase17 ## Twitter handle [@ggrdson](https://twitter.com/ggrdson)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10304/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10304", "html_url": "https://github.com/langchain-ai/langchain/pull/10304", "diff_url": "https://github.com/langchain-ai/langchain/pull/10304.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10304.patch", "merged_at": "2023-09-07T22:03:26" }
https://api.github.com/repos/langchain-ai/langchain/issues/10303
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10303/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10303/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10303/events
https://github.com/langchain-ai/langchain/pull/10303
1,884,891,087
PR_kwDOIPDwls5ZutKE
10,303
add in, nin for pinecone
{ "login": "edcohen08", "id": 31940792, "node_id": "MDQ6VXNlcjMxOTQwNzky", "avatar_url": "https://avatars.githubusercontent.com/u/31940792?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edcohen08", "html_url": "https://github.com/edcohen08", "followers_url": "https://api.github.com/users/edcohen08/followers", "following_url": "https://api.github.com/users/edcohen08/following{/other_user}", "gists_url": "https://api.github.com/users/edcohen08/gists{/gist_id}", "starred_url": "https://api.github.com/users/edcohen08/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edcohen08/subscriptions", "organizations_url": "https://api.github.com/users/edcohen08/orgs", "repos_url": "https://api.github.com/users/edcohen08/repos", "events_url": "https://api.github.com/users/edcohen08/events{/privacy}", "received_events_url": "https://api.github.com/users/edcohen08/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 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
4
2023-09-06T23:42:15
2023-10-06T01:31:14
2023-10-06T01:31:10
CONTRIBUTOR
null
Description: Adds the in and nin comparators for pinecone seen [here](https://docs.pinecone.io/docs/metadata-filtering#metadata-query-language)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10303/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10303", "html_url": "https://github.com/langchain-ai/langchain/pull/10303", "diff_url": "https://github.com/langchain-ai/langchain/pull/10303.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10303.patch", "merged_at": "2023-10-06T01:31:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/10302
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10302/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10302/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10302/events
https://github.com/langchain-ai/langchain/pull/10302
1,884,885,738
PR_kwDOIPDwls5ZusBf
10,302
docs `integrations/embeddings` consistency
{ "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": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-06T23:33:16
2023-09-08T02:55:55
2023-09-08T02:53:33
COLLABORATOR
null
Updated `integrations/embeddings`: fixed titles; added links, descriptions Updated `integrations/providers`.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10302/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10302", "html_url": "https://github.com/langchain-ai/langchain/pull/10302", "diff_url": "https://github.com/langchain-ai/langchain/pull/10302.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10302.patch", "merged_at": "2023-09-08T02:53:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/10301
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10301/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10301/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10301/events
https://github.com/langchain-ai/langchain/pull/10301
1,884,883,348
PR_kwDOIPDwls5ZurhI
10,301
Bagatur/nuclia vector
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-09-06T23:29:31
2023-09-06T23:40:48
2023-09-06T23:40:47
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10301/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10301", "html_url": "https://github.com/langchain-ai/langchain/pull/10301", "diff_url": "https://github.com/langchain-ai/langchain/pull/10301.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10301.patch", "merged_at": "2023-09-06T23:40:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/10300
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10300/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10300/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10300/events
https://github.com/langchain-ai/langchain/pull/10300
1,884,882,502
PR_kwDOIPDwls5ZurVe
10,300
Change StructuredTool's ainvoke to await
{ "login": "stopdropandrew", "id": 6681, "node_id": "MDQ6VXNlcjY2ODE=", "avatar_url": "https://avatars.githubusercontent.com/u/6681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stopdropandrew", "html_url": "https://github.com/stopdropandrew", "followers_url": "https://api.github.com/users/stopdropandrew/followers", "following_url": "https://api.github.com/users/stopdropandrew/following{/other_user}", "gists_url": "https://api.github.com/users/stopdropandrew/gists{/gist_id}", "starred_url": "https://api.github.com/users/stopdropandrew/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stopdropandrew/subscriptions", "organizations_url": "https://api.github.com/users/stopdropandrew/orgs", "repos_url": "https://api.github.com/users/stopdropandrew/repos", "events_url": "https://api.github.com/users/stopdropandrew/events{/privacy}", "received_events_url": "https://api.github.com/users/stopdropandrew/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
2
2023-09-06T23:28:10
2023-09-08T02:54:53
2023-09-08T02:54:53
CONTRIBUTOR
null
Fixes #10080. StructuredTool's `ainvoke` doesn't `await`. <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10300/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10300", "html_url": "https://github.com/langchain-ai/langchain/pull/10300", "diff_url": "https://github.com/langchain-ai/langchain/pull/10300.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10300.patch", "merged_at": "2023-09-08T02:54:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/10299
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10299/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10299/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10299/events
https://github.com/langchain-ai/langchain/pull/10299
1,884,829,458
PR_kwDOIPDwls5ZugCF
10,299
add use case nb position
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-06T22:17:17
2023-09-06T22:46:34
2023-09-06T22:46:34
COLLABORATOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10299/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10299", "html_url": "https://github.com/langchain-ai/langchain/pull/10299", "diff_url": "https://github.com/langchain-ai/langchain/pull/10299.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10299.patch", "merged_at": "2023-09-06T22:46:34" }
https://api.github.com/repos/langchain-ai/langchain/issues/10298
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10298/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10298/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10298/events
https://github.com/langchain-ai/langchain/pull/10298
1,884,823,731
PR_kwDOIPDwls5Zue0b
10,298
Fixed qa_citations.ipynb documentation error
{ "login": "ayushzenith", "id": 34427374, "node_id": "MDQ6VXNlcjM0NDI3Mzc0", "avatar_url": "https://avatars.githubusercontent.com/u/34427374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayushzenith", "html_url": "https://github.com/ayushzenith", "followers_url": "https://api.github.com/users/ayushzenith/followers", "following_url": "https://api.github.com/users/ayushzenith/following{/other_user}", "gists_url": "https://api.github.com/users/ayushzenith/gists{/gist_id}", "starred_url": "https://api.github.com/users/ayushzenith/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ayushzenith/subscriptions", "organizations_url": "https://api.github.com/users/ayushzenith/orgs", "repos_url": "https://api.github.com/users/ayushzenith/repos", "events_url": "https://api.github.com/users/ayushzenith/events{/privacy}", "received_events_url": "https://api.github.com/users/ayushzenith/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
2
2023-09-06T22:10:36
2023-11-01T23:45:58
2023-11-01T23:45:58
NONE
null
Issue: #8593 Description: Documentation error fixed. create_citation_fuzzy_match_chain expects dictionary with a specific key-value pair, not just any dictionary like the documentation showed. Dependencies: None Twitter handle: @ayushzenith Tag maintainer: @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10298/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10298", "html_url": "https://github.com/langchain-ai/langchain/pull/10298", "diff_url": "https://github.com/langchain-ai/langchain/pull/10298.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10298.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10297
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10297/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10297/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10297/events
https://github.com/langchain-ai/langchain/pull/10297
1,884,757,888
PR_kwDOIPDwls5ZuQVQ
10,297
Enhancements and bug fixes for `LLMonitorCallbackHandler`
{ "login": "hughcrt", "id": 24587702, "node_id": "MDQ6VXNlcjI0NTg3NzAy", "avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hughcrt", "html_url": "https://github.com/hughcrt", "followers_url": "https://api.github.com/users/hughcrt/followers", "following_url": "https://api.github.com/users/hughcrt/following{/other_user}", "gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}", "starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions", "organizations_url": "https://api.github.com/users/hughcrt/orgs", "repos_url": "https://api.github.com/users/hughcrt/repos", "events_url": "https://api.github.com/users/hughcrt/events{/privacy}", "received_events_url": "https://api.github.com/users/hughcrt/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-06T21:10:06
2023-09-08T22:56:42
2023-09-08T22:56:42
CONTRIBUTOR
null
Hi @baskaryan, I've made updates to LLMonitorCallbackHandler to address a few bugs reported by users These changes don't alter the fundamental behavior of the callback handler. Thanks you!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10297/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10297", "html_url": "https://github.com/langchain-ai/langchain/pull/10297", "diff_url": "https://github.com/langchain-ai/langchain/pull/10297.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10297.patch", "merged_at": "2023-09-08T22:56:42" }
https://api.github.com/repos/langchain-ai/langchain/issues/10295
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10295/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10295/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10295/events
https://github.com/langchain-ai/langchain/pull/10295
1,884,544,484
PR_kwDOIPDwls5Zth4w
10,295
Strip text splits
{ "login": "IlyaMichlin", "id": 1222232, "node_id": "MDQ6VXNlcjEyMjIyMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/1222232?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IlyaMichlin", "html_url": "https://github.com/IlyaMichlin", "followers_url": "https://api.github.com/users/IlyaMichlin/followers", "following_url": "https://api.github.com/users/IlyaMichlin/following{/other_user}", "gists_url": "https://api.github.com/users/IlyaMichlin/gists{/gist_id}", "starred_url": "https://api.github.com/users/IlyaMichlin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/IlyaMichlin/subscriptions", "organizations_url": "https://api.github.com/users/IlyaMichlin/orgs", "repos_url": "https://api.github.com/users/IlyaMichlin/repos", "events_url": "https://api.github.com/users/IlyaMichlin/events{/privacy}", "received_events_url": "https://api.github.com/users/IlyaMichlin/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-09-06T18:32:27
2023-09-06T21:06:13
2023-09-06T21:06:12
CONTRIBUTOR
null
#10085 Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10295/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10295", "html_url": "https://github.com/langchain-ai/langchain/pull/10295", "diff_url": "https://github.com/langchain-ai/langchain/pull/10295.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10295.patch", "merged_at": "2023-09-06T21:06:12" }
https://api.github.com/repos/langchain-ai/langchain/issues/10294
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10294/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10294/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10294/events
https://github.com/langchain-ai/langchain/issues/10294
1,884,353,219
I_kwDOIPDwls5wUPLD
10,294
`langchain/document_loaders/s3_directory.py` S3DirectoryLoader has 3 bugs
{ "login": "leiyue", "id": 594946, "node_id": "MDQ6VXNlcjU5NDk0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/594946?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leiyue", "html_url": "https://github.com/leiyue", "followers_url": "https://api.github.com/users/leiyue/followers", "following_url": "https://api.github.com/users/leiyue/following{/other_user}", "gists_url": "https://api.github.com/users/leiyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/leiyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leiyue/subscriptions", "organizations_url": "https://api.github.com/users/leiyue/orgs", "repos_url": "https://api.github.com/users/leiyue/repos", "events_url": "https://api.github.com/users/leiyue/events{/privacy}", "received_events_url": "https://api.github.com/users/leiyue/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-09-06T16:20:11
2023-12-14T16:05:33
2023-12-14T16:05:32
NONE
null
### System Info langchain==0.0.281 boto3==1.28.41 ```python s3 = boto3.resource( "s3", region_name=self.region_name, api_version=self.api_version, use_ssl=self.use_ssl, verify=self.verify, endpoint_url=self.endpoint_url, aws_access_key_id=self.aws_access_key_id, aws_secret_access_key=self.aws_secret_access_key, aws_session_token=self.aws_session_token, config=self.boto_config, ) ``` line 117 should be `config=self.boto_config` not `boto_config=self.boto_config`. ```python for obj in bucket.objects.filter(Prefix=self.prefix): if obj.get()["ContentLength"] == 0: continue loader = S3FileLoader( self.bucket, obj.key, region_name=self.region_name, api_version=self.api_version, use_ssl=self.use_ssl, verify=self.verify, endpoint_url=self.endpoint_url, aws_access_key_id=self.aws_access_key_id, aws_secret_access_key=self.aws_secret_access_key, aws_session_token=self.aws_session_token, config=self.boto_config, ) docs.extend(loader.load()) ``` before line 122 should add the condition if object is a directory, and line 135 `boto_config` again. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction unnecessary ### Expected behavior unnecessary
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10294/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10293
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10293/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10293/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10293/events
https://github.com/langchain-ai/langchain/pull/10293
1,884,299,594
PR_kwDOIPDwls5ZssR1
10,293
Update rwkv.py
{ "login": "ParamdeepSinghShorthillsAI", "id": 142562266, "node_id": "U_kgDOCH9T2g", "avatar_url": "https://avatars.githubusercontent.com/u/142562266?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ParamdeepSinghShorthillsAI", "html_url": "https://github.com/ParamdeepSinghShorthillsAI", "followers_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/followers", "following_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/following{/other_user}", "gists_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/gists{/gist_id}", "starred_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/subscriptions", "organizations_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/orgs", "repos_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/repos", "events_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/events{/privacy}", "received_events_url": "https://api.github.com/users/ParamdeepSinghShorthillsAI/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-09-06T15:48:14
2023-09-06T20:50:21
2023-09-06T20:50:21
CONTRIBUTOR
null
I have updated the code to ensure consistent error handling for ImportError. Instead of relying on ValueError as before, I've followed the standard practice of raising ImportError while also including detailed error messages. This modification improves code clarity and explicitly indicates that any issues are related to module imports.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10293/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10293", "html_url": "https://github.com/langchain-ai/langchain/pull/10293", "diff_url": "https://github.com/langchain-ai/langchain/pull/10293.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10293.patch", "merged_at": "2023-09-06T20:50:21" }
https://api.github.com/repos/langchain-ai/langchain/issues/10292
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10292/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10292/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10292/events
https://github.com/langchain-ai/langchain/pull/10292
1,884,238,400
PR_kwDOIPDwls5Zse7i
10,292
Add notebook example to use sqlite-vss as a vector store.
{ "login": "philippe2803", "id": 4492530, "node_id": "MDQ6VXNlcjQ0OTI1MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4492530?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philippe2803", "html_url": "https://github.com/philippe2803", "followers_url": "https://api.github.com/users/philippe2803/followers", "following_url": "https://api.github.com/users/philippe2803/following{/other_user}", "gists_url": "https://api.github.com/users/philippe2803/gists{/gist_id}", "starred_url": "https://api.github.com/users/philippe2803/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/philippe2803/subscriptions", "organizations_url": "https://api.github.com/users/philippe2803/orgs", "repos_url": "https://api.github.com/users/philippe2803/repos", "events_url": "https://api.github.com/users/philippe2803/events{/privacy}", "received_events_url": "https://api.github.com/users/philippe2803/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-06T15:14:15
2023-09-06T20:47:00
2023-09-06T20:47:00
CONTRIBUTOR
null
Follow-up PR for https://github.com/langchain-ai/langchain/pull/10047, simply adding a notebook quickstart example for the vector store with SQLite, using the class SQLiteVSS. Maintainer tag @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10292/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10292", "html_url": "https://github.com/langchain-ai/langchain/pull/10292", "diff_url": "https://github.com/langchain-ai/langchain/pull/10292.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10292.patch", "merged_at": "2023-09-06T20:46:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/10291
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10291/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10291/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10291/events
https://github.com/langchain-ai/langchain/pull/10291
1,884,178,398
PR_kwDOIPDwls5ZsR0l
10,291
Added the Polars dataframe agent
{ "login": "toddkim95", "id": 42592581, "node_id": "MDQ6VXNlcjQyNTkyNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/42592581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/toddkim95", "html_url": "https://github.com/toddkim95", "followers_url": "https://api.github.com/users/toddkim95/followers", "following_url": "https://api.github.com/users/toddkim95/following{/other_user}", "gists_url": "https://api.github.com/users/toddkim95/gists{/gist_id}", "starred_url": "https://api.github.com/users/toddkim95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toddkim95/subscriptions", "organizations_url": "https://api.github.com/users/toddkim95/orgs", "repos_url": "https://api.github.com/users/toddkim95/repos", "events_url": "https://api.github.com/users/toddkim95/events{/privacy}", "received_events_url": "https://api.github.com/users/toddkim95/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
4
2023-09-06T14:45:47
2023-09-09T01:46:26
2023-09-09T01:46:26
CONTRIBUTOR
null
## Description Added the Polars dataframe agent. This is a dataframe agent and can be used in the same way as the Pandas dataframe agent. (Polars is a DataFrame interface on top of an OLAP Query Engine implemented in Rust.) ## Issue https://github.com/langchain-ai/langchain/issues/4620 ## Dependencies polars (https://pola-rs.github.io/polars-book/user-guide/) ## Tag maintainer N/A ## Twitter handle N/A
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10291/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10291", "html_url": "https://github.com/langchain-ai/langchain/pull/10291", "diff_url": "https://github.com/langchain-ai/langchain/pull/10291.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10291.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10290
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10290/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10290/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10290/events
https://github.com/langchain-ai/langchain/pull/10290
1,884,175,457
PR_kwDOIPDwls5ZsRKb
10,290
Add LCEL cookbook examples
{ "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": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-09-06T14:44:40
2023-09-06T20:50:44
2023-09-06T20:50:43
COLLABORATOR
null
1. For passing config to runnable lambda 2. For branching and merging
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10290/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10290", "html_url": "https://github.com/langchain-ai/langchain/pull/10290", "diff_url": "https://github.com/langchain-ai/langchain/pull/10290.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10290.patch", "merged_at": "2023-09-06T20:50:43" }
https://api.github.com/repos/langchain-ai/langchain/issues/10289
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10289/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10289/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10289/events
https://github.com/langchain-ai/langchain/pull/10289
1,884,175,291
PR_kwDOIPDwls5ZsRH_
10,289
Fix langchain lint on `master`.
{ "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-09-06T14:44:36
2023-09-06T15:01:15
2023-09-06T15:01:14
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10289/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10289", "html_url": "https://github.com/langchain-ai/langchain/pull/10289", "diff_url": "https://github.com/langchain-ai/langchain/pull/10289.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10289.patch", "merged_at": "2023-09-06T15:01:14" }
https://api.github.com/repos/langchain-ai/langchain/issues/10288
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10288/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10288/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10288/events
https://github.com/langchain-ai/langchain/pull/10288
1,884,165,560
PR_kwDOIPDwls5ZsO6P
10,288
lint fix
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-06T14:41:30
2023-09-06T20:50:35
2023-09-06T20:50:35
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10288/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10288", "html_url": "https://github.com/langchain-ai/langchain/pull/10288", "diff_url": "https://github.com/langchain-ai/langchain/pull/10288.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10288.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10287
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10287/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10287/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10287/events
https://github.com/langchain-ai/langchain/pull/10287
1,884,136,049
PR_kwDOIPDwls5ZsIgQ
10,287
bump 283
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 5010622926, "node_id": "LA_kwDOIPDwls8AAAABKqgJzg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/release", "name": "release", "color": "07D4BE", "default": false, "description": "" }, { "id": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" } ]
closed
false
null
[]
null
1
2023-09-06T14:26:41
2023-09-06T14:33:04
2023-09-06T14:33:03
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10287/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10287", "html_url": "https://github.com/langchain-ai/langchain/pull/10287", "diff_url": "https://github.com/langchain-ai/langchain/pull/10287.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10287.patch", "merged_at": "2023-09-06T14:33:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/10286
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10286/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10286/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10286/events
https://github.com/langchain-ai/langchain/pull/10286
1,883,976,481
PR_kwDOIPDwls5Zrlvh
10,286
Update base.py
{ "login": "Kuramdasu-ujwala-devi", "id": 69832170, "node_id": "MDQ6VXNlcjY5ODMyMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/69832170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kuramdasu-ujwala-devi", "html_url": "https://github.com/Kuramdasu-ujwala-devi", "followers_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/followers", "following_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/following{/other_user}", "gists_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/subscriptions", "organizations_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/orgs", "repos_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/repos", "events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/events{/privacy}", "received_events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-09-06T13:04:18
2023-11-27T21:15:12
2023-11-27T21:15:11
NONE
null
Return both SQL Query and final answer <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10286/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10286", "html_url": "https://github.com/langchain-ai/langchain/pull/10286", "diff_url": "https://github.com/langchain-ai/langchain/pull/10286.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10286.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10285
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10285/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10285/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10285/events
https://github.com/langchain-ai/langchain/issues/10285
1,883,953,869
I_kwDOIPDwls5wStrN
10,285
using `pip install langchain[all]` in a `venv` installs langchain 0.0.74
{ "login": "aMahanna", "id": 43019056, "node_id": "MDQ6VXNlcjQzMDE5MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/43019056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aMahanna", "html_url": "https://github.com/aMahanna", "followers_url": "https://api.github.com/users/aMahanna/followers", "following_url": "https://api.github.com/users/aMahanna/following{/other_user}", "gists_url": "https://api.github.com/users/aMahanna/gists{/gist_id}", "starred_url": "https://api.github.com/users/aMahanna/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aMahanna/subscriptions", "organizations_url": "https://api.github.com/users/aMahanna/orgs", "repos_url": "https://api.github.com/users/aMahanna/repos", "events_url": "https://api.github.com/users/aMahanna/events{/privacy}", "received_events_url": "https://api.github.com/users/aMahanna/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2023-09-06T12:53:05
2023-09-26T19:17:13
2023-09-26T19:17:13
CONTRIBUTOR
null
### Discussed in https://github.com/langchain-ai/langchain/discussions/10068 <div type='discussions-op-text'> <sup>Originally posted by **aMahanna** August 31, 2023</sup> Hi! Python version used: `3.10` Virtual Environment Tool used: `venv` I am trying to understand why `pip install langchain[all]` is installing LangChain `0.0.74`, as opposed to the latest version of LangChain. Based on the installation output, I can see the installation of external modules, and a series of `Using cached langchain-X-py3-none-any.whl` logs, where `X` descends from `0.0.278` all the way to `0.0.74` Perhaps I missed the documentation that speaks to this behaviour? I have been relying on the [installation.mdx](https://github.com/langchain-ai/langchain/blob/master/docs/snippets/get_started/installation.mdx) guide for this. <details> <summary>Output: `pip install "langchain[all]"`</summary> ``` ❯ pip install "langchain[all]" Collecting langchain[all] Using cached langchain-0.0.278-py3-none-any.whl (1.6 MB) Collecting async-timeout<5.0.0,>=4.0.0 Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting langsmith<0.1.0,>=0.0.21 Using cached langsmith-0.0.30-py3-none-any.whl (35 kB) Collecting numpy<2,>=1 Using cached numpy-1.25.2-cp310-cp310-macosx_11_0_arm64.whl (14.0 MB) Collecting tenacity<9.0.0,>=8.1.0 Using cached tenacity-8.2.3-py3-none-any.whl (24 kB) Collecting numexpr<3.0.0,>=2.8.4 Using cached numexpr-2.8.5-cp310-cp310-macosx_11_0_arm64.whl (90 kB) Collecting SQLAlchemy<3,>=1.4 Using cached SQLAlchemy-2.0.20-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB) Collecting dataclasses-json<0.6.0,>=0.5.7 Using cached dataclasses_json-0.5.14-py3-none-any.whl (26 kB) Collecting aiohttp<4.0.0,>=3.8.3 Using cached aiohttp-3.8.5-cp310-cp310-macosx_11_0_arm64.whl (343 kB) Collecting pydantic<3,>=1 Using cached pydantic-2.3.0-py3-none-any.whl (374 kB) Collecting requests<3,>=2 Using cached requests-2.31.0-py3-none-any.whl (62 kB) Collecting PyYAML>=5.3 Using cached PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl (169 kB) Collecting lark<2.0.0,>=1.1.5 Using cached lark-1.1.7-py3-none-any.whl (108 kB) Collecting arxiv<2.0,>=1.4 Using cached arxiv-1.4.8-py3-none-any.whl (12 kB) Collecting html2text<2021.0.0,>=2020.1.16 Using cached html2text-2020.1.16-py3-none-any.whl (32 kB) Collecting jq<2.0.0,>=1.4.1 Using cached jq-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (370 kB) Collecting azure-identity<2.0.0,>=1.12.0 Using cached azure_identity-1.14.0-py3-none-any.whl (160 kB) Collecting deeplake<4.0.0,>=3.6.8 Using cached deeplake-3.6.22.tar.gz (538 kB) Preparing metadata (setup.py) ... done Collecting torch<3,>=1 Using cached torch-2.0.1-cp310-none-macosx_11_0_arm64.whl (55.8 MB) Collecting huggingface_hub<1,>=0 Using cached huggingface_hub-0.16.4-py3-none-any.whl (268 kB) Collecting tiktoken<0.4.0,>=0.3.2 Using cached tiktoken-0.3.3-cp310-cp310-macosx_11_0_arm64.whl (706 kB) Collecting transformers<5,>=4 Using cached transformers-4.32.1-py3-none-any.whl (7.5 MB) Collecting openai<1,>=0 Using cached openai-0.27.10-py3-none-any.whl (76 kB) Collecting pinecone-client<3,>=2 Using cached pinecone_client-2.2.2-py3-none-any.whl (179 kB) Collecting aleph-alpha-client<3.0.0,>=2.15.0 Using cached aleph_alpha_client-2.17.0-py3-none-any.whl (41 kB) Collecting azure-ai-formrecognizer<4.0.0,>=3.2.1 Using cached azure_ai_formrecognizer-3.3.0-py3-none-any.whl (297 kB) Collecting wikipedia<2,>=1 Using cached wikipedia-1.4.0.tar.gz (27 kB) Preparing metadata (setup.py) ... done Collecting manifest-ml<0.0.2,>=0.0.1 Using cached manifest_ml-0.0.1-py2.py3-none-any.whl (42 kB) Collecting momento<2.0.0,>=1.5.0 Using cached momento-1.9.1-py3-none-any.whl (134 kB) Collecting pexpect<5.0.0,>=4.8.0 Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB) Collecting azure-cognitiveservices-speech<2.0.0,>=1.28.0 Using cached azure_cognitiveservices_speech-1.31.0-py3-none-macosx_11_0_arm64.whl (6.4 MB) Collecting gptcache>=0.1.7 Using cached gptcache-0.1.40-py3-none-any.whl (124 kB) Collecting azure-cosmos<5.0.0,>=4.4.0b1 Using cached azure_cosmos-4.5.0-py3-none-any.whl (226 kB) Collecting requests-toolbelt<2.0.0,>=1.0.0 Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB) Collecting pyowm<4.0.0,>=3.3.0 Using cached pyowm-3.3.0-py3-none-any.whl (4.5 MB) Collecting amadeus>=8.1.0 Using cached amadeus-8.1.0.tar.gz (39 kB) Preparing metadata (setup.py) ... done Collecting networkx<3.0.0,>=2.6.3 Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB) Collecting qdrant-client<2.0.0,>=1.3.1 Using cached qdrant_client-1.4.0-py3-none-any.whl (132 kB) Collecting langkit<0.1.0,>=0.0.6 Using cached langkit-0.0.17-py3-none-any.whl (754 kB) Collecting jinja2<4,>=3 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting openlm<0.0.6,>=0.0.5 Using cached openlm-0.0.5-py3-none-any.whl (10 kB) Collecting faiss-cpu<2,>=1 Using cached faiss_cpu-1.7.4-cp310-cp310-macosx_11_0_arm64.whl (2.7 MB) Collecting psycopg2-binary<3.0.0,>=2.9.5 Using cached psycopg2_binary-2.9.7-cp310-cp310-macosx_11_0_arm64.whl (2.5 MB) Collecting pinecone-text<0.5.0,>=0.4.2 Using cached pinecone_text-0.4.2-py3-none-any.whl (17 kB) Collecting opensearch-py<3.0.0,>=2.0.0 Using cached opensearch_py-2.3.1-py2.py3-none-any.whl (327 kB) Collecting weaviate-client<4,>=3 Using cached weaviate_client-3.23.2-py3-none-any.whl (108 kB) Collecting sentence-transformers<3,>=2 Using cached sentence_transformers-2.2.2-py3-none-any.whl Collecting google-search-results<3,>=2 Using cached google_search_results-2.4.2.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pytesseract<0.4.0,>=0.3.10 Using cached pytesseract-0.3.10-py3-none-any.whl (14 kB) Collecting singlestoredb<0.8.0,>=0.7.1 Using cached singlestoredb-0.7.1-cp36-abi3-macosx_10_9_universal2.whl (196 kB) Collecting marqo<2.0.0,>=1.2.4 Using cached marqo-1.2.4-py3-none-any.whl (32 kB) Collecting nomic<2.0.0,>=1.0.43 Using cached nomic-1.1.14.tar.gz (31 kB) Preparing metadata (setup.py) ... done Collecting pypdf<4.0.0,>=3.4.0 Using cached pypdf-3.15.4-py3-none-any.whl (272 kB) Collecting langchain[all] Using cached langchain-0.0.277-py3-none-any.whl (1.6 MB) Using cached langchain-0.0.276-py3-none-any.whl (1.6 MB) Using cached langchain-0.0.275-py3-none-any.whl (1.6 MB) Using cached langchain-0.0.274-py3-none-any.whl (1.6 MB) Using cached langchain-0.0.273-py3-none-any.whl (1.6 MB) Using cached langchain-0.0.272-py3-none-any.whl (1.6 MB) Collecting google-api-core<3.0.0,>=2.11.1 Using cached google_api_core-2.11.1-py3-none-any.whl (120 kB) Collecting langchain[all] Using cached langchain-0.0.271-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.270-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.269-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.268-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.267-py3-none-any.whl (1.5 MB) Collecting openapi-schema-pydantic<2.0,>=1.2 Using cached openapi_schema_pydantic-1.2.4-py3-none-any.whl (90 kB) Collecting langchain[all] Using cached langchain-0.0.266-py3-none-any.whl (1.5 MB) Collecting pydantic<2,>=1 Using cached pydantic-1.10.12-cp310-cp310-macosx_11_0_arm64.whl (2.5 MB) Collecting langchain[all] Using cached langchain-0.0.265-py3-none-any.whl (1.5 MB) Collecting anthropic<0.4,>=0.3 Using cached anthropic-0.3.11-py3-none-any.whl (796 kB) Collecting xinference<0.0.7,>=0.0.6 Using cached xinference-0.0.6-py3-none-any.whl (65 kB) Collecting spacy<4,>=3 Using cached spacy-3.6.1-cp310-cp310-macosx_11_0_arm64.whl (6.6 MB) Collecting langchain[all] Using cached langchain-0.0.264-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.263-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.262-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.261-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.260-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.259-py3-none-any.whl (1.5 MB) Using cached langchain-0.0.258-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.257-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.256-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.255-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.254-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.253-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.252-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.251-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.250-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.249-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.248-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.247-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.246-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.245-py3-none-any.whl (1.4 MB) Collecting awadb<0.4.0,>=0.3.3 Using cached awadb-0.3.10-cp310-cp310-macosx_13_0_arm64.whl (1.6 MB) Collecting langchain[all] Using cached langchain-0.0.244-py3-none-any.whl (1.4 MB) Collecting cohere<4,>=3 Using cached cohere-3.10.0.tar.gz (15 kB) Preparing metadata (setup.py) ... done Collecting langchain[all] Using cached langchain-0.0.243-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.242-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.240-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.239-py3-none-any.whl (1.4 MB) Using cached langchain-0.0.238-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.237-py3-none-any.whl (1.3 MB) Collecting langsmith<0.0.11,>=0.0.10 Using cached langsmith-0.0.10-py3-none-any.whl (27 kB) Collecting langchain[all] Using cached langchain-0.0.236-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.235-py3-none-any.whl (1.3 MB) Collecting langsmith<0.0.8,>=0.0.7 Using cached langsmith-0.0.7-py3-none-any.whl (26 kB) Collecting langchain[all] Using cached langchain-0.0.234-py3-none-any.whl (1.3 MB) Collecting langsmith<0.0.6,>=0.0.5 Using cached langsmith-0.0.5-py3-none-any.whl (25 kB) Collecting langchain[all] Using cached langchain-0.0.233-py3-none-any.whl (1.3 MB) Collecting beautifulsoup4<5,>=4 Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) Collecting langchain[all] Using cached langchain-0.0.232-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.231-py3-none-any.whl (1.3 MB) Collecting langchainplus-sdk<0.0.21,>=0.0.20 Using cached langchainplus_sdk-0.0.20-py3-none-any.whl (25 kB) Collecting langchain[all] Using cached langchain-0.0.230-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.229-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.228-py3-none-any.whl (1.3 MB) Using cached langchain-0.0.227-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.226-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.225-py3-none-any.whl (1.2 MB) Collecting marqo<0.10.0,>=0.9.1 Using cached marqo-0.9.6-py3-none-any.whl (26 kB) Collecting clarifai==9.1.0 Using cached clarifai-9.1.0-py3-none-any.whl (57 kB) Collecting langchain[all] Using cached langchain-0.0.224-py3-none-any.whl (1.2 MB) Collecting anthropic<0.3.0,>=0.2.6 Using cached anthropic-0.2.10-py3-none-any.whl (6.3 kB) Collecting langchain[all] Using cached langchain-0.0.223-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.222-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.221-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.220-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.219-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.218-py3-none-any.whl (1.2 MB) Using cached langchain-0.0.217-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.216-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.215-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.214-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.213-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.212-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.211-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.210-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.209-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.208-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.207-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.206-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.205-py3-none-any.whl (1.1 MB) Collecting singlestoredb<0.7.0,>=0.6.1 Using cached singlestoredb-0.6.1-cp36-abi3-macosx_10_9_universal2.whl (193 kB) Collecting langchain[all] Using cached langchain-0.0.204-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.203-py3-none-any.whl (1.1 MB) Using cached langchain-0.0.202-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.201-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.200-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.199-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.198-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.197-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.196-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.195-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.194-py3-none-any.whl (1.0 MB) Using cached langchain-0.0.193-py3-none-any.whl (989 kB) Collecting langchainplus-sdk<0.0.5,>=0.0.4 Using cached langchainplus_sdk-0.0.4-py3-none-any.whl (21 kB) Collecting langchain[all] Using cached langchain-0.0.192-py3-none-any.whl (989 kB) Using cached langchain-0.0.191-py3-none-any.whl (993 kB) Using cached langchain-0.0.190-py3-none-any.whl (983 kB) Using cached langchain-0.0.189-py3-none-any.whl (975 kB) Using cached langchain-0.0.188-py3-none-any.whl (969 kB) Using cached langchain-0.0.187-py3-none-any.whl (960 kB) Using cached langchain-0.0.186-py3-none-any.whl (949 kB) Using cached langchain-0.0.185-py3-none-any.whl (949 kB) Using cached langchain-0.0.184-py3-none-any.whl (939 kB) Using cached langchain-0.0.183-py3-none-any.whl (938 kB) Using cached langchain-0.0.182-py3-none-any.whl (938 kB) Using cached langchain-0.0.181-py3-none-any.whl (934 kB) Using cached langchain-0.0.180-py3-none-any.whl (922 kB) Using cached langchain-0.0.179-py3-none-any.whl (907 kB) Using cached langchain-0.0.178-py3-none-any.whl (892 kB) Using cached langchain-0.0.177-py3-none-any.whl (877 kB) Collecting docarray<0.32.0,>=0.31.0 Using cached docarray-0.31.1-py3-none-any.whl (210 kB) Collecting hnswlib<0.8.0,>=0.7.0 Using cached hnswlib-0.7.0.tar.gz (33 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting protobuf==3.19.6 Using cached protobuf-3.19.6-py2.py3-none-any.whl (162 kB) Collecting langchain[all] Using cached langchain-0.0.176-py3-none-any.whl (873 kB) Using cached langchain-0.0.175-py3-none-any.whl (872 kB) Using cached langchain-0.0.174-py3-none-any.whl (869 kB) Collecting gql<4.0.0,>=3.4.1 Using cached gql-3.4.1-py2.py3-none-any.whl (65 kB) Collecting langchain[all] Using cached langchain-0.0.173-py3-none-any.whl (858 kB) Using cached langchain-0.0.172-py3-none-any.whl (849 kB) Using cached langchain-0.0.171-py3-none-any.whl (846 kB) Using cached langchain-0.0.170-py3-none-any.whl (834 kB) Using cached langchain-0.0.169-py3-none-any.whl (823 kB) Using cached langchain-0.0.168-py3-none-any.whl (817 kB) Using cached langchain-0.0.167-py3-none-any.whl (809 kB) Collecting tqdm>=4.48.0 Using cached tqdm-4.66.1-py3-none-any.whl (78 kB) Collecting langchain[all] Using cached langchain-0.0.166-py3-none-any.whl (803 kB) Using cached langchain-0.0.165-py3-none-any.whl (789 kB) Using cached langchain-0.0.164-py3-none-any.whl (788 kB) Using cached langchain-0.0.163-py3-none-any.whl (781 kB) Using cached langchain-0.0.162-py3-none-any.whl (770 kB) Using cached langchain-0.0.161-py3-none-any.whl (758 kB) Using cached langchain-0.0.160-py3-none-any.whl (756 kB) Using cached langchain-0.0.159-py3-none-any.whl (747 kB) Using cached langchain-0.0.158-py3-none-any.whl (745 kB) Using cached langchain-0.0.157-py3-none-any.whl (727 kB) Using cached langchain-0.0.156-py3-none-any.whl (727 kB) Using cached langchain-0.0.155-py3-none-any.whl (727 kB) Using cached langchain-0.0.154-py3-none-any.whl (709 kB) Using cached langchain-0.0.153-py3-none-any.whl (696 kB) Using cached langchain-0.0.152-py3-none-any.whl (666 kB) Using cached langchain-0.0.151-py3-none-any.whl (665 kB) Using cached langchain-0.0.150-py3-none-any.whl (648 kB) Using cached langchain-0.0.149-py3-none-any.whl (645 kB) Using cached langchain-0.0.148-py3-none-any.whl (636 kB) Collecting SQLAlchemy<2,>=1 Using cached SQLAlchemy-1.4.49.tar.gz (8.5 MB) Preparing metadata (setup.py) ... done Collecting langchain[all] Using cached langchain-0.0.147-py3-none-any.whl (626 kB) Using cached langchain-0.0.146-py3-none-any.whl (600 kB) Using cached langchain-0.0.145-py3-none-any.whl (590 kB) Using cached langchain-0.0.144-py3-none-any.whl (578 kB) Using cached langchain-0.0.143-py3-none-any.whl (566 kB) Using cached langchain-0.0.142-py3-none-any.whl (548 kB) Using cached langchain-0.0.141-py3-none-any.whl (540 kB) Using cached langchain-0.0.140-py3-none-any.whl (539 kB) Using cached langchain-0.0.139-py3-none-any.whl (530 kB) Using cached langchain-0.0.138-py3-none-any.whl (520 kB) Using cached langchain-0.0.137-py3-none-any.whl (518 kB) Using cached langchain-0.0.136-py3-none-any.whl (515 kB) Using cached langchain-0.0.135-py3-none-any.whl (511 kB) Using cached langchain-0.0.134-py3-none-any.whl (510 kB) Using cached langchain-0.0.133-py3-none-any.whl (500 kB) Using cached langchain-0.0.132-py3-none-any.whl (489 kB) Using cached langchain-0.0.131-py3-none-any.whl (477 kB) Using cached langchain-0.0.130-py3-none-any.whl (472 kB) Using cached langchain-0.0.129-py3-none-any.whl (467 kB) Using cached langchain-0.0.128-py3-none-any.whl (465 kB) Using cached langchain-0.0.127-py3-none-any.whl (462 kB) Using cached langchain-0.0.126-py3-none-any.whl (450 kB) Collecting boto3<2.0.0,>=1.26.96 Using cached boto3-1.28.38-py3-none-any.whl (135 kB) Collecting langchain[all] Using cached langchain-0.0.125-py3-none-any.whl (443 kB) Using cached langchain-0.0.124-py3-none-any.whl (439 kB) Using cached langchain-0.0.123-py3-none-any.whl (426 kB) Using cached langchain-0.0.122-py3-none-any.whl (425 kB) Using cached langchain-0.0.121-py3-none-any.whl (424 kB) Using cached langchain-0.0.120-py3-none-any.whl (424 kB) Using cached langchain-0.0.119-py3-none-any.whl (420 kB) Using cached langchain-0.0.118-py3-none-any.whl (415 kB) Using cached langchain-0.0.117-py3-none-any.whl (414 kB) Using cached langchain-0.0.116-py3-none-any.whl (408 kB) Using cached langchain-0.0.115-py3-none-any.whl (404 kB) Using cached langchain-0.0.114-py3-none-any.whl (404 kB) Using cached langchain-0.0.113-py3-none-any.whl (396 kB) Using cached langchain-0.0.112-py3-none-any.whl (381 kB) Using cached langchain-0.0.111-py3-none-any.whl (379 kB) Using cached langchain-0.0.110-py3-none-any.whl (379 kB) Using cached langchain-0.0.109-py3-none-any.whl (376 kB) Using cached langchain-0.0.108-py3-none-any.whl (374 kB) Using cached langchain-0.0.107-py3-none-any.whl (371 kB) Using cached langchain-0.0.106-py3-none-any.whl (367 kB) Using cached langchain-0.0.105-py3-none-any.whl (360 kB) Using cached langchain-0.0.104-py3-none-any.whl (360 kB) Using cached langchain-0.0.103-py3-none-any.whl (358 kB) Using cached langchain-0.0.102-py3-none-any.whl (350 kB) Using cached langchain-0.0.101-py3-none-any.whl (344 kB) Using cached langchain-0.0.100-py3-none-any.whl (343 kB) Using cached langchain-0.0.99-py3-none-any.whl (342 kB) Using cached langchain-0.0.98-py3-none-any.whl (337 kB) Using cached langchain-0.0.97-py3-none-any.whl (337 kB) Using cached langchain-0.0.96-py3-none-any.whl (315 kB) Using cached langchain-0.0.95-py3-none-any.whl (312 kB) Using cached langchain-0.0.94-py3-none-any.whl (304 kB) Using cached langchain-0.0.93-py3-none-any.whl (294 kB) Using cached langchain-0.0.92-py3-none-any.whl (288 kB) Using cached langchain-0.0.91-py3-none-any.whl (282 kB) Using cached langchain-0.0.90-py3-none-any.whl (281 kB) Using cached langchain-0.0.89-py3-none-any.whl (268 kB) Using cached langchain-0.0.88-py3-none-any.whl (260 kB) Using cached langchain-0.0.87-py3-none-any.whl (253 kB) Using cached langchain-0.0.86-py3-none-any.whl (250 kB) Using cached langchain-0.0.85-py3-none-any.whl (241 kB) Using cached langchain-0.0.84-py3-none-any.whl (230 kB) Using cached langchain-0.0.83-py3-none-any.whl (230 kB) Using cached langchain-0.0.82-py3-none-any.whl (228 kB) Using cached langchain-0.0.81-py3-none-any.whl (225 kB) Collecting qdrant-client<0.12.0,>=0.11.7 Using cached qdrant_client-0.11.10-py3-none-any.whl (91 kB) Collecting google-api-python-client==2.70.0 Using cached google_api_python_client-2.70.0-py2.py3-none-any.whl (10.7 MB) Collecting wolframalpha==5.0.0 Using cached wolframalpha-5.0.0-py3-none-any.whl (7.5 kB) Collecting nltk<4,>=3 Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB) Collecting elasticsearch<9,>=8 Using cached elasticsearch-8.9.0-py3-none-any.whl (395 kB) Collecting langchain[all] Using cached langchain-0.0.80-py3-none-any.whl (222 kB) Using cached langchain-0.0.79-py3-none-any.whl (216 kB) Using cached langchain-0.0.78-py3-none-any.whl (203 kB) Using cached langchain-0.0.77-py3-none-any.whl (198 kB) Using cached langchain-0.0.76-py3-none-any.whl (193 kB) Using cached langchain-0.0.75-py3-none-any.whl (191 kB) Using cached langchain-0.0.74-py3-none-any.whl (189 kB) Collecting redis<5,>=4 Using cached redis-4.6.0-py3-none-any.whl (241 kB) Collecting tiktoken<1,>=0 Using cached tiktoken-0.4.0-cp310-cp310-macosx_11_0_arm64.whl (761 kB) Collecting torch<2,>=1 Using cached torch-1.13.1-cp310-none-macosx_11_0_arm64.whl (53.2 MB) Collecting httplib2<1dev,>=0.15.0 Using cached httplib2-0.22.0-py3-none-any.whl (96 kB) Collecting google-auth<3.0.0dev,>=1.19.0 Using cached google_auth-2.22.0-py2.py3-none-any.whl (181 kB) Collecting google-auth-httplib2>=0.1.0 Using cached google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB) Collecting uritemplate<5,>=3.0.1 Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Collecting xmltodict Using cached xmltodict-0.13.0-py2.py3-none-any.whl (10.0 kB) Collecting more-itertools Using cached more_itertools-10.1.0-py3-none-any.whl (55 kB) Collecting jaraco.context Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting soupsieve>1.2 Using cached soupsieve-2.4.1-py3-none-any.whl (36 kB) Collecting marshmallow<4.0.0,>=3.18.0 Using cached marshmallow-3.20.1-py3-none-any.whl (49 kB) Collecting typing-inspect<1,>=0.4.0 Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Collecting elastic-transport<9,>=8 Using cached elastic_transport-8.4.0-py3-none-any.whl (59 kB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_universal2.whl (17 kB) Collecting dill>=0.3.5 Using cached dill-0.3.7-py3-none-any.whl (115 kB) Collecting sqlitedict>=2.0.0 Using cached sqlitedict-2.1.0.tar.gz (21 kB) Preparing metadata (setup.py) ... done Collecting joblib Using cached joblib-1.3.2-py3-none-any.whl (302 kB) Collecting click Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting regex>=2021.8.3 Using cached regex-2023.8.8-cp310-cp310-macosx_11_0_arm64.whl (289 kB) Collecting python-dateutil>=2.5.3 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting typing-extensions>=3.7.4 Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting urllib3>=1.21.1 Using cached urllib3-2.0.4-py3-none-any.whl (123 kB) Collecting dnspython>=2.0.0 Using cached dnspython-2.4.2-py3-none-any.whl (300 kB) Collecting loguru>=0.5.0 Using cached loguru-0.7.0-py3-none-any.whl (59 kB) Collecting grpcio-tools>=1.41.0 Using cached grpcio_tools-1.57.0-cp310-cp310-macosx_12_0_universal2.whl (4.6 MB) Collecting httpx[http2]>=0.14.0 Using cached httpx-0.24.1-py3-none-any.whl (75 kB) Collecting grpcio>=1.41.0 Using cached grpcio-1.57.0-cp310-cp310-macosx_12_0_universal2.whl (9.0 MB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.2.0-cp310-cp310-macosx_11_0_arm64.whl (124 kB) Collecting certifi>=2017.4.17 Using cached certifi-2023.7.22-py3-none-any.whl (158 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting wasabi<1.2.0,>=0.9.1 Using cached wasabi-1.1.2-py3-none-any.whl (27 kB) Collecting preshed<3.1.0,>=3.0.2 Using cached preshed-3.0.8-cp310-cp310-macosx_11_0_arm64.whl (101 kB) Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from spacy<4,>=3->langchain[all]) (67.6.1) Collecting srsly<3.0.0,>=2.4.3 Using cached srsly-2.4.7-cp310-cp310-macosx_11_0_arm64.whl (491 kB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.7-cp310-cp310-macosx_11_0_arm64.whl (30 kB) Collecting typer<0.10.0,>=0.3.0 Using cached typer-0.9.0-py3-none-any.whl (45 kB) Collecting spacy-loggers<2.0.0,>=1.0.0 Using cached spacy_loggers-1.0.4-py3-none-any.whl (11 kB) Collecting murmurhash<1.1.0,>=0.28.0 Using cached murmurhash-1.0.9-cp310-cp310-macosx_11_0_arm64.whl (19 kB) Collecting thinc<8.2.0,>=8.1.8 Using cached thinc-8.1.12-cp310-cp310-macosx_11_0_arm64.whl (784 kB) Collecting packaging>=20.0 Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting catalogue<2.1.0,>=2.0.6 Using cached catalogue-2.0.9-py3-none-any.whl (17 kB) Collecting pathy>=0.10.0 Using cached pathy-0.10.2-py3-none-any.whl (48 kB) Collecting spacy-legacy<3.1.0,>=3.0.11 Using cached spacy_legacy-3.0.12-py2.py3-none-any.whl (29 kB) Collecting smart-open<7.0.0,>=5.2.1 Using cached smart_open-6.3.0-py3-none-any.whl (56 kB) Collecting langcodes<4.0.0,>=3.2.0 Using cached langcodes-3.3.0-py3-none-any.whl (181 kB) Collecting filelock Using cached filelock-3.12.3-py3-none-any.whl (11 kB) Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 Using cached tokenizers-0.13.3-cp310-cp310-macosx_12_0_arm64.whl (3.9 MB) Collecting safetensors>=0.3.1 Using cached safetensors-0.3.3-cp310-cp310-macosx_13_0_arm64.whl (406 kB) Collecting validators<=0.21.0,>=0.18.2 Using cached validators-0.21.0-py3-none-any.whl (27 kB) Collecting authlib>=1.1.0 Using cached Authlib-1.2.1-py2.py3-none-any.whl (215 kB) Collecting cryptography>=3.2 Using cached cryptography-41.0.3-cp37-abi3-macosx_10_12_universal2.whl (5.3 MB) Collecting urllib3>=1.21.1 Using cached urllib3-1.26.16-py2.py3-none-any.whl (143 kB) Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 Using cached googleapis_common_protos-1.60.0-py2.py3-none-any.whl (227 kB) Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5 Using cached protobuf-4.24.2-cp37-abi3-macosx_10_9_universal2.whl (409 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB) Collecting six>=1.9.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting cachetools<6.0,>=2.0.0 Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB) Collecting httpcore<0.18.0,>=0.15.0 Using cached httpcore-0.17.3-py3-none-any.whl (74 kB) Collecting sniffio Using cached sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting h2<5,>=3 Using cached h2-4.1.0-py3-none-any.whl (57 kB) Collecting fsspec Using cached fsspec-2023.6.0-py3-none-any.whl (163 kB) Collecting blis<0.8.0,>=0.7.8 Using cached blis-0.7.10-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB) Collecting confection<1.0.0,>=0.0.1 Using cached confection-0.1.1-py3-none-any.whl (34 kB) Collecting mypy-extensions>=0.3.0 Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Collecting cffi>=1.12 Using cached cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl (174 kB) Collecting hyperframe<7,>=6.0 Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB) Collecting hpack<5,>=4.0 Using cached hpack-4.0.0-py3-none-any.whl (32 kB) Collecting anyio<5.0,>=3.0 Using cached anyio-4.0.0-py3-none-any.whl (83 kB) Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting pyasn1<0.6.0,>=0.4.6 Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB) Collecting exceptiongroup>=1.0.2 Using cached exceptiongroup-1.1.3-py3-none-any.whl (14 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Installing collected packages: tokenizers, sqlitedict, safetensors, faiss-cpu, cymem, xmltodict, wasabi, validators, urllib3, uritemplate, typing-extensions, tqdm, SQLAlchemy, spacy-loggers, spacy-legacy, soupsieve, sniffio, smart-open, six, regex, PyYAML, pyparsing, pycparser, pyasn1, protobuf, packaging, numpy, mypy-extensions, murmurhash, more-itertools, MarkupSafe, loguru, langcodes, joblib, jaraco.context, idna, hyperframe, hpack, h11, grpcio, fsspec, exceptiongroup, dnspython, dill, click, charset-normalizer, certifi, catalogue, cachetools, async-timeout, wolframalpha, typing-inspect, typer, torch, srsly, rsa, requests, redis, python-dateutil, pydantic, pyasn1-modules, preshed, nltk, marshmallow, jinja2, httplib2, h2, grpcio-tools, googleapis-common-protos, filelock, elastic-transport, cffi, blis, beautifulsoup4, anyio, wikipedia, tiktoken, pinecone-client, pathy, manifest-ml, huggingface_hub, httpcore, google-auth, elasticsearch, dataclasses-json, cryptography, confection, transformers, thinc, langchain, httpx, google-auth-httplib2, google-api-core, authlib, weaviate-client, spacy, google-api-python-client, qdrant-client DEPRECATION: sqlitedict is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for sqlitedict ... done DEPRECATION: SQLAlchemy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for SQLAlchemy ... done DEPRECATION: wikipedia is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for wikipedia ... done Successfully installed MarkupSafe-2.1.3 PyYAML-6.0.1 SQLAlchemy-1.4.49 anyio-4.0.0 async-timeout-4.0.3 authlib-1.2.1 beautifulsoup4-4.12.2 blis-0.7.10 cachetools-5.3.1 catalogue-2.0.9 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-3.2.0 click-8.1.7 confection-0.1.1 cryptography-41.0.3 cymem-2.0.7 dataclasses-json-0.5.14 dill-0.3.7 dnspython-2.4.2 elastic-transport-8.4.0 elasticsearch-8.9.0 exceptiongroup-1.1.3 faiss-cpu-1.7.4 filelock-3.12.3 fsspec-2023.6.0 google-api-core-2.11.1 google-api-python-client-2.70.0 google-auth-2.22.0 google-auth-httplib2-0.1.0 googleapis-common-protos-1.60.0 grpcio-1.57.0 grpcio-tools-1.57.0 h11-0.14.0 h2-4.1.0 hpack-4.0.0 httpcore-0.17.3 httplib2-0.22.0 httpx-0.24.1 huggingface_hub-0.16.4 hyperframe-6.0.1 idna-3.4 jaraco.context-4.3.0 jinja2-3.1.2 joblib-1.3.2 langchain-0.0.74 langcodes-3.3.0 loguru-0.7.0 manifest-ml-0.0.1 marshmallow-3.20.1 more-itertools-10.1.0 murmurhash-1.0.9 mypy-extensions-1.0.0 nltk-3.8.1 numpy-1.25.2 packaging-23.1 pathy-0.10.2 pinecone-client-2.2.2 preshed-3.0.8 protobuf-4.24.2 pyasn1-0.5.0 pyasn1-modules-0.3.0 pycparser-2.21 pydantic-1.10.12 pyparsing-3.1.1 python-dateutil-2.8.2 qdrant-client-0.11.10 redis-4.6.0 regex-2023.8.8 requests-2.31.0 rsa-4.9 safetensors-0.3.3 six-1.16.0 smart-open-6.3.0 sniffio-1.3.0 soupsieve-2.4.1 spacy-3.6.1 spacy-legacy-3.0.12 spacy-loggers-1.0.4 sqlitedict-2.1.0 srsly-2.4.7 thinc-8.1.12 tiktoken-0.4.0 tokenizers-0.13.3 torch-1.13.1 tqdm-4.66.1 transformers-4.32.1 typer-0.9.0 typing-extensions-4.7.1 typing-inspect-0.9.0 uritemplate-4.1.1 urllib3-1.26.16 validators-0.21.0 wasabi-1.1.2 weaviate-client-3.23.2 wikipedia-1.4.0 wolframalpha-5.0.0 xmltodict-0.13.0 [notice] A new release of pip is available: 23.0.1 -> 23.2.1 [notice] To update, run: pip install --upgrade pip ``` </details> <details> <summary>Output: `pip show langchain`</summary> ``` ❯ pip show langchain Name: langchain Version: 0.0.74 Summary: Building applications with LLMs through composability Home-page: https://www.github.com/hwchase17/langchain Author: Author-email: License: MIT Location: /Users/amahanna/Desktop/temp/.venv/lib/python3.10/site-packages Requires: dataclasses-json, numpy, pydantic, PyYAML, requests, SQLAlchemy Required-by: ``` </details> This happens in fresh `python -m venv` environment. </div>
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10285/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10284
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10284/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10284/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10284/events
https://github.com/langchain-ai/langchain/pull/10284
1,883,915,494
PR_kwDOIPDwls5ZrYYM
10,284
Vaidehi2027 patch 1
{ "login": "Vaidehi2027", "id": 112601913, "node_id": "U_kgDOBrYrOQ", "avatar_url": "https://avatars.githubusercontent.com/u/112601913?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vaidehi2027", "html_url": "https://github.com/Vaidehi2027", "followers_url": "https://api.github.com/users/Vaidehi2027/followers", "following_url": "https://api.github.com/users/Vaidehi2027/following{/other_user}", "gists_url": "https://api.github.com/users/Vaidehi2027/gists{/gist_id}", "starred_url": "https://api.github.com/users/Vaidehi2027/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vaidehi2027/subscriptions", "organizations_url": "https://api.github.com/users/Vaidehi2027/orgs", "repos_url": "https://api.github.com/users/Vaidehi2027/repos", "events_url": "https://api.github.com/users/Vaidehi2027/events{/privacy}", "received_events_url": "https://api.github.com/users/Vaidehi2027/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
3
2023-09-06T12:30:36
2023-09-08T13:37:01
2023-09-08T13:37:01
NONE
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10284/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10284", "html_url": "https://github.com/langchain-ai/langchain/pull/10284", "diff_url": "https://github.com/langchain-ai/langchain/pull/10284.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10284.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/10282
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10282/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10282/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10282/events
https://github.com/langchain-ai/langchain/pull/10282
1,883,773,599
PR_kwDOIPDwls5Zq5fW
10,282
Doc: openai_functions_agent.mdx import
{ "login": "broven", "id": 12854613, "node_id": "MDQ6VXNlcjEyODU0NjEz", "avatar_url": "https://avatars.githubusercontent.com/u/12854613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/broven", "html_url": "https://github.com/broven", "followers_url": "https://api.github.com/users/broven/followers", "following_url": "https://api.github.com/users/broven/following{/other_user}", "gists_url": "https://api.github.com/users/broven/gists{/gist_id}", "starred_url": "https://api.github.com/users/broven/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/broven/subscriptions", "organizations_url": "https://api.github.com/users/broven/orgs", "repos_url": "https://api.github.com/users/broven/repos", "events_url": "https://api.github.com/users/broven/events{/privacy}", "received_events_url": "https://api.github.com/users/broven/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-06T11:04:34
2023-09-07T01:39:35
2023-09-06T21:00:39
CONTRIBUTOR
null
Fix the import in docmention
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10282/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10282", "html_url": "https://github.com/langchain-ai/langchain/pull/10282", "diff_url": "https://github.com/langchain-ai/langchain/pull/10282.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10282.patch", "merged_at": "2023-09-06T21:00:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/10281
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10281/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10281/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10281/events
https://github.com/langchain-ai/langchain/issues/10281
1,883,753,627
I_kwDOIPDwls5wR8yb
10,281
[create_csv_agent] Change dataframe as according to the prompt, and also save when required
{ "login": "rafayaar", "id": 68007626, "node_id": "MDQ6VXNlcjY4MDA3NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/68007626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafayaar", "html_url": "https://github.com/rafayaar", "followers_url": "https://api.github.com/users/rafayaar/followers", "following_url": "https://api.github.com/users/rafayaar/following{/other_user}", "gists_url": "https://api.github.com/users/rafayaar/gists{/gist_id}", "starred_url": "https://api.github.com/users/rafayaar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rafayaar/subscriptions", "organizations_url": "https://api.github.com/users/rafayaar/orgs", "repos_url": "https://api.github.com/users/rafayaar/repos", "events_url": "https://api.github.com/users/rafayaar/events{/privacy}", "received_events_url": "https://api.github.com/users/rafayaar/received_events", "type": "User", "site_admin": false }
[ { "id": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
open
false
null
[]
null
1
2023-09-06T10:51:41
2023-10-18T15:38:36
null
NONE
null
### Feature request Currently there isn't any feature which we can use to actually manipulate/change and save the data frame. **Examples:** If I say rename columns to Column1, Column2, Column3. Make new column named as [Column4] having data concatenated from Column1 and Column2 It should actually perform the functionalities and make changes in dataframe. And once user is done with its prompt there should be a function or a specific prompt which user can use to actually save manipulated dataframe as CSV. ``` agent = create_pandas_dataframe_agent( ChatOpenAI(temperature=0, model="gpt-3.5-turbo"), df, return_intermediate_steps=True, verbose=True, ) ``` Using above code it returns good analytics and actual code which can be used to perform functionalities but can't actually manipulate exactly what is said to it. PLUS we cant save dataframe. ### Motivation One can use this feature to actually manipulate data based on prompts, which can aid in Data Science industry. ### Your contribution I looked into the source code but couldn't manage to locate the implementation of agent itself.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10281/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10280
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10280/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10280/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10280/events
https://github.com/langchain-ai/langchain/pull/10280
1,883,708,581
PR_kwDOIPDwls5ZqrWF
10,280
Added Hugging face inference api to embed documents without locally d…
{ "login": "J4e6eR", "id": 91129126, "node_id": "MDQ6VXNlcjkxMTI5MTI2", "avatar_url": "https://avatars.githubusercontent.com/u/91129126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/J4e6eR", "html_url": "https://github.com/J4e6eR", "followers_url": "https://api.github.com/users/J4e6eR/followers", "following_url": "https://api.github.com/users/J4e6eR/following{/other_user}", "gists_url": "https://api.github.com/users/J4e6eR/gists{/gist_id}", "starred_url": "https://api.github.com/users/J4e6eR/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/J4e6eR/subscriptions", "organizations_url": "https://api.github.com/users/J4e6eR/orgs", "repos_url": "https://api.github.com/users/J4e6eR/repos", "events_url": "https://api.github.com/users/J4e6eR/events{/privacy}", "received_events_url": "https://api.github.com/users/J4e6eR/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541141061, "node_id": "LA_kwDOIPDwls8AAAABSkcaRQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings", "name": "area: embeddings", "color": "C5DEF5", "default": false, "description": "Related to text embedding models module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
3
2023-09-06T10:23:35
2023-09-08T08:54:48
2023-09-06T21:55:48
CONTRIBUTOR
null
…ownloading the model <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: Added Hugging Face Inference API support for embedding small documents without downloading the model locally , - Issue: the issue # it fixes (if applicable), - Dependencies: There are no external dependencies as it depends on embedding model of langchain as requested by @hwchase17 , >
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10280/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/10280/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10280", "html_url": "https://github.com/langchain-ai/langchain/pull/10280", "diff_url": "https://github.com/langchain-ai/langchain/pull/10280.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10280.patch", "merged_at": "2023-09-06T21:55:48" }
https://api.github.com/repos/langchain-ai/langchain/issues/10279
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10279/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10279/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10279/events
https://github.com/langchain-ai/langchain/pull/10279
1,883,688,407
PR_kwDOIPDwls5Zqm5e
10,279
fix llm_inputs duplication problem in intermediate_steps in SQLDatabaseChain
{ "login": "xieqihui", "id": 21073184, "node_id": "MDQ6VXNlcjIxMDczMTg0", "avatar_url": "https://avatars.githubusercontent.com/u/21073184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xieqihui", "html_url": "https://github.com/xieqihui", "followers_url": "https://api.github.com/users/xieqihui/followers", "following_url": "https://api.github.com/users/xieqihui/following{/other_user}", "gists_url": "https://api.github.com/users/xieqihui/gists{/gist_id}", "starred_url": "https://api.github.com/users/xieqihui/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xieqihui/subscriptions", "organizations_url": "https://api.github.com/users/xieqihui/orgs", "repos_url": "https://api.github.com/users/xieqihui/repos", "events_url": "https://api.github.com/users/xieqihui/events{/privacy}", "received_events_url": "https://api.github.com/users/xieqihui/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
{ "login": "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 }
[ { "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false } ]
null
1
2023-09-06T10:11:09
2023-10-06T04:32:08
2023-10-06T04:32:08
CONTRIBUTOR
null
Use `.copy()` to fix the bug that the first `llm_inputs` element is overwritten by the second `llm_inputs` element in `intermediate_steps`. ***Problem description:*** In [line 127]( https://github.com/langchain-ai/langchain/blob/c732d8fffd39d2b02bdc393c37d2ccdd48f7626d/libs/experimental/langchain_experimental/sql/base.py#L127C17-L127C17), the `llm_inputs` of the sql generation step is appended as the first element of `intermediate_steps`: ``` intermediate_steps.append(llm_inputs) # input: sql generation ``` However, `llm_inputs` is a mutable dict, it is updated in [line 179](https://github.com/langchain-ai/langchain/blob/master/libs/experimental/langchain_experimental/sql/base.py#L179) for the final answer step: ``` llm_inputs["input"] = input_text ``` Then, the updated `llm_inputs` is appended as another element of `intermediate_steps` in [line 180](https://github.com/langchain-ai/langchain/blob/c732d8fffd39d2b02bdc393c37d2ccdd48f7626d/libs/experimental/langchain_experimental/sql/base.py#L180): ``` intermediate_steps.append(llm_inputs) # input: final answer ``` As a result, the final `intermediate_steps` returned in [line 189](https://github.com/langchain-ai/langchain/blob/c732d8fffd39d2b02bdc393c37d2ccdd48f7626d/libs/experimental/langchain_experimental/sql/base.py#L189C43-L189C43) actually contains two same `llm_inputs` elements, i.e., the `llm_inputs` for the sql generation step overwritten by the one for final answer step by mistake. Users are not able to get the actual `llm_inputs` for the sql generation step from `intermediate_steps` Simply calling `.copy()` when appending `llm_inputs` to `intermediate_steps` can solve this problem.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10279/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10279", "html_url": "https://github.com/langchain-ai/langchain/pull/10279", "diff_url": "https://github.com/langchain-ai/langchain/pull/10279.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10279.patch", "merged_at": "2023-10-06T04:32:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/10278
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10278/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10278/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10278/events
https://github.com/langchain-ai/langchain/issues/10278
1,883,529,921
I_kwDOIPDwls5wRGLB
10,278
Unable to Parse Final Answer through mrkl.output_parser
{ "login": "surajrhinoai", "id": 135512117, "node_id": "U_kgDOCBPANQ", "avatar_url": "https://avatars.githubusercontent.com/u/135512117?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surajrhinoai", "html_url": "https://github.com/surajrhinoai", "followers_url": "https://api.github.com/users/surajrhinoai/followers", "following_url": "https://api.github.com/users/surajrhinoai/following{/other_user}", "gists_url": "https://api.github.com/users/surajrhinoai/gists{/gist_id}", "starred_url": "https://api.github.com/users/surajrhinoai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/surajrhinoai/subscriptions", "organizations_url": "https://api.github.com/users/surajrhinoai/orgs", "repos_url": "https://api.github.com/users/surajrhinoai/repos", "events_url": "https://api.github.com/users/surajrhinoai/events{/privacy}", "received_events_url": "https://api.github.com/users/surajrhinoai/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": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-06T08:37:38
2023-12-13T16:05:33
2023-12-13T16:05:32
NONE
null
### System Info I am running this code and getting below errro - Code: from langchain.agents import load_tools, tool, Tool, AgentType, initialize_agent from langchain.llms import AzureOpenAI from langchain import LLMMathChain llm = AzureOpenAI(deployment_name=deployment_name, model_name=model_name, temperature=0) llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True) @tool def get_word_length(word:str) -> int: """Returns the length of a word.""" try: return (len(word)) except: return 20 math_tool = Tool( name="Calculator", func=llm_math_chain.run, description="useful for when you need to answer questions about math") tools = [get_word_length,math_tool] agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True) agent.run("Tell me length of word - hippotamus + 5") Error: File ~\rhino\venv\lib\site-packages\langchain\agents\mrkl\output_parser.py:42, in MRKLOutputParser.parse(self, text) 34 if action_match: 35 if includes_answer: 36 # if "Question:" in text: 37 # answer = text.split('Question:')[0].strip() (...) 40 # ) 41 #else: ---> 42 raise OutputParserException( 43 f"{FINAL_ANSWER_AND_PARSABLE_ACTION_ERROR_MESSAGE}: {text}" 44 ) 45 action = action_match.group(1).strip() 46 action_input = action_match.group(2) OutputParserException: Parsing LLM output produced both a final answer and a parse-able action:: I now know the final answer Final Answer: 15 Question: What is 765 * 23? Thought: I need to multiply 765 by 23 Action: Calculator Action Input: 765 * 23 Reason : LLM Output gives "Final Answer:" and one additional (hallucinated) Question "Question: What is 765 * 23?" as well, which caused this exception error. Possible Fix - At line 32 of output_parser.py, modify like below - if action_match: if includes_answer: if "Question:" in text: answer = text.split('Question:')[0].strip() return AgentFinish( {"output": answer.split(FINAL_ANSWER_ACTION)[-1].strip()}, text ) else: raise OutputParserException( f"{FINAL_ANSWER_AND_PARSABLE_ACTION_ERROR_MESSAGE}: {text}" ) Its fixing my reported issue. Can we add this solution to avoid the llm hallucination problem to get final answer. ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I am running this code and getting below error - Code: from langchain.agents import load_tools, tool, Tool, AgentType, initialize_agent from langchain.llms import AzureOpenAI from langchain import LLMMathChain llm = AzureOpenAI(deployment_name=deployment_name, model_name=model_name, temperature=0) llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True) @tool def get_word_length(word:str) -> int: """Returns the length of a word.""" try: return (len(word)) except: return 20 math_tool = Tool( name="Calculator", func=llm_math_chain.run, description="useful for when you need to answer questions about math") tools = [get_word_length,math_tool] agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True) agent.run("Tell me length of word - hippotamus + 5") ### Expected behavior Error: File ~\rhino\venv\lib\site-packages\langchain\agents\mrkl\output_parser.py:42, in MRKLOutputParser.parse(self, text) 34 if action_match: 35 if includes_answer: 36 # if "Question:" in text: 37 # answer = text.split('Question:')[0].strip() (...) 40 # ) 41 #else: ---> 42 raise OutputParserException( 43 f"{FINAL_ANSWER_AND_PARSABLE_ACTION_ERROR_MESSAGE}: {text}" 44 ) 45 action = action_match.group(1).strip() 46 action_input = action_match.group(2) OutputParserException: Parsing LLM output produced both a final answer and a parse-able action:: I now know the final answer Final Answer: 15 Question: What is 765 * 23? Thought: I need to multiply 765 by 23 Action: Calculator Action Input: 765 * 23 Expected Answer : 15 Reason for failure: LLM Output gives "Final Answer:" and one additional (hallucinated) Question "Question: What is 765 * 23?" as well, which caused this exception error. Possible Fix - At line 32 of output_parser.py, modify like below - if action_match: if includes_answer: if "Question:" in text: answer = text.split('Question:')[0].strip() return AgentFinish( {"output": answer.split(FINAL_ANSWER_ACTION)[-1].strip()}, text ) else: raise OutputParserException( f"{FINAL_ANSWER_AND_PARSABLE_ACTION_ERROR_MESSAGE}: {text}" ) Its fixing my reported issue. Can we add this solution to avoid the llm model hallucination problem to get final answer instead of going into loop.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10278/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10278/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10277
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10277/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10277/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10277/events
https://github.com/langchain-ai/langchain/issues/10277
1,883,494,749
I_kwDOIPDwls5wQ9ld
10,277
query database using natural language
{ "login": "Kuramdasu-ujwala-devi", "id": 69832170, "node_id": "MDQ6VXNlcjY5ODMyMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/69832170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kuramdasu-ujwala-devi", "html_url": "https://github.com/Kuramdasu-ujwala-devi", "followers_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/followers", "following_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/following{/other_user}", "gists_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/subscriptions", "organizations_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/orgs", "repos_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/repos", "events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/events{/privacy}", "received_events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/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": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
21
2023-09-06T08:16:51
2023-12-13T16:05:39
2023-12-13T16:05:38
NONE
null
### Issue you'd like to raise. Where given a question in a natural language it has to convert to sql query and then operate on the sql data base then has to return the answer. Here I want to catch sql query generated and also the reponse to the question Earlier I did by using SQLDatabaseChain But now I couldn't find this in your document. So what are all supported here for my use case? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10277/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10276
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10276/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10276/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10276/events
https://github.com/langchain-ai/langchain/issues/10276
1,883,463,052
I_kwDOIPDwls5wQ12M
10,276
GPU usage 0 even with n_gpu_layers.
{ "login": "Dharmavineta", "id": 113006433, "node_id": "U_kgDOBrxXYQ", "avatar_url": "https://avatars.githubusercontent.com/u/113006433?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dharmavineta", "html_url": "https://github.com/Dharmavineta", "followers_url": "https://api.github.com/users/Dharmavineta/followers", "following_url": "https://api.github.com/users/Dharmavineta/following{/other_user}", "gists_url": "https://api.github.com/users/Dharmavineta/gists{/gist_id}", "starred_url": "https://api.github.com/users/Dharmavineta/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dharmavineta/subscriptions", "organizations_url": "https://api.github.com/users/Dharmavineta/orgs", "repos_url": "https://api.github.com/users/Dharmavineta/repos", "events_url": "https://api.github.com/users/Dharmavineta/events{/privacy}", "received_events_url": "https://api.github.com/users/Dharmavineta/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
4
2023-09-06T07:56:48
2023-12-16T17:25:50
null
NONE
null
GPU usage doesn't change and my Local Llama model only runs under CPU ``I'm running a local llama 2 7b model(hugging face bloke model), on my local machine, everything works fine, except that only cpu works and GPU usage remains 0 throughout. I've included n_gpu_layers and other such options, but gpu just doesn't work for some reason. device ram= 16gb Vram = 6gb. I can see 100% usage of my CPU, but nothing changes with respect to GPU usage. This is my code in python. ` from langchain.llms import LlamaCpp from langchain import PromptTemplate, LLMChain from langchain.callbacks.manager import CallbackManager from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler from transformers import AutoModelForCausalLM, AutoTokenizer # MODEL_PATH = "D:\yarn-llama-2-7b-128k.Q2_K.gguf" MODEL_PATH = "D:\llama-2-7b-chat.Q3_K_M.gguf" def load_model(): """Loads Llama model""" callback_manager = CallbackManager([StreamingStdOutCallbackHandler()]) Llama_model = LlamaCpp( model_path=MODEL_PATH, temperature=0.5, max_tokens=2000, top_p=1, callback_manager=callback_manager, verbose=True, n_gpu_layers=100, n_batch=512 ) return Llama_model llm = load_model() model_prompt = """ a discussion between hitler and buddha """ response = llm(model_prompt) print(response) ` Does anybody have any idea how to include gpu ? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10276/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10275
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10275/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10275/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10275/events
https://github.com/langchain-ai/langchain/pull/10275
1,883,375,012
PR_kwDOIPDwls5Zpi91
10,275
Javelin
{ "login": "rsharath", "id": 4441850, "node_id": "MDQ6VXNlcjQ0NDE4NTA=", "avatar_url": "https://avatars.githubusercontent.com/u/4441850?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rsharath", "html_url": "https://github.com/rsharath", "followers_url": "https://api.github.com/users/rsharath/followers", "following_url": "https://api.github.com/users/rsharath/following{/other_user}", "gists_url": "https://api.github.com/users/rsharath/gists{/gist_id}", "starred_url": "https://api.github.com/users/rsharath/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rsharath/subscriptions", "organizations_url": "https://api.github.com/users/rsharath/orgs", "repos_url": "https://api.github.com/users/rsharath/repos", "events_url": "https://api.github.com/users/rsharath/events{/privacy}", "received_events_url": "https://api.github.com/users/rsharath/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
15
2023-09-06T07:00:13
2023-09-30T05:58:00
2023-09-20T23:36:39
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! We are introducing the py integration to Javelin AI Gateway www.getjavelin.io. Javelin is an enterprise-scale fast llm router & gateway. Could you please review and let us know if there is anything missing. Javelin AI Gateway wraps Embedding, Chat and Completion LLMs. Uses javelin_sdk under the covers (pip install javelin_sdk). Author: Sharath Rajasekar, Twitter: @sharathr, @javelinai Thanks!! -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10275/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10275", "html_url": "https://github.com/langchain-ai/langchain/pull/10275", "diff_url": "https://github.com/langchain-ai/langchain/pull/10275.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10275.patch", "merged_at": "2023-09-20T23:36:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/10274
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10274/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10274/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10274/events
https://github.com/langchain-ai/langchain/issues/10274
1,883,364,481
I_kwDOIPDwls5wQdyB
10,274
langchain cannot be installed in a new project
{ "login": "nipunn1313", "id": 1300387, "node_id": "MDQ6VXNlcjEzMDAzODc=", "avatar_url": "https://avatars.githubusercontent.com/u/1300387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nipunn1313", "html_url": "https://github.com/nipunn1313", "followers_url": "https://api.github.com/users/nipunn1313/followers", "following_url": "https://api.github.com/users/nipunn1313/following{/other_user}", "gists_url": "https://api.github.com/users/nipunn1313/gists{/gist_id}", "starred_url": "https://api.github.com/users/nipunn1313/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunn1313/subscriptions", "organizations_url": "https://api.github.com/users/nipunn1313/orgs", "repos_url": "https://api.github.com/users/nipunn1313/repos", "events_url": "https://api.github.com/users/nipunn1313/events{/privacy}", "received_events_url": "https://api.github.com/users/nipunn1313/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": 5924999838, "node_id": "LA_kwDOIPDwls8AAAABYShSng", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma", "name": "integration: chroma", "color": "B78AF8", "default": false, "description": "Related to ChromaDB" } ]
closed
false
null
[]
null
3
2023-09-06T06:53:40
2023-09-25T14:34:05
2023-09-25T14:34:05
NONE
null
### System Info npm --version 8.19.4 The langchain it's trying to install is 0.0.144 I think it's because chromadb recently released 1.5.7 and 1.5.8 which added a (conflicting) dep on cohere-ai. Pinning chromadb 1.5.6 works, but that's hardly satisfying. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction mkdir testproject && cd testproject && npm init -y && npm add langchain ### Expected behavior Expected to install properly. Instead get ``` npm add langchain npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/cohere-ai npm ERR! peerOptional cohere-ai@"^6.0.0" from [email protected] npm ERR! node_modules/chromadb npm ERR! chromadb@"^1.5.6" from the root project npm ERR! peerOptional chromadb@"^1.5.3" from [email protected] npm ERR! node_modules/langchain npm ERR! langchain@"*" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional cohere-ai@"^5.0.2" from [email protected] npm ERR! node_modules/langchain npm ERR! langchain@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10274/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/10274/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10273
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10273/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10273/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10273/events
https://github.com/langchain-ai/langchain/pull/10273
1,883,180,890
PR_kwDOIPDwls5Zo4Wn
10,273
Allow config propagation, Add default lambda name, Improve ergonomics of config passed in
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-09-06T04:30:23
2023-09-06T12:54:39
2023-09-06T12:54:38
COLLABORATOR
null
Makes it easier to do recursion using regular python compositional patterns ```py def lambda_decorator(func): """Decorate function as a RunnableLambda""" return runnable.RunnableLambda(func) @lambda_decorator def fibonacci(a, config: runnable.RunnableConfig) -> int: if a <= 1: return a else: return fibonacci.invoke( a - 1, config ) + fibonacci.invoke(a - 2, config) fibonacci.invoke(10) ``` https://smith.langchain.com/public/cb98edb4-3a09-4798-9c22-a930037faf88/r Also makes it more natural to do things like error handle and call other langchain objects in ways we probably don't want to support in `with_fallbacks()` ```py @lambda_decorator def handle_errors(a, config: runnable.RunnableConfig) -> int: try: return my_chain.invoke(a, config) except MyExceptionType as exc: return my_other_chain.invoke({"original": a, "error": exc}, config) ``` In this case, the next chain takes in the exception object. Maybe this could be something we toggle in `with_fallbacks` but I fear we'll get into uglier APIs + heavier cognitive load if we try to do too much there
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10273/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/10273", "html_url": "https://github.com/langchain-ai/langchain/pull/10273", "diff_url": "https://github.com/langchain-ai/langchain/pull/10273.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/10273.patch", "merged_at": "2023-09-06T12:54:38" }
https://api.github.com/repos/langchain-ai/langchain/issues/10272
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10272/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10272/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10272/events
https://github.com/langchain-ai/langchain/issues/10272
1,883,176,962
I_kwDOIPDwls5wPwAC
10,272
DOC: One link in Chain->Diff cll methods is not working
{ "login": "kislayads", "id": 84584929, "node_id": "MDQ6VXNlcjg0NTg0OTI5", "avatar_url": "https://avatars.githubusercontent.com/u/84584929?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kislayads", "html_url": "https://github.com/kislayads", "followers_url": "https://api.github.com/users/kislayads/followers", "following_url": "https://api.github.com/users/kislayads/following{/other_user}", "gists_url": "https://api.github.com/users/kislayads/gists{/gist_id}", "starred_url": "https://api.github.com/users/kislayads/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kislayads/subscriptions", "organizations_url": "https://api.github.com/users/kislayads/orgs", "repos_url": "https://api.github.com/users/kislayads/repos", "events_url": "https://api.github.com/users/kislayads/events{/privacy}", "received_events_url": "https://api.github.com/users/kislayads/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-09-06T04:25:53
2023-12-13T16:05:43
2023-12-13T16:05:42
NONE
null
### Issue with current documentation: [This](https://python.langchain.com/docs/modules/chains/how_to/call_methods#:~:text=See%20an%20example%20here.) link is not working. <img width="1228" alt="image" src="https://github.com/langchain-ai/langchain/assets/84584929/19a6f523-8584-4338-80e0-ffe78c51714a"> ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10272/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/10270
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/10270/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/10270/comments
https://api.github.com/repos/langchain-ai/langchain/issues/10270/events
https://github.com/langchain-ai/langchain/issues/10270
1,883,141,864
I_kwDOIPDwls5wPnbo
10,270
Query data base using natural language
{ "login": "Kuramdasu-ujwala-devi", "id": 69832170, "node_id": "MDQ6VXNlcjY5ODMyMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/69832170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kuramdasu-ujwala-devi", "html_url": "https://github.com/Kuramdasu-ujwala-devi", "followers_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/followers", "following_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/following{/other_user}", "gists_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/subscriptions", "organizations_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/orgs", "repos_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/repos", "events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/events{/privacy}", "received_events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/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": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-09-06T03:55:29
2023-09-06T08:44:16
2023-09-06T08:44:16
NONE
null
### Issue you'd like to raise. Where given a question in a natural language it has to convert to sql query and then operate on the sql data base then has to return the answer. Earlier I did by using **SQLDatabaseChain** But now I couldn't find this in your document. So what are all supported here for my use case? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/10270/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/10270/timeline
null
completed
null
null