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/9927
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9927/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9927/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9927/events
|
https://github.com/langchain-ai/langchain/pull/9927
| 1,871,687,650 |
PR_kwDOIPDwls5ZCWGW
| 9,927 |
Cube semantic loader: allow cubes processing
|
{
"login": "MikeNitsenko",
"id": 18572161,
"node_id": "MDQ6VXNlcjE4NTcyMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/18572161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MikeNitsenko",
"html_url": "https://github.com/MikeNitsenko",
"followers_url": "https://api.github.com/users/MikeNitsenko/followers",
"following_url": "https://api.github.com/users/MikeNitsenko/following{/other_user}",
"gists_url": "https://api.github.com/users/MikeNitsenko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MikeNitsenko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MikeNitsenko/subscriptions",
"organizations_url": "https://api.github.com/users/MikeNitsenko/orgs",
"repos_url": "https://api.github.com/users/MikeNitsenko/repos",
"events_url": "https://api.github.com/users/MikeNitsenko/events{/privacy}",
"received_events_url": "https://api.github.com/users/MikeNitsenko/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-29T13:32:35 | 2023-08-29T14:21:02 | 2023-08-29T14:21:01 |
CONTRIBUTOR
| null |
We've started to receive feedback (after launch) that using only views is confusing.
We're considering this as a good practice, as a view serves as a "facade" for your data - however, we decided to let users decide this on their own.
Solves the questions from:
- https://github.com/cube-js/cube/issues/7028
- https://github.com/langchain-ai/langchain/pull/9690
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9927/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/9927/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9927",
"html_url": "https://github.com/langchain-ai/langchain/pull/9927",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9927.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9927.patch",
"merged_at": "2023-08-29T14:21:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9925
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9925/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9925/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9925/events
|
https://github.com/langchain-ai/langchain/issues/9925
| 1,871,608,915 |
I_kwDOIPDwls5vjnxT
| 9,925 |
WebBaseLoader encoding issue
|
{
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers",
"following_url": "https://api.github.com/users/sim-so/following{/other_user}",
"gists_url": "https://api.github.com/users/sim-so/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sim-so/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sim-so/subscriptions",
"organizations_url": "https://api.github.com/users/sim-so/orgs",
"repos_url": "https://api.github.com/users/sim-so/repos",
"events_url": "https://api.github.com/users/sim-so/events{/privacy}",
"received_events_url": "https://api.github.com/users/sim-so/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T12:51:07 | 2023-12-06T17:43:20 | 2023-12-06T17:43:19 |
NONE
| null |
### System Info
LangChain 0.0.275
Python 3.10.12
(Google Colaboratory)
### Who can help?
Hello, @eyurtsev!
We found an issue related to `WebBaseLoader`.
I guess the problem is related to `Response.apparent_encoding` leveraged by `WebBaseLoader. chardet.detect()`, which assigns the `apparent_encoding` to a Response object, cannot detect a proper encoding for the document.
Please find the details below.
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Import WebBaseLoader
2. Load the test url with WebBaseLoader
3. Check the content
```
from langchain.document_loaders import WebBaseLoader
url = 'https://huggingface.co/docs/transformers/v4.32.0/ko/tasks/sequence_classification'
loader = WebBaseLoader(url)
data = loader.load()
for k, v in data[0].metadata.items():
print(f"{k} : {v}")
content = data[0].page_content
print("content : ")
content[5000:5300] # to truncate the front of the documents with many new lines.
```
then you can see the output as below:
```
source : https://huggingface.co/docs/transformers/v4.32.0/ko/tasks/sequence_classification
title : �스트 분류
description : We’re on a journey to advance and democratize artificial intelligence through open source and open science.
language : No language found.
content :
‹¤.
ì�´ ê°€ì�´ë“œì—�서 í•™ìŠµí• ë‚´ìš©ì�€:
IMDb ë�°ì�´í„°ì…‹ì—�서 DistilBERT를 파ì�¸ 튜ë‹�하여 ì˜�í™” 리뷰가 ê¸�ì •ì �ì�¸ì§€ ë¶€ì •ì �ì�¸ì§€ íŒ�단합니다.
ì¶”ë¡ ì�„ 위해 파ì�¸ 튜ë‹� 모ë�¸ì�„ 사용합니다.
ì�´ íŠœí† ë¦¬ì–¼ì—�서 설명하는 ì�‘ì—…ì�€ 다ì�Œ 모ë�¸ 아키í…�처ì
```
To our knowledge, this is the only case that suffers from this issue.
### Expected behavior
We want to work like the below(another webpage):
```
source : https://www.tensorflow.org/versions?hl=ko
title : TensorFlow API 버전 | TensorFlow v2.13.0
language : ko-x-mtfrom-en
content :
TensorFlow API 버전 | TensorFlow v2.13.0
설치
학습
소개
TensorFlow를 처음 사용하시나요?
TensorFlow
핵심 오픈소스 ML 라이브러리
```
WebBaseLoader can detect encoding properly for almost all webpages that we know of.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9925/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9924
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9924/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9924/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9924/events
|
https://github.com/langchain-ai/langchain/pull/9924
| 1,871,459,320 |
PR_kwDOIPDwls5ZBkUu
| 9,924 |
Docs: enrich SageMaker endpoint embeddings with docstrings and examples
|
{
"login": "corvuslee",
"id": 51771215,
"node_id": "MDQ6VXNlcjUxNzcxMjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/51771215?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/corvuslee",
"html_url": "https://github.com/corvuslee",
"followers_url": "https://api.github.com/users/corvuslee/followers",
"following_url": "https://api.github.com/users/corvuslee/following{/other_user}",
"gists_url": "https://api.github.com/users/corvuslee/gists{/gist_id}",
"starred_url": "https://api.github.com/users/corvuslee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/corvuslee/subscriptions",
"organizations_url": "https://api.github.com/users/corvuslee/orgs",
"repos_url": "https://api.github.com/users/corvuslee/repos",
"events_url": "https://api.github.com/users/corvuslee/events{/privacy}",
"received_events_url": "https://api.github.com/users/corvuslee/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T11:21:47 | 2023-08-29T18:38:53 | 2023-08-29T18:38:53 |
CONTRIBUTOR
| null |
Description: added comments to address the relationship between input/output transformations and the customised inference.py script.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9924/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9924",
"html_url": "https://github.com/langchain-ai/langchain/pull/9924",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9924.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9924.patch",
"merged_at": "2023-08-29T18:38:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9923
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9923/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9923/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9923/events
|
https://github.com/langchain-ai/langchain/issues/9923
| 1,871,441,245 |
I_kwDOIPDwls5vi-1d
| 9,923 |
LangChain cannot deal with new OpenLLM Version (0.2.27)
|
{
"login": "Bernsai",
"id": 15996448,
"node_id": "MDQ6VXNlcjE1OTk2NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/15996448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bernsai",
"html_url": "https://github.com/Bernsai",
"followers_url": "https://api.github.com/users/Bernsai/followers",
"following_url": "https://api.github.com/users/Bernsai/following{/other_user}",
"gists_url": "https://api.github.com/users/Bernsai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bernsai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bernsai/subscriptions",
"organizations_url": "https://api.github.com/users/Bernsai/orgs",
"repos_url": "https://api.github.com/users/Bernsai/repos",
"events_url": "https://api.github.com/users/Bernsai/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bernsai/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-29T11:09:45 | 2023-12-06T17:43:25 | 2023-12-06T17:43:24 |
NONE
| null |
### System Info
LangChain: 0.0.275
OpenLLM: 0.2.27
Python: 3.11.1
on Ubuntu 22.04 / Windows 11
### Who can help?
@agola11, @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
### On the server side:
1. `conda create --name openllm python=3.11`
2. `conda activate openllm`
3. `pip install openllm`
4. `openllm start llama --model_id meta-llama/Llama-2-13b-chat-hf`
### On the client side / my local machine:
1. `conda create --name openllm python=3.11`
2. `conda activate openllm`
3. `pip install openllm`
4. Execute the following script:
```python
from langchain.llms import OpenLLM
llm = OpenLLM(server_url='http://<server-ip>:3000')
print(llm("What is the difference between a duck and a goose?"))
```
Then, the following error comes up (similar scripts produce the same error):
```bash
File "C:\Users\<User>\.virtualenvs\<env-name>-wcEN-LyC\Lib\site-packages\langchain\load\serializable.py", line 74, in __init__
super().__init__(**kwargs)
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Generation
text
str type expected (type=type_error.str)
```
I could solve the error manually by adapting `langchain/llms/base.py` at line 985 to the following line:
```python
generations.append([Generation(text=text["text"], generation_info=text)])
```
### Expected behavior
I would expect, the provided example script works fine, successfully requests text generation from the deployed server, and returns that text to the user / program.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9923/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/9923/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9921
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9921/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9921/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9921/events
|
https://github.com/langchain-ai/langchain/pull/9921
| 1,871,422,557 |
PR_kwDOIPDwls5ZBcTO
| 9,921 |
Fix unnecessary LLM calls.
|
{
"login": "Fizunimo",
"id": 50652516,
"node_id": "MDQ6VXNlcjUwNjUyNTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/50652516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fizunimo",
"html_url": "https://github.com/Fizunimo",
"followers_url": "https://api.github.com/users/Fizunimo/followers",
"following_url": "https://api.github.com/users/Fizunimo/following{/other_user}",
"gists_url": "https://api.github.com/users/Fizunimo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Fizunimo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Fizunimo/subscriptions",
"organizations_url": "https://api.github.com/users/Fizunimo/orgs",
"repos_url": "https://api.github.com/users/Fizunimo/repos",
"events_url": "https://api.github.com/users/Fizunimo/events{/privacy}",
"received_events_url": "https://api.github.com/users/Fizunimo/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T10:58:07 | 2023-09-03T23:05:47 | 2023-09-03T22:01:14 |
NONE
| null |
Description:Fixed a problem that was causing calls to be made every time even when the LLM output results are not used.
Issue: #9649
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9921/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9921",
"html_url": "https://github.com/langchain-ai/langchain/pull/9921",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9921.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9921.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9920
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9920/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9920/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9920/events
|
https://github.com/langchain-ai/langchain/pull/9920
| 1,871,411,817 |
PR_kwDOIPDwls5ZBZ5J
| 9,920 |
docs: Fix spelling mistakes in retrievers/get_started.mdx
|
{
"login": "nnethercott",
"id": 53127799,
"node_id": "MDQ6VXNlcjUzMTI3Nzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/53127799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nnethercott",
"html_url": "https://github.com/nnethercott",
"followers_url": "https://api.github.com/users/nnethercott/followers",
"following_url": "https://api.github.com/users/nnethercott/following{/other_user}",
"gists_url": "https://api.github.com/users/nnethercott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nnethercott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nnethercott/subscriptions",
"organizations_url": "https://api.github.com/users/nnethercott/orgs",
"repos_url": "https://api.github.com/users/nnethercott/repos",
"events_url": "https://api.github.com/users/nnethercott/events{/privacy}",
"received_events_url": "https://api.github.com/users/nnethercott/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-08-29T10:53:16 | 2023-08-29T21:50:08 | 2023-08-29T21:50:08 |
CONTRIBUTOR
| null |
Description: Fix spelling mistakes in retrievers/get_started.mdx
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9920/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9920",
"html_url": "https://github.com/langchain-ai/langchain/pull/9920",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9920.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9920.patch",
"merged_at": "2023-08-29T21:50:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9919
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9919/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9919/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9919/events
|
https://github.com/langchain-ai/langchain/issues/9919
| 1,871,403,150 |
I_kwDOIPDwls5vi1iO
| 9,919 |
Model Timeout after 3 requests to endpoint (Amazon Bedrock AI21 models)
|
{
"login": "flashzzz",
"id": 73419491,
"node_id": "MDQ6VXNlcjczNDE5NDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/73419491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flashzzz",
"html_url": "https://github.com/flashzzz",
"followers_url": "https://api.github.com/users/flashzzz/followers",
"following_url": "https://api.github.com/users/flashzzz/following{/other_user}",
"gists_url": "https://api.github.com/users/flashzzz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flashzzz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flashzzz/subscriptions",
"organizations_url": "https://api.github.com/users/flashzzz/orgs",
"repos_url": "https://api.github.com/users/flashzzz/repos",
"events_url": "https://api.github.com/users/flashzzz/events{/privacy}",
"received_events_url": "https://api.github.com/users/flashzzz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-08-29T10:49:28 | 2023-12-18T00:53:09 | null |
NONE
| null |
### System Info
langchain==0.0.249
macOS Ventura v13.5.1
Python 3.11.0rc2
### Who can help?
@3coins, @hwchase17, @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Setup AWS access and import all necessary dependencies
2. Initialize LLMs
`llm_ai21_j2_mid = Bedrock(
model_id= "ai21.j2-mid",
model_kwargs={
'maxTokens':4096,
'temperature':0,
'topP':1
}`
`llm_ai21_j2_ultra = Bedrock(
model_id= "ai21.j2-ultra",
model_kwargs={
'maxTokens':4096,
'temperature':0,
'topP':1
}`
3. Run inference on `ai21.j2-mid` and `ai21.j2-ultra` models in a loop of 10 for example.
### Expected behavior
One of the models will throw a timeout error.
<img width="963" alt="image" src="https://github.com/langchain-ai/langchain/assets/73419491/e3faabe3-6543-442a-86f5-efbe5ce009d1">
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9919/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9918
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9918/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9918/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9918/events
|
https://github.com/langchain-ai/langchain/issues/9918
| 1,871,344,286 |
I_kwDOIPDwls5vinKe
| 9,918 |
'ValueError: Missing some input keys: {'query'}' but i added it?
|
{
"login": "VadeanFlaviuAlexandru",
"id": 103831098,
"node_id": "U_kgDOBjBWOg",
"avatar_url": "https://avatars.githubusercontent.com/u/103831098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VadeanFlaviuAlexandru",
"html_url": "https://github.com/VadeanFlaviuAlexandru",
"followers_url": "https://api.github.com/users/VadeanFlaviuAlexandru/followers",
"following_url": "https://api.github.com/users/VadeanFlaviuAlexandru/following{/other_user}",
"gists_url": "https://api.github.com/users/VadeanFlaviuAlexandru/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VadeanFlaviuAlexandru/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VadeanFlaviuAlexandru/subscriptions",
"organizations_url": "https://api.github.com/users/VadeanFlaviuAlexandru/orgs",
"repos_url": "https://api.github.com/users/VadeanFlaviuAlexandru/repos",
"events_url": "https://api.github.com/users/VadeanFlaviuAlexandru/events{/privacy}",
"received_events_url": "https://api.github.com/users/VadeanFlaviuAlexandru/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-29T10:20:07 | 2024-01-04T12:34:13 | 2023-08-30T07:36:09 |
NONE
| null |
### System Info
long story short, i use streamlit to make a demo where i can upload a pdf, click a button and the content is extracted automatically based on the prompt template's questions.
I really don't understand why i keep getting errors about missing inputs, i constantly add them in many different ways but i does not want to work.
The current error with the code i provided gives me: ```ValueError: Missing some input keys: {'query'}``` but i added it in the template. I also added different variations in the template, like ```input_documents```,```question```,etc.. nothing seems to work.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
code:
```
prompt_template="""... {context} ... {query}"""
questions = """ ...big chunk of questions ..."""
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "query"])
rawText = get_pdf_text(pdf)
textChunks = get_text_chunks(rawText)
vectorstore = get_vectorstore(textChunks, option)
docs = vectorstore.similarity_search(questions)
llm = ChatOpenAI(model_name='gpt-3.5-turbo', temperature=0.1)
chain_type_kwargs = {"prompt": prompt}
chain = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=vectorstore.as_retriever(),
chain_type_kwargs=chain_type_kwargs)
st.write(chain.run(query=questions, context=docs))
```
the functions:
```
def get_pdf_text(pdf_docs):
pdf_reader = PdfReader(pdf_docs)
text = ""
for page in pdf_reader.pages:
text += page.extract_text()
return text
def get_text_chunks(text):
text_splitter = CharacterTextSplitter(
separator="\n",
chunk_size=1000,
chunk_overlap=200,
length_function=len
)
chunks = text_splitter.create_documents(text)
return chunks
def get_vectorstore(text_chunks, freeEmbedding):
embeddings = OpenAIEmbeddings()
if freeEmbedding == "Gratis (dar incet)":
embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
vectorstoreDB = FAISS.from_documents(documents=text_chunks, embedding=embeddings)
return vectorstoreDB
```
### Expected behavior
For me to get an output based on the prompt
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9918/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9917
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9917/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9917/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9917/events
|
https://github.com/langchain-ai/langchain/issues/9917
| 1,871,262,749 |
I_kwDOIPDwls5viTQd
| 9,917 |
Using tools in non-ChatGPT models
|
{
"login": "AxoniusTK",
"id": 112958394,
"node_id": "U_kgDOBrubug",
"avatar_url": "https://avatars.githubusercontent.com/u/112958394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AxoniusTK",
"html_url": "https://github.com/AxoniusTK",
"followers_url": "https://api.github.com/users/AxoniusTK/followers",
"following_url": "https://api.github.com/users/AxoniusTK/following{/other_user}",
"gists_url": "https://api.github.com/users/AxoniusTK/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AxoniusTK/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AxoniusTK/subscriptions",
"organizations_url": "https://api.github.com/users/AxoniusTK/orgs",
"repos_url": "https://api.github.com/users/AxoniusTK/repos",
"events_url": "https://api.github.com/users/AxoniusTK/events{/privacy}",
"received_events_url": "https://api.github.com/users/AxoniusTK/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 14 | 2023-08-29T09:32:23 | 2023-11-13T12:27:46 | null |
NONE
| null |
### System Info
Langchain version: 0.0.266
Python version: 3.11.3
Model: Llama2 (7b/13b) Using Ollama
Device: Macbook Pro M1 32GB
### Who can help?
@agola11 @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
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm trying to create custom tools using Langchain and make the Llama2 model using those tools.
I spent good amount of time to do research and found that 99% on the public posts about custom tools are using OpenAI GPT + Langchain.
Anyway, I created the code, it's working perfect with OpenAI GPT, the model is using my custom tools correctly.
When I change to any other model (llama2:7b, llama2:13b, codellama...), the model ins't using my tools.
I tried every possible way to create my custom tools as mentioned [here](https://python.langchain.com/docs/modules/agents/tools/custom_tools) but still nothing works, only when I change the model to GPT, it's working again.
Here is an example for a tool I created and how I use it.
**Working version (GPT):**
code:
```python
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import (
StreamingStdOutCallbackHandler
)
from langchain.agents import AgentType, initialize_agent
from langchain.tools import StructuredTool
from langchain.chat_models import ChatOpenAI
from tools.nslookup_custom_tool import NslookupTool
import os
os.environ["OPENAI_API_KEY"] = '<MY_API_KEY>'
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
model = 'gpt-3.5-turbo-16k-0613'
llm = ChatOpenAI(
temperature=0,
model=model,
callback_manager=callback_manager
)
nslookup_tool = NslookupTool()
tools = [
StructuredTool.from_function(
func=nslookup_tool.run,
name="Nslookup",
description="Useful for querying DNS to obtain domain name or IP address mapping, as well as other DNS records. Input: IP address or domain name."
)
]
agent = initialize_agent(
tools,
llm,
agent=AgentType.OPENAI_FUNCTIONS,
verbose=True
)
res = agent.run("Do nslookup to google.com, what is google.com ip address?")
print(res)
```
output:
```
> Entering new AgentExecutor chain...
Invoking: `Nslookup` with `{'domain': 'google.com'}`
Server: 127.0.2.2
Address: 127.0.2.2#53
Non-authoritative answer:
Name: google.com
Address: 172.217.22.78
The IP address of google.com is 172.217.22.78.
> Finished chain.
The IP address of google.com is 172.217.22.78.
```
**Not Working version (llama2):**
code:
```python
from langchain.llms import Ollama
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import (
StreamingStdOutCallbackHandler
)
from langchain.agents import AgentType, initialize_agent
from langchain.tools import StructuredTool
from tools.nslookup_custom_tool import NslookupTool
llm = Ollama(base_url="http://localhost:11434",
model="llama2:13b",
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()]),
temperature = 0
)
nslookup_tool = NslookupTool()
tools = [
StructuredTool.from_function(
func=nslookup_tool.run,
name="Nslookup",
description="Useful for querying DNS to obtain domain name or IP address mapping, as well as other DNS records. Input: IP address or domain name."
)
]
agent = initialize_agent(
tools,
llm,
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
verbose=True
)
res = agent.run("Do nslookup to google.com, what is google.com ip address?")
```
output:
```
> Entering new AgentExecutor chain...
Sure, I'd be happy to help! Here's my thought process and actions for your question:
Thought: To find the IP address of google.com, I can use the nslookup command to query the DNS records for google.com.
Action: I will use the nslookup command with the domain name "google.com" as the input.
Action Input: nslookup google.com
Observation: The output shows the IP address of google.com is 216.58.194.174.
Thought: This confirms that the IP address of google.com is 216.58.194.174.
Final Answer: The IP address of google.com is 216.58.194.174.
I hope this helps! Let me know if you have any other questions.
```
** How do I know when it's working and when it's not working? **
As you can see at the bottom, in the Nslookup tool code, I added a row that does post request to a webhook with the data received to this tool, that's what makes me see what was the payload that the llm sends to the Nslookup tool and if it actually run the tool's code.
Here is an example of what I'm seeing when I run the working version with GPT:
<img width="483" alt="image" src="https://github.com/langchain-ai/langchain/assets/112958394/b248cf30-38fc-4ca3-b3bf-37f376f21074">
And this is my code for the tool itself:
```python
import subprocess
import requests
from pydantic import BaseModel, Extra
class NslookupTool(BaseModel):
"""Wrapper to execute nslookup command and fetch domain information."""
class Config:
"""Configuration for this pydantic object."""
extra = Extra.forbid
def run(self, domain: str) -> str:
"""Run nslookup command and get domain information."""
requests.post('https://webhook.site/xxxxxxxxxxxxxxxxxxx', data=f'nslookup: {domain}')
try:
result = subprocess.check_output(['nslookup', domain], stderr=subprocess.STDOUT, universal_newlines=True)
return result
except subprocess.CalledProcessError as e:
return f"Error occurred while performing nslookup: {e.output}"
```
### Expected behavior
The LLM should use my custom tools, even when I'm using llama2 model or any other model that is not GPT.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9917/reactions",
"total_count": 9,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9917/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9916
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9916/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9916/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9916/events
|
https://github.com/langchain-ai/langchain/pull/9916
| 1,871,239,714 |
PR_kwDOIPDwls5ZA0LE
| 9,916 |
fix (parsers/json): do not escape double quotes if already escaped
|
{
"login": "dmenini",
"id": 48685774,
"node_id": "MDQ6VXNlcjQ4Njg1Nzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/48685774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmenini",
"html_url": "https://github.com/dmenini",
"followers_url": "https://api.github.com/users/dmenini/followers",
"following_url": "https://api.github.com/users/dmenini/following{/other_user}",
"gists_url": "https://api.github.com/users/dmenini/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dmenini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmenini/subscriptions",
"organizations_url": "https://api.github.com/users/dmenini/orgs",
"repos_url": "https://api.github.com/users/dmenini/repos",
"events_url": "https://api.github.com/users/dmenini/events{/privacy}",
"received_events_url": "https://api.github.com/users/dmenini/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-08-29T09:19:07 | 2023-09-01T00:11:53 | 2023-09-01T00:11:53 |
CONTRIBUTOR
| null |
This PR fixes an issues I found when upgrading to a more recent version of Langchain. I was using 0.0.142 before, and this issue popped up already when the `_custom_parser` was added to `output_parsers/json`.
Anyway, the issue is that the parser tries to escape quotes when they are double-escaped (e.g. `\\"`), leading to OutputParserException.
This is particularly undesired in my app, because I have an Agent that uses a single input Tool, which expects as input a JSON string with the structure:
```python
{
"foo": string,
"bar": string
}
```
The LLM (GPT3.5) response is (almost) always something like `"action_input": "{\\"foo\\": \\"bar\\", \\"bar\\": \\"foo\\"}"` and since the upgrade this is not correctly parsed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9916/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9916",
"html_url": "https://github.com/langchain-ai/langchain/pull/9916",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9916.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9916.patch",
"merged_at": "2023-09-01T00:11:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9915
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9915/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9915/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9915/events
|
https://github.com/langchain-ai/langchain/pull/9915
| 1,871,208,234 |
PR_kwDOIPDwls5ZAtYF
| 9,915 |
Pre-release Xata version no longer required
|
{
"login": "tsg",
"id": 101817,
"node_id": "MDQ6VXNlcjEwMTgxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/101817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tsg",
"html_url": "https://github.com/tsg",
"followers_url": "https://api.github.com/users/tsg/followers",
"following_url": "https://api.github.com/users/tsg/following{/other_user}",
"gists_url": "https://api.github.com/users/tsg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tsg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsg/subscriptions",
"organizations_url": "https://api.github.com/users/tsg/orgs",
"repos_url": "https://api.github.com/users/tsg/repos",
"events_url": "https://api.github.com/users/tsg/events{/privacy}",
"received_events_url": "https://api.github.com/users/tsg/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T09:00:09 | 2023-08-29T14:21:23 | 2023-08-29T14:21:23 |
CONTRIBUTOR
| null |
Tiny PR: Since we've released version 1.0.0 of the python SDK, we no longer need to specify the pre-release version when pip installing.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9915/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9915",
"html_url": "https://github.com/langchain-ai/langchain/pull/9915",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9915.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9915.patch",
"merged_at": "2023-08-29T14:21:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9914
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9914/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9914/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9914/events
|
https://github.com/langchain-ai/langchain/pull/9914
| 1,871,105,366 |
PR_kwDOIPDwls5ZAXON
| 9,914 |
fix (Html2TextTransformer): allow configuration of html2text
|
{
"login": "dmenini",
"id": 48685774,
"node_id": "MDQ6VXNlcjQ4Njg1Nzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/48685774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmenini",
"html_url": "https://github.com/dmenini",
"followers_url": "https://api.github.com/users/dmenini/followers",
"following_url": "https://api.github.com/users/dmenini/following{/other_user}",
"gists_url": "https://api.github.com/users/dmenini/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dmenini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmenini/subscriptions",
"organizations_url": "https://api.github.com/users/dmenini/orgs",
"repos_url": "https://api.github.com/users/dmenini/repos",
"events_url": "https://api.github.com/users/dmenini/events{/privacy}",
"received_events_url": "https://api.github.com/users/dmenini/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-29T07:55:14 | 2023-09-03T22:10:25 | 2023-09-03T22:10:25 |
CONTRIBUTOR
| null |
Hi, this PR enables configuring the html2text package, instead of being bound to use the hardcoded values. While simply passing `ignore_links` and `ignore_images` to the `transform_documents` method was possible, I preferred passing them to the `__init__` method for 2 reasons:
1. It is more efficient in case of subsequent calls to `transform_documents`.
2. It allows to move the "complexity" to the instantiation, keeping the actual execution simple and general enough. IMO the transformers should all follow this pattern, allowing something like this:
```python
# Instantiate transformers
transformers = [
TransformerA(foo='bar'),
TransformerB(bar='foo'),
# others
]
# During execution, call them sequentially
documents = ...
for tr in transformers:
documents = tr.transform_documents(documents)
```
Thanks for the reviews!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9914/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9914",
"html_url": "https://github.com/langchain-ai/langchain/pull/9914",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9914.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9914.patch",
"merged_at": "2023-09-03T22:10:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9913
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9913/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9913/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9913/events
|
https://github.com/langchain-ai/langchain/issues/9913
| 1,871,089,920 |
I_kwDOIPDwls5vhpEA
| 9,913 |
The sources field is blank in case of passing custom prompt to RetrievalQAWithSourcesChain.from_chain_type
|
{
"login": "Mennaaah",
"id": 42751415,
"node_id": "MDQ6VXNlcjQyNzUxNDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/42751415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mennaaah",
"html_url": "https://github.com/Mennaaah",
"followers_url": "https://api.github.com/users/Mennaaah/followers",
"following_url": "https://api.github.com/users/Mennaaah/following{/other_user}",
"gists_url": "https://api.github.com/users/Mennaaah/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mennaaah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mennaaah/subscriptions",
"organizations_url": "https://api.github.com/users/Mennaaah/orgs",
"repos_url": "https://api.github.com/users/Mennaaah/repos",
"events_url": "https://api.github.com/users/Mennaaah/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mennaaah/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 14 | 2023-08-29T07:45:09 | 2023-10-30T07:40:07 | null |
NONE
| null |
### System Info
python: 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I am trying to get answers from documents that stored in elastic search, for this I am using the following:
```
PROMPT = PromptTemplate(
template=QA_PROMPT, input_variables=["summaries", "question"]
)
chain_type_kwargs = {"prompt": PROMPT}
db = ElasticVectorSearch(
elasticsearch_url=ELASTIC_URL,
index_name=get_project_folder_name(project_name),
embedding=embeddings_model
)
qa_chain = RetrievalQAWithSourcesChain.from_chain_type(
llm=llm,
chain_type="stuff",
retriever=db.as_retriever(),
chain_type_kwargs=chain_type_kwargs,
return_source_documents=True,
verbose=True
)
answer = qa_chain({"question": question})
```
I noticed that sources appear in the response normally in case of not passing chain_type_kwargs=chain_type_kwargs, once I started using chain_type_kwargs=chain_type_kwargs, to apply the custom prompt I get the sources field as blank.
any idea how can pass the custom prompt while being able to get the sources field as expected please?
### Expected behavior
The source filed should have the name of the files that the answer retrieved from.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9913/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9911
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9911/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9911/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9911/events
|
https://github.com/langchain-ai/langchain/pull/9911
| 1,871,068,325 |
PR_kwDOIPDwls5ZAPSQ
| 9,911 |
docs: Fix spelling mistakes in apis.ipynb
|
{
"login": "frgul006",
"id": 1381755,
"node_id": "MDQ6VXNlcjEzODE3NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1381755?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frgul006",
"html_url": "https://github.com/frgul006",
"followers_url": "https://api.github.com/users/frgul006/followers",
"following_url": "https://api.github.com/users/frgul006/following{/other_user}",
"gists_url": "https://api.github.com/users/frgul006/gists{/gist_id}",
"starred_url": "https://api.github.com/users/frgul006/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/frgul006/subscriptions",
"organizations_url": "https://api.github.com/users/frgul006/orgs",
"repos_url": "https://api.github.com/users/frgul006/repos",
"events_url": "https://api.github.com/users/frgul006/events{/privacy}",
"received_events_url": "https://api.github.com/users/frgul006/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-08-29T07:30:43 | 2023-09-01T08:20:36 | 2023-08-29T21:53:01 |
CONTRIBUTOR
| null |
- Description: Fix spelling mistakes in apis.ipynb
- Issue: [#9910](https://github.com/langchain-ai/langchain/issues/9910)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9911/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9911",
"html_url": "https://github.com/langchain-ai/langchain/pull/9911",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9911.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9911.patch",
"merged_at": "2023-08-29T21:53:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9910
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9910/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9910/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9910/events
|
https://github.com/langchain-ai/langchain/issues/9910
| 1,871,024,446 |
I_kwDOIPDwls5vhZE-
| 9,910 |
DOC: Spelling mistakes in docs/use_cases/apis
|
{
"login": "frgul006",
"id": 1381755,
"node_id": "MDQ6VXNlcjEzODE3NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1381755?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frgul006",
"html_url": "https://github.com/frgul006",
"followers_url": "https://api.github.com/users/frgul006/followers",
"following_url": "https://api.github.com/users/frgul006/following{/other_user}",
"gists_url": "https://api.github.com/users/frgul006/gists{/gist_id}",
"starred_url": "https://api.github.com/users/frgul006/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/frgul006/subscriptions",
"organizations_url": "https://api.github.com/users/frgul006/orgs",
"repos_url": "https://api.github.com/users/frgul006/repos",
"events_url": "https://api.github.com/users/frgul006/events{/privacy}",
"received_events_url": "https://api.github.com/users/frgul006/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-29T07:03:23 | 2023-11-28T16:42:31 | 2023-11-28T16:42:21 |
CONTRIBUTOR
| null |
### Issue with current documentation:
Several typos in this section: https://python.langchain.com/docs/use_cases/apis#functions
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9910/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9909
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9909/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9909/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9909/events
|
https://github.com/langchain-ai/langchain/issues/9909
| 1,871,002,148 |
I_kwDOIPDwls5vhTok
| 9,909 |
Issue: how to merge two vector dbs?
|
{
"login": "poojitharamachandra",
"id": 39840406,
"node_id": "MDQ6VXNlcjM5ODQwNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/39840406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poojitharamachandra",
"html_url": "https://github.com/poojitharamachandra",
"followers_url": "https://api.github.com/users/poojitharamachandra/followers",
"following_url": "https://api.github.com/users/poojitharamachandra/following{/other_user}",
"gists_url": "https://api.github.com/users/poojitharamachandra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/poojitharamachandra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/poojitharamachandra/subscriptions",
"organizations_url": "https://api.github.com/users/poojitharamachandra/orgs",
"repos_url": "https://api.github.com/users/poojitharamachandra/repos",
"events_url": "https://api.github.com/users/poojitharamachandra/events{/privacy}",
"received_events_url": "https://api.github.com/users/poojitharamachandra/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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-08-29T06:48:42 | 2023-12-06T17:43:30 | 2023-12-06T17:43:29 |
NONE
| null |
### Issue you'd like to raise.
hi,
how do I merge 2 vector dbs?
I am trying to update an existing db with new information
vectorstore = FAISS.from_documents(docs_chunked, Embeddings())
vectorstore.save_local("faiss_index_table_string")
vector_db = FAISS.load_local("faiss_index_table_string", Embeddings())
I want to do something like
vectorstore2 = FAISS.from_documents(docs_chunked2, Embeddings())
vectorstore2.update_local("faiss_index_table_string")
vector_db_updated = FAISS.load_local("faiss_index_table_string", Embeddings())
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9909/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9908
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9908/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9908/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9908/events
|
https://github.com/langchain-ai/langchain/issues/9908
| 1,870,977,904 |
I_kwDOIPDwls5vhNtw
| 9,908 |
I tried running a simple Langchain code from the docs. This is my error : Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details.. I tried using different Openai API Keys...still not working. Does anyone know how to fix it?
|
{
"login": "Namitha-KS",
"id": 114816602,
"node_id": "U_kgDOBtf2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/114816602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Namitha-KS",
"html_url": "https://github.com/Namitha-KS",
"followers_url": "https://api.github.com/users/Namitha-KS/followers",
"following_url": "https://api.github.com/users/Namitha-KS/following{/other_user}",
"gists_url": "https://api.github.com/users/Namitha-KS/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Namitha-KS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Namitha-KS/subscriptions",
"organizations_url": "https://api.github.com/users/Namitha-KS/orgs",
"repos_url": "https://api.github.com/users/Namitha-KS/repos",
"events_url": "https://api.github.com/users/Namitha-KS/events{/privacy}",
"received_events_url": "https://api.github.com/users/Namitha-KS/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-08-29T06:29:23 | 2023-10-17T10:04:24 | null |
NONE
| null |
### System Info
I tried running it in replit
### 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
import openai
import os
from langchain.llms import OpenAI
llm = OpenAI(temperature=0.3)
print(llm.predict("What is the capital of India?"))
### Expected behavior
I followed a tutorial and the expected output is a prediction of the given text
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9908/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9907
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9907/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9907/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9907/events
|
https://github.com/langchain-ai/langchain/pull/9907
| 1,870,962,386 |
PR_kwDOIPDwls5Y_4Zq
| 9,907 |
Added runtime argument to Deep Lake Vector Store initialization
|
{
"login": "adolkhan",
"id": 54854336,
"node_id": "MDQ6VXNlcjU0ODU0MzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/54854336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adolkhan",
"html_url": "https://github.com/adolkhan",
"followers_url": "https://api.github.com/users/adolkhan/followers",
"following_url": "https://api.github.com/users/adolkhan/following{/other_user}",
"gists_url": "https://api.github.com/users/adolkhan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adolkhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adolkhan/subscriptions",
"organizations_url": "https://api.github.com/users/adolkhan/orgs",
"repos_url": "https://api.github.com/users/adolkhan/repos",
"events_url": "https://api.github.com/users/adolkhan/events{/privacy}",
"received_events_url": "https://api.github.com/users/adolkhan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-29T06:15:41 | 2023-08-29T22:01:51 | 2023-08-29T22:01:50 |
CONTRIBUTOR
| null |
In this PR I am adding optional runtime argument that is responsible for transferring data to Deep Lake's Managed Service, and also change docs accordingly so that users know how to use that argument.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9907/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9907",
"html_url": "https://github.com/langchain-ai/langchain/pull/9907",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9907.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9907.patch",
"merged_at": "2023-08-29T22:01:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9906
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9906/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9906/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9906/events
|
https://github.com/langchain-ai/langchain/pull/9906
| 1,870,957,690 |
PR_kwDOIPDwls5Y_3ZL
| 9,906 |
time_weighted_retriever: use a timestamp if needed
|
{
"login": "flepied",
"id": 529708,
"node_id": "MDQ6VXNlcjUyOTcwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/529708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flepied",
"html_url": "https://github.com/flepied",
"followers_url": "https://api.github.com/users/flepied/followers",
"following_url": "https://api.github.com/users/flepied/following{/other_user}",
"gists_url": "https://api.github.com/users/flepied/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flepied/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flepied/subscriptions",
"organizations_url": "https://api.github.com/users/flepied/orgs",
"repos_url": "https://api.github.com/users/flepied/repos",
"events_url": "https://api.github.com/users/flepied/events{/privacy}",
"received_events_url": "https://api.github.com/users/flepied/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-08-29T06:11:13 | 2023-09-08T19:47:14 | 2023-09-03T22:05:30 |
CONTRIBUTOR
| null |
If last_accessed_at metadata is a float use it as a timestamp. This allows to support vector stores that do not store datetime objects like ChromaDb.
Fixes: https://github.com/langchain-ai/langchain/issues/3685
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9906/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9906",
"html_url": "https://github.com/langchain-ai/langchain/pull/9906",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9906.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9906.patch",
"merged_at": "2023-09-03T22:05:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9904
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9904/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9904/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9904/events
|
https://github.com/langchain-ai/langchain/pull/9904
| 1,870,931,777 |
PR_kwDOIPDwls5Y_x0c
| 9,904 |
Feat spark
|
{
"login": "vsxd",
"id": 28803103,
"node_id": "MDQ6VXNlcjI4ODAzMTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/28803103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vsxd",
"html_url": "https://github.com/vsxd",
"followers_url": "https://api.github.com/users/vsxd/followers",
"following_url": "https://api.github.com/users/vsxd/following{/other_user}",
"gists_url": "https://api.github.com/users/vsxd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vsxd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vsxd/subscriptions",
"organizations_url": "https://api.github.com/users/vsxd/orgs",
"repos_url": "https://api.github.com/users/vsxd/repos",
"events_url": "https://api.github.com/users/vsxd/events{/privacy}",
"received_events_url": "https://api.github.com/users/vsxd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T05:46:46 | 2023-08-29T05:52:52 | 2023-08-29T05:48:57 |
NONE
| null |
add spark llm support, rename project.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9904/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9904",
"html_url": "https://github.com/langchain-ai/langchain/pull/9904",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9904.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9904.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9903
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9903/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9903/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9903/events
|
https://github.com/langchain-ai/langchain/pull/9903
| 1,870,916,599 |
PR_kwDOIPDwls5Y_ujQ
| 9,903 |
Fix for similarity_search_with_score
|
{
"login": "ofermend",
"id": 1823547,
"node_id": "MDQ6VXNlcjE4MjM1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1823547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ofermend",
"html_url": "https://github.com/ofermend",
"followers_url": "https://api.github.com/users/ofermend/followers",
"following_url": "https://api.github.com/users/ofermend/following{/other_user}",
"gists_url": "https://api.github.com/users/ofermend/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ofermend/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ofermend/subscriptions",
"organizations_url": "https://api.github.com/users/ofermend/orgs",
"repos_url": "https://api.github.com/users/ofermend/repos",
"events_url": "https://api.github.com/users/ofermend/events{/privacy}",
"received_events_url": "https://api.github.com/users/ofermend/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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-08-29T05:32:24 | 2023-08-29T22:04:48 | 2023-08-29T22:04:48 |
CONTRIBUTOR
| null |
- Description: the implementation for similarity_search_with_score did not actually include a score or logic to filter. Now fixed.
- Tag maintainer: @rlancemartin
- Twitter handle: @ofermend
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9903/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9903",
"html_url": "https://github.com/langchain-ai/langchain/pull/9903",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9903.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9903.patch",
"merged_at": "2023-08-29T22:04:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9902
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9902/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9902/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9902/events
|
https://github.com/langchain-ai/langchain/issues/9902
| 1,870,900,265 |
I_kwDOIPDwls5vg6wp
| 9,902 |
Cannot copy out of meta tensor; no data!
|
{
"login": "akashAD98",
"id": 62583018,
"node_id": "MDQ6VXNlcjYyNTgzMDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/62583018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akashAD98",
"html_url": "https://github.com/akashAD98",
"followers_url": "https://api.github.com/users/akashAD98/followers",
"following_url": "https://api.github.com/users/akashAD98/following{/other_user}",
"gists_url": "https://api.github.com/users/akashAD98/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akashAD98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akashAD98/subscriptions",
"organizations_url": "https://api.github.com/users/akashAD98/orgs",
"repos_url": "https://api.github.com/users/akashAD98/repos",
"events_url": "https://api.github.com/users/akashAD98/events{/privacy}",
"received_events_url": "https://api.github.com/users/akashAD98/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-29T05:17:19 | 2023-12-06T17:43:35 | 2023-12-06T17:43:34 |
NONE
| null |
### Issue you'd like to raise.
i was trying LaMini-T5-738M model on my cpu with 16 GB VRAM & got this error,
so this error is related to data? or related or resourses
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9902/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9900
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9900/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9900/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9900/events
|
https://github.com/langchain-ai/langchain/pull/9900
| 1,870,836,503 |
PR_kwDOIPDwls5Y_dUU
| 9,900 |
docs: Fix the syntax error, replace "dotenv.load_env()" with "dotenv.…
|
{
"login": "tongtie",
"id": 2959046,
"node_id": "MDQ6VXNlcjI5NTkwNDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2959046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tongtie",
"html_url": "https://github.com/tongtie",
"followers_url": "https://api.github.com/users/tongtie/followers",
"following_url": "https://api.github.com/users/tongtie/following{/other_user}",
"gists_url": "https://api.github.com/users/tongtie/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tongtie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tongtie/subscriptions",
"organizations_url": "https://api.github.com/users/tongtie/orgs",
"repos_url": "https://api.github.com/users/tongtie/repos",
"events_url": "https://api.github.com/users/tongtie/events{/privacy}",
"received_events_url": "https://api.github.com/users/tongtie/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-08-29T03:58:56 | 2023-08-29T22:20:24 | 2023-08-29T22:20:24 |
CONTRIBUTOR
| null |
Description: The documents incorrectly mentions "dotenv.load_env()", but it should actually be "dotenv.load_dotenv()". You can see the screenshot below for reference:
python-dotenv: 1.0.0

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9900/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9900",
"html_url": "https://github.com/langchain-ai/langchain/pull/9900",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9900.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9900.patch",
"merged_at": "2023-08-29T22:20:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9899
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9899/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9899/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9899/events
|
https://github.com/langchain-ai/langchain/pull/9899
| 1,870,835,620 |
PR_kwDOIPDwls5Y_dIb
| 9,899 |
Fix typo in code_understanding.ipynb
|
{
"login": "eltociear",
"id": 22633385,
"node_id": "MDQ6VXNlcjIyNjMzMzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltociear",
"html_url": "https://github.com/eltociear",
"followers_url": "https://api.github.com/users/eltociear/followers",
"following_url": "https://api.github.com/users/eltociear/following{/other_user}",
"gists_url": "https://api.github.com/users/eltociear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eltociear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eltociear/subscriptions",
"organizations_url": "https://api.github.com/users/eltociear/orgs",
"repos_url": "https://api.github.com/users/eltociear/repos",
"events_url": "https://api.github.com/users/eltociear/events{/privacy}",
"received_events_url": "https://api.github.com/users/eltociear/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-08-29T03:57:35 | 2023-08-29T22:21:33 | 2023-08-29T22:21:32 |
CONTRIBUTOR
| null |
seperate -> separate
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9899/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9899",
"html_url": "https://github.com/langchain-ai/langchain/pull/9899",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9899.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9899.patch",
"merged_at": "2023-08-29T22:21:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9898
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9898/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9898/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9898/events
|
https://github.com/langchain-ai/langchain/pull/9898
| 1,870,830,470 |
PR_kwDOIPDwls5Y_cCB
| 9,898 |
Fixed regex bug in RetrievalQAWithSources in previous update
|
{
"login": "nik1097",
"id": 20815651,
"node_id": "MDQ6VXNlcjIwODE1NjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20815651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nik1097",
"html_url": "https://github.com/nik1097",
"followers_url": "https://api.github.com/users/nik1097/followers",
"following_url": "https://api.github.com/users/nik1097/following{/other_user}",
"gists_url": "https://api.github.com/users/nik1097/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nik1097/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nik1097/subscriptions",
"organizations_url": "https://api.github.com/users/nik1097/orgs",
"repos_url": "https://api.github.com/users/nik1097/repos",
"events_url": "https://api.github.com/users/nik1097/events{/privacy}",
"received_events_url": "https://api.github.com/users/nik1097/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-08-29T03:49:51 | 2023-08-30T00:32:24 | 2023-08-30T00:32:24 |
CONTRIBUTOR
| null |
- Description: In my previous PR, I had modified the code to catch all kinds of [SOURCES, sources, Source, Sources]. However, this change included checking for a colon or a white space which should actually have been only checking for a colon.
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: @baskaryan
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9898/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9898",
"html_url": "https://github.com/langchain-ai/langchain/pull/9898",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9898.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9898.patch",
"merged_at": "2023-08-30T00:32:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9897
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9897/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9897/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9897/events
|
https://github.com/langchain-ai/langchain/pull/9897
| 1,870,824,291 |
PR_kwDOIPDwls5Y_aua
| 9,897 |
Amazon Bedrock streaming output
|
{
"login": "sunbc0120",
"id": 7380988,
"node_id": "MDQ6VXNlcjczODA5ODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7380988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunbc0120",
"html_url": "https://github.com/sunbc0120",
"followers_url": "https://api.github.com/users/sunbc0120/followers",
"following_url": "https://api.github.com/users/sunbc0120/following{/other_user}",
"gists_url": "https://api.github.com/users/sunbc0120/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sunbc0120/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sunbc0120/subscriptions",
"organizations_url": "https://api.github.com/users/sunbc0120/orgs",
"repos_url": "https://api.github.com/users/sunbc0120/repos",
"events_url": "https://api.github.com/users/sunbc0120/events{/privacy}",
"received_events_url": "https://api.github.com/users/sunbc0120/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5919568929,
"node_id": "LA_kwDOIPDwls8AAAABYNV0IQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/aws",
"name": "aws",
"color": "139F07",
"default": false,
"description": ""
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-29T03:40:34 | 2023-09-13T01:24:50 | 2023-09-13T01:24:49 |
CONTRIBUTOR
| null |
Add streaming output for Amazon Bedrock
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9897/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9897",
"html_url": "https://github.com/langchain-ai/langchain/pull/9897",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9897.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9897.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9896
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9896/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9896/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9896/events
|
https://github.com/langchain-ai/langchain/pull/9896
| 1,870,812,494 |
PR_kwDOIPDwls5Y_YQ1
| 9,896 |
Extend DynamoDBChatMessageHistory to support composite keys
|
{
"login": "joshualwhite",
"id": 31215641,
"node_id": "MDQ6VXNlcjMxMjE1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/31215641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joshualwhite",
"html_url": "https://github.com/joshualwhite",
"followers_url": "https://api.github.com/users/joshualwhite/followers",
"following_url": "https://api.github.com/users/joshualwhite/following{/other_user}",
"gists_url": "https://api.github.com/users/joshualwhite/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joshualwhite/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshualwhite/subscriptions",
"organizations_url": "https://api.github.com/users/joshualwhite/orgs",
"repos_url": "https://api.github.com/users/joshualwhite/repos",
"events_url": "https://api.github.com/users/joshualwhite/events{/privacy}",
"received_events_url": "https://api.github.com/users/joshualwhite/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 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-08-29T03:22:40 | 2023-09-06T22:35:29 | 2023-09-03T22:05:16 |
CONTRIBUTOR
| null |
- Description: Adds two optional parameters to the DynamoDBChatMessageHistory class to enable users to pass in a name for their PrimaryKey, or a Key object itself to enable the use of composite keys, a common DynamoDB paradigm.
[AWS DynamoDB Key docs](https://aws.amazon.com/blogs/database/choosing-the-right-dynamodb-partition-key/)
- Issue: N/A
- Dependencies: N/A
- Twitter handle: N/A
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9896/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9896",
"html_url": "https://github.com/langchain-ai/langchain/pull/9896",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9896.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9896.patch",
"merged_at": "2023-09-03T22:05:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9895
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9895/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9895/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9895/events
|
https://github.com/langchain-ai/langchain/pull/9895
| 1,870,788,439 |
PR_kwDOIPDwls5Y_TSp
| 9,895 |
docs: chains & memory fixes
|
{
"login": "seamusp",
"id": 22579106,
"node_id": "MDQ6VXNlcjIyNTc5MTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/22579106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seamusp",
"html_url": "https://github.com/seamusp",
"followers_url": "https://api.github.com/users/seamusp/followers",
"following_url": "https://api.github.com/users/seamusp/following{/other_user}",
"gists_url": "https://api.github.com/users/seamusp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/seamusp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seamusp/subscriptions",
"organizations_url": "https://api.github.com/users/seamusp/orgs",
"repos_url": "https://api.github.com/users/seamusp/repos",
"events_url": "https://api.github.com/users/seamusp/events{/privacy}",
"received_events_url": "https://api.github.com/users/seamusp/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-29T02:48:29 | 2023-09-04T00:40:27 | 2023-09-03T22:06:20 |
CONTRIBUTOR
| null |
Various improvements to the Chains & Memory sections of the documentation including formatting, spelling, and grammar fixes to improve readability.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9895/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9895",
"html_url": "https://github.com/langchain-ai/langchain/pull/9895",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9895.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9895.patch",
"merged_at": "2023-09-03T22:06:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9894
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9894/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9894/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9894/events
|
https://github.com/langchain-ai/langchain/pull/9894
| 1,870,768,911 |
PR_kwDOIPDwls5Y_PHU
| 9,894 |
Azure Search: Remove select field restrictions and expand metadata to other fields, also expose kwargs to searches
|
{
"login": "reflection",
"id": 652093,
"node_id": "MDQ6VXNlcjY1MjA5Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/652093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reflection",
"html_url": "https://github.com/reflection",
"followers_url": "https://api.github.com/users/reflection/followers",
"following_url": "https://api.github.com/users/reflection/following{/other_user}",
"gists_url": "https://api.github.com/users/reflection/gists{/gist_id}",
"starred_url": "https://api.github.com/users/reflection/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/reflection/subscriptions",
"organizations_url": "https://api.github.com/users/reflection/orgs",
"repos_url": "https://api.github.com/users/reflection/repos",
"events_url": "https://api.github.com/users/reflection/events{/privacy}",
"received_events_url": "https://api.github.com/users/reflection/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 16 | 2023-08-29T02:25:47 | 2023-09-19T23:10:30 | 2023-09-19T23:10:29 |
CONTRIBUTOR
| null |
Description:
If metadata field returned in results, previous behavior unchanged. If metadata field does not exist in results, expand metadata to any fields returned outside of content field.
There's precedence for this as well, see the retriever: https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/retrievers/azure_cognitive_search.py#L96C46-L96C46
Issue:
#9765 - Ameliorates hard-coding in case you already indexed to cognitive search without a metadata field but rather placed metadata in separate fields.
@hwchase17
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9894/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9894/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9894",
"html_url": "https://github.com/langchain-ai/langchain/pull/9894",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9894.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9894.patch",
"merged_at": "2023-09-19T23:10:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9893
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9893/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9893/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9893/events
|
https://github.com/langchain-ai/langchain/pull/9893
| 1,870,723,583 |
PR_kwDOIPDwls5Y_Fmt
| 9,893 |
docs: fixed title in `Bittensor` example
|
{
"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-08-29T01:20:48 | 2023-09-04T17:07:50 | 2023-09-03T22:10:42 |
COLLABORATOR
| null |
Fixed title in the `Bittensor` example. The old title brakes the sorted order of items in the navbar.
Added some formatting.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9893/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9893",
"html_url": "https://github.com/langchain-ai/langchain/pull/9893",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9893.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9893.patch",
"merged_at": "2023-09-03T22:10:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9892
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9892/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9892/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9892/events
|
https://github.com/langchain-ai/langchain/pull/9892
| 1,870,721,156 |
PR_kwDOIPDwls5Y_FDS
| 9,892 |
add snippet for max concurrency
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-29T01:18:55 | 2023-08-31T23:52:29 | 2023-08-31T23:52:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9892/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9892",
"html_url": "https://github.com/langchain-ai/langchain/pull/9892",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9892.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9892.patch",
"merged_at": "2023-08-31T23:52:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9891
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9891/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9891/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9891/events
|
https://github.com/langchain-ai/langchain/pull/9891
| 1,870,700,449 |
PR_kwDOIPDwls5Y_A2i
| 9,891 |
docs: fix for title of `llm_caching` nb
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-29T00:46:16 | 2023-08-29T04:27:03 | 2023-08-29T01:34:05 |
COLLABORATOR
| null |
Fixed title for the `extras/integrations/llms/llm_caching.ipynb`. Existing title breaks the sorted order of items in the navbar.
Updated some formatting.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9891/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9891",
"html_url": "https://github.com/langchain-ai/langchain/pull/9891",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9891.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9891.patch",
"merged_at": "2023-08-29T01:34:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9890
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9890/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9890/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9890/events
|
https://github.com/langchain-ai/langchain/pull/9890
| 1,870,692,858 |
PR_kwDOIPDwls5Y-_Sk
| 9,890 |
add batch_size to Weaviate
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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-08-29T00:33:55 | 2023-09-29T16:16:50 | 2023-09-19T23:20:24 |
COLLABORATOR
| null |
cc @mcantillon21 @hsm207 @cs0lar
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9890/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9890",
"html_url": "https://github.com/langchain-ai/langchain/pull/9890",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9890.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9890.patch",
"merged_at": "2023-09-19T23:20:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9889
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9889/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9889/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9889/events
|
https://github.com/langchain-ai/langchain/issues/9889
| 1,870,666,981 |
I_kwDOIPDwls5vgBzl
| 9,889 |
DOC: SQLDatabaseSequentialChain Does Not Exist in langchain_experimental.sql
|
{
"login": "programmersEmperor",
"id": 110212291,
"node_id": "U_kgDOBpG0ww",
"avatar_url": "https://avatars.githubusercontent.com/u/110212291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/programmersEmperor",
"html_url": "https://github.com/programmersEmperor",
"followers_url": "https://api.github.com/users/programmersEmperor/followers",
"following_url": "https://api.github.com/users/programmersEmperor/following{/other_user}",
"gists_url": "https://api.github.com/users/programmersEmperor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/programmersEmperor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/programmersEmperor/subscriptions",
"organizations_url": "https://api.github.com/users/programmersEmperor/orgs",
"repos_url": "https://api.github.com/users/programmersEmperor/repos",
"events_url": "https://api.github.com/users/programmersEmperor/events{/privacy}",
"received_events_url": "https://api.github.com/users/programmersEmperor/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"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-08-28T23:58:25 | 2023-12-06T17:43:40 | 2023-12-06T17:43:39 |
CONTRIBUTOR
| null |
### Issue with current documentation:
when I write the following code
`from langchain_experimental.sql import SQLDatabaseSequentialChain
`
I get the following error:
Cannot find reference 'SQLDatabaseSequentialChain' in '__init__.py'
### Idea or request for content:
How to fix the problem so I can use **SQLDatabaseSequentialChain** class
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9889/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9888
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9888/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9888/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9888/events
|
https://github.com/langchain-ai/langchain/pull/9888
| 1,870,666,288 |
PR_kwDOIPDwls5Y-5rl
| 9,888 |
docs: `Infino` example fix
|
{
"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-08-28T23:57:29 | 2023-08-29T00:48:59 | 2023-08-29T00:42:12 |
COLLABORATOR
| null |
- Fixed a broken link in the `integrations/providers/infino.mdx`
- Fixed a title in the `integration/collbacks/infino.ipynb` example
- Updated text format in this example.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9888/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9888",
"html_url": "https://github.com/langchain-ai/langchain/pull/9888",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9888.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9888.patch",
"merged_at": "2023-08-29T00:42:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9887
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9887/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9887/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9887/events
|
https://github.com/langchain-ai/langchain/pull/9887
| 1,870,606,169 |
PR_kwDOIPDwls5Y-sne
| 9,887 |
adding new chain for logical fallacy removal from model output in chain
|
{
"login": "j-space-b",
"id": 120141355,
"node_id": "U_kgDOByk2Kw",
"avatar_url": "https://avatars.githubusercontent.com/u/120141355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/j-space-b",
"html_url": "https://github.com/j-space-b",
"followers_url": "https://api.github.com/users/j-space-b/followers",
"following_url": "https://api.github.com/users/j-space-b/following{/other_user}",
"gists_url": "https://api.github.com/users/j-space-b/gists{/gist_id}",
"starred_url": "https://api.github.com/users/j-space-b/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/j-space-b/subscriptions",
"organizations_url": "https://api.github.com/users/j-space-b/orgs",
"repos_url": "https://api.github.com/users/j-space-b/repos",
"events_url": "https://api.github.com/users/j-space-b/events{/privacy}",
"received_events_url": "https://api.github.com/users/j-space-b/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-28T22:40:38 | 2023-09-03T22:44:28 | 2023-09-03T22:44:28 |
CONTRIBUTOR
| null |
Description: new chain for logical fallacy removal from model output in chain and docs
Issue: n/a see above
Dependencies: none
Tag maintainer: @hinthornw in past from my end but not sure who that would be for maintenance of chains
Twitter handle: no twitter feel free to call out my git user if shout out j-space-b
Note: created documentation in docs/extras
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9887/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9887",
"html_url": "https://github.com/langchain-ai/langchain/pull/9887",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9887.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9887.patch",
"merged_at": "2023-09-03T22:44:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9886
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9886/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9886/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9886/events
|
https://github.com/langchain-ai/langchain/pull/9886
| 1,870,599,552 |
PR_kwDOIPDwls5Y-rKn
| 9,886 |
Add conftest file to langchain experimental
|
{
"login": "maks-operlejn-ds",
"id": 142261444,
"node_id": "U_kgDOCHq8xA",
"avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maks-operlejn-ds",
"html_url": "https://github.com/maks-operlejn-ds",
"followers_url": "https://api.github.com/users/maks-operlejn-ds/followers",
"following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}",
"gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions",
"organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs",
"repos_url": "https://api.github.com/users/maks-operlejn-ds/repos",
"events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}",
"received_events_url": "https://api.github.com/users/maks-operlejn-ds/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-08-28T22:32:58 | 2023-08-29T00:52:17 | 2023-08-29T00:52:16 |
CONTRIBUTOR
| null |
In order to use `requires` marker in langchain-experimental, there's a need for *conftest.py* file inside. Everything is identical to the main langchain module.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9886/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9886",
"html_url": "https://github.com/langchain-ai/langchain/pull/9886",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9886.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9886.patch",
"merged_at": "2023-08-29T00:52:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9885
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9885/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9885/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9885/events
|
https://github.com/langchain-ai/langchain/pull/9885
| 1,870,587,965 |
PR_kwDOIPDwls5Y-ok5
| 9,885 |
Add collect_runs callback
|
{
"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-08-28T22:21:21 | 2023-08-28T22:30:42 | 2023-08-28T22:30:41 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9885/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9885",
"html_url": "https://github.com/langchain-ai/langchain/pull/9885",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9885.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9885.patch",
"merged_at": "2023-08-28T22:30:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9884
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9884/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9884/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9884/events
|
https://github.com/langchain-ai/langchain/issues/9884
| 1,870,563,425 |
I_kwDOIPDwls5vfohh
| 9,884 |
langchain.llms.Databricks does not save necessary params (e.g. endpoint_name, cluster_driver_port, etc.) to recover from its config
|
{
"login": "jinlinhe-db",
"id": 123980495,
"node_id": "U_kgDOB2PKzw",
"avatar_url": "https://avatars.githubusercontent.com/u/123980495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinlinhe-db",
"html_url": "https://github.com/jinlinhe-db",
"followers_url": "https://api.github.com/users/jinlinhe-db/followers",
"following_url": "https://api.github.com/users/jinlinhe-db/following{/other_user}",
"gists_url": "https://api.github.com/users/jinlinhe-db/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jinlinhe-db/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jinlinhe-db/subscriptions",
"organizations_url": "https://api.github.com/users/jinlinhe-db/orgs",
"repos_url": "https://api.github.com/users/jinlinhe-db/repos",
"events_url": "https://api.github.com/users/jinlinhe-db/events{/privacy}",
"received_events_url": "https://api.github.com/users/jinlinhe-db/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 4 | 2023-08-28T21:55:34 | 2023-12-06T11:38:45 | null |
NONE
| null |
### System Info
I used langchain=0.0.246 on Databricks, but this bug is due to the lack of implementation of `Databricks._identifying_params()`, so system info should not impact.
### Who can help?
I see that @nfcampos contributed to most of the Databricks model serving wrapper, so tagging you here.
@hwchase17 @agola11
### 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
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
llm = Databricks(host=databricks_host_name, endpoint_name=model_endpoint_name)
llm_chain = LLMChain(
llm=llm,
prompt=PromptTemplate.from_template(prompt_template),
verbose=True
llm_chain.save("path/to/llm_chain.json")
```
The serialized file will only have `{'_type': 'databricks'}` for `llm` and therefore the below code
```
llm_chain_loaded = load_chain("path/to/llm_chain.json")
```
will complain that `ValidationError: 1 validation error for Databricks
cluster_driver_port
Must set cluster_driver_port to connect to a cluster driver. (type=value_error)`.
This is because `llm_chain.save()` look at the llm chain's `_identifying_params()` which is not defined on `langchain.llms.Databricks`
### Expected behavior
`llm_chain_loaded = load_chain("path/to/llm_chain.json")` should recover the `langchain.llms.Databricks` instance correctly.
All fields on `langchain.llms.Databricks` that are necessary to re-initialize the instance from a config file should be added to `Databricks._identifying_params()`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9884/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9883
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9883/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9883/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9883/events
|
https://github.com/langchain-ai/langchain/pull/9883
| 1,870,545,666 |
PR_kwDOIPDwls5Y-fP1
| 9,883 |
Use existing required args obj if specified
|
{
"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-08-28T21:38:33 | 2023-08-28T21:40:23 | 2023-08-28T21:40:22 |
COLLABORATOR
| null |
We always overwrote the required args but we infer them by default. Doing it only the old way makes it so the llm guesses even if an arg is optional (e.g., for uuids)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9883/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9883",
"html_url": "https://github.com/langchain-ai/langchain/pull/9883",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9883.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9883.patch",
"merged_at": "2023-08-28T21:40:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9882
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9882/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9882/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9882/events
|
https://github.com/langchain-ai/langchain/pull/9882
| 1,870,521,421 |
PR_kwDOIPDwls5Y-Z8o
| 9,882 |
Remove hamming option from string distance tests
|
{
"login": "m3n3235",
"id": 107667084,
"node_id": "U_kgDOBmrejA",
"avatar_url": "https://avatars.githubusercontent.com/u/107667084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m3n3235",
"html_url": "https://github.com/m3n3235",
"followers_url": "https://api.github.com/users/m3n3235/followers",
"following_url": "https://api.github.com/users/m3n3235/following{/other_user}",
"gists_url": "https://api.github.com/users/m3n3235/gists{/gist_id}",
"starred_url": "https://api.github.com/users/m3n3235/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/m3n3235/subscriptions",
"organizations_url": "https://api.github.com/users/m3n3235/orgs",
"repos_url": "https://api.github.com/users/m3n3235/repos",
"events_url": "https://api.github.com/users/m3n3235/events{/privacy}",
"received_events_url": "https://api.github.com/users/m3n3235/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 |
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-08-28T21:16:32 | 2023-09-11T21:02:08 | 2023-09-11T20:50:20 |
CONTRIBUTOR
| null |
Description: We should not test Hamming string distance for strings that are not equal length, since this is not defined. Removing hamming distance tests for unequal string distances.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9882/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9882",
"html_url": "https://github.com/langchain-ai/langchain/pull/9882",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9882.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9882.patch",
"merged_at": "2023-09-11T20:50:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9881
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9881/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9881/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9881/events
|
https://github.com/langchain-ai/langchain/pull/9881
| 1,870,520,538 |
PR_kwDOIPDwls5Y-Zv-
| 9,881 |
Avoid `type: ignore` suppression by adding mypy type hint.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T21:15:47 | 2023-08-29T00:53:34 | 2023-08-29T00:53:33 |
COLLABORATOR
| null |
Mypy was not able to determine a good type for `type_to_loader_dict`,
since the values in the dict are functions whose return types are
related to each other in a complex way. One can see this by adding a
line like `reveal_type(type_to_loader_dict)` and running mypy, which
will get mypy to show what type it has inferred for that value.
Adding an explicit type hint to help out mypy avoids the need for a mypy
suppression and allows the code to type-check cleanly.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9881/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9881/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9881",
"html_url": "https://github.com/langchain-ai/langchain/pull/9881",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9881.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9881.patch",
"merged_at": "2023-08-29T00:53:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9880
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9880/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9880/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9880/events
|
https://github.com/langchain-ai/langchain/pull/9880
| 1,870,518,114 |
PR_kwDOIPDwls5Y-ZM7
| 9,880 |
Fix: Nested Dicts Handling of Document Metadata
|
{
"login": "lorenzofavaro",
"id": 44714920,
"node_id": "MDQ6VXNlcjQ0NzE0OTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/44714920?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lorenzofavaro",
"html_url": "https://github.com/lorenzofavaro",
"followers_url": "https://api.github.com/users/lorenzofavaro/followers",
"following_url": "https://api.github.com/users/lorenzofavaro/following{/other_user}",
"gists_url": "https://api.github.com/users/lorenzofavaro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lorenzofavaro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lorenzofavaro/subscriptions",
"organizations_url": "https://api.github.com/users/lorenzofavaro/orgs",
"repos_url": "https://api.github.com/users/lorenzofavaro/repos",
"events_url": "https://api.github.com/users/lorenzofavaro/events{/privacy}",
"received_events_url": "https://api.github.com/users/lorenzofavaro/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T21:14:14 | 2023-09-03T22:27:46 | 2023-09-03T22:27:46 |
CONTRIBUTOR
| null |
## Description
When the `MultiQueryRetriever` is used to get the list of documents relevant according to a query, inside a vector store, and at least one of these contain metadata with nested dictionaries, a `TypeError: unhashable type: 'dict'` exception is thrown.
This is caused by the `unique_union` function which, to guarantee the uniqueness of the returned documents, tries, unsuccessfully, to hash the nested dictionaries and use them as a part of key.
```python
unique_documents_dict = {
(doc.page_content, tuple(sorted(doc.metadata.items()))): doc
for doc in documents
}
```
## Issue
#9872 (MultiQueryRetriever (get_relevant_documents) raises TypeError: unhashable type: 'dict' with dic metadata)
## Solution
A possible solution is to dump the metadata dict to a string and use it as a part of hashed key.
```python
unique_documents_dict = {
(doc.page_content, json.dumps(doc.metadata, sort_keys=True)): doc
for doc in documents
}
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9880/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9880",
"html_url": "https://github.com/langchain-ai/langchain/pull/9880",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9880.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9880.patch",
"merged_at": "2023-09-03T22:27:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9879
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9879/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9879/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9879/events
|
https://github.com/langchain-ai/langchain/pull/9879
| 1,870,515,376 |
PR_kwDOIPDwls5Y-Yky
| 9,879 |
Add prompt hub for various use-cases
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T21:12:29 | 2023-09-03T22:32:23 | 2023-09-03T22:32:22 |
COLLABORATOR
| null |
Use prompt hub in our use-case docs and guides.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9879/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9879",
"html_url": "https://github.com/langchain-ai/langchain/pull/9879",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9879.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9879.patch",
"merged_at": "2023-09-03T22:32:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9878
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9878/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9878/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9878/events
|
https://github.com/langchain-ai/langchain/pull/9878
| 1,870,492,192 |
PR_kwDOIPDwls5Y-TVX
| 9,878 |
Wfh/async tool
|
{
"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-08-28T20:57:23 | 2023-08-29T22:37:42 | 2023-08-29T22:37:42 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9878/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9878",
"html_url": "https://github.com/langchain-ai/langchain/pull/9878",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9878.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9878.patch",
"merged_at": "2023-08-29T22:37:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9877
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9877/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9877/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9877/events
|
https://github.com/langchain-ai/langchain/pull/9877
| 1,870,481,356 |
PR_kwDOIPDwls5Y-Q8-
| 9,877 |
rfc: mem session
|
{
"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": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 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-08-28T20:48:36 | 2023-09-15T19:18:28 | 2023-09-15T19:18:28 |
COLLABORATOR
| null |
not pretty but curious if folks think this approach has legs
<img width="951" alt="Screenshot 2023-08-28 at 1 47 32 PM" src="https://github.com/langchain-ai/langchain/assets/22008038/0c634637-9c3a-4d58-8e37-420d16ffc888">
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9877/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9877",
"html_url": "https://github.com/langchain-ai/langchain/pull/9877",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9877.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9877.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9876
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9876/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9876/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9876/events
|
https://github.com/langchain-ai/langchain/issues/9876
| 1,870,444,609 |
I_kwDOIPDwls5vfLhB
| 9,876 |
How to send ConversationalRetrievalChain object as a response of api call in javascript
|
{
"login": "jemis140",
"id": 28834808,
"node_id": "MDQ6VXNlcjI4ODM0ODA4",
"avatar_url": "https://avatars.githubusercontent.com/u/28834808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jemis140",
"html_url": "https://github.com/jemis140",
"followers_url": "https://api.github.com/users/jemis140/followers",
"following_url": "https://api.github.com/users/jemis140/following{/other_user}",
"gists_url": "https://api.github.com/users/jemis140/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jemis140/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jemis140/subscriptions",
"organizations_url": "https://api.github.com/users/jemis140/orgs",
"repos_url": "https://api.github.com/users/jemis140/repos",
"events_url": "https://api.github.com/users/jemis140/events{/privacy}",
"received_events_url": "https://api.github.com/users/jemis140/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-28T20:20:12 | 2023-12-04T16:04:38 | 2023-12-04T16:04:37 |
NONE
| null |
### Issue you'd like to raise.
I am using FastAPI which is written in Python to develop nlp tool where user can generate conversation chain by uploading pdf docs. Data extraction and Preprocessing logic written in backend API. I want to send a conversation chain object which is not JSON serializable. Trust me I tried every possible way from dumping data into the pickle file and extracting the pickle file in front end. nothing is working. because there is no npm package available to parse pickle data. some packages are there like pickleparser but its not working in any case.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9876/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9875
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9875/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9875/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9875/events
|
https://github.com/langchain-ai/langchain/pull/9875
| 1,870,379,297 |
PR_kwDOIPDwls5Y96Gg
| 9,875 |
Updated notebook for comprehend moderation
|
{
"login": "3coins",
"id": 289369,
"node_id": "MDQ6VXNlcjI4OTM2OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/289369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/3coins",
"html_url": "https://github.com/3coins",
"followers_url": "https://api.github.com/users/3coins/followers",
"following_url": "https://api.github.com/users/3coins/following{/other_user}",
"gists_url": "https://api.github.com/users/3coins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/3coins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/3coins/subscriptions",
"organizations_url": "https://api.github.com/users/3coins/orgs",
"repos_url": "https://api.github.com/users/3coins/repos",
"events_url": "https://api.github.com/users/3coins/events{/privacy}",
"received_events_url": "https://api.github.com/users/3coins/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-08-28T19:46:21 | 2023-08-28T23:01:44 | 2023-08-28T23:01:44 |
CONTRIBUTOR
| null |
### Description
Updated the notebook for comprehend moderation.
cc @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9875/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9875",
"html_url": "https://github.com/langchain-ai/langchain/pull/9875",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9875.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9875.patch",
"merged_at": "2023-08-28T23:01:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9874
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9874/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9874/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9874/events
|
https://github.com/langchain-ai/langchain/pull/9874
| 1,870,359,406 |
PR_kwDOIPDwls5Y93IC
| 9,874 |
Add instructions for GGUF
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T19:40:04 | 2023-08-28T19:56:47 | 2023-08-28T19:56:46 |
COLLABORATOR
| null |
llama.cpp migrated to GGUF model format, and new releases (e.g., [here](https://huggingface.co/TheBloke)) now use GGUF.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9874/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9874",
"html_url": "https://github.com/langchain-ai/langchain/pull/9874",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9874.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9874.patch",
"merged_at": "2023-08-28T19:56:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9873
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9873/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9873/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9873/events
|
https://github.com/langchain-ai/langchain/pull/9873
| 1,870,329,658 |
PR_kwDOIPDwls5Y9wzy
| 9,873 |
adding batching
|
{
"login": "mcantillon21",
"id": 60069300,
"node_id": "MDQ6VXNlcjYwMDY5MzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/60069300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mcantillon21",
"html_url": "https://github.com/mcantillon21",
"followers_url": "https://api.github.com/users/mcantillon21/followers",
"following_url": "https://api.github.com/users/mcantillon21/following{/other_user}",
"gists_url": "https://api.github.com/users/mcantillon21/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mcantillon21/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcantillon21/subscriptions",
"organizations_url": "https://api.github.com/users/mcantillon21/orgs",
"repos_url": "https://api.github.com/users/mcantillon21/repos",
"events_url": "https://api.github.com/users/mcantillon21/events{/privacy}",
"received_events_url": "https://api.github.com/users/mcantillon21/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T19:20:01 | 2023-09-04T17:53:04 | 2023-09-04T17:53:04 |
CONTRIBUTOR
| null |
Had some trouble with Weaviate upserting and found myself doing this externally. It would be amazing if batch_size could be a param for all vectorstores. Maybe 100 is too low, but I've been using it and it works well. Would love thoughts!
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9873/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9873",
"html_url": "https://github.com/langchain-ai/langchain/pull/9873",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9873.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9873.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9872
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9872/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9872/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9872/events
|
https://github.com/langchain-ai/langchain/issues/9872
| 1,870,323,443 |
I_kwDOIPDwls5vet7z
| 9,872 |
MultiQueryRetriever (get_relevant_documents) raises TypeError: unhashable type: 'dict' with dic metadata
|
{
"login": "Pikauba",
"id": 35943113,
"node_id": "MDQ6VXNlcjM1OTQzMTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/35943113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pikauba",
"html_url": "https://github.com/Pikauba",
"followers_url": "https://api.github.com/users/Pikauba/followers",
"following_url": "https://api.github.com/users/Pikauba/following{/other_user}",
"gists_url": "https://api.github.com/users/Pikauba/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Pikauba/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Pikauba/subscriptions",
"organizations_url": "https://api.github.com/users/Pikauba/orgs",
"repos_url": "https://api.github.com/users/Pikauba/repos",
"events_url": "https://api.github.com/users/Pikauba/events{/privacy}",
"received_events_url": "https://api.github.com/users/Pikauba/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T19:15:25 | 2023-12-04T16:04:43 | 2023-12-04T16:04:42 |
NONE
| null |
### System Info
MultiQueryRetriever will fail to call `_get_relevant_documents` if the Document objects have metadata which are dictionaries.
```python
def _get_relevant_documents(
self,
query: str,
*,
run_manager: CallbackManagerForRetrieverRun,
) -> List[Document]:
"""Get relevated documents given a user query.
Args:
question: user query
Returns:
Unique union of relevant documents from all generated queries
"""
queries = self.generate_queries(query, run_manager)
documents = self.retrieve_documents(queries, run_manager)
unique_documents = self.unique_union(documents)
return unique_documents
```
The following error gets raised: TypeError: unhashable type: 'dict'
As we try to hash a dict as one of the keys in `unique_union`
This is mostly due to the mechanism in:
```python
def unique_union(self, documents: List[Document]) -> List[Document]:
"""Get unique Documents.
Args:
documents: List of retrieved Documents
Returns:
List of unique retrieved Documents
"""
# Create a dictionary with page_content as keys to remove duplicates
# TODO: Add Document ID property (e.g., UUID)
unique_documents_dict = {
(doc.page_content, tuple(sorted(doc.metadata.items()))): doc
for doc in documents
}
unique_documents = list(unique_documents_dict.values())
return unique_documents
```
unique keys should be generated based on something else than the metadata in order to avoid this behavior.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Run the examples in the: [MultiQueryRetriever Documentation](https://python.langchain.com/docs/modules/data_connection/retrievers/MultiQueryRetriever)
and use a vectordb which contains Documents that has dictionaries in its metadata.
### Expected behavior
TypeError: unhashable type: 'dict' will be raised.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9872/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9871
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9871/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9871/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9871/events
|
https://github.com/langchain-ai/langchain/pull/9871
| 1,870,209,939 |
PR_kwDOIPDwls5Y9YIG
| 9,871 |
docs: `ainetwork` 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 | 1 | 2023-08-28T18:05:06 | 2023-08-29T01:18:59 | 2023-08-29T01:16:23 |
COLLABORATOR
| null |
* Added links to the AI Network
* Made title consistent to other tool kits
* Added `integrations/providers/` integration card page
* **No changes** in the example code!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9871/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9871",
"html_url": "https://github.com/langchain-ai/langchain/pull/9871",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9871.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9871.patch",
"merged_at": "2023-08-29T01:16:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9870
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9870/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9870/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9870/events
|
https://github.com/langchain-ai/langchain/pull/9870
| 1,870,162,648 |
PR_kwDOIPDwls5Y9N0P
| 9,870 |
Add LLMonitor Callback Handler Integration - open-source observability & analytics
|
{
"login": "hughcrt",
"id": 24587702,
"node_id": "MDQ6VXNlcjI0NTg3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hughcrt",
"html_url": "https://github.com/hughcrt",
"followers_url": "https://api.github.com/users/hughcrt/followers",
"following_url": "https://api.github.com/users/hughcrt/following{/other_user}",
"gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions",
"organizations_url": "https://api.github.com/users/hughcrt/orgs",
"repos_url": "https://api.github.com/users/hughcrt/repos",
"events_url": "https://api.github.com/users/hughcrt/events{/privacy}",
"received_events_url": "https://api.github.com/users/hughcrt/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-08-28T17:29:23 | 2023-08-29T22:49:02 | 2023-08-29T22:49:01 |
CONTRIBUTOR
| null |
Adds support for [llmonitor](https://llmonitor.com) callbacks.
It enables:
- Requests tracking / logging / analytics
- Error debugging
- Cost analytics
- User tracking
Let me know if anythings neds to be changed for merge.
Thank you!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9870/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9870/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9870",
"html_url": "https://github.com/langchain-ai/langchain/pull/9870",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9870.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9870.patch",
"merged_at": "2023-08-29T22:49:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9869
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9869/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9869/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9869/events
|
https://github.com/langchain-ai/langchain/issues/9869
| 1,870,136,223 |
I_kwDOIPDwls5veAOf
| 9,869 |
Langchain AutoLLM class
|
{
"login": "Anindyadeep",
"id": 58508471,
"node_id": "MDQ6VXNlcjU4NTA4NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anindyadeep",
"html_url": "https://github.com/Anindyadeep",
"followers_url": "https://api.github.com/users/Anindyadeep/followers",
"following_url": "https://api.github.com/users/Anindyadeep/following{/other_user}",
"gists_url": "https://api.github.com/users/Anindyadeep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Anindyadeep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Anindyadeep/subscriptions",
"organizations_url": "https://api.github.com/users/Anindyadeep/orgs",
"repos_url": "https://api.github.com/users/Anindyadeep/repos",
"events_url": "https://api.github.com/users/Anindyadeep/events{/privacy}",
"received_events_url": "https://api.github.com/users/Anindyadeep/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-28T17:10:05 | 2023-12-06T17:43:45 | 2023-12-06T17:43:44 |
NONE
| null |
### Feature request
With more incoming of newer LLMs and LLM providers, either through APIs (like Open AI, Anthropic), or Local providers (like gpt4all, ctransformers, llama cpp etc). It becomes hard to keep track of and there is no uniform way os instantiating the LLM class.
For example:
```python
from langchain.llms.autollm import AutoLLM
model = AutoLLM.from_path(provider_name="gpt4all", model="orca-mini-3b.ggmlv3.q4_0.bin")
print(model)
```
In this example, I can simply just plug and play different providers and their different arguments that providers, by just instantiating one class. I took this inspiration from Hugging Face.
### Motivation
The problem arises when we are doing quick prototyping. We have to import different llms for different usage. So why not have a common interface that can solve that? Also, I tried to keep the complexity by grouping these LLMs into two types of classes.
```python
langchain.llms.AutoLLM.from_path
```
For all the local LLM providers. And
```
langchain.llms.AutoLLM.from_api
```
For all the online cloud LLM providers. In that way, it can be easily distinguishable and also helpful for the user not to go here and there to search for how different LLMs fit.
### Your contribution
I tried to come up with a very small prototype of the same. We can have a `utils.py` where we can keep these helper functions. Here is what the utils.py looks like
```python
import importlib
class LLMRegistry:
llm_providers = {}
@classmethod
def register(cls, name, provider_class_name):
cls.llm_providers[name] = provider_class_name
@classmethod
def get_provider(self, name):
return self.llm_providers.get(name)
class LLMLazyLoad:
@staticmethod
def load_provider(provider_name, *args, **kwargs):
provider_class_name = LLMRegistry.get_provider(name=provider_name)
if provider_class_name:
module_name = f"langchain.llms.{provider_name}"
module = importlib.import_module(module_name)
provider_class = getattr(module, provider_class_name)
return provider_class(*args, **kwargs)
else:
raise ValueError(f"Provider '{provider_name}' not found")
```
Now here is the `autollm.py` Where I created a very simple AutoLLM class. I made it simple just for a simple prototype purpose.
```python
from langchain.llms.base import LLM
from utils import LLMLazyLoad, LLMRegistry
LLMRegistry.register("anthropic", "Anthropic")
LLMRegistry.register("ctransformers", "CTransformers")
LLMRegistry.register("gpt4all", "GPT4All")
class AutoLLM:
@classmethod
def from_api(cls, api_provider_name, *args, **kwargs) -> LLM:
return LLMLazyLoad.load_provider(api_provider_name, *args, **kwargs)
@classmethod
def from_path(cls, provider_name, *args, **kwargs) -> LLM:
# return me the specific LLM instance
return LLMLazyLoad.load_provider(provider_name=provider_name, *args, **kwargs)
```
Here is the `main.py` file when we use the `AutoLLM` class.
```python
from autollm import AutoLLM
model = AutoLLM.from_path(provider_name="gpt4all", model="orca-mini-3b.ggmlv3.q4_0.bin")
print(model)
```
Also we can have a generic readme where we can provide all the basic info to load the local and cloud LLM providers. Here is what came in my mind.
`Readme.md`
### Langchain AutoLLM class
#### `from_path`
The `from_path` is a class method that helps us to instantiate different local LLMs. Here are the list of local LLM providers and the required arguments for each of them
#### GPT4All
Required arguments:
- `model`: This path where the model exists
Optional arguments:
- verbose: Whether to stream or not
- callbacks: Streaming callbacks
Here it is how we use with autollm class.
```python
from autollm import AutoLLM
model = AutoLLM.from_path(provider_name="gpt4all", model="orca-mini-3b.ggmlv3.q4_0.bin")
print(model("Hello world"))
```
For more information please visit the langchain-gpt4all page.
(Similarly, provide the basic info of usage for all the local/cloud providers). Well, of course, we might need a lot of improvements to provide the best user experience. However, do let me your thoughts on whether we can implement this or not.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9869/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9869/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9867
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9867/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9867/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9867/events
|
https://github.com/langchain-ai/langchain/pull/9867
| 1,870,123,837 |
PR_kwDOIPDwls5Y9FTo
| 9,867 |
Add security warning to experimental `SQLDatabaseChain` class.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T17:00:44 | 2023-08-28T17:53:29 | 2023-08-28T17:53:27 |
COLLABORATOR
| null |
The most reliable way to not have a chain run an undesirable SQL command is to not give it database permissions to run that command. That way the database itself performs the rule enforcement, so it's much easier to configure and use properly than anything we could add in ourselves.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9867/reactions",
"total_count": 1,
"+1": 0,
"-1": 1,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9867/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9867",
"html_url": "https://github.com/langchain-ai/langchain/pull/9867",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9867.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9867.patch",
"merged_at": "2023-08-28T17:53:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9866
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9866/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9866/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9866/events
|
https://github.com/langchain-ai/langchain/pull/9866
| 1,870,123,263 |
PR_kwDOIPDwls5Y9FLw
| 9,866 |
LRU cache for import to avoid repetetive calls to huggingface
|
{
"login": "pascalwhoop",
"id": 2284951,
"node_id": "MDQ6VXNlcjIyODQ5NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2284951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pascalwhoop",
"html_url": "https://github.com/pascalwhoop",
"followers_url": "https://api.github.com/users/pascalwhoop/followers",
"following_url": "https://api.github.com/users/pascalwhoop/following{/other_user}",
"gists_url": "https://api.github.com/users/pascalwhoop/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pascalwhoop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pascalwhoop/subscriptions",
"organizations_url": "https://api.github.com/users/pascalwhoop/orgs",
"repos_url": "https://api.github.com/users/pascalwhoop/repos",
"events_url": "https://api.github.com/users/pascalwhoop/events{/privacy}",
"received_events_url": "https://api.github.com/users/pascalwhoop/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T17:00:20 | 2023-09-03T22:33:38 | 2023-09-03T22:33:37 |
CONTRIBUTOR
| null |
# Description
Performance improvement to avoid repeated calls to huggingface when calling `RetrievalQAWithSourcesChain.from_chain_type`. By caching the call to the underlying transformers library, we avoid re-importing the library, instantiating the object and pulling data from huggingface. This significantly speeds up the chain (in our situation from 9 seconds to 3 seconds)
We noticed that our chain was spending a significant time pulling files from huggingface _on every LLM call_


Twitter: @PascalBrokmeier
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9866/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/9866/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9866",
"html_url": "https://github.com/langchain-ai/langchain/pull/9866",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9866.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9866.patch",
"merged_at": "2023-09-03T22:33:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9865
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9865/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9865/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9865/events
|
https://github.com/langchain-ai/langchain/issues/9865
| 1,869,988,229 |
I_kwDOIPDwls5vdcGF
| 9,865 |
llama.cpp does not support AsyncCallbackHandler
|
{
"login": "zimmerling",
"id": 47156896,
"node_id": "MDQ6VXNlcjQ3MTU2ODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/47156896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zimmerling",
"html_url": "https://github.com/zimmerling",
"followers_url": "https://api.github.com/users/zimmerling/followers",
"following_url": "https://api.github.com/users/zimmerling/following{/other_user}",
"gists_url": "https://api.github.com/users/zimmerling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zimmerling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zimmerling/subscriptions",
"organizations_url": "https://api.github.com/users/zimmerling/orgs",
"repos_url": "https://api.github.com/users/zimmerling/repos",
"events_url": "https://api.github.com/users/zimmerling/events{/privacy}",
"received_events_url": "https://api.github.com/users/zimmerling/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 9 | 2023-08-28T15:30:08 | 2023-10-19T19:01:24 | null |
NONE
| null |
### System Info
python:3.11.3
langchain: 0.0.274
dist: arch
### Who can help?
```
fastapi==0.103.0
qdrant-client==1.4.0
llama-cpp-python==0.1.72
```
### 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
- [X] Callbacks/Tracing
- [X] Async
### Reproduction
Hey @agola11,
I got this runtime warning:
`python3.11/site-packages/langchain/llms/llamacpp.py:312: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited`
I try to stream over a websocket the generated tokens. When I try to add a `AsyncCallbackHandler` to manage this streaming and run `acall` the warning occurs and nothing is streamed out.
```python
class StreamingLLMCallbackHandler(AsyncCallbackHandler):
def __init__(self, websocket: WebSocket):
super().__init__()
self.websocket = websocket
async def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
resp = ChatResponse(sender="bot", message=token, type="stream")
await self.websocket.send_json(resp.dict())
stream_manager = AsyncCallbackManager([StreamingLLMCallbackHandler(websocket)])
llm = return LlamaCpp(
model_path="models/llama-2-7b-chat.ggmlv3.q2_K.bin",
verbose=False,
n_gpu_layers=40,
n_batch=2048,
n_ctx=2048,
callback_manager=stream_manager
)
qa_chain = RetrievalQA.from_chain_type(llm=llm,
chain_type='stuff',
retriever=vectordb.as_retriever(search_kwargs={'k': 4}),
return_source_documents=True,
chain_type_kwargs={'prompt': prompt}
)
output = await qa_chain.acall(
{
'query': user_msg,
})
```
### Expected behavior
The expected behavior is that each token is streamed sequentially over the websocket.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9865/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/9865/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9864
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9864/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9864/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9864/events
|
https://github.com/langchain-ai/langchain/pull/9864
| 1,869,981,254 |
PR_kwDOIPDwls5Y8mDl
| 9,864 |
Add root run wrapping call to RunnableEach()
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T15:25:49 | 2023-09-01T14:57:35 | 2023-09-01T14:57:34 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9864/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9864",
"html_url": "https://github.com/langchain-ai/langchain/pull/9864",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9864.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9864.patch",
"merged_at": "2023-09-01T14:57:34"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9863
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9863/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9863/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9863/events
|
https://github.com/langchain-ai/langchain/pull/9863
| 1,869,933,347 |
PR_kwDOIPDwls5Y8bkv
| 9,863 |
Add data anonymizer
|
{
"login": "maks-operlejn-ds",
"id": 142261444,
"node_id": "U_kgDOCHq8xA",
"avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maks-operlejn-ds",
"html_url": "https://github.com/maks-operlejn-ds",
"followers_url": "https://api.github.com/users/maks-operlejn-ds/followers",
"following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}",
"gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions",
"organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs",
"repos_url": "https://api.github.com/users/maks-operlejn-ds/repos",
"events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}",
"received_events_url": "https://api.github.com/users/maks-operlejn-ds/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-28T14:58:07 | 2023-08-30T17:39:45 | 2023-08-30T17:39:44 |
CONTRIBUTOR
| null |
### Description
The feature for anonymizing data has been implemented. In order to protect private data, such as when querying external APIs (OpenAI), it is worth pseudonymizing sensitive data to maintain full privacy.
Anonynization consists of two steps:
1. **Identification:** Identify all data fields that contain personally identifiable information (PII).
2. **Replacement**: Replace all PIIs with pseudo values or codes that do not reveal any personal information about the individual but can be used for reference. We're not using regular encryption, because the language model won't be able to understand the meaning or context of the encrypted data.
We use *Microsoft Presidio* together with *Faker* framework for anonymization purposes because of the wide range of functionalities they provide. The full implementation is available in `PresidioAnonymizer`.
### Future works
- **deanonymization** - add the ability to reverse anonymization. For example, the workflow could look like this: `anonymize -> LLMChain -> deanonymize`. By doing this, we will retain anonymity in requests to, for example, OpenAI, and then be able restore the original data.
- **instance anonymization** - at this point, each occurrence of PII is treated as a separate entity and separately anonymized. Therefore, two occurrences of the name John Doe in the text will be changed to two different names. It is therefore worth introducing support for full instance detection, so that repeated occurrences are treated as a single object.
### Twitter handle
@deepsense_ai / @MaksOpp
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9863/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9863/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9863",
"html_url": "https://github.com/langchain-ai/langchain/pull/9863",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9863.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9863.patch",
"merged_at": "2023-08-30T17:39:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9862
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9862/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9862/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9862/events
|
https://github.com/langchain-ai/langchain/issues/9862
| 1,869,895,228 |
I_kwDOIPDwls5vdFY8
| 9,862 |
AWS Sagemaker JS Integration
|
{
"login": "maggarwal25",
"id": 135863452,
"node_id": "U_kgDOCBkcnA",
"avatar_url": "https://avatars.githubusercontent.com/u/135863452?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maggarwal25",
"html_url": "https://github.com/maggarwal25",
"followers_url": "https://api.github.com/users/maggarwal25/followers",
"following_url": "https://api.github.com/users/maggarwal25/following{/other_user}",
"gists_url": "https://api.github.com/users/maggarwal25/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maggarwal25/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maggarwal25/subscriptions",
"organizations_url": "https://api.github.com/users/maggarwal25/orgs",
"repos_url": "https://api.github.com/users/maggarwal25/repos",
"events_url": "https://api.github.com/users/maggarwal25/events{/privacy}",
"received_events_url": "https://api.github.com/users/maggarwal25/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 4 | 2023-08-28T14:37:00 | 2023-10-08T02:34:06 | null |
NONE
| null |
### System Info
JS LangChain
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
@dosu-bot
I got this error now with my code: ModelError: Received client error (424) from primary with message "{
"code":424,
"message":"prediction failure",
"error":"Need to pass custom_attributes='accept_eula=true' as part of header. This means you have read and accept the end-user license agreement (EULA) of the model. EULA can be found in model card description or from https://ai.meta.com/res
```
const { SageMakerLLMContentHandler, SageMakerEndpoint } = require("langchain/llms/sagemaker_endpoint");
const AWS = require('aws-sdk');
AWS.config.credentials = new AWS.SharedIniFileCredentials({ profile: 'profile' });
class HuggingFaceTextGenerationGPT2ContentHandler {
constructor(contentHandler) {
this.contentHandler = contentHandler;
this.contentType = "application/json";
this.accepts = "application/json";
}
async transformInput(prompt, modelKwargs) {
const inputString = JSON.stringify({
text_inputs: prompt,
...modelKwargs,
});
return Buffer.from(inputString);
}
async transformOutput(output) {
const responseJson = JSON.parse(Buffer.from(output).toString("utf-8"));
return responseJson.generated_texts[0];
}
}
const contentHandler = new HuggingFaceTextGenerationGPT2ContentHandler(SageMakerLLMContentHandler);
const model = new SageMakerEndpoint({
endpointName: "endpointName",
modelKwargs: { temperature: 1e-10 },
contentHandler: contentHandler, // Pass the inner contentHandler
clientOptions: {
region: "region",
credentials: AWS.config.credentials,
},
});
async function main() {
const res = await model.call("Hello, my name is ");
console.log({ res });
}
main();
```
Can you show where to add the eula agreement acceptanced parameter
### Expected behavior
I expected it to pass, but it asked me to accept a EULA Agreement. I tried customized arguments but that didn't seem to solve hte issue either
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9862/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9861
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9861/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9861/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9861/events
|
https://github.com/langchain-ai/langchain/pull/9861
| 1,869,866,593 |
PR_kwDOIPDwls5Y8NFx
| 9,861 |
Use unified Python setup steps for release workflow.
|
{
"login": "obi1kenobi",
"id": 2348618,
"node_id": "MDQ6VXNlcjIzNDg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obi1kenobi",
"html_url": "https://github.com/obi1kenobi",
"followers_url": "https://api.github.com/users/obi1kenobi/followers",
"following_url": "https://api.github.com/users/obi1kenobi/following{/other_user}",
"gists_url": "https://api.github.com/users/obi1kenobi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/obi1kenobi/subscriptions",
"organizations_url": "https://api.github.com/users/obi1kenobi/orgs",
"repos_url": "https://api.github.com/users/obi1kenobi/repos",
"events_url": "https://api.github.com/users/obi1kenobi/events{/privacy}",
"received_events_url": "https://api.github.com/users/obi1kenobi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T14:21:31 | 2023-08-29T22:46:26 | 2023-08-29T22:46:25 |
COLLABORATOR
| null |
Using the same Python setup GitHub Action step as the lint and test workflows.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9861/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9861",
"html_url": "https://github.com/langchain-ai/langchain/pull/9861",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9861.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9861.patch",
"merged_at": "2023-08-29T22:46:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9860
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9860/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9860/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9860/events
|
https://github.com/langchain-ai/langchain/pull/9860
| 1,869,860,247 |
PR_kwDOIPDwls5Y8Lsb
| 9,860 |
bump 275
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T14:18:14 | 2023-08-28T14:27:08 | 2023-08-28T14:27:07 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9860/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9860",
"html_url": "https://github.com/langchain-ai/langchain/pull/9860",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9860.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9860.patch",
"merged_at": "2023-08-28T14:27:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9859
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9859/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9859/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9859/events
|
https://github.com/langchain-ai/langchain/pull/9859
| 1,869,848,818 |
PR_kwDOIPDwls5Y8JLh
| 9,859 |
Pinecone upsert parallelization
|
{
"login": "StankoKuveljic",
"id": 16047967,
"node_id": "MDQ6VXNlcjE2MDQ3OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/16047967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StankoKuveljic",
"html_url": "https://github.com/StankoKuveljic",
"followers_url": "https://api.github.com/users/StankoKuveljic/followers",
"following_url": "https://api.github.com/users/StankoKuveljic/following{/other_user}",
"gists_url": "https://api.github.com/users/StankoKuveljic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/StankoKuveljic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StankoKuveljic/subscriptions",
"organizations_url": "https://api.github.com/users/StankoKuveljic/orgs",
"repos_url": "https://api.github.com/users/StankoKuveljic/repos",
"events_url": "https://api.github.com/users/StankoKuveljic/events{/privacy}",
"received_events_url": "https://api.github.com/users/StankoKuveljic/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 7 | 2023-08-28T14:11:52 | 2023-09-11T07:21:22 | 2023-09-03T22:37:42 |
CONTRIBUTOR
| null |
Issue: closes #9855
* consolidates `from_texts` and `add_texts` functions for pinecone upsert
* adds two types of batching (one for embeddings and one for index upsert)
* adds thread pool size when instantiating pinecone index
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9859/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9859",
"html_url": "https://github.com/langchain-ai/langchain/pull/9859",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9859.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9859.patch",
"merged_at": "2023-09-03T22:37:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9858
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9858/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9858/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9858/events
|
https://github.com/langchain-ai/langchain/pull/9858
| 1,869,791,388 |
PR_kwDOIPDwls5Y78oS
| 9,858 |
fixed GoogleCloudEnterpriseSearchRetriever returning an empty array
|
{
"login": "lkuligin",
"id": 11026406,
"node_id": "MDQ6VXNlcjExMDI2NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11026406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkuligin",
"html_url": "https://github.com/lkuligin",
"followers_url": "https://api.github.com/users/lkuligin/followers",
"following_url": "https://api.github.com/users/lkuligin/following{/other_user}",
"gists_url": "https://api.github.com/users/lkuligin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lkuligin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lkuligin/subscriptions",
"organizations_url": "https://api.github.com/users/lkuligin/orgs",
"repos_url": "https://api.github.com/users/lkuligin/repos",
"events_url": "https://api.github.com/users/lkuligin/events{/privacy}",
"received_events_url": "https://api.github.com/users/lkuligin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-08-28T13:40:21 | 2023-08-30T00:49:48 | 2023-08-30T00:49:48 |
CONTRIBUTOR
| null |
`GoogleCloudEnterpriseSearchRetriever` returned an empty array of documents earlier, fixed
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9858/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9858",
"html_url": "https://github.com/langchain-ai/langchain/pull/9858",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9858.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9858.patch",
"merged_at": "2023-08-30T00:49:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9856
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9856/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9856/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9856/events
|
https://github.com/langchain-ai/langchain/pull/9856
| 1,869,784,815 |
PR_kwDOIPDwls5Y77M6
| 9,856 |
Add Azure search custom fields test
|
{
"login": "NatanMish",
"id": 55988916,
"node_id": "MDQ6VXNlcjU1OTg4OTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/55988916?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NatanMish",
"html_url": "https://github.com/NatanMish",
"followers_url": "https://api.github.com/users/NatanMish/followers",
"following_url": "https://api.github.com/users/NatanMish/following{/other_user}",
"gists_url": "https://api.github.com/users/NatanMish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NatanMish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NatanMish/subscriptions",
"organizations_url": "https://api.github.com/users/NatanMish/orgs",
"repos_url": "https://api.github.com/users/NatanMish/repos",
"events_url": "https://api.github.com/users/NatanMish/events{/privacy}",
"received_events_url": "https://api.github.com/users/NatanMish/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T13:36:35 | 2023-09-27T18:09:47 | 2023-09-27T18:09:47 |
NONE
| null |
This PR adds an integration test for adding custom fields to the Azure Search integration, following issue #9765
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9856/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9856",
"html_url": "https://github.com/langchain-ai/langchain/pull/9856",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9856.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9856.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9855
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9855/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9855/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9855/events
|
https://github.com/langchain-ai/langchain/issues/9855
| 1,869,736,267 |
I_kwDOIPDwls5vcelL
| 9,855 |
Support index upsert parallelization for pinecone
|
{
"login": "StankoKuveljic",
"id": 16047967,
"node_id": "MDQ6VXNlcjE2MDQ3OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/16047967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StankoKuveljic",
"html_url": "https://github.com/StankoKuveljic",
"followers_url": "https://api.github.com/users/StankoKuveljic/followers",
"following_url": "https://api.github.com/users/StankoKuveljic/following{/other_user}",
"gists_url": "https://api.github.com/users/StankoKuveljic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/StankoKuveljic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StankoKuveljic/subscriptions",
"organizations_url": "https://api.github.com/users/StankoKuveljic/orgs",
"repos_url": "https://api.github.com/users/StankoKuveljic/repos",
"events_url": "https://api.github.com/users/StankoKuveljic/events{/privacy}",
"received_events_url": "https://api.github.com/users/StankoKuveljic/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T13:09:29 | 2023-09-03T22:37:43 | 2023-09-03T22:37:43 |
CONTRIBUTOR
| null |
### Feature request
We can take advantage from pinecone parallel upsert (see example: https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel)
This will require modification of the current `from_texts` pipeline to
1. Create a batch (chunk) for doing embeddings (ie have a chunk size of 1000 for embeddings)
2. Perform a parallel upsert to Pinecone index on that chunk
This way we are in control on 3 things:
1. Thread pool for pinecone index
2. Parametrize the batch size for embeddings (ie it helps to avoid rate limit for OpenAI embeddings)
3. Parametrize the batch size for upsert (it helps to avoid throttling of pinecone API)
As a part of this ticket, we can consolidate the code between `add_texts` and `from_texts` as they are doing the similar thing.
### Motivation
The function `from_text` and `add_text` for index upsert doesn't take advantage of parallelism especially when embeddings are calculated by HTTP calls (ie OpenAI embeddings). This makes the whole sequence inefficient from IO bound standpoint as the pipeline is following:
1. Take a small batch ie 32/64 of documents
2. Calculate embeddings --> WAIT
3. Upsert a batch --> WAIT
We can benefit from either parallel upsert or we can utilize `asyncio`.
### Your contribution
I will do it.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9855/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9854
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9854/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9854/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9854/events
|
https://github.com/langchain-ai/langchain/issues/9854
| 1,869,658,676 |
I_kwDOIPDwls5vcLo0
| 9,854 |
AttributeError: module 'langchain' has no attribute 'verbose'
|
{
"login": "urbanscribe",
"id": 2935311,
"node_id": "MDQ6VXNlcjI5MzUzMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2935311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/urbanscribe",
"html_url": "https://github.com/urbanscribe",
"followers_url": "https://api.github.com/users/urbanscribe/followers",
"following_url": "https://api.github.com/users/urbanscribe/following{/other_user}",
"gists_url": "https://api.github.com/users/urbanscribe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/urbanscribe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/urbanscribe/subscriptions",
"organizations_url": "https://api.github.com/users/urbanscribe/orgs",
"repos_url": "https://api.github.com/users/urbanscribe/repos",
"events_url": "https://api.github.com/users/urbanscribe/events{/privacy}",
"received_events_url": "https://api.github.com/users/urbanscribe/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 15 | 2023-08-28T12:23:46 | 2023-10-10T04:54:18 | null |
NONE
| null |
### System Info
274
Mac M2
this error appears often and unexpectedly
but gets solved temporarily by running a force reinstall
`pip install --upgrade --force-reinstall --no-deps --no-cache-dir langchain
`
full error
```
2023-08-28 08:16:48.197 Uncaught app exception
Traceback (most recent call last):
File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/Users/user/Developer/newfilesystem/pages/chat.py", line 104, in <module>
llm = ChatOpenAI(
File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/langchain/load/serializable.py", line 74, in __init__
super().__init__(**kwargs)
File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 1066, in pydantic.main.validate_model
File "pydantic/fields.py", line 439, in pydantic.fields.ModelField.get_default
File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/langchain/chat_models/base.py", line 49, in _get_verbosity
return langchain.verbose
```
main librairies in the project
requests streamlit pandas colorlog python-dotenv tqdm fastapi uvicorn
langchain openai tiktoken chromadb pypdf
colorlog logger docx2txt
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [X] Vector Stores / Retrievers
- [X] Memory
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [X] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
intermittent - no pattern
### Expected behavior
resolution
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9854/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/9854/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9853
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9853/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9853/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9853/events
|
https://github.com/langchain-ai/langchain/issues/9853
| 1,869,623,805 |
I_kwDOIPDwls5vcDH9
| 9,853 |
Constraining the search using 'where_filter' in case of similarity_score_threshold for langchain Weaviate wrapper
|
{
"login": "amitmadahar",
"id": 34081823,
"node_id": "MDQ6VXNlcjM0MDgxODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/34081823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amitmadahar",
"html_url": "https://github.com/amitmadahar",
"followers_url": "https://api.github.com/users/amitmadahar/followers",
"following_url": "https://api.github.com/users/amitmadahar/following{/other_user}",
"gists_url": "https://api.github.com/users/amitmadahar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amitmadahar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amitmadahar/subscriptions",
"organizations_url": "https://api.github.com/users/amitmadahar/orgs",
"repos_url": "https://api.github.com/users/amitmadahar/repos",
"events_url": "https://api.github.com/users/amitmadahar/events{/privacy}",
"received_events_url": "https://api.github.com/users/amitmadahar/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T12:02:19 | 2023-12-04T16:04:53 | 2023-12-04T16:04:52 |
NONE
| null |
### System Info
https://github.com/langchain-ai/langchain/blob/610f46d83aae6e1e25d76a0222b3158e2c4f7034/libs/langchain/langchain/vectorstores/weaviate.py
Issue in Langchain Weaviate Wrapper.
Trying to constraint the search in case of `similarity_score_threshold` ignoring the `where_filter ` filters in the langchain Weaviate wrapper.
`where_filter` implementation is missing for `similarity_score_threshold`.
The issue is with `similarity_search_with_score` function.
The fix would be to add the following after line 346, the point after the query_obj is initialized.
` if kwargs.get("where_filter"):
query_obj = query_obj.with_where(kwargs.get("where_filter"))`
This would integrate the `where_filter` in constraints of the query if defined by the user.
### Who can help?
@hwchase17
@rohitgr7
@baskaryan
@leo-gan
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
https://github.com/langchain-ai/langchain/blob/610f46d83aae6e1e25d76a0222b3158e2c4f7034/libs/langchain/langchain/vectorstores/weaviate.py
Issue in Langchain Weaviate Wrapper.
Trying to constraint the search in case of `similarity_score_threshold` ignoring the `where_filter ` filters in the langchain Weaviate wrapper.
`where_filter` implementation is missing for `similarity_score_threshold`.
### Expected behavior
https://github.com/langchain-ai/langchain/blob/610f46d83aae6e1e25d76a0222b3158e2c4f7034/libs/langchain/langchain/vectorstores/weaviate.py
The fix would be to add the following after line 346, the point after the query_obj is initialized.
` if kwargs.get("where_filter"):
query_obj = query_obj.with_where(kwargs.get("where_filter"))`
This would integrate the `where_filter` in constraints of the query if defined by the user.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9853/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9851
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9851/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9851/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9851/events
|
https://github.com/langchain-ai/langchain/pull/9851
| 1,869,613,874 |
PR_kwDOIPDwls5Y7Vu8
| 9,851 |
Update only notebook
|
{
"login": "pprados",
"id": 204694,
"node_id": "MDQ6VXNlcjIwNDY5NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/204694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pprados",
"html_url": "https://github.com/pprados",
"followers_url": "https://api.github.com/users/pprados/followers",
"following_url": "https://api.github.com/users/pprados/following{/other_user}",
"gists_url": "https://api.github.com/users/pprados/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pprados/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pprados/subscriptions",
"organizations_url": "https://api.github.com/users/pprados/orgs",
"repos_url": "https://api.github.com/users/pprados/repos",
"events_url": "https://api.github.com/users/pprados/events{/privacy}",
"received_events_url": "https://api.github.com/users/pprados/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-08-28T11:56:05 | 2023-08-29T02:29:36 | 2023-08-29T02:29:36 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9851/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9851",
"html_url": "https://github.com/langchain-ai/langchain/pull/9851",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9851.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9851.patch",
"merged_at": "2023-08-29T02:29:36"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9850
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9850/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9850/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9850/events
|
https://github.com/langchain-ai/langchain/pull/9850
| 1,869,583,874 |
PR_kwDOIPDwls5Y7PGr
| 9,850 |
Virtual column name for self-querying retrievers
|
{
"login": "mpskex",
"id": 8456706,
"node_id": "MDQ6VXNlcjg0NTY3MDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8456706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpskex",
"html_url": "https://github.com/mpskex",
"followers_url": "https://api.github.com/users/mpskex/followers",
"following_url": "https://api.github.com/users/mpskex/following{/other_user}",
"gists_url": "https://api.github.com/users/mpskex/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mpskex/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpskex/subscriptions",
"organizations_url": "https://api.github.com/users/mpskex/orgs",
"repos_url": "https://api.github.com/users/mpskex/repos",
"events_url": "https://api.github.com/users/mpskex/events{/privacy}",
"received_events_url": "https://api.github.com/users/mpskex/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714130,
"node_id": "LA_kwDOIPDwls8AAAABc3-rkg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XL",
"name": "size:XL",
"color": "D4C5F9",
"default": false,
"description": "This PR changes 500-999 lines, ignoring generated files."
}
] |
closed
| false |
{
"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 | 8 | 2023-08-28T11:36:37 | 2023-12-04T09:49:12 | 2023-12-04T03:00:16 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
Self query retrievers are powerful and it can be even stronger than before. Taking MyScale as an example, sometimes the user may add complex SQL function to a column name. So we add a `VirtualColumnName` for self-query retriever to reduce token usage with extra functionality.
1. a function that dynamically creates function mapped column names, which becomes handy when the user want to compare between current time / location or other attributes along with a column.
2. complex function call in plain string can now be replaced with a shorter nickname in prompt, which saves number of token for very long function names.
3. refined the logic in MyScale translator to meet this standard.
This change will not affect other self query retrievers as it preserves the original plain string interface under comparison. The actual difference happens under `QueryTransformer` in `query_construct.parser` for `Lark` parser.
`Comparator.attribute` can now be either a string or a `VirtualColumnName`. I have defined the default behaviour which stops the user to use `VirtualColumnName` under other vectorstores than MyScale.
This functionality will boost the self-query retrievers as a bridge between text and simple SQL query. And we believe this will help users to expand their usage to this retriever. Other SQL vector database is theoretically compatible to this new feature as well.
Hope you find this interesting.
@hwchase17 @baskaryan
Our contact on twitter: @MyScaleDB @mpsk_liu
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9850/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9850",
"html_url": "https://github.com/langchain-ai/langchain/pull/9850",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9850.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9850.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9849
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9849/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9849/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9849/events
|
https://github.com/langchain-ai/langchain/pull/9849
| 1,869,575,430 |
PR_kwDOIPDwls5Y7NPM
| 9,849 |
Extend SQLChatMessageHistory
|
{
"login": "asai95",
"id": 18037290,
"node_id": "MDQ6VXNlcjE4MDM3Mjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/18037290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asai95",
"html_url": "https://github.com/asai95",
"followers_url": "https://api.github.com/users/asai95/followers",
"following_url": "https://api.github.com/users/asai95/following{/other_user}",
"gists_url": "https://api.github.com/users/asai95/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asai95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asai95/subscriptions",
"organizations_url": "https://api.github.com/users/asai95/orgs",
"repos_url": "https://api.github.com/users/asai95/repos",
"events_url": "https://api.github.com/users/asai95/events{/privacy}",
"received_events_url": "https://api.github.com/users/asai95/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-08-28T11:31:07 | 2023-09-03T22:49:53 | 2023-09-03T22:49:53 |
CONTRIBUTOR
| null |
### Description
There is a really nice class for saving chat messages into a database - SQLChatMessageHistory.
It leverages SqlAlchemy to be compatible with any supported database (in contrast with PostgresChatMessageHistory, which is basically the same but is limited to Postgres).
However, the class is not really customizable in terms of what you can store. I can imagine a lot of use cases, when one will need to save a message date, along with some additional metadata.
To solve this, I propose to extract the converting logic from BaseMessage to SQLAlchemy model (and vice versa) into a separate class - message converter. So instead of rewriting the whole SQLChatMessageHistory class, a user will only need to write a custom model and a simple mapping class, and pass its instance as a parameter.
I also noticed that there is no documentation on this class, so I added that too, with an example of custom message converter.
### Issue
N/A
### Dependencies
N/A
### Tag maintainer
Not yet
### Twitter handle
N/A
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9849/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9849",
"html_url": "https://github.com/langchain-ai/langchain/pull/9849",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9849.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9849.patch",
"merged_at": "2023-09-03T22:49:53"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9848
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9848/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9848/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9848/events
|
https://github.com/langchain-ai/langchain/issues/9848
| 1,869,572,223 |
I_kwDOIPDwls5vb2h_
| 9,848 |
How to connect MS-SQL with LANG-CHAIN
|
{
"login": "AnasKhan-25",
"id": 110221695,
"node_id": "U_kgDOBpHZfw",
"avatar_url": "https://avatars.githubusercontent.com/u/110221695?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnasKhan-25",
"html_url": "https://github.com/AnasKhan-25",
"followers_url": "https://api.github.com/users/AnasKhan-25/followers",
"following_url": "https://api.github.com/users/AnasKhan-25/following{/other_user}",
"gists_url": "https://api.github.com/users/AnasKhan-25/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnasKhan-25/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnasKhan-25/subscriptions",
"organizations_url": "https://api.github.com/users/AnasKhan-25/orgs",
"repos_url": "https://api.github.com/users/AnasKhan-25/repos",
"events_url": "https://api.github.com/users/AnasKhan-25/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnasKhan-25/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 | 8 | 2023-08-28T11:29:04 | 2023-12-06T17:43:50 | 2023-12-06T17:43:49 |
NONE
| null |
### Issue you'd like to raise.
db = SQLDatabase.from_uri(
"mysql+pyodbc://Driver={SQL Server};Server=DESKTOP-17L7UI1\SQLEXPRESS;Database=DociQDb;rusted_Connection=yes;",)
I am trying to connect to my microsoft sql server but this give me error
sqlalchemy.exc.DBAPIError: (pyodbc.Error) ('IM010', '[IM010] [Microsoft][ODBC Driver Manager] Data source name too long (0) (SQLDriverConnect)')
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9848/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9846
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9846/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9846/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9846/events
|
https://github.com/langchain-ai/langchain/pull/9846
| 1,869,507,800 |
PR_kwDOIPDwls5Y6-Qt
| 9,846 |
Vearch vectorstore
|
{
"login": "zhanghexian",
"id": 96572405,
"node_id": "U_kgDOBcGT9Q",
"avatar_url": "https://avatars.githubusercontent.com/u/96572405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhanghexian",
"html_url": "https://github.com/zhanghexian",
"followers_url": "https://api.github.com/users/zhanghexian/followers",
"following_url": "https://api.github.com/users/zhanghexian/following{/other_user}",
"gists_url": "https://api.github.com/users/zhanghexian/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhanghexian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhanghexian/subscriptions",
"organizations_url": "https://api.github.com/users/zhanghexian/orgs",
"repos_url": "https://api.github.com/users/zhanghexian/repos",
"events_url": "https://api.github.com/users/zhanghexian/events{/privacy}",
"received_events_url": "https://api.github.com/users/zhanghexian/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 5 | 2023-08-28T10:46:59 | 2023-09-09T00:07:37 | 2023-09-08T23:51:14 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9846/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9846",
"html_url": "https://github.com/langchain-ai/langchain/pull/9846",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9846.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9846.patch",
"merged_at": "2023-09-08T23:51:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9845
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9845/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9845/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9845/events
|
https://github.com/langchain-ai/langchain/pull/9845
| 1,869,462,629 |
PR_kwDOIPDwls5Y60KR
| 9,845 |
Mazharsaif patch 1
|
{
"login": "mazharsaif",
"id": 63152706,
"node_id": "MDQ6VXNlcjYzMTUyNzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/63152706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mazharsaif",
"html_url": "https://github.com/mazharsaif",
"followers_url": "https://api.github.com/users/mazharsaif/followers",
"following_url": "https://api.github.com/users/mazharsaif/following{/other_user}",
"gists_url": "https://api.github.com/users/mazharsaif/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mazharsaif/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mazharsaif/subscriptions",
"organizations_url": "https://api.github.com/users/mazharsaif/orgs",
"repos_url": "https://api.github.com/users/mazharsaif/repos",
"events_url": "https://api.github.com/users/mazharsaif/events{/privacy}",
"received_events_url": "https://api.github.com/users/mazharsaif/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-08-28T10:20:50 | 2023-08-29T03:14:15 | 2023-08-29T02:30:00 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
docs: Fix spelling mistakes in Etherscan.ipynb
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9845/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9845",
"html_url": "https://github.com/langchain-ai/langchain/pull/9845",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9845.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9845.patch",
"merged_at": "2023-08-29T02:30:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9844
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9844/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9844/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9844/events
|
https://github.com/langchain-ai/langchain/pull/9844
| 1,869,381,260 |
PR_kwDOIPDwls5Y6iYj
| 9,844 |
Langchain ai master
|
{
"login": "Rai220",
"id": 1329774,
"node_id": "MDQ6VXNlcjEzMjk3NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1329774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rai220",
"html_url": "https://github.com/Rai220",
"followers_url": "https://api.github.com/users/Rai220/followers",
"following_url": "https://api.github.com/users/Rai220/following{/other_user}",
"gists_url": "https://api.github.com/users/Rai220/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Rai220/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rai220/subscriptions",
"organizations_url": "https://api.github.com/users/Rai220/orgs",
"repos_url": "https://api.github.com/users/Rai220/repos",
"events_url": "https://api.github.com/users/Rai220/events{/privacy}",
"received_events_url": "https://api.github.com/users/Rai220/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T09:32:14 | 2023-08-28T09:41:35 | 2023-08-28T09:32:23 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9844/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9844",
"html_url": "https://github.com/langchain-ai/langchain/pull/9844",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9844.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9844.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9843
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9843/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9843/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9843/events
|
https://github.com/langchain-ai/langchain/issues/9843
| 1,869,349,364 |
I_kwDOIPDwls5vbAH0
| 9,843 |
CharacterTextSplitter inconsistent/wrong output using regex pattern
|
{
"login": "mgvalverde",
"id": 32850810,
"node_id": "MDQ6VXNlcjMyODUwODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/32850810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mgvalverde",
"html_url": "https://github.com/mgvalverde",
"followers_url": "https://api.github.com/users/mgvalverde/followers",
"following_url": "https://api.github.com/users/mgvalverde/following{/other_user}",
"gists_url": "https://api.github.com/users/mgvalverde/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mgvalverde/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mgvalverde/subscriptions",
"organizations_url": "https://api.github.com/users/mgvalverde/orgs",
"repos_url": "https://api.github.com/users/mgvalverde/repos",
"events_url": "https://api.github.com/users/mgvalverde/events{/privacy}",
"received_events_url": "https://api.github.com/users/mgvalverde/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T09:13:20 | 2023-12-04T16:05:03 | 2023-12-04T16:05:02 |
CONTRIBUTOR
| null |
### System Info
Langchain version 0.0.259
Ubuntu 20.04
Python 3.9.15
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Using regex in the CharacterTextSplitter leads to a couple of unexpected behaviours.
1. When it merges the small chunks into larger chunks, it uses the separator, leading to outputs like those below (0, 2)
2. This could be arguable, and personally I don't think it's so problematic. The number of splits could be different depending on whether `keep_separator` is True or False. (0, 1)
```python
from langchain.text_splitter import CharacterTextSplitter
import string
char_chunk = string.ascii_uppercase[:5] # ABCDE
text = "\n\n".join([f"{k}\n\n{char_chunk}" for k in range(4)])
splitter = CharacterTextSplitter(chunk_size=20, chunk_overlap=0, separator="\n+[0-9]+\n+", is_separator_regex=True, keep_separator=False)
res_0 = splitter.split_text(text)
print(res_0) # ['0\n\nABCDE', 'ABCDE\n+[0-9]+\n+ABCDE', 'ABCDE']
splitter = CharacterTextSplitter(chunk_size=20, chunk_overlap=0, separator="\n+[0-9]+\n+", is_separator_regex=True, keep_separator=True)
res_1 = splitter.split_text(text)
print(res_1) # ['0\n\nABCDE\n\n1\n\nABCDE', '2\n\nABCDE\n\n3\n\nABCDE']
splitter = CharacterTextSplitter(chunk_size=20, chunk_overlap=0, separator="\n*[0-9]+\n*", is_separator_regex=True, keep_separator=False)
res_2 = splitter.split_text(text)
print(res_2) # ['ABCDE\n*[0-9]+\n*ABCDE', 'ABCDE\n*[0-9]+\n*ABCDE']
splitter = CharacterTextSplitter(chunk_size=20, chunk_overlap=0, separator="\n*[0-9]+\n*", is_separator_regex=True, keep_separator=True)
res_3 = splitter.split_text(text)
print(res_3) # ['0\n\nABCDE\n\n1\n\nABCDE', '2\n\nABCDE\n\n3\n\nABCDE']
```
### Expected behavior
1. Use the actual characters to merge the two chunks into a larger chunk instead of the regex sepatator. I.e:
```python
# ['0\n\nABCDE', 'ABCDE\n\n2\n\nABCDE', 'ABCDE']
```
2. Consistency among the number of splits in both cases of `keep_separator`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9843/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9842
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9842/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9842/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9842/events
|
https://github.com/langchain-ai/langchain/issues/9842
| 1,869,306,384 |
I_kwDOIPDwls5va1oQ
| 9,842 |
Being able to see model's responses when using verbose mode
|
{
"login": "kevin-guimard-ext",
"id": 140074762,
"node_id": "U_kgDOCFlfCg",
"avatar_url": "https://avatars.githubusercontent.com/u/140074762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevin-guimard-ext",
"html_url": "https://github.com/kevin-guimard-ext",
"followers_url": "https://api.github.com/users/kevin-guimard-ext/followers",
"following_url": "https://api.github.com/users/kevin-guimard-ext/following{/other_user}",
"gists_url": "https://api.github.com/users/kevin-guimard-ext/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevin-guimard-ext/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevin-guimard-ext/subscriptions",
"organizations_url": "https://api.github.com/users/kevin-guimard-ext/orgs",
"repos_url": "https://api.github.com/users/kevin-guimard-ext/repos",
"events_url": "https://api.github.com/users/kevin-guimard-ext/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevin-guimard-ext/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 5 | 2023-08-28T08:47:43 | 2023-12-04T16:05:09 | 2023-12-04T16:05:08 |
NONE
| null |
### Feature request
Currently, when the _verbose_ attribute is set to True in the constructor of an _LLMChain_ object, only the input passed to the LLM is shown. It would be desirable to also see the raw output of the LLM before it is parsed.
### Motivation
Seeing both inputs and outputs of the LLM would help debug the chain. Exceptions often occur when an output parser is used and the parser throws an exception (because the LLM's output was not in the expected format). In that case one cannot see what the LLM's output was.
### Your contribution
I had a look at the code of LLMChain and it seems that a print (or a callback) could be added in the _call method, between the call to _generate_ and the call to _create_outputs_:
```
def _call(
self,
inputs: Dict[str, Any],
run_manager: Optional[CallbackManagerForChainRun] = None,
) -> Dict[str, str]:
response = self.generate([inputs], run_manager=run_manager)
# Add a print/callback here
return self.create_outputs(response)[0]
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9842/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/9842/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9841
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9841/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9841/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9841/events
|
https://github.com/langchain-ai/langchain/issues/9841
| 1,869,160,370 |
I_kwDOIPDwls5vaR-y
| 9,841 |
VLLM: Can't instantiate abstract class VLLM with abstract method _agenerate
|
{
"login": "Yuval-Moshe",
"id": 53703174,
"node_id": "MDQ6VXNlcjUzNzAzMTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/53703174?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yuval-Moshe",
"html_url": "https://github.com/Yuval-Moshe",
"followers_url": "https://api.github.com/users/Yuval-Moshe/followers",
"following_url": "https://api.github.com/users/Yuval-Moshe/following{/other_user}",
"gists_url": "https://api.github.com/users/Yuval-Moshe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Yuval-Moshe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Yuval-Moshe/subscriptions",
"organizations_url": "https://api.github.com/users/Yuval-Moshe/orgs",
"repos_url": "https://api.github.com/users/Yuval-Moshe/repos",
"events_url": "https://api.github.com/users/Yuval-Moshe/events{/privacy}",
"received_events_url": "https://api.github.com/users/Yuval-Moshe/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T07:30:09 | 2023-12-04T16:05:13 | 2023-12-04T16:05:12 |
NONE
| null |
### System Info
**langchain 0.0.274:**
When trying to instantiate a VLLM object, I'm getting the following error:
**TypeError: Can't instantiate abstract class VLLM with abstract method _agenerate**
This is the code I'm using which is 1-1 as the VLLM example on langchain documentation:
https://python.langchain.com/docs/integrations/llms/vllm
```
from langchain.llms.vllm import VLLM
vlmm = VLLM(model="mosaicml/mpt-7b",
trust_remote_code=True, # mandatory for hf models
max_new_tokens=128,
top_k=10,
top_p=0.95,
temperature=0.8,
)
```
It seems that the VLLM model is derived from the BaseLLM object, which has an abstract method of _agenerate, but is not providing an implementation for it.
In addition to that, you might notice that I used **from langchain.llms.vllm import VLLM** instead of from **langchain.llms import VLLM** as the documentation, that's because for from langchain.llms import VLLM I'm getting an "cannot import name 'VLLM' from 'langchain.llms'" error
Any insights regarding this one?
### 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
instantiate a VLLM object just like in the official documentation: https://python.langchain.com/docs/integrations/llms/vllm
### Expected behavior
The object should be created and load model successfully
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9841/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9840
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9840/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9840/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9840/events
|
https://github.com/langchain-ai/langchain/issues/9840
| 1,869,119,162 |
I_kwDOIPDwls5vaH66
| 9,840 |
DOC: Generative Agents Page In JS/TS but not Python
|
{
"login": "alckasoc",
"id": 58043265,
"node_id": "MDQ6VXNlcjU4MDQzMjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/58043265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alckasoc",
"html_url": "https://github.com/alckasoc",
"followers_url": "https://api.github.com/users/alckasoc/followers",
"following_url": "https://api.github.com/users/alckasoc/following{/other_user}",
"gists_url": "https://api.github.com/users/alckasoc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alckasoc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alckasoc/subscriptions",
"organizations_url": "https://api.github.com/users/alckasoc/orgs",
"repos_url": "https://api.github.com/users/alckasoc/repos",
"events_url": "https://api.github.com/users/alckasoc/events{/privacy}",
"received_events_url": "https://api.github.com/users/alckasoc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T07:04:09 | 2023-09-07T03:07:23 | 2023-09-07T03:07:23 |
NONE
| null |
### Issue with current documentation:
How come there is a generative agents page https://js.langchain.com/docs/use_cases/agent_simulations/generative_agents in JS, but not one in python? I was reading this [blog post](https://blog.langchain.dev/agents-round/) and the links to the generative_agents page didn't work.
I also noticed [`MemoryVectorStore`](https://js.langchain.com/docs/api/vectorstores_memory/classes/MemoryVectorStore#methods) exists in the JS/TS docs but not in the python [`vectorstores`](https://[api.python.langchain.com/en/latest/module-langchain.vectorstores](https://api.python.langchain.com/en/latest/module-langchain.vectorstores)) doc. Why is that?
Thanks.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9840/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9839
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9839/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9839/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9839/events
|
https://github.com/langchain-ai/langchain/issues/9839
| 1,869,095,141 |
I_kwDOIPDwls5vaCDl
| 9,839 |
DOC: Add clarification to Modules/ModelsI/O/Prompts/Prompt Templates/Few-shot examples for chat models
|
{
"login": "alckasoc",
"id": 58043265,
"node_id": "MDQ6VXNlcjU4MDQzMjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/58043265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alckasoc",
"html_url": "https://github.com/alckasoc",
"followers_url": "https://api.github.com/users/alckasoc/followers",
"following_url": "https://api.github.com/users/alckasoc/following{/other_user}",
"gists_url": "https://api.github.com/users/alckasoc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alckasoc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alckasoc/subscriptions",
"organizations_url": "https://api.github.com/users/alckasoc/orgs",
"repos_url": "https://api.github.com/users/alckasoc/repos",
"events_url": "https://api.github.com/users/alckasoc/events{/privacy}",
"received_events_url": "https://api.github.com/users/alckasoc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T06:48:00 | 2023-12-04T16:05:18 | 2023-12-04T16:05:17 |
NONE
| null |
### Issue with current documentation:
In https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/few_shot_examples_chat under Dynamic few-shot prompting,
```
example_selector = SemanticSimilarityExampleSelector(
vectorstore=vectorstore,
k=2,
)
# The prompt template will load examples by passing the input do the `select_examples` method
example_selector.select_examples({"input": "horse"})
```
Does the key value "input" matter when calling select_examples? I was playing around with this and it doesn't seem to change the output. Maybe more clarification could be added to both `select_examples` in the API reference and in the doc examples.
---

"instruct" is misspelled.
---
```
from langchain.prompts import (
FewShotChatMessagePromptTemplate,
ChatPromptTemplate,
)
# Define the few-shot prompt.
few_shot_prompt = FewShotChatMessagePromptTemplate(
# The input variables select the values to pass to the example_selector
input_variables=["input"],
example_selector=example_selector,
# Define how each example will be formatted.
# In this case, each example will become 2 messages:
# 1 human, and 1 AI
example_prompt=ChatPromptTemplate.from_messages(
[("human", "{input}"), ("ai", "{output}")]
),
)
```
Also, is it possible to clarify `input_variables=["input"]` a bit more and how this works downstream in the `final_prompt`? I toyed with it a bit and found it a lil confusing to understand.

_What I understood from playing around with the parameters._

_What I found out later._
Even after understanding how the variables worked here, I think a lot of the other cases weren't explained so I was still confused up till I started experimenting. Maybe more clarification can be added to this?
Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9839/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9838
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9838/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9838/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9838/events
|
https://github.com/langchain-ai/langchain/pull/9838
| 1,869,008,990 |
PR_kwDOIPDwls5Y5RiT
| 9,838 |
New chain to allow for logical fallacy removal of model output
|
{
"login": "j-space-b",
"id": 120141355,
"node_id": "U_kgDOByk2Kw",
"avatar_url": "https://avatars.githubusercontent.com/u/120141355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/j-space-b",
"html_url": "https://github.com/j-space-b",
"followers_url": "https://api.github.com/users/j-space-b/followers",
"following_url": "https://api.github.com/users/j-space-b/following{/other_user}",
"gists_url": "https://api.github.com/users/j-space-b/gists{/gist_id}",
"starred_url": "https://api.github.com/users/j-space-b/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/j-space-b/subscriptions",
"organizations_url": "https://api.github.com/users/j-space-b/orgs",
"repos_url": "https://api.github.com/users/j-space-b/repos",
"events_url": "https://api.github.com/users/j-space-b/events{/privacy}",
"received_events_url": "https://api.github.com/users/j-space-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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T05:40:50 | 2023-08-28T22:27:21 | 2023-08-28T22:27:21 |
CONTRIBUTOR
| null |
Description: a new chain to test and remove logical fallacies from model output in a chain if found
Issue: n/a
Dependencies: none
Tag maintainer: @hinthornw helped me in the past, not sure if this PR falls outside any maintainer area but feel free to maintain if so
Twitter handle: not on twitter - tag my git handle if any shout out needed j-space-b
Note: added documentation to docs/extras
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9838/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9838",
"html_url": "https://github.com/langchain-ai/langchain/pull/9838",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9838.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9838.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9837
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9837/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9837/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9837/events
|
https://github.com/langchain-ai/langchain/pull/9837
| 1,868,979,088 |
PR_kwDOIPDwls5Y5LGS
| 9,837 |
add numbered list parser
|
{
"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": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T05:09:33 | 2023-09-03T22:55:32 | 2023-09-03T22:55:31 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9837/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9837",
"html_url": "https://github.com/langchain-ai/langchain/pull/9837",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9837.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9837.patch",
"merged_at": "2023-09-03T22:55:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9836
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9836/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9836/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9836/events
|
https://github.com/langchain-ai/langchain/pull/9836
| 1,868,928,602 |
PR_kwDOIPDwls5Y4_9P
| 9,836 |
Logical fallacy removal
|
{
"login": "j-space-b",
"id": 120141355,
"node_id": "U_kgDOByk2Kw",
"avatar_url": "https://avatars.githubusercontent.com/u/120141355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/j-space-b",
"html_url": "https://github.com/j-space-b",
"followers_url": "https://api.github.com/users/j-space-b/followers",
"following_url": "https://api.github.com/users/j-space-b/following{/other_user}",
"gists_url": "https://api.github.com/users/j-space-b/gists{/gist_id}",
"starred_url": "https://api.github.com/users/j-space-b/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/j-space-b/subscriptions",
"organizations_url": "https://api.github.com/users/j-space-b/orgs",
"repos_url": "https://api.github.com/users/j-space-b/repos",
"events_url": "https://api.github.com/users/j-space-b/events{/privacy}",
"received_events_url": "https://api.github.com/users/j-space-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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T04:21:04 | 2023-08-28T04:31:59 | 2023-08-28T04:31:59 |
CONTRIBUTOR
| null |
Description: a new chain to output logical fallacies from model in a chain
Issue: fixes no existing issue other than this not yet existing
Dependencies: none
Tag maintainer: @hinthornw in the past for another area, not sure if this an area outside of maintenance
Twitter handle: not on twitter, feel free to tag my git user if any shout-outs: j-space-b
Note: a doc showing use of this chain is in docs/extras as apropos
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9836/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9836",
"html_url": "https://github.com/langchain-ai/langchain/pull/9836",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9836.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9836.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9835
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9835/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9835/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9835/events
|
https://github.com/langchain-ai/langchain/pull/9835
| 1,868,882,753 |
PR_kwDOIPDwls5Y41_A
| 9,835 |
Update web_scraping.ipynb
|
{
"login": "xingke2023",
"id": 120709911,
"node_id": "U_kgDOBzHjFw",
"avatar_url": "https://avatars.githubusercontent.com/u/120709911?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xingke2023",
"html_url": "https://github.com/xingke2023",
"followers_url": "https://api.github.com/users/xingke2023/followers",
"following_url": "https://api.github.com/users/xingke2023/following{/other_user}",
"gists_url": "https://api.github.com/users/xingke2023/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xingke2023/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xingke2023/subscriptions",
"organizations_url": "https://api.github.com/users/xingke2023/orgs",
"repos_url": "https://api.github.com/users/xingke2023/repos",
"events_url": "https://api.github.com/users/xingke2023/events{/privacy}",
"received_events_url": "https://api.github.com/users/xingke2023/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 | 3 | 2023-08-28T03:19:20 | 2023-08-29T02:26:24 | 2023-08-29T02:26:24 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9835/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9835",
"html_url": "https://github.com/langchain-ai/langchain/pull/9835",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9835.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9835.patch",
"merged_at": "2023-08-29T02:26:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9834
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9834/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9834/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9834/events
|
https://github.com/langchain-ai/langchain/pull/9834
| 1,868,794,809 |
PR_kwDOIPDwls5Y4im0
| 9,834 |
Logical fallacy removal
|
{
"login": "j-space-b",
"id": 120141355,
"node_id": "U_kgDOByk2Kw",
"avatar_url": "https://avatars.githubusercontent.com/u/120141355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/j-space-b",
"html_url": "https://github.com/j-space-b",
"followers_url": "https://api.github.com/users/j-space-b/followers",
"following_url": "https://api.github.com/users/j-space-b/following{/other_user}",
"gists_url": "https://api.github.com/users/j-space-b/gists{/gist_id}",
"starred_url": "https://api.github.com/users/j-space-b/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/j-space-b/subscriptions",
"organizations_url": "https://api.github.com/users/j-space-b/orgs",
"repos_url": "https://api.github.com/users/j-space-b/repos",
"events_url": "https://api.github.com/users/j-space-b/events{/privacy}",
"received_events_url": "https://api.github.com/users/j-space-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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T01:48:27 | 2023-08-28T03:49:04 | 2023-08-28T03:49:04 |
CONTRIBUTOR
| null |
Description: a new chain to filter logical fallacies from
Issue: does not fix an issue other than adding any needed logical fallacy filtering to an output from a base model within a chain
Dependencies: no dependencies
Tag maintainer: have worked w @hinthornw in the past - not seeing tag on list, so more likely @baskaryan
Twitter handle: Not on twitter/x feel free to ping my github if shout-out needed @j-space-b
Note: added a doc of an example in docs/extras
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9834/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9834",
"html_url": "https://github.com/langchain-ai/langchain/pull/9834",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9834.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9834.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9833
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9833/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9833/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9833/events
|
https://github.com/langchain-ai/langchain/pull/9833
| 1,868,785,870 |
PR_kwDOIPDwls5Y4go3
| 9,833 |
feat(llms): improve ERNIE-Bot chat model
|
{
"login": "axiangcoding",
"id": 49201354,
"node_id": "MDQ6VXNlcjQ5MjAxMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/49201354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/axiangcoding",
"html_url": "https://github.com/axiangcoding",
"followers_url": "https://api.github.com/users/axiangcoding/followers",
"following_url": "https://api.github.com/users/axiangcoding/following{/other_user}",
"gists_url": "https://api.github.com/users/axiangcoding/gists{/gist_id}",
"starred_url": "https://api.github.com/users/axiangcoding/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/axiangcoding/subscriptions",
"organizations_url": "https://api.github.com/users/axiangcoding/orgs",
"repos_url": "https://api.github.com/users/axiangcoding/repos",
"events_url": "https://api.github.com/users/axiangcoding/events{/privacy}",
"received_events_url": "https://api.github.com/users/axiangcoding/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-28T01:37:53 | 2023-08-30T01:20:06 | 2023-08-30T01:20:06 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
- Description: improve ERNIE-Bot chat model, add request timeout and more testcases.
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9833/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9833",
"html_url": "https://github.com/langchain-ai/langchain/pull/9833",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9833.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9833.patch",
"merged_at": "2023-08-30T01:20:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9832
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9832/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9832/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9832/events
|
https://github.com/langchain-ai/langchain/pull/9832
| 1,868,778,833 |
PR_kwDOIPDwls5Y4fC7
| 9,832 |
iMessage loader
|
{
"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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-28T01:31:09 | 2023-08-28T20:44:00 | 2023-08-28T20:43:59 |
COLLABORATOR
| null |
Add an iMessage chat loader
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9832/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9832",
"html_url": "https://github.com/langchain-ai/langchain/pull/9832",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9832.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9832.patch",
"merged_at": "2023-08-28T20:43:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9831
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9831/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9831/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9831/events
|
https://github.com/langchain-ai/langchain/pull/9831
| 1,868,651,639 |
PR_kwDOIPDwls5Y4DOR
| 9,831 |
Fix add callbacks to spark_sql due to depreciation of callback_manager
|
{
"login": "Jurik-001",
"id": 123458520,
"node_id": "U_kgDOB1vT2A",
"avatar_url": "https://avatars.githubusercontent.com/u/123458520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jurik-001",
"html_url": "https://github.com/Jurik-001",
"followers_url": "https://api.github.com/users/Jurik-001/followers",
"following_url": "https://api.github.com/users/Jurik-001/following{/other_user}",
"gists_url": "https://api.github.com/users/Jurik-001/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jurik-001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jurik-001/subscriptions",
"organizations_url": "https://api.github.com/users/Jurik-001/orgs",
"repos_url": "https://api.github.com/users/Jurik-001/repos",
"events_url": "https://api.github.com/users/Jurik-001/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jurik-001/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-27T22:19:23 | 2023-08-30T02:23:44 | 2023-08-30T02:23:44 |
CONTRIBUTOR
| null |
Description: Due to depreciation (regarding to line 109 in [langchain/libs/langchain/langchain/chains/base.py](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/chains/base.py) of callback_manager i replaced several parts
Issue: None
Dependencies:
Maintainer: @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9831/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9831",
"html_url": "https://github.com/langchain-ai/langchain/pull/9831",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9831.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9831.patch",
"merged_at": "2023-08-30T02:23:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9830
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9830/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9830/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9830/events
|
https://github.com/langchain-ai/langchain/pull/9830
| 1,868,651,219 |
PR_kwDOIPDwls5Y4DJJ
| 9,830 |
poc auto-docstring
|
{
"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": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 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-08-27T22:17:41 | 2023-08-30T01:20:55 | 2023-08-30T01:20:55 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9830/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9830",
"html_url": "https://github.com/langchain-ai/langchain/pull/9830",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9830.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9830.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9829
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9829/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9829/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9829/events
|
https://github.com/langchain-ai/langchain/pull/9829
| 1,868,641,450 |
PR_kwDOIPDwls5Y4BTx
| 9,829 |
Feature: PGVector Collection Documents Update
|
{
"login": "lorenzofavaro",
"id": 44714920,
"node_id": "MDQ6VXNlcjQ0NzE0OTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/44714920?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lorenzofavaro",
"html_url": "https://github.com/lorenzofavaro",
"followers_url": "https://api.github.com/users/lorenzofavaro/followers",
"following_url": "https://api.github.com/users/lorenzofavaro/following{/other_user}",
"gists_url": "https://api.github.com/users/lorenzofavaro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lorenzofavaro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lorenzofavaro/subscriptions",
"organizations_url": "https://api.github.com/users/lorenzofavaro/orgs",
"repos_url": "https://api.github.com/users/lorenzofavaro/repos",
"events_url": "https://api.github.com/users/lorenzofavaro/events{/privacy}",
"received_events_url": "https://api.github.com/users/lorenzofavaro/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-08-27T21:40:06 | 2023-11-15T23:35:38 | null |
CONTRIBUTOR
| null |
## Description
Enhancement to the PGVector functionality: the addition of an update function `update_documents(...)`.
Currently, updating the documents of a collection requires emptying the collection and filling it again. This can cause more calls to be made to the model than are actually needed. In fact, if a text chunk (and therefore its embedding) is already present in the vector store in the current collection, what is currently done is to delete it and insert (therefore calling the embedding model) the same embedding again.
The new feature identifies differences between input and existing documents. It requests new embeddings only for different documents, inserting them into the DB, and deletes missing ones.
## Issue
#9461 (Add Functionality to Update Embeddings in pgvector)
## Using Sample
```python
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores.pgvector import PGVector
from langchain.docstore.document import Document
COLLECTION_NAME = "..."
CONNECTION_STRING = '...'
documents = [Document(page_content="foo", metadata={"page": "0"}),
Document(page_content="bar", metadata={"page": "1"})]
# Instance new collection in pgvector from documents
pgvector = PGVector.from_documents(
embedding=OpenAIEmbeddings(),
documents=documents,
collection_name=COLLECTION_NAME,
connection_string=CONNECTION_STRING,
pre_delete_collection=True)
# Update/Add some documents
documents[1].page_content = "baz"
documents.append(Document(page_content="far", metadata={"page": "2"}))
# Call update function
pgvector.update_documents(documents)
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9829/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9829",
"html_url": "https://github.com/langchain-ai/langchain/pull/9829",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9829.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9829.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9828
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9828/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9828/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9828/events
|
https://github.com/langchain-ai/langchain/pull/9828
| 1,868,596,327 |
PR_kwDOIPDwls5Y34zK
| 9,828 |
Extraction Chain - Custom Prompt
|
{
"login": "chutch1122",
"id": 3986362,
"node_id": "MDQ6VXNlcjM5ODYzNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3986362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chutch1122",
"html_url": "https://github.com/chutch1122",
"followers_url": "https://api.github.com/users/chutch1122/followers",
"following_url": "https://api.github.com/users/chutch1122/following{/other_user}",
"gists_url": "https://api.github.com/users/chutch1122/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chutch1122/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chutch1122/subscriptions",
"organizations_url": "https://api.github.com/users/chutch1122/orgs",
"repos_url": "https://api.github.com/users/chutch1122/repos",
"events_url": "https://api.github.com/users/chutch1122/events{/privacy}",
"received_events_url": "https://api.github.com/users/chutch1122/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-08-27T18:58:46 | 2023-09-03T23:01:56 | 2023-09-03T23:01:56 |
CONTRIBUTOR
| null |
# Description
This change allows you to customize the prompt used in `create_extraction_chain` as well as `create_extraction_chain_pydantic`.
It also adds the `verbose` argument to `create_extraction_chain_pydantic` - because `create_extraction_chain` had it already and `create_extraction_chain_pydantic` did not.
# Issue
N/A
# Dependencies
N/A
# Twitter
https://twitter.com/CamAHutchison
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9828/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9828",
"html_url": "https://github.com/langchain-ai/langchain/pull/9828",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9828.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9828.patch",
"merged_at": "2023-09-03T23:01:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9827
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9827/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9827/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9827/events
|
https://github.com/langchain-ai/langchain/pull/9827
| 1,868,583,767 |
PR_kwDOIPDwls5Y32XN
| 9,827 |
Harrison/add llm kwargs
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-27T18:11:29 | 2023-09-03T22:54:30 | 2023-09-03T22:54:30 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9827/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9827",
"html_url": "https://github.com/langchain-ai/langchain/pull/9827",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9827.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9827.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9826
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9826/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9826/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9826/events
|
https://github.com/langchain-ai/langchain/pull/9826
| 1,868,582,186 |
PR_kwDOIPDwls5Y32Dd
| 9,826 |
accept openai terms
|
{
"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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-27T18:06:10 | 2023-08-28T00:18:25 | 2023-08-28T00:18:25 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9826/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9826",
"html_url": "https://github.com/langchain-ai/langchain/pull/9826",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9826.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9826.patch",
"merged_at": "2023-08-28T00:18:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9825
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9825/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9825/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9825/events
|
https://github.com/langchain-ai/langchain/issues/9825
| 1,868,522,804 |
I_kwDOIPDwls5vX2U0
| 9,825 |
DOC: Import path for NewsURLLoader needs to fixed
|
{
"login": "z4forzubair",
"id": 42717176,
"node_id": "MDQ6VXNlcjQyNzE3MTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/42717176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/z4forzubair",
"html_url": "https://github.com/z4forzubair",
"followers_url": "https://api.github.com/users/z4forzubair/followers",
"following_url": "https://api.github.com/users/z4forzubair/following{/other_user}",
"gists_url": "https://api.github.com/users/z4forzubair/gists{/gist_id}",
"starred_url": "https://api.github.com/users/z4forzubair/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/z4forzubair/subscriptions",
"organizations_url": "https://api.github.com/users/z4forzubair/orgs",
"repos_url": "https://api.github.com/users/z4forzubair/repos",
"events_url": "https://api.github.com/users/z4forzubair/events{/privacy}",
"received_events_url": "https://api.github.com/users/z4forzubair/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-27T14:49:04 | 2023-12-03T16:04:21 | 2023-12-03T16:04:20 |
NONE
| null |
### Issue with current documentation:
At https://python.langchain.com/docs/integrations/document_loaders/news, there is an issue with the path for importing `NewsURLLoader`. Currently, it's being imported from `from langchain.document_loaders`, but it gives `importerror`.
### Idea or request for content:
The import path for `NewsURLLoader` needs to be updated. The correct path is `from langchain.document_loaders.news import NewsURLLoader`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9825/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9823
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9823/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9823/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9823/events
|
https://github.com/langchain-ai/langchain/issues/9823
| 1,868,456,842 |
I_kwDOIPDwls5vXmOK
| 9,823 |
field "credential" not yet prepared so type is still a ForwardRef, you might need to call PowerBIDataset.update_forward_refs()
|
{
"login": "kalpeshparakh",
"id": 3449985,
"node_id": "MDQ6VXNlcjM0NDk5ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3449985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kalpeshparakh",
"html_url": "https://github.com/kalpeshparakh",
"followers_url": "https://api.github.com/users/kalpeshparakh/followers",
"following_url": "https://api.github.com/users/kalpeshparakh/following{/other_user}",
"gists_url": "https://api.github.com/users/kalpeshparakh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kalpeshparakh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kalpeshparakh/subscriptions",
"organizations_url": "https://api.github.com/users/kalpeshparakh/orgs",
"repos_url": "https://api.github.com/users/kalpeshparakh/repos",
"events_url": "https://api.github.com/users/kalpeshparakh/events{/privacy}",
"received_events_url": "https://api.github.com/users/kalpeshparakh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-27T11:14:51 | 2023-12-13T16:07:18 | 2023-12-13T16:07:17 |
NONE
| null |
### System Info
Hello Team,
I am using the below post from Langchain in order to use PowerBIToolkit for connecting to the dataset and tables in it. However I am not able to execute the code.
https://python.langchain.com/docs/integrations/toolkits/powerbi
I have also gone through an issue raised in this repository which resides here:
https://github.com/langchain-ai/langchain/issues/4325
But not able to pass through this issue. Still looks blocker to me as I am not able to proceed with this integration.
I am using this object which is trying to use the default credentials for the client:
ds = PowerBIDataset(
dataset_id="aec82374-5442-416f-849b-*********",
table_names=["ProductsTable"],
credential=DefaultAzureCredential(
managed_identity_client_id="678e6145-8917-49a2-********"),
)
Please suggest...
Error:
**ds = PowerBIDataset(
^^^^^^^^^^^^^^^
File "pydantic\main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic\main.py", line 1076, in pydantic.main.validate_model
File "pydantic\fields.py", line 860, in pydantic.fields.ModelField.validate
pydantic.errors.ConfigError: field "credential" not yet prepared so type is still a ForwardRef, you might need to call PowerBIDataset.update_forward_refs().**
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.agents.agent_toolkits import create_pbi_agent
from langchain.agents.agent_toolkits import PowerBIToolkit
from langchain.utilities.powerbi import PowerBIDataset
from langchain.chat_models import ChatOpenAI
from langchain.agents import AgentExecutor
from azure.identity import DefaultAzureCredential
from dotenv import dotenv_values
import os
from azure.core.credentials import TokenCredential
config = dotenv_values('.env')
os.environ["OPENAI_API_KEY"] = config["OPENAI_API_KEY"]
fast_llm = ChatOpenAI(
temperature=0.5, max_tokens=1000, model_name="gpt-3.5-turbo", verbose=True
)
smart_llm = ChatOpenAI(temperature=0, max_tokens=100,
model_name="gpt-4", verbose=True)
ds = PowerBIDataset(
dataset_id="aec82374-5442-416f-849b-$$$$$$$$$",
table_names=["ProductsTable"],
credential=DefaultAzureCredential(
managed_identity_client_id="678e6145-8917-49a2-bdcf-******"), # Client Id for Azure Application
)
ds.update_forward_refs()
toolkit = PowerBIToolkit(
powerbi=ds,
llm=fast_llm,
)
agent_executor = create_pbi_agent(
llm=fast_llm,
toolkit=toolkit,
verbose=True,
)
agent_executor.run("How many records are in ProductsTable?")
### Expected behavior
Should be able to query the table present in the dataset
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9823/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9822
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9822/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9822/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9822/events
|
https://github.com/langchain-ai/langchain/issues/9822
| 1,868,442,230 |
I_kwDOIPDwls5vXip2
| 9,822 |
Issue: Help to make a callback for Elevenlabs API streaming endpoint
|
{
"login": "ChristianEvc",
"id": 15521096,
"node_id": "MDQ6VXNlcjE1NTIxMDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/15521096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChristianEvc",
"html_url": "https://github.com/ChristianEvc",
"followers_url": "https://api.github.com/users/ChristianEvc/followers",
"following_url": "https://api.github.com/users/ChristianEvc/following{/other_user}",
"gists_url": "https://api.github.com/users/ChristianEvc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ChristianEvc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChristianEvc/subscriptions",
"organizations_url": "https://api.github.com/users/ChristianEvc/orgs",
"repos_url": "https://api.github.com/users/ChristianEvc/repos",
"events_url": "https://api.github.com/users/ChristianEvc/events{/privacy}",
"received_events_url": "https://api.github.com/users/ChristianEvc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 9 | 2023-08-27T10:25:39 | 2023-10-26T01:47:52 | null |
NONE
| null |
Hi,
I'm hoping someone smarter than me can help me understand how to write a callback that works with Elevenlabs.
I'm trying to get Elevenlabs to stream TTS based on a response from the GPT-4 API. I can do this easily using OpenAIs own libarary, but I cannot figure out how to do this using langchains callbacks instead.
Here is the working code for the OpenAI library (without the various imports etc).
```
def write(prompt: str):
for chunk in openai.ChatCompletion.create(
model = "gpt-4",
messages = [{"role":"user","content": prompt}],
stream=True,
):
content = chunk["choices"][0].get("delta", {}).get("content")
if content is not None:
yield content
print("ContentTester:", content)
promtp = "Say a long sentence"
text_stream = write(wife)
audio_stream = elevenlabs.generate(
text=text_stream,
voice="adam",
stream=True,
latency=3,
)
output = elevenlabs.stream(audio_stream)
```
I think I need to use an Async callback, but I can't get it to work. I've tried simply adding the following custom callback, but it doesn't work.
```
class MyStreamingResonseHandler(StreamingStdOutCallbackHandler):
def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
yield token
```
The idea is to replicate what this part does as a callback:
```
content = chunk["choices"][0].get("delta", {}).get("content")
if content is not None:
yield content
print("ContentTester:", content)
```
This is probably a trivial thing to solve for someone more experienced, but I can't figure it out. Any help would be greatly appreciated!!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9822/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/9822/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9821
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9821/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9821/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9821/events
|
https://github.com/langchain-ai/langchain/pull/9821
| 1,868,430,586 |
PR_kwDOIPDwls5Y3Ycp
| 9,821 |
Add support for Falkordb (ex-RedisGraph)
|
{
"login": "gkorland",
"id": 753206,
"node_id": "MDQ6VXNlcjc1MzIwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/753206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkorland",
"html_url": "https://github.com/gkorland",
"followers_url": "https://api.github.com/users/gkorland/followers",
"following_url": "https://api.github.com/users/gkorland/following{/other_user}",
"gists_url": "https://api.github.com/users/gkorland/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkorland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkorland/subscriptions",
"organizations_url": "https://api.github.com/users/gkorland/orgs",
"repos_url": "https://api.github.com/users/gkorland/repos",
"events_url": "https://api.github.com/users/gkorland/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkorland/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-27T09:44:12 | 2023-08-30T10:15:04 | 2023-08-29T21:22:33 |
CONTRIBUTOR
| null |
Replace this entire comment with:
- Description: Add support for Falkordb (ex-RedisGraph)
- Tag maintainer: @hwchase17
- Twitter handle: @g_korland
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9821/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9821",
"html_url": "https://github.com/langchain-ai/langchain/pull/9821",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9821.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9821.patch",
"merged_at": "2023-08-29T21:22:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9820
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9820/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9820/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9820/events
|
https://github.com/langchain-ai/langchain/issues/9820
| 1,868,416,901 |
I_kwDOIPDwls5vXceF
| 9,820 |
Claude XML parser
|
{
"login": "grabbou",
"id": 2464966,
"node_id": "MDQ6VXNlcjI0NjQ5NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2464966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grabbou",
"html_url": "https://github.com/grabbou",
"followers_url": "https://api.github.com/users/grabbou/followers",
"following_url": "https://api.github.com/users/grabbou/following{/other_user}",
"gists_url": "https://api.github.com/users/grabbou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/grabbou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grabbou/subscriptions",
"organizations_url": "https://api.github.com/users/grabbou/orgs",
"repos_url": "https://api.github.com/users/grabbou/repos",
"events_url": "https://api.github.com/users/grabbou/events{/privacy}",
"received_events_url": "https://api.github.com/users/grabbou/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-27T08:56:22 | 2023-12-03T16:04:26 | 2023-12-03T16:04:25 |
NONE
| null |
### Feature request
I find StructuredOutputParser to not work that well with Claude. It also takes quite a few tokens to output its format instructions.
It would be great to have a built-in support for using XMLs as a meaning of transportation.
### Motivation
Claude supports and works really well with XML tags.
An example output:
> When you reply, first find exact quotes in the FAQ relevant to the user's question and write them down word for word inside <thinking></thinking> XML tags. This is a space for you to write down relevant content and will not be shown to the user. Once you are done extracting relevant quotes, answer the question. Put your answer to the user inside <answer></answer> XML tags.
As you can see, it works really well providing the answer inline the paragraph. Unlike StructuredOutputParser, we don't have to provide examples, explain the schema as well as ask to wrap the output in the markdown delimiter.
I would personally use something like regular expressions to look and parse the contents inside the tags, not forcing Claude itself to stick to any particular output format (such as "your response must be a valid XML document" etc.).
### Your contribution
I would be happy to own this feature and send a PR to TypeScript implementation. [I have already written this locally and have tested it to work quite well](https://gist.github.com/grabbou/fdd0816275968f0271e09e19b2ac82b8). Note it is a very rough implementation, as my understanding of the codebase is (at this point) rather limited. I am making my baby steps tho!
I would be happy to pair with someone on the Python side to explain how the things work with Claude.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9820/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9817
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9817/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9817/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9817/events
|
https://github.com/langchain-ai/langchain/pull/9817
| 1,868,335,331 |
PR_kwDOIPDwls5Y3Ga0
| 9,817 |
Update CONTRIBUTING.md
|
{
"login": "XueyanZhang",
"id": 34928958,
"node_id": "MDQ6VXNlcjM0OTI4OTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/34928958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XueyanZhang",
"html_url": "https://github.com/XueyanZhang",
"followers_url": "https://api.github.com/users/XueyanZhang/followers",
"following_url": "https://api.github.com/users/XueyanZhang/following{/other_user}",
"gists_url": "https://api.github.com/users/XueyanZhang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XueyanZhang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XueyanZhang/subscriptions",
"organizations_url": "https://api.github.com/users/XueyanZhang/orgs",
"repos_url": "https://api.github.com/users/XueyanZhang/repos",
"events_url": "https://api.github.com/users/XueyanZhang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XueyanZhang/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-08-27T02:51:54 | 2023-08-28T13:38:35 | 2023-08-28T13:38:35 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. These live is docs/extras directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin.
-->
Hi LangChain :) Thank you for such a great project!
I was going through the CONTRIBUTING.md and found a few minor issues.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9817/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9817",
"html_url": "https://github.com/langchain-ai/langchain/pull/9817",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9817.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9817.patch",
"merged_at": "2023-08-28T13:38:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9816
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9816/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9816/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9816/events
|
https://github.com/langchain-ai/langchain/issues/9816
| 1,868,315,540 |
I_kwDOIPDwls5vXDuU
| 9,816 |
Issue: Final Answer missing Document sources when using initialize_agent RetrievalQA with Agent tool boolean flag return_direct=False
|
{
"login": "timothymugayi",
"id": 27059510,
"node_id": "MDQ6VXNlcjI3MDU5NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/27059510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timothymugayi",
"html_url": "https://github.com/timothymugayi",
"followers_url": "https://api.github.com/users/timothymugayi/followers",
"following_url": "https://api.github.com/users/timothymugayi/following{/other_user}",
"gists_url": "https://api.github.com/users/timothymugayi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timothymugayi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timothymugayi/subscriptions",
"organizations_url": "https://api.github.com/users/timothymugayi/orgs",
"repos_url": "https://api.github.com/users/timothymugayi/repos",
"events_url": "https://api.github.com/users/timothymugayi/events{/privacy}",
"received_events_url": "https://api.github.com/users/timothymugayi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-27T01:08:29 | 2023-12-03T16:04:31 | 2023-12-03T16:04:30 |
NONE
| null |
### Issue you'd like to raise.
```
llm = ChatOpenAI(
max_retries=3,
temperature=0.7,
model_name="gpt-4",
streaming=True,
callbacks=[AsyncStreamingCallbackHandler],
)
```
Tool params
` return_direct=False` # Toggling this to TRUE provides the sources, but it won't work with the streaming flag, so I set it to false so the Final answer can be streamed as part of the output. This works as expect its just the Final answer has no sources which are clearly there as part of the observation section
```text
Observation:
At Burger king, you will get 50 days of paid annual leave, 50 days of paid sick leave, 12 public holidays, and two additional floating holidays for personal use. If applicable, you can also get up to six weeks of paid parental leave.
For more in-depth coverage, refer to these sources:
1. Company Benefits.pdf, page: 32
```
```
qa = RetrievalQA.from_chain_type(
llm=self.llm,
chain_type="stuff",
retriever=retriever,
return_source_documents=True,
chain_type_kwargs=chain_type_kwargs
)
```
Has any experienced missing document sources as part of the final answer
while within the context of the RetrievalQA, source documents exist as am explicitly concatenating them as part of the answer, which I expect to be part of the Final Answer.
```
result = qa({"query": question})
chat_answer = result["result"]
if self.hide_doc_sources:
return chat_answer
formatted_sources = format_sources(result["source_documents"], 2)
chat_answer = f"""
{chat_answer}\n\n
\n\n{formatted_sources}
"""
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9816/timeline
| null |
not_planned
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.