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/7389
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7389/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7389/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7389/events
|
https://github.com/langchain-ai/langchain/pull/7389
| 1,794,779,036 |
PR_kwDOIPDwls5U_CaH
| 7,389 |
Try er/redis index retrieval rect
|
{
"login": "TRY-ER",
"id": 75255871,
"node_id": "MDQ6VXNlcjc1MjU1ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/75255871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TRY-ER",
"html_url": "https://github.com/TRY-ER",
"followers_url": "https://api.github.com/users/TRY-ER/followers",
"following_url": "https://api.github.com/users/TRY-ER/following{/other_user}",
"gists_url": "https://api.github.com/users/TRY-ER/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TRY-ER/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TRY-ER/subscriptions",
"organizations_url": "https://api.github.com/users/TRY-ER/orgs",
"repos_url": "https://api.github.com/users/TRY-ER/repos",
"events_url": "https://api.github.com/users/TRY-ER/events{/privacy}",
"received_events_url": "https://api.github.com/users/TRY-ER/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 | 3 | 2023-07-08T05:23:00 | 2023-07-18T17:50:45 | 2023-07-18T17:50:44 |
CONTRIBUTOR
| null |
Replace this comment with:
- Description: Changed the code to return id of relevant documents retrieved from redis vectorstore
- Issue: the issue # it returns id to the user for downstream operations
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7389/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7389",
"html_url": "https://github.com/langchain-ai/langchain/pull/7389",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7389.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7389.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7388
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7388/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7388/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7388/events
|
https://github.com/langchain-ai/langchain/pull/7388
| 1,794,683,685 |
PR_kwDOIPDwls5U-soR
| 7,388 |
[Breaking] Update Evaluation Functionality
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-08T03:40:32 | 2023-07-13T09:13:08 | 2023-07-13T09:13:06 |
COLLABORATOR
| null |
- Migrate from deprecated langchainplus_sdk to `langsmith` package
- Update the `run_on_dataset()` API to use an eval config
- Update a number of evaluators, as well as the loading logic
- Update docstrings / reference docs
- Update tracer to share single HTTP session
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7388/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7388",
"html_url": "https://github.com/langchain-ai/langchain/pull/7388",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7388.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7388.patch",
"merged_at": "2023-07-13T09:13:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7386
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7386/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7386/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7386/events
|
https://github.com/langchain-ai/langchain/pull/7386
| 1,794,543,073 |
PR_kwDOIPDwls5U-NRI
| 7,386 |
Fix HF endpoint returns blank for text-generation
|
{
"login": "HashemAlsaket",
"id": 17466553,
"node_id": "MDQ6VXNlcjE3NDY2NTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/17466553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HashemAlsaket",
"html_url": "https://github.com/HashemAlsaket",
"followers_url": "https://api.github.com/users/HashemAlsaket/followers",
"following_url": "https://api.github.com/users/HashemAlsaket/following{/other_user}",
"gists_url": "https://api.github.com/users/HashemAlsaket/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HashemAlsaket/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HashemAlsaket/subscriptions",
"organizations_url": "https://api.github.com/users/HashemAlsaket/orgs",
"repos_url": "https://api.github.com/users/HashemAlsaket/repos",
"events_url": "https://api.github.com/users/HashemAlsaket/events{/privacy}",
"received_events_url": "https://api.github.com/users/HashemAlsaket/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 | 6 | 2023-07-07T23:44:35 | 2023-07-11T07:06:12 | 2023-07-11T07:06:05 |
CONTRIBUTOR
| null |
Description: Current `_call` function in the `langchain.llms.HuggingFaceEndpoint` class truncates response when `task=text-generation`. Same error discussed a few days ago on Hugging Face: https://huggingface.co/tiiuae/falcon-40b-instruct/discussions/51
Issue: Fixes #7353
Tag maintainer: @hwchase17 @baskaryan @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7386/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7386",
"html_url": "https://github.com/langchain-ai/langchain/pull/7386",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7386.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7386.patch",
"merged_at": "2023-07-11T07:06:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7385
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7385/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7385/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7385/events
|
https://github.com/langchain-ai/langchain/issues/7385
| 1,794,522,874 |
I_kwDOIPDwls5q9j76
| 7,385 |
Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True`
|
{
"login": "rasca",
"id": 79235,
"node_id": "MDQ6VXNlcjc5MjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/79235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rasca",
"html_url": "https://github.com/rasca",
"followers_url": "https://api.github.com/users/rasca/followers",
"following_url": "https://api.github.com/users/rasca/following{/other_user}",
"gists_url": "https://api.github.com/users/rasca/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rasca/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rasca/subscriptions",
"organizations_url": "https://api.github.com/users/rasca/orgs",
"repos_url": "https://api.github.com/users/rasca/repos",
"events_url": "https://api.github.com/users/rasca/events{/privacy}",
"received_events_url": "https://api.github.com/users/rasca/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 | 6 | 2023-07-07T23:14:25 | 2023-09-25T09:45:57 | 2023-09-25T09:45:56 |
NONE
| null |
### Feature request
Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True`.
Now it's getting called with an empty token several times and no way to retrieve the `function_call['arguments']`.
We need to add this to every llm/
### Motivation
I'm streaming my calls (user get's to see the output realtime) to an llm and I've decided to use function calls so I get a structured output. I want to show the user the results (one argument is `message`) but I cannot cause only the tokens from `content` are streamed.
Using the plain openai api I can do this.
### Your contribution
I can contribute a PR to a model and some tests, but I need guidance, as what the API should be. As I understand only `chat_models.openai` should be modified.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7385/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/7385/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7384
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7384/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7384/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7384/events
|
https://github.com/langchain-ai/langchain/issues/7384
| 1,794,520,863 |
I_kwDOIPDwls5q9jcf
| 7,384 |
ChromaDB score goes the wrong way
|
{
"login": "NicoWeio",
"id": 12870528,
"node_id": "MDQ6VXNlcjEyODcwNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/12870528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NicoWeio",
"html_url": "https://github.com/NicoWeio",
"followers_url": "https://api.github.com/users/NicoWeio/followers",
"following_url": "https://api.github.com/users/NicoWeio/following{/other_user}",
"gists_url": "https://api.github.com/users/NicoWeio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NicoWeio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NicoWeio/subscriptions",
"organizations_url": "https://api.github.com/users/NicoWeio/orgs",
"repos_url": "https://api.github.com/users/NicoWeio/repos",
"events_url": "https://api.github.com/users/NicoWeio/events{/privacy}",
"received_events_url": "https://api.github.com/users/NicoWeio/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"
}
] |
open
| false | null |
[] | null | 5 | 2023-07-07T23:11:04 | 2023-10-17T19:22:21 | null |
NONE
| null |
### System Info
> langchain==0.0.227
> langchainplus-sdk==0.0.20
> chromadb==0.3.26
### 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
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm sorry, but I don't have the time to carve out a MRE right now. My take is that it's still better to report it than not to.
### Expected behavior
`similarity_search_with_score` returns the distance as expected, but `similarity_search_with_relevance_scores` gives the same values, so that the closest distances return the smallest values, even though the output of the latter function is supposed to be higher for vectors that are closer:
> `similarity_search_with_relevance_scores`
> Return docs and relevance scores in the range [0, 1].
> 0 is dissimilar, 1 is most similar.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7384/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7383
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7383/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7383/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7383/events
|
https://github.com/langchain-ai/langchain/pull/7383
| 1,794,519,093 |
PR_kwDOIPDwls5U-IBA
| 7,383 |
Make Ref Example Threadsafe
|
{
"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 | 2 | 2023-07-07T23:08:12 | 2023-07-08T04:50:43 | 2023-07-08T04:50:42 |
COLLABORATOR
| null |
Have noticed transient ref example misalignment. I believe this is caused by the logic of assigning an example within the thread executor rather than before.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7383/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7383",
"html_url": "https://github.com/langchain-ai/langchain/pull/7383",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7383.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7383.patch",
"merged_at": "2023-07-08T04:50:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7382
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7382/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7382/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7382/events
|
https://github.com/langchain-ai/langchain/pull/7382
| 1,794,507,283 |
PR_kwDOIPDwls5U-Fi8
| 7,382 |
Update pinecone.ipynb
|
{
"login": "roger-yu-ds",
"id": 7835508,
"node_id": "MDQ6VXNlcjc4MzU1MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7835508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/roger-yu-ds",
"html_url": "https://github.com/roger-yu-ds",
"followers_url": "https://api.github.com/users/roger-yu-ds/followers",
"following_url": "https://api.github.com/users/roger-yu-ds/following{/other_user}",
"gists_url": "https://api.github.com/users/roger-yu-ds/gists{/gist_id}",
"starred_url": "https://api.github.com/users/roger-yu-ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roger-yu-ds/subscriptions",
"organizations_url": "https://api.github.com/users/roger-yu-ds/orgs",
"repos_url": "https://api.github.com/users/roger-yu-ds/repos",
"events_url": "https://api.github.com/users/roger-yu-ds/events{/privacy}",
"received_events_url": "https://api.github.com/users/roger-yu-ds/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 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-07-07T22:52:40 | 2023-07-08T05:48:04 | 2023-07-08T05:48:04 |
CONTRIBUTOR
| null |
Fix typo
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7382/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7382",
"html_url": "https://github.com/langchain-ai/langchain/pull/7382",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7382.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7382.patch",
"merged_at": "2023-07-08T05:48:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7381
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7381/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7381/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7381/events
|
https://github.com/langchain-ai/langchain/pull/7381
| 1,794,495,169 |
PR_kwDOIPDwls5U-Cya
| 7,381 |
Allow passing custom prompts to GraphIndexCreator
|
{
"login": "ozabluda",
"id": 14060629,
"node_id": "MDQ6VXNlcjE0MDYwNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/14060629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ozabluda",
"html_url": "https://github.com/ozabluda",
"followers_url": "https://api.github.com/users/ozabluda/followers",
"following_url": "https://api.github.com/users/ozabluda/following{/other_user}",
"gists_url": "https://api.github.com/users/ozabluda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ozabluda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ozabluda/subscriptions",
"organizations_url": "https://api.github.com/users/ozabluda/orgs",
"repos_url": "https://api.github.com/users/ozabluda/repos",
"events_url": "https://api.github.com/users/ozabluda/events{/privacy}",
"received_events_url": "https://api.github.com/users/ozabluda/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-07-07T22:41:28 | 2023-07-08T18:01:36 | 2023-07-08T05:47:54 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7381/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7381",
"html_url": "https://github.com/langchain-ai/langchain/pull/7381",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7381.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7381.patch",
"merged_at": "2023-07-08T05:47:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7380
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7380/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7380/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7380/events
|
https://github.com/langchain-ai/langchain/pull/7380
| 1,794,489,564 |
PR_kwDOIPDwls5U-Bib
| 7,380 |
[feat]: Adding memory to Sql Database Chain
|
{
"login": "keenborder786",
"id": 45242107,
"node_id": "MDQ6VXNlcjQ1MjQyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenborder786",
"html_url": "https://github.com/keenborder786",
"followers_url": "https://api.github.com/users/keenborder786/followers",
"following_url": "https://api.github.com/users/keenborder786/following{/other_user}",
"gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions",
"organizations_url": "https://api.github.com/users/keenborder786/orgs",
"repos_url": "https://api.github.com/users/keenborder786/repos",
"events_url": "https://api.github.com/users/keenborder786/events{/privacy}",
"received_events_url": "https://api.github.com/users/keenborder786/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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 | 8 | 2023-07-07T22:35:36 | 2023-07-11T15:01:13 | 2023-07-11T15:01:05 |
CONTRIBUTOR
| null |
Replace this comment with:
- Description: SQL Database Chain does not allow to pass in memory to its chain.
- Issue: This has been requested in issue #6918
- Tag maintainer: @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7380/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7380",
"html_url": "https://github.com/langchain-ai/langchain/pull/7380",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7380.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7380.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7379
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7379/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7379/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7379/events
|
https://github.com/langchain-ai/langchain/pull/7379
| 1,794,454,952 |
PR_kwDOIPDwls5U951O
| 7,379 |
Add new types of document transformers
|
{
"login": "jasonwcfan",
"id": 14931371,
"node_id": "MDQ6VXNlcjE0OTMxMzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/14931371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jasonwcfan",
"html_url": "https://github.com/jasonwcfan",
"followers_url": "https://api.github.com/users/jasonwcfan/followers",
"following_url": "https://api.github.com/users/jasonwcfan/following{/other_user}",
"gists_url": "https://api.github.com/users/jasonwcfan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jasonwcfan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jasonwcfan/subscriptions",
"organizations_url": "https://api.github.com/users/jasonwcfan/orgs",
"repos_url": "https://api.github.com/users/jasonwcfan/repos",
"events_url": "https://api.github.com/users/jasonwcfan/events{/privacy}",
"received_events_url": "https://api.github.com/users/jasonwcfan/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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 27 | 2023-07-07T22:00:54 | 2023-07-13T04:26:32 | 2023-07-13T03:53:30 |
CONTRIBUTOR
| null |
- Description: Add two new document transformers that translates documents into different languages and converts documents into q&a format to improve vector search results. Uses OpenAI function calling via the [doctran](https://github.com/psychic-api/doctran/tree/main) library.
- Issue: N/A
- Dependencies: `doctran = "^0.0.5"`
- Tag maintainer: @rlancemartin @eyurtsev @hwchase17
- Twitter handle: @psychicapi or @jfan001
Notes
- Adheres to the `DocumentTransformer` abstraction set by @dev2049 in #3182
- refactored `EmbeddingsRedundantFilter` to put it in a file under a new `document_transformers` module
- Added basic docs for `DocumentInterrogator`, `DocumentTransformer` as well as the existing `EmbeddingsRedundantFilter`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7379/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/7379/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7379",
"html_url": "https://github.com/langchain-ai/langchain/pull/7379",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7379.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7379.patch",
"merged_at": "2023-07-13T03:53:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7378
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7378/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7378/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7378/events
|
https://github.com/langchain-ai/langchain/pull/7378
| 1,794,403,612 |
PR_kwDOIPDwls5U9t8v
| 7,378 |
update databerry-chaindesk redirect
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-07T21:33:02 | 2023-07-07T23:11:47 | 2023-07-07T23:11:46 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7378/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7378",
"html_url": "https://github.com/langchain-ai/langchain/pull/7378",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7378.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7378.patch",
"merged_at": "2023-07-07T23:11:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7377
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7377/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7377/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7377/events
|
https://github.com/langchain-ai/langchain/pull/7377
| 1,794,306,714 |
PR_kwDOIPDwls5U9XZt
| 7,377 |
Update the API Reference link in Streamlit integration docs
|
{
"login": "sfc-gh-jcarroll",
"id": 116604821,
"node_id": "U_kgDOBvM_lQ",
"avatar_url": "https://avatars.githubusercontent.com/u/116604821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jcarroll",
"html_url": "https://github.com/sfc-gh-jcarroll",
"followers_url": "https://api.github.com/users/sfc-gh-jcarroll/followers",
"following_url": "https://api.github.com/users/sfc-gh-jcarroll/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jcarroll/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jcarroll/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jcarroll/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jcarroll/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jcarroll/repos",
"events_url": "https://api.github.com/users/sfc-gh-jcarroll/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jcarroll/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-07-07T20:52:57 | 2023-07-07T21:35:58 | 2023-07-07T21:35:58 |
CONTRIBUTOR
| null |
This page:
https://python.langchain.com/docs/modules/callbacks/integrations/streamlit
Has a bad API Reference link currently. This PR fixes it to the correct link.
Also updates the embedded app link to https://langchain-mrkl.streamlit.app/ (better name) which is hosted in langchain-ai/streamlit-agent repo
cc @baskaryan @agola11
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7377/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/7377/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7377",
"html_url": "https://github.com/langchain-ai/langchain/pull/7377",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7377.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7377.patch",
"merged_at": "2023-07-07T21:35:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7376
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7376/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7376/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7376/events
|
https://github.com/langchain-ai/langchain/issues/7376
| 1,794,271,625 |
I_kwDOIPDwls5q8mmJ
| 7,376 |
Passing VectorStoreRetriever arguments to VectorStoreIndexWrapper.query()
|
{
"login": "stevmak-manifold",
"id": 99507740,
"node_id": "U_kgDOBe5eHA",
"avatar_url": "https://avatars.githubusercontent.com/u/99507740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevmak-manifold",
"html_url": "https://github.com/stevmak-manifold",
"followers_url": "https://api.github.com/users/stevmak-manifold/followers",
"following_url": "https://api.github.com/users/stevmak-manifold/following{/other_user}",
"gists_url": "https://api.github.com/users/stevmak-manifold/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevmak-manifold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevmak-manifold/subscriptions",
"organizations_url": "https://api.github.com/users/stevmak-manifold/orgs",
"repos_url": "https://api.github.com/users/stevmak-manifold/repos",
"events_url": "https://api.github.com/users/stevmak-manifold/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevmak-manifold/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-07-07T20:39:29 | 2023-10-14T20:09:57 | 2023-10-14T20:09:56 |
NONE
| null |
### Feature request
I want to pass arguments to the retriever used in the `VectorStoreIndexWrapper` `query` and `query_with_sources` methods. Right now, those methods don't have any means of passing `VectorStoreRetriever` arguments into `vectorstore.as_retriever()`:
```
langchain/indexes/vectorstore.py
def query(
self, question: str, llm: Optional[BaseLanguageModel] = None, **kwargs: Any
) -> str:
"""Query the vectorstore."""
llm = llm or OpenAI(temperature=0)
chain = RetrievalQA.from_chain_type(
--->llm, retriever=self.vectorstore.as_retriever(), **kwargs
)
return chain.run(question)
def query_with_sources(
self, question: str, llm: Optional[BaseLanguageModel] = None, **kwargs: Any
) -> dict:
"""Query the vectorstore and get back sources."""
llm = llm or OpenAI(temperature=0)
chain = RetrievalQAWithSourcesChain.from_chain_type(
--->llm, retriever=self.vectorstore.as_retriever(), **kwargs
)
return chain({chain.question_key: question})
```
### Motivation
I can't input `VectorStoreRetriever` arguments such as `search_type` or `search_kwargs` into `VectorStoreIndexWrapper.query()`, but I would be able to do that via `VectorStore.as_retriever()`, which `query()` and `query_with_sources()` use anyway.
### Your contribution
If someone isn't already working on this, I can make this change and submit a PR.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7376/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7374
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7374/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7374/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7374/events
|
https://github.com/langchain-ai/langchain/issues/7374
| 1,794,215,961 |
I_kwDOIPDwls5q8ZAZ
| 7,374 |
How to load Vicuna-7b, Vicuna13-b and Falcon LLM's from langchain through ConversationalRetrievalChain function?
|
{
"login": "nithinreddyyyyyy",
"id": 129744879,
"node_id": "U_kgDOB7u_7w",
"avatar_url": "https://avatars.githubusercontent.com/u/129744879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinreddyyyyyy",
"html_url": "https://github.com/nithinreddyyyyyy",
"followers_url": "https://api.github.com/users/nithinreddyyyyyy/followers",
"following_url": "https://api.github.com/users/nithinreddyyyyyy/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinreddyyyyyy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinreddyyyyyy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinreddyyyyyy/subscriptions",
"organizations_url": "https://api.github.com/users/nithinreddyyyyyy/orgs",
"repos_url": "https://api.github.com/users/nithinreddyyyyyy/repos",
"events_url": "https://api.github.com/users/nithinreddyyyyyy/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinreddyyyyyy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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 | 0 | 2023-07-07T20:17:44 | 2023-07-07T20:26:58 | 2023-07-07T20:20:24 |
NONE
| null |
### Issue with current documentation:
Below is the code which i'm using for another model
```
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores import DocArrayInMemorySearch
from langchain.chains import ConversationalRetrievalChain
from langchain.chat_models import ChatOpenAI
from langchain.document_loaders import PyPDFLoader
from langchain.embeddings import HuggingFaceEmbeddings
import llama_cpp
# create a chatbot chain. Memory is managed externally.
qa = ConversationalRetrievalChain.from_llm(
llm=load_model(model_id="TheBloke/orca_mini_v2_7B-GGML", device_type="mps", model_basename="orca-mini-v2_7b.ggmlv3.q4_0.bin"),#ChatOpenAI(model_name=llm_name, temperature=0),
chain_type=chain_type,
retriever=retriever,
return_source_documents=True,
return_generated_question=True,
)
```
I'm loading orca mini model with model_id and model_basename. How to load Vicuna7b, Vicuna13b and Falcon LLM's? And how to change the device type from mps to Cuda?
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7374/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7373
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7373/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7373/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7373/events
|
https://github.com/langchain-ai/langchain/issues/7373
| 1,794,191,212 |
I_kwDOIPDwls5q8S9s
| 7,373 |
Fortune Reporter trying to get in touch with Chase
|
{
"login": "Badrul-Goomblepop",
"id": 132761159,
"node_id": "U_kgDOB-nGRw",
"avatar_url": "https://avatars.githubusercontent.com/u/132761159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Badrul-Goomblepop",
"html_url": "https://github.com/Badrul-Goomblepop",
"followers_url": "https://api.github.com/users/Badrul-Goomblepop/followers",
"following_url": "https://api.github.com/users/Badrul-Goomblepop/following{/other_user}",
"gists_url": "https://api.github.com/users/Badrul-Goomblepop/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Badrul-Goomblepop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Badrul-Goomblepop/subscriptions",
"organizations_url": "https://api.github.com/users/Badrul-Goomblepop/orgs",
"repos_url": "https://api.github.com/users/Badrul-Goomblepop/repos",
"events_url": "https://api.github.com/users/Badrul-Goomblepop/events{/privacy}",
"received_events_url": "https://api.github.com/users/Badrul-Goomblepop/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-07-07T20:07:36 | 2023-07-10T16:26:16 | 2023-07-10T16:26:05 |
NONE
| null |
### Issue you'd like to raise.
@hwchase17 There's been a reporter from Fortune who are in their words: "launching our A.I. 50 list later this month. LangChain is being considered for the list, and while I've tried to get in touch with Harrison and Ankush in as many ways as possible, I haven't been able to."
They've been trying to get in touch with @hwchase17 for weeks now.
Search for **bdanweiss** on the Discord group.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7373/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7372
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7372/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7372/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7372/events
|
https://github.com/langchain-ai/langchain/pull/7372
| 1,794,125,262 |
PR_kwDOIPDwls5U8tWe
| 7,372 |
Fix buggy output from GraphQAChain
|
{
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/Bearnardd/followers",
"following_url": "https://api.github.com/users/Bearnardd/following{/other_user}",
"gists_url": "https://api.github.com/users/Bearnardd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bearnardd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bearnardd/subscriptions",
"organizations_url": "https://api.github.com/users/Bearnardd/orgs",
"repos_url": "https://api.github.com/users/Bearnardd/repos",
"events_url": "https://api.github.com/users/Bearnardd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bearnardd/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 | 3 | 2023-07-07T19:34:58 | 2023-07-07T21:19:53 | 2023-07-07T21:19:53 |
CONTRIBUTOR
| null |
fixes https://github.com/hwchase17/langchain/issues/7289
A simple fix of the buggy output of `graph_qa`. If we have several entities with triplets then the last entry of `triplets` for a given entity merges with the first entry of the `triplets` of the next entity.
## Example
```
from langchain.llms import OpenAI
from langchain.indexes import GraphIndexCreator
from langchain.chains import GraphQAChain
from langchain.prompts import PromptTemplate
import os
text = "Apple announced the Vision Pro in 2023."
openai_api_key = os.getenv("OPENAI_API_KEY")
index_creator = GraphIndexCreator(llm=OpenAI(openai_api_key=openai_api_key, temperature=0))
graph = index_creator.from_text(text)
chain = GraphQAChain.from_llm(
OpenAI(temperature=0, openai_api_key=openai_api_key),
graph=graph,
verbose=True
)
chain.run("When did Apple announce the Vision Pro?")
# output pre-fix
Entities Extracted:
Apple, Vision Pro
Full Context:
Apple announced Vision ProVision Pro was announced in 2023
> Finished chain.
# output post-fix
Entities Extracted:
Apple, Vision Pro
Full Context:
Apple announced Vision Pro
Vision Pro was announced in 2023
> Finished chain.
```
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7372/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7372",
"html_url": "https://github.com/langchain-ai/langchain/pull/7372",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7372.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7372.patch",
"merged_at": "2023-07-07T21:19:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7371
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7371/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7371/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7371/events
|
https://github.com/langchain-ai/langchain/pull/7371
| 1,794,046,628 |
PR_kwDOIPDwls5U8brw
| 7,371 |
vscode test
|
{
"login": "energetic-erick",
"id": 76460792,
"node_id": "MDQ6VXNlcjc2NDYwNzky",
"avatar_url": "https://avatars.githubusercontent.com/u/76460792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/energetic-erick",
"html_url": "https://github.com/energetic-erick",
"followers_url": "https://api.github.com/users/energetic-erick/followers",
"following_url": "https://api.github.com/users/energetic-erick/following{/other_user}",
"gists_url": "https://api.github.com/users/energetic-erick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/energetic-erick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/energetic-erick/subscriptions",
"organizations_url": "https://api.github.com/users/energetic-erick/orgs",
"repos_url": "https://api.github.com/users/energetic-erick/repos",
"events_url": "https://api.github.com/users/energetic-erick/events{/privacy}",
"received_events_url": "https://api.github.com/users/energetic-erick/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-07-07T18:44:21 | 2023-07-07T19:11:27 | 2023-07-07T19:11:27 |
NONE
| null |
pr description
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7371/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7371",
"html_url": "https://github.com/langchain-ai/langchain/pull/7371",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7371.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7371.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7370
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7370/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7370/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7370/events
|
https://github.com/langchain-ai/langchain/pull/7370
| 1,794,026,061 |
PR_kwDOIPDwls5U8XDC
| 7,370 |
Harrison/add to imports
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 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-07-07T18:30:42 | 2023-07-07T20:27:45 | 2023-07-07T20:27:45 |
COLLABORATOR
| null |
pgvector cleanup
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7370/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7370",
"html_url": "https://github.com/langchain-ai/langchain/pull/7370",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7370.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7370.patch",
"merged_at": "2023-07-07T20:27:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7369
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7369/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7369/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7369/events
|
https://github.com/langchain-ai/langchain/issues/7369
| 1,794,024,937 |
I_kwDOIPDwls5q7qXp
| 7,369 |
from langchain.llms import OpenAI causing ImportError: cannot import name 'Protocol'
|
{
"login": "srikanthgirijala",
"id": 53816558,
"node_id": "MDQ6VXNlcjUzODE2NTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/53816558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srikanthgirijala",
"html_url": "https://github.com/srikanthgirijala",
"followers_url": "https://api.github.com/users/srikanthgirijala/followers",
"following_url": "https://api.github.com/users/srikanthgirijala/following{/other_user}",
"gists_url": "https://api.github.com/users/srikanthgirijala/gists{/gist_id}",
"starred_url": "https://api.github.com/users/srikanthgirijala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/srikanthgirijala/subscriptions",
"organizations_url": "https://api.github.com/users/srikanthgirijala/orgs",
"repos_url": "https://api.github.com/users/srikanthgirijala/repos",
"events_url": "https://api.github.com/users/srikanthgirijala/events{/privacy}",
"received_events_url": "https://api.github.com/users/srikanthgirijala/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-07-07T18:30:00 | 2023-10-14T20:10:02 | 2023-10-14T20:10:02 |
NONE
| null |
### System Info
from typing_extensions import Protocol
from langchain.llms import OpenAI
llm = OpenAI(model_name='text-davinci-003', temperature=0.7, max_tokens=512)
print(llm)
-----------------------------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-28-c0d04f63c5e1> in <module>
1 get_ipython().system('pip install typing-extensions==4.3.0')
2 from typing_extensions import Protocol
----> 3 from langchain.llms import OpenAI
4 llm = OpenAI(model_name='text-davinci-003', temperature=0.7, max_tokens=512)
5 print(llm)
~\anaconda3\envs\GPTLLM\lib\site-packages\langchain\__init__.py in <module>
1 """Main entrypoint into package."""
2
----> 3 from importlib import metadata
4 from typing import Optional
5
~\anaconda3\envs\GPTLLM\lib\importlib\metadata\__init__.py in <module>
15 import collections
16
---> 17 from . import _adapters, _meta
18 from ._collections import FreezableDefaultDict, Pair
19 from ._functools import method_cache, pass_none
~\anaconda3\envs\GPTLLM\lib\importlib\metadata\_meta.py in <module>
----> 1 from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union
2
3
4 _T = TypeVar("_T")
5
ImportError: cannot import name 'Protocol'
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.llms import OpenAI
llm = OpenAI(model_name='text-davinci-003', temperature=0.7, max_tokens=512)
print(llm)
### Expected behavior
OpenAI
Params:{model_name, temperature, max_tokens}
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7369/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/7369/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7368
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7368/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7368/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7368/events
|
https://github.com/langchain-ai/langchain/issues/7368
| 1,794,019,802 |
I_kwDOIPDwls5q7pHa
| 7,368 |
conversationalRetrievalChain - how to improve accuracy
|
{
"login": "RanElgedawy",
"id": 95228400,
"node_id": "U_kgDOBa0R8A",
"avatar_url": "https://avatars.githubusercontent.com/u/95228400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RanElgedawy",
"html_url": "https://github.com/RanElgedawy",
"followers_url": "https://api.github.com/users/RanElgedawy/followers",
"following_url": "https://api.github.com/users/RanElgedawy/following{/other_user}",
"gists_url": "https://api.github.com/users/RanElgedawy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RanElgedawy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RanElgedawy/subscriptions",
"organizations_url": "https://api.github.com/users/RanElgedawy/orgs",
"repos_url": "https://api.github.com/users/RanElgedawy/repos",
"events_url": "https://api.github.com/users/RanElgedawy/events{/privacy}",
"received_events_url": "https://api.github.com/users/RanElgedawy/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"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-07T18:26:31 | 2023-10-16T16:06:15 | 2023-10-16T16:06:14 |
NONE
| null |
I am using conversational retrieval chain with memory, but I am getting incorrect answers for trivial questions.
Any suggestions what can I do to improve the accuracy of the output?
#memory = ConversationEntityMemory(llm=llm, return_messages=True)
memory=ConversationBufferMemory(memory_key="chat_history",output_key='answer')
chain = ConversationalRetrievalChain.from_llm(
llm = llm,
retriever=retriever,
memory=memory,
get_chat_history=lambda h :h,
return_source_documents=True)

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7368/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/7368/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7367
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7367/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7367/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7367/events
|
https://github.com/langchain-ai/langchain/pull/7367
| 1,794,014,938 |
PR_kwDOIPDwls5U8Ujj
| 7,367 |
feat: Add `UnstructuredTSVLoader`
|
{
"login": "MthwRobinson",
"id": 1635179,
"node_id": "MDQ6VXNlcjE2MzUxNzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1635179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MthwRobinson",
"html_url": "https://github.com/MthwRobinson",
"followers_url": "https://api.github.com/users/MthwRobinson/followers",
"following_url": "https://api.github.com/users/MthwRobinson/following{/other_user}",
"gists_url": "https://api.github.com/users/MthwRobinson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MthwRobinson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MthwRobinson/subscriptions",
"organizations_url": "https://api.github.com/users/MthwRobinson/orgs",
"repos_url": "https://api.github.com/users/MthwRobinson/repos",
"events_url": "https://api.github.com/users/MthwRobinson/events{/privacy}",
"received_events_url": "https://api.github.com/users/MthwRobinson/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-07-07T18:23:25 | 2023-07-10T07:07:11 | 2023-07-10T07:07:10 |
CONTRIBUTOR
| null |
### Summary
Adds an `UnstructuredTSVLoader` for TSV files. Also updates the doc strings for `UnstructuredCSV` and `UnstructuredExcel` loaders.
### Testing
```python
from langchain.document_loaders.tsv import UnstructuredTSVLoader
loader = UnstructuredTSVLoader(
file_path="example_data/mlb_teams_2012.csv", mode="elements"
)
docs = loader.load()
```
### Reviewers
- @rlancemartin
- @eyurtsev
- @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7367/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7367",
"html_url": "https://github.com/langchain-ai/langchain/pull/7367",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7367.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7367.patch",
"merged_at": "2023-07-10T07:07:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7366
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7366/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7366/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7366/events
|
https://github.com/langchain-ai/langchain/issues/7366
| 1,794,008,740 |
I_kwDOIPDwls5q7mak
| 7,366 |
use youtube chapter as hints and metadata in the youtube loader
|
{
"login": "thiswillbeyourgithub",
"id": 26625900,
"node_id": "MDQ6VXNlcjI2NjI1OTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/26625900?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thiswillbeyourgithub",
"html_url": "https://github.com/thiswillbeyourgithub",
"followers_url": "https://api.github.com/users/thiswillbeyourgithub/followers",
"following_url": "https://api.github.com/users/thiswillbeyourgithub/following{/other_user}",
"gists_url": "https://api.github.com/users/thiswillbeyourgithub/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thiswillbeyourgithub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thiswillbeyourgithub/subscriptions",
"organizations_url": "https://api.github.com/users/thiswillbeyourgithub/orgs",
"repos_url": "https://api.github.com/users/thiswillbeyourgithub/repos",
"events_url": "https://api.github.com/users/thiswillbeyourgithub/events{/privacy}",
"received_events_url": "https://api.github.com/users/thiswillbeyourgithub/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 9 | 2023-07-07T18:19:36 | 2023-10-09T17:05:41 | null |
CONTRIBUTOR
| null |
### Feature request
When using the youtube loader. I think it would be useful to take into account the chapters if present.
1. The chapter timecode could be used to know when to chunk. Any chunk inside a chapter timeframe could also contain the same "youtube_chapter_title" metadata.
2. The name of the chapter could added directly inside the transcript. For example as a markdown header. This could be useful for LLM to maintain context over time.
### Motivation
There are useful information present in the youtube chapter title and timecodes that could be of use to LLMs.
Summarizing transcripts would probably be of higher quality if headers are present rather than a huge wall of text.
Adding metadata is always a win.
### Your contribution
Unfortunately not able to help for the time being but wanted to get the idea out there.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7366/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7365
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7365/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7365/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7365/events
|
https://github.com/langchain-ai/langchain/issues/7365
| 1,793,960,528 |
I_kwDOIPDwls5q7apQ
| 7,365 |
ConversationBufferWindowMemory returns empty string on empty history instead of empty array.
|
{
"login": "Joseph-Cardwell",
"id": 1547485,
"node_id": "MDQ6VXNlcjE1NDc0ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1547485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Joseph-Cardwell",
"html_url": "https://github.com/Joseph-Cardwell",
"followers_url": "https://api.github.com/users/Joseph-Cardwell/followers",
"following_url": "https://api.github.com/users/Joseph-Cardwell/following{/other_user}",
"gists_url": "https://api.github.com/users/Joseph-Cardwell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Joseph-Cardwell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joseph-Cardwell/subscriptions",
"organizations_url": "https://api.github.com/users/Joseph-Cardwell/orgs",
"repos_url": "https://api.github.com/users/Joseph-Cardwell/repos",
"events_url": "https://api.github.com/users/Joseph-Cardwell/events{/privacy}",
"received_events_url": "https://api.github.com/users/Joseph-Cardwell/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 | 7 | 2023-07-07T17:56:12 | 2023-12-05T12:07:46 | 2023-10-14T20:10:11 |
NONE
| null |
### System Info
Python 3.10
Langchain 0.0.226
Windows 11
### 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
- [X] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
import os, langchain
os.environ['SERPAPI_API_KEY'] = ""
os.environ['OPENAI_API_KEY'] = ""
from langchain.chains import LLMChain
from langchain.agents import ConversationalChatAgent, SelfAskWithSearchChain, AgentExecutor
from langchain.memory import ConversationBufferWindowMemory
from langchain.tools import Tool
from langchain.llms import OpenAI
conversation_buffer_window_memory: ConversationBufferWindowMemory = ConversationBufferWindowMemory(
input_key="input", memory_key="chat_history")
search = langchain.SerpAPIChain()
self_ask_and_search = SelfAskWithSearchChain(llm=OpenAI(), search_chain=search, verbose=True)
tools = [
Tool(
name="Search",
func=self_ask_and_search.run,
description="useful for when you need to answer questions about current events",
)
]
prompt = ConversationalChatAgent.create_prompt(
tools, input_variables=["input", "chat_history", "agent_scratchpad"]
)
llm_chain = LLMChain(
llm=OpenAI(temperature=0), prompt=prompt)
agent = ConversationalChatAgent(
llm_chain=llm_chain, tools=tools, verbose=True)
agent_executor = AgentExecutor.from_agent_and_tools(
agent=agent, tools=tools, verbose=True, memory=conversation_buffer_window_memory)
agent_executor.run('what is the capital of texas?')
```
returns the following error:
(<class 'ValueError'>, ValueError('variable chat_history should be a list of base messages, got '), <traceback object at 0x0000027BA6366E40>)
### Expected behavior
Return the LLM result while updating the memory mechanism.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7365/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7365/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7364
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7364/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7364/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7364/events
|
https://github.com/langchain-ai/langchain/pull/7364
| 1,793,939,877 |
PR_kwDOIPDwls5U8DX3
| 7,364 |
Added support for stability API for bedrock
|
{
"login": "gauravrele87",
"id": 13090752,
"node_id": "MDQ6VXNlcjEzMDkwNzUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13090752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gauravrele87",
"html_url": "https://github.com/gauravrele87",
"followers_url": "https://api.github.com/users/gauravrele87/followers",
"following_url": "https://api.github.com/users/gauravrele87/following{/other_user}",
"gists_url": "https://api.github.com/users/gauravrele87/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gauravrele87/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gauravrele87/subscriptions",
"organizations_url": "https://api.github.com/users/gauravrele87/orgs",
"repos_url": "https://api.github.com/users/gauravrele87/repos",
"events_url": "https://api.github.com/users/gauravrele87/events{/privacy}",
"received_events_url": "https://api.github.com/users/gauravrele87/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 10 | 2023-07-07T17:49:20 | 2023-09-18T23:16:10 | 2023-09-18T23:16:09 |
NONE
| null |
## Summary
This PR adds support for stability AI in bedrock. Implementation is going to return the image in base64 format as text string.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7364/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7364",
"html_url": "https://github.com/langchain-ai/langchain/pull/7364",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7364.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7364.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7363
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7363/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7363/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7363/events
|
https://github.com/langchain-ai/langchain/pull/7363
| 1,793,880,735 |
PR_kwDOIPDwls5U71-m
| 7,363 |
Upgrade the AwaDB from 0.3.5 to 0.3.6
|
{
"login": "ljeagle",
"id": 15918167,
"node_id": "MDQ6VXNlcjE1OTE4MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/15918167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ljeagle",
"html_url": "https://github.com/ljeagle",
"followers_url": "https://api.github.com/users/ljeagle/followers",
"following_url": "https://api.github.com/users/ljeagle/following{/other_user}",
"gists_url": "https://api.github.com/users/ljeagle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ljeagle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ljeagle/subscriptions",
"organizations_url": "https://api.github.com/users/ljeagle/orgs",
"repos_url": "https://api.github.com/users/ljeagle/repos",
"events_url": "https://api.github.com/users/ljeagle/events{/privacy}",
"received_events_url": "https://api.github.com/users/ljeagle/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 5 | 2023-07-07T17:17:14 | 2023-07-08T03:41:35 | 2023-07-08T03:41:18 |
CONTRIBUTOR
| null |
Upgrade the AwaDB from 0.3.5 to 0.3.6
1. Support get, delete and update batch documents
2. Add the implementation of the max_marginal_relevance_search
3. Change the default vectors' distance computation type from L2 to InnerProduct
Please review @rlancemartin, @eyurtsev @hwchase17. Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7363/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7363",
"html_url": "https://github.com/langchain-ai/langchain/pull/7363",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7363.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7363.patch",
"merged_at": "2023-07-08T03:41:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7362
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7362/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7362/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7362/events
|
https://github.com/langchain-ai/langchain/pull/7362
| 1,793,867,175 |
PR_kwDOIPDwls5U7zIF
| 7,362 |
Unset Cache in Tests
|
{
"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": 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-07-07T17:04:35 | 2023-07-07T18:05:10 | 2023-07-07T18:05:09 |
COLLABORATOR
| null |
This is impacting other unit tests that use callbacks since the cache is still set (just empty)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7362/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7362",
"html_url": "https://github.com/langchain-ai/langchain/pull/7362",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7362.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7362.patch",
"merged_at": "2023-07-07T18:05:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7361
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7361/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7361/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7361/events
|
https://github.com/langchain-ai/langchain/pull/7361
| 1,793,847,411 |
PR_kwDOIPDwls5U7u5_
| 7,361 |
Added support for stability API for bedrock
|
{
"login": "gauravrele87",
"id": 13090752,
"node_id": "MDQ6VXNlcjEzMDkwNzUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13090752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gauravrele87",
"html_url": "https://github.com/gauravrele87",
"followers_url": "https://api.github.com/users/gauravrele87/followers",
"following_url": "https://api.github.com/users/gauravrele87/following{/other_user}",
"gists_url": "https://api.github.com/users/gauravrele87/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gauravrele87/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gauravrele87/subscriptions",
"organizations_url": "https://api.github.com/users/gauravrele87/orgs",
"repos_url": "https://api.github.com/users/gauravrele87/repos",
"events_url": "https://api.github.com/users/gauravrele87/events{/privacy}",
"received_events_url": "https://api.github.com/users/gauravrele87/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-07-07T16:46:25 | 2023-07-07T17:43:39 | 2023-07-07T17:43:39 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
This pull request is to add support for stability AI models for bedrock.
Replace this comment with:
- Description: Added support for bedrock stability AI models
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: @3coins
- 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!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7361/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7361",
"html_url": "https://github.com/langchain-ai/langchain/pull/7361",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7361.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7361.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7360
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7360/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7360/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7360/events
|
https://github.com/langchain-ai/langchain/pull/7360
| 1,793,841,669 |
PR_kwDOIPDwls5U7trY
| 7,360 |
docs: `dependents` update 4
|
{
"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 | 2 | 2023-07-07T16:41:20 | 2023-07-07T18:35:43 | 2023-07-07T17:22:31 |
COLLABORATOR
| null |
Updated links and counters of the `dependents` page.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7360/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7360",
"html_url": "https://github.com/langchain-ai/langchain/pull/7360",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7360.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7360.patch",
"merged_at": "2023-07-07T17:22:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7359
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7359/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7359/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7359/events
|
https://github.com/langchain-ai/langchain/pull/7359
| 1,793,836,489 |
PR_kwDOIPDwls5U7sli
| 7,359 |
update extension name
|
{
"login": "raoufchebri",
"id": 13738772,
"node_id": "MDQ6VXNlcjEzNzM4Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/13738772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raoufchebri",
"html_url": "https://github.com/raoufchebri",
"followers_url": "https://api.github.com/users/raoufchebri/followers",
"following_url": "https://api.github.com/users/raoufchebri/following{/other_user}",
"gists_url": "https://api.github.com/users/raoufchebri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/raoufchebri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raoufchebri/subscriptions",
"organizations_url": "https://api.github.com/users/raoufchebri/orgs",
"repos_url": "https://api.github.com/users/raoufchebri/repos",
"events_url": "https://api.github.com/users/raoufchebri/events{/privacy}",
"received_events_url": "https://api.github.com/users/raoufchebri/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-07-07T16:36:33 | 2023-07-07T18:37:04 | 2023-07-07T18:35:51 |
CONTRIBUTOR
| null |
hi @rlancemartin ,
We had a new deployment and the `pg_extension` creation command was updated from `CREATE EXTENSION pg_embedding` to `CREATE EXTENSION embedding`.
https://github.com/neondatabase/neon/pull/4646
The extension not made public yet. No users will be affected by this. Will be public next week.
Please let me know if you have any questions.
Thank you in advance 🙏
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7359/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7359",
"html_url": "https://github.com/langchain-ai/langchain/pull/7359",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7359.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7359.patch",
"merged_at": "2023-07-07T18:35:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7358
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7358/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7358/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7358/events
|
https://github.com/langchain-ai/langchain/pull/7358
| 1,793,822,600 |
PR_kwDOIPDwls5U7prv
| 7,358 |
Update Pinecone Upsert method usage
|
{
"login": "Pharbi",
"id": 22204443,
"node_id": "MDQ6VXNlcjIyMjA0NDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/22204443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pharbi",
"html_url": "https://github.com/Pharbi",
"followers_url": "https://api.github.com/users/Pharbi/followers",
"following_url": "https://api.github.com/users/Pharbi/following{/other_user}",
"gists_url": "https://api.github.com/users/Pharbi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Pharbi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Pharbi/subscriptions",
"organizations_url": "https://api.github.com/users/Pharbi/orgs",
"repos_url": "https://api.github.com/users/Pharbi/repos",
"events_url": "https://api.github.com/users/Pharbi/events{/privacy}",
"received_events_url": "https://api.github.com/users/Pharbi/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 |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-07-07T16:24:16 | 2023-07-12T01:14:43 | 2023-07-12T01:14:43 |
CONTRIBUTOR
| null |
Description: Refactor the upsert method in the Pinecone class to allow for additional keyword arguments. This change adds flexibility and extensibility to the method, allowing for future modifications or enhancements. The upsert method now accepts the `**kwargs` parameter, which can be used to pass any additional arguments to the Pinecone index. This change has been made in both the `upsert` method in the `Pinecone` class and the `upsert` method in the `similarity_search_with_score` class method. Falls in line with the usage of the upsert method in [Pinecone-Python-Client](https://github.com/pinecone-io/pinecone-python-client/blob/4640c4cf27b1ab935e76929c46d230dea9fe5506/pinecone/index.py#L73)
Issue: [This feature request in Pinecone Repo](https://github.com/pinecone-io/pinecone-python-client/issues/184)
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- Memory: @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7358/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7358/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7358",
"html_url": "https://github.com/langchain-ai/langchain/pull/7358",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7358.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7358.patch",
"merged_at": "2023-07-12T01:14:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7357
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7357/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7357/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7357/events
|
https://github.com/langchain-ai/langchain/pull/7357
| 1,793,804,517 |
PR_kwDOIPDwls5U7ls0
| 7,357 |
Explicitly list requires_reference in function
|
{
"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-07-07T16:11:58 | 2023-07-07T17:04:05 | 2023-07-07T17:04:04 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7357/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7357",
"html_url": "https://github.com/langchain-ai/langchain/pull/7357",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7357.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7357.patch",
"merged_at": "2023-07-07T17:04:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7356
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7356/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7356/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7356/events
|
https://github.com/langchain-ai/langchain/pull/7356
| 1,793,785,095 |
PR_kwDOIPDwls5U7hcE
| 7,356 |
Datadog logs loader
|
{
"login": "kzk-maeda",
"id": 18380243,
"node_id": "MDQ6VXNlcjE4MzgwMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18380243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kzk-maeda",
"html_url": "https://github.com/kzk-maeda",
"followers_url": "https://api.github.com/users/kzk-maeda/followers",
"following_url": "https://api.github.com/users/kzk-maeda/following{/other_user}",
"gists_url": "https://api.github.com/users/kzk-maeda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kzk-maeda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kzk-maeda/subscriptions",
"organizations_url": "https://api.github.com/users/kzk-maeda/orgs",
"repos_url": "https://api.github.com/users/kzk-maeda/repos",
"events_url": "https://api.github.com/users/kzk-maeda/events{/privacy}",
"received_events_url": "https://api.github.com/users/kzk-maeda/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-07-07T15:58:10 | 2023-07-10T08:27:56 | 2023-07-10T08:27:56 |
CONTRIBUTOR
| null |
### Description
Created a Loader to get a list of specific logs from Datadog Logs.
### Dependencies
`datadog_api_client` is required.
### Tag maintainer
@rlancemartin, @eyurtsev
### Twitter handle
[kzk_maeda](https://twitter.com/kzk_maeda)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7356/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/7356/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7356",
"html_url": "https://github.com/langchain-ai/langchain/pull/7356",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7356.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7356.patch",
"merged_at": "2023-07-10T08:27:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7355
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7355/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7355/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7355/events
|
https://github.com/langchain-ai/langchain/pull/7355
| 1,793,769,729 |
PR_kwDOIPDwls5U7eKC
| 7,355 |
change embedding to None
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-07T15:46:26 | 2023-07-07T16:33:04 | 2023-07-07T16:33:03 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7355/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7355",
"html_url": "https://github.com/langchain-ai/langchain/pull/7355",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7355.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7355.patch",
"merged_at": "2023-07-07T16:33:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7354
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7354/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7354/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7354/events
|
https://github.com/langchain-ai/langchain/pull/7354
| 1,793,749,087 |
PR_kwDOIPDwls5U7Z-S
| 7,354 |
bump 227
|
{
"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-07-07T15:34:51 | 2023-07-07T15:52:36 | 2023-07-07T15:52:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7354/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7354",
"html_url": "https://github.com/langchain-ai/langchain/pull/7354",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7354.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7354.patch",
"merged_at": "2023-07-07T15:52:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7353
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7353/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7353/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7353/events
|
https://github.com/langchain-ai/langchain/issues/7353
| 1,793,680,431 |
I_kwDOIPDwls5q6WQv
| 7,353 |
HuggingFaceEndpoint Class Bug
|
{
"login": "syeminpark",
"id": 70131115,
"node_id": "MDQ6VXNlcjcwMTMxMTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/70131115?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/syeminpark",
"html_url": "https://github.com/syeminpark",
"followers_url": "https://api.github.com/users/syeminpark/followers",
"following_url": "https://api.github.com/users/syeminpark/following{/other_user}",
"gists_url": "https://api.github.com/users/syeminpark/gists{/gist_id}",
"starred_url": "https://api.github.com/users/syeminpark/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/syeminpark/subscriptions",
"organizations_url": "https://api.github.com/users/syeminpark/orgs",
"repos_url": "https://api.github.com/users/syeminpark/repos",
"events_url": "https://api.github.com/users/syeminpark/events{/privacy}",
"received_events_url": "https://api.github.com/users/syeminpark/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-07T14:49:27 | 2023-07-11T07:06:07 | 2023-07-11T07:06:07 |
NONE
| null |
### System Info
the provided class
[langchain/langchain/llms/huggingface_endpoint.py](https://github.com/hwchase17/langchain/blob/370becdfc2dea35eab6b56244872001116d24f0b/langchain/llms/huggingface_endpoint.py)
class HuggingFaceEndpoint(LLM):
has a bug.
it should be
```python
if self.task == "text-generation":
# Text generation return includes the starter text.
text = generated_text[0]["generated_text"]
```
not
```python
text = generated_text[0]["generated_text"][len(prompt) :]
```
the current class will likely just return a 0.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
llm= HuggingFaceEndpoint(endpoint_url=os.getenv('ENDPOINT_URL'),task="text-generation",
model_kwargs={"temperature":0.7, "max_length":512})
conversation_chain = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=vectorstore.as_retriever(),
memory=memory
)
```
### Expected behavior
the output is 0
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7353/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7352
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7352/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7352/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7352/events
|
https://github.com/langchain-ai/langchain/pull/7352
| 1,793,643,510 |
PR_kwDOIPDwls5U7DO9
| 7,352 |
openai fn update nb
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 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-07-07T14:26:07 | 2023-07-07T15:52:23 | 2023-07-07T15:52:22 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7352/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7352",
"html_url": "https://github.com/langchain-ai/langchain/pull/7352",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7352.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7352.patch",
"merged_at": "2023-07-07T15:52:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7349
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7349/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7349/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7349/events
|
https://github.com/langchain-ai/langchain/pull/7349
| 1,793,589,469 |
PR_kwDOIPDwls5U63e6
| 7,349 |
Update README.md
|
{
"login": "doncamilom",
"id": 32375632,
"node_id": "MDQ6VXNlcjMyMzc1NjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/32375632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/doncamilom",
"html_url": "https://github.com/doncamilom",
"followers_url": "https://api.github.com/users/doncamilom/followers",
"following_url": "https://api.github.com/users/doncamilom/following{/other_user}",
"gists_url": "https://api.github.com/users/doncamilom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/doncamilom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/doncamilom/subscriptions",
"organizations_url": "https://api.github.com/users/doncamilom/orgs",
"repos_url": "https://api.github.com/users/doncamilom/repos",
"events_url": "https://api.github.com/users/doncamilom/events{/privacy}",
"received_events_url": "https://api.github.com/users/doncamilom/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-07-07T13:51:48 | 2023-07-07T13:57:36 | 2023-07-07T13:51:59 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7349/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7349/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7349",
"html_url": "https://github.com/langchain-ai/langchain/pull/7349",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7349.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7349.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7348
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7348/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7348/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7348/events
|
https://github.com/langchain-ai/langchain/pull/7348
| 1,793,567,578 |
PR_kwDOIPDwls5U6ywI
| 7,348 |
update MosaicML inputs and outputs
|
{
"login": "pmeier",
"id": 6849766,
"node_id": "MDQ6VXNlcjY4NDk3NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6849766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pmeier",
"html_url": "https://github.com/pmeier",
"followers_url": "https://api.github.com/users/pmeier/followers",
"following_url": "https://api.github.com/users/pmeier/following{/other_user}",
"gists_url": "https://api.github.com/users/pmeier/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pmeier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pmeier/subscriptions",
"organizations_url": "https://api.github.com/users/pmeier/orgs",
"repos_url": "https://api.github.com/users/pmeier/repos",
"events_url": "https://api.github.com/users/pmeier/events{/privacy}",
"received_events_url": "https://api.github.com/users/pmeier/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-07-07T13:37:40 | 2023-07-07T21:23:11 | 2023-07-07T21:23:11 |
CONTRIBUTOR
| null |
As of today (July 7, 2023), the [MosaicML API](https://docs.mosaicml.com/en/latest/inference.html#text-completion-requests) uses `"inputs"` for the prompt

but we have
https://github.com/hwchase17/langchain/blob/0ed2da70200ada39f5319f604b4c5248bc98e81b/langchain/llms/mosaicml.py#L125
Furthermore, the output should be inside the `"outputs"` key

but we have
https://github.com/hwchase17/langchain/blob/0ed2da70200ada39f5319f604b4c5248bc98e81b/langchain/llms/mosaicml.py#L163-L170
This PR adds support for this new format.
`<rant>`
It is beyond me, why they apparently have versioned their API (endpoints look like `https://models.hosted-on.mosaicml.hosting/mpt-7b-instruct/v1/predict`; note the `v1` in there), but just keep changing the API without upping the version number. There is a good reason for
https://github.com/hwchase17/langchain/blob/0ed2da70200ada39f5319f604b4c5248bc98e81b/langchain/llms/mosaicml.py#L160-L161
`</rant>`
CC @hwchase17, @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7348/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7348",
"html_url": "https://github.com/langchain-ai/langchain/pull/7348",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7348.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7348.patch",
"merged_at": "2023-07-07T21:23:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7347
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7347/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7347/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7347/events
|
https://github.com/langchain-ai/langchain/issues/7347
| 1,793,525,647 |
I_kwDOIPDwls5q5weP
| 7,347 |
map_reduce and refine not working with RetrievalQA chain
|
{
"login": "KillerStrike17",
"id": 25988007,
"node_id": "MDQ6VXNlcjI1OTg4MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/25988007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KillerStrike17",
"html_url": "https://github.com/KillerStrike17",
"followers_url": "https://api.github.com/users/KillerStrike17/followers",
"following_url": "https://api.github.com/users/KillerStrike17/following{/other_user}",
"gists_url": "https://api.github.com/users/KillerStrike17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KillerStrike17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KillerStrike17/subscriptions",
"organizations_url": "https://api.github.com/users/KillerStrike17/orgs",
"repos_url": "https://api.github.com/users/KillerStrike17/repos",
"events_url": "https://api.github.com/users/KillerStrike17/events{/privacy}",
"received_events_url": "https://api.github.com/users/KillerStrike17/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 | 9 | 2023-07-07T13:09:59 | 2023-11-14T16:08:01 | 2023-11-14T16:08:00 |
NONE
| null |
### System Info
Langchain Version - 0.0.201
Platform - Windows 11
Python - 3.10.11
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. load some text documents to a vector store, i used deeplake
2. load the db
3. call the function, summarizer(db,"Summarize the mentions of google according to their AI program")(defined in attached file)
4. run for chain_type as stuff, it will work, for map_reduce it will fail in retrieval QA Bot
[main.zip](https://github.com/hwchase17/langchain/files/11982265/main.zip)
### Expected behavior
it should work for all the chain types and give results
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7347/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/7347/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7346
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7346/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7346/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7346/events
|
https://github.com/langchain-ai/langchain/issues/7346
| 1,793,511,650 |
I_kwDOIPDwls5q5tDi
| 7,346 |
Issue: When implementing Cypher Search using neo4j environment
|
{
"login": "NLPAN",
"id": 33030136,
"node_id": "MDQ6VXNlcjMzMDMwMTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/33030136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NLPAN",
"html_url": "https://github.com/NLPAN",
"followers_url": "https://api.github.com/users/NLPAN/followers",
"following_url": "https://api.github.com/users/NLPAN/following{/other_user}",
"gists_url": "https://api.github.com/users/NLPAN/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NLPAN/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NLPAN/subscriptions",
"organizations_url": "https://api.github.com/users/NLPAN/orgs",
"repos_url": "https://api.github.com/users/NLPAN/repos",
"events_url": "https://api.github.com/users/NLPAN/events{/privacy}",
"received_events_url": "https://api.github.com/users/NLPAN/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 | 5 | 2023-07-07T13:00:11 | 2023-10-28T16:05:40 | 2023-10-28T16:05:39 |
NONE
| null |
### Issue you'd like to raise.
python environment:
neo4j 5.0.0
neobolt 1.7.17
neo4j version: neo4j-35-apoc:v20220808
报错:
File "D:\Anaconda3\envs\langchain\lib\site-packages\neo4j_sync\io_bolt3.py", line 200, in run
raise ConfigurationError(
neo4j.exceptions.ConfigurationError: Database name parameter for selecting database is not supported in Bolt Protocol Version(3, 0). Database name 'neo4
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7346/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/7346/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7345
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7345/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7345/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7345/events
|
https://github.com/langchain-ai/langchain/issues/7345
| 1,793,476,844 |
I_kwDOIPDwls5q5kjs
| 7,345 |
Load OPEN API yaml file to vertex ai LLM model
|
{
"login": "sarthakpaypay",
"id": 133971841,
"node_id": "U_kgDOB_w_gQ",
"avatar_url": "https://avatars.githubusercontent.com/u/133971841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarthakpaypay",
"html_url": "https://github.com/sarthakpaypay",
"followers_url": "https://api.github.com/users/sarthakpaypay/followers",
"following_url": "https://api.github.com/users/sarthakpaypay/following{/other_user}",
"gists_url": "https://api.github.com/users/sarthakpaypay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sarthakpaypay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sarthakpaypay/subscriptions",
"organizations_url": "https://api.github.com/users/sarthakpaypay/orgs",
"repos_url": "https://api.github.com/users/sarthakpaypay/repos",
"events_url": "https://api.github.com/users/sarthakpaypay/events{/privacy}",
"received_events_url": "https://api.github.com/users/sarthakpaypay/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-07-07T12:36:51 | 2023-10-14T20:10:17 | 2023-10-14T20:10:16 |
NONE
| null |
### Feature request
I am looking for loading OPEN API yaml file into vertex ai llm model. Langchain provides that for OPENAI but not for vertex ai. This is how I currently write code in Open AI. I want a similar functionality for Vertex AI
spec = OpenAPISpec.from_file("sample.yaml")
openai_fns, call_api_fn = openapi_spec_to_openai_fn(spec)
### Motivation
I am creating on a GENAI chatbot for my company where customers can ask questions specific to our product. I need to return the answers of those queries using our internal API's. To query those API's, I need to know which API to call and the API parameters filled as per the user query. For that, I need vertex ai function calling support to query it.
Is there already a way in vertex ai which does this? Kindly help me on this.
### Your contribution
I can help on the issue if anything is required.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7345/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7344
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7344/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7344/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7344/events
|
https://github.com/langchain-ai/langchain/pull/7344
| 1,793,440,622 |
PR_kwDOIPDwls5U6XHQ
| 7,344 |
Add context to an output parsing error on Pydantic schema to improve exception handling
|
{
"login": "msaelices",
"id": 136875,
"node_id": "MDQ6VXNlcjEzNjg3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/136875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msaelices",
"html_url": "https://github.com/msaelices",
"followers_url": "https://api.github.com/users/msaelices/followers",
"following_url": "https://api.github.com/users/msaelices/following{/other_user}",
"gists_url": "https://api.github.com/users/msaelices/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msaelices/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msaelices/subscriptions",
"organizations_url": "https://api.github.com/users/msaelices/orgs",
"repos_url": "https://api.github.com/users/msaelices/repos",
"events_url": "https://api.github.com/users/msaelices/events{/privacy}",
"received_events_url": "https://api.github.com/users/msaelices/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-07-07T12:10:03 | 2023-07-07T18:49:38 | 2023-07-07T18:49:37 |
CONTRIBUTOR
| null |
## Changes
- [X] Fill the `llm_output` param when there is an output parsing error in a Pydantic schema so that we can get the original text that failed to parse when handling the exception
## Background
With this change, we could do something like this:
```
output_parser = PydanticOutputParser(pydantic_object=pydantic_obj)
chain = ConversationChain(..., output_parser=output_parser)
try:
response: PydanticSchema = chain.predict(input=input)
except OutputParserException as exc:
logger.error(
'OutputParserException while parsing chatbot response: %s', exc.llm_output,
)
```
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7344/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7344",
"html_url": "https://github.com/langchain-ai/langchain/pull/7344",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7344.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7344.patch",
"merged_at": "2023-07-07T18:49:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7343
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7343/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7343/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7343/events
|
https://github.com/langchain-ai/langchain/issues/7343
| 1,793,386,363 |
I_kwDOIPDwls5q5Od7
| 7,343 |
Issue: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization
|
{
"login": "Imperator8",
"id": 78373618,
"node_id": "MDQ6VXNlcjc4MzczNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78373618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Imperator8",
"html_url": "https://github.com/Imperator8",
"followers_url": "https://api.github.com/users/Imperator8/followers",
"following_url": "https://api.github.com/users/Imperator8/following{/other_user}",
"gists_url": "https://api.github.com/users/Imperator8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Imperator8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Imperator8/subscriptions",
"organizations_url": "https://api.github.com/users/Imperator8/orgs",
"repos_url": "https://api.github.com/users/Imperator8/repos",
"events_url": "https://api.github.com/users/Imperator8/events{/privacy}",
"received_events_url": "https://api.github.com/users/Imperator8/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 18 | 2023-07-07T11:34:51 | 2023-10-22T20:00:13 | null |
NONE
| null |
### Issue you'd like to raise.
I want to download a large file, 5,000,000 characters, and I get an error: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-DOqIVFPozlLEOcvlTbpvpcKt on tokens per min. Limit: 150000 / min. Current: 0 / min. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.
My code:
`class Agent:
def __init__(self, openai_api_key: str | None = None) -> None:
self.key = openai_api_key
self.embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key, request_timeout=120, max_retries=10)
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200)
self.llm = ChatOpenAI(temperature=0, openai_api_key=openai_api_key, max_tokens=500, model_name="gpt-3.5-turbo-16k")
self.chat_history = None
self.chain = None
self.db = None
def ask(self, question: str) -> str:
response = self.chain({"question": question, "chat_history": self.chat_history})
response = response["answer"].strip()
self.chat_history.append((question, response))
return response
def ingest(self, file_path) -> None:
loader = TextLoader(file_path, encoding="utf-8")
documents = loader.load()
splitted_documents = self.text_splitter.split_documents(documents)
if self.db is None:
self.db = FAISS.from_documents(splitted_documents, self.embeddings)
self.chain = ConversationalRetrievalChain.from_llm(self.llm, self.db.as_retriever())
self.chat_history = []
else:
self.db.add_documents(splitted_documents)
def forget(self) -> None:
self.db = None
self.chain = None
self.chat_history = None`
Is there a solution to this problem?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7343/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/7343/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7342
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7342/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7342/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7342/events
|
https://github.com/langchain-ai/langchain/pull/7342
| 1,793,380,496 |
PR_kwDOIPDwls5U6J00
| 7,342 |
added index retreival from redis search
|
{
"login": "TRY-ER",
"id": 75255871,
"node_id": "MDQ6VXNlcjc1MjU1ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/75255871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TRY-ER",
"html_url": "https://github.com/TRY-ER",
"followers_url": "https://api.github.com/users/TRY-ER/followers",
"following_url": "https://api.github.com/users/TRY-ER/following{/other_user}",
"gists_url": "https://api.github.com/users/TRY-ER/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TRY-ER/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TRY-ER/subscriptions",
"organizations_url": "https://api.github.com/users/TRY-ER/orgs",
"repos_url": "https://api.github.com/users/TRY-ER/repos",
"events_url": "https://api.github.com/users/TRY-ER/events{/privacy}",
"received_events_url": "https://api.github.com/users/TRY-ER/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-07-07T11:31:24 | 2023-07-18T17:50:30 | 2023-07-18T17:50:30 |
CONTRIBUTOR
| null |
Replace this comment with:
- Description: change consists retrieval of document id from redis search for semantic search of redis vectorstore
- Issue: It helps to gather the document id for further processing of the filtered data in redis database
- Dependencies: no dependancies
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7342/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7342",
"html_url": "https://github.com/langchain-ai/langchain/pull/7342",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7342.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7342.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7341
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7341/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7341/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7341/events
|
https://github.com/langchain-ai/langchain/issues/7341
| 1,793,313,012 |
I_kwDOIPDwls5q48j0
| 7,341 |
Create a built in translator for SelfQueryRetriever for Elasticsearch
|
{
"login": "lemig",
"id": 78766,
"node_id": "MDQ6VXNlcjc4NzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/78766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemig",
"html_url": "https://github.com/lemig",
"followers_url": "https://api.github.com/users/lemig/followers",
"following_url": "https://api.github.com/users/lemig/following{/other_user}",
"gists_url": "https://api.github.com/users/lemig/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lemig/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lemig/subscriptions",
"organizations_url": "https://api.github.com/users/lemig/orgs",
"repos_url": "https://api.github.com/users/lemig/repos",
"events_url": "https://api.github.com/users/lemig/events{/privacy}",
"received_events_url": "https://api.github.com/users/lemig/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 | 2 | 2023-07-07T10:53:34 | 2023-11-21T16:06:47 | 2023-11-21T16:06:45 |
NONE
| null |
### Feature request
Inferring query filters from natural language is powerful. The SelfQuery retriever is a great implementation but is not yet compatible with Elasticseach.
### Motivation
Choosing Elasticsearch as a vector store is interesting in terms of hybrid search.
It also makes sense when you have an established infrastructure and technical expertise.
### Your contribution
cc: @jeffvestal, @derickson
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7341/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/7341/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7340
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7340/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7340/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7340/events
|
https://github.com/langchain-ai/langchain/issues/7340
| 1,793,294,393 |
I_kwDOIPDwls5q44A5
| 7,340 |
langchain + gpt4all
|
{
"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": 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-07-07T10:43:13 | 2023-11-28T16:09:46 | 2023-11-28T16:09:45 |
NONE
| null |
### System Info
LangChain v0.0.225, Ubuntu 22.04.2 LTS, Python 3.10
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm executing [https://github.com/hwchase17/langchain/blob/master/docs/extras/modules/model_io/models/llms/integrations/gpt4all.ipynb](url) code on my local machine, IDE is VSCode
Getting this error - **AttributeError: 'Model' object has no attribute '_ctx'**

### Expected behavior

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7340/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/7340/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7339
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7339/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7339/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7339/events
|
https://github.com/langchain-ai/langchain/issues/7339
| 1,793,287,416 |
I_kwDOIPDwls5q42T4
| 7,339 |
Issue: Whisper terminates YouTube transcriptions.
|
{
"login": "Dave86ch",
"id": 87725170,
"node_id": "MDQ6VXNlcjg3NzI1MTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/87725170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dave86ch",
"html_url": "https://github.com/Dave86ch",
"followers_url": "https://api.github.com/users/Dave86ch/followers",
"following_url": "https://api.github.com/users/Dave86ch/following{/other_user}",
"gists_url": "https://api.github.com/users/Dave86ch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Dave86ch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dave86ch/subscriptions",
"organizations_url": "https://api.github.com/users/Dave86ch/orgs",
"repos_url": "https://api.github.com/users/Dave86ch/repos",
"events_url": "https://api.github.com/users/Dave86ch/events{/privacy}",
"received_events_url": "https://api.github.com/users/Dave86ch/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 | 3 | 2023-07-07T10:39:03 | 2023-10-14T20:10:22 | 2023-10-14T20:10:21 |
NONE
| null |
### Issue you'd like to raise.
Hello everyone,
I've tried numerous approaches, but every time I attempt to transcribe a video from Google, the Whisper task gets terminated.
Does anyone have any suggestions?
```
def youtube_transcript(query: str) -> str:
# Use the URL of the YouTube video you want to download
youtube_url = [get_input_writing(query)]
# -------------
# Directory to save audio files
save_dir = "/home/ds_logos_2/transcripts"
# Transcribe the videos to text
loader = GenericLoader(YoutubeAudioLoader(youtube_url, save_dir), OpenAIWhisperParser())
docs = loader.load()
# Combine doc
combined_docs = [doc.page_content for doc in docs]
text = " ".join(combined_docs)
# Save the transcription to a text file
with open('/home/davesoma/transcripts/transcript.txt', 'w') as f:
f.write(text)
```
```
[youtube] -hxeDjAxvJ8: Downloading webpage
[youtube] -hxeDjAxvJ8: Downloading ios player API JSON
[youtube] -hxeDjAxvJ8: Downloading android player API JSON
[youtube] -hxeDjAxvJ8: Downloading m3u8 information
[info] -hxeDjAxvJ8: Downloading 1 format(s): 140
[download] Destination: /home/davesoma/ds_logos_2/transcripts/Marc Andreessen: Future of the Internet, Technology, and AI | Lex Fridman Podcast #386.m4a
[download] 100% of 177.41MiB in 00:00:18 at 9.52MiB/s
[FixupM4a] Correcting container of "/home/davesoma/ds_logos_2/transcripts/Marc Andreessen: Future of the Internet, Technology, and AI | Lex Fridman Podcast #386.m4a"
[ExtractAudio] Not converting audio /home/davesoma/ds_logos_2/transcripts/Marc Andreessen: Future of the Internet, Technology, and AI | Lex Fridman Podcast #386.m4a; fil
e is already in target format m4a Transcribing part 1!
Killed
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7339/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7339/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7338
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7338/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7338/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7338/events
|
https://github.com/langchain-ai/langchain/issues/7338
| 1,793,271,619 |
I_kwDOIPDwls5q4ydD
| 7,338 |
Add feature to get document ID from redis after redis search document retrieval.
|
{
"login": "TRY-ER",
"id": 75255871,
"node_id": "MDQ6VXNlcjc1MjU1ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/75255871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TRY-ER",
"html_url": "https://github.com/TRY-ER",
"followers_url": "https://api.github.com/users/TRY-ER/followers",
"following_url": "https://api.github.com/users/TRY-ER/following{/other_user}",
"gists_url": "https://api.github.com/users/TRY-ER/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TRY-ER/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TRY-ER/subscriptions",
"organizations_url": "https://api.github.com/users/TRY-ER/orgs",
"repos_url": "https://api.github.com/users/TRY-ER/repos",
"events_url": "https://api.github.com/users/TRY-ER/events{/privacy}",
"received_events_url": "https://api.github.com/users/TRY-ER/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-07-07T10:29:51 | 2023-10-06T16:04:59 | 2023-10-06T16:04:49 |
CONTRIBUTOR
| null |
### Feature request
I have been trying to delete custom redis data using langchain. But the search feature only returns the document and the metadata with similarity score. Hence I modified the code to return the document ID along with the document data. The id will be helpful for manual deletion of certain elements.
### Motivation
The retrieval of document ID from the redis semantic search will help me to systematically modify the wrong data with right ones after filtering it using LLMs.
### Your contribution
Yes I have fixed the redis part to retrieve the document ID from semantic search. I will fix the issue if the pull request is allowed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7338/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/7338/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7337
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7337/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7337/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7337/events
|
https://github.com/langchain-ai/langchain/issues/7337
| 1,793,238,048 |
I_kwDOIPDwls5q4qQg
| 7,337 |
Working of ConversationBufferMemory in the context of document based question answering
|
{
"login": "pradeepdev-1995",
"id": 41164884,
"node_id": "MDQ6VXNlcjQxMTY0ODg0",
"avatar_url": "https://avatars.githubusercontent.com/u/41164884?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pradeepdev-1995",
"html_url": "https://github.com/pradeepdev-1995",
"followers_url": "https://api.github.com/users/pradeepdev-1995/followers",
"following_url": "https://api.github.com/users/pradeepdev-1995/following{/other_user}",
"gists_url": "https://api.github.com/users/pradeepdev-1995/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pradeepdev-1995/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pradeepdev-1995/subscriptions",
"organizations_url": "https://api.github.com/users/pradeepdev-1995/orgs",
"repos_url": "https://api.github.com/users/pradeepdev-1995/repos",
"events_url": "https://api.github.com/users/pradeepdev-1995/events{/privacy}",
"received_events_url": "https://api.github.com/users/pradeepdev-1995/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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-07T10:12:08 | 2023-10-14T20:10:27 | 2023-10-14T20:10:26 |
NONE
| null |
### Issue you'd like to raise.
I am doing the pdf question answering using the below code.
Note: I am integrated the ConversationBufferMemory for keeping my chat in the memory
```
from langchain.document_loaders import PyPDFLoader
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.memory import ConversationBufferMemory
from langchain.vectorstores import Chroma
from langchain.chains import ConversationalRetrievalChain
from langchain.llms import Cohere
import os
os.environ["COHERE_API_KEY"] = "cohere key"
model = Cohere(model="command-xlarge")
embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
pdf_path = "file.pdf"
loader = PyPDFLoader(pdf_path)
pages = loader.load_and_split()
vectordb = Chroma.from_documents(pages, embedding=embeddings,
persist_directory=".")
vectordb.persist()
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
pdf_qa = ConversationalRetrievalChain.from_llm(model, vectordb.as_retriever(), memory=memory)
while True:
query = input("Enter the question\n")
result = pdf_qa({"question": query})
print("Answer:")
print(result["answer"])
```
Actually what happening here?
I am observing that memory is not keeping updated here, because if I am asking any question related to the previous context, it is unable to answer.
Is my method is correct?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7337/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7336
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7336/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7336/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7336/events
|
https://github.com/langchain-ai/langchain/issues/7336
| 1,793,196,340 |
I_kwDOIPDwls5q4gE0
| 7,336 |
Issue: question about agents
|
{
"login": "zhangjunqiang",
"id": 5388898,
"node_id": "MDQ6VXNlcjUzODg4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5388898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangjunqiang",
"html_url": "https://github.com/zhangjunqiang",
"followers_url": "https://api.github.com/users/zhangjunqiang/followers",
"following_url": "https://api.github.com/users/zhangjunqiang/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangjunqiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhangjunqiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangjunqiang/subscriptions",
"organizations_url": "https://api.github.com/users/zhangjunqiang/orgs",
"repos_url": "https://api.github.com/users/zhangjunqiang/repos",
"events_url": "https://api.github.com/users/zhangjunqiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/zhangjunqiang/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"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-07T09:49:22 | 2023-10-19T16:06:33 | 2023-10-19T16:06:32 |
NONE
| null |
I want pass "chat_history" to the agents like :
```python
...
agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
response = agent.run({"input": {"chat_history": _message_to_tuple(history), "question": query}})
```
but got an error. how can i pass 'chat_history' to the agent?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7336/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7335
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7335/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7335/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7335/events
|
https://github.com/langchain-ai/langchain/pull/7335
| 1,793,193,242 |
PR_kwDOIPDwls5U5gEK
| 7,335 |
bump 226
|
{
"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-07-07T09:47:39 | 2023-07-07T09:59:14 | 2023-07-07T09:59:13 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7335/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7335",
"html_url": "https://github.com/langchain-ai/langchain/pull/7335",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7335.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7335.patch",
"merged_at": "2023-07-07T09:59:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7334
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7334/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7334/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7334/events
|
https://github.com/langchain-ai/langchain/pull/7334
| 1,793,171,566 |
PR_kwDOIPDwls5U5bPg
| 7,334 |
Qdrant: Ability to add vectors to already existing collection & set vector size
|
{
"login": "hopkins385",
"id": 98618192,
"node_id": "U_kgDOBeDLUA",
"avatar_url": "https://avatars.githubusercontent.com/u/98618192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hopkins385",
"html_url": "https://github.com/hopkins385",
"followers_url": "https://api.github.com/users/hopkins385/followers",
"following_url": "https://api.github.com/users/hopkins385/following{/other_user}",
"gists_url": "https://api.github.com/users/hopkins385/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hopkins385/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hopkins385/subscriptions",
"organizations_url": "https://api.github.com/users/hopkins385/orgs",
"repos_url": "https://api.github.com/users/hopkins385/repos",
"events_url": "https://api.github.com/users/hopkins385/events{/privacy}",
"received_events_url": "https://api.github.com/users/hopkins385/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 5 | 2023-07-07T09:36:29 | 2023-08-21T16:24:44 | 2023-08-21T16:24:43 |
NONE
| null |
Problem:
Whenever we add vectors to an existing qdrant collection that collection gets deleted and re-created from scratch if we use for example `VectorstoreIndexCreator()`.
This PR solves this issue and adds further automatisation abilities without breaking the already existing behavior.
In addition to that this PR adds the ability to configure a fixed vector size, eliminating the need to make a single embedding just to figure out the vector size and further reducing api usage resulting in reduced costs for end-users.
So this PR introduces the following two flags:
`recreate_collection = Optional[bool]`
`vector_size = Optional[int]`
How this solution works:
If recreate_collection=False, it checks if collection exists, if not, continue like before this PR ((re)create collection)
if collection exists, and recreate_collection=False, and init_from=None then do not execute recreate_collection()
VectorstoreIndexCreator code example (after PR):
```python
VectorstoreIndexCreator(
vectorstore_cls=Qdrant,
text_splitter=RecursiveCharacterTextSplitter(
chunk_size=int(os.environ.get('CHUNK_SIZE_TOKENS', 400)),
separators=sepList,
chunk_overlap=0,
length_function=get_tokens,
),
vectorstore_kwargs=dict(
host=os.environ.get('QDRANT_HOST', 'qdrant'),
port=int(os.environ.get('QDRANT_PORT', '6333')),
grpc_port=int(os.environ.get('QDRANT_GRPC_PORT', '6334')),
prefer_grpc=bool(os.environ.get('QDRANT_PREFER_GRPC', 'True')),
collection_name=self.request.collection_name,
recreate_collection=False, # <-- this is new, default value is True
vector_size=int(os.environ.get('VECTOR_DIMENSIONS', '1536')), # <-- this is new, default value is None
),
).from_documents(self.documents)
```
--
Maintainer responsibilities:
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7334/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7334",
"html_url": "https://github.com/langchain-ai/langchain/pull/7334",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7334.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7334.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7333
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7333/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7333/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7333/events
|
https://github.com/langchain-ai/langchain/pull/7333
| 1,793,162,545 |
PR_kwDOIPDwls5U5ZQX
| 7,333 |
Add upserting and deletion capability to PGVector
|
{
"login": "angelol",
"id": 7630,
"node_id": "MDQ6VXNlcjc2MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7630?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/angelol",
"html_url": "https://github.com/angelol",
"followers_url": "https://api.github.com/users/angelol/followers",
"following_url": "https://api.github.com/users/angelol/following{/other_user}",
"gists_url": "https://api.github.com/users/angelol/gists{/gist_id}",
"starred_url": "https://api.github.com/users/angelol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/angelol/subscriptions",
"organizations_url": "https://api.github.com/users/angelol/orgs",
"repos_url": "https://api.github.com/users/angelol/repos",
"events_url": "https://api.github.com/users/angelol/events{/privacy}",
"received_events_url": "https://api.github.com/users/angelol/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-07-07T09:31:24 | 2023-11-07T03:46:26 | 2023-11-07T03:46:26 |
NONE
| null |
Currently, the PGVector vectorstore only supports adding embeddings to the store. This PR adds upserting and deletion capability to the store, so you can update existing embeddings if the underlying text have changed. This is useful if you have indexed a set of documents but some of the documents are being changed and you want to keep the index up-to-date.
To use this feature, simply provided ids for all texts/or documents. The pgvector notebook has been updated accordingly.
The fixes issue #6866.
👀 @rlancemartin, @eyurtsev
In case you want to announce on Twitter, my Twitter handle is @angelol
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7333/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/7333/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7333",
"html_url": "https://github.com/langchain-ai/langchain/pull/7333",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7333.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7333.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7332
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7332/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7332/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7332/events
|
https://github.com/langchain-ai/langchain/pull/7332
| 1,793,095,339 |
PR_kwDOIPDwls5U5Kyi
| 7,332 |
Bug fix related to base vectorstore's metadata.
|
{
"login": "nishantkr18",
"id": 44468894,
"node_id": "MDQ6VXNlcjQ0NDY4ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/44468894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nishantkr18",
"html_url": "https://github.com/nishantkr18",
"followers_url": "https://api.github.com/users/nishantkr18/followers",
"following_url": "https://api.github.com/users/nishantkr18/following{/other_user}",
"gists_url": "https://api.github.com/users/nishantkr18/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nishantkr18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nishantkr18/subscriptions",
"organizations_url": "https://api.github.com/users/nishantkr18/orgs",
"repos_url": "https://api.github.com/users/nishantkr18/repos",
"events_url": "https://api.github.com/users/nishantkr18/events{/privacy}",
"received_events_url": "https://api.github.com/users/nishantkr18/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": 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 | 4 | 2023-07-07T08:49:01 | 2023-08-16T04:04:24 | 2023-07-12T01:15:28 |
NONE
| null |
If I use Pinecone to create a vectorbase, by calling from_documents:
```python
vectorstore = Pinecone.from_documents(
documents=source_chunks, embedding=embedding, index_name='apple')
```
the vectors of the same source, have the same content.

Issue also described here: https://stackoverflow.com/questions/76401057/why-does-pinecone-repeatedly-return-the-same-result-from-my-series-of-documents
This happens because when I create documents like this:
```python
source_chunks = []
for source in docs:
for chunk in splitter.split_text(source.page_content):
source_chunks.append(
Document(page_content=chunk, metadata=source.metadata))
```
the source.metadata is not copied by default. To enforce that, I need to use `Document(page_content=chunk, metadata=source.metadata.copy()))`.
Although this is a user implementation issue, such a thing can happen quite often. To prevent this, we can make sure that the metadata dict is copied by default.
After wasting 2 hours of my time trying to find out why am I getting dublicate responses on similarity search, I realized that this should be addressed.
Let me know what you think.
Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7332/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7332/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7332",
"html_url": "https://github.com/langchain-ai/langchain/pull/7332",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7332.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7332.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7331
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7331/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7331/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7331/events
|
https://github.com/langchain-ai/langchain/issues/7331
| 1,793,084,323 |
I_kwDOIPDwls5q4Euj
| 7,331 |
AzureChatOpenAI raises The API deployment for this resource does not exist when used with ConversationalRetrievalChain
|
{
"login": "jorrgme",
"id": 10991429,
"node_id": "MDQ6VXNlcjEwOTkxNDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/10991429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorrgme",
"html_url": "https://github.com/jorrgme",
"followers_url": "https://api.github.com/users/jorrgme/followers",
"following_url": "https://api.github.com/users/jorrgme/following{/other_user}",
"gists_url": "https://api.github.com/users/jorrgme/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jorrgme/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorrgme/subscriptions",
"organizations_url": "https://api.github.com/users/jorrgme/orgs",
"repos_url": "https://api.github.com/users/jorrgme/repos",
"events_url": "https://api.github.com/users/jorrgme/events{/privacy}",
"received_events_url": "https://api.github.com/users/jorrgme/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-07-07T08:41:48 | 2023-07-10T11:11:16 | 2023-07-10T11:11:16 |
NONE
| null |
### System Info
Hello,
I am trying to use AzureChatOpenAI to develop a QA system with memory. For that purpose, I have the following code:
```python
import faiss
import pickle
from langchain.chat_models import AzureChatOpenAI
from langchain.memory import ConversationBufferMemory
from langchain.chains import ConversationalRetrievalChain
from langchain.schema import HumanMessage
memory = ConversationBufferMemory(
memory_key="chat_history",
return_messages=True
)
# Load the LangChain.
index = faiss.read_index("docs.index")
with open("faiss_store.pkl", "rb") as f:
store = pickle.load(f)
AZURE_BASE_URL = "{MY_BASE_URL}.openai.azure.com/"
AZURE_OPENAI_API_KEY = "MY_API_KEY"
DEPLOYMENT_NAME = "chat"
llm = AzureChatOpenAI(
openai_api_base=AZURE_BASE_URL,
openai_api_version="2023-03-15-preview",
deployment_name="chat",
openai_api_key=AZURE_OPENAI_API_KEY,
openai_api_type="azure",
temperature=0.01
)
retriever = store.as_retriever()
qa = ConversationalRetrievalChain.from_llm(
llm,
retriever=retriever,
memory=memory
)
user_input = "Question?"
result = qa({"question": user_input})
print(result)
```
This code is raising the following error:
```
openai.error.InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
```
I have tried using AzureChatOpenAI in other ways and it is working without any problem, using the same deployed model in Azure:
```python
AZURE_BASE_URL = "{MY_BASE_URL}.openai.azure.com/"
AZURE_OPENAI_API_KEY = "MY_API_KEY"
DEPLOYMENT_NAME = "chat"
llm = AzureChatOpenAI(
openai_api_base=AZURE_BASE_URL,
openai_api_version="2023-03-15-preview",
deployment_name="chat",
openai_api_key=AZURE_OPENAI_API_KEY,
openai_api_type="azure",
temperature=0.01
)
chain = load_qa_chain(llm=llm, chain_type="map_reduce")
```
Therefore, the problem is not about the deployment I made in Azure, it seems to work fine in other situations.
Am I missing something when using ConversationalRetrievalChain with AzureChatOpenAI? I have tried so many things and nothing seems to work.
Thanks in advance for any help.
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Declare the LLM using AzureChatOpenAI:
```python
AZURE_BASE_URL = "{MY_BASE_URL}.openai.azure.com/"
AZURE_OPENAI_API_KEY = "MY_API_KEY"
DEPLOYMENT_NAME = "chat"
llm = AzureChatOpenAI(
openai_api_base=AZURE_BASE_URL,
openai_api_version="2023-03-15-preview",
deployment_name="chat",
openai_api_key=AZURE_OPENAI_API_KEY,
openai_api_type="azure",
temperature=0.01
)
```
2. Declare the ConversationBufferMemory:
```python
memory = ConversationBufferMemory(
memory_key="chat_history",
return_messages=True
)
```
3. Load FAISS index:
```python
# Load the LangChain.
index = faiss.read_index("docs.index")
with open("faiss_store.pkl", "rb") as f:
store = pickle.load(f)
```
4. Declare and run the ConversationalRetrievalChain:
```python
qa = ConversationalRetrievalChain.from_llm(
llm,
retriever=retriever,
memory=memory
)
user_input = "Question?"
result = qa({"question": user_input})
print(result)
```
### Expected behavior
Error raised:
```
openai.error.InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7331/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/7331/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7330
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7330/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7330/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7330/events
|
https://github.com/langchain-ai/langchain/pull/7330
| 1,793,041,244 |
PR_kwDOIPDwls5U4_BD
| 7,330 |
Output parser redirect
|
{
"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-07-07T08:19:48 | 2023-07-07T08:26:35 | 2023-07-07T08:26:34 |
COLLABORATOR
| null |
Related to ##7311
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7330/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7330",
"html_url": "https://github.com/langchain-ai/langchain/pull/7330",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7330.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7330.patch",
"merged_at": "2023-07-07T08:26:34"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7329
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7329/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7329/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7329/events
|
https://github.com/langchain-ai/langchain/pull/7329
| 1,792,988,300 |
PR_kwDOIPDwls5U4zo9
| 7,329 |
Add local support for audio models
|
{
"login": "Comendeiro",
"id": 7376569,
"node_id": "MDQ6VXNlcjczNzY1Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7376569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Comendeiro",
"html_url": "https://github.com/Comendeiro",
"followers_url": "https://api.github.com/users/Comendeiro/followers",
"following_url": "https://api.github.com/users/Comendeiro/following{/other_user}",
"gists_url": "https://api.github.com/users/Comendeiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Comendeiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Comendeiro/subscriptions",
"organizations_url": "https://api.github.com/users/Comendeiro/orgs",
"repos_url": "https://api.github.com/users/Comendeiro/repos",
"events_url": "https://api.github.com/users/Comendeiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/Comendeiro/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-07-07T07:44:54 | 2023-07-17T20:39:27 | 2023-07-17T20:39:27 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7329/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7329",
"html_url": "https://github.com/langchain-ai/langchain/pull/7329",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7329.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7329.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7328
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7328/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7328/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7328/events
|
https://github.com/langchain-ai/langchain/pull/7328
| 1,792,969,708 |
PR_kwDOIPDwls5U4vsl
| 7,328 |
Link to correct paper
|
{
"login": "BioGeek",
"id": 59344,
"node_id": "MDQ6VXNlcjU5MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/59344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BioGeek",
"html_url": "https://github.com/BioGeek",
"followers_url": "https://api.github.com/users/BioGeek/followers",
"following_url": "https://api.github.com/users/BioGeek/following{/other_user}",
"gists_url": "https://api.github.com/users/BioGeek/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BioGeek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BioGeek/subscriptions",
"organizations_url": "https://api.github.com/users/BioGeek/orgs",
"repos_url": "https://api.github.com/users/BioGeek/repos",
"events_url": "https://api.github.com/users/BioGeek/events{/privacy}",
"received_events_url": "https://api.github.com/users/BioGeek/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "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 | 2 | 2023-07-07T07:31:08 | 2023-08-10T22:48:51 | 2023-08-10T22:48:51 |
CONTRIBUTOR
| null |
The documentation talked about the ReAct framework, but linked to the MRKL Systems paper. Now linking to the correct paper.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7328/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7328",
"html_url": "https://github.com/langchain-ai/langchain/pull/7328",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7328.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7328.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7327
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7327/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7327/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7327/events
|
https://github.com/langchain-ai/langchain/issues/7327
| 1,792,965,212 |
I_kwDOIPDwls5q3npc
| 7,327 |
Conversation Summary Buffer Memory does not accept a system message
|
{
"login": "vnandan",
"id": 3316435,
"node_id": "MDQ6VXNlcjMzMTY0MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3316435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vnandan",
"html_url": "https://github.com/vnandan",
"followers_url": "https://api.github.com/users/vnandan/followers",
"following_url": "https://api.github.com/users/vnandan/following{/other_user}",
"gists_url": "https://api.github.com/users/vnandan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vnandan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vnandan/subscriptions",
"organizations_url": "https://api.github.com/users/vnandan/orgs",
"repos_url": "https://api.github.com/users/vnandan/repos",
"events_url": "https://api.github.com/users/vnandan/events{/privacy}",
"received_events_url": "https://api.github.com/users/vnandan/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 | 7 | 2023-07-07T07:27:42 | 2023-12-30T18:31:29 | 2023-12-30T16:07:28 |
NONE
| null |
### System Info
I intend to use the conversation summary buffer memory with ChatOpenAI in a conversation chain. For the chat, there's a need to set the system message to instruct and give appropriate personality to the chat assistant. However, system message is not supported to be inserted in the memory either via the save_context (the documented way) or the memory.chat_memory.message.insert()
The summary of the chat itself seems to use the system message to send the summary. This makes Conversation Summary Buffer Memory incompatible with ChatOpenAI.
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Using either of the two methods to use the system message
1. memory.chat_memory.messages.insert(0, system_message)
2. memory.save_context({"input": SystemMessage(content=system_message)}, {"output": ""})
### Expected behavior
We should be able to use any memory with ChatOpenAI as these need to be modular but ConversationSummaryBufferMemory seems incompatible with it due to system message.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7327/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7327/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7326
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7326/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7326/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7326/events
|
https://github.com/langchain-ai/langchain/pull/7326
| 1,792,949,827 |
PR_kwDOIPDwls5U4roU
| 7,326 |
Marqo Vector Store Examples & Type Hints
|
{
"login": "OwenPendrighElliott",
"id": 41710527,
"node_id": "MDQ6VXNlcjQxNzEwNTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/41710527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OwenPendrighElliott",
"html_url": "https://github.com/OwenPendrighElliott",
"followers_url": "https://api.github.com/users/OwenPendrighElliott/followers",
"following_url": "https://api.github.com/users/OwenPendrighElliott/following{/other_user}",
"gists_url": "https://api.github.com/users/OwenPendrighElliott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/OwenPendrighElliott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OwenPendrighElliott/subscriptions",
"organizations_url": "https://api.github.com/users/OwenPendrighElliott/orgs",
"repos_url": "https://api.github.com/users/OwenPendrighElliott/repos",
"events_url": "https://api.github.com/users/OwenPendrighElliott/events{/privacy}",
"received_events_url": "https://api.github.com/users/OwenPendrighElliott/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": 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-07-07T07:16:09 | 2023-07-07T08:11:20 | 2023-07-07T08:11:20 |
CONTRIBUTOR
| null |
This PR improves the example notebook for the Marqo vectorstore implementation by adding a new RetrievalQAWithSourcesChain example. The `embedding` parameter in `from_documents` has its type updated to `Union[Embeddings, None]` and a default parameter of None because this is ignored in Marqo.
This PR also upgrades the Marqo version to 0.11.0 to remove the device parameter after a breaking change to the API.
Related to #7068 @tomhamer @hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7326/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7326",
"html_url": "https://github.com/langchain-ai/langchain/pull/7326",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7326.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7326.patch",
"merged_at": "2023-07-07T08:11:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7325
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7325/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7325/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7325/events
|
https://github.com/langchain-ai/langchain/issues/7325
| 1,792,853,218 |
I_kwDOIPDwls5q3MTi
| 7,325 |
Issue: Rate limiting on large Google Drive folder
|
{
"login": "chrisedington",
"id": 2725500,
"node_id": "MDQ6VXNlcjI3MjU1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2725500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisedington",
"html_url": "https://github.com/chrisedington",
"followers_url": "https://api.github.com/users/chrisedington/followers",
"following_url": "https://api.github.com/users/chrisedington/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisedington/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chrisedington/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisedington/subscriptions",
"organizations_url": "https://api.github.com/users/chrisedington/orgs",
"repos_url": "https://api.github.com/users/chrisedington/repos",
"events_url": "https://api.github.com/users/chrisedington/events{/privacy}",
"received_events_url": "https://api.github.com/users/chrisedington/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": 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-07-07T06:06:08 | 2023-12-30T16:07:34 | 2023-12-30T16:07:33 |
NONE
| null |
I've got a GoogleDriveLoader implemented with a exponential backoff and a sleep function to try further mitigate rate limits, but I still get rate limit errors from Google.
Even though I've added a time.sleep(5) statement, I assume it only takes effect before each attempt to load all the documents, not between individual API calls within the load() method.
```
google_loader = GoogleDriveLoader(
folder_id="xxxxxxxxx",
credentials_path="credentials.json",
token_path="token.json",
file_types=["document", "sheet", "pdf"],
file_loader_cls=UnstructuredFileIOLoader,
recursive=True,
verbose=True,
)
@retry(
stop=stop_after_attempt(7), wait=wait_exponential(multiplier=2, min=60, max=300)
)
def load_documents():
time.sleep(5) # delay for 5 seconds
return google_loader.load()
try:
google_docs = load_documents()
except:
logging.error("Exceeded retry attempts for Google API rate limit.")
raise
```
The exception output:
```
ERROR:root:Exceeded retry attempts for Google API rate limit.
IndexError: list index out of range
```
Stacktrace:
```
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/A_xx?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/A_xx?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/A_xx?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/BF%20IS?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/BF%20BS%20?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/Reporting%20IS?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/Reporting%20BS?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/Statistics?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/Val_Summary?alt=json
DEBUG:googleapiclient.discovery:URL being requested: GET https://sheets.googleapis.com/v4/spreadsheets/xxxxx-xxxxx/values/Val_Workings?alt=json
ERROR:root:Exceeded retry attempts for Google API rate limit.
Traceback (most recent call last):
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
File "/Users/chris/Repositories/xxxx/ingest.py", line 44, in load_documents
return google_loader.load()
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/langchain/document_loaders/googledrive.py", line 347, in load
return self._load_documents_from_folder(
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/langchain/document_loaders/googledrive.py", line 248, in _load_documents_from_folder
returns.extend(self._load_sheet_from_id(file["id"])) # type: ignore
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/langchain/document_loaders/googledrive.py", line 173, in _load_sheet_from_id
header = values[0]
IndexError: list index out of range
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/chris/Repositories/xxxx/ingest.py", line 68, in <module>
ingest_docs()
File "/Users/chris/Repositories/xxxx/ingest.py", line 47, in ingest_docs
google_docs = load_documents()
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
File "/Users/chris/Repositories/xxxx/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 326, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x142dfab30 state=finished raised IndexError>]
```
### Suggestion:
Due to the recursive function, and the use case for most people being to load a large Drive folder, would it be possible to implement a rate limiter into the loader itself to slow down the individual API calls?
Alternatively, does anyone have any recommendations on how to better implement an exponential backoff?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7325/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7325/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7324
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7324/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7324/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7324/events
|
https://github.com/langchain-ai/langchain/pull/7324
| 1,792,848,845 |
PR_kwDOIPDwls5U4V12
| 7,324 |
Bagatur/clarifai update
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 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-07-07T06:02:29 | 2023-07-07T06:23:22 | 2023-07-07T06:23:21 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7324/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7324",
"html_url": "https://github.com/langchain-ai/langchain/pull/7324",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7324.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7324.patch",
"merged_at": "2023-07-07T06:23:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7322
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7322/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7322/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7322/events
|
https://github.com/langchain-ai/langchain/issues/7322
| 1,792,823,901 |
I_kwDOIPDwls5q3FJd
| 7,322 |
What is the best size for a chunk
|
{
"login": "MIMI180306",
"id": 45851793,
"node_id": "MDQ6VXNlcjQ1ODUxNzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/45851793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MIMI180306",
"html_url": "https://github.com/MIMI180306",
"followers_url": "https://api.github.com/users/MIMI180306/followers",
"following_url": "https://api.github.com/users/MIMI180306/following{/other_user}",
"gists_url": "https://api.github.com/users/MIMI180306/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MIMI180306/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MIMI180306/subscriptions",
"organizations_url": "https://api.github.com/users/MIMI180306/orgs",
"repos_url": "https://api.github.com/users/MIMI180306/repos",
"events_url": "https://api.github.com/users/MIMI180306/events{/privacy}",
"received_events_url": "https://api.github.com/users/MIMI180306/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"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-07T05:42:08 | 2023-10-14T20:10:37 | 2023-10-14T20:10:36 |
NONE
| null |
### Issue you'd like to raise.
I used RecursiveCharacterTextSplitter.from_tiktoken_encoder to split a document, and if I set chunk_size to 2000, OpenAI cannot answer my question by the documents, if I set chunk_size to 500, OpenAI can work very well. I want to know, As a rule of thumb, what is the best size for a chunk
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7322/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7321
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7321/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7321/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7321/events
|
https://github.com/langchain-ai/langchain/pull/7321
| 1,792,819,450 |
PR_kwDOIPDwls5U4PZY
| 7,321 |
[RFC] add interface for evaluating messages
|
{
"login": "agola11",
"id": 9536492,
"node_id": "MDQ6VXNlcjk1MzY0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agola11",
"html_url": "https://github.com/agola11",
"followers_url": "https://api.github.com/users/agola11/followers",
"following_url": "https://api.github.com/users/agola11/following{/other_user}",
"gists_url": "https://api.github.com/users/agola11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agola11/subscriptions",
"organizations_url": "https://api.github.com/users/agola11/orgs",
"repos_url": "https://api.github.com/users/agola11/repos",
"events_url": "https://api.github.com/users/agola11/events{/privacy}",
"received_events_url": "https://api.github.com/users/agola11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-07-07T05:38:20 | 2023-07-17T04:11:08 | 2023-07-17T04:11:08 |
COLLABORATOR
| null |
still a wip
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7321/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7321",
"html_url": "https://github.com/langchain-ai/langchain/pull/7321",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7321.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7321.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7320
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7320/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7320/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7320/events
|
https://github.com/langchain-ai/langchain/pull/7320
| 1,792,789,586 |
PR_kwDOIPDwls5U4Iz5
| 7,320 |
docs: `ecosystem/integration` update
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-07T05:09:35 | 2023-07-26T17:14:22 | 2023-07-26T17:14:21 |
COLLABORATOR
| null |
The example notebooks with `CallbackHandlers` examples were in the `ecosystem/integration` folder.
They should be in the `modules/callbacks/integrations` folder.
- Moved notebooks. See ^.
- Created correspondent `ecosystem/integration` pages in place of examples. Now no Jupyter Notebooks are here, but only .md and .mdx .
- Added descriptions to the Integration Cards.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7320/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7320",
"html_url": "https://github.com/langchain-ai/langchain/pull/7320",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7320.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7320.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7319
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7319/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7319/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7319/events
|
https://github.com/langchain-ai/langchain/pull/7319
| 1,792,759,095 |
PR_kwDOIPDwls5U4CDx
| 7,319 |
Add Xorbits Dataframe as a Document Loader
|
{
"login": "yifeis7",
"id": 79988483,
"node_id": "MDQ6VXNlcjc5OTg4NDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/79988483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yifeis7",
"html_url": "https://github.com/yifeis7",
"followers_url": "https://api.github.com/users/yifeis7/followers",
"following_url": "https://api.github.com/users/yifeis7/following{/other_user}",
"gists_url": "https://api.github.com/users/yifeis7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yifeis7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yifeis7/subscriptions",
"organizations_url": "https://api.github.com/users/yifeis7/orgs",
"repos_url": "https://api.github.com/users/yifeis7/repos",
"events_url": "https://api.github.com/users/yifeis7/events{/privacy}",
"received_events_url": "https://api.github.com/users/yifeis7/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-07-07T04:38:56 | 2023-07-10T08:24:48 | 2023-07-10T08:24:47 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
- [Xorbits](https://doc.xorbits.io/en/latest/) is an open-source computing framework that makes it easy to scale data science and machine learning workloads in parallel. Xorbits can leverage multi cores or GPUs to accelerate computation on a single machine, or scale out up to thousands of machines to support processing terabytes of data.
- This PR added support for the Xorbits document loader, which allows langchain to leverage Xorbits to parallelize and distribute the loading of data.
- Dependencies: This change requires the Xorbits library to be installed in order to be used.
`pip install xorbits`
- Request for review: @rlancemartin, @eyurtsev
- Twitter handle: https://twitter.com/Xorbitsio
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7319/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7319",
"html_url": "https://github.com/langchain-ai/langchain/pull/7319",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7319.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7319.patch",
"merged_at": "2023-07-10T08:24:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7318
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7318/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7318/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7318/events
|
https://github.com/langchain-ai/langchain/pull/7318
| 1,792,754,211 |
PR_kwDOIPDwls5U4A9i
| 7,318 |
Corrected a typo in elasticsearch.ipynb
|
{
"login": "jlandahl",
"id": 118033,
"node_id": "MDQ6VXNlcjExODAzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/118033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jlandahl",
"html_url": "https://github.com/jlandahl",
"followers_url": "https://api.github.com/users/jlandahl/followers",
"following_url": "https://api.github.com/users/jlandahl/following{/other_user}",
"gists_url": "https://api.github.com/users/jlandahl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jlandahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jlandahl/subscriptions",
"organizations_url": "https://api.github.com/users/jlandahl/orgs",
"repos_url": "https://api.github.com/users/jlandahl/repos",
"events_url": "https://api.github.com/users/jlandahl/events{/privacy}",
"received_events_url": "https://api.github.com/users/jlandahl/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 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-07-07T04:34:14 | 2023-07-07T05:35:33 | 2023-07-07T05:35:32 |
CONTRIBUTOR
| null |
Simple typo fix
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7318/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7318",
"html_url": "https://github.com/langchain-ai/langchain/pull/7318",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7318.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7318.patch",
"merged_at": "2023-07-07T05:35:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7316
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7316/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7316/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7316/events
|
https://github.com/langchain-ai/langchain/pull/7316
| 1,792,655,739 |
PR_kwDOIPDwls5U3qss
| 7,316 |
docs : add cnosdb to Ecosystem Integrations
|
{
"login": "Subsegment",
"id": 74497693,
"node_id": "MDQ6VXNlcjc0NDk3Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/74497693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Subsegment",
"html_url": "https://github.com/Subsegment",
"followers_url": "https://api.github.com/users/Subsegment/followers",
"following_url": "https://api.github.com/users/Subsegment/following{/other_user}",
"gists_url": "https://api.github.com/users/Subsegment/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Subsegment/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Subsegment/subscriptions",
"organizations_url": "https://api.github.com/users/Subsegment/orgs",
"repos_url": "https://api.github.com/users/Subsegment/repos",
"events_url": "https://api.github.com/users/Subsegment/events{/privacy}",
"received_events_url": "https://api.github.com/users/Subsegment/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": 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-07-07T03:09:24 | 2023-07-07T05:35:23 | 2023-07-07T05:35:22 |
CONTRIBUTOR
| null |
- Implement a `from_cnosdb` method for the `SQLDatabase` class
- Write CnosDB documentation and add it to Ecosystem Integrations
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7316/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7316",
"html_url": "https://github.com/langchain-ai/langchain/pull/7316",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7316.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7316.patch",
"merged_at": "2023-07-07T05:35:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7315
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7315/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7315/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7315/events
|
https://github.com/langchain-ai/langchain/issues/7315
| 1,792,553,905 |
I_kwDOIPDwls5q2DOx
| 7,315 |
Zapier Toolkit and Function Agents not compatible
|
{
"login": "miguelmoya97",
"id": 31751847,
"node_id": "MDQ6VXNlcjMxNzUxODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/31751847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miguelmoya97",
"html_url": "https://github.com/miguelmoya97",
"followers_url": "https://api.github.com/users/miguelmoya97/followers",
"following_url": "https://api.github.com/users/miguelmoya97/following{/other_user}",
"gists_url": "https://api.github.com/users/miguelmoya97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miguelmoya97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miguelmoya97/subscriptions",
"organizations_url": "https://api.github.com/users/miguelmoya97/orgs",
"repos_url": "https://api.github.com/users/miguelmoya97/repos",
"events_url": "https://api.github.com/users/miguelmoya97/events{/privacy}",
"received_events_url": "https://api.github.com/users/miguelmoya97/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-07-07T01:38:10 | 2023-10-14T20:10:42 | 2023-10-14T20:10:41 |
NONE
| null |
### System Info
Langchain version: v0.0.225
Python Version: 3.10
Deployed and running on AWS Lambda deployed with x86_64 architecture.
### Who can help?
@jacoblee93
### Information
- [x] 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
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
def callChatModel(input, token):
print('Executing with input:', input)
llm = ChatOpenAI(model="gpt-3.5-turbo-0613",
temperature=0)`
history = DynamoDBChatMessageHistory(table_name="MemoryPy",
session_id=token)
memory = ConversationBufferWindowMemory(
k=20, memory_key='chat_history', chat_memory=history, input_key="input", return_messages=True)
zapier = ZapierNLAWrapper(zapier_nla_oauth_access_token=token)
zapier_toolkit = ZapierToolkit.from_zapier_nla_wrapper(zapier)
tools = load_tools(["serpapi"], llm=llm) + zapier_toolkit.tools
print(tools)
agent = initialize_agent(
tools, llm,
agent=AgentType.OPENAI_FUNCTIONS,
memory=memory,
verbose=True,
handle_parsing_errors=True,
)
resp = agent.run(input=input)
return resp
Input to the chat model is
`Executing with input: Look up a basic fact about the sun, no more than one sentence. Send this fact to <email>@gmail.com `
Execution logs from CloudWatch:
```
[1m> Entering new chain...[0m
[ERROR] InvalidRequestError: 'Gmail: Send Email' does not match '^[a-zA-Z0-9_-]{1,64}<!--EndFragment-->
</body>
</html> - 'functions.1.name'Traceback (most recent call last): File "/var/task/handler.py", line 152, in handle_chat chatResp = callChatModel(message, token) File "/var/task/handler.py", line 92, in callChatModel resp = agent.run(input=input) File "/var/task/langchain/chains/base.py", line 320, in run return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[ File "/var/task/langchain/chains/base.py", line 181, in __call__ raise e File "/var/task/langchain/chains/base.py", line 175, in __call__ self._call(inputs, run_manager=run_manager) File "/var/task/langchain/agents/agent.py", line 987, in _call next_step_output = self._take_next_step( File "/var/task/langchain/agents/agent.py", line 792, in _take_next_step output = self.agent.plan( File "/var/task/langchain/agents/openai_functions_agent/base.py", line 210, in plan predicted_message = self.llm.predict_messages( File "/var/task/langchain/chat_models/base.py", line 398, in predict_messages return self(messages, stop=_stop, **kwargs) File "/var/task/langchain/chat_models/base.py", line 348, in __call__ generation = self.generate( File "/var/task/langchain/chat_models/base.py", line 124, in generate raise e File "/var/task/langchain/chat_models/base.py", line 114, in generate self._generate_with_cache( File "/var/task/langchain/chat_models/base.py", line 261, in _generate_with_cache return self._generate( File "/var/task/langchain/chat_models/openai.py", line 371, in _generate response = self.completion_with_retry(messages=message_dicts, **params) File "/var/task/langchain/chat_models/openai.py", line 319, in completion_with_retry return _completion_with_retry(**kwargs) File "/var/task/tenacity/__init__.py", line 289, in wrapped_f return self(f, *args, **kw) File "/var/task/tenacity/__init__.py", line 379, in __call__ do = self.iter(retry_state=retry_state) File "/var/task/tenacity/__init__.py", line 314, in iter return fut.result() File "/var/lang/lib/python3.10/concurrent/futures/_base.py", line 451, in result return self.__get_result() File "/var/lang/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/var/task/tenacity/__init__.py", line 382, in __call__ result = fn(*args, **kwargs) File "/var/task/langchain/chat_models/openai.py", line 317, in _completion_with_retry return self.client.create(**kwargs) File "/var/task/openai/api_resources/chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "/var/task/openai/api_resources/abstract/engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "/var/task/openai/api_requestor.py", line 298, in request resp, got_stream = self._interpret_response(result, stream) File "/var/task/openai/api_requestor.py", line 700, in _interpret_response self._interpret_response_line( File "/var/task/openai/api_requestor.py", line 763, in _interpret_response_line raise self.handle_error_response( | [ERROR] InvalidRequestError: 'Gmail: Send Email' does not match '^[a-zA-Z0-9_-]{1,64}<!--EndFragment-->
</body>
</html> - 'functions.1.name' Traceback (most recent call last): File "/var/task/handler.py", line 152, in handle_chat chatResp = callChatModel(message, token) File "/var/task/handler.py", line 92, in callChatModel resp = agent.run(input=input) File "/var/task/langchain/chains/base.py", line 320, in run return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[ File "/var/task/langchain/chains/base.py", line 181, in __call__ raise e File "/var/task/langchain/chains/base.py", line 175, in __call__ self._call(inputs, run_manager=run_manager) File "/var/task/langchain/agents/agent.py", line 987, in _call next_step_output = self._take_next_step( File "/var/task/langchain/agents/agent.py", line 792, in _take_next_step output = self.agent.plan( File "/var/task/langchain/agents/openai_functions_agent/base.py", line 210, in plan predicted_message = self.llm.predict_messages( File "/var/task/langchain/chat_models/base.py", line 398, in predict_messages return self(messages, stop=_stop, **kwargs) File "/var/task/langchain/chat_models/base.py", line 348, in __call__ generation = self.generate( File "/var/task/langchain/chat_models/base.py", line 124, in generate raise e File "/var/task/langchain/chat_models/base.py", line 114, in generate self._generate_with_cache( File "/var/task/langchain/chat_models/base.py", line 261, in _generate_with_cache return self._generate( File "/var/task/langchain/chat_models/openai.py", line 371, in _generate response = self.completion_with_retry(messages=message_dicts, **params) File "/var/task/langchain/chat_models/openai.py", line 319, in completion_with_retry return _completion_with_retry(**kwargs) File "/var/task/tenacity/__init__.py", line 289, in wrapped_f return self(f, *args, **kw) File "/var/task/tenacity/__init__.py", line 379, in __call__ do = self.iter(retry_state=retry_state) File "/var/task/tenacity/__init__.py", line 314, in iter return fut.result() File "/var/lang/lib/python3.10/concurrent/futures/_base.py", line 451, in result return self.__get_result() File "/var/lang/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/var/task/tenacity/__init__.py", line 382, in __call__ result = fn(*args, **kwargs) File "/var/task/langchain/chat_models/openai.py", line 317, in _completion_with_retry return self.client.create(**kwargs) File "/var/task/openai/api_resources/chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "/var/task/openai/api_resources/abstract/engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "/var/task/openai/api_requestor.py", line 298, in request resp, got_stream = self._interpret_response(result, stream) File "/var/task/openai/api_requestor.py", line 700, in _interpret_response self._interpret_response_line( File "/var/task/openai/api_requestor.py", line 763, in _interpret_response_line raise self.handle_error_response(
-- | --
```
### Expected behavior
I'd expect the agent chain to just execute
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7315/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/7315/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7314
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7314/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7314/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7314/events
|
https://github.com/langchain-ai/langchain/pull/7314
| 1,792,549,317 |
PR_kwDOIPDwls5U3TBs
| 7,314 |
Support streaming for LLM and Chat Models calls with n>1 and batch calls
|
{
"login": "dqbd",
"id": 1443449,
"node_id": "MDQ6VXNlcjE0NDM0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1443449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqbd",
"html_url": "https://github.com/dqbd",
"followers_url": "https://api.github.com/users/dqbd/followers",
"following_url": "https://api.github.com/users/dqbd/following{/other_user}",
"gists_url": "https://api.github.com/users/dqbd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqbd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqbd/subscriptions",
"organizations_url": "https://api.github.com/users/dqbd/orgs",
"repos_url": "https://api.github.com/users/dqbd/repos",
"events_url": "https://api.github.com/users/dqbd/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqbd/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 | 3 | 2023-07-07T01:32:09 | 2023-10-02T19:30:24 | 2023-10-02T19:30:24 |
CONTRIBUTOR
| null |
Mirror PR: https://github.com/hwchase17/langchainjs/pull/1760
This also adds support for multiple prompts in ChatOpenAI LLM
Fixes LC-98
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7314/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7314",
"html_url": "https://github.com/langchain-ai/langchain/pull/7314",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7314.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7314.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7313
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7313/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7313/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7313/events
|
https://github.com/langchain-ai/langchain/pull/7313
| 1,792,547,718 |
PR_kwDOIPDwls5U3SrZ
| 7,313 |
Fix: OpenAIFunctionsAgent often returns python as a tool in planning, when argument parsing fails
|
{
"login": "jbkoh",
"id": 1572627,
"node_id": "MDQ6VXNlcjE1NzI2Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1572627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbkoh",
"html_url": "https://github.com/jbkoh",
"followers_url": "https://api.github.com/users/jbkoh/followers",
"following_url": "https://api.github.com/users/jbkoh/following{/other_user}",
"gists_url": "https://api.github.com/users/jbkoh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbkoh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbkoh/subscriptions",
"organizations_url": "https://api.github.com/users/jbkoh/orgs",
"repos_url": "https://api.github.com/users/jbkoh/repos",
"events_url": "https://api.github.com/users/jbkoh/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbkoh/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 | 10 | 2023-07-07T01:29:57 | 2023-09-18T23:17:17 | 2023-09-18T23:17:17 |
CONTRIBUTOR
| null |
- Description: With OpenAIFunctionsAgent, often a plan includes `python` as a tool, whose `arguments` is a `str` of the code to execute. In such a case, `_parse_ai_message` fails due to `JSONDecodeError`. This PR does a hack to fix the problem by creating `{"__arg1": arguments}` following the existing hack. I'm unsure when the arguments become string, so I put a condition to do that only for `python` as a tool.
- Tag maintainer: @hinthornw
- Twitter handle: mapped
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7313/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7313",
"html_url": "https://github.com/langchain-ai/langchain/pull/7313",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7313.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7313.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7312
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7312/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7312/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7312/events
|
https://github.com/langchain-ai/langchain/pull/7312
| 1,792,487,170 |
PR_kwDOIPDwls5U3Frx
| 7,312 |
Refac package version check
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-07T00:04:31 | 2023-07-07T05:21:54 | 2023-07-07T05:21:53 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7312/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7312",
"html_url": "https://github.com/langchain-ai/langchain/pull/7312",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7312.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7312.patch",
"merged_at": "2023-07-07T05:21:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7311
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7311/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7311/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7311/events
|
https://github.com/langchain-ai/langchain/issues/7311
| 1,792,485,542 |
I_kwDOIPDwls5q1yim
| 7,311 |
DOC: Broken Python Information Link in Langchain Documentation
|
{
"login": "harsh-thavai",
"id": 114677475,
"node_id": "U_kgDOBtXW4w",
"avatar_url": "https://avatars.githubusercontent.com/u/114677475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harsh-thavai",
"html_url": "https://github.com/harsh-thavai",
"followers_url": "https://api.github.com/users/harsh-thavai/followers",
"following_url": "https://api.github.com/users/harsh-thavai/following{/other_user}",
"gists_url": "https://api.github.com/users/harsh-thavai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harsh-thavai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harsh-thavai/subscriptions",
"organizations_url": "https://api.github.com/users/harsh-thavai/orgs",
"repos_url": "https://api.github.com/users/harsh-thavai/repos",
"events_url": "https://api.github.com/users/harsh-thavai/events{/privacy}",
"received_events_url": "https://api.github.com/users/harsh-thavai/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-07T00:02:09 | 2023-07-07T16:31:22 | 2023-07-07T16:31:22 |
NONE
| null |
### Issue with current documentation:
Python Documentation for Output Parser Unavailable
URL: https://python.langchain.com/docs/modules/prompts/output_parsers.html
### Idea or request for content:
I am currently taking the "Langchain/lesson/2/models, prompts, and parsers" course from deeplearning.ai. While working on the course material, I encountered difficulties with the output parser in Python. To seek assistance and better understand the usage of the output parser, I attempted to access the documentation for the Python implementation. However, I received a "page not found" error when trying to access the Python documentation.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7311/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/7311/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7310
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7310/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7310/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7310/events
|
https://github.com/langchain-ai/langchain/pull/7310
| 1,792,401,144 |
PR_kwDOIPDwls5U2zB4
| 7,310 |
adding max_marginal_relevance_search method to MongoDBAtlasVectorSearch
|
{
"login": "P-E-B",
"id": 38215315,
"node_id": "MDQ6VXNlcjM4MjE1MzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/38215315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/P-E-B",
"html_url": "https://github.com/P-E-B",
"followers_url": "https://api.github.com/users/P-E-B/followers",
"following_url": "https://api.github.com/users/P-E-B/following{/other_user}",
"gists_url": "https://api.github.com/users/P-E-B/gists{/gist_id}",
"starred_url": "https://api.github.com/users/P-E-B/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/P-E-B/subscriptions",
"organizations_url": "https://api.github.com/users/P-E-B/orgs",
"repos_url": "https://api.github.com/users/P-E-B/repos",
"events_url": "https://api.github.com/users/P-E-B/events{/privacy}",
"received_events_url": "https://api.github.com/users/P-E-B/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-07-06T22:41:52 | 2023-07-10T08:04:30 | 2023-07-10T08:04:19 |
CONTRIBUTOR
| null |
Adding a maximal_marginal_relevance method to the MongoDBAtlasVectorSearch vectorstore enhances the user experience by providing more diverse search results
Issue: #7304
@rlancemartin, @eyurtsev --> Please make sure that I'm using correctly the maximal_marginal_relevance (from utils).
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7310/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/7310/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7310",
"html_url": "https://github.com/langchain-ai/langchain/pull/7310",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7310.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7310.patch",
"merged_at": "2023-07-10T08:04:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7309
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7309/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7309/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7309/events
|
https://github.com/langchain-ai/langchain/issues/7309
| 1,792,391,896 |
I_kwDOIPDwls5q1brY
| 7,309 |
Llama_index model as a tool for lang chain
|
{
"login": "vladimircape",
"id": 1789618,
"node_id": "MDQ6VXNlcjE3ODk2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1789618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vladimircape",
"html_url": "https://github.com/vladimircape",
"followers_url": "https://api.github.com/users/vladimircape/followers",
"following_url": "https://api.github.com/users/vladimircape/following{/other_user}",
"gists_url": "https://api.github.com/users/vladimircape/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vladimircape/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladimircape/subscriptions",
"organizations_url": "https://api.github.com/users/vladimircape/orgs",
"repos_url": "https://api.github.com/users/vladimircape/repos",
"events_url": "https://api.github.com/users/vladimircape/events{/privacy}",
"received_events_url": "https://api.github.com/users/vladimircape/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 | 5 | 2023-07-06T22:34:36 | 2023-07-09T20:42:18 | 2023-07-09T20:42:18 |
NONE
| null |
### System Info
I got error when try to load custom LLM for Llama-Index
```
# setup prompts - specific to StableLM
from llama_index.prompts.prompts import SimpleInputPrompt
system_prompt = """<|SYSTEM|># StableLM Tuned (Alpha version)
- StableLM is a helpful and harmless open-source AI language model developed by StabilityAI.
- StableLM is excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.
- StableLM is more than just an information source, StableLM is also able to write poetry, short stories, and make jokes.
- StableLM will refuse to participate in anything that could harm a human.
"""
# This will wrap the default prompts that are internal to llama-index
query_wrapper_prompt = SimpleInputPrompt("<|USER|>{query_str}<|ASSISTANT|>")
import torch
llm = HuggingFaceLLM(
context_window=4096,
max_new_tokens=256,
generate_kwargs={"temperature": 0.7, "do_sample": False, "return_dict_in_generate":True},
system_prompt=system_prompt,
query_wrapper_prompt=query_wrapper_prompt,
tokenizer_name="StabilityAI/stablelm-tuned-alpha-3b",
model_name="StabilityAI/stablelm-tuned-alpha-3b",
device_map="auto",
stopping_ids=[50278, 50279, 50277, 1, 0],
tokenizer_kwargs={"max_length": 4096},
)
# load in HF embedding model from langchain
embed_model = LangchainEmbedding(HuggingFaceEmbeddings())
service_context = ServiceContext.from_defaults(chunk_size=1024, llm=llm,embed_model=embed_model)
documents = SimpleDirectoryReader('data\\abnamro').load_data()
index = VectorStoreIndex.from_documents(documents, service_context=service_context,show_progress=True)
from langchain.agents import Tool
tools = [
Tool(
name="LlamaIndex",
func=lambda q: str(index.as_query_engine(
retriever_mode="embedding",
verbose=True,
service_context=service_context
).query(q)),
description="useful for when you want to answer questions about finance. The input to this tool should be a complete english sentence.",
return_direct=True,
),
]
from langchain.chains.conversation.memory import ConversationBufferMemory
from langchain.agents import initialize_agent
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
agent_executor = initialize_agent(
tools, llm, agent=AgentType.CONVERSATIONAL_REACT_DESCRIPTION,memory=memory
)
agent_executor.run(input="What is inflation in the Czech Republic?")
```
got
```
ValidationError Traceback (most recent call last)
Cell In[13], line 1
----> 1 agent_executor = initialize_agent(
2 tools, llm, agent=AgentType.CONVERSATIONAL_REACT_DESCRIPTION,memory=memory
3 )
4 agent_executor.run(input="What is inflation in the Czech Republic?")
File F:\anaconda\lib\site-packages\langchain\agents\initialize.py:57, in initialize_agent(tools, llm, agent, callback_manager, agent_path, agent_kwargs, tags, **kwargs)
55 agent_cls = AGENT_TO_CLASS[agent]
56 agent_kwargs = agent_kwargs or {}
---> 57 agent_obj = agent_cls.from_llm_and_tools(
58 llm, tools, callback_manager=callback_manager, **agent_kwargs
59 )
60 elif agent_path is not None:
61 agent_obj = load_agent(
62 agent_path, llm=llm, tools=tools, callback_manager=callback_manager
63 )
File F:\anaconda\lib\site-packages\langchain\agents\conversational\base.py:115, in ConversationalAgent.from_llm_and_tools(cls, llm, tools, callback_manager, output_parser, prefix, suffix, format_instructions, ai_prefix, human_prefix, input_variables, **kwargs)
105 cls._validate_tools(tools)
106 prompt = cls.create_prompt(
107 tools,
108 ai_prefix=ai_prefix,
(...)
113 input_variables=input_variables,
114 )
--> 115 llm_chain = LLMChain(
116 llm=llm,
117 prompt=prompt,
118 callback_manager=callback_manager,
119 )
120 tool_names = [tool.name for tool in tools]
121 _output_parser = output_parser or cls._get_default_output_parser(
122 ai_prefix=ai_prefix
123 )
File F:\anaconda\lib\site-packages\langchain\load\serializable.py:74, in Serializable.__init__(self, **kwargs)
73 def __init__(self, **kwargs: Any) -> None:
---> 74 super().__init__(**kwargs)
75 self._lc_kwargs = kwargs
File F:\anaconda\lib\site-packages\pydantic\main.py:341, in pydantic.main.BaseModel.__init__()
ValidationError: 1 validation error for LLMChain
llm
value is not a valid dict (type=type_error.dict)
```
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Connect LlamaIndex with Langchain
### Expected behavior
Load custom LLM
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7309/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/7309/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7308
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7308/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7308/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7308/events
|
https://github.com/langchain-ai/langchain/pull/7308
| 1,792,373,009 |
PR_kwDOIPDwls5U2sj0
| 7,308 |
Update audio.py added local execution version
|
{
"login": "Comendeiro",
"id": 7376569,
"node_id": "MDQ6VXNlcjczNzY1Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7376569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Comendeiro",
"html_url": "https://github.com/Comendeiro",
"followers_url": "https://api.github.com/users/Comendeiro/followers",
"following_url": "https://api.github.com/users/Comendeiro/following{/other_user}",
"gists_url": "https://api.github.com/users/Comendeiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Comendeiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Comendeiro/subscriptions",
"organizations_url": "https://api.github.com/users/Comendeiro/orgs",
"repos_url": "https://api.github.com/users/Comendeiro/repos",
"events_url": "https://api.github.com/users/Comendeiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/Comendeiro/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-07-06T22:24:07 | 2023-07-07T16:41:53 | 2023-07-07T16:41:52 |
CONTRIBUTOR
| null |
To allow users to easily execute models for audio conversion locally I am adding a class on document_loaders.parsers.audio called OpenAIWhisperParserLocal() Takes two optional arguments: device and lang_model.
It checks if there is a GPU available and automatically select the best model based on the memory available.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7308/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7308",
"html_url": "https://github.com/langchain-ai/langchain/pull/7308",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7308.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7308.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7307
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7307/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7307/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7307/events
|
https://github.com/langchain-ai/langchain/pull/7307
| 1,792,318,936 |
PR_kwDOIPDwls5U2gI4
| 7,307 |
wip: add caching option for telegram
|
{
"login": "0xRaduan",
"id": 36044389,
"node_id": "MDQ6VXNlcjM2MDQ0Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/36044389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0xRaduan",
"html_url": "https://github.com/0xRaduan",
"followers_url": "https://api.github.com/users/0xRaduan/followers",
"following_url": "https://api.github.com/users/0xRaduan/following{/other_user}",
"gists_url": "https://api.github.com/users/0xRaduan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/0xRaduan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/0xRaduan/subscriptions",
"organizations_url": "https://api.github.com/users/0xRaduan/orgs",
"repos_url": "https://api.github.com/users/0xRaduan/repos",
"events_url": "https://api.github.com/users/0xRaduan/events{/privacy}",
"received_events_url": "https://api.github.com/users/0xRaduan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-07-06T21:53:39 | 2023-11-07T03:46:39 | 2023-11-07T03:46:39 |
CONTRIBUTOR
| null |
todo: write proper description and test this out.
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7307/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7307",
"html_url": "https://github.com/langchain-ai/langchain/pull/7307",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7307.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7307.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7306
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7306/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7306/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7306/events
|
https://github.com/langchain-ai/langchain/pull/7306
| 1,792,305,201 |
PR_kwDOIPDwls5U2dAz
| 7,306 |
Solving anthropic packaging version issue
|
{
"login": "dudesparsh",
"id": 31439850,
"node_id": "MDQ6VXNlcjMxNDM5ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/31439850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dudesparsh",
"html_url": "https://github.com/dudesparsh",
"followers_url": "https://api.github.com/users/dudesparsh/followers",
"following_url": "https://api.github.com/users/dudesparsh/following{/other_user}",
"gists_url": "https://api.github.com/users/dudesparsh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dudesparsh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dudesparsh/subscriptions",
"organizations_url": "https://api.github.com/users/dudesparsh/orgs",
"repos_url": "https://api.github.com/users/dudesparsh/repos",
"events_url": "https://api.github.com/users/dudesparsh/events{/privacy}",
"received_events_url": "https://api.github.com/users/dudesparsh/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-07-06T21:45:51 | 2023-07-06T23:38:43 | 2023-07-06T23:35:43 |
CONTRIBUTOR
| null |
- Description: Solving, anthropic packaging version issue by clearing the mixup from package.version that is being confused with version from - importlib.metadata.version.
- Issue: it fixes the issue #7283
- Maintainer: @hwchase17
The following change has been explained in the comment - https://github.com/hwchase17/langchain/issues/7283#issuecomment-1624328978
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7306/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7306",
"html_url": "https://github.com/langchain-ai/langchain/pull/7306",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7306.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7306.patch",
"merged_at": "2023-07-06T23:35:43"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7304
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7304/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7304/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7304/events
|
https://github.com/langchain-ai/langchain/issues/7304
| 1,792,265,347 |
I_kwDOIPDwls5q08yD
| 7,304 |
MongoDBAtlasVectorSearch vectorstore - add maximal_marginal_relevance method
|
{
"login": "P-E-B",
"id": 38215315,
"node_id": "MDQ6VXNlcjM4MjE1MzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/38215315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/P-E-B",
"html_url": "https://github.com/P-E-B",
"followers_url": "https://api.github.com/users/P-E-B/followers",
"following_url": "https://api.github.com/users/P-E-B/following{/other_user}",
"gists_url": "https://api.github.com/users/P-E-B/gists{/gist_id}",
"starred_url": "https://api.github.com/users/P-E-B/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/P-E-B/subscriptions",
"organizations_url": "https://api.github.com/users/P-E-B/orgs",
"repos_url": "https://api.github.com/users/P-E-B/repos",
"events_url": "https://api.github.com/users/P-E-B/events{/privacy}",
"received_events_url": "https://api.github.com/users/P-E-B/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 | 2 | 2023-07-06T21:24:25 | 2023-10-12T16:05:25 | 2023-10-12T16:05:24 |
CONTRIBUTOR
| null |
### Feature request
It would be nice to add a maximal_marginal_relevance to the MongoDBAtlasVectorSearch vectorstore
### Motivation
This will bring help users to get more diverse results than the ones only based on the relevance score
### Your contribution
I'll write a PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7304/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/7304/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7303
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7303/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7303/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7303/events
|
https://github.com/langchain-ai/langchain/issues/7303
| 1,792,259,575 |
I_kwDOIPDwls5q07X3
| 7,303 |
Evaluation returns 'INCORRECT' when ground truth is empty and prediction is empty
|
{
"login": "ebm94",
"id": 22465480,
"node_id": "MDQ6VXNlcjIyNDY1NDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/22465480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ebm94",
"html_url": "https://github.com/ebm94",
"followers_url": "https://api.github.com/users/ebm94/followers",
"following_url": "https://api.github.com/users/ebm94/following{/other_user}",
"gists_url": "https://api.github.com/users/ebm94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ebm94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ebm94/subscriptions",
"organizations_url": "https://api.github.com/users/ebm94/orgs",
"repos_url": "https://api.github.com/users/ebm94/repos",
"events_url": "https://api.github.com/users/ebm94/events{/privacy}",
"received_events_url": "https://api.github.com/users/ebm94/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-06T21:20:21 | 2023-10-12T16:05:30 | 2023-10-12T16:05:29 |
NONE
| null |
### System Info
Langchain version: 0.0.225
Python version: 3.8.5
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
When ground truth and model prediction are both empty strings, the evaluation model returns 'INCORRECT'. I expect the evalution to return 'CORRECT'
I ran the below piece of code.
```
llm_bit = AzureChatOpenAI(deployment_name='gpt-4-32k', temperature=0)
test_gt = [{'question': 'What is the name of the company?', 'gt': 'Company A'}, {'question': 'What is the name of the building', 'gt': ''}]
test_output = [{'question': 'What is the name of the company?', 'prediction': 'Company A'}, {'question': 'What is the name of the building', 'prediction': ''}]
eval_chain = QAEvalChain.from_llm(llm_bit)
temp = eval_chain.evaluate(
test_gt, test_output, question_key="question", answer_key="gt", prediction_key="prediction"
)
temp
```
### Expected behavior
Received output: [{'text': 'CORRECT'}, {'text': 'INCORRECT'}]
Expected output: [{'text': 'CORRECT'}, {'text': 'CORRECT'}]
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7303/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7302
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7302/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7302/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7302/events
|
https://github.com/langchain-ai/langchain/issues/7302
| 1,792,242,224 |
I_kwDOIPDwls5q03Iw
| 7,302 |
DOC: <ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the text is relevant to answer the question."]'DOC: ' prefix>
|
{
"login": "TypeTactician",
"id": 131611260,
"node_id": "U_kgDOB9g6fA",
"avatar_url": "https://avatars.githubusercontent.com/u/131611260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TypeTactician",
"html_url": "https://github.com/TypeTactician",
"followers_url": "https://api.github.com/users/TypeTactician/followers",
"following_url": "https://api.github.com/users/TypeTactician/following{/other_user}",
"gists_url": "https://api.github.com/users/TypeTactician/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TypeTactician/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TypeTactician/subscriptions",
"organizations_url": "https://api.github.com/users/TypeTactician/orgs",
"repos_url": "https://api.github.com/users/TypeTactician/repos",
"events_url": "https://api.github.com/users/TypeTactician/events{/privacy}",
"received_events_url": "https://api.github.com/users/TypeTactician/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"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-06T21:08:00 | 2023-11-24T16:08:09 | 2023-11-24T16:08:08 |
NONE
| null |
### Issue with current documentation:
I got this code that i want to move to the model gpt3.5-turbo since its 10 times cheaper than the text-davinci-003 but i get this error
```
ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nW H I T E PA P E R\nTHE FUTURE OF ART\nRelease\nV 3 . 1\nTable of Contents\n01 Abstract 02 Riwa Tech\nPg 3\nPg
4\n03 Market research 04 Technology\nPg 5\nPg 7\n05 Why we do this 06 How Riwa Tech works\nPg 12\nPg 14\n07 The future 08 Team 09 Coin distribution 10 Business model 11 Timeline\nPg 20\nPg 21\nPg 22\nPg 24\nPg 26\n2\nAbstract\nArt and antiques have always been an integral part of the global economy, and\nthis remains true
today. With the rise of digital platforms and technologies,\ntransaction methods have been revolutionized, but challenges such as\nprovenance, authentication, protection and preservation of cultural heritage\npersist. This white paper proposes integrating blockchain technology to improve\nthe industry's landscape and protect its unique value. Blockchain can provide\nsecure, transparent, and tamper-proof records for art and antiques, addressing\nnumerous issues. By combining traditional values and innovative technology, we\nQuestion: hi\nRelevant text, if any:", 'Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nTag. The owners can know the current location anytime they want.\nBlockchain\nAppreciation, trading and collecting of artworks are gradually becoming a part of\npeople’s life pursuits. In the development of the art market industry, collectibles\nlack clear records of transactions and evidence systems that can be veri\x00ed,\nmaking it almost impossible to determine the source information of collectibles.\nCollectibles do not have an “ID” system, resulting in no records for artworks. This\nlack of traceability in the industry can easily lead to counterfeiters taking\nadvantage of the situation, resulting in a proliferation of counterfeit artworks and\naffecting the development of the industry.\nOwners who deposit collectibles to Riwa’s ecosystem will get NFTs backed by the\ncollectible. The NFT smart contract will inherit the basic and anti-counterfeit\ndetails. For every future transaction of
the collectible, the smart contract will\nQuestion: hi\nRelevant text, if any:', "Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nRiwa's advanced 3D technology to create 3D NFT collections and establish their\nown virtual spaces for exhibitions and other purposes.\n20\nTeam\nVIONA ZHANG Founder & chairman Experienced in commercializing artists and artworks, with a successful record in corporate and brand management.\nPIERRE BRUNETOT CEO Ex-CEO and founder of Sante Nature with extensive experience in marketing and strategy.\nYINJI DAI Co-Founder
& Sales Manager Manager of the Asia Region and Co-founder. Over 17 years of experience in art and antiques industry management.\nAASHIR IFTIKHAR Chief Technical Of\x00cer at HashPotato Over 3 years of experience in mobile application development. Expert in Full Stack development.\nEDOUARD BRUNETOT COO CEO of Cobound helps
businesses grow through marketing, sales, and customer service tools.\nFABIEN CERCLET Sales manager Over 7 years in blockchain tech & economics, established strong marketing foundation.\n21\nCoin distribution\nInitial Coin Offering (ICO)\nQuestion: hi\nRelevant text, if any:", "Use the following portion of a long document
to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nand transaction reliability of artworks within the market.\n1. Riwa dual anti-counterfeiting\n1.1 Electronic Tag (E-Tag) management system\nRiwa's E-Tag technology management system is ef\x00cient, accurate and reliable.\nThe system can automatically read real-time artwork\ninformation and\ndynamically track and detect artwork locations through an electronic map,\nimproving the timeliness and accuracy of issue detection. Each Riwa E-Tag has a\nunique identity code assigned to the artwork or antique it represents, and the\ntags are physically
non-replicable and indestructible. With large storage capacity,\nlong service life, and adaptability to indoor and outdoor environments, Riwa's E-\nTag also allows contactless information collection, pollution resistance, and high\nreliability.\n7\nUsers can access the Riwa system by sensing an item's E-Tag with a smartphone,\nobtaining detailed features, inspection count, origin, ownership change records,\nQuestion: hi\nRelevant text, if any:"]
```
I'm using RetrievalQAWithSourcesChain and FAISS, this is the code
```python
import os
from langchain.document_loaders import UnstructuredURLLoader
from langchain.text_splitter import CharacterTextSplitter
import pickle
import faiss
from langchain.vectorstores import FAISS
from langchain.embeddings import OpenAIEmbeddings
from langchain.chains import RetrievalQAWithSourcesChain
from langchain.chains.question_answering import load_qa_chain
from langchain import OpenAI
os.environ["OPENAI_API_KEY"] = "Apikey"
urls = [
'https://riwa.nftify.network/collection/riwa-nft'
]
loaders = UnstructuredURLLoader(urls=urls)
data = loaders.load()
docs = text_splitter.split_documents(data)
embeddings = OpenAIEmbeddings()
vectorStore_openAI = FAISS.from_documents(docs, embeddings)
with open("faiss_store_openai.pkl", "wb") as f:
pickle.dump(vectorStore_openAI, f)
with open("faiss_store_openai.pkl", "rb") as f:
VectorStore = pickle.load(f)
llm=OpenAI(temperature=0,model_name="gpt-3.5-turbo",max_tokens=32)
chain = RetrievalQAWithSourcesChain.from_llm(llm=llm, retriever=VectorStore.as_retriever())
question=input("What question you want to ask? : ")
print(chain({"question": str(question)}, return_only_outputs=True)["answer"])
```
I would really appreciate if someone could give me some guidance, i've been blocked in this problem for a while
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7302/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7301
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7301/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7301/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7301/events
|
https://github.com/langchain-ai/langchain/pull/7301
| 1,792,210,929 |
PR_kwDOIPDwls5U2Hs5
| 7,301 |
Add support for filters and namespaces in similarity search in Pinecone similarity_score_threshold
|
{
"login": "mrkhalil6",
"id": 59417186,
"node_id": "MDQ6VXNlcjU5NDE3MTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/59417186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrkhalil6",
"html_url": "https://github.com/mrkhalil6",
"followers_url": "https://api.github.com/users/mrkhalil6/followers",
"following_url": "https://api.github.com/users/mrkhalil6/following{/other_user}",
"gists_url": "https://api.github.com/users/mrkhalil6/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mrkhalil6/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrkhalil6/subscriptions",
"organizations_url": "https://api.github.com/users/mrkhalil6/orgs",
"repos_url": "https://api.github.com/users/mrkhalil6/repos",
"events_url": "https://api.github.com/users/mrkhalil6/events{/privacy}",
"received_events_url": "https://api.github.com/users/mrkhalil6/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-07-06T20:46:52 | 2023-07-07T19:03:59 | 2023-07-07T19:03:59 |
CONTRIBUTOR
| null |
At the moment, pinecone vectorStore does not support filters and namespaces when using similarity_score_threshold search type.
In this PR, I've implemented that. It passes all the kwargs except "score_threshold" as that is not a supported argument for method "similarity_search_with_score".
Tag maintainers/contributors who might be interested:
@dev2049 @baskaryan @rlancemartin @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7301/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7301",
"html_url": "https://github.com/langchain-ai/langchain/pull/7301",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7301.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7301.patch",
"merged_at": "2023-07-07T19:03:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7300
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7300/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7300/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7300/events
|
https://github.com/langchain-ai/langchain/pull/7300
| 1,792,135,491 |
PR_kwDOIPDwls5U13Iv
| 7,300 |
Fix secrets serialisation for ChatAnthropic
|
{
"login": "dqbd",
"id": 1443449,
"node_id": "MDQ6VXNlcjE0NDM0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1443449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqbd",
"html_url": "https://github.com/dqbd",
"followers_url": "https://api.github.com/users/dqbd/followers",
"following_url": "https://api.github.com/users/dqbd/following{/other_user}",
"gists_url": "https://api.github.com/users/dqbd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqbd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqbd/subscriptions",
"organizations_url": "https://api.github.com/users/dqbd/orgs",
"repos_url": "https://api.github.com/users/dqbd/repos",
"events_url": "https://api.github.com/users/dqbd/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqbd/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-07-06T19:49:28 | 2023-07-06T20:57:13 | 2023-07-06T20:57:12 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7300/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7300/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7300",
"html_url": "https://github.com/langchain-ai/langchain/pull/7300",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7300.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7300.patch",
"merged_at": "2023-07-06T20:57:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7299
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7299/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7299/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7299/events
|
https://github.com/langchain-ai/langchain/pull/7299
| 1,792,134,831 |
PR_kwDOIPDwls5U12_W
| 7,299 |
Working cpal
|
{
"login": "borisdev",
"id": 367522,
"node_id": "MDQ6VXNlcjM2NzUyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/367522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdev",
"html_url": "https://github.com/borisdev",
"followers_url": "https://api.github.com/users/borisdev/followers",
"following_url": "https://api.github.com/users/borisdev/following{/other_user}",
"gists_url": "https://api.github.com/users/borisdev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisdev/subscriptions",
"organizations_url": "https://api.github.com/users/borisdev/orgs",
"repos_url": "https://api.github.com/users/borisdev/repos",
"events_url": "https://api.github.com/users/borisdev/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisdev/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": 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-07-06T19:48:54 | 2023-07-06T19:49:08 | 2023-07-06T19:49:08 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7299/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7299",
"html_url": "https://github.com/langchain-ai/langchain/pull/7299",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7299.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7299.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7298
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7298/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7298/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7298/events
|
https://github.com/langchain-ai/langchain/issues/7298
| 1,792,095,489 |
I_kwDOIPDwls5q0TUB
| 7,298 |
langchain.document_loaders.generic GenericLoader not working on Azure OpenAI - InvalidRequestError: Resource Not Found, cannot detect declared resource
|
{
"login": "marielaquino",
"id": 30010252,
"node_id": "MDQ6VXNlcjMwMDEwMjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/30010252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marielaquino",
"html_url": "https://github.com/marielaquino",
"followers_url": "https://api.github.com/users/marielaquino/followers",
"following_url": "https://api.github.com/users/marielaquino/following{/other_user}",
"gists_url": "https://api.github.com/users/marielaquino/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marielaquino/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marielaquino/subscriptions",
"organizations_url": "https://api.github.com/users/marielaquino/orgs",
"repos_url": "https://api.github.com/users/marielaquino/repos",
"events_url": "https://api.github.com/users/marielaquino/events{/privacy}",
"received_events_url": "https://api.github.com/users/marielaquino/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"
}
] |
open
| false | null |
[] | null | 4 | 2023-07-06T19:16:57 | 2023-10-23T08:09:45 | null |
NONE
| null |
### System Info
langchain=0.0.225, python=3.9.17, openai=0.27.8
openai.api_type = "azure", openai.api_version = "2023-05-15"
api_base, api_key, deployment_name environment variables all configured.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce the behavior:
Note: This code is pulled directly from document loaders chapter of Langchain Chat With Your Data course with Harrison Chase and Andrew Ng. It downloads an audio file of a public youtube video and generates a transcript.
1. In a Jupyter notebook, configure your Azure OpenAI environment variables and add this code:
```
from langchain.document_loaders.generic import GenericLoader
from langchain.document_loaders.parsers import OpenAIWhisperParser
from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
```
2. Create and run a new cell with this inside:
```
url="<https://www.youtube.com/watch?v=jGwO_UgTS7I>"
save_dir="docs/youtube/"
loader = GenericLoader( YoutubeAudioLoader([url],save_dir), OpenAIWhisperParser() )
docs = loader.load()
```
4. At the transcribing step, it will fail on "InvalidRequestError".
Successfully executes the following steps:
```
[youtube] Extracting URL: https://www.youtube.com/watch?v=jGwO_UgTS7I
[youtube] jGwO_UgTS7I: Downloading webpage
[youtube] jGwO_UgTS7I: Downloading ios player API JSON
[youtube] jGwO_UgTS7I: Downloading android player API JSON
[youtube] jGwO_UgTS7I: Downloading m3u8 information
[info] jGwO_UgTS7I: Downloading 1 format(s): 140
[download] docs/youtube//Stanford CS229: Machine Learning Course, Lecture 1 - Andrew Ng (Autumn 2018).m4a has already been downloaded
[download] 100% of 69.76MiB
[ExtractAudio] Not converting audio docs/youtube//Stanford CS229: Machine Learning Course, Lecture 1 - Andrew Ng (Autumn 2018).m4a; file is already in target format m4a
Transcribing part 1!
```
```
InvalidRequestError Traceback (most recent call last)
Cell In[14], line 8
3 save_dir="docs/youtube/"
4 loader = GenericLoader(
5 YoutubeAudioLoader([url],save_dir),
6 OpenAIWhisperParser()
7 )
----> 8 docs = loader.load()
File /usr/local/lib/python3.9/site-packages/langchain/document_loaders/generic.py:90, in GenericLoader.load(self)
88 def load(self) -> List[Document]:
89 """Load all documents."""
---> 90 return list(self.lazy_load())
File /usr/local/lib/python3.9/site-packages/langchain/document_loaders/generic.py:86, in GenericLoader.lazy_load(self)
84 """Load documents lazily. Use this when working at a large scale."""
85 for blob in self.blob_loader.yield_blobs():
---> 86 yield from self.blob_parser.lazy_parse(blob)
File /usr/local/lib/python3.9/site-packages/langchain/document_loaders/parsers/audio.py:51, in OpenAIWhisperParser.lazy_parse(self, blob)
49 # Transcribe
50 print(f"Transcribing part {split_number+1}!")
---> 51 transcript = openai.Audio.transcribe("whisper-1", file_obj)
53 yield Document(
54 page_content=transcript.text,
55 metadata={"source": blob.source, "chunk": split_number},
56 )
File /usr/local/lib/python3.9/site-packages/openai/api_resources/audio.py:65, in Audio.transcribe(cls, model, file, api_key, api_base, api_type, api_version, organization, **params)
55 requestor, files, data = cls._prepare_request(
56 file=file,
57 filename=file.name,
(...)
62 **params,
63 )
64 url = cls._get_url("transcriptions")
---> 65 response, _, api_key = requestor.request("post", url, files=files, params=data)
66 return util.convert_to_openai_object(
67 response, api_key, api_version, organization
68 )
File /usr/local/lib/python3.9/site-packages/openai/api_requestor.py:298, in APIRequestor.request(self, method, url, params, headers, files, stream, request_id, request_timeout)
277 def request(
278 self,
279 method,
(...)
286 request_timeout: Optional[Union[float, Tuple[float, float]]] = None,
287 ) -> Tuple[Union[OpenAIResponse, Iterator[OpenAIResponse]], bool, str]:
288 result = self.request_raw(
289 method.lower(),
290 url,
(...)
296 request_timeout=request_timeout,
297 )
--> 298 resp, got_stream = self._interpret_response(result, stream)
299 return resp, got_stream, self.api_key
File /usr/local/lib/python3.9/site-packages/openai/api_requestor.py:700, in APIRequestor._interpret_response(self, result, stream)
692 return (
693 self._interpret_response_line(
694 line, result.status_code, result.headers, stream=True
695 )
696 for line in parse_stream(result.iter_lines())
697 ), True
698 else:
699 return (
--> 700 self._interpret_response_line(
701 result.content.decode("utf-8"),
702 result.status_code,
703 result.headers,
704 stream=False,
705 ),
706 False,
707 )
File /usr/local/lib/python3.9/site-packages/openai/api_requestor.py:763, in APIRequestor._interpret_response_line(self, rbody, rcode, rheaders, stream)
761 stream_error = stream and "error" in resp.data
762 if stream_error or not 200 <= rcode < 300:
--> 763 raise self.handle_error_response(
764 rbody, rcode, resp.data, rheaders, stream_error=stream_error
765 )
766 return resp
InvalidRequestError: Resource not found
```
Usually, with "resource not found" errors, the message will tell you to input api_key or deployment_name. I'm not sure what this means, as none of the Loader methods take in these as params.
### Expected behavior
Expected behavior is to finish four parts of transcription and "load" as doc in docs variable.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7298/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7297
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7297/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7297/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7297/events
|
https://github.com/langchain-ai/langchain/pull/7297
| 1,792,085,044 |
PR_kwDOIPDwls5U1sK_
| 7,297 |
rm side nav
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
},
{
"id": 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-07-06T19:08:13 | 2023-07-06T19:19:31 | 2023-07-06T19:19:30 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7297/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7297",
"html_url": "https://github.com/langchain-ai/langchain/pull/7297",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7297.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7297.patch",
"merged_at": "2023-07-06T19:19:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7296
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7296/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7296/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7296/events
|
https://github.com/langchain-ai/langchain/pull/7296
| 1,792,074,278 |
PR_kwDOIPDwls5U1pzz
| 7,296 |
handle missing finish_reason
|
{
"login": "bborn",
"id": 3760,
"node_id": "MDQ6VXNlcjM3NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bborn",
"html_url": "https://github.com/bborn",
"followers_url": "https://api.github.com/users/bborn/followers",
"following_url": "https://api.github.com/users/bborn/following{/other_user}",
"gists_url": "https://api.github.com/users/bborn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bborn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bborn/subscriptions",
"organizations_url": "https://api.github.com/users/bborn/orgs",
"repos_url": "https://api.github.com/users/bborn/repos",
"events_url": "https://api.github.com/users/bborn/events{/privacy}",
"received_events_url": "https://api.github.com/users/bborn/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-07-06T18:59:55 | 2023-08-31T17:00:58 | 2023-07-06T19:13:52 |
CONTRIBUTOR
| null |
In some cases, the OpenAI response is missing the `finish_reason` attribute. It seems to happen when using Ada or Babbage and `stream=true`, but I can't always reproduce it. This change just gracefully handles the missing key.
@hwchase17 @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7296/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7296",
"html_url": "https://github.com/langchain-ai/langchain/pull/7296",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7296.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7296.patch",
"merged_at": "2023-07-06T19:13:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7295
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7295/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7295/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7295/events
|
https://github.com/langchain-ai/langchain/pull/7295
| 1,792,046,709 |
PR_kwDOIPDwls5U1j9a
| 7,295 |
Wrapper function for OpenAI Function in LLMChain
|
{
"login": "enjuichang",
"id": 55577469,
"node_id": "MDQ6VXNlcjU1NTc3NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/55577469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enjuichang",
"html_url": "https://github.com/enjuichang",
"followers_url": "https://api.github.com/users/enjuichang/followers",
"following_url": "https://api.github.com/users/enjuichang/following{/other_user}",
"gists_url": "https://api.github.com/users/enjuichang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/enjuichang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/enjuichang/subscriptions",
"organizations_url": "https://api.github.com/users/enjuichang/orgs",
"repos_url": "https://api.github.com/users/enjuichang/repos",
"events_url": "https://api.github.com/users/enjuichang/events{/privacy}",
"received_events_url": "https://api.github.com/users/enjuichang/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 | 13 | 2023-07-06T18:37:36 | 2023-07-18T18:50:38 | 2023-07-12T01:17:06 |
NONE
| null |
- Description: This pull request does two things: 1) Add wrapper function for pydantic model, JSON Schema, and dictionary to function calls in LLM Chain. 2) Add an additional class for the output parser class so pydantic model returns a string that could be added to AIMessage for memory storage.
- Issue: #6933
- Dependencies: N/A
- Tag maintainer: @baskaryan
- Twitter handle: #7t_eric
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7295/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7295",
"html_url": "https://github.com/langchain-ai/langchain/pull/7295",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7295.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7295.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7293
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7293/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7293/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7293/events
|
https://github.com/langchain-ai/langchain/pull/7293
| 1,792,016,036 |
PR_kwDOIPDwls5U1dU1
| 7,293 |
Update docs for whylabs (langkit) callback handler
|
{
"login": "AndreTessell",
"id": 6732897,
"node_id": "MDQ6VXNlcjY3MzI4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6732897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreTessell",
"html_url": "https://github.com/AndreTessell",
"followers_url": "https://api.github.com/users/AndreTessell/followers",
"following_url": "https://api.github.com/users/AndreTessell/following{/other_user}",
"gists_url": "https://api.github.com/users/AndreTessell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AndreTessell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AndreTessell/subscriptions",
"organizations_url": "https://api.github.com/users/AndreTessell/orgs",
"repos_url": "https://api.github.com/users/AndreTessell/repos",
"events_url": "https://api.github.com/users/AndreTessell/events{/privacy}",
"received_events_url": "https://api.github.com/users/AndreTessell/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-07-06T18:13:10 | 2023-07-06T21:21:29 | 2023-07-06T21:21:28 |
CONTRIBUTOR
| null |
- Description: Update docs for whylabs callback handler
- Issue: none
- Dependencies: none
- Tag maintainer: @agola11
- Twitter handle: @useautomation @whylabs
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7293/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7293",
"html_url": "https://github.com/langchain-ai/langchain/pull/7293",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7293.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7293.patch",
"merged_at": "2023-07-06T21:21:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7292
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7292/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7292/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7292/events
|
https://github.com/langchain-ai/langchain/pull/7292
| 1,792,013,165 |
PR_kwDOIPDwls5U1ctR
| 7,292 |
updated `huggingface_hub` examples
|
{
"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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-06T18:10:45 | 2023-07-06T19:38:11 | 2023-07-06T19:04:38 |
COLLABORATOR
| null |
Added examples for models:
- Google `Flan`
- TII `Falcon`
- Salesforce `XGen`
@hwchase17, @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7292/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7292",
"html_url": "https://github.com/langchain-ai/langchain/pull/7292",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7292.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7292.patch",
"merged_at": "2023-07-06T19:04:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7291
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7291/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7291/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7291/events
|
https://github.com/langchain-ai/langchain/issues/7291
| 1,791,972,879 |
I_kwDOIPDwls5qz1YP
| 7,291 |
OpenAI Chat agents don't make use of OpenAI API `messages` parameter.
|
{
"login": "bitnom",
"id": 14287229,
"node_id": "MDQ6VXNlcjE0Mjg3MjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/14287229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bitnom",
"html_url": "https://github.com/bitnom",
"followers_url": "https://api.github.com/users/bitnom/followers",
"following_url": "https://api.github.com/users/bitnom/following{/other_user}",
"gists_url": "https://api.github.com/users/bitnom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bitnom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bitnom/subscriptions",
"organizations_url": "https://api.github.com/users/bitnom/orgs",
"repos_url": "https://api.github.com/users/bitnom/repos",
"events_url": "https://api.github.com/users/bitnom/events{/privacy}",
"received_events_url": "https://api.github.com/users/bitnom/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 | 3 | 2023-07-06T17:42:57 | 2023-10-14T20:10:48 | 2023-10-14T20:10:46 |
NONE
| null |
### System Info
Langchain: 0.0.225
OS: Arch Linux
Python: 3.11
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [X] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Use any of langchain's openai chat agents with the memory/chat history feature results in the chat history/memory being sent to the openai API in the SYSTEM message, and with incorrect roles specified.
### Expected behavior
While that might be appropriate for certain types of message (Maybe compressed or summarized from older conversations), I expected the chat history memory to be utilizing openai's [messages](https://platform.openai.com/docs/api-reference/chat#chat/create-messages) parameter.
It's much easier to parse (If ever needed) since it's an array of messages. This is related to https://github.com/hwchase17/langchain/issues/7285 which is an even bigger issue that addressing this one could resolve.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7291/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7291/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7290
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7290/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7290/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7290/events
|
https://github.com/langchain-ai/langchain/issues/7290
| 1,791,902,494 |
I_kwDOIPDwls5qzkMe
| 7,290 |
on_retriever_end() not called with ConversationalRetrievalChain
|
{
"login": "mssalvatore",
"id": 19957806,
"node_id": "MDQ6VXNlcjE5OTU3ODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/19957806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mssalvatore",
"html_url": "https://github.com/mssalvatore",
"followers_url": "https://api.github.com/users/mssalvatore/followers",
"following_url": "https://api.github.com/users/mssalvatore/following{/other_user}",
"gists_url": "https://api.github.com/users/mssalvatore/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mssalvatore/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mssalvatore/subscriptions",
"organizations_url": "https://api.github.com/users/mssalvatore/orgs",
"repos_url": "https://api.github.com/users/mssalvatore/repos",
"events_url": "https://api.github.com/users/mssalvatore/events{/privacy}",
"received_events_url": "https://api.github.com/users/mssalvatore/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"
}
] |
open
| false | null |
[] | null | 12 | 2023-07-06T16:51:42 | 2024-01-18T03:36:06 | null |
CONTRIBUTOR
| null |
### System Info
LangChain: v0.0.225
OS: Ubuntu 22.04
### Who can help?
@agola11
@hwchase17
### 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
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
### Code
```python
import langchain
from chromadb.config import Settings
from langchain.callbacks.streaming_stdout import BaseCallbackHandler
from langchain.chains import ConversationalRetrievalChain
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.llms import LlamaCpp
from langchain.memory import ConversationBufferMemory
from langchain.schema.document import Document
from langchain.vectorstores import Chroma
langchain.debug = True
class DocumentCallbackHandler(BaseCallbackHandler):
def on_retriever_end(
self,
documents: Sequence[Document],
*,
run_id: UUID,
parent_run_id: Optional[UUID] = None,
**kwargs: Any,
) -> Any:
print(f"on_retriever_end() CALLED with {len(documents)} documents")
def setup():
llm = LlamaCpp(
model_path="models/GPT4All-13B-snoozy.ggml.q5_1.bin",
n_ctx=4096,
n_batch=8192,
callbacks=[],
verbose=False,
use_mlock=True,
n_gpu_layers=60,
n_threads=8,
)
embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
db = Chroma(
persist_directory="./db",
embedding_function=embeddings,
client_settings=Settings(
chroma_db_impl="duckdb+parquet",
persist_directory="./db",
anonymized_telemetry=False,
),
)
retriever = db.as_retriever(search_kwargs={"k": 4})
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
return ConversationalRetrievalChain.from_llm(
llm=llm, retriever=retriever, memory=memory, callbacks=[DocumentCallbackHandler()]
)
def main():
qa = setup()
while True:
question = input("\nEnter your question: ")
answer = qa(question)["answer"]
print(f"\n> Answer: {answer}")
if __name__ == "__main__":
main()
```
### Output
```
ggml_init_cublas: found 1 CUDA devices:
Device 0: Quadro RTX 6000
llama.cpp: loading model from models/GPT4All-13B-snoozy.ggml.q5_1.bin
llama_model_load_internal: format = ggjt v2 (pre #1508)
llama_model_load_internal: n_vocab = 32000
llama_model_load_internal: n_ctx = 4096
llama_model_load_internal: n_embd = 5120
llama_model_load_internal: n_mult = 256
llama_model_load_internal: n_head = 40
llama_model_load_internal: n_layer = 40
llama_model_load_internal: n_rot = 128
llama_model_load_internal: ftype = 9 (mostly Q5_1)
llama_model_load_internal: n_ff = 13824
llama_model_load_internal: n_parts = 1
llama_model_load_internal: model size = 13B
llama_model_load_internal: ggml ctx size = 0.09 MB
llama_model_load_internal: using CUDA for GPU acceleration
llama_model_load_internal: mem required = 2165.28 MB (+ 1608.00 MB per state)
llama_model_load_internal: allocating batch_size x 1 MB = 512 MB VRAM for the scratch buffer
llama_model_load_internal: offloading 40 repeating layers to GPU
llama_model_load_internal: offloading non-repeating layers to GPU
llama_model_load_internal: offloading v cache to GPU
llama_model_load_internal: offloading k cache to GPU
llama_model_load_internal: offloaded 43/43 layers to GPU
llama_model_load_internal: total VRAM used: 11314 MB
....................................................................................................
llama_init_from_file: kv self size = 3200.00 MB
AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | VSX = 0 |
Enter your question: Should Hamlet end his life?
[chain/start] [1:chain:ConversationalRetrievalChain] Entering Chain run with input:
{
"question": "Should Hamlet end his life?",
"chat_history": []
}
[chain/start] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain] Entering Chain run with input:
[inputs]
[chain/start] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain > 4:chain:LLMChain] Entering Chain run with input:
{
"question": "Should Hamlet end his life?",
"context": "Enter Hamlet.\n\nEnter Hamlet.\n\nEnter Hamlet.\n\nHaply the seas, and countries different,\n With variable objects, shall expel\n This something-settled matter in his heart,\n Whereon his brains still beating puts him thus\n From fashion of himself. What think you on't?\n Pol. It shall do well. But yet do I believe\n The origin and commencement of his grief\n Sprung from neglected love.- How now, Ophelia?\n You need not tell us what Lord Hamlet said.\n We heard it all.- My lord, do as you please;"
}
[llm/start] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain > 4:chain:LLMChain > 5:llm:LlamaCpp] Entering LLM run with input:
{
"prompts": [
"Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.\n\nEnter Hamlet.\n\nEnter Hamlet.\n\nEnter Hamlet.\n\nHaply the seas, and countries different,\n With variable objects, shall expel\n This something-settled matter in his heart,\n Whereon his brains still beating puts him thus\n From fashion of himself. What think you on't?\n Pol. It shall do well. But yet do I believe\n The origin and commencement of his grief\n Sprung from neglected love.- How now, Ophelia?\n You need not tell us what Lord Hamlet said.\n We heard it all.- My lord, do as you please;\n\nQuestion: Should Hamlet end his life?\nHelpful Answer:"
]
}
llama_print_timings: load time = 1100.49 ms
llama_print_timings: sample time = 13.20 ms / 17 runs ( 0.78 ms per token)
llama_print_timings: prompt eval time = 1100.33 ms / 208 tokens ( 5.29 ms per token)
llama_print_timings: eval time = 1097.70 ms / 16 runs ( 68.61 ms per token)
llama_print_timings: total time = 2270.30 ms
[llm/end] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain > 4:chain:LLMChain > 5:llm:LlamaCpp] [2.27s] Exiting LLM run with output:
{
"generations": [
[
{
"text": " I'm sorry, I don't know the answer to that question.",
"generation_info": null
}
]
],
"llm_output": null,
"run": null
}
[chain/end] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain > 4:chain:LLMChain] [2.27s] Exiting Chain run with output:
{
"text": " I'm sorry, I don't know the answer to that question."
}
[chain/end] [1:chain:ConversationalRetrievalChain > 3:chain:StuffDocumentsChain] [2.27s] Exiting Chain run with output:
{
"output_text": " I'm sorry, I don't know the answer to that question."
}
[chain/end] [1:chain:ConversationalRetrievalChain] [5.41s] Exiting Chain run with output:
{
"answer": " I'm sorry, I don't know the answer to that question."
}
> Answer: I'm sorry, I don't know the answer to that question.
```
### Expected behavior
I expect the `on_retriever_end()` callback to be called immediately after documents are retrieved. I'm not sure what I'm doing wrong.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7290/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/7290/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7289
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7289/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7289/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7289/events
|
https://github.com/langchain-ai/langchain/issues/7289
| 1,791,868,997 |
I_kwDOIPDwls5qzcBF
| 7,289 |
Input in GraphQAChain Prompt is Malformed When Only 1 Triplet Is Found
|
{
"login": "msp10003",
"id": 5883953,
"node_id": "MDQ6VXNlcjU4ODM5NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5883953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msp10003",
"html_url": "https://github.com/msp10003",
"followers_url": "https://api.github.com/users/msp10003/followers",
"following_url": "https://api.github.com/users/msp10003/following{/other_user}",
"gists_url": "https://api.github.com/users/msp10003/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msp10003/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msp10003/subscriptions",
"organizations_url": "https://api.github.com/users/msp10003/orgs",
"repos_url": "https://api.github.com/users/msp10003/repos",
"events_url": "https://api.github.com/users/msp10003/events{/privacy}",
"received_events_url": "https://api.github.com/users/msp10003/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-07-06T16:25:05 | 2023-07-07T21:19:54 | 2023-07-07T21:19:54 |
NONE
| null |
### System Info
Mac OS Ventura 13.3.1 (a)
Python 3.10.8
LangChain 0.0.224
### Who can help?
@hwchase17
@hinthornw
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Reproduction Steps:
1. Run the following
```
from langchain.llms import OpenAI
from langchain.indexes import GraphIndexCreator
from langchain.chains import GraphQAChain
from langchain.prompts import PromptTemplate
text = "Apple announced the Vision Pro in 2023."
index_creator = GraphIndexCreator(llm=OpenAI(openai_api_key='{OPEN_AI_KEY_HERE}', temperature=0))
graph = index_creator.from_text(text)
chain = GraphQAChain.from_llm(
OpenAI(temperature=0, openai_api_key='{OPEN_AI_KEY_HERE}'),
graph=graph,
verbose=True
)
chain.run("When did Apple announce the Vision Pro?")
```
2. Observe the "Full Context" output in your terminal and notice that the two triplets are concatenated onto a single line with no spacing in between them.
I believe the issue is in the code [here](https://github.com/hwchase17/langchain/blob/681f2678a357268c435c18f19323ccb50cac079c/langchain/chains/graph_qa/base.py#L80). When only 1 triplet is found in an iteration, `.join` does not add any `\n` characters, resulting in a context string with no separation between triplets.
### Expected behavior
Expected: A multi-line string with each triplet text on its own line (delimited by `"\n"`)
In the above repro steps, I would expect
```
Full Context:
Apple announced Vision Pro
Vision Pro was announced in 2023
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7289/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/7289/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7288
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7288/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7288/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7288/events
|
https://github.com/langchain-ai/langchain/issues/7288
| 1,791,859,217 |
I_kwDOIPDwls5qzZoR
| 7,288 |
DOC: Search functionality: `Verified Sources:` fields unreadable
|
{
"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": 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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-06T16:17:48 | 2023-10-05T22:06:37 | 2023-10-05T22:06:28 |
COLLABORATOR
| null |
### Issue with current documentation:
If we run a `Search` on the python.langchain.com/docs/ we got the result as several clickable fields. Those fields are the URLs of the found results. But the fields are too short to show the URLs. We cannot see what LangChain doc pages were found. We see just the start of the URL string, like `1. python.langchain.com/docs/module...` All found fields shows the same above text, which is useless.

### Idea or request for content:
Several ideas on how to fix it:
1. make the result fields longer and place them one after another in the list.
2. show the last part of the URL string not the start of the URL string.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7288/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7287
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7287/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7287/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7287/events
|
https://github.com/langchain-ai/langchain/pull/7287
| 1,791,856,003 |
PR_kwDOIPDwls5U06vR
| 7,287 |
added pipeline tool for low code integration
|
{
"login": "hanzhichao2000",
"id": 230746,
"node_id": "MDQ6VXNlcjIzMDc0Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/230746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanzhichao2000",
"html_url": "https://github.com/hanzhichao2000",
"followers_url": "https://api.github.com/users/hanzhichao2000/followers",
"following_url": "https://api.github.com/users/hanzhichao2000/following{/other_user}",
"gists_url": "https://api.github.com/users/hanzhichao2000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hanzhichao2000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hanzhichao2000/subscriptions",
"organizations_url": "https://api.github.com/users/hanzhichao2000/orgs",
"repos_url": "https://api.github.com/users/hanzhichao2000/repos",
"events_url": "https://api.github.com/users/hanzhichao2000/events{/privacy}",
"received_events_url": "https://api.github.com/users/hanzhichao2000/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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 6232714104,
"node_id": "LA_kwDOIPDwls8AAAABc3-reA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XS",
"name": "size:XS",
"color": "C2E0C6",
"default": false,
"description": "This PR changes 0-9 lines, ignoring generated files."
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-06T16:15:30 | 2023-12-18T00:05:01 | 2023-12-18T00:04:57 |
CONTRIBUTOR
| null |
## Description
added a pipeline tool consisting multiple steps that makes tool/chain reuse easier.
with more generic tools reused by domain task tools, metadata-driven agent-tool chain loading will be easier.
## Dependencies
None
## Maintainer
- Agents / Tools / Toolkits: @hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7287/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7287",
"html_url": "https://github.com/langchain-ai/langchain/pull/7287",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7287.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7287.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7286
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7286/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7286/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7286/events
|
https://github.com/langchain-ai/langchain/pull/7286
| 1,791,854,231 |
PR_kwDOIPDwls5U06XD
| 7,286 |
Clarifai LangChain improvements and embeddings
|
{
"login": "zeiler",
"id": 2138258,
"node_id": "MDQ6VXNlcjIxMzgyNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2138258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zeiler",
"html_url": "https://github.com/zeiler",
"followers_url": "https://api.github.com/users/zeiler/followers",
"following_url": "https://api.github.com/users/zeiler/following{/other_user}",
"gists_url": "https://api.github.com/users/zeiler/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zeiler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zeiler/subscriptions",
"organizations_url": "https://api.github.com/users/zeiler/orgs",
"repos_url": "https://api.github.com/users/zeiler/repos",
"events_url": "https://api.github.com/users/zeiler/events{/privacy}",
"received_events_url": "https://api.github.com/users/zeiler/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": 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-07-06T16:14:17 | 2023-07-07T06:23:57 | 2023-07-07T06:23:57 |
CONTRIBUTOR
| null |
This PR improves upon the Clarifai LangChain integration with improved docs, errors, args and the addition of embedding model support in LancChain for Clarifai's embedding models and an overview of the various ways you can integrate with Clarifai added to the docs.
@hwchase17 please take a look.
Twitter: @clarifai
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7286/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7286",
"html_url": "https://github.com/langchain-ai/langchain/pull/7286",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7286.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7286.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7285
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7285/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7285/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7285/events
|
https://github.com/langchain-ai/langchain/issues/7285
| 1,791,828,808 |
I_kwDOIPDwls5qzSNI
| 7,285 |
Can't use human_prefix and ai_prefix with agent
|
{
"login": "bitnom",
"id": 14287229,
"node_id": "MDQ6VXNlcjE0Mjg3MjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/14287229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bitnom",
"html_url": "https://github.com/bitnom",
"followers_url": "https://api.github.com/users/bitnom/followers",
"following_url": "https://api.github.com/users/bitnom/following{/other_user}",
"gists_url": "https://api.github.com/users/bitnom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bitnom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bitnom/subscriptions",
"organizations_url": "https://api.github.com/users/bitnom/orgs",
"repos_url": "https://api.github.com/users/bitnom/repos",
"events_url": "https://api.github.com/users/bitnom/events{/privacy}",
"received_events_url": "https://api.github.com/users/bitnom/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-07-06T15:57:25 | 2023-10-14T20:10:52 | 2023-10-14T20:10:51 |
NONE
| null |
### System Info
Langchain 0.0.223
Linux
Python 3.11
### Who can help?
@hwchase17
@agola11
### 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
- [X] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
something like this
```python
chat_history = PostgresChatMessageHistory( # Just a slight mod of the postgres class for sorting the results by date
connection_string=config('SUPABASE_POSTGRES_CONNECT_STRING'),
session_id="58964243-23cd-41fe-ad05-ecbfd2a73202", # str(uuid.uuid4()),
table_name="chat_history"
)
memory = ConversationBufferMemory(
memory_key="chat_history",
chat_memory=chat_history,
return_messages=True,
human_prefix="USER", # This doesn't work.
ai_prefix="ASSISTANT",) # This doesn't work.
agent = ChatAgent(
name="Chat Assistant",
tools=_tools,
agent_type=AgentType.OPENAI_MULTI_FUNCTIONS,
llm=openai
)
```
If I look at what was prompted and in postgres, it always shows "Human" and "AI"
### Expected behavior
I expect USER and ASSISTANT to be used everywhere after I set it. I see this as especially important when using openai's chat endpoint since their models were trained using these tokens.
I also think it would be better to load the memory/chat history as the openai API provides parameters for (As a list of messages) instead of in the SYSTEM message, but perhaps that's for another issue.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7285/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/7285/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7284
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7284/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7284/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7284/events
|
https://github.com/langchain-ai/langchain/pull/7284
| 1,791,814,905 |
PR_kwDOIPDwls5U0x5j
| 7,284 |
add elasticknn to init
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-06T15:48:37 | 2023-07-06T15:58:25 | 2023-07-06T15:58:24 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7284/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7284",
"html_url": "https://github.com/langchain-ai/langchain/pull/7284",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7284.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7284.patch",
"merged_at": "2023-07-06T15:58:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7283
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7283/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7283/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7283/events
|
https://github.com/langchain-ai/langchain/issues/7283
| 1,791,794,342 |
I_kwDOIPDwls5qzJym
| 7,283 |
anthropic_version = packaging.version.parse(version("anthropic")) AttributeError: module 'packaging' has no attribute 'version'
|
{
"login": "junruxiong",
"id": 44308338,
"node_id": "MDQ6VXNlcjQ0MzA4MzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/44308338?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junruxiong",
"html_url": "https://github.com/junruxiong",
"followers_url": "https://api.github.com/users/junruxiong/followers",
"following_url": "https://api.github.com/users/junruxiong/following{/other_user}",
"gists_url": "https://api.github.com/users/junruxiong/gists{/gist_id}",
"starred_url": "https://api.github.com/users/junruxiong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/junruxiong/subscriptions",
"organizations_url": "https://api.github.com/users/junruxiong/orgs",
"repos_url": "https://api.github.com/users/junruxiong/repos",
"events_url": "https://api.github.com/users/junruxiong/events{/privacy}",
"received_events_url": "https://api.github.com/users/junruxiong/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 | 5 | 2023-07-06T15:35:39 | 2023-10-14T20:10:57 | 2023-10-14T20:10:56 |
NONE
| null |
### System Info
When I initialise ChatAnthropic(), it got the error:
anthropic_version = packaging.version.parse(version("anthropic"))
AttributeError: module 'packaging' has no attribute 'version'
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.chat_models import ChatOpenAI, ChatAnthropic
llm = ChatAnthropic()
### Expected behavior
As shown above.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7283/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7283/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7282
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7282/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7282/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7282/events
|
https://github.com/langchain-ai/langchain/issues/7282
| 1,791,761,739 |
I_kwDOIPDwls5qzB1L
| 7,282 |
MathpixPDFLoader doesn't work.
|
{
"login": "Monketoo",
"id": 128999460,
"node_id": "U_kgDOB7BgJA",
"avatar_url": "https://avatars.githubusercontent.com/u/128999460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Monketoo",
"html_url": "https://github.com/Monketoo",
"followers_url": "https://api.github.com/users/Monketoo/followers",
"following_url": "https://api.github.com/users/Monketoo/following{/other_user}",
"gists_url": "https://api.github.com/users/Monketoo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Monketoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Monketoo/subscriptions",
"organizations_url": "https://api.github.com/users/Monketoo/orgs",
"repos_url": "https://api.github.com/users/Monketoo/repos",
"events_url": "https://api.github.com/users/Monketoo/events{/privacy}",
"received_events_url": "https://api.github.com/users/Monketoo/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 | 5 | 2023-07-06T15:15:17 | 2023-10-07T17:05:46 | 2023-09-29T16:22:27 |
NONE
| null |
### System Info
Getting ''' ValueError: Unable to send PDF to Mathpix''' while using MathpixPDFLoader.
### 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
math_pix_loaded = MathpixPDFLoader(file_path)
load_list_mathpix = math_pix_loaded.load()
### Expected behavior
A list of pages to be returned.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7282/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/7282/timeline
| null |
completed
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.