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/9039
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9039/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9039/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9039/events
|
https://github.com/langchain-ai/langchain/issues/9039
| 1,845,178,321 |
I_kwDOIPDwls5t-y_R
| 9,039 |
NameError: name 'partition_docx' is not defined
|
{
"login": "shivesh-ranjan",
"id": 86239697,
"node_id": "MDQ6VXNlcjg2MjM5Njk3",
"avatar_url": "https://avatars.githubusercontent.com/u/86239697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivesh-ranjan",
"html_url": "https://github.com/shivesh-ranjan",
"followers_url": "https://api.github.com/users/shivesh-ranjan/followers",
"following_url": "https://api.github.com/users/shivesh-ranjan/following{/other_user}",
"gists_url": "https://api.github.com/users/shivesh-ranjan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shivesh-ranjan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shivesh-ranjan/subscriptions",
"organizations_url": "https://api.github.com/users/shivesh-ranjan/orgs",
"repos_url": "https://api.github.com/users/shivesh-ranjan/repos",
"events_url": "https://api.github.com/users/shivesh-ranjan/events{/privacy}",
"received_events_url": "https://api.github.com/users/shivesh-ranjan/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-10T13:19:48 | 2023-08-10T15:19:12 | 2023-08-10T15:19:11 |
NONE
| null |
### System Info
I have checked the issue tracker for similar issues but did not find any. Therefore, I am creating a new one.
I was trying to load a sample document using *UnstructuredFileLoader* from *langchain.document_loaders*. I was using T4 GPU on Google Colab.
I think the issue might be related to some recent upgrades and maybe the solution is trivial. However, I am in a bit of a hurry as I have to submit my project report to my professor :disappointed:
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
loader = UnstructuredFileLoader("/content/FAQ-ShelfLifeItem.docx")
documents = loader.load()
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50)
docs = text_splitter.split_documents(documents)
hf_embedding = HuggingFaceInstructEmbeddings()
```
### Expected behavior
I would expect no errors like:
```
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
[<ipython-input-14-79f2c22bc34d>](https://localhost:8080/#) in <cell line: 2>()
1 loader = UnstructuredFileLoader("/content/FAQ-ShelfLifeItem.docx")
----> 2 documents = loader.load()
3 text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50)
4 docs = text_splitter.split_documents(documents)
5
2 frames
[/usr/local/lib/python3.10/dist-packages/unstructured/partition/auto.py](https://localhost:8080/#) in partition(filename, content_type, file, file_filename, url, include_page_breaks, strategy, encoding, paragraph_grouper, headers, skip_infer_table_types, ssl_verify, ocr_languages, pdf_infer_table_structure, xml_keep_tags, data_source_metadata, **kwargs)
170 **kwargs,
171 )
--> 172 elif filetype == FileType.MD:
173 elements = partition_md(
174 filename=filename,
NameError: name 'partition_docx' is not defined
```
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9039/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9039/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9038
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9038/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9038/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9038/events
|
https://github.com/langchain-ai/langchain/issues/9038
| 1,845,112,993 |
I_kwDOIPDwls5t-jCh
| 9,038 |
openai.error.InvalidRequestError: The completion operation does not work with the specified model, gpt-35-turbo-16k. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.
|
{
"login": "charles-123456",
"id": 50801681,
"node_id": "MDQ6VXNlcjUwODAxNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/50801681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/charles-123456",
"html_url": "https://github.com/charles-123456",
"followers_url": "https://api.github.com/users/charles-123456/followers",
"following_url": "https://api.github.com/users/charles-123456/following{/other_user}",
"gists_url": "https://api.github.com/users/charles-123456/gists{/gist_id}",
"starred_url": "https://api.github.com/users/charles-123456/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charles-123456/subscriptions",
"organizations_url": "https://api.github.com/users/charles-123456/orgs",
"repos_url": "https://api.github.com/users/charles-123456/repos",
"events_url": "https://api.github.com/users/charles-123456/events{/privacy}",
"received_events_url": "https://api.github.com/users/charles-123456/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-10T12:42:46 | 2023-11-23T16:06:40 | 2023-11-23T16:06:39 |
NONE
| null |
Traceback (most recent call last):
File "D:\Corent\AI\LangChain\azure\azure_connection.py", line 14, in <module>
print(llm("Tell me joke"))
^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\base.py", line 802, in __call__
self.generate(
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\base.py", line 598, in generate
output = self._generate_helper(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\base.py", line 504, in _generate_helper
raise e
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\base.py", line 491, in _generate_helper
self._generate(
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\openai.py", line 384, in _generate
response = completion_with_retry(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\openai.py", line 116, in completion_with_retry
return _completion_with_retry(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 314, in iter
return fut.result()
^^^^^^^^^^^^
File "C:\Users\donbosco\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\donbosco\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 401, in __get_result
raise self._exception
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\tenacity\__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\langchain\llms\openai.py", line 114, in _completion_with_retry
return llm.client.create(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_resources\completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "D:\Corent\AI\LangChain\azure\venv\Lib\site-packages\openai\api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.InvalidRequestError: The completion operation does not work with the specified model, gpt-35-turbo-16k. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9038/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9038/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9037
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9037/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9037/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9037/events
|
https://github.com/langchain-ai/langchain/pull/9037
| 1,845,096,460 |
PR_kwDOIPDwls5XonqP
| 9,037 |
Update google_cloud_enterprise_search.py to support structured data sources
|
{
"login": "anifort",
"id": 2149571,
"node_id": "MDQ6VXNlcjIxNDk1NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2149571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anifort",
"html_url": "https://github.com/anifort",
"followers_url": "https://api.github.com/users/anifort/followers",
"following_url": "https://api.github.com/users/anifort/following{/other_user}",
"gists_url": "https://api.github.com/users/anifort/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anifort/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anifort/subscriptions",
"organizations_url": "https://api.github.com/users/anifort/orgs",
"repos_url": "https://api.github.com/users/anifort/repos",
"events_url": "https://api.github.com/users/anifort/events{/privacy}",
"received_events_url": "https://api.github.com/users/anifort/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": 5509644103,
"node_id": "LA_kwDOIPDwls8AAAABSGZ_Rw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/maintainer-to-merge",
"name": "maintainer-to-merge",
"color": "B1D5ED",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "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 | 6 | 2023-08-10T12:32:48 | 2023-08-23T14:34:22 | 2023-08-23T03:18:10 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Added the capability to handles structured data from google enterprise search,
- Issue: Retriever failed when underline search engine was integrated with structured data,
- Dependencies: google-api-core
- Tag maintainer: @jarokaz
- Twitter handle: anifort
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9037/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9037",
"html_url": "https://github.com/langchain-ai/langchain/pull/9037",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9037.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9037.patch",
"merged_at": "2023-08-23T03:18:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9036
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9036/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9036/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9036/events
|
https://github.com/langchain-ai/langchain/issues/9036
| 1,844,935,577 |
I_kwDOIPDwls5t93uZ
| 9,036 |
Streaming ConversationalRetrievalQaChain
|
{
"login": "mayooear",
"id": 107035552,
"node_id": "U_kgDOBmE7oA",
"avatar_url": "https://avatars.githubusercontent.com/u/107035552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayooear",
"html_url": "https://github.com/mayooear",
"followers_url": "https://api.github.com/users/mayooear/followers",
"following_url": "https://api.github.com/users/mayooear/following{/other_user}",
"gists_url": "https://api.github.com/users/mayooear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayooear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayooear/subscriptions",
"organizations_url": "https://api.github.com/users/mayooear/orgs",
"repos_url": "https://api.github.com/users/mayooear/repos",
"events_url": "https://api.github.com/users/mayooear/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayooear/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 0 | 2023-08-10T10:51:38 | 2023-08-10T10:52:42 | 2023-08-10T10:52:42 |
NONE
| null |
### Issue you'd like to raise
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9036/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9035
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9035/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9035/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9035/events
|
https://github.com/langchain-ai/langchain/issues/9035
| 1,844,832,758 |
I_kwDOIPDwls5t9en2
| 9,035 |
Functional difference between GraphCypherQAChain and GraphQAChain
|
{
"login": "pradeepdev-1995",
"id": 41164884,
"node_id": "MDQ6VXNlcjQxMTY0ODg0",
"avatar_url": "https://avatars.githubusercontent.com/u/41164884?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pradeepdev-1995",
"html_url": "https://github.com/pradeepdev-1995",
"followers_url": "https://api.github.com/users/pradeepdev-1995/followers",
"following_url": "https://api.github.com/users/pradeepdev-1995/following{/other_user}",
"gists_url": "https://api.github.com/users/pradeepdev-1995/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pradeepdev-1995/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pradeepdev-1995/subscriptions",
"organizations_url": "https://api.github.com/users/pradeepdev-1995/orgs",
"repos_url": "https://api.github.com/users/pradeepdev-1995/repos",
"events_url": "https://api.github.com/users/pradeepdev-1995/events{/privacy}",
"received_events_url": "https://api.github.com/users/pradeepdev-1995/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"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-10T09:50:43 | 2023-11-16T16:05:29 | 2023-11-16T16:05:28 |
NONE
| null |
### Feature request
What is the exact difference between the two graph based chains in langchain 1 )GraphCypherQAChain and 2)GraphQAChain. What are the pros and cons of each, and when to use one over another?
### Motivation
What is the exact difference between the two graph based chains in langchain 1 )GraphCypherQAChain and 2)GraphQAChain. What are the pros and cons of each, and when to use one over another?
### Your contribution
What is the exact difference between the two graph based chains in langchain 1 )GraphCypherQAChain and 2)GraphQAChain. What are the pros and cons of each, and when to use one over another?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9035/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9035/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9034
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9034/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9034/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9034/events
|
https://github.com/langchain-ai/langchain/pull/9034
| 1,844,760,734 |
PR_kwDOIPDwls5XndSc
| 9,034 |
Fix a broken code block display
|
{
"login": "yaotti",
"id": 18807,
"node_id": "MDQ6VXNlcjE4ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/18807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaotti",
"html_url": "https://github.com/yaotti",
"followers_url": "https://api.github.com/users/yaotti/followers",
"following_url": "https://api.github.com/users/yaotti/following{/other_user}",
"gists_url": "https://api.github.com/users/yaotti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaotti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaotti/subscriptions",
"organizations_url": "https://api.github.com/users/yaotti/orgs",
"repos_url": "https://api.github.com/users/yaotti/repos",
"events_url": "https://api.github.com/users/yaotti/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaotti/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-10T09:17:26 | 2023-08-11T01:58:56 | 2023-08-10T14:39:01 |
CONTRIBUTOR
| null |
- Description: Fix a broken code block in this page: https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/
- Issue: N/A
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: yaotti
## before
<img width="985" alt="image" src="https://github.com/yaotti/langchain/assets/18807/4707fff8-ca64-4144-b1d4-74f641b26f1a">
## after
<img width="987" alt="image" src="https://github.com/yaotti/langchain/assets/18807/d011384f-60a3-416d-99cf-5a29203c5b2b">
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9034/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9034",
"html_url": "https://github.com/langchain-ai/langchain/pull/9034",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9034.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9034.patch",
"merged_at": "2023-08-10T14:39:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9033
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9033/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9033/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9033/events
|
https://github.com/langchain-ai/langchain/issues/9033
| 1,844,699,377 |
I_kwDOIPDwls5t8-Dx
| 9,033 |
Issue: make command is not working after installing langchain
|
{
"login": "sri-dhurkesh",
"id": 60285684,
"node_id": "MDQ6VXNlcjYwMjg1Njg0",
"avatar_url": "https://avatars.githubusercontent.com/u/60285684?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sri-dhurkesh",
"html_url": "https://github.com/sri-dhurkesh",
"followers_url": "https://api.github.com/users/sri-dhurkesh/followers",
"following_url": "https://api.github.com/users/sri-dhurkesh/following{/other_user}",
"gists_url": "https://api.github.com/users/sri-dhurkesh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sri-dhurkesh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sri-dhurkesh/subscriptions",
"organizations_url": "https://api.github.com/users/sri-dhurkesh/orgs",
"repos_url": "https://api.github.com/users/sri-dhurkesh/repos",
"events_url": "https://api.github.com/users/sri-dhurkesh/events{/privacy}",
"received_events_url": "https://api.github.com/users/sri-dhurkesh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-10T08:39:47 | 2023-12-01T16:08:23 | 2023-12-01T16:08:22 |
NONE
| null |
### Issue you'd like to raise.
I've been trying to install langchain using `pip install langchain[all]` in the conda environment where it already had packages to run hugging face text-generation-inference module.
Let me know how to handle this issue. While running make command i'm facing this error.
```python
Traceback (most recent call last):
File "/home/sri/miniconda3/envs/text-generation-inference/bin/make", line 5, in <module>
from scripts.proto import main
ModuleNotFoundError: No module named 'scripts'
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9033/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9033/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9032
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9032/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9032/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9032/events
|
https://github.com/langchain-ai/langchain/pull/9032
| 1,844,689,666 |
PR_kwDOIPDwls5XnN9C
| 9,032 |
Implement .transform() in RunnablePassthrough()
|
{
"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": 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-10T08:33:23 | 2023-08-10T17:41:20 | 2023-08-10T17:41:19 |
COLLABORATOR
| null |
- This ensures passthrough doesnt break streaming
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9032/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9032",
"html_url": "https://github.com/langchain-ai/langchain/pull/9032",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9032.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9032.patch",
"merged_at": "2023-08-10T17:41:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9031
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9031/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9031/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9031/events
|
https://github.com/langchain-ai/langchain/issues/9031
| 1,844,686,751 |
I_kwDOIPDwls5t86-f
| 9,031 |
Issue: How to build a prompt that include SystemMessage, vector store context and final question
|
{
"login": "nbrosson",
"id": 45031747,
"node_id": "MDQ6VXNlcjQ1MDMxNzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45031747?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbrosson",
"html_url": "https://github.com/nbrosson",
"followers_url": "https://api.github.com/users/nbrosson/followers",
"following_url": "https://api.github.com/users/nbrosson/following{/other_user}",
"gists_url": "https://api.github.com/users/nbrosson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nbrosson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nbrosson/subscriptions",
"organizations_url": "https://api.github.com/users/nbrosson/orgs",
"repos_url": "https://api.github.com/users/nbrosson/repos",
"events_url": "https://api.github.com/users/nbrosson/events{/privacy}",
"received_events_url": "https://api.github.com/users/nbrosson/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-10T08:31:32 | 2023-11-16T16:05:50 | 2023-11-16T16:05:49 |
NONE
| null |
### Issue you'd like to raise.
Hello guys !
I would like to build a Prompt which include a System message, Context data from a vector_store and the final question. What is the best way to do that?
Right now, I'm doing this:
```
def get_prompt(system_prompt):
prompt = SystemMessage(content=system_prompt)
new_prompt = (
prompt
+ "--- \n\n" + "le contexte:" + "\n"
+ "{context}"
+ '\n\n --- \n\n ' + "la question: \n\n"
+ "{question}"
)
return PromptTemplate(
template=new_prompt, input_variables=["context", "question"]
)
```
But get this error: **KeyError: 'template'**
Is there a way to do what I want? I'm searching for a solution where I don't need to add the context myself, because it should already be managed by the vector store retriever
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9031/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9031/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9029
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9029/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9029/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9029/events
|
https://github.com/langchain-ai/langchain/pull/9029
| 1,844,566,660 |
PR_kwDOIPDwls5XmzXi
| 9,029 |
Agent vector store tool doc
|
{
"login": "TRY-ER",
"id": 75255871,
"node_id": "MDQ6VXNlcjc1MjU1ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/75255871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TRY-ER",
"html_url": "https://github.com/TRY-ER",
"followers_url": "https://api.github.com/users/TRY-ER/followers",
"following_url": "https://api.github.com/users/TRY-ER/following{/other_user}",
"gists_url": "https://api.github.com/users/TRY-ER/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TRY-ER/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TRY-ER/subscriptions",
"organizations_url": "https://api.github.com/users/TRY-ER/orgs",
"repos_url": "https://api.github.com/users/TRY-ER/repos",
"events_url": "https://api.github.com/users/TRY-ER/events{/privacy}",
"received_events_url": "https://api.github.com/users/TRY-ER/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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": 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-10T07:16:28 | 2023-08-11T01:52:50 | 2023-08-10T18:13:12 |
CONTRIBUTOR
| null |
I was initially confused weather to use create_vectorstore_agent or create_vectorstore_router_agent due to lack of documentation so I created a simple documentation for each of the function about their different usecase.
Replace this comment with:
- Description: Added the doc_strings in create_vectorstore_agent and create_vectorstore_router_agent to point out the difference in their usecase
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9029/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9029",
"html_url": "https://github.com/langchain-ai/langchain/pull/9029",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9029.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9029.patch",
"merged_at": "2023-08-10T18:13:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9028
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9028/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9028/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9028/events
|
https://github.com/langchain-ai/langchain/issues/9028
| 1,844,513,797 |
I_kwDOIPDwls5t8QwF
| 9,028 |
The "search bar" and "mendable chat" should also follow the dark theme.
|
{
"login": "AayushSameerShah",
"id": 83115948,
"node_id": "MDQ6VXNlcjgzMTE1OTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/83115948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AayushSameerShah",
"html_url": "https://github.com/AayushSameerShah",
"followers_url": "https://api.github.com/users/AayushSameerShah/followers",
"following_url": "https://api.github.com/users/AayushSameerShah/following{/other_user}",
"gists_url": "https://api.github.com/users/AayushSameerShah/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AayushSameerShah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AayushSameerShah/subscriptions",
"organizations_url": "https://api.github.com/users/AayushSameerShah/orgs",
"repos_url": "https://api.github.com/users/AayushSameerShah/repos",
"events_url": "https://api.github.com/users/AayushSameerShah/events{/privacy}",
"received_events_url": "https://api.github.com/users/AayushSameerShah/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 | 4 | 2023-08-10T06:38:18 | 2023-12-05T04:41:49 | 2023-12-05T04:41:49 |
CONTRIBUTOR
| null |
## Issue with current `dark theme`:
Recently the documentation has been much improvised aesthetically and functionally. But when we switch to the dark mode, the search bar **on the top right** and the **mendable chat screen** remain in the light theme.

I think, making them match the dark theme, will even out an overall experience ✌🏻
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9028/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9027
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9027/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9027/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9027/events
|
https://github.com/langchain-ai/langchain/pull/9027
| 1,844,493,596 |
PR_kwDOIPDwls5Xmjfl
| 9,027 |
Adding new Github functions for reading pull requests
|
{
"login": "KastanDay",
"id": 13607221,
"node_id": "MDQ6VXNlcjEzNjA3MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/13607221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KastanDay",
"html_url": "https://github.com/KastanDay",
"followers_url": "https://api.github.com/users/KastanDay/followers",
"following_url": "https://api.github.com/users/KastanDay/following{/other_user}",
"gists_url": "https://api.github.com/users/KastanDay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KastanDay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KastanDay/subscriptions",
"organizations_url": "https://api.github.com/users/KastanDay/orgs",
"repos_url": "https://api.github.com/users/KastanDay/repos",
"events_url": "https://api.github.com/users/KastanDay/events{/privacy}",
"received_events_url": "https://api.github.com/users/KastanDay/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 6232714144,
"node_id": "LA_kwDOIPDwls8AAAABc3-roA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/size:XXL",
"name": "size:XXL",
"color": "5319E7",
"default": false,
"description": "This PR changes 1000+ lines, ignoring generated files."
}
] |
closed
| false |
{
"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 | 15 | 2023-08-10T06:21:24 | 2023-12-04T23:53:36 | 2023-12-04T23:53:36 |
CONTRIBUTOR
| null |
The Github utilities are fantastic, so I'm adding support for deeper interaction with pull requests. Agents should read "regular" comments and review comments, and the content of PR files (with summarization or `ctags` abbreviations).
Progress:
- [x] Add functions to read pull requests and the full content of modified files.
- [x] Function to use Github's built in code / issues search.
Out of scope:
- Smarter summarization of file contents of large pull requests (`tree` output, or ctags).
- Smarter functions to checkout PRs and edit the files incrementally before bulk committing all changes.
- Docs example for creating two agents:
- One watches issues: For every new issue, open a PR with your best attempt at fixing it.
- The other watches PRs: For every new PR && every new comment on a PR, check the status and try to finish the job.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9027/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9027",
"html_url": "https://github.com/langchain-ai/langchain/pull/9027",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9027.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9027.patch",
"merged_at": "2023-12-04T23:53:36"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9026
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9026/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9026/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9026/events
|
https://github.com/langchain-ai/langchain/pull/9026
| 1,844,446,275 |
PR_kwDOIPDwls5XmZSb
| 9,026 |
Corrected grammatical errors and spelling mistakes in the index.mdx file.
|
{
"login": "aashishsaini75",
"id": 12483054,
"node_id": "MDQ6VXNlcjEyNDgzMDU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12483054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aashishsaini75",
"html_url": "https://github.com/aashishsaini75",
"followers_url": "https://api.github.com/users/aashishsaini75/followers",
"following_url": "https://api.github.com/users/aashishsaini75/following{/other_user}",
"gists_url": "https://api.github.com/users/aashishsaini75/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aashishsaini75/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aashishsaini75/subscriptions",
"organizations_url": "https://api.github.com/users/aashishsaini75/orgs",
"repos_url": "https://api.github.com/users/aashishsaini75/repos",
"events_url": "https://api.github.com/users/aashishsaini75/events{/privacy}",
"received_events_url": "https://api.github.com/users/aashishsaini75/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-10T05:34:35 | 2023-08-10T17:17:10 | 2023-08-10T17:17:10 |
CONTRIBUTOR
| null |
Expressing gratitude to the creator for crafting this remarkable application. 🙌, Would like to Enhance grammar and spelling in the documentation for a polished reader experience.
Your feedback is valuable as always
@baskaryan , @hwchase17 , @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9026/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9026",
"html_url": "https://github.com/langchain-ai/langchain/pull/9026",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9026.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9026.patch",
"merged_at": "2023-08-10T17:17:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9025
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9025/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9025/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9025/events
|
https://github.com/langchain-ai/langchain/pull/9025
| 1,844,424,766 |
PR_kwDOIPDwls5XmUu4
| 9,025 |
Improved grobid documentation
|
{
"login": "lfoppiano",
"id": 15426,
"node_id": "MDQ6VXNlcjE1NDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/15426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lfoppiano",
"html_url": "https://github.com/lfoppiano",
"followers_url": "https://api.github.com/users/lfoppiano/followers",
"following_url": "https://api.github.com/users/lfoppiano/following{/other_user}",
"gists_url": "https://api.github.com/users/lfoppiano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lfoppiano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lfoppiano/subscriptions",
"organizations_url": "https://api.github.com/users/lfoppiano/orgs",
"repos_url": "https://api.github.com/users/lfoppiano/repos",
"events_url": "https://api.github.com/users/lfoppiano/events{/privacy}",
"received_events_url": "https://api.github.com/users/lfoppiano/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-10T05:09:34 | 2023-08-10T14:47:23 | 2023-08-10T14:47:22 |
CONTRIBUTOR
| null |
- Description: Improvement in the Grobid loader documentation, typos and suggesting to use the docker image instead of installing Grobid in local (the documentation was also limited to Mac, while docker allow running in any platform)
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: @whitenoise
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9025/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9025",
"html_url": "https://github.com/langchain-ai/langchain/pull/9025",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9025.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9025.patch",
"merged_at": "2023-08-10T14:47:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9024
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9024/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9024/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9024/events
|
https://github.com/langchain-ai/langchain/pull/9024
| 1,844,417,640 |
PR_kwDOIPDwls5XmTMR
| 9,024 |
Bedrock embeddings async methods
|
{
"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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-10T05:00:56 | 2023-08-10T21:21:04 | 2023-08-10T21:21:03 |
CONTRIBUTOR
| null |
## Description
This PR adds the `aembed_query` and `aembed_documents` async methods for improving the embeddings generation for large documents. The implementation uses asyncio tasks and gather to achieve concurrency as there is no bedrock async API in boto3.
### Maintainers
@agola11
@aarora79
### Open questions
To avoid throttling from the Bedrock API, should there be an option to limit the concurrency of the calls?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9024/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9024",
"html_url": "https://github.com/langchain-ai/langchain/pull/9024",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9024.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9024.patch",
"merged_at": "2023-08-10T21:21:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9023
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9023/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9023/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9023/events
|
https://github.com/langchain-ai/langchain/pull/9023
| 1,844,405,410 |
PR_kwDOIPDwls5XmQjh
| 9,023 |
fix faiss vectorstore Delete by ID method
|
{
"login": "epic1219",
"id": 16092628,
"node_id": "MDQ6VXNlcjE2MDkyNjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/16092628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/epic1219",
"html_url": "https://github.com/epic1219",
"followers_url": "https://api.github.com/users/epic1219/followers",
"following_url": "https://api.github.com/users/epic1219/following{/other_user}",
"gists_url": "https://api.github.com/users/epic1219/gists{/gist_id}",
"starred_url": "https://api.github.com/users/epic1219/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/epic1219/subscriptions",
"organizations_url": "https://api.github.com/users/epic1219/orgs",
"repos_url": "https://api.github.com/users/epic1219/repos",
"events_url": "https://api.github.com/users/epic1219/events{/privacy}",
"received_events_url": "https://api.github.com/users/epic1219/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 | 5 | 2023-08-10T04:44:48 | 2023-08-16T07:30:50 | 2023-08-16T07:28:09 |
NONE
| null |
Description: FAISS shift the index after removing ids when IndexFlatL2 or IndexFlatIP is used, so `index_to_docstore_id` need to update.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9023/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9023",
"html_url": "https://github.com/langchain-ai/langchain/pull/9023",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9023.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9023.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9022
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9022/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9022/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9022/events
|
https://github.com/langchain-ai/langchain/issues/9022
| 1,844,395,059 |
I_kwDOIPDwls5t7zwz
| 9,022 |
ElasticKnnSearch: ValueError: Either `query_vector` or `model_id` must be provided, but not both.
|
{
"login": "lemig",
"id": 78766,
"node_id": "MDQ6VXNlcjc4NzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/78766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemig",
"html_url": "https://github.com/lemig",
"followers_url": "https://api.github.com/users/lemig/followers",
"following_url": "https://api.github.com/users/lemig/following{/other_user}",
"gists_url": "https://api.github.com/users/lemig/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lemig/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lemig/subscriptions",
"organizations_url": "https://api.github.com/users/lemig/orgs",
"repos_url": "https://api.github.com/users/lemig/repos",
"events_url": "https://api.github.com/users/lemig/events{/privacy}",
"received_events_url": "https://api.github.com/users/lemig/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-10T04:31:24 | 2023-09-19T15:36:38 | 2023-09-19T15:36:37 |
NONE
| null |
### System Info
LangChain 0.0.260, Mac M2, Miniforge3, Python 3.9
### Who can help?
@ves
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
from langchain.vectorstores.elastic_vector_search import ElasticKnnSearch
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.memory import ConversationBufferMemory
from langchain.chains import ConversationalRetrievalChain
from langchain.chat_models import ChatOpenAI
from langchain import ElasticVectorSearch
from elasticsearch import Elasticsearch
model_name = "sentence-transformers/all-mpnet-base-v2"
embedding = HuggingFaceEmbeddings(model_name=model_name)
es_url = "http://localhost:9221"
es = Elasticsearch(es_url)
# prepare db
texts = ["This is a test document", "This is another test document"]
metadatas = [{}, {}]
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
documents = text_splitter.create_documents(texts, metadatas=metadatas)
ElasticVectorSearch.from_documents(documents, embedding, index_name="bug_demo", elasticsearch_url=es_url)
# chat with db
memory = ConversationBufferMemory(memory_key="chat_history", output_key="answer", return_messages=True)
db = ElasticKnnSearch(embedding=embedding, es_connection=es, index_name="bug_demo")
llm_model="gpt-3.5-turbo"
llm = ChatOpenAI(model_name=llm_model, temperature=0)
chain = ConversationalRetrievalChain.from_llm(
llm,
db.as_retriever(),
memory=memory,
return_source_documents=True
)
user_input = "What is love?"
output = chain({"question": user_input})
```
### Expected behavior
The previous code used to work correctly with langchain 0.0.245.
After merge https://github.com/langchain-ai/langchain/pull/8180, it produces this error:
```
>>> output = chain({"question": user_input})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/chains/base.py", line 258, in __call__
raise e
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/chains/base.py", line 252, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/chains/conversational_retrieval/base.py", line 135, in _call
docs = self._get_docs(new_question, inputs, run_manager=_run_manager)
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/chains/conversational_retrieval/base.py", line 287, in _get_docs
docs = self.retriever.get_relevant_documents(
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/schema/retriever.py", line 193, in get_relevant_documents
raise e
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/schema/retriever.py", line 186, in get_relevant_documents
result = self._get_relevant_documents(
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/vectorstores/base.py", line 504, in _get_relevant_documents
docs = self.vectorstore.similarity_search(query, **self.search_kwargs)
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/vectorstores/elastic_vector_search.py", line 472, in similarity_search
results = self.knn_search(query=query, k=k, **kwargs)
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/vectorstores/elastic_vector_search.py", line 520, in knn_search
knn_query_body = self._default_knn_query(
File "/Users/miguel/miniforge3/envs/fenonto_qa3/lib/python3.9/site-packages/langchain/vectorstores/elastic_vector_search.py", line 460, in _default_knn_query
raise ValueError(
ValueError: Either `query_vector` or `model_id` must be provided, but not both.
```
My guess is, after refactoring, knn_search no longer takes into account the embedding parameter. If so it would use it to create the query_vector. @jeffvestal any clue?
BTW, I have also tried preparing the db using the new ElasticKnnSearch#from_texts method.
```python
from langchain.vectorstores.elastic_vector_search import ElasticKnnSearch
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.memory import ConversationBufferMemory
from langchain.chains import ConversationalRetrievalChain
from langchain.chat_models import ChatOpenAI
from langchain import ElasticVectorSearch
from elasticsearch import Elasticsearch
model_name = "sentence-transformers/all-mpnet-base-v2"
embedding = HuggingFaceEmbeddings(model_name=model_name)
es_url = "http://localhost:9221"
es = Elasticsearch(es_url)
index_name = "test_bug3"
# prepare db
texts = ["This is a test document", "This is another test document"]
metadatas = [{}, {}]
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
documents = text_splitter.create_documents(texts, metadatas=metadatas)
knnvectorsearch = ElasticKnnSearch.from_texts(
texts=texts,
embedding=embedding,
index_name= index_name,
vector_query_field='vector',
query_field='text',
dims=768,
es_connection=es
)
# Test `add_texts` method
texts2 = ["Hello, world!", "Machine learning is fun.", "I love Python."]
knnvectorsearch.add_texts(texts2)
# chat with db
memory = ConversationBufferMemory(memory_key="chat_history", output_key="answer", return_messages=True)
db = ElasticKnnSearch(embedding=embedding, es_connection=es, index_name="index_name")
llm_model="gpt-3.5-turbo"
llm = ChatOpenAI(model_name=llm_model, temperature=0)
chain = ConversationalRetrievalChain.from_llm(
llm,
db.as_retriever(),
memory=memory,
return_source_documents=True
)
user_input = "Who is Janine?"
output = chain({"question": user_input})
```
But I get the same error.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9022/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9022/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9021
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9021/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9021/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9021/events
|
https://github.com/langchain-ai/langchain/issues/9021
| 1,844,389,967 |
I_kwDOIPDwls5t7yhP
| 9,021 |
Typing issue: Undocumented parameter `client`
|
{
"login": "calclavia",
"id": 1828968,
"node_id": "MDQ6VXNlcjE4Mjg5Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1828968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calclavia",
"html_url": "https://github.com/calclavia",
"followers_url": "https://api.github.com/users/calclavia/followers",
"following_url": "https://api.github.com/users/calclavia/following{/other_user}",
"gists_url": "https://api.github.com/users/calclavia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/calclavia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calclavia/subscriptions",
"organizations_url": "https://api.github.com/users/calclavia/orgs",
"repos_url": "https://api.github.com/users/calclavia/repos",
"events_url": "https://api.github.com/users/calclavia/events{/privacy}",
"received_events_url": "https://api.github.com/users/calclavia/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-10T04:24:33 | 2023-11-16T16:05:23 | 2023-11-16T16:05:22 |
NONE
| null |
### System Info
Python type checking complains about a parameter `client` with a simple setup like this:
<img width="170" alt="Screenshot 2023-08-10 at 12 20 53 PM" src="https://github.com/langchain-ai/langchain/assets/1828968/355100b6-11dc-4f73-beec-8059aba004f9">
<img width="534" alt="Screenshot 2023-08-10 at 12 03 14 PM" src="https://github.com/langchain-ai/langchain/assets/1828968/9eb22e4e-d78e-4b5b-ae98-6e649bffc14f">
According to documentation, no fields are required to initialize the model:
https://python.langchain.com/docs/modules/model_io/models/chat/
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Version: langchain = "^0.0.250".
Python 3.11.4
Install Pylance. Use VSCode to run typecheck.
### Expected behavior
It should pass type checking based on documentation.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9021/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9021/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9020
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9020/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9020/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9020/events
|
https://github.com/langchain-ai/langchain/pull/9020
| 1,844,387,596 |
PR_kwDOIPDwls5XmMu1
| 9,020 |
Adding ChatLiteLLM model
|
{
"login": "krrishdholakia",
"id": 17561003,
"node_id": "MDQ6VXNlcjE3NTYxMDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/17561003?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krrishdholakia",
"html_url": "https://github.com/krrishdholakia",
"followers_url": "https://api.github.com/users/krrishdholakia/followers",
"following_url": "https://api.github.com/users/krrishdholakia/following{/other_user}",
"gists_url": "https://api.github.com/users/krrishdholakia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/krrishdholakia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krrishdholakia/subscriptions",
"organizations_url": "https://api.github.com/users/krrishdholakia/orgs",
"repos_url": "https://api.github.com/users/krrishdholakia/repos",
"events_url": "https://api.github.com/users/krrishdholakia/events{/privacy}",
"received_events_url": "https://api.github.com/users/krrishdholakia/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 | 7 | 2023-08-10T04:21:22 | 2023-08-14T14:43:41 | 2023-08-14T14:43:40 |
CONTRIBUTOR
| null |
Description: Adding a langchain integration for the LiteLLM library
Tag maintainer: @hwchase17, @baskaryan
Twitter handle: @krrish_dh / @Berri_AI
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9020/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9020",
"html_url": "https://github.com/langchain-ai/langchain/pull/9020",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9020.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9020.patch",
"merged_at": "2023-08-14T14:43:40"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9019
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9019/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9019/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9019/events
|
https://github.com/langchain-ai/langchain/issues/9019
| 1,844,365,609 |
I_kwDOIPDwls5t7skp
| 9,019 |
Duplicate ids passed into langchain\vectorstores\fais.__add will result in a mismatch between faiss and document's index
|
{
"login": "xia-huang-411303",
"id": 30041175,
"node_id": "MDQ6VXNlcjMwMDQxMTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/30041175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xia-huang-411303",
"html_url": "https://github.com/xia-huang-411303",
"followers_url": "https://api.github.com/users/xia-huang-411303/followers",
"following_url": "https://api.github.com/users/xia-huang-411303/following{/other_user}",
"gists_url": "https://api.github.com/users/xia-huang-411303/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xia-huang-411303/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xia-huang-411303/subscriptions",
"organizations_url": "https://api.github.com/users/xia-huang-411303/orgs",
"repos_url": "https://api.github.com/users/xia-huang-411303/repos",
"events_url": "https://api.github.com/users/xia-huang-411303/events{/privacy}",
"received_events_url": "https://api.github.com/users/xia-huang-411303/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": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-10T03:52:27 | 2023-11-17T16:05:59 | 2023-11-17T16:05:58 |
NONE
| null |
### System Info
windows 10
python 3.10.12
### Who can help?
@eyurtsev There is a BUG in the def __add function in langchain\vectorstores\faiss.py: When the parameter ids is provided and there are duplicates in it, index_to_docstore_id will report an error and the program will terminate. But the text vector embedding has been added to the index. This causes the id in the index to be inconsistent with the id in index_to_docstore_id, not aligned, and the text cannot be matched correctly.
langchain\vectorstores\faiss.py 中 def __add 函数存在BUG:
当参数 ids 已提供, 且其中存在重复时, index_to_docstore_id 新增会报错,程序运行终止. 但是文本向量 embedding 已经添加至 index 中.导致 index 中的 id 与 index_to_docstore_id 的中 id 对应不一致,文本无法正确匹配
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [x] Document Loaders
- [x] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
None
### Expected behavior
None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9019/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9019/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9018
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9018/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9018/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9018/events
|
https://github.com/langchain-ai/langchain/issues/9018
| 1,844,332,543 |
I_kwDOIPDwls5t7kf_
| 9,018 |
ImportError when importing MultiQueryRetriever
|
{
"login": "CYJGoh",
"id": 63357110,
"node_id": "MDQ6VXNlcjYzMzU3MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/63357110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CYJGoh",
"html_url": "https://github.com/CYJGoh",
"followers_url": "https://api.github.com/users/CYJGoh/followers",
"following_url": "https://api.github.com/users/CYJGoh/following{/other_user}",
"gists_url": "https://api.github.com/users/CYJGoh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CYJGoh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CYJGoh/subscriptions",
"organizations_url": "https://api.github.com/users/CYJGoh/orgs",
"repos_url": "https://api.github.com/users/CYJGoh/repos",
"events_url": "https://api.github.com/users/CYJGoh/events{/privacy}",
"received_events_url": "https://api.github.com/users/CYJGoh/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"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-10T03:04:59 | 2023-08-11T06:13:41 | 2023-08-11T06:13:41 |
NONE
| null |
### System Info
# System Info:
Langchain==0.0.260
Python==3.10.10
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
When using the following script from official documentation:
```python
from langchain.chat_models import ChatOpenAI
from langchain.retrievers.multi_query import MultiQueryRetriever
question = "What are the approaches to Task Decomposition?"
llm = ChatOpenAI(temperature=0)
retriever_from_llm = MultiQueryRetriever.from_llm(
retriever=vectordb.as_retriever(), llm=llm
)
```
ImportError arise:
```bash
File /opt/conda/envs/gpt-env/lib/python3.10/site-packages/langchain/retrievers/multi_query.py:6
2 from typing import List
4 from pydantic import BaseModel, Field
----> 6 from langchain.callbacks.manager import CallbackManagerForRetrieverRun
7 from langchain.chains.llm import LLMChain
8 from langchain.llms.base import BaseLLM
ImportError: cannot import name 'CallbackManagerForRetrieverRun' from 'langchain.callbacks.manager' (/opt/conda/envs/gpt-env/lib/python3.10/site-packages/langchain/callbacks/manager.py)
```
### Expected behavior
There should be no issue when importing MultiQueryRetriever and using the script from the official documentation.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9018/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9018/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9017
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9017/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9017/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9017/events
|
https://github.com/langchain-ai/langchain/issues/9017
| 1,844,278,830 |
I_kwDOIPDwls5t7XYu
| 9,017 |
For the Visual currently it doesn't display or show tabular format with scroll bar
|
{
"login": "rojaboina",
"id": 17240711,
"node_id": "MDQ6VXNlcjE3MjQwNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/17240711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rojaboina",
"html_url": "https://github.com/rojaboina",
"followers_url": "https://api.github.com/users/rojaboina/followers",
"following_url": "https://api.github.com/users/rojaboina/following{/other_user}",
"gists_url": "https://api.github.com/users/rojaboina/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rojaboina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rojaboina/subscriptions",
"organizations_url": "https://api.github.com/users/rojaboina/orgs",
"repos_url": "https://api.github.com/users/rojaboina/repos",
"events_url": "https://api.github.com/users/rojaboina/events{/privacy}",
"received_events_url": "https://api.github.com/users/rojaboina/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 | 4 | 2023-08-10T01:55:13 | 2023-11-17T16:06:07 | 2023-11-17T16:06:06 |
NONE
| null |
### Feature request
It would be good it create_pandas_dataframe_agent could return a table with scroll bar . Instead of us adding html code on the top of the generated code
### Motivation
Being able to capture table data is one key element of visualizations, currently create_pandas_dataframe_agent doesn't generate a table visualization with scroll bar
### Your contribution
I can try, but might need help
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9017/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9017/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9016
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9016/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9016/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9016/events
|
https://github.com/langchain-ai/langchain/pull/9016
| 1,844,253,726 |
PR_kwDOIPDwls5XlwUX
| 9,016 |
make runnable dir
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-10T01:21:48 | 2023-08-10T07:56:39 | 2023-08-10T07:56:38 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9016/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9016",
"html_url": "https://github.com/langchain-ai/langchain/pull/9016",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9016.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9016.patch",
"merged_at": "2023-08-10T07:56:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9015
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9015/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9015/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9015/events
|
https://github.com/langchain-ai/langchain/pull/9015
| 1,844,233,539 |
PR_kwDOIPDwls5XlsBA
| 9,015 |
Bagatur/filter metadata
|
{
"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-10T00:51:06 | 2023-08-17T17:26:49 | 2023-08-11T08:10:01 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9015/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9015",
"html_url": "https://github.com/langchain-ai/langchain/pull/9015",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9015.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9015.patch",
"merged_at": "2023-08-11T08:10:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9014
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9014/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9014/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9014/events
|
https://github.com/langchain-ai/langchain/issues/9014
| 1,844,201,292 |
I_kwDOIPDwls5t7EdM
| 9,014 |
WebResearchRetriever - RuntimeError: asyncio.run() cannot be called from a running event loop
|
{
"login": "oliverdixon85",
"id": 52702639,
"node_id": "MDQ6VXNlcjUyNzAyNjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/52702639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliverdixon85",
"html_url": "https://github.com/oliverdixon85",
"followers_url": "https://api.github.com/users/oliverdixon85/followers",
"following_url": "https://api.github.com/users/oliverdixon85/following{/other_user}",
"gists_url": "https://api.github.com/users/oliverdixon85/gists{/gist_id}",
"starred_url": "https://api.github.com/users/oliverdixon85/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oliverdixon85/subscriptions",
"organizations_url": "https://api.github.com/users/oliverdixon85/orgs",
"repos_url": "https://api.github.com/users/oliverdixon85/repos",
"events_url": "https://api.github.com/users/oliverdixon85/events{/privacy}",
"received_events_url": "https://api.github.com/users/oliverdixon85/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 | 6 | 2023-08-10T00:04:39 | 2024-01-17T19:07:42 | 2023-11-22T16:07:08 |
NONE
| null |
### System Info
Langchain version 0.0.260, Python
### Who can help?
@agola11
@hwchase17
### 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
Both chunks of code gave me the error.
Chunk 1
`from langchain.chains import RetrievalQAWithSourcesChain
user_input = "How do LLM Powered Autonomous Agents work?"
qa_chain = RetrievalQAWithSourcesChain.from_chain_type(llm,retriever=web_research_retriever)
result = qa_chain({"question": user_input})
result`
Chunk 2
'import logging
logging.basicConfig()
logging.getLogger("langchain.retrievers.web_research").setLevel(logging.INFO)
user_input = "How do LLM Powered Autonomous Agents work?"
docs = web_research_retriever.get_relevant_documents(user_input)
docs'
Both gave me this error
`[/usr/lib/python3.10/asyncio/runners.py](https://localhost:8080/#) in run(main, debug)
31 """
32 if events._get_running_loop() is not None:
---> 33 raise RuntimeError(
34 "asyncio.run() cannot be called from a running event loop")
35
RuntimeError: asyncio.run() cannot be called from a running event loop`
### Expected behavior
In both cases I just wanted it to produce website text with a source.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9014/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9014/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9013
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9013/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9013/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9013/events
|
https://github.com/langchain-ai/langchain/pull/9013
| 1,844,179,876 |
PR_kwDOIPDwls5Xlgef
| 9,013 |
Add optional model kwargs to ChatAnthropic to allow overrides
|
{
"login": "colegottdank",
"id": 18726574,
"node_id": "MDQ6VXNlcjE4NzI2NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/18726574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/colegottdank",
"html_url": "https://github.com/colegottdank",
"followers_url": "https://api.github.com/users/colegottdank/followers",
"following_url": "https://api.github.com/users/colegottdank/following{/other_user}",
"gists_url": "https://api.github.com/users/colegottdank/gists{/gist_id}",
"starred_url": "https://api.github.com/users/colegottdank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/colegottdank/subscriptions",
"organizations_url": "https://api.github.com/users/colegottdank/orgs",
"repos_url": "https://api.github.com/users/colegottdank/repos",
"events_url": "https://api.github.com/users/colegottdank/events{/privacy}",
"received_events_url": "https://api.github.com/users/colegottdank/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-09T23:31:26 | 2023-08-10T00:34:00 | 2023-08-10T00:34:00 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9013/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9013",
"html_url": "https://github.com/langchain-ai/langchain/pull/9013",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9013.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9013.patch",
"merged_at": "2023-08-10T00:34:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9012
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9012/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9012/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9012/events
|
https://github.com/langchain-ai/langchain/issues/9012
| 1,844,166,468 |
I_kwDOIPDwls5t679E
| 9,012 |
DOC: API Reference: Classes are not sorted
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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 | 7 | 2023-08-09T23:14:10 | 2023-11-14T19:03:46 | 2023-11-14T19:03:36 |
COLLABORATOR
| null |
### Issue with current documentation:
DOC: API Reference: Classes are not sorted in the root page. It is really hard to search for unsorted items.
For example:
```
...
agents.agent_iterator.AgentExecutorIterator(...)
agents.agent.ExceptionTool
agents.agent.LLMSingleActionAgent
agents.tools.InvalidTool
agents.schema.AgentScratchPadChatPromptTemplate
agents.agent_types.AgentType(value[, names, ...])
agents.xml.base.XMLAgent
agents.xml.base.XMLAgentOutputParser
...
```
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9012/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9012/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9011
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9011/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9011/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9011/events
|
https://github.com/langchain-ai/langchain/issues/9011
| 1,844,150,816 |
I_kwDOIPDwls5t64Ig
| 9,011 |
Conversational agent returning action plan as response after 0.0.260 release
|
{
"login": "pedropaulobm",
"id": 63467001,
"node_id": "MDQ6VXNlcjYzNDY3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/63467001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedropaulobm",
"html_url": "https://github.com/pedropaulobm",
"followers_url": "https://api.github.com/users/pedropaulobm/followers",
"following_url": "https://api.github.com/users/pedropaulobm/following{/other_user}",
"gists_url": "https://api.github.com/users/pedropaulobm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pedropaulobm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pedropaulobm/subscriptions",
"organizations_url": "https://api.github.com/users/pedropaulobm/orgs",
"repos_url": "https://api.github.com/users/pedropaulobm/repos",
"events_url": "https://api.github.com/users/pedropaulobm/events{/privacy}",
"received_events_url": "https://api.github.com/users/pedropaulobm/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-09T22:54:46 | 2023-11-19T16:05:37 | 2023-11-19T16:05:36 |
NONE
| null |
### System Info
After I upgraded my Langchain to version 0.0.260, the ConversationalChatAgent returns the action plan as the chat response.
### 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
Steps to reproduce: request something that will make a ConversationalChatAgent call a tool.
### Expected behavior
The agent should pass the action and action_input to the tool and not return it as a final response to the user.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9011/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/9011/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9010
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9010/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9010/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9010/events
|
https://github.com/langchain-ai/langchain/pull/9010
| 1,844,054,707 |
PR_kwDOIPDwls5XlFKa
| 9,010 |
Add logprobs to SamplingParameters in vllm
|
{
"login": "mspronesti",
"id": 44113430,
"node_id": "MDQ6VXNlcjQ0MTEzNDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/44113430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mspronesti",
"html_url": "https://github.com/mspronesti",
"followers_url": "https://api.github.com/users/mspronesti/followers",
"following_url": "https://api.github.com/users/mspronesti/following{/other_user}",
"gists_url": "https://api.github.com/users/mspronesti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mspronesti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mspronesti/subscriptions",
"organizations_url": "https://api.github.com/users/mspronesti/orgs",
"repos_url": "https://api.github.com/users/mspronesti/repos",
"events_url": "https://api.github.com/users/mspronesti/events{/privacy}",
"received_events_url": "https://api.github.com/users/mspronesti/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-09T21:36:52 | 2023-08-09T22:48:30 | 2023-08-09T22:48:30 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
This PR aims at amending #8806 , that I opened a few days ago, adding the extra `logprobs` parameter that I accidentally forgot
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9010/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9010",
"html_url": "https://github.com/langchain-ai/langchain/pull/9010",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9010.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9010.patch",
"merged_at": "2023-08-09T22:48:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9009
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9009/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9009/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9009/events
|
https://github.com/langchain-ai/langchain/pull/9009
| 1,844,040,504 |
PR_kwDOIPDwls5XlCAv
| 9,009 |
import airbyte loaders
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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-09T21:26:56 | 2023-08-09T21:51:17 | 2023-08-09T21:51:16 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9009/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9009",
"html_url": "https://github.com/langchain-ai/langchain/pull/9009",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9009.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9009.patch",
"merged_at": "2023-08-09T21:51:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9007
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9007/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9007/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9007/events
|
https://github.com/langchain-ai/langchain/pull/9007
| 1,844,024,765 |
PR_kwDOIPDwls5Xk-lL
| 9,007 |
Locals in config
|
{
"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": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 4 | 2023-08-09T21:14:26 | 2023-08-23T17:25:13 | 2023-08-23T17:24:28 |
COLLABORATOR
| null |
Alternate implementation of #8772. just a proof of concept, im sure there's lots of broken stuff

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9007/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9007",
"html_url": "https://github.com/langchain-ai/langchain/pull/9007",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9007.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9007.patch",
"merged_at": "2023-08-23T17:24:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9006
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9006/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9006/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9006/events
|
https://github.com/langchain-ai/langchain/pull/9006
| 1,843,990,957 |
PR_kwDOIPDwls5Xk3Ma
| 9,006 |
Suppress divide by zero wranings for cosine similarity
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T20:48:35 | 2023-08-09T22:56:52 | 2023-08-09T22:56:51 |
COLLABORATOR
| null |
Suppress run time warnings for divide by zero as the downstream code handles the scenario (handling inf and nan)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9006/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9006",
"html_url": "https://github.com/langchain-ai/langchain/pull/9006",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9006.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9006.patch",
"merged_at": "2023-08-09T22:56:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9005
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9005/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9005/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9005/events
|
https://github.com/langchain-ai/langchain/issues/9005
| 1,843,990,236 |
I_kwDOIPDwls5t6Q7c
| 9,005 |
Issue: UnicodeDecodeError when running .txt files using TextLoader
|
{
"login": "mepurgamentum",
"id": 141875339,
"node_id": "U_kgDOCHTYiw",
"avatar_url": "https://avatars.githubusercontent.com/u/141875339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mepurgamentum",
"html_url": "https://github.com/mepurgamentum",
"followers_url": "https://api.github.com/users/mepurgamentum/followers",
"following_url": "https://api.github.com/users/mepurgamentum/following{/other_user}",
"gists_url": "https://api.github.com/users/mepurgamentum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mepurgamentum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mepurgamentum/subscriptions",
"organizations_url": "https://api.github.com/users/mepurgamentum/orgs",
"repos_url": "https://api.github.com/users/mepurgamentum/repos",
"events_url": "https://api.github.com/users/mepurgamentum/events{/privacy}",
"received_events_url": "https://api.github.com/users/mepurgamentum/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 | 3 | 2023-08-09T20:48:00 | 2023-11-16T16:06:42 | 2023-11-16T16:06:41 |
NONE
| null |
### Issue you'd like to raise.
Hello - I receive a UnicodeDecodeError when running the below code:
from dotenv import load_dotenv
load_dotenv()
from langchain.llms import OpenAI
from langchain.vectorstores import Chroma
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.chains import RetrievalQA
llm = OpenAI(temperature=0.1)
from langchain.document_loaders import TextLoader
loader = TextLoader("./Training/test2.txt")
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(documents)
embeddings = OpenAIEmbeddings()
docsearch = Chroma.from_documents(texts, embeddings)
qa = RetrievalQA.from_chain_type(llm=OpenAI(), chain_type="stuff", retriever=docsearch.as_retriever(search_kwargs={"k": 1}))
query = "How much did the judge fine Twitter?"
qa.run(query)
The test2.txt is a 1,600-word UTF-8 encoded file. Here is the error text that I receive:
**Traceback (most recent call last):
File "C:\Users\Admin\PycharmProjects\pythonProject\Misc\Testing.py", line 17, in <module>
documents = loader.load()
^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\pythonProject\Misc\venv\Lib\site-packages\langchain\document_loaders\text.py", line 18, in load
text = f.read()
^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1079: character maps to <undefined>**
Any advice would be greatly appreciated.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9005/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9005/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9004
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9004/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9004/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9004/events
|
https://github.com/langchain-ai/langchain/pull/9004
| 1,843,980,465 |
PR_kwDOIPDwls5Xk060
| 9,004 |
ChatPromptTemplate pending deprecation proposal
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-09T20:40:37 | 2023-08-10T18:40:57 | 2023-08-10T18:40:56 |
COLLABORATOR
| null |
Pending deprecations for ChatPromptTemplate proposals
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9004/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9004",
"html_url": "https://github.com/langchain-ai/langchain/pull/9004",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9004.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9004.patch",
"merged_at": "2023-08-10T18:40:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9003
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9003/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9003/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9003/events
|
https://github.com/langchain-ai/langchain/pull/9003
| 1,843,966,554 |
PR_kwDOIPDwls5Xkx7d
| 9,003 |
expose llm_chain to create_openai_fn_chain
|
{
"login": "kdcokenny",
"id": 99611484,
"node_id": "U_kgDOBe_zXA",
"avatar_url": "https://avatars.githubusercontent.com/u/99611484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kdcokenny",
"html_url": "https://github.com/kdcokenny",
"followers_url": "https://api.github.com/users/kdcokenny/followers",
"following_url": "https://api.github.com/users/kdcokenny/following{/other_user}",
"gists_url": "https://api.github.com/users/kdcokenny/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kdcokenny/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdcokenny/subscriptions",
"organizations_url": "https://api.github.com/users/kdcokenny/orgs",
"repos_url": "https://api.github.com/users/kdcokenny/repos",
"events_url": "https://api.github.com/users/kdcokenny/events{/privacy}",
"received_events_url": "https://api.github.com/users/kdcokenny/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 | 3 | 2023-08-09T20:29:52 | 2023-08-12T16:53:18 | 2023-08-12T16:53:14 |
CONTRIBUTOR
| null |
I made this so people could wrap LLM Chains and optionally pass those into create_openai_fn_chain. Very simple, and non-breaking change.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9003/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9003",
"html_url": "https://github.com/langchain-ai/langchain/pull/9003",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9003.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9003.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9002
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9002/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9002/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9002/events
|
https://github.com/langchain-ai/langchain/pull/9002
| 1,843,964,132 |
PR_kwDOIPDwls5XkxZr
| 9,002 |
bump 260
|
{
"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-09T20:28:03 | 2023-08-09T20:40:50 | 2023-08-09T20:40:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9002/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9002",
"html_url": "https://github.com/langchain-ai/langchain/pull/9002",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9002.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9002.patch",
"merged_at": "2023-08-09T20:40:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9001
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9001/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9001/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9001/events
|
https://github.com/langchain-ai/langchain/issues/9001
| 1,843,961,304 |
I_kwDOIPDwls5t6J3Y
| 9,001 |
Chat LLM adds an extra sentence in front of SQL queries, produces Output Parsing Error
|
{
"login": "mroytman-eqr",
"id": 135754246,
"node_id": "U_kgDOCBdyBg",
"avatar_url": "https://avatars.githubusercontent.com/u/135754246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mroytman-eqr",
"html_url": "https://github.com/mroytman-eqr",
"followers_url": "https://api.github.com/users/mroytman-eqr/followers",
"following_url": "https://api.github.com/users/mroytman-eqr/following{/other_user}",
"gists_url": "https://api.github.com/users/mroytman-eqr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mroytman-eqr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroytman-eqr/subscriptions",
"organizations_url": "https://api.github.com/users/mroytman-eqr/orgs",
"repos_url": "https://api.github.com/users/mroytman-eqr/repos",
"events_url": "https://api.github.com/users/mroytman-eqr/events{/privacy}",
"received_events_url": "https://api.github.com/users/mroytman-eqr/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 | 3 | 2023-08-09T20:26:30 | 2023-10-26T19:20:31 | null |
NONE
| null |
### System Info
python==3.11
langchain==0.0.246
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. db_chain = SQLDatabaseChain.from_llm(chat_llm, db, use_query_checker=True, verbose=True)#, query_prompt=PROMPT)
2. chat_llm=AzureChatOpenAI(deployment_name="gpt-35-turbo-16k",
model_name="gpt-35-turbo-16k" )
3. tools=[Tool(
func=db_chain.run,
name="Database Search",
description="useful for when you need to lookup specific queries on the ATLASIQ Schema"
)]
4. prefix = """ You are an expert Snowflake SQL data analyst, who writes queries with perfect syntax,
and performs necessary computations on that data in the AtlasIQ Schema. Your goal is to answer the following questions as best you can.
When there are multiple results for the same quantity, return all of them. DO NOT hallucinate an answer if there is no result."""
suffix = """Begin!"
{chat_history}
Question: {input}
{agent_scratchpad}"""
prompt = ZeroShotAgent.create_prompt(
tools,
prefix=prefix,
suffix=suffix,
input_variables=["input", "chat_history", "agent_scratchpad"],
)
memory = ConversationBufferMemory(memory_key="chat_history")
llm_chain = LLMChain(llm=chat_llm, prompt=prompt)#, callbacks=[custom_handler.short_chain(
new_zero_agent = ZeroShotAgent(llm_chain=llm_chain, tools=tools, verbose=True)
agent_chain = AgentExecutor.from_agent_and_tools(
agent=new_zero_agent, tools=tools, verbose=True, memory=memory, handle_parsing_errors=True)
agent_chain.run(query)
### Expected behavior
I expect the query to be synthesized and executed but instead, I get an unnecessary explanation of why the query is correct "The original query does not contain any of the mentioned mistakes. Therefore, here is the reproduced original query:
SELECT SUM(total_operating_expenses)
FROM expense_income_table
WHERE market = 'Seattle'
AND period = '202305'The original query provided does not contain any of the mentioned mistakes. Hence, the original query is reproduced below:
```sql
SELECT SUM(total_operating_expenses)
FROM expense_income_table
WHERE market = 'Seattle"<- which causes the output parsing error
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9001/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9001/timeline
| null |
reopened
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/9000
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/9000/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9000/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/9000/events
|
https://github.com/langchain-ai/langchain/pull/9000
| 1,843,936,657 |
PR_kwDOIPDwls5XkrQP
| 9,000 |
Fix guard-import throwing module not found error
|
{
"login": "homanp",
"id": 2464556,
"node_id": "MDQ6VXNlcjI0NjQ1NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2464556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/homanp",
"html_url": "https://github.com/homanp",
"followers_url": "https://api.github.com/users/homanp/followers",
"following_url": "https://api.github.com/users/homanp/following{/other_user}",
"gists_url": "https://api.github.com/users/homanp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/homanp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/homanp/subscriptions",
"organizations_url": "https://api.github.com/users/homanp/orgs",
"repos_url": "https://api.github.com/users/homanp/repos",
"events_url": "https://api.github.com/users/homanp/events{/privacy}",
"received_events_url": "https://api.github.com/users/homanp/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-09T20:11:40 | 2023-08-09T20:13:42 | 2023-08-09T20:13:42 |
CONTRIBUTOR
| null |
- Description:Fix guard-import throwing module not found error
- Issue: n/a
- Dependencies: n/a
- Tag maintainer: @rlancemartin @eyurtsev
- Twitter handle: @pelaseyed
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/9000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/9000/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9000",
"html_url": "https://github.com/langchain-ai/langchain/pull/9000",
"diff_url": "https://github.com/langchain-ai/langchain/pull/9000.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/9000.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8999
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8999/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8999/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8999/events
|
https://github.com/langchain-ai/langchain/issues/8999
| 1,843,925,953 |
I_kwDOIPDwls5t6BPB
| 8,999 |
DOC: What are the default values to RecursiveCharacterTextSplitter
|
{
"login": "cssndrx",
"id": 1688894,
"node_id": "MDQ6VXNlcjE2ODg4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1688894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cssndrx",
"html_url": "https://github.com/cssndrx",
"followers_url": "https://api.github.com/users/cssndrx/followers",
"following_url": "https://api.github.com/users/cssndrx/following{/other_user}",
"gists_url": "https://api.github.com/users/cssndrx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cssndrx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cssndrx/subscriptions",
"organizations_url": "https://api.github.com/users/cssndrx/orgs",
"repos_url": "https://api.github.com/users/cssndrx/repos",
"events_url": "https://api.github.com/users/cssndrx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cssndrx/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 0 | 2023-08-09T20:03:15 | 2023-08-09T20:06:51 | 2023-08-09T20:06:51 |
NONE
| null |
### Issue with current documentation:
I am using the default configuration for RecursiveCharacterTextSplitter
text_splitter = RecursiveCharacterTextSplitter()
chunks = text_splitter.create_documents([full_text])
However, I would like to know what values are being used in the defaults. I would like to explicitly pass values, because for certain documents it seems to be not splitting and downstream I am getting from OpenAI's embeddings endpoint `This model's maximum context length is 8191 tokens, however you requested 11451 tokens (11451 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.`
### Idea or request for content:
I would like to know what values are being used as default for RecursiveCharacterTextSplitter
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8999/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8998
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8998/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8998/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8998/events
|
https://github.com/langchain-ai/langchain/pull/8998
| 1,843,917,754 |
PR_kwDOIPDwls5XknN2
| 8,998 |
Fix airbyte loader
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-09T19:56:51 | 2023-08-09T20:13:08 | 2023-08-09T20:13:06 |
COLLABORATOR
| null |
Fix airbyte loader
https://github.com/langchain-ai/langchain/issues/8996
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8998/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8998",
"html_url": "https://github.com/langchain-ai/langchain/pull/8998",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8998.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8998.patch",
"merged_at": "2023-08-09T20:13:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8997
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8997/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8997/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8997/events
|
https://github.com/langchain-ai/langchain/pull/8997
| 1,843,910,641 |
PR_kwDOIPDwls5XkltJ
| 8,997 |
Move graph use case to "more" section
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 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-09T19:51:36 | 2023-08-15T00:20:39 | 2023-08-15T00:20:38 |
COLLABORATOR
| null |
Clean `use_cases` by moving the `GraphDB` to `integrations`.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8997/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8997",
"html_url": "https://github.com/langchain-ai/langchain/pull/8997",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8997.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8997.patch",
"merged_at": "2023-08-15T00:20:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8996
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8996/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8996/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8996/events
|
https://github.com/langchain-ai/langchain/issues/8996
| 1,843,898,676 |
I_kwDOIPDwls5t56k0
| 8,996 |
`AirbyteStripeLoader` throws an error
|
{
"login": "homanp",
"id": 2464556,
"node_id": "MDQ6VXNlcjI0NjQ1NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2464556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/homanp",
"html_url": "https://github.com/homanp",
"followers_url": "https://api.github.com/users/homanp/followers",
"following_url": "https://api.github.com/users/homanp/following{/other_user}",
"gists_url": "https://api.github.com/users/homanp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/homanp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/homanp/subscriptions",
"organizations_url": "https://api.github.com/users/homanp/orgs",
"repos_url": "https://api.github.com/users/homanp/repos",
"events_url": "https://api.github.com/users/homanp/events{/privacy}",
"received_events_url": "https://api.github.com/users/homanp/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 | 5 | 2023-08-09T19:43:49 | 2023-08-09T20:19:05 | 2023-08-09T20:14:45 |
CONTRIBUTOR
| null |
### System Info
When importing the `AirbyteStripeLoader` introduced in v0.0.259 it throws an `module not found error`.
```
from libs.langchain.langchain.utils.utils import guard_import
ModuleNotFoundError: No module named 'libs'
```
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.document_loaders.airbyte import AirbyteStripeLoader
config = {
# your stripe configuration
}
loader = AirbyteStripeLoader(config=config, stream_name="invoices") # check the documentation linked above for a list of all streams
```
### Expected behavior
Import the document should not throw an error.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8996/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8995
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8995/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8995/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8995/events
|
https://github.com/langchain-ai/langchain/pull/8995
| 1,843,884,950 |
PR_kwDOIPDwls5XkgK0
| 8,995 |
Updating port and ssl use in sample notebook
|
{
"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 | 4 | 2023-08-09T19:33:26 | 2023-08-10T00:08:48 | 2023-08-10T00:08:48 |
CONTRIBUTOR
| null |
## Description
This PR updates the sample notebook to use the default port (8182) and the ssl for the Neptune database connection.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8995/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8995",
"html_url": "https://github.com/langchain-ai/langchain/pull/8995",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8995.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8995.patch",
"merged_at": "2023-08-10T00:08:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8994
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8994/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8994/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8994/events
|
https://github.com/langchain-ai/langchain/pull/8994
| 1,843,872,307 |
PR_kwDOIPDwls5XkdaB
| 8,994 |
DirectoryLoader slicing
|
{
"login": "amovfx",
"id": 45839100,
"node_id": "MDQ6VXNlcjQ1ODM5MTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/45839100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amovfx",
"html_url": "https://github.com/amovfx",
"followers_url": "https://api.github.com/users/amovfx/followers",
"following_url": "https://api.github.com/users/amovfx/following{/other_user}",
"gists_url": "https://api.github.com/users/amovfx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amovfx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amovfx/subscriptions",
"organizations_url": "https://api.github.com/users/amovfx/orgs",
"repos_url": "https://api.github.com/users/amovfx/repos",
"events_url": "https://api.github.com/users/amovfx/events{/privacy}",
"received_events_url": "https://api.github.com/users/amovfx/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 | 3 | 2023-08-09T19:24:26 | 2023-08-09T23:05:25 | 2023-08-09T23:05:16 |
CONTRIBUTOR
| null |
DirectoryLoader can now return a random sample of files in a directory.
Parameters added are:
sample_size
randomize_sample
sample_seed
@rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8994/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8994",
"html_url": "https://github.com/langchain-ai/langchain/pull/8994",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8994.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8994.patch",
"merged_at": "2023-08-09T23:05:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8993
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8993/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8993/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8993/events
|
https://github.com/langchain-ai/langchain/pull/8993
| 1,843,840,302 |
PR_kwDOIPDwls5XkWfG
| 8,993 |
docstrings cleanup
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-09T19:02:45 | 2023-08-09T23:00:35 | 2023-08-09T22:49:06 |
COLLABORATOR
| null |
Added/Updated docstrings
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8993/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8993",
"html_url": "https://github.com/langchain-ai/langchain/pull/8993",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8993.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8993.patch",
"merged_at": "2023-08-09T22:49:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8992
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8992/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8992/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8992/events
|
https://github.com/langchain-ai/langchain/pull/8992
| 1,843,818,349 |
PR_kwDOIPDwls5XkRyl
| 8,992 |
Add docs community page
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-09T18:46:26 | 2023-08-10T23:53:15 | 2023-08-10T20:41:35 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8992/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/8992/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8992",
"html_url": "https://github.com/langchain-ai/langchain/pull/8992",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8992.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8992.patch",
"merged_at": "2023-08-10T20:41:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8991
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8991/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8991/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8991/events
|
https://github.com/langchain-ai/langchain/pull/8991
| 1,843,809,131 |
PR_kwDOIPDwls5XkPzr
| 8,991 |
Include tokens from function output in streaming callbacks
|
{
"login": "dmyoung9",
"id": 101432365,
"node_id": "U_kgDOBgu8LQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101432365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmyoung9",
"html_url": "https://github.com/dmyoung9",
"followers_url": "https://api.github.com/users/dmyoung9/followers",
"following_url": "https://api.github.com/users/dmyoung9/following{/other_user}",
"gists_url": "https://api.github.com/users/dmyoung9/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dmyoung9/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmyoung9/subscriptions",
"organizations_url": "https://api.github.com/users/dmyoung9/orgs",
"repos_url": "https://api.github.com/users/dmyoung9/repos",
"events_url": "https://api.github.com/users/dmyoung9/events{/privacy}",
"received_events_url": "https://api.github.com/users/dmyoung9/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 |
{
"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 | 8 | 2023-08-09T18:40:03 | 2023-11-10T22:27:56 | 2023-11-10T22:27:55 |
NONE
| null |
Description
---
This adds a small bit of logic so that `on_new_llm_token` callbacks will be properly passed a valid token (instead of `''`) when a streaming model is called as part of a function call or tool run.
Issue
---
This is a *partial* fix for #7385, having only implemented this logic for `ChatOpenAI`. As @rasca mentions in that issue:
> We need to add this to every llm/
I haven't gone this far, as I don't have reliable (or any) access to many of the LLMs that are integrated, but am using OpenAI's models for my own development.
Dependencies
---
There are no extra dependencies required for this fix.
Tag Maintainer
---
I have a feeling this one should probably be looked at by @agola11.
Twitter Handle
---
What's Twitter? 🤣
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8991/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/8991/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8991",
"html_url": "https://github.com/langchain-ai/langchain/pull/8991",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8991.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8991.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8990
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8990/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8990/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8990/events
|
https://github.com/langchain-ai/langchain/issues/8990
| 1,843,798,272 |
I_kwDOIPDwls5t5iEA
| 8,990 |
run() got an unexpected keyword argument 'name'
|
{
"login": "MuhammadBilal848",
"id": 57318407,
"node_id": "MDQ6VXNlcjU3MzE4NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/57318407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MuhammadBilal848",
"html_url": "https://github.com/MuhammadBilal848",
"followers_url": "https://api.github.com/users/MuhammadBilal848/followers",
"following_url": "https://api.github.com/users/MuhammadBilal848/following{/other_user}",
"gists_url": "https://api.github.com/users/MuhammadBilal848/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MuhammadBilal848/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MuhammadBilal848/subscriptions",
"organizations_url": "https://api.github.com/users/MuhammadBilal848/orgs",
"repos_url": "https://api.github.com/users/MuhammadBilal848/repos",
"events_url": "https://api.github.com/users/MuhammadBilal848/events{/privacy}",
"received_events_url": "https://api.github.com/users/MuhammadBilal848/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 | 7 | 2023-08-09T18:31:56 | 2023-08-13T16:01:55 | 2023-08-13T16:01:55 |
NONE
| null |
### Issue you'd like to raise.
Hey y'all. i have this code. i wrote it one month back and when i am running it now, it is giving me an error.
**CODE**:
<code>import os
from langchain.llms import OpenAI
from langchain import PromptTemplate
from langchain.chains import LLMChain
from constant import openai_key
import streamlit as st
os.environ['OPENAI_API_KEY'] = openai_key
llm = OpenAI(temperature=0.8)
multiple_inputs = PromptTemplate(
input_variables=["name", "age", "location"],
template="My name is {name}, I am {age} years old and live in {location}."
)
chain = LLMChain(llm=llm, prompt=multiple_inputs)
output = chain.run(
name="John",
age=30,
location="New York"
)
print(output)
</code>
**ERROR**:
<code>Traceback (most recent call last):
File ".\questions.py", line 19, in <module>
output = chain.run(
TypeError: run() got an unexpected keyword argument 'name'</code>
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8990/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8990/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8989
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8989/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8989/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8989/events
|
https://github.com/langchain-ai/langchain/pull/8989
| 1,843,791,167 |
PR_kwDOIPDwls5XkMAQ
| 8,989 |
Update quickstart.mdx
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T18:26:33 | 2023-08-10T01:21:19 | 2023-08-09T18:40:30 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8989/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8989",
"html_url": "https://github.com/langchain-ai/langchain/pull/8989",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8989.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8989.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8988
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8988/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8988/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8988/events
|
https://github.com/langchain-ai/langchain/pull/8988
| 1,843,787,470 |
PR_kwDOIPDwls5XkLNV
| 8,988 |
openai adapters
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"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-09T18:23:59 | 2023-08-10T23:08:51 | 2023-08-10T23:08:50 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8988/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8988",
"html_url": "https://github.com/langchain-ai/langchain/pull/8988",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8988.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8988.patch",
"merged_at": "2023-08-10T23:08:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8987
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8987/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8987/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8987/events
|
https://github.com/langchain-ai/langchain/issues/8987
| 1,843,784,776 |
I_kwDOIPDwls5t5exI
| 8,987 |
Issue: ConversationRetrievalChain" is not accessedPylance
|
{
"login": "aaryaman11",
"id": 45428724,
"node_id": "MDQ6VXNlcjQ1NDI4NzI0",
"avatar_url": "https://avatars.githubusercontent.com/u/45428724?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaryaman11",
"html_url": "https://github.com/aaryaman11",
"followers_url": "https://api.github.com/users/aaryaman11/followers",
"following_url": "https://api.github.com/users/aaryaman11/following{/other_user}",
"gists_url": "https://api.github.com/users/aaryaman11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aaryaman11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aaryaman11/subscriptions",
"organizations_url": "https://api.github.com/users/aaryaman11/orgs",
"repos_url": "https://api.github.com/users/aaryaman11/repos",
"events_url": "https://api.github.com/users/aaryaman11/events{/privacy}",
"received_events_url": "https://api.github.com/users/aaryaman11/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-09T18:21:55 | 2023-11-16T16:06:44 | 2023-11-16T16:06:43 |
NONE
| null |
### Issue you'd like to raise.
```from langchain.chains import ConversationRetrievalChain```
this is what I have and i am using the latest langchain version
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8987/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8987/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8986
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8986/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8986/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8986/events
|
https://github.com/langchain-ai/langchain/issues/8986
| 1,843,782,612 |
I_kwDOIPDwls5t5ePU
| 8,986 |
Out of dataset answer and reference link provided for RAG example
|
{
"login": "aiquick",
"id": 137862074,
"node_id": "U_kgDOCDebug",
"avatar_url": "https://avatars.githubusercontent.com/u/137862074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aiquick",
"html_url": "https://github.com/aiquick",
"followers_url": "https://api.github.com/users/aiquick/followers",
"following_url": "https://api.github.com/users/aiquick/following{/other_user}",
"gists_url": "https://api.github.com/users/aiquick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aiquick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aiquick/subscriptions",
"organizations_url": "https://api.github.com/users/aiquick/orgs",
"repos_url": "https://api.github.com/users/aiquick/repos",
"events_url": "https://api.github.com/users/aiquick/events{/privacy}",
"received_events_url": "https://api.github.com/users/aiquick/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 | 3 | 2023-08-09T18:20:23 | 2023-11-16T16:06:02 | 2023-11-16T16:06:01 |
NONE
| null |
### System Info
Ubuntu 22
Langchain version
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Current behaviour:
I'm using the [RAG example](https://github.com/pinecone-io/examples/blob/master/docs/langchain-retrieval-augmentation.ipynb) and feeding my own database of [1 football article](https://www.bbc.co.uk/sport/football/65984561).
The Pinecone DB is a brand new database and only contains vectors from the football article.
When I do qa_with_sources(query="Who is Sachin Tendulkar") it provides me an answer and a link as a reference. This is not the expected behavior.
I have not fed any article about Sachin Tendulkar to the database. How and why/where from is it getting the answer and the link?
Now, If I add more articles only about football, push the vector count in the database to around 90. And then I ask the same question, query="Who is Sachin Tendulkar", it is not able to give the answer, which is the expected behavior.
I wonder if the fullness of the vector db makes it more accurate? Has anyone else seen this?
Repro:
Create a new Vector DB on pinecone. Use [this example](https://github.com/pinecone-io/examples/blob/master/docs/langchain-retrieval-augmentation.ipynb) to feed in a [football](https://www.bbc.com/sport/football/65984561) article.
Run query="Who is Sachin Tendulkar". Note the result contains a reference and an answer. (Unexpected)
Now, create a more full db, with more articles and ask the same query. Note that the results is empty as expected.
### Expected behavior
Since the database does not contain any article or mention of Sachin Tendulkar, it should not provide any answer, and instead say "This is not mentioned in the database".
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8986/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8986/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8985
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8985/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8985/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8985/events
|
https://github.com/langchain-ai/langchain/issues/8985
| 1,843,767,365 |
I_kwDOIPDwls5t5ahF
| 8,985 |
Issue in running ConversationalRetrievalChain query across multiple Opensearch indices with wildcard specification
|
{
"login": "abhinavmishra590",
"id": 5388037,
"node_id": "MDQ6VXNlcjUzODgwMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5388037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhinavmishra590",
"html_url": "https://github.com/abhinavmishra590",
"followers_url": "https://api.github.com/users/abhinavmishra590/followers",
"following_url": "https://api.github.com/users/abhinavmishra590/following{/other_user}",
"gists_url": "https://api.github.com/users/abhinavmishra590/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abhinavmishra590/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhinavmishra590/subscriptions",
"organizations_url": "https://api.github.com/users/abhinavmishra590/orgs",
"repos_url": "https://api.github.com/users/abhinavmishra590/repos",
"events_url": "https://api.github.com/users/abhinavmishra590/events{/privacy}",
"received_events_url": "https://api.github.com/users/abhinavmishra590/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"
}
] |
closed
| false | null |
[] | null | 5 | 2023-08-09T18:08:27 | 2023-11-29T16:08:15 | 2023-11-29T16:08:14 |
NONE
| null |
### System Info
Langchain version: 0.0.257
Python version: 3.11
Opensearch-py version: 2.3.0
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I have this `Opensearch Vector DB `and I maintain multiple indices that start with "index-" (for example index-pdf, index-html). I have indexed sets of documents to each of the indices using Langchain's OpenSearchVectorSearch.from_documents() function.
Now, I want to run some queries which I want them to be run across multiple indices. An example would be "What is the title of each document?". When I execute below code, it either just outputs answer from first or last matching index, or says it cannot find the answer. Here is my current code:
```
from langchain.vectorstores import OpenSearchVectorSearch
from langchain.chains import RetrievalQA, ConversationalRetrievalChain
import os
from langchain.embeddings import OpenAIEmbeddings
from langchain.chat_models import ChatOpenAI
embeddings = OpenAIEmbeddings()
def get_llm(model):
llm = ChatOpenAI(model_name=model.lower(), verbose=False, temperature=0)
return llm
docsearch = OpenSearchVectorSearch(opensearch_url="http://localhost:9200",
index_name="index-*",
embedding_function=embeddings)
chain = ConversationalRetrievalChain.from_llm(
llm=get_llm("gpt-3.5-turbo"),
retriever=docsearch.as_retriever(),
)
result = chain({'question': 'What is the title of each document?', "chat_history": []})
response = result['answer']
print(response)
```
The response I get is either of the format "The document provided does not list different titles..."
### Expected behavior
Response should be span across multiple indices
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8985/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8985/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8984
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8984/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8984/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8984/events
|
https://github.com/langchain-ai/langchain/issues/8984
| 1,843,758,645 |
I_kwDOIPDwls5t5YY1
| 8,984 |
pydantic upgrade
|
{
"login": "chengyjonathan",
"id": 37084761,
"node_id": "MDQ6VXNlcjM3MDg0NzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/37084761?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chengyjonathan",
"html_url": "https://github.com/chengyjonathan",
"followers_url": "https://api.github.com/users/chengyjonathan/followers",
"following_url": "https://api.github.com/users/chengyjonathan/following{/other_user}",
"gists_url": "https://api.github.com/users/chengyjonathan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chengyjonathan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chengyjonathan/subscriptions",
"organizations_url": "https://api.github.com/users/chengyjonathan/orgs",
"repos_url": "https://api.github.com/users/chengyjonathan/repos",
"events_url": "https://api.github.com/users/chengyjonathan/events{/privacy}",
"received_events_url": "https://api.github.com/users/chengyjonathan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-09T18:01:33 | 2023-11-24T16:07:25 | 2023-11-24T16:07:24 |
NONE
| null |
### Feature request
Many packages use pydantic versions that are much more recent than the one in langchain.
### Motivation
It is very difficult to use langchain with other packages that use recent versions of pydantic
### Your contribution
Just wanting to signal this as a needed feature
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8984/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8984/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8983
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8983/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8983/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8983/events
|
https://github.com/langchain-ai/langchain/issues/8983
| 1,843,744,154 |
I_kwDOIPDwls5t5U2a
| 8,983 |
Kernel crash when using llama2 70b on langchain with llama.cpp
|
{
"login": "QROST",
"id": 12784080,
"node_id": "MDQ6VXNlcjEyNzg0MDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/12784080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QROST",
"html_url": "https://github.com/QROST",
"followers_url": "https://api.github.com/users/QROST/followers",
"following_url": "https://api.github.com/users/QROST/following{/other_user}",
"gists_url": "https://api.github.com/users/QROST/gists{/gist_id}",
"starred_url": "https://api.github.com/users/QROST/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/QROST/subscriptions",
"organizations_url": "https://api.github.com/users/QROST/orgs",
"repos_url": "https://api.github.com/users/QROST/repos",
"events_url": "https://api.github.com/users/QROST/events{/privacy}",
"received_events_url": "https://api.github.com/users/QROST/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-09T17:50:43 | 2023-11-16T16:06:21 | 2023-11-16T16:06:20 |
NONE
| null |
### System Info
Mac OS 14.0
M1 Max 64GB ram
VSCode 1.80.2
Jupyter Notebook
Python 3.11.4
Llama-cpp-python using `!CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install --upgrade llama-cpp-python`
### Who can help?
@hwchase17 @agol
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.llms import LlamaCpp
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
llm = LlamaCpp(
model_path="./llama2_70b_chat_uncensored.ggmlv3.q5_K_S.bin",
n_gpu_layers=n_gpu_layers,
n_gqa=8,
n_batch=n_batch,
n_ctx=2048,
f16_kv=True,
callback_manager=callback_manager,
verbose=True,
)
prompt = """
Question: A rap battle between Stephen Colbert and John Oliver
"""
llm(prompt)
```
Error log:
```
10:30:36.498 [error] Disposing session as kernel process died ExitCode: undefined, Reason: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
llama.cpp: loading model from ./llama2_70b_chat_uncensored.ggmlv3.q5_K_S.bin
llama_model_load_internal: warning: assuming 70B model based on GQA == 8
llama_model_load_internal: format = ggjt v3 (latest)
llama_model_load_internal: n_vocab = 32000
llama_model_load_internal: n_ctx = 2048
llama_model_load_internal: n_embd = 8192
llama_model_load_internal: n_mult = 7168
llama_model_load_internal: n_head = 64
llama_model_load_internal: n_head_kv = 8
llama_model_load_internal: n_layer = 80
llama_model_load_internal: n_rot = 128
llama_model_load_internal: n_gqa = 8
llama_model_load_internal: rnorm_eps = 1.0e-06
llama_model_load_internal: n_ff = 28672
llama_model_load_internal: freq_base = 10000.0
llama_model_load_internal: freq_scale = 1
llama_model_load_internal: ftype = 16 (mostly Q5_K - Small)
llama_model_load_internal: model size = 70B
llama_model_load_internal: ggml ctx size = 0.21 MB
llama_model_load_internal: mem required = 46046.21 MB (+ 640.00 MB per state)
llama_new_context_with_model: kv self size = 640.00 MB
ggml_metal_init: allocating
ggml_metal_init: using MPS
ggml_metal_init: loading '~/anaconda3/envs/llama-cpp-venv/lib/python3.11/site-packages/llama_cpp/ggml-metal.metal'
ggml_metal_init: loaded kernel_add 0x126d41720
ggml_metal_init: loaded kernel_add_row 0x126d41130
ggml_metal_init: loaded kernel_mul 0x126d4e410
ggml_metal_init: loaded kernel_mul_row 0x126d4e710
ggml_metal_init: loaded kernel_scale 0x126d55390
ggml_metal_init: loaded kernel_silu 0x126d538c0
ggml_metal_init: loaded kernel_relu 0x126d56130
ggml_metal_init: loaded kernel_gelu 0x126d568e0
ggml_metal_init: loaded kernel_soft_max 0x126d56d00
ggml_metal_init: loaded kernel_diag_mask_inf 0x126d56f70
ggml_metal_init: loaded kernel_get_rows_f16 0x126d57af0
ggml_metal_init: loaded kernel_get_rows_q4_0 0x126d581f0
ggml_metal_init: loaded kernel_get_rows_q4_1 0x126d58780
ggml_metal_init: loaded kernel_get_rows_q2_K 0x111ce66e0
ggml_metal_init: loaded kernel_get_rows_q3_K 0x126d589f0
ggml_metal_init: loaded kernel_get_rows_q4_K 0x126d58c60
ggml_metal_init: loaded kernel_get_rows_q5_K 0x126d59830
ggml_metal_init: loaded kernel_get_rows_q6_K 0x126d59d80
ggml_metal_init: loaded kernel_rms_norm 0x130328d00
ggml_metal_init: loaded kernel_norm 0x1303284a0
ggml_metal_init: loaded kernel_mul_mat_f16_f32 0x13032a1c0
ggml_metal_init: loaded kernel_mul_mat_q4_0_f32 0x126d59ff0
ggml_metal_init: loaded kernel_mul_mat_q4_1_f32 0x126d5a260
ggml_metal_init: loaded kernel_mul_mat_q2_K_f32 0x126d5b0c0
ggml_metal_init: loaded kernel_mul_mat_q3_K_f32 0x126d5b640
ggml_metal_init: loaded kernel_mul_mat_q4_K_f32 0x126d5bc50
ggml_metal_init: loaded kernel_mul_mat_q5_K_f32 0x126d5c240
ggml_metal_init: loaded kernel_mul_mat_q6_K_f32 0x126d5c960
ggml_metal_init: loaded kernel_rope 0x13032af10
ggml_metal_init: loaded kernel_alibi_f32 0x13032b180
ggml_metal_init: loaded kernel_cpy_f32_f16 0x13032b3f0
ggml_metal_init: loaded kernel_cpy_f32_f32 0x13032b660
ggml_metal_init: loaded kernel_cpy_f16_f16 0x13032d380
ggml_metal_init: recommendedMaxWorkingSetSize = 49152.00 MB
ggml_metal_init: hasUnifiedMemory = true
ggml_metal_init: maxTransferRate = built-in GPU
llama_new_context_with_model: max tensor size = 205.08 MB
ggml_metal_add_buffer: allocated 'data ' buffer, size = 36864.00 MB, offs = 0
ggml_metal_add_buffer: allocated 'data ' buffer, size = 8603.55 MB, offs = 38439649280, (45468.00 / 49152.00)
ggml_metal_add_buffer: allocated 'eval ' buffer, size = 24.00 MB, (45492.00 / 49152.00)
ggml_metal_add_buffer: allocated 'kv ' buffer, size = 642.00 MB, (46134.00 / 49152.00)
ggml_metal_add_buffer: allocated 'scr0 ' buffer, size = 456.00 MB, (46590.00 / 49152.00)
ggml_metal_add_buffer: allocated 'scr1 ' buffer, size = 304.00 MB, (46894.00 / 49152.00)
10:30:36.498 [info] Dispose Kernel process 40138.
10:30:36.498 [error] Raw kernel process exited code: undefined
10:30:36.499 [error] Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
at t.KernelShellFutureHandler.dispose (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:2:32375)
at ~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:2:51427
at Map.forEach (<anonymous>)
at v._clearKernelState (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:2:51412)
at v.dispose (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:2:44894)
at ~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:24:113024
at re (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:2:1587343)
at Cv.dispose (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:24:113000)
at Ev.dispose (~/.vscode/extensions/ms-toolsai.jupyter-2023.6.1101941928-darwin-arm64/out/extension.node.js:24:120283)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)]
10:30:36.499 [warn] Cell completed with errors {
message: 'Canceled future for execute_request message before replies were done'
}
10:30:36.499 [info] End cell 21 execution @ 1691602236499, started @ 1691602225152, elapsed time = 11.347s
```
Tested with llama.cpp sample and 70b model works directly without langchain. The problem only occurs when using langchain to prompt to llama.cpp & the 70b model.
### Expected behavior
Kernel should not crash.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8983/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8983/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8982
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8982/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8982/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8982/events
|
https://github.com/langchain-ai/langchain/pull/8982
| 1,843,727,190 |
PR_kwDOIPDwls5Xj-U5
| 8,982 |
Use Embeddings in pinecone
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 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-09T17:37:05 | 2023-08-11T00:28:33 | 2023-08-10T21:22:41 |
COLLABORATOR
| null |
cc @eyurtsev @olivier-lacroix @jamescalam
redo of #2741
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8982/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8982",
"html_url": "https://github.com/langchain-ai/langchain/pull/8982",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8982.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8982.patch",
"merged_at": "2023-08-10T21:22:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8981
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8981/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8981/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8981/events
|
https://github.com/langchain-ai/langchain/pull/8981
| 1,843,688,582 |
PR_kwDOIPDwls5Xj2Ft
| 8,981 |
Add convenience methods to ConversationBufferMemory and ConversationB…
|
{
"login": "wnmurphy",
"id": 8880923,
"node_id": "MDQ6VXNlcjg4ODA5MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8880923?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wnmurphy",
"html_url": "https://github.com/wnmurphy",
"followers_url": "https://api.github.com/users/wnmurphy/followers",
"following_url": "https://api.github.com/users/wnmurphy/following{/other_user}",
"gists_url": "https://api.github.com/users/wnmurphy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wnmurphy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnmurphy/subscriptions",
"organizations_url": "https://api.github.com/users/wnmurphy/orgs",
"repos_url": "https://api.github.com/users/wnmurphy/repos",
"events_url": "https://api.github.com/users/wnmurphy/events{/privacy}",
"received_events_url": "https://api.github.com/users/wnmurphy/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-09T17:07:14 | 2023-08-10T22:45:30 | 2023-08-10T22:45:30 |
CONTRIBUTOR
| null |
Add convenience methods to `ConversationBufferMemory` and `ConversationBufferWindowMemory` to get buffer either as messages or as string.
Helps when `return_messages` is set to `True` but you want access to the messages as a string, and vice versa.
@hwchase17
One use case: Using a `MultiPromptRouter` where `default_chain` is `ConversationChain`, but destination chains are `LLMChains`. Injecting chat memory into prompts for destination chains prints a stringified `List[Messages]` in the prompt, which creates a lot of noise. These convenience methods allow caller to choose either as needed.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8981/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8981",
"html_url": "https://github.com/langchain-ai/langchain/pull/8981",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8981.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8981.patch",
"merged_at": "2023-08-10T22:45:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8980
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8980/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8980/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8980/events
|
https://github.com/langchain-ai/langchain/pull/8980
| 1,843,663,527 |
PR_kwDOIPDwls5Xjwi6
| 8,980 |
Add redis storage
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 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-09T16:54:03 | 2023-08-10T14:48:52 | 2023-08-10T14:48:35 |
COLLABORATOR
| null |
Add a redis implementation of a BaseStore
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8980/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8980",
"html_url": "https://github.com/langchain-ai/langchain/pull/8980",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8980.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8980.patch",
"merged_at": "2023-08-10T14:48:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8979
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8979/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8979/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8979/events
|
https://github.com/langchain-ai/langchain/issues/8979
| 1,843,655,453 |
I_kwDOIPDwls5t4_Md
| 8,979 |
Force LangChain Agent to Use a Tool
|
{
"login": "miggytrinidad",
"id": 11906579,
"node_id": "MDQ6VXNlcjExOTA2NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/11906579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miggytrinidad",
"html_url": "https://github.com/miggytrinidad",
"followers_url": "https://api.github.com/users/miggytrinidad/followers",
"following_url": "https://api.github.com/users/miggytrinidad/following{/other_user}",
"gists_url": "https://api.github.com/users/miggytrinidad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miggytrinidad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miggytrinidad/subscriptions",
"organizations_url": "https://api.github.com/users/miggytrinidad/orgs",
"repos_url": "https://api.github.com/users/miggytrinidad/repos",
"events_url": "https://api.github.com/users/miggytrinidad/events{/privacy}",
"received_events_url": "https://api.github.com/users/miggytrinidad/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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-09T16:48:11 | 2023-08-22T13:32:38 | 2023-08-14T14:48:04 |
NONE
| null |
### Issue you'd like to raise.
How do you force a langchain agent to use a tool and not use any information outside the tool? Currently, if the question is not related to the Tool it uses its own data to generate answer which I don't want it to be.
Use Case: I have an index which has a lot of documents. I want to make sure the agent will use the index ALWAYS to get information. If the question is not in the index it should return "I don't know" or similar.
P.S I am using OPENAI_FUNCTION agent.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8979/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8978
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8978/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8978/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8978/events
|
https://github.com/langchain-ai/langchain/issues/8978
| 1,843,652,268 |
I_kwDOIPDwls5t4-as
| 8,978 |
issues loading the prompt with load_prompt
|
{
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/users/andysingal/followers",
"following_url": "https://api.github.com/users/andysingal/following{/other_user}",
"gists_url": "https://api.github.com/users/andysingal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andysingal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andysingal/subscriptions",
"organizations_url": "https://api.github.com/users/andysingal/orgs",
"repos_url": "https://api.github.com/users/andysingal/repos",
"events_url": "https://api.github.com/users/andysingal/events{/privacy}",
"received_events_url": "https://api.github.com/users/andysingal/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 1 | 2023-08-09T16:45:57 | 2023-08-09T16:47:49 | 2023-08-09T16:47:49 |
NONE
| null |
### System Info
colab
```
!pip install -q langchain tiktoken openai chromadb
```
### Who can help?
@eyurtsev @aga
### 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
```
%%writefile adjective_joke_prompt.json
{
# what type of prompt. Currently supports "prompt" and "few_shot"
"_type": "prompt",
# the input variables used in the template
"input_variables": ["adjective", "content"],
# the template text of the prompt, including variable placeholders
"template": "Tell me a {{ adjective }} joke about {{ content }}",
# alternatively the template text can be loaded from a file
"template_path": "adjective_joke_prompt_template.txt"
# NOTE: both "template" and "template_path" cannot be used at the same time!
# the format of the template
"template_format": "jinja2",
# currently only the "RegexParser" is supported for "output_parser"
# this is example of a date parser
"output_parser": {
"_type": "regex_parser",
"regex": "(\\d{4})-(\\d{2})-(\\d{2})",
"output_keys": ["year", "month", "day"]
}
}
```
```
# load the prompt using a file
prompt_template = load_prompt("adjective_joke_prompt.json")
# create a prompt using the variables
prompt_template.format(adjective="funny", content="chickens")
```
gives error:
```
---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
[<ipython-input-41-7755c281a03b>](https://localhost:8080/#) in <cell line: 2>()
1 # load the prompt using a file
----> 2 prompt_template = load_prompt("adjective_joke_prompt.json")
3
4 # create a prompt using the variables
5 prompt_template.format(adjective="funny", content="chickens")
5 frames
[/usr/lib/python3.10/json/decoder.py](https://localhost:8080/#) in raw_decode(self, s, idx)
351 """
352 try:
--> 353 obj, end = self.scan_once(s, idx)
354 except StopIteration as err:
355 raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting property name enclosed in double quotes: line 3 column 2 (char 4)
```
### Expected behavior
gives response based on template
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8978/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8977
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8977/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8977/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8977/events
|
https://github.com/langchain-ai/langchain/pull/8977
| 1,843,649,007 |
PR_kwDOIPDwls5Xjtcw
| 8,977 |
scheduled gha fix
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T16:43:29 | 2023-08-09T16:44:26 | 2023-08-09T16:44:25 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8977/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8977",
"html_url": "https://github.com/langchain-ai/langchain/pull/8977",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8977.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8977.patch",
"merged_at": "2023-08-09T16:44:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8976
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8976/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8976/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8976/events
|
https://github.com/langchain-ai/langchain/pull/8976
| 1,843,646,644 |
PR_kwDOIPDwls5Xjs9P
| 8,976 |
Add embeddings cache
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-09T16:41:44 | 2023-08-10T15:15:32 | 2023-08-10T15:15:30 |
COLLABORATOR
| null |
This PR adds the ability to temporarily cache or persistently store embeddings.
A notebook has been included showing how to set up the cache and how to use it
with a vectorstore.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8976/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8976",
"html_url": "https://github.com/langchain-ai/langchain/pull/8976",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8976.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8976.patch",
"merged_at": "2023-08-10T15:15:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8975
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8975/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8975/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8975/events
|
https://github.com/langchain-ai/langchain/issues/8975
| 1,843,641,608 |
I_kwDOIPDwls5t470I
| 8,975 |
Issue: Can't pass embedded documents with chat
|
{
"login": "ali-habibzadeh",
"id": 1344532,
"node_id": "MDQ6VXNlcjEzNDQ1MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1344532?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ali-habibzadeh",
"html_url": "https://github.com/ali-habibzadeh",
"followers_url": "https://api.github.com/users/ali-habibzadeh/followers",
"following_url": "https://api.github.com/users/ali-habibzadeh/following{/other_user}",
"gists_url": "https://api.github.com/users/ali-habibzadeh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ali-habibzadeh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ali-habibzadeh/subscriptions",
"organizations_url": "https://api.github.com/users/ali-habibzadeh/orgs",
"repos_url": "https://api.github.com/users/ali-habibzadeh/repos",
"events_url": "https://api.github.com/users/ali-habibzadeh/events{/privacy}",
"received_events_url": "https://api.github.com/users/ali-habibzadeh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 0 | 2023-08-09T16:38:34 | 2023-08-09T17:38:23 | 2023-08-09T17:38:23 |
NONE
| null |
### Issue you'd like to raise.
I am trying to have a conversation with my documents like this
```typescript
const index = client.Index(indexName); //pinecode index
const queryEmbedding = await new OpenAIEmbeddings().embedQuery(question);
const queryResponse = await index.query({
queryRequest: { topK: 10, vector: queryEmbedding, includeMetadata: true },
});
const llm = new OpenAI();
const chatHistory = new ChatMessageHistory();
const memory = new BufferMemory({ chatHistory, inputKey: "my_chat_history", memoryKey: "chat_history" });
const chain = new ConversationChain({ llm, memory, verbose: true });
const concatenatedPageContent = queryResponse.matches.map(match => (<any>match?.metadata)?.pageContent).join(" ");
const result = await chain.call({
input_documents: [new Document({ pageContent: concatenatedPageContent })],
input: question,
});
```
But gettiing
```
Error: Missing value for input history
```
It seems to be impossible to marry embedded docs with chatting
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8975/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8974
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8974/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8974/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8974/events
|
https://github.com/langchain-ai/langchain/pull/8974
| 1,843,635,976 |
PR_kwDOIPDwls5XjqoF
| 8,974 |
skip over empty google spreadsheets
|
{
"login": "IanRogers-101Ways",
"id": 140076427,
"node_id": "U_kgDOCFlliw",
"avatar_url": "https://avatars.githubusercontent.com/u/140076427?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IanRogers-101Ways",
"html_url": "https://github.com/IanRogers-101Ways",
"followers_url": "https://api.github.com/users/IanRogers-101Ways/followers",
"following_url": "https://api.github.com/users/IanRogers-101Ways/following{/other_user}",
"gists_url": "https://api.github.com/users/IanRogers-101Ways/gists{/gist_id}",
"starred_url": "https://api.github.com/users/IanRogers-101Ways/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/IanRogers-101Ways/subscriptions",
"organizations_url": "https://api.github.com/users/IanRogers-101Ways/orgs",
"repos_url": "https://api.github.com/users/IanRogers-101Ways/repos",
"events_url": "https://api.github.com/users/IanRogers-101Ways/events{/privacy}",
"received_events_url": "https://api.github.com/users/IanRogers-101Ways/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-09T16:34:57 | 2023-08-09T23:05:36 | 2023-08-09T23:05:03 |
CONTRIBUTOR
| null |
- Description: Allow GoogleDriveLoader to handle empty spreadsheets
- Issue: Currently GoogleDriveLoader will crash if it tries to load a spreadsheet with an empty sheet
- Dependencies: n/a
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8974/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8974",
"html_url": "https://github.com/langchain-ai/langchain/pull/8974",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8974.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8974.patch",
"merged_at": "2023-08-09T23:05:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8973
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8973/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8973/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8973/events
|
https://github.com/langchain-ai/langchain/issues/8973
| 1,843,608,827 |
I_kwDOIPDwls5t4zz7
| 8,973 |
Human as a Tool in Production
|
{
"login": "Ajaypawar02",
"id": 65480235,
"node_id": "MDQ6VXNlcjY1NDgwMjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/65480235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ajaypawar02",
"html_url": "https://github.com/Ajaypawar02",
"followers_url": "https://api.github.com/users/Ajaypawar02/followers",
"following_url": "https://api.github.com/users/Ajaypawar02/following{/other_user}",
"gists_url": "https://api.github.com/users/Ajaypawar02/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ajaypawar02/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ajaypawar02/subscriptions",
"organizations_url": "https://api.github.com/users/Ajaypawar02/orgs",
"repos_url": "https://api.github.com/users/Ajaypawar02/repos",
"events_url": "https://api.github.com/users/Ajaypawar02/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ajaypawar02/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-09T16:15:19 | 2023-11-15T16:05:23 | 2023-11-15T16:05:22 |
NONE
| null |
### Issue you'd like to raise.
Can we use Human as a tool in product?
def get_input() -> str:
print("Insert your text. Enter 'q' or press Ctrl-D (or Ctrl-Z on Windows) to end.")
contents = []
while True:
try:
line = input()
except EOFError:
break
if line == "q":
break
contents.append(line)
return "\n".join(contents)
# You can modify the tool when loading
tools = load_tools(["human", "ddg-search"], llm=math_llm, input_func=get_input)
what to do with input() in get_input() function if we need to use this tool in production?
reference:-https://python.langchain.com/docs/integrations/tools/human_tools
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8973/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8972
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8972/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8972/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8972/events
|
https://github.com/langchain-ai/langchain/issues/8972
| 1,843,600,490 |
I_kwDOIPDwls5t4xxq
| 8,972 |
qa_with_source it returns all documents, not just the ones used.
|
{
"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": 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-09T16:09:42 | 2023-11-15T16:05:34 | 2023-11-15T16:05:33 |
CONTRIBUTOR
| null |
### Feature request
### First
The aim of qa_with_sources is to find only the documents used in the answer.
The attribute `return_source_documents` in `qa_with_sources` chain, returns all the documents. Not just the documents used to provide the answer.
I think it's not necessary because `retriever.get_relevant_documents(question)` returns the same documents list.
It has no added value, and this is not in the spirit of the chain.
I propose to add an attribute `return_used_documents` or change the semantic of `return_source_documents` to limit the result to the documents used to provide the answer.
### Second
With a long list of documents, with a big URL for each document (like a document come from google drive or Microsoft Azure), the number of tokens used is exploding.
The recursive map-reduce must be activated. At each reduction, **some URLs disappear**, and space for documents is shrinking.
### Motivation
When we use the qa_with_source, we want to be able to justify the response.
Actually, we can return a correct list of url, but not the list of associated documents.
Sometime, when the original document is split into multiple documents, all part have the same URL. It's not possible to find the corresponding documents with a list of URL.
### Your contribution
I propose a new chain [qa_with_reference](https://github.com/langchain-ai/langchain/pull/7278) without these problems, but for the moment, nothing is moving.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8972/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/8972/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8971
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8971/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8971/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8971/events
|
https://github.com/langchain-ai/langchain/pull/8971
| 1,843,584,228 |
PR_kwDOIPDwls5XjfXQ
| 8,971 |
BagelDB (bageldb.ai), VectorStore integration.
|
{
"login": "BidhanRoy",
"id": 3122709,
"node_id": "MDQ6VXNlcjMxMjI3MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3122709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BidhanRoy",
"html_url": "https://github.com/BidhanRoy",
"followers_url": "https://api.github.com/users/BidhanRoy/followers",
"following_url": "https://api.github.com/users/BidhanRoy/following{/other_user}",
"gists_url": "https://api.github.com/users/BidhanRoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BidhanRoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BidhanRoy/subscriptions",
"organizations_url": "https://api.github.com/users/BidhanRoy/orgs",
"repos_url": "https://api.github.com/users/BidhanRoy/repos",
"events_url": "https://api.github.com/users/BidhanRoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/BidhanRoy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5510857403,
"node_id": "LA_kwDOIPDwls8AAAABSHkCuw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/needs%20documentation",
"name": "needs documentation",
"color": "DCAAC0",
"default": false,
"description": "PR needs to be updated with 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": 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 | 11 | 2023-08-09T16:01:45 | 2023-08-10T23:48:37 | 2023-08-10T23:48:37 |
CONTRIBUTOR
| null |
- **Description**: [BagelDB](bageldb.ai) a collaborative vector database. Integrated the bageldb PyPi package with langchain with related tests and code.
- **Issue**: Not applicable.
- **Dependencies**: `betabageldb` PyPi package.
- **Tag maintainer**: @rlancemartin, @eyurtsev, @baskaryan
- **Twitter handle**: bageldb_ai (https://twitter.com/BagelDB_ai)
We ran `make format`, `make lint` and `make test` locally.
Followed the contribution guideline thoroughly https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8971/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8971",
"html_url": "https://github.com/langchain-ai/langchain/pull/8971",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8971.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8971.patch",
"merged_at": "2023-08-10T23:48:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8970
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8970/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8970/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8970/events
|
https://github.com/langchain-ai/langchain/pull/8970
| 1,843,546,427 |
PR_kwDOIPDwls5XjW7H
| 8,970 |
Fixed wrong paper reference
|
{
"login": "haozhenshen",
"id": 71194090,
"node_id": "MDQ6VXNlcjcxMTk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/71194090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haozhenshen",
"html_url": "https://github.com/haozhenshen",
"followers_url": "https://api.github.com/users/haozhenshen/followers",
"following_url": "https://api.github.com/users/haozhenshen/following{/other_user}",
"gists_url": "https://api.github.com/users/haozhenshen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haozhenshen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haozhenshen/subscriptions",
"organizations_url": "https://api.github.com/users/haozhenshen/orgs",
"repos_url": "https://api.github.com/users/haozhenshen/repos",
"events_url": "https://api.github.com/users/haozhenshen/events{/privacy}",
"received_events_url": "https://api.github.com/users/haozhenshen/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T15:45:24 | 2023-08-09T20:17:47 | 2023-08-09T20:17:47 |
CONTRIBUTOR
| null |
The ReAct reference references to MRKL paper. Corrected so that it points to the actual ReAct paper #8964.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8970/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8970",
"html_url": "https://github.com/langchain-ai/langchain/pull/8970",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8970.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8970.patch",
"merged_at": "2023-08-09T20:17:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8969
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8969/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8969/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8969/events
|
https://github.com/langchain-ai/langchain/issues/8969
| 1,843,326,275 |
I_kwDOIPDwls5t3u1D
| 8,969 |
Bugs in `GoogleDriveLoader.file_loader_cls`
|
{
"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": 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": 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-09T14:06:18 | 2023-09-19T08:31:39 | 2023-09-19T08:31:38 |
CONTRIBUTOR
| null |
### System Info
langchain version 0.0.259
### Who can help?
@hwchase17 @baskaryan @eyurtsev
## Issue with `GoogleDriveLoader.file_loader_cls` accepting only classes with constructors that receive a `file` parameter.
The current behavior of `GoogleDriveLoader.file_loader_cls` is that it only accepts a class with a constructor that
takes a `file` parameter. For instance, it can accept the class `UnstructuredFileIOLoader`, and
typically other classes like `NotebookLoader` as well. However, when attempting to use
the `NotebookLoader` class with the following code:
```python
from langchain.document_loaders import NotebookLoader
file_id = "1Hrrf3b4cgjwuKEt1wQUgRtipxqyprKaU"
loader = GoogleDriveLoader(
file_ids=[file_id],
file_loader_cls=NotebookLoader,
file_loader_kwargs={"mode": "elements"},
)
loader.load()
```
An exception is thrown: `TypeError: NotebookLoader.__init__() got an unexpected keyword argument 'file'`.
## Issue with `GoogleDriveLoader` and `import PyPDF2`
If the `file_loader_cls` is not set explicitly, the code attempts to execute `import PyPDF2`.
However, the code is only designed to handle PDF files. Additionally, the dependencies
of `PyPDF2` are not declared in the `pyproject.toml` file. Currently, only `pypdf` is
declared as a dependency. To address this, it is recommended to update the code to utilize `pypdf`
instead of `PyPDF2`. Otherwise, an exception will be raised.
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.document_loaders import NotebookLoader
file_id = "1Hrrf3b4cgjwuKEt1wQUgRtipxqyprKaU" # Link to colab file
loader = GoogleDriveLoader(
file_ids=[file_id],
file_loader_cls=NotebookLoader,
file_loader_kwargs={"mode": "elements"},
)
loader.load()
### Expected behavior
The code should be modified to accept the provided code without any exceptions.
I propose a solution with [a pull request](https://github.com/langchain-ai/langchain/pull/5135),
with a reimplementation of this class.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8969/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8968
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8968/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8968/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8968/events
|
https://github.com/langchain-ai/langchain/issues/8968
| 1,843,325,640 |
I_kwDOIPDwls5t3urI
| 8,968 |
Extend google drive loader
|
{
"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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T14:06:01 | 2023-09-05T14:42:04 | 2023-09-05T14:42:04 |
CONTRIBUTOR
| null |
### Feature request
- The google drive loader, can manage only GDoc and GSheet.
- The code can load others type of files, but only with one other loader (`file_loader_cls`).
- It's not possible to request Google Drive to find some files with criteria.
- A Google Drive tools is not exist now.
- The can not manage the Google shortcut
- Can not use the description metadata of Google file
- Load only the description for a snippet of document
- It's not possible to set the advanced parameters like
- corpora, driveId, fields, includeItemsFromAllDrives, includeLabels, includePermissionsForView, orderBy, pageSize, spaces, supportsAllDrives,
- Select if return the URL of the document if for view or download
- It's not possible to return
- For GSheet: mode `single` or `elements`
- For GSlide: mode `single`, `elements` or ̀slide`
- It's not possible to use a fine filter (to refuse some document during the load)
- It's not possible to lazy loading if case of import a long list of documents and save memory
- It's not possible to use a standardized environment variable to manage the authentification (like all others technologies)
[LINK](https://github.com/langchain-ai/langchain/pull/5135)
### Motivation
All my company's documents are on GDrive, with more or less complex organizations and formats
(in the organization of CVs, customer documents, etc.).
The actual implementation of `GoogleDriveLoader` is very limited.
We tag all CVs with #cv. This allows us to quickly search for skills using Google Drive search.
Since the directory structure is complex, this approach requires only a single query
(instead of one query per subdirectory).
We utilize Google Drive searches for various purposes.
### Your contribution
@hwchase17 @baskaryan
For the last 10 weeks, I've been offering a pull-request number
[5135](https://github.com/langchain-ai/langchain/pull/5135) that nobody is taking up.
I've had various commitments, but they've never been kept.
My [proposition](https://github.com/langchain-ai/langchain/pull/5135) resolves all these features, and maintains the compatibility with the current version
(with many deprecated warning).
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8968/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8967
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8967/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8967/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8967/events
|
https://github.com/langchain-ai/langchain/issues/8967
| 1,843,325,349 |
I_kwDOIPDwls5t3uml
| 8,967 |
Issue: re-implement pivot files to facilitate the integration of new functions
|
{
"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": 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": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T14:05:53 | 2023-11-15T16:07:03 | 2023-11-15T16:07:02 |
CONTRIBUTOR
| null |
### Issue you'd like to raise.
@hwchase17
The code utilizes certain pivot files responsible for the comprehensive integration of classes (__init__.py, load_tools.py, etc.).
Currently, maintaining an up-to-date pull request for these files poses challenges, as they undergo updates with each new version. This necessitates frequent rebasing until the code is approved.
In my opinion, it would be more advantageous to establish a mechanism that prevents alterations to these files (via naming conventions, abstract classes, etc.). This way, incorporating a new feature would involve solely the addition of new files without requiring modifications to existing ones. Such an approach could serve as the foundation for implementing plugins.
What are your thoughts on this idea?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8967/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8966
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8966/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8966/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8966/events
|
https://github.com/langchain-ai/langchain/issues/8966
| 1,843,265,073 |
I_kwDOIPDwls5t3f4x
| 8,966 |
OpenAIEmbeddings expects client parameter
|
{
"login": "MaxiPigna",
"id": 33937977,
"node_id": "MDQ6VXNlcjMzOTM3OTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/33937977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaxiPigna",
"html_url": "https://github.com/MaxiPigna",
"followers_url": "https://api.github.com/users/MaxiPigna/followers",
"following_url": "https://api.github.com/users/MaxiPigna/following{/other_user}",
"gists_url": "https://api.github.com/users/MaxiPigna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaxiPigna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaxiPigna/subscriptions",
"organizations_url": "https://api.github.com/users/MaxiPigna/orgs",
"repos_url": "https://api.github.com/users/MaxiPigna/repos",
"events_url": "https://api.github.com/users/MaxiPigna/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaxiPigna/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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-09T13:38:54 | 2023-11-15T16:05:26 | 2023-11-15T16:05:25 |
NONE
| null |
### System Info
langchain: 0.0.257
Python: 3.11.4
### Who can help?
@hwchase17 @agola11
### Information
- [ ] 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
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I am trying to create an object for `OpenAIEmbeddings` as described [here](https://python.langchain.com/docs/integrations/text_embedding/azureopenai), but the constructor expects a `client `parameter which is documented nowhere.
<img width="591" alt="image" src="https://github.com/langchain-ai/langchain/assets/33937977/6d78c87b-bdcb-4c84-82d8-2c171739d47d">
### Expected behavior
Initialize the object without passing a client
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8966/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8965
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8965/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8965/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8965/events
|
https://github.com/langchain-ai/langchain/pull/8965
| 1,843,172,117 |
PR_kwDOIPDwls5XiF54
| 8,965 |
Enhance regex of structured_chat agents' output parser
|
{
"login": "edwardzjl",
"id": 7287580,
"node_id": "MDQ6VXNlcjcyODc1ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7287580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edwardzjl",
"html_url": "https://github.com/edwardzjl",
"followers_url": "https://api.github.com/users/edwardzjl/followers",
"following_url": "https://api.github.com/users/edwardzjl/following{/other_user}",
"gists_url": "https://api.github.com/users/edwardzjl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/edwardzjl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/edwardzjl/subscriptions",
"organizations_url": "https://api.github.com/users/edwardzjl/orgs",
"repos_url": "https://api.github.com/users/edwardzjl/repos",
"events_url": "https://api.github.com/users/edwardzjl/events{/privacy}",
"received_events_url": "https://api.github.com/users/edwardzjl/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 | 2 | 2023-08-09T12:50:46 | 2023-08-10T21:26:08 | 2023-08-10T21:26:08 |
CONTRIBUTOR
| null |
Current regex only extracts agent's action between '` ``` ``` `', this commit will extract action between both '` ```json ``` `' and '` ``` ``` `'
This is very similar to #7511
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8965/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8965",
"html_url": "https://github.com/langchain-ai/langchain/pull/8965",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8965.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8965.patch",
"merged_at": "2023-08-10T21:26:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8964
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8964/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8964/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8964/events
|
https://github.com/langchain-ai/langchain/issues/8964
| 1,843,168,836 |
I_kwDOIPDwls5t3IZE
| 8,964 |
Wrong paper reference
|
{
"login": "eliorc",
"id": 17727283,
"node_id": "MDQ6VXNlcjE3NzI3Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/17727283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eliorc",
"html_url": "https://github.com/eliorc",
"followers_url": "https://api.github.com/users/eliorc/followers",
"following_url": "https://api.github.com/users/eliorc/following{/other_user}",
"gists_url": "https://api.github.com/users/eliorc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eliorc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eliorc/subscriptions",
"organizations_url": "https://api.github.com/users/eliorc/orgs",
"repos_url": "https://api.github.com/users/eliorc/repos",
"events_url": "https://api.github.com/users/eliorc/events{/privacy}",
"received_events_url": "https://api.github.com/users/eliorc/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-08-09T12:49:03 | 2023-08-20T05:26:14 | 2023-08-20T05:26:13 |
NONE
| null |
In the docs it seems the ReAct reference references to the wrong paper.
The actual ReAct paper is [this](https://arxiv.org/pdf/2210.03629.pdf)
https://github.com/langchain-ai/langchain/blob/b8df15cd647ca645ef16b2d66be271dc1f5187c1/docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx#L15
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8964/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8963
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8963/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8963/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8963/events
|
https://github.com/langchain-ai/langchain/pull/8963
| 1,843,154,044 |
PR_kwDOIPDwls5XiB8p
| 8,963 |
EdenAI LLM update. Add models name option
|
{
"login": "KyrianC",
"id": 67210837,
"node_id": "MDQ6VXNlcjY3MjEwODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/67210837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KyrianC",
"html_url": "https://github.com/KyrianC",
"followers_url": "https://api.github.com/users/KyrianC/followers",
"following_url": "https://api.github.com/users/KyrianC/following{/other_user}",
"gists_url": "https://api.github.com/users/KyrianC/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KyrianC/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KyrianC/subscriptions",
"organizations_url": "https://api.github.com/users/KyrianC/orgs",
"repos_url": "https://api.github.com/users/KyrianC/repos",
"events_url": "https://api.github.com/users/KyrianC/events{/privacy}",
"received_events_url": "https://api.github.com/users/KyrianC/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 8 | 2023-08-09T12:41:05 | 2023-09-01T19:11:34 | 2023-09-01T19:11:34 |
CONTRIBUTOR
| null |
This PR follows the **Eden AI (LLM + embeddings) integration**. #8633
We added an optional parameter to choose different AI models for providers (like 'text-bison' for provider 'google', 'text-davinci-003' for provider 'openai', etc.).
Usage:
```python
llm = EdenAI(
feature="text",
provider="google",
params={
"model": "text-bison", # new
"temperature": 0.2,
"max_tokens": 250,
},
)
```
You can also change the provider + model after initialization
```python
llm = EdenAI(
feature="text",
provider="google",
params={
"temperature": 0.2,
"max_tokens": 250,
},
)
prompt = """
hi
"""
llm(prompt, providers='openai', model='text-davinci-003') # change provider & model
```
The jupyter notebook as been updated with an example well.
Ping: @hwchase17, @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8963/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8963",
"html_url": "https://github.com/langchain-ai/langchain/pull/8963",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8963.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8963.patch",
"merged_at": "2023-09-01T19:11:34"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8962
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8962/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8962/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8962/events
|
https://github.com/langchain-ai/langchain/issues/8962
| 1,843,138,505 |
I_kwDOIPDwls5t3A_J
| 8,962 |
How to improve my embedding quality?
|
{
"login": "Typhon0130",
"id": 125342474,
"node_id": "U_kgDOB3iTCg",
"avatar_url": "https://avatars.githubusercontent.com/u/125342474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Typhon0130",
"html_url": "https://github.com/Typhon0130",
"followers_url": "https://api.github.com/users/Typhon0130/followers",
"following_url": "https://api.github.com/users/Typhon0130/following{/other_user}",
"gists_url": "https://api.github.com/users/Typhon0130/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Typhon0130/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Typhon0130/subscriptions",
"organizations_url": "https://api.github.com/users/Typhon0130/orgs",
"repos_url": "https://api.github.com/users/Typhon0130/repos",
"events_url": "https://api.github.com/users/Typhon0130/events{/privacy}",
"received_events_url": "https://api.github.com/users/Typhon0130/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": 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-09T12:31:35 | 2023-11-24T19:36:17 | 2023-11-15T16:06:51 |
NONE
| null |
Now I am using Pinecone and langchain in my Project.
And I am using RecursiveCharacterTextSplitter when I embedding my bot based on my specific data.
And also I am using ConversationalRetrievalQAChain in chain.
These are my code.
```
const text_splitter = new RecursiveCharacterTextSplitter({
chunkSize: 1000,
chunkOverlap: 200,
});
const docs = await text_splitter.splitDocuments(rowDocs);
```
```
const chain = ConversationalRetrievalQAChain.fromLLM(
llm,
vectorStore.asRetriever(),
{
memory: new BufferMemory({
memoryKey: 'chat_history', // Must be set to "chat_history"
inputKey: 'question',
returnMessages: true,
}),
},
);
```
But my embedding quality is not good.
Sometimes my Bot gives strange answers to my questions. 😢
For example
I have already trained ChatBot using one docx(about Abrantes)
I have asked like that
Me: Please tell me about Abrantes
AI: Abrantes is a Project Controls Specialist ....
Me: What Project he managed?
AI: Ed has managed some .....
Who is Ed in this answer? 😣
There is no Ed in this docx too.
So how can I fix it?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8962/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8961
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8961/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8961/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8961/events
|
https://github.com/langchain-ai/langchain/issues/8961
| 1,843,070,745 |
I_kwDOIPDwls5t2wcZ
| 8,961 |
Agents on a local llm with custom data
|
{
"login": "Kuramdasu-ujwala-devi",
"id": 69832170,
"node_id": "MDQ6VXNlcjY5ODMyMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/69832170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kuramdasu-ujwala-devi",
"html_url": "https://github.com/Kuramdasu-ujwala-devi",
"followers_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/followers",
"following_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/following{/other_user}",
"gists_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/subscriptions",
"organizations_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/orgs",
"repos_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/repos",
"events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/events{/privacy}",
"received_events_url": "https://api.github.com/users/Kuramdasu-ujwala-devi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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-09T11:49:11 | 2023-11-28T16:08:55 | 2023-11-28T16:08:54 |
NONE
| null |
I'm implementing vectorstore agent on my custom data. Can I implement this with a local llm like gpt4all(GPT4All-J v1.3-groovy)
Can agents give better and expected answer when we use agents, or should go with better model like(gpt4, llama2)?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8961/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8960
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8960/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8960/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8960/events
|
https://github.com/langchain-ai/langchain/pull/8960
| 1,843,037,826 |
PR_kwDOIPDwls5Xhov1
| 8,960 |
Update bge_huggingface.ipynb
|
{
"login": "staoxiao",
"id": 29973524,
"node_id": "MDQ6VXNlcjI5OTczNTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/29973524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/staoxiao",
"html_url": "https://github.com/staoxiao",
"followers_url": "https://api.github.com/users/staoxiao/followers",
"following_url": "https://api.github.com/users/staoxiao/following{/other_user}",
"gists_url": "https://api.github.com/users/staoxiao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/staoxiao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/staoxiao/subscriptions",
"organizations_url": "https://api.github.com/users/staoxiao/orgs",
"repos_url": "https://api.github.com/users/staoxiao/repos",
"events_url": "https://api.github.com/users/staoxiao/events{/privacy}",
"received_events_url": "https://api.github.com/users/staoxiao/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-09T11:28:41 | 2023-10-17T18:58:30 | 2023-10-17T18:58:29 |
CONTRIBUTOR
| null |
- Description: Considering the similarity computation method of [BGE](https://github.com/FlagOpen/FlagEmbedding) model is cosine similarity, set normalize_embeddings to be True.
- Tag maintainer: @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8960/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8960",
"html_url": "https://github.com/langchain-ai/langchain/pull/8960",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8960.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8960.patch",
"merged_at": "2023-10-17T18:58:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8959
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8959/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8959/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8959/events
|
https://github.com/langchain-ai/langchain/issues/8959
| 1,842,978,093 |
I_kwDOIPDwls5t2Z0t
| 8,959 |
Issue: How can I retrieve the action for a LLM agent?
|
{
"login": "kenhuang1964",
"id": 87556616,
"node_id": "MDQ6VXNlcjg3NTU2NjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/87556616?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kenhuang1964",
"html_url": "https://github.com/kenhuang1964",
"followers_url": "https://api.github.com/users/kenhuang1964/followers",
"following_url": "https://api.github.com/users/kenhuang1964/following{/other_user}",
"gists_url": "https://api.github.com/users/kenhuang1964/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kenhuang1964/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kenhuang1964/subscriptions",
"organizations_url": "https://api.github.com/users/kenhuang1964/orgs",
"repos_url": "https://api.github.com/users/kenhuang1964/repos",
"events_url": "https://api.github.com/users/kenhuang1964/events{/privacy}",
"received_events_url": "https://api.github.com/users/kenhuang1964/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T10:52:59 | 2023-11-15T16:05:29 | 2023-11-15T16:05:28 |
NONE
| null |
### Issue you'd like to raise.
How can I retrieve the action for a LLM agent?
![Uploading image.png…]()
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8959/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8958
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8958/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8958/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8958/events
|
https://github.com/langchain-ai/langchain/issues/8958
| 1,842,957,431 |
I_kwDOIPDwls5t2Ux3
| 8,958 |
Issue: FAISS taking long time to add to index for 30MB csv file
|
{
"login": "ompanda",
"id": 5780760,
"node_id": "MDQ6VXNlcjU3ODA3NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5780760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ompanda",
"html_url": "https://github.com/ompanda",
"followers_url": "https://api.github.com/users/ompanda/followers",
"following_url": "https://api.github.com/users/ompanda/following{/other_user}",
"gists_url": "https://api.github.com/users/ompanda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ompanda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ompanda/subscriptions",
"organizations_url": "https://api.github.com/users/ompanda/orgs",
"repos_url": "https://api.github.com/users/ompanda/repos",
"events_url": "https://api.github.com/users/ompanda/events{/privacy}",
"received_events_url": "https://api.github.com/users/ompanda/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"
},
{
"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-09T10:39:17 | 2023-11-15T16:10:55 | 2023-11-15T16:10:54 |
NONE
| null |
### Issue you'd like to raise.
FAISS is taking around 12hrs to create embedding and add it to index for 100000 rows csv file. is there any bulk load strategy for CSV files embedding
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8958/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8957
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8957/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8957/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8957/events
|
https://github.com/langchain-ai/langchain/issues/8957
| 1,842,933,508 |
I_kwDOIPDwls5t2O8E
| 8,957 |
Embeddings are regenerated for entire vector db on updating collections
|
{
"login": "sitz",
"id": 356043,
"node_id": "MDQ6VXNlcjM1NjA0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/356043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sitz",
"html_url": "https://github.com/sitz",
"followers_url": "https://api.github.com/users/sitz/followers",
"following_url": "https://api.github.com/users/sitz/following{/other_user}",
"gists_url": "https://api.github.com/users/sitz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sitz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sitz/subscriptions",
"organizations_url": "https://api.github.com/users/sitz/orgs",
"repos_url": "https://api.github.com/users/sitz/repos",
"events_url": "https://api.github.com/users/sitz/events{/privacy}",
"received_events_url": "https://api.github.com/users/sitz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T10:24:17 | 2023-08-31T14:33:51 | 2023-08-31T14:33:50 |
NONE
| null |
### System Info
macOS Ventura Version `13.4.1`
Python `3.11.4`
```
langchain==0.0.251
chromadb==0.4.5
```
### Who can help?
@hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Create a vector database and insert some items with relevant embeddings
2. Update vector database collection with some new docs
Python snippet to create/update vector db collection and it's embeddings:
```
documents = []
for row in get_data_rows():
documents.append(
Document(
page_content=row['full_text'],
metadata={
'id': int(row['id']),
'created_at': parser.parse(row['created_at']).timestamp(),
}
)
)
Chroma.from_documents(
documents,
embedding=OpenAIEmbeddings(),
collection_name='my_collection',
persist_directory=f'embeddings/my_collection'
)
```
### Expected behavior
Running above snippet in both scenarios should only call embeddings function for newly added or changed docs instead of everything?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8957/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8956
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8956/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8956/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8956/events
|
https://github.com/langchain-ai/langchain/issues/8956
| 1,842,884,084 |
I_kwDOIPDwls5t2C30
| 8,956 |
lang chain connection with mongo DB
|
{
"login": "prameelareddi",
"id": 100427342,
"node_id": "U_kgDOBfxmTg",
"avatar_url": "https://avatars.githubusercontent.com/u/100427342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prameelareddi",
"html_url": "https://github.com/prameelareddi",
"followers_url": "https://api.github.com/users/prameelareddi/followers",
"following_url": "https://api.github.com/users/prameelareddi/following{/other_user}",
"gists_url": "https://api.github.com/users/prameelareddi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prameelareddi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prameelareddi/subscriptions",
"organizations_url": "https://api.github.com/users/prameelareddi/orgs",
"repos_url": "https://api.github.com/users/prameelareddi/repos",
"events_url": "https://api.github.com/users/prameelareddi/events{/privacy}",
"received_events_url": "https://api.github.com/users/prameelareddi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 10 | 2023-08-09T09:53:54 | 2023-11-21T06:03:17 | null |
NONE
| null |
### Issue you'd like to raise.
Can you please help me with connecting my LangChain agent to a MongoDB database?
I have connected my relational database below like
db = SQLDatabase.from_uri("mysql_db_url")
The above process is not working for Mongo Db because it is a NoSQL database
anyone can help me to do this ???????
Thank you .....
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8956/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8955
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8955/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8955/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8955/events
|
https://github.com/langchain-ai/langchain/issues/8955
| 1,842,833,550 |
I_kwDOIPDwls5t12iO
| 8,955 |
LlamaCppEmbeddings not working with faiss
|
{
"login": "phamkhactu",
"id": 42369268,
"node_id": "MDQ6VXNlcjQyMzY5MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/42369268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phamkhactu",
"html_url": "https://github.com/phamkhactu",
"followers_url": "https://api.github.com/users/phamkhactu/followers",
"following_url": "https://api.github.com/users/phamkhactu/following{/other_user}",
"gists_url": "https://api.github.com/users/phamkhactu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/phamkhactu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phamkhactu/subscriptions",
"organizations_url": "https://api.github.com/users/phamkhactu/orgs",
"repos_url": "https://api.github.com/users/phamkhactu/repos",
"events_url": "https://api.github.com/users/phamkhactu/events{/privacy}",
"received_events_url": "https://api.github.com/users/phamkhactu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T09:23:46 | 2023-08-11T03:17:28 | 2023-08-11T03:17:28 |
NONE
| null |
### System Info
Name: langchain
Version: 0.0.251
Name: faiss-cpu
Version: 1.7.1
Name: llama-cpp-python
Version: 0.1.77
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
from langchain.llms import LlamaCpp
from langchain import PromptTemplate, LLMChain
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
import gradio as gr
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.vectorstores import FAISS
from langchain.llms import HuggingFacePipeline
from langchain.document_loaders import DirectoryLoader
from langchain.document_loaders import UnstructuredWordDocumentLoader
from torch import cuda, bfloat16
from transformers import StoppingCriteria, StoppingCriteriaList
from langchain.chains import ConversationalRetrievalChain
from langchain.embeddings import LlamaCppEmbeddings
template = """Question: {question}
Answer:"""
prompt = PromptTemplate(template=template, input_variables=["question"])
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
n_gpu_layers = 42 # Change this value based on your model and your GPU VRAM pool.
n_batch = 1024 # Should be between 1 and n_ctx, consider the amount of VRAM in your GPU.
embeddings = ubuntu(model_path="llama-2-7b-chat/7B/ggml-model-q4_0.bin",
n_gpu_layers=n_gpu_layers,
n_batch=n_batch)
llm = LlamaCpp(
model_path="llama-2-7b-chat/7B/ggml-model-q4_0.bin",
n_gpu_layers=n_gpu_layers,
n_batch=n_batch,
callback_manager=callback_manager,
verbose=True,
)
llm_chain = LLMChain(prompt=prompt, llm=llm)
txt_loader = DirectoryLoader("doc", glob="./*.docx", loader_cls=UnstructuredWordDocumentLoader)
documents = txt_loader.load()
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=20)
all_splits = text_splitter.split_documents(documents)
vectorstore = FAISS.from_documents(all_splits, embeddings)
query = "How is it going?"
search = vectorstore.similarity_search(query, k=5)
template = '''Context: {context}
Based on Context provide me answer for following question
Question: {question}
Tell me the information about the fact. The answer should be from context only
do not use general knowledge to answer the query'''
prompt = PromptTemplate(input_variables=["context", "question"], template= template)
final_prompt = prompt.format(question=query, context=search)
result = llm_chain.run(final_prompt)
print(result)
```
I get error:
```
llama_tokenize_with_model: too many tokens
Traceback (most recent call last):
File "test_ggml.py", line 57, in <module>
vectorstore = FAISS.from_documents(all_splits, embeddings)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/langchain/vectorstores/base.py", line 420, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/langchain/vectorstores/faiss.py", line 577, in from_texts
embeddings = embedding.embed_documents(texts)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/langchain/embeddings/llamacpp.py", line 110, in embed_documents
embeddings = [self.client.embed(text) for text in texts]
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/langchain/embeddings/llamacpp.py", line 110, in <listcomp>
embeddings = [self.client.embed(text) for text in texts]
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/llama_cpp/llama.py", line 812, in embed
return list(map(float, self.create_embedding(input)["data"][0]["embedding"]))
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/llama_cpp/llama.py", line 776, in create_embedding
self.eval(tokens)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/llama_cpp/llama.py", line 471, in eval
self.input_ids[self.n_tokens : self.n_tokens + n_tokens] = batch
ValueError: could not broadcast input array from shape (179,) into shape (0,)
Exception ignored in: <function Llama.__del__ at 0x7f68eedc9af0>
Traceback (most recent call last):
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/llama_cpp/llama.py", line 1508, in __del__
TypeError: 'NoneType' object is not callable
Exception ignored in: <function Llama.__del__ at 0x7f68eedc9af0>
Traceback (most recent call last):
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/llama_cpp/llama.py", line 1508, in __del__
TypeError: 'NoneType' object is not callable
```
### Expected behavior
CppEmbedding can work well with faiss
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8955/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8955/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8954
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8954/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8954/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8954/events
|
https://github.com/langchain-ai/langchain/pull/8954
| 1,842,799,605 |
PR_kwDOIPDwls5Xg1Hp
| 8,954 |
add filter by metadata to annoy search
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/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 | null |
[] | null | 2 | 2023-08-09T09:02:55 | 2023-09-20T17:48:22 | null |
CONTRIBUTOR
| null |
# What
- This is to add filter by metadata to annoy search with test.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add filter by metadata to annoy search
- Issue: None
- Dependencies: None
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: @MLOpsJ
Please make sure you're PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8954/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8954",
"html_url": "https://github.com/langchain-ai/langchain/pull/8954",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8954.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8954.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8953
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8953/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8953/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8953/events
|
https://github.com/langchain-ai/langchain/issues/8953
| 1,842,781,388 |
I_kwDOIPDwls5t1pzM
| 8,953 |
Issue: unclear processing of natural language query parsing + external api querying afterwards
|
{
"login": "kirdin1",
"id": 140725603,
"node_id": "U_kgDOCGNNYw",
"avatar_url": "https://avatars.githubusercontent.com/u/140725603?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kirdin1",
"html_url": "https://github.com/kirdin1",
"followers_url": "https://api.github.com/users/kirdin1/followers",
"following_url": "https://api.github.com/users/kirdin1/following{/other_user}",
"gists_url": "https://api.github.com/users/kirdin1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kirdin1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kirdin1/subscriptions",
"organizations_url": "https://api.github.com/users/kirdin1/orgs",
"repos_url": "https://api.github.com/users/kirdin1/repos",
"events_url": "https://api.github.com/users/kirdin1/events{/privacy}",
"received_events_url": "https://api.github.com/users/kirdin1/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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 3 | 2023-08-09T08:51:52 | 2023-11-16T16:06:36 | 2023-11-16T16:06:35 |
NONE
| null |
### Issue you'd like to raise.
I believe one of the most popular directions for langchain-based applications will be to parse the query in a natural language and to use some external api for the response generation. However, as soon as this external API doesn't have an OpenAISchema-based specification, the easiest way to do it will be via chain parsing + request.
I tried to implement it via a sequential chain, the example is provided below:
```
EXCHANGE_API_KEY = SOME_KEY
from langchain.chains import LLMRequestsChain, LLMChain, SimpleSequentialChain
from langchain.chains.openai_functions.openapi import get_openapi_chain
from langchain.prompts import PromptTemplate, SystemMessagePromptTemplate, ChatPromptTemplate, HumanMessagePromptTemplate
template = """You help to convert currencies.
You need to convert the input phrase into the query like from=EUR&to=GBP&amount=100"
You need to extract these parameters yourself from the query in natural language.
Please, return the string like https://api.currencylayer.com/convert?from=EUR&to=GBP&amount=100, where you need to fill in "from", "to", and "amount" based on previous instructions"
"""
system_prompt = SystemMessagePromptTemplate.from_template(template)
human_message_prompt = HumanMessagePromptTemplate.from_template("{question}")
first_prompt = ChatPromptTemplate(
messages=[
system_prompt,
human_message_prompt
]
)
## this one above may be done nicer, via PromptTemplate, but I don't think it's necessary here
template_2 = """
Query api with {synopsis} and return api response
"""
llm = OpenAI(temperature=0)
convert_chain = LLMChain(llm=llm, prompt=first_prompt, output_key="synopsis")
system_prompt_2 = PromptTemplate(input_variables=["synopsis"], template=template_2)
chain = LLMRequestsChain(llm_chain=LLMChain(llm=OpenAI(temperature=0), prompt=system_prompt_2))
overall_chain = SimpleSequentialChain(chains=[convert_chain, chain], verbose=True)
question = "Convert 1000 American Dollars to euros please"
inputs = {"input": question,
#"url": "https://api.currencylayer.com/convert",
"headers": {"access_key": EXCHANGE_API_KEY}
}
overall_chain(inputs)
```
The code above fails due to _requests_ library stacktrace: `InvalidSchema: No connection adapters were found for 'System: [https://api.currencylayer.com/convert?from=USD&to=EUR&amount=1000'](https://api.currencylayer.com/convert?from=USD&to=EUR&amount=1000%27)`
It happens because the string "System: " is inevitably attached to the output of the first chain.
So, my questions are as follows:
1. Is the way I showed above right now the best option to interact with the APIs which have not been implemented yet to langchain and haven't got OpenAISchema-based docs?
2. If so, how to deal with my problem and strip the "System: " part for query? Is there a natural way to parse the natural language query into an API request via this chain?
### Suggestion:
I think there should be a very clear way and documentation of how to deal with external APIs after natural language parsing done by generative network
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8953/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8953/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8952
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8952/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8952/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8952/events
|
https://github.com/langchain-ai/langchain/pull/8952
| 1,842,620,645 |
PR_kwDOIPDwls5XgOtS
| 8,952 |
refactor(document_loaders): abstract page evaluation logic in PlaywrightURLLoader
|
{
"login": "ywkim",
"id": 588581,
"node_id": "MDQ6VXNlcjU4ODU4MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/588581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ywkim",
"html_url": "https://github.com/ywkim",
"followers_url": "https://api.github.com/users/ywkim/followers",
"following_url": "https://api.github.com/users/ywkim/following{/other_user}",
"gists_url": "https://api.github.com/users/ywkim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ywkim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ywkim/subscriptions",
"organizations_url": "https://api.github.com/users/ywkim/orgs",
"repos_url": "https://api.github.com/users/ywkim/repos",
"events_url": "https://api.github.com/users/ywkim/events{/privacy}",
"received_events_url": "https://api.github.com/users/ywkim/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
},
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-08-09T07:03:43 | 2023-08-30T14:48:01 | 2023-08-30T14:48:00 |
CONTRIBUTOR
| null |
This PR brings structural updates to `PlaywrightURLLoader`, aiming at making the code more readable and extensible through the abstraction of page evaluation logic. These changes also align this implementation with a similar structure used in LangChain.js.
The key enhancements include:
1. Introduction of 'PlaywrightEvaluator', an abstract base class for all evaluators.
2. Creation of 'UnstructuredHtmlEvaluator', a concrete class implementing 'PlaywrightEvaluator', which uses `unstructured` library for processing page's HTML content.
3. Extension of 'PlaywrightURLLoader' constructor to optionally accept an evaluator of the type 'PlaywrightEvaluator'. It defaults to 'UnstructuredHtmlEvaluator' if no evaluator is provided.
4. Refactoring of 'load' and 'aload' methods to use the 'evaluate' and 'evaluate_async' methods of the provided 'PageEvaluator' for page content handling.
This update brings flexibility to 'PlaywrightURLLoader' as it can now utilize different evaluators for page processing depending on the requirement. The abstraction also improves code maintainability and readability.
Please find the reference for LangChain.js implementation [here](https://github.com/hwchase17/langchainjs/blob/29f3ffdcb34acce1f1db78078f4e7d184eaec6b5/langchain/src/document_loaders/web/playwright.ts#L59).
Maintainers for review: @rlancemartin, @eyurtsev
Twitter: @ywkim
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8952/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8952",
"html_url": "https://github.com/langchain-ai/langchain/pull/8952",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8952.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8952.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8951
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8951/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8951/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8951/events
|
https://github.com/langchain-ai/langchain/pull/8951
| 1,842,600,022 |
PR_kwDOIPDwls5XgKRM
| 8,951 |
bump 259
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T06:48:47 | 2023-08-09T07:07:49 | 2023-08-09T07:07:48 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8951/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8951",
"html_url": "https://github.com/langchain-ai/langchain/pull/8951",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8951.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8951.patch",
"merged_at": "2023-08-09T07:07:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8950
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8950/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8950/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8950/events
|
https://github.com/langchain-ai/langchain/issues/8950
| 1,842,545,419 |
I_kwDOIPDwls5t0wML
| 8,950 |
schema consideration while generating query
|
{
"login": "prameelareddi",
"id": 100427342,
"node_id": "U_kgDOBfxmTg",
"avatar_url": "https://avatars.githubusercontent.com/u/100427342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prameelareddi",
"html_url": "https://github.com/prameelareddi",
"followers_url": "https://api.github.com/users/prameelareddi/followers",
"following_url": "https://api.github.com/users/prameelareddi/following{/other_user}",
"gists_url": "https://api.github.com/users/prameelareddi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prameelareddi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prameelareddi/subscriptions",
"organizations_url": "https://api.github.com/users/prameelareddi/orgs",
"repos_url": "https://api.github.com/users/prameelareddi/repos",
"events_url": "https://api.github.com/users/prameelareddi/events{/privacy}",
"received_events_url": "https://api.github.com/users/prameelareddi/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 | 5 | 2023-08-09T06:00:14 | 2023-12-08T16:05:40 | 2023-12-08T16:05:39 |
NONE
| null |
### System Info
I am working with hugging face opensource models for SQL generation with langchain
Our model works without a connection db, but when I connect the db, the chain generates inaccurate answers and takes unknown columns.
I am using below models
wizard, alpaca,vicuna,falcon
### 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
db_chain = SQLDatabaseChain.from_llm(llm, db=db, verbose=True,prompt=PROMPT)
db_chain.run(input('enter the question:'))
### Expected behavior
I need to connect the database with my open-source model using Langchain
when I ask a question to my chain, the chain generates the correct SQL query with consideration of my database schema.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8950/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8949
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8949/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8949/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8949/events
|
https://github.com/langchain-ai/langchain/issues/8949
| 1,842,513,770 |
I_kwDOIPDwls5t0odq
| 8,949 |
Hope to get in touch
|
{
"login": "JimmyMa99",
"id": 101508488,
"node_id": "U_kgDOBgzliA",
"avatar_url": "https://avatars.githubusercontent.com/u/101508488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JimmyMa99",
"html_url": "https://github.com/JimmyMa99",
"followers_url": "https://api.github.com/users/JimmyMa99/followers",
"following_url": "https://api.github.com/users/JimmyMa99/following{/other_user}",
"gists_url": "https://api.github.com/users/JimmyMa99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JimmyMa99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JimmyMa99/subscriptions",
"organizations_url": "https://api.github.com/users/JimmyMa99/orgs",
"repos_url": "https://api.github.com/users/JimmyMa99/repos",
"events_url": "https://api.github.com/users/JimmyMa99/events{/privacy}",
"received_events_url": "https://api.github.com/users/JimmyMa99/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 4 | 2023-08-09T05:30:05 | 2023-08-20T19:42:46 | 2023-08-20T19:42:28 |
NONE
| null |
### Feature request
Dear [langchain](https://github.com/langchain-ai/langchain) developer,
Greetings! I am Jimmy, a community developer and volunteer at InternLM. Your work has been immensely beneficial to me, and I believe it can be effectively utilized in InternLM as well. Welcome to add Discord https://discord.gg/gF9ezcmtM3 . I hope to get in touch with you.
Best regards,
Jimmy
### Motivation
Hope to get in touch
### Your contribution
Hope to get in touch
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8949/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8948
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8948/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8948/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8948/events
|
https://github.com/langchain-ai/langchain/pull/8948
| 1,842,480,314 |
PR_kwDOIPDwls5XfwF8
| 8,948 |
Update Key Check
|
{
"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-09T05:04:49 | 2023-08-09T19:33:02 | 2023-08-09T19:33:01 |
COLLABORATOR
| null |
In eval loop. It needn't be done unless you are creating the corresponding evaluators
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8948/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8948",
"html_url": "https://github.com/langchain-ai/langchain/pull/8948",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8948.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8948.patch",
"merged_at": "2023-08-09T19:33:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8946
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8946/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8946/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8946/events
|
https://github.com/langchain-ai/langchain/issues/8946
| 1,842,336,871 |
I_kwDOIPDwls5tz9Rn
| 8,946 |
DOC: Tabular doc not found
|
{
"login": "vlasvlasvlas",
"id": 4071796,
"node_id": "MDQ6VXNlcjQwNzE3OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4071796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vlasvlasvlas",
"html_url": "https://github.com/vlasvlasvlas",
"followers_url": "https://api.github.com/users/vlasvlasvlas/followers",
"following_url": "https://api.github.com/users/vlasvlasvlas/following{/other_user}",
"gists_url": "https://api.github.com/users/vlasvlasvlas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vlasvlasvlas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vlasvlasvlas/subscriptions",
"organizations_url": "https://api.github.com/users/vlasvlasvlas/orgs",
"repos_url": "https://api.github.com/users/vlasvlasvlas/repos",
"events_url": "https://api.github.com/users/vlasvlasvlas/events{/privacy}",
"received_events_url": "https://api.github.com/users/vlasvlasvlas/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-09T02:03:58 | 2023-11-21T02:13:34 | 2023-11-15T16:05:50 |
NONE
| null |
### Issue with current documentation:
got 404 error while looking for tabular documentation:
From link:
https://python.langchain.com/docs/use_cases/question_answering/
To link:
https://python.langchain.com/docs/use_cases/tabular
got 404:

### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8946/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/8945
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8945/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8945/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8945/events
|
https://github.com/langchain-ai/langchain/pull/8945
| 1,842,306,731 |
PR_kwDOIPDwls5XfKt-
| 8,945 |
`Brave Search` and `DataDog Logs` retrievers
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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-09T01:22:09 | 2023-09-19T15:38:50 | 2023-09-19T15:38:50 |
COLLABORATOR
| null |
- Created two new retrievers: `Brave Search` and `DataDog Logs` based on `BaseLoaderAsRetriever`
- Created `BaseLoaderAsRetriever` with `QueryMixin`. This class is used to treat DocumentLoaders as Retrievers where DocumentLoader has query semantics.
- added retriever examples
- used `Arxiv` as a testbed:
- derived `ArxivLoader` from `BaseLoaderAsRetriever`. This eliminates the necessity of a separate `ArxivRetriever`.
- removed `ArxivRetriever` and tested `ArxivLoader` in place of `ArxivRetriever`
- changed `Arxiv` examples to address the above changes.
-
@rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8945/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8945",
"html_url": "https://github.com/langchain-ai/langchain/pull/8945",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8945.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8945.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8944
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8944/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8944/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8944/events
|
https://github.com/langchain-ai/langchain/pull/8944
| 1,842,289,411 |
PR_kwDOIPDwls5XfHAH
| 8,944 |
Add id in error in tracer
|
{
"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-09T00:55:32 | 2023-08-09T01:25:29 | 2023-08-09T01:25:28 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8944/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8944",
"html_url": "https://github.com/langchain-ai/langchain/pull/8944",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8944.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8944.patch",
"merged_at": "2023-08-09T01:25:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8943
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8943/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8943/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8943/events
|
https://github.com/langchain-ai/langchain/pull/8943
| 1,842,288,211 |
PR_kwDOIPDwls5XfGve
| 8,943 |
Open file in UTF-8 encoding (#6919)
|
{
"login": "flyspirit99",
"id": 45393699,
"node_id": "MDQ6VXNlcjQ1MzkzNjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/45393699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flyspirit99",
"html_url": "https://github.com/flyspirit99",
"followers_url": "https://api.github.com/users/flyspirit99/followers",
"following_url": "https://api.github.com/users/flyspirit99/following{/other_user}",
"gists_url": "https://api.github.com/users/flyspirit99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flyspirit99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flyspirit99/subscriptions",
"organizations_url": "https://api.github.com/users/flyspirit99/orgs",
"repos_url": "https://api.github.com/users/flyspirit99/repos",
"events_url": "https://api.github.com/users/flyspirit99/events{/privacy}",
"received_events_url": "https://api.github.com/users/flyspirit99/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 | 5 | 2023-08-09T00:53:38 | 2023-08-10T02:30:20 | 2023-08-10T00:54:21 |
CONTRIBUTOR
| null |
FileCallbackHandler cannot handle some language, for example: Chinese.
Open file using UTF-8 encoding can fix it.
@agola11
**Issue**: #6919
**Dependencies**: NO dependencies,
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8943/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8943",
"html_url": "https://github.com/langchain-ai/langchain/pull/8943",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8943.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8943.patch",
"merged_at": "2023-08-10T00:54:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8942
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8942/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8942/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8942/events
|
https://github.com/langchain-ai/langchain/pull/8942
| 1,842,286,061 |
PR_kwDOIPDwls5XfGS_
| 8,942 |
document lcel fallbacks
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T00:50:02 | 2023-08-09T01:49:34 | 2023-08-09T01:49:33 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8942/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8942",
"html_url": "https://github.com/langchain-ai/langchain/pull/8942",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8942.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8942.patch",
"merged_at": "2023-08-09T01:49:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8941
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8941/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8941/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8941/events
|
https://github.com/langchain-ai/langchain/pull/8941
| 1,842,257,387 |
PR_kwDOIPDwls5XfAG2
| 8,941 |
parent document retriever
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-09T00:07:09 | 2023-08-15T21:55:31 | 2023-08-09T05:39:09 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8941/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8941",
"html_url": "https://github.com/langchain-ai/langchain/pull/8941",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8941.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8941.patch",
"merged_at": "2023-08-09T05:39:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8940
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8940/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8940/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8940/events
|
https://github.com/langchain-ai/langchain/pull/8940
| 1,842,227,919 |
PR_kwDOIPDwls5Xe5yW
| 8,940 |
Integrate Rockset as a chat history store
|
{
"login": "gadhagod",
"id": 69025547,
"node_id": "MDQ6VXNlcjY5MDI1NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/69025547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gadhagod",
"html_url": "https://github.com/gadhagod",
"followers_url": "https://api.github.com/users/gadhagod/followers",
"following_url": "https://api.github.com/users/gadhagod/following{/other_user}",
"gists_url": "https://api.github.com/users/gadhagod/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gadhagod/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gadhagod/subscriptions",
"organizations_url": "https://api.github.com/users/gadhagod/orgs",
"repos_url": "https://api.github.com/users/gadhagod/repos",
"events_url": "https://api.github.com/users/gadhagod/events{/privacy}",
"received_events_url": "https://api.github.com/users/gadhagod/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-08-08T23:20:26 | 2023-08-09T01:54:08 | 2023-08-09T01:54:08 |
CONTRIBUTOR
| null |
Description: Adds Rockset as a chat history store
Dependencies: no changes
Tag maintainer: @hwchase17
This PR passes linting and testing.
I added a test for the integration and an example notebook showing its use.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8940/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8940",
"html_url": "https://github.com/langchain-ai/langchain/pull/8940",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8940.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8940.patch",
"merged_at": "2023-08-09T01:54:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8939
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8939/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8939/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8939/events
|
https://github.com/langchain-ai/langchain/pull/8939
| 1,842,196,654 |
PR_kwDOIPDwls5XezBW
| 8,939 |
Weaviate: adding auth example + fixing spelling in ReadME
|
{
"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": 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-08T22:36:24 | 2023-08-08T23:24:18 | 2023-08-08T23:24:17 |
CONTRIBUTOR
| null |
Added basic auth example to Weaviate notebook @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8939/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8939",
"html_url": "https://github.com/langchain-ai/langchain/pull/8939",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8939.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8939.patch",
"merged_at": "2023-08-08T23:24:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8938
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8938/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8938/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8938/events
|
https://github.com/langchain-ai/langchain/pull/8938
| 1,842,169,906 |
PR_kwDOIPDwls5XeuB7
| 8,938 |
add instructions on integrating Log10
|
{
"login": "arjunbansal",
"id": 501928,
"node_id": "MDQ6VXNlcjUwMTkyOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/501928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunbansal",
"html_url": "https://github.com/arjunbansal",
"followers_url": "https://api.github.com/users/arjunbansal/followers",
"following_url": "https://api.github.com/users/arjunbansal/following{/other_user}",
"gists_url": "https://api.github.com/users/arjunbansal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arjunbansal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arjunbansal/subscriptions",
"organizations_url": "https://api.github.com/users/arjunbansal/orgs",
"repos_url": "https://api.github.com/users/arjunbansal/repos",
"events_url": "https://api.github.com/users/arjunbansal/events{/privacy}",
"received_events_url": "https://api.github.com/users/arjunbansal/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-08T22:11:49 | 2023-08-09T02:15:31 | 2023-08-09T02:15:31 |
CONTRIBUTOR
| null |
- Description: Instruction for integration with Log10: an [open source](https://github.com/log10-io/log10) proxiless LLM data management and application development platform that lets you log, debug and tag your Langchain calls
- Tag maintainer: @baskaryan
- Twitter handle: @log10io @coffeephoenix
Several examples showing the integration included [here](https://github.com/log10-io/log10/tree/main/examples/logging) and in the PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8938/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8938",
"html_url": "https://github.com/langchain-ai/langchain/pull/8938",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8938.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8938.patch",
"merged_at": "2023-08-09T02:15:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8937
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/8937/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8937/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/8937/events
|
https://github.com/langchain-ai/langchain/pull/8937
| 1,842,166,028 |
PR_kwDOIPDwls5XetLj
| 8,937 |
📖 refactored `conversational_retrieval`
|
{
"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": 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": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 6 | 2023-08-08T22:07:16 | 2023-10-10T21:24:08 | 2023-10-10T21:24:08 |
COLLABORATOR
| null |
Fixed #9133 issue.
1. Refactored `conversational_retrieval` by removing unnecessary nesting.
Current nesting makes `API Reference` unreadable (see the `description` column that is 6-char width):

It makes the full function name (with namespace) soo long, which makes the `description` column unreadable.
The resulting namespace+name is still too long.
2. renamed function `create_conversational_retrieval_agent` -> `create_agent`. Old name kept for backward compatibility
NOTE: The problem of too-long namespaces is also addressed in #8398 Please, review #8398 !!!!!
@baskaryan, @hinthorn
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/8937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/8937/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/8937",
"html_url": "https://github.com/langchain-ai/langchain/pull/8937",
"diff_url": "https://github.com/langchain-ai/langchain/pull/8937.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/8937.patch",
"merged_at": null
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.