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/9264
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9264/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9264/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9264/events
https://github.com/langchain-ai/langchain/issues/9264
1,851,997,057
I_kwDOIPDwls5uYzuB
9,264
ImportError of lark when packaging a standalone application with PyInstaller
{ "login": "Mazzesy", "id": 96444822, "node_id": "U_kgDOBb-hlg", "avatar_url": "https://avatars.githubusercontent.com/u/96444822?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mazzesy", "html_url": "https://github.com/Mazzesy", "followers_url": "https://api.github.com/users/Mazzesy/followers", "following_url": "https://api.github.com/users/Mazzesy/following{/other_user}", "gists_url": "https://api.github.com/users/Mazzesy/gists{/gist_id}", "starred_url": "https://api.github.com/users/Mazzesy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mazzesy/subscriptions", "organizations_url": "https://api.github.com/users/Mazzesy/orgs", "repos_url": "https://api.github.com/users/Mazzesy/repos", "events_url": "https://api.github.com/users/Mazzesy/events{/privacy}", "received_events_url": "https://api.github.com/users/Mazzesy/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
13
2023-08-15T19:23:27
2023-10-24T09:20:47
null
NONE
null
### System Info When attempting to package my application using PyInstaller, I encounter an error related to the "lark" library. When trying to initiate the SelfQueryRetriever from langchain, I encounter the following problem: > Traceback (most recent call last): > File "test.py", line 39, in > File "langchain\retrievers\self_query\base.py", line 144, in from_llm > File "langchain\chains\query_constructor\base.py", line 154, in load_query_constructor_chain > File "langchain\chains\query_constructor\base.py", line 115, in _get_prompt > File "langchain\chains\query_constructor\base.py", line 72, in from_components > File "langchain\chains\query_constructor\parser.py", line 150, in get_parser > ImportError: Cannot import lark, please install it with 'pip install lark'. I use: - Langchain 0.0.233 - Lark 1.1.7 - PyInstaller 5.10.1 - Python 3.9.13 - OS Windows-10-10.0.22621-SP0 I have already ensured that the "lark" library is installed using the appropriate command: pip install lark. I have also tried to add a hook-lark.py file to the PyInstaller as suggested [here](https://github.com/lark-parser/lark/issues/548.) and also opened a issue in [Lark](https://github.com/lark-parser/lark/issues/1319). Can you help? Thanks in advance! ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction With the following code the problem can be reproduced: ``` from langchain.embeddings import OpenAIEmbeddings from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain.vectorstores import Chroma from langchain.retrievers import SelfQueryRetriever from langchain.llms import OpenAI from langchain.chains.query_constructor.base import AttributeInfo embeddings = OpenAIEmbeddings() persist_directory = "data" text= ["test"] chunk_size = 1000 chunk_overlap = 10 r_splitter = RecursiveCharacterTextSplitter(chunk_size=chunk_size, chunk_overlap=chunk_overlap, separators=["\n\n", "(?<=\. )", "\n"]) docs = r_splitter.create_documents(text) for doc in docs: doc.metadata = {"document": "test"} db = Chroma.from_documents(documents=docs, embedding=embeddings, persist_directory=persist_directory) db.persist() metadata_field_info = [ AttributeInfo( name="document", description="The name of the document the chunk is from.", type="string", ), ] document_content_description = "Test document" llm = OpenAI(temperature=0) retriever = SelfQueryRetriever.from_llm( llm, db, document_content_description, metadata_field_info, verbose=True ) ``` The spec-file to create the standalone application looks like this: ``` # -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis( ['test.py'], pathex=[], binaries=[], datas=[], hiddenimports=['tiktoken_ext', 'tiktoken_ext.openai_public', 'onnxruntime', 'chromadb', 'chromadb.telemetry.posthog', 'chromadb.api.local', 'chromadb.db.duckdb'], hookspath=['.'], hooksconfig={}, runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, noarchive=False, ) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) a.datas += Tree('path\to\langchain', prefix='langchain') exe = EXE( pyz, a.scripts, a.binaries, a.zipfiles, a.datas, [], name='test', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=True, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, ) ``` ### Expected behavior The SelfQueryRetriever should be initiated properly for futher use.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9264/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9264/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9263
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9263/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9263/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9263/events
https://github.com/langchain-ai/langchain/pull/9263
1,851,965,600
PR_kwDOIPDwls5X_0ap
9,263
Added generic event handler for both tockens and functions calls
{ "login": "andrewBatutin", "id": 8652454, "node_id": "MDQ6VXNlcjg2NTI0NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8652454?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrewBatutin", "html_url": "https://github.com/andrewBatutin", "followers_url": "https://api.github.com/users/andrewBatutin/followers", "following_url": "https://api.github.com/users/andrewBatutin/following{/other_user}", "gists_url": "https://api.github.com/users/andrewBatutin/gists{/gist_id}", "starred_url": "https://api.github.com/users/andrewBatutin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewBatutin/subscriptions", "organizations_url": "https://api.github.com/users/andrewBatutin/orgs", "repos_url": "https://api.github.com/users/andrewBatutin/repos", "events_url": "https://api.github.com/users/andrewBatutin/events{/privacy}", "received_events_url": "https://api.github.com/users/andrewBatutin/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
4
2023-08-15T19:01:11
2023-08-25T04:19:00
2023-08-25T04:18:59
CONTRIBUTOR
null
# Description Main motivation for this PR is to sync with JS langchain https://github.com/hwchase17/langchainjs/pull/2025 Added `on_event` callback that works for both token and openai function calls in streaming mode Twitter: [@ShelfDev](https://twitter.com/ShelfDev)
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9263/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/9263/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9263", "html_url": "https://github.com/langchain-ai/langchain/pull/9263", "diff_url": "https://github.com/langchain-ai/langchain/pull/9263.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9263.patch", "merged_at": "2023-08-25T04:18:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/9262
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9262/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9262/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9262/events
https://github.com/langchain-ai/langchain/issues/9262
1,851,915,394
I_kwDOIPDwls5uYfyC
9,262
intermediate_steps missing last thought content
{ "login": "jiangcheng1214", "id": 3535601, "node_id": "MDQ6VXNlcjM1MzU2MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3535601?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiangcheng1214", "html_url": "https://github.com/jiangcheng1214", "followers_url": "https://api.github.com/users/jiangcheng1214/followers", "following_url": "https://api.github.com/users/jiangcheng1214/following{/other_user}", "gists_url": "https://api.github.com/users/jiangcheng1214/gists{/gist_id}", "starred_url": "https://api.github.com/users/jiangcheng1214/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jiangcheng1214/subscriptions", "organizations_url": "https://api.github.com/users/jiangcheng1214/orgs", "repos_url": "https://api.github.com/users/jiangcheng1214/repos", "events_url": "https://api.github.com/users/jiangcheng1214/events{/privacy}", "received_events_url": "https://api.github.com/users/jiangcheng1214/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
6
2023-08-15T18:24:45
2023-12-30T16:07:04
2023-12-30T16:07:03
NONE
null
### System Info Problem: The intermediate_steps don't contain last `AI thought information`. Did I do anything wrong or was that a bug? Or is there anything I can do to extract the last `AI thought information`? Code: ``` agent = initialize_agent( [self.search_tool, self.wikipedia_tool], self.llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True, max_iterations=5, handle_parsing_errors=True, return_intermediate_steps=True ) result = agent(formatted_script_template) intermediate_steps = result['intermediate_steps'] ``` The intermediate_steps contains only one step and it is missing the last `Thought` What intermediate_steps look like: <img width="644" alt="Screenshot 2023-08-15 at 11 19 40 AM" src="https://github.com/langchain-ai/langchain/assets/3535601/d22bc6dd-11b1-4974-97dd-594bd7038d04"> What I expected to have: <img width="1170" alt="Screenshot 2023-08-15 at 11 20 59 AM" src="https://github.com/langchain-ai/langchain/assets/3535601/6457135b-3257-42ba-801c-8f5523830337"> ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Run the code I provided in the description and set breakpoint to inspect intermediate steps. The thought was missing in intermediate steps. ### Expected behavior The complete observation & thought will be available in intermediate steps.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9262/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/9262/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9261
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9261/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9261/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9261/events
https://github.com/langchain-ai/langchain/issues/9261
1,851,861,571
I_kwDOIPDwls5uYSpD
9,261
In Azure vector store, metadata is kept as a string and can't be used in a filter
{ "login": "eburnette", "id": 1093707, "node_id": "MDQ6VXNlcjEwOTM3MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/1093707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eburnette", "html_url": "https://github.com/eburnette", "followers_url": "https://api.github.com/users/eburnette/followers", "following_url": "https://api.github.com/users/eburnette/following{/other_user}", "gists_url": "https://api.github.com/users/eburnette/gists{/gist_id}", "starred_url": "https://api.github.com/users/eburnette/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eburnette/subscriptions", "organizations_url": "https://api.github.com/users/eburnette/orgs", "repos_url": "https://api.github.com/users/eburnette/repos", "events_url": "https://api.github.com/users/eburnette/events{/privacy}", "received_events_url": "https://api.github.com/users/eburnette/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
open
false
null
[]
null
8
2023-08-15T17:45:21
2024-01-11T12:07:31
null
NONE
null
### System Info Langchain version 0.0.265 Python 3.11.4 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python from dotenv import load_dotenv from langchain.vectorstores.azuresearch import AzureSearch from langchain.embeddings.openai import OpenAIEmbeddings from langchain.docstore.document import Document import os load_dotenv() index_name = 'ebb-test-1' vector_store_address = os.environ.get('AZURE_VECTOR_STORE_ADDRESS') vector_store_password = os.environ.get('AZURE_VECTOR_STORE_PASSWORD') embeddings: OpenAIEmbeddings = OpenAIEmbeddings(model='text-embedding-ada-002', chunk_size=1, deployment=os.environ.get('AZURE_VECTOR_STORE_DEPLOYMENT')) vector_store: AzureSearch = AzureSearch(azure_search_endpoint=vector_store_address, azure_search_key=vector_store_password, index_name=index_name, embedding_function=embeddings.embed_query) texts = [ 'Tulips are pretty', 'Roses have thorns' ] metas = [ {'name': 'tulip', 'nested': {'color': 'purple'}}, {'name': 'rose', 'nested': {'color': 'red'}} ] docs = [Document(page_content=text, metadata=meta) for text, meta in zip(texts, metas)] vector_store.add_documents(docs) try: # Prints Message: Invalid expression: 'metadata' is not a filterable field. Only filterable fields can be used in filter expressions. result = vector_store.vector_search_with_score( 'things that have thorns', k=3, filters="metadata eq 'invalid'") print(result) except Exception as e: print(e) print('Should print give an error about not being able to convert the string') try: # Prints Message: Invalid expression: Could not find a property named 'name' on type 'Edm.String'. result = vector_store.vector_search_with_score( 'things that have thorns', k=3, filters="metadata/name eq 'tulip'") print(result) except Exception as e: print(e) print('Should just return the tulip (even though it has no thorns)') try: # Prints Message: Invalid expression: Could not find a property named 'nested' on type 'Edm.String'. result = vector_store.vector_search_with_score( 'things that have thorns', k=3, filters="metadata/nested/color eq 'red'") print(result) except Exception as e: print(e) print('Should just return the rose') ``` ### Expected behavior The first block should not give an error about metadata being filterable. Instead, it should give some error about the expression being invalid. The second block should just return the tulip document, and the third one should just return the rose document.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9261/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9260
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9260/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9260/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9260/events
https://github.com/langchain-ai/langchain/pull/9260
1,851,770,769
PR_kwDOIPDwls5X_K-y
9,260
use openapi_pydantic
{ "login": "themrzmaster", "id": 852747, "node_id": "MDQ6VXNlcjg1Mjc0Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/852747?v=4", "gravatar_id": "", "url": "https://api.github.com/users/themrzmaster", "html_url": "https://github.com/themrzmaster", "followers_url": "https://api.github.com/users/themrzmaster/followers", "following_url": "https://api.github.com/users/themrzmaster/following{/other_user}", "gists_url": "https://api.github.com/users/themrzmaster/gists{/gist_id}", "starred_url": "https://api.github.com/users/themrzmaster/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/themrzmaster/subscriptions", "organizations_url": "https://api.github.com/users/themrzmaster/orgs", "repos_url": "https://api.github.com/users/themrzmaster/repos", "events_url": "https://api.github.com/users/themrzmaster/events{/privacy}", "received_events_url": "https://api.github.com/users/themrzmaster/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700892, "node_id": "LA_kwDOIPDwls8AAAABUpid3A", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor", "name": "auto:refactor", "color": "D4C5F9", "default": false, "description": "A large refactor of a feature(s) or restructuring of many files" } ]
closed
false
{ "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
5
2023-08-15T16:35:00
2023-09-21T21:56:56
2023-09-21T21:56:56
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9260/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/9260/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9260", "html_url": "https://github.com/langchain-ai/langchain/pull/9260", "diff_url": "https://github.com/langchain-ai/langchain/pull/9260.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9260.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9259
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9259/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9259/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9259/events
https://github.com/langchain-ai/langchain/pull/9259
1,851,770,382
PR_kwDOIPDwls5X_K5d
9,259
Update documentation for the Context integration with new URL and features
{ "login": "agamble", "id": 950938, "node_id": "MDQ6VXNlcjk1MDkzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/950938?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agamble", "html_url": "https://github.com/agamble", "followers_url": "https://api.github.com/users/agamble/followers", "following_url": "https://api.github.com/users/agamble/following{/other_user}", "gists_url": "https://api.github.com/users/agamble/gists{/gist_id}", "starred_url": "https://api.github.com/users/agamble/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agamble/subscriptions", "organizations_url": "https://api.github.com/users/agamble/orgs", "repos_url": "https://api.github.com/users/agamble/repos", "events_url": "https://api.github.com/users/agamble/events{/privacy}", "received_events_url": "https://api.github.com/users/agamble/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-15T16:34:39
2023-08-15T18:38:41
2023-08-15T18:38:35
CONTRIBUTOR
null
Update documentation and URLs for the Langchain Context integration. We've moved from getcontext.ai to context.ai \o/ Thanks in advance for the review!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9259/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9259", "html_url": "https://github.com/langchain-ai/langchain/pull/9259", "diff_url": "https://github.com/langchain-ai/langchain/pull/9259.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9259.patch", "merged_at": "2023-08-15T18:38:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/9258
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9258/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9258/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9258/events
https://github.com/langchain-ai/langchain/pull/9258
1,851,766,256
PR_kwDOIPDwls5X_J_J
9,258
Use bulk to complete Elasticsearch batch deletion.
{ "login": "dm57", "id": 102356141, "node_id": "U_kgDOBhnUrQ", "avatar_url": "https://avatars.githubusercontent.com/u/102356141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dm57", "html_url": "https://github.com/dm57", "followers_url": "https://api.github.com/users/dm57/followers", "following_url": "https://api.github.com/users/dm57/following{/other_user}", "gists_url": "https://api.github.com/users/dm57/gists{/gist_id}", "starred_url": "https://api.github.com/users/dm57/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dm57/subscriptions", "organizations_url": "https://api.github.com/users/dm57/orgs", "repos_url": "https://api.github.com/users/dm57/repos", "events_url": "https://api.github.com/users/dm57/events{/privacy}", "received_events_url": "https://api.github.com/users/dm57/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
{ "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
9
2023-08-15T16:31:49
2023-11-18T00:15:21
2023-11-18T00:15:20
NONE
null
This PR is to complete todo in 'langchain/vectorstores/elastic_vector_search.py' that want use bulk to complete Elasticsearch batch deletion. By the way: this PR is passing linting and testing before submitting. already run `make format`, `make lint` and `make test` locally.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9258/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9258", "html_url": "https://github.com/langchain-ai/langchain/pull/9258", "diff_url": "https://github.com/langchain-ai/langchain/pull/9258.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9258.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9257
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9257/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9257/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9257/events
https://github.com/langchain-ai/langchain/pull/9257
1,851,741,532
PR_kwDOIPDwls5X_FJA
9,257
add oai sched tests
{ "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": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-15T16:15:23
2023-08-15T16:40:34
2023-08-15T16:40:33
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9257/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9257", "html_url": "https://github.com/langchain-ai/langchain/pull/9257", "diff_url": "https://github.com/langchain-ai/langchain/pull/9257.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9257.patch", "merged_at": "2023-08-15T16:40:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/9256
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9256/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9256/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9256/events
https://github.com/langchain-ai/langchain/pull/9256
1,851,689,429
PR_kwDOIPDwls5X-50d
9,256
Store and retrieve documents from remote instance
{ "login": "apurv101", "id": 14235444, "node_id": "MDQ6VXNlcjE0MjM1NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/14235444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apurv101", "html_url": "https://github.com/apurv101", "followers_url": "https://api.github.com/users/apurv101/followers", "following_url": "https://api.github.com/users/apurv101/following{/other_user}", "gists_url": "https://api.github.com/users/apurv101/gists{/gist_id}", "starred_url": "https://api.github.com/users/apurv101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/apurv101/subscriptions", "organizations_url": "https://api.github.com/users/apurv101/orgs", "repos_url": "https://api.github.com/users/apurv101/repos", "events_url": "https://api.github.com/users/apurv101/events{/privacy}", "received_events_url": "https://api.github.com/users/apurv101/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
{ "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
8
2023-08-15T15:41:14
2023-10-12T15:01:24
2023-10-12T15:01:13
CONTRIBUTOR
null
Replace this entire comment with: - Description: I have added documentation on how to create a remote instance of chromadb on AWS, store the documents in it, retrieve the documents from it and then query them using chains, - Issue: NA, - Dependencies: NA, - Tag maintainer: @eyurtsev, - Twitter handle: NA
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9256/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9256", "html_url": "https://github.com/langchain-ai/langchain/pull/9256", "diff_url": "https://github.com/langchain-ai/langchain/pull/9256.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9256.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9255
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9255/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9255/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9255/events
https://github.com/langchain-ai/langchain/issues/9255
1,851,663,787
I_kwDOIPDwls5uXiWr
9,255
milvus not support normalize_L2 of embedding
{ "login": "wenlovexx", "id": 10592926, "node_id": "MDQ6VXNlcjEwNTkyOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/10592926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wenlovexx", "html_url": "https://github.com/wenlovexx", "followers_url": "https://api.github.com/users/wenlovexx/followers", "following_url": "https://api.github.com/users/wenlovexx/following{/other_user}", "gists_url": "https://api.github.com/users/wenlovexx/gists{/gist_id}", "starred_url": "https://api.github.com/users/wenlovexx/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wenlovexx/subscriptions", "organizations_url": "https://api.github.com/users/wenlovexx/orgs", "repos_url": "https://api.github.com/users/wenlovexx/repos", "events_url": "https://api.github.com/users/wenlovexx/events{/privacy}", "received_events_url": "https://api.github.com/users/wenlovexx/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": 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-15T15:31:15
2023-11-29T16:08:05
2023-11-29T16:08:04
NONE
null
### Feature request cur version, milvus not support normalize_L2 of embedding, when can add this feature? Thanks ### Motivation Normalization and regularization of features can improve retrieval performance, and it is convenient to set thresholds when calculating similarity through inner product ### Your contribution NO
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9255/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9255/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9254
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9254/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9254/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9254/events
https://github.com/langchain-ai/langchain/pull/9254
1,851,597,642
PR_kwDOIPDwls5X-msB
9,254
Create pydantic v1 namespace in langchain
{ "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": 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
1
2023-08-15T15:02:04
2023-08-17T04:19:32
2023-08-17T04:19:31
COLLABORATOR
null
Create pydantic v1 namespace in langchain experimental
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9254/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9254/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9254", "html_url": "https://github.com/langchain-ai/langchain/pull/9254", "diff_url": "https://github.com/langchain-ai/langchain/pull/9254.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9254.patch", "merged_at": "2023-08-17T04:19:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/9253
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9253/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9253/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9253/events
https://github.com/langchain-ai/langchain/pull/9253
1,851,521,063
PR_kwDOIPDwls5X-WRH
9,253
bump 265
{ "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-15T14:16:21
2023-08-15T14:21:33
2023-08-15T14:21:32
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9253/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9253", "html_url": "https://github.com/langchain-ai/langchain/pull/9253", "diff_url": "https://github.com/langchain-ai/langchain/pull/9253.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9253.patch", "merged_at": "2023-08-15T14:21:32" }
https://api.github.com/repos/langchain-ai/langchain/issues/9252
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9252/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9252/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9252/events
https://github.com/langchain-ai/langchain/pull/9252
1,851,374,048
PR_kwDOIPDwls5X92ki
9,252
fix faiss bug, reset index_to_docstore_id
{ "login": "fnhweiqs", "id": 23090570, "node_id": "MDQ6VXNlcjIzMDkwNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/23090570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fnhweiqs", "html_url": "https://github.com/fnhweiqs", "followers_url": "https://api.github.com/users/fnhweiqs/followers", "following_url": "https://api.github.com/users/fnhweiqs/following{/other_user}", "gists_url": "https://api.github.com/users/fnhweiqs/gists{/gist_id}", "starred_url": "https://api.github.com/users/fnhweiqs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fnhweiqs/subscriptions", "organizations_url": "https://api.github.com/users/fnhweiqs/orgs", "repos_url": "https://api.github.com/users/fnhweiqs/repos", "events_url": "https://api.github.com/users/fnhweiqs/events{/privacy}", "received_events_url": "https://api.github.com/users/fnhweiqs/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-15T12:42:26
2023-11-10T22:17:38
2023-11-10T22:17:37
NONE
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9252/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9252/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9252", "html_url": "https://github.com/langchain-ai/langchain/pull/9252", "diff_url": "https://github.com/langchain-ai/langchain/pull/9252.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9252.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9251
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9251/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9251/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9251/events
https://github.com/langchain-ai/langchain/pull/9251
1,851,372,151
PR_kwDOIPDwls5X92KW
9,251
docs: Update ArangoDB Links
{ "login": "aMahanna", "id": 43019056, "node_id": "MDQ6VXNlcjQzMDE5MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/43019056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aMahanna", "html_url": "https://github.com/aMahanna", "followers_url": "https://api.github.com/users/aMahanna/followers", "following_url": "https://api.github.com/users/aMahanna/following{/other_user}", "gists_url": "https://api.github.com/users/aMahanna/gists{/gist_id}", "starred_url": "https://api.github.com/users/aMahanna/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aMahanna/subscriptions", "organizations_url": "https://api.github.com/users/aMahanna/orgs", "repos_url": "https://api.github.com/users/aMahanna/repos", "events_url": "https://api.github.com/users/aMahanna/events{/privacy}", "received_events_url": "https://api.github.com/users/aMahanna/received_events", "type": "User", "site_admin": false }
[ { "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-15T12:40:57
2023-08-15T14:43:47
2023-08-15T14:43:47
CONTRIBUTOR
null
ready for review - mdx link update - colab link update
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9251/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9251", "html_url": "https://github.com/langchain-ai/langchain/pull/9251", "diff_url": "https://github.com/langchain-ai/langchain/pull/9251.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9251.patch", "merged_at": "2023-08-15T14:43:47" }
https://api.github.com/repos/langchain-ai/langchain/issues/9250
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9250/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9250/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9250/events
https://github.com/langchain-ai/langchain/pull/9250
1,851,259,357
PR_kwDOIPDwls5X9eKo
9,250
Added BittensorLLM
{ "login": "Kunj-2206", "id": 59330099, "node_id": "MDQ6VXNlcjU5MzMwMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/59330099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kunj-2206", "html_url": "https://github.com/Kunj-2206", "followers_url": "https://api.github.com/users/Kunj-2206/followers", "following_url": "https://api.github.com/users/Kunj-2206/following{/other_user}", "gists_url": "https://api.github.com/users/Kunj-2206/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kunj-2206/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kunj-2206/subscriptions", "organizations_url": "https://api.github.com/users/Kunj-2206/orgs", "repos_url": "https://api.github.com/users/Kunj-2206/repos", "events_url": "https://api.github.com/users/Kunj-2206/events{/privacy}", "received_events_url": "https://api.github.com/users/Kunj-2206/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-15T11:05:12
2023-08-15T22:40:52
2023-08-15T22:40:52
CONTRIBUTOR
null
Description: Adding NIBittensorLLM via Validator Endpoint to langchain llms Tag maintainer: @Kunj-2206 Maintainer responsibilities: Models / Prompts: @hwchase17, @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9250/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9250", "html_url": "https://github.com/langchain-ai/langchain/pull/9250", "diff_url": "https://github.com/langchain-ai/langchain/pull/9250.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9250.patch", "merged_at": "2023-08-15T22:40:52" }
https://api.github.com/repos/langchain-ai/langchain/issues/9249
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9249/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9249/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9249/events
https://github.com/langchain-ai/langchain/pull/9249
1,851,221,941
PR_kwDOIPDwls5X9WRV
9,249
add streaming tokens and model_name
{ "login": "lvisdd", "id": 513466, "node_id": "MDQ6VXNlcjUxMzQ2Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/513466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lvisdd", "html_url": "https://github.com/lvisdd", "followers_url": "https://api.github.com/users/lvisdd/followers", "following_url": "https://api.github.com/users/lvisdd/following{/other_user}", "gists_url": "https://api.github.com/users/lvisdd/gists{/gist_id}", "starred_url": "https://api.github.com/users/lvisdd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lvisdd/subscriptions", "organizations_url": "https://api.github.com/users/lvisdd/orgs", "repos_url": "https://api.github.com/users/lvisdd/repos", "events_url": "https://api.github.com/users/lvisdd/events{/privacy}", "received_events_url": "https://api.github.com/users/lvisdd/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
{ "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
7
2023-08-15T10:28:36
2023-11-23T14:17:53
null
CONTRIBUTOR
null
(#4583) @hwchase17, @baskaryan My test code is as follows. ```python import asyncio from langchain.callbacks import get_openai_callback from langchain.chat_models import ChatOpenAI from langchain.schema import ( HumanMessage, SystemMessage ) example_messages = [ SystemMessage(content="You are a helpful, pattern-following assistant that translates corporate jargon into plain English."), #SystemMessage(name="example_user", content="New synergies will help drive top-line growth."), #SystemMessage(name="example_assistant", content="Things working well together will increase revenue."), #SystemMessage(name="example_user", content="Let's circle back when we have more bandwidth to touch base on opportunities for increased leverage."), #SystemMessage(name="example_assistant", content="Let's talk later when we're less busy about how to do better."), HumanMessage(content="This late pivot means we don't have time to boil the ocean for the client deliverable."), ] async def main(): for model in [ "gpt-3.5-turbo-0301", #"gpt-3.5-turbo-0613", #"gpt-3.5-turbo", #"gpt-4-0314", #"gpt-4-0613", #"gpt-4", ]: print(model) with get_openai_callback() as cb: chat = ChatOpenAI(model_name=model, streaming=False, temperature=0, max_tokens=100) resp = chat.generate([example_messages]) print() print(resp) print("prompt_tokens : " + str(cb.prompt_tokens)) print("completion_tokens : " + str(cb.completion_tokens)) print("total_tokens : " + str(cb.total_tokens)) print("total_cost : " + str(cb.total_cost)) with get_openai_callback() as cb: chat = ChatOpenAI(model_name=model, streaming=False, temperature=0, max_tokens=100) resp = await chat.agenerate([example_messages]) print() print(resp) print("prompt_tokens : " + str(cb.prompt_tokens)) print("completion_tokens : " + str(cb.completion_tokens)) print("total_tokens : " + str(cb.total_tokens)) print("total_cost : " + str(cb.total_cost)) with get_openai_callback() as cb: chat = ChatOpenAI(model_name=model, streaming=True, temperature=0, max_tokens=100) resp = chat.generate([example_messages]) print() print(resp) print("prompt_tokens : " + str(cb.prompt_tokens)) print("completion_tokens : " + str(cb.completion_tokens)) print("total_tokens : " + str(cb.total_tokens)) print("total_cost : " + str(cb.total_cost)) with get_openai_callback() as cb: chat = ChatOpenAI(model_name=model, streaming=True, temperature=0, max_tokens=100) resp = await chat.agenerate([example_messages]) print() print(resp) print("prompt_tokens : " + str(cb.prompt_tokens)) print("completion_tokens : " + str(cb.completion_tokens)) print("total_tokens : " + str(cb.total_tokens)) print("total_cost : " + str(cb.total_cost)) print() if __name__ == '__main__': asyncio.run(main()) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9249/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/9249/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9249", "html_url": "https://github.com/langchain-ai/langchain/pull/9249", "diff_url": "https://github.com/langchain-ai/langchain/pull/9249.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9249.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9248
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9248/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9248/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9248/events
https://github.com/langchain-ai/langchain/pull/9248
1,851,201,693
PR_kwDOIPDwls5X9SA3
9,248
Elasticsearch self-query retriever
{ "login": "joemcelroy", "id": 49480, "node_id": "MDQ6VXNlcjQ5NDgw", "avatar_url": "https://avatars.githubusercontent.com/u/49480?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joemcelroy", "html_url": "https://github.com/joemcelroy", "followers_url": "https://api.github.com/users/joemcelroy/followers", "following_url": "https://api.github.com/users/joemcelroy/following{/other_user}", "gists_url": "https://api.github.com/users/joemcelroy/gists{/gist_id}", "starred_url": "https://api.github.com/users/joemcelroy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joemcelroy/subscriptions", "organizations_url": "https://api.github.com/users/joemcelroy/orgs", "repos_url": "https://api.github.com/users/joemcelroy/repos", "events_url": "https://api.github.com/users/joemcelroy/events{/privacy}", "received_events_url": "https://api.github.com/users/joemcelroy/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-08-15T10:09:21
2023-08-15T14:53:44
2023-08-15T14:53:43
CONTRIBUTOR
null
Now with ElasticsearchStore VectorStore merged, i've added support for the self-query retriever. I've added a notebook also to demonstrate capability. I've also added unit tests. **Credit** @elastic and @phoey1 on twitter.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9248/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9248", "html_url": "https://github.com/langchain-ai/langchain/pull/9248", "diff_url": "https://github.com/langchain-ai/langchain/pull/9248.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9248.patch", "merged_at": "2023-08-15T14:53:43" }
https://api.github.com/repos/langchain-ai/langchain/issues/9247
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9247/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9247/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9247/events
https://github.com/langchain-ai/langchain/issues/9247
1,851,185,785
I_kwDOIPDwls5uVtp5
9,247
How to output code variables word by word in `ChatOpenAI` instead of console?
{ "login": "Lufffya", "id": 49063302, "node_id": "MDQ6VXNlcjQ5MDYzMzAy", "avatar_url": "https://avatars.githubusercontent.com/u/49063302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lufffya", "html_url": "https://github.com/Lufffya", "followers_url": "https://api.github.com/users/Lufffya/followers", "following_url": "https://api.github.com/users/Lufffya/following{/other_user}", "gists_url": "https://api.github.com/users/Lufffya/gists{/gist_id}", "starred_url": "https://api.github.com/users/Lufffya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lufffya/subscriptions", "organizations_url": "https://api.github.com/users/Lufffya/orgs", "repos_url": "https://api.github.com/users/Lufffya/repos", "events_url": "https://api.github.com/users/Lufffya/events{/privacy}", "received_events_url": "https://api.github.com/users/Lufffya/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-15T09:55:01
2023-11-21T16:05:25
2023-11-21T16:05:25
NONE
null
![image](https://github.com/langchain-ai/langchain/assets/49063302/351cde17-07aa-43a6-9b8b-596c5213a948) As shown in the figure, I hope that the `resp `variable can capture these outputs in each for loop, rather than displaying them on the console, What should I do?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9247/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9247/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9246
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9246/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9246/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9246/events
https://github.com/langchain-ai/langchain/issues/9246
1,851,169,357
I_kwDOIPDwls5uVppN
9,246
OpenAIFunctionsAgent | Streaming Bug
{ "login": "jordanparker6", "id": 29700471, "node_id": "MDQ6VXNlcjI5NzAwNDcx", "avatar_url": "https://avatars.githubusercontent.com/u/29700471?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jordanparker6", "html_url": "https://github.com/jordanparker6", "followers_url": "https://api.github.com/users/jordanparker6/followers", "following_url": "https://api.github.com/users/jordanparker6/following{/other_user}", "gists_url": "https://api.github.com/users/jordanparker6/gists{/gist_id}", "starred_url": "https://api.github.com/users/jordanparker6/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jordanparker6/subscriptions", "organizations_url": "https://api.github.com/users/jordanparker6/orgs", "repos_url": "https://api.github.com/users/jordanparker6/repos", "events_url": "https://api.github.com/users/jordanparker6/events{/privacy}", "received_events_url": "https://api.github.com/users/jordanparker6/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" } ]
closed
false
null
[]
null
2
2023-08-15T09:41:21
2023-09-05T12:07:36
2023-08-15T15:35:25
NONE
null
### System Info langchain = "^0.0.264" python = "^3.10" ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [X] Async ### Reproduction ```py from langchain.agents.agent_toolkits import create_retriever_tool from langchain.agents.agent_toolkits import create_conversational_retrieval_agent from langchain.agents import AgentExecutor from langchain.chat_models import ChatOpenAI from langchain.agents.openai_functions_agent.agent_token_buffer_memory import AgentTokenBufferMemory from langchain.agents.openai_functions_agent.base import OpenAIFunctionsAgent from langchain.schema.messages import SystemMessage from langchain.prompts import MessagesPlaceholder llm = ChatOpenAI(temperature = 0, model="gpt-3.5-turbo-0613", stream=True) memory = AgentTokenBufferMemory(memory_key="history", llm=llm) retriever = vectorstore.as_retriever() tool = load_custom_tool(retriever, model_name="gpt-3.5-turbo", return_direct=False) tools = [tool] system_message = SystemMessage( content=( "Do your best to answer the questions. " "Feel free to use any tools available to look up " "relevant information, only if necessary" ) ) prompt = OpenAIFunctionsAgent.create_prompt( system_message=system_message, extra_prompt_messages=[MessagesPlaceholder(variable_name="history")] ) agent = OpenAIFunctionsAgent(llm=llm, tools=tools, prompt=prompt) agent_executor = AgentExecutor( agent=agent, tools=tools, memory=memory, verbose=True, return_intermediate_steps=True ) result = await agent_executor.acall({"input": "What color is the sky?"}) result ``` ### Expected behavior The code errors with the following ``` in Chain.acall(self, inputs, return_only_outputs, callbacks, tags, metadata, include_run_info) 347 except (KeyboardInterrupt, Exception) as e: 348 await run_manager.on_chain_error(e) --> 349 raise e 350 await run_manager.on_chain_end(outputs) 351 final_outputs: Dict[str, Any] = self.prep_outputs( 352 inputs, outputs, return_only_outputs 353 ) in Chain.acall(self, inputs, return_only_outputs, callbacks, tags, metadata, include_run_info) 337 run_manager = await callback_manager.on_chain_start( 338 dumpd(self), ... 361 message=message, 362 generation_info=dict(finish_reason=res.get("finish_reason")), 363 ) TypeError: 'async_generator' object is not subscriptable ``` I was hoping to be able to use the OpenAIFunctions agent as a drop in replacement for my existing agent. I need streaming to be working to do so. Is streaming supported?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9246/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9244
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9244/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9244/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9244/events
https://github.com/langchain-ai/langchain/pull/9244
1,851,043,022
PR_kwDOIPDwls5X8wFB
9,244
fix: max_marginal_relevance_search and docs in Dingo
{ "login": "HeChangHaoGary", "id": 53417823, "node_id": "MDQ6VXNlcjUzNDE3ODIz", "avatar_url": "https://avatars.githubusercontent.com/u/53417823?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HeChangHaoGary", "html_url": "https://github.com/HeChangHaoGary", "followers_url": "https://api.github.com/users/HeChangHaoGary/followers", "following_url": "https://api.github.com/users/HeChangHaoGary/following{/other_user}", "gists_url": "https://api.github.com/users/HeChangHaoGary/gists{/gist_id}", "starred_url": "https://api.github.com/users/HeChangHaoGary/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HeChangHaoGary/subscriptions", "organizations_url": "https://api.github.com/users/HeChangHaoGary/orgs", "repos_url": "https://api.github.com/users/HeChangHaoGary/repos", "events_url": "https://api.github.com/users/HeChangHaoGary/events{/privacy}", "received_events_url": "https://api.github.com/users/HeChangHaoGary/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" } ]
closed
false
null
[]
null
2
2023-08-15T07:54:44
2023-08-15T08:06:07
2023-08-15T08:06:06
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9244/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9244/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9244", "html_url": "https://github.com/langchain-ai/langchain/pull/9244", "diff_url": "https://github.com/langchain-ai/langchain/pull/9244.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9244.patch", "merged_at": "2023-08-15T08:06:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/9243
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9243/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9243/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9243/events
https://github.com/langchain-ai/langchain/pull/9243
1,851,036,977
PR_kwDOIPDwls5X8uy_
9,243
nit
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 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-15T07:49:07
2023-08-15T07:49:15
2023-08-15T07:49:12
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9243/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9243", "html_url": "https://github.com/langchain-ai/langchain/pull/9243", "diff_url": "https://github.com/langchain-ai/langchain/pull/9243.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9243.patch", "merged_at": "2023-08-15T07:49:12" }
https://api.github.com/repos/langchain-ai/langchain/issues/9242
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9242/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9242/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9242/events
https://github.com/langchain-ai/langchain/pull/9242
1,851,025,150
PR_kwDOIPDwls5X8sSh
9,242
consolidate redirects
{ "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-15T07:36:57
2023-08-15T07:48:24
2023-08-15T07:48:23
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9242/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9242/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9242", "html_url": "https://github.com/langchain-ai/langchain/pull/9242", "diff_url": "https://github.com/langchain-ai/langchain/pull/9242.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9242.patch", "merged_at": "2023-08-15T07:48:23" }
https://api.github.com/repos/langchain-ai/langchain/issues/9241
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9241/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9241/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9241/events
https://github.com/langchain-ai/langchain/issues/9241
1,850,987,786
I_kwDOIPDwls5uU9UK
9,241
Random question and Answer generation while using ConversationalRetrievalChain
{ "login": "codebyte17", "id": 125140336, "node_id": "U_kgDOB3V9cA", "avatar_url": "https://avatars.githubusercontent.com/u/125140336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/codebyte17", "html_url": "https://github.com/codebyte17", "followers_url": "https://api.github.com/users/codebyte17/followers", "following_url": "https://api.github.com/users/codebyte17/following{/other_user}", "gists_url": "https://api.github.com/users/codebyte17/gists{/gist_id}", "starred_url": "https://api.github.com/users/codebyte17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/codebyte17/subscriptions", "organizations_url": "https://api.github.com/users/codebyte17/orgs", "repos_url": "https://api.github.com/users/codebyte17/repos", "events_url": "https://api.github.com/users/codebyte17/events{/privacy}", "received_events_url": "https://api.github.com/users/codebyte17/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": 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
2
2023-08-15T06:56:12
2023-11-21T16:05:31
2023-11-21T16:05:30
NONE
null
### System Info python 3.11 langchain 0.0.263. ### Who can help? @agol ### 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 - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I want to add memory into docs based question answer chatbot but after adding memory the chatbot randomly generate question and answer automatically. ![testing](https://github.com/langchain-ai/langchain/assets/125140336/52cf28c9-da29-42c0-8ab5-075983679c61) ### Expected behavior I need chatbot for docs based question answer and chat history.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9241/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9241/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9240
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9240/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9240/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9240/events
https://github.com/langchain-ai/langchain/pull/9240
1,850,897,942
PR_kwDOIPDwls5X8RdN
9,240
ArcGISLoader update
{ "login": "joshuasundance-swca", "id": 84336755, "node_id": "MDQ6VXNlcjg0MzM2NzU1", "avatar_url": "https://avatars.githubusercontent.com/u/84336755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joshuasundance-swca", "html_url": "https://github.com/joshuasundance-swca", "followers_url": "https://api.github.com/users/joshuasundance-swca/followers", "following_url": "https://api.github.com/users/joshuasundance-swca/following{/other_user}", "gists_url": "https://api.github.com/users/joshuasundance-swca/gists{/gist_id}", "starred_url": "https://api.github.com/users/joshuasundance-swca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joshuasundance-swca/subscriptions", "organizations_url": "https://api.github.com/users/joshuasundance-swca/orgs", "repos_url": "https://api.github.com/users/joshuasundance-swca/repos", "events_url": "https://api.github.com/users/joshuasundance-swca/events{/privacy}", "received_events_url": "https://api.github.com/users/joshuasundance-swca/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-15T04:43:55
2023-08-15T06:44:29
2023-08-15T06:44:29
CONTRIBUTOR
null
Small bug fixes and added metadata based on user feedback. This PR is from the author of https://github.com/langchain-ai/langchain/pull/8873 .
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9240/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9240", "html_url": "https://github.com/langchain-ai/langchain/pull/9240", "diff_url": "https://github.com/langchain-ai/langchain/pull/9240.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9240.patch", "merged_at": "2023-08-15T06:44:29" }
https://api.github.com/repos/langchain-ai/langchain/issues/9239
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9239/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9239/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9239/events
https://github.com/langchain-ai/langchain/pull/9239
1,850,873,341
PR_kwDOIPDwls5X8MRh
9,239
add Epsilla vectorstore
{ "login": "ricki-epsilla", "id": 132831962, "node_id": "U_kgDOB-ra2g", "avatar_url": "https://avatars.githubusercontent.com/u/132831962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ricki-epsilla", "html_url": "https://github.com/ricki-epsilla", "followers_url": "https://api.github.com/users/ricki-epsilla/followers", "following_url": "https://api.github.com/users/ricki-epsilla/following{/other_user}", "gists_url": "https://api.github.com/users/ricki-epsilla/gists{/gist_id}", "starred_url": "https://api.github.com/users/ricki-epsilla/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ricki-epsilla/subscriptions", "organizations_url": "https://api.github.com/users/ricki-epsilla/orgs", "repos_url": "https://api.github.com/users/ricki-epsilla/repos", "events_url": "https://api.github.com/users/ricki-epsilla/events{/privacy}", "received_events_url": "https://api.github.com/users/ricki-epsilla/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
6
2023-08-15T04:01:30
2023-08-24T19:17:05
2023-08-21T19:51:15
CONTRIBUTOR
null
[Epsilla](https://github.com/epsilla-cloud/vectordb) vectordb is an open-source vector database that leverages the advanced academic parallel graph traversal techniques for vector indexing. This PR adds basic integration with [pyepsilla](https://github.com/epsilla-cloud/epsilla-python-client)(Epsilla vectordb python client) as a vectorstore.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9239/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9239/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9239", "html_url": "https://github.com/langchain-ai/langchain/pull/9239", "diff_url": "https://github.com/langchain-ai/langchain/pull/9239.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9239.patch", "merged_at": "2023-08-21T19:51:15" }
https://api.github.com/repos/langchain-ai/langchain/issues/9238
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9238/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9238/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9238/events
https://github.com/langchain-ai/langchain/pull/9238
1,850,837,483
PR_kwDOIPDwls5X8Eui
9,238
docs: update LlamaCpp max_tokens args
{ "login": "fanyou-wbd", "id": 113745616, "node_id": "U_kgDOBsee0A", "avatar_url": "https://avatars.githubusercontent.com/u/113745616?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fanyou-wbd", "html_url": "https://github.com/fanyou-wbd", "followers_url": "https://api.github.com/users/fanyou-wbd/followers", "following_url": "https://api.github.com/users/fanyou-wbd/following{/other_user}", "gists_url": "https://api.github.com/users/fanyou-wbd/gists{/gist_id}", "starred_url": "https://api.github.com/users/fanyou-wbd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fanyou-wbd/subscriptions", "organizations_url": "https://api.github.com/users/fanyou-wbd/orgs", "repos_url": "https://api.github.com/users/fanyou-wbd/repos", "events_url": "https://api.github.com/users/fanyou-wbd/events{/privacy}", "received_events_url": "https://api.github.com/users/fanyou-wbd/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-15T03:01:52
2023-08-15T07:50:21
2023-08-15T07:50:21
CONTRIBUTOR
null
This PR updates documentations only, `max_length` should be `max_tokens` according to latest LlamaCpp API doc: https://api.python.langchain.com/en/latest/llms/langchain.llms.llamacpp.LlamaCpp.html <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9238/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9238", "html_url": "https://github.com/langchain-ai/langchain/pull/9238", "diff_url": "https://github.com/langchain-ai/langchain/pull/9238.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9238.patch", "merged_at": "2023-08-15T07:50:21" }
https://api.github.com/repos/langchain-ai/langchain/issues/9237
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9237/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9237/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9237/events
https://github.com/langchain-ai/langchain/issues/9237
1,850,835,440
I_kwDOIPDwls5uUYHw
9,237
This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?
{ "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": 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-15T02:58:25
2023-08-15T21:10:16
2023-08-15T20:46:03
NONE
null
### Issue you'd like to raise. def define_model(model_threshold): get_no = np.random.randint(1, 11) if int(model_threshold) >= get_no: return "gpt-4-0613" else: return "gpt-3.5-turbo-16k-0613" messages = get_chat_history_format(api_params=api_params) model_name = define_model(model_threshold) print(f"Model Name : {model_name}") llm = ChatOpenAI(temperature=0.7, model_name = model_name, streaming = True, callbacks = [MyCallbackHandler(api_params)]) agent_executor = initialize_agent( define_search_tools(llm), llm, system_message = system_message, extra_prompt_messages = [MessagesPlaceholder(variable_name="memory")], agent_instructions = "Analyse the query closely and decide the query intend. If the query requires internet to search than use google-serper to answer the query. Try to invoke `google-serper` most of the times", agent=AgentType.OPENAI_FUNCTIONS, agent_kwargs= agent_kwargs, verbose = True, memory = memory, handle_parsing_errors=True, ) I am getting endpoint error ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9237/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9237/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9235
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9235/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9235/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9235/events
https://github.com/langchain-ai/langchain/issues/9235
1,850,779,448
I_kwDOIPDwls5uUKc4
9,235
Issue: load_summarization_chain in 'map_reduce' mode not breaking up document
{ "login": "omnific9", "id": 10455335, "node_id": "MDQ6VXNlcjEwNDU1MzM1", "avatar_url": "https://avatars.githubusercontent.com/u/10455335?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omnific9", "html_url": "https://github.com/omnific9", "followers_url": "https://api.github.com/users/omnific9/followers", "following_url": "https://api.github.com/users/omnific9/following{/other_user}", "gists_url": "https://api.github.com/users/omnific9/gists{/gist_id}", "starred_url": "https://api.github.com/users/omnific9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/omnific9/subscriptions", "organizations_url": "https://api.github.com/users/omnific9/orgs", "repos_url": "https://api.github.com/users/omnific9/repos", "events_url": "https://api.github.com/users/omnific9/events{/privacy}", "received_events_url": "https://api.github.com/users/omnific9/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": 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-15T01:27:12
2023-11-21T16:05:36
2023-11-21T16:05:35
NONE
null
### Issue you'd like to raise. I'm using the load_summarization_chain with the type of 'map_reduce' in the following fashion: ``` summary_prompt = ChatPromptTemplate.from_template( "Write a long-form summary of the following text delimited by triple backquotes. " "Include detailed evidence and arguments to make sure the generated paragraph is convincing. " "Write in Chinese." "```{text}```" ) combine_prompt = ChatPromptTemplate.from_template( "Write a long-form summary of the following text delimited by triple backquotes. " "Include all the details as much as possible." "Write in Chinese." "```{text}```" ) combined_summary_chain = load_summarize_chain(llm=llm, chain_type="map_reduce", map_prompt=summary_prompt, combine_prompt=combine_prompt, return_intermediate_steps=True) summary, inter_steps = combined_summary_chain({"input_documents": data, "token_max": 8000}) ``` I've checked several tutorials and there doesn't seem to be anything wrong with this. But I keep getting this error: `openai.error.InvalidRequestError: This model's maximum context length is 8192 tokens. However, your messages resulted in 15473 tokens. Please reduce the length of the messages.` It's as if the map_reduce chain isn't breaking up the data and running as if it's a stuffing chain instead. What did I do wrong? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9235/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9235/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9234
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9234/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9234/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9234/events
https://github.com/langchain-ai/langchain/pull/9234
1,850,752,508
PR_kwDOIPDwls5X7y3a
9,234
adapter doc nit
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 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-15T00:38:30
2023-08-15T01:26:38
2023-08-15T01:26:37
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9234/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9234/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9234", "html_url": "https://github.com/langchain-ai/langchain/pull/9234", "diff_url": "https://github.com/langchain-ai/langchain/pull/9234.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9234.patch", "merged_at": "2023-08-15T01:26:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/9233
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9233/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9233/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9233/events
https://github.com/langchain-ai/langchain/pull/9233
1,850,733,643
PR_kwDOIPDwls5X7u4U
9,233
Harrison/fallbacks
{ "login": "hwchase17", "id": 11986836, "node_id": "MDQ6VXNlcjExOTg2ODM2", "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwchase17", "html_url": "https://github.com/hwchase17", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "repos_url": "https://api.github.com/users/hwchase17/repos", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 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-15T00:07:21
2023-08-15T01:27:39
2023-08-15T01:27:39
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9233/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9233/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9233", "html_url": "https://github.com/langchain-ai/langchain/pull/9233", "diff_url": "https://github.com/langchain-ai/langchain/pull/9233.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9233.patch", "merged_at": "2023-08-15T01:27:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/9231
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9231/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9231/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9231/events
https://github.com/langchain-ai/langchain/issues/9231
1,850,711,136
I_kwDOIPDwls5uT5xg
9,231
Issue: trying to call generate_queries() on a MultiQueryRetriever but where do I get a run_manager from?
{ "login": "maspotts", "id": 4096446, "node_id": "MDQ6VXNlcjQwOTY0NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/4096446?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maspotts", "html_url": "https://github.com/maspotts", "followers_url": "https://api.github.com/users/maspotts/followers", "following_url": "https://api.github.com/users/maspotts/following{/other_user}", "gists_url": "https://api.github.com/users/maspotts/gists{/gist_id}", "starred_url": "https://api.github.com/users/maspotts/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maspotts/subscriptions", "organizations_url": "https://api.github.com/users/maspotts/orgs", "repos_url": "https://api.github.com/users/maspotts/repos", "events_url": "https://api.github.com/users/maspotts/events{/privacy}", "received_events_url": "https://api.github.com/users/maspotts/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
4
2023-08-14T23:38:42
2023-11-21T16:05:40
2023-11-21T16:05:39
CONTRIBUTOR
null
### Issue you'd like to raise. I'm trying to use `MultiQueryRetriever` to generate variations on a question: it seems to work, but I can't use it inside a chain created with `load_qa_with_sources_chain()` because that generates a chain that expects a list of input_documents, rather than a retriever, and I don't want to use `RetrievalQAWithSourcesChain` instead of `load_qa_with_sources_chain()` because I want to continue implementing my own similarity search (eg. I'm supporting switches to select using `index.similarity_search()` vs. `index.max_marginal_relevance_search()` on my `index`, and to specify the number of matches (`k`)), so I figured I could just call `generate_queries()` on my `MultiQueryRetriever` instance and then manually run my (`load_qa_with_sources_chain()`) chain for each variation. However, that method requires a `run_manager`, and I can't figure out how to create one. I already have the `load_qa_with_sources_chain()` chain: can I get a `run_manager` from that? Or more generally, what's the best way to use `MultiQueryRetriever` whilst maintaining one's own code for fetching matching text snippets? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9231/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9231/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9230
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9230/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9230/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9230/events
https://github.com/langchain-ai/langchain/pull/9230
1,850,709,347
PR_kwDOIPDwls5X7pg4
9,230
Default On Retry
{ "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-14T23:36:58
2023-08-14T23:45:18
2023-08-14T23:45:17
COLLABORATOR
null
Base callbacks don't have a default on retry event Fix #8542
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9230/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9230/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9230", "html_url": "https://github.com/langchain-ai/langchain/pull/9230", "diff_url": "https://github.com/langchain-ai/langchain/pull/9230.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9230.patch", "merged_at": "2023-08-14T23:45:17" }
https://api.github.com/repos/langchain-ai/langchain/issues/9229
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9229/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9229/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9229/events
https://github.com/langchain-ai/langchain/pull/9229
1,850,673,222
PR_kwDOIPDwls5X7hh5
9,229
track langchain usage for Rockset
{ "login": "kwadhwa18", "id": 6015244, "node_id": "MDQ6VXNlcjYwMTUyNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6015244?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kwadhwa18", "html_url": "https://github.com/kwadhwa18", "followers_url": "https://api.github.com/users/kwadhwa18/followers", "following_url": "https://api.github.com/users/kwadhwa18/following{/other_user}", "gists_url": "https://api.github.com/users/kwadhwa18/gists{/gist_id}", "starred_url": "https://api.github.com/users/kwadhwa18/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kwadhwa18/subscriptions", "organizations_url": "https://api.github.com/users/kwadhwa18/orgs", "repos_url": "https://api.github.com/users/kwadhwa18/repos", "events_url": "https://api.github.com/users/kwadhwa18/events{/privacy}", "received_events_url": "https://api.github.com/users/kwadhwa18/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
2
2023-08-14T22:57:15
2023-08-14T23:37:15
2023-08-14T23:27:35
CONTRIBUTOR
null
Add ability to track langchain usage for Rockset. Rockset's new python client allows setting this. To prevent old clients from failing, it ignore if setting throws exception (we can't track old versions) Tested locally with old and new Rockset python client cc @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9229/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9229/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9229", "html_url": "https://github.com/langchain-ai/langchain/pull/9229", "diff_url": "https://github.com/langchain-ai/langchain/pull/9229.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9229.patch", "merged_at": "2023-08-14T23:27:35" }
https://api.github.com/repos/langchain-ai/langchain/issues/9228
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9228/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9228/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9228/events
https://github.com/langchain-ai/langchain/pull/9228
1,850,658,925
PR_kwDOIPDwls5X7eWc
9,228
Add Schema Evals
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-08-14T22:43:37
2023-08-16T00:17:33
2023-08-16T00:17:33
COLLABORATOR
null
Simple eval checks for whether a generation is valid json and whether it matches an expected dict
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9228/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9228/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9228", "html_url": "https://github.com/langchain-ai/langchain/pull/9228", "diff_url": "https://github.com/langchain-ai/langchain/pull/9228.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9228.patch", "merged_at": "2023-08-16T00:17:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/9227
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9227/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9227/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9227/events
https://github.com/langchain-ai/langchain/pull/9227
1,850,643,007
PR_kwDOIPDwls5X7az2
9,227
docstrings: `chat_models` consistency
{ "login": "leo-gan", "id": 2256422, "node_id": "MDQ6VXNlcjIyNTY0MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leo-gan", "html_url": "https://github.com/leo-gan", "followers_url": "https://api.github.com/users/leo-gan/followers", "following_url": "https://api.github.com/users/leo-gan/following{/other_user}", "gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}", "starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions", "organizations_url": "https://api.github.com/users/leo-gan/orgs", "repos_url": "https://api.github.com/users/leo-gan/repos", "events_url": "https://api.github.com/users/leo-gan/events{/privacy}", "received_events_url": "https://api.github.com/users/leo-gan/received_events", "type": "User", "site_admin": false }
[ { "id": 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-14T22:27:15
2023-08-14T23:25:38
2023-08-14T23:15:57
COLLABORATOR
null
Updated docstrings into the consistent format.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9227/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9227/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9227", "html_url": "https://github.com/langchain-ai/langchain/pull/9227", "diff_url": "https://github.com/langchain-ai/langchain/pull/9227.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9227.patch", "merged_at": "2023-08-14T23:15:57" }
https://api.github.com/repos/langchain-ai/langchain/issues/9226
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9226/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9226/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9226/events
https://github.com/langchain-ai/langchain/pull/9226
1,850,609,506
PR_kwDOIPDwls5X7TNg
9,226
Improvements in Nebula LLM
{ "login": "toshish", "id": 986859, "node_id": "MDQ6VXNlcjk4Njg1OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/986859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/toshish", "html_url": "https://github.com/toshish", "followers_url": "https://api.github.com/users/toshish/followers", "following_url": "https://api.github.com/users/toshish/following{/other_user}", "gists_url": "https://api.github.com/users/toshish/gists{/gist_id}", "starred_url": "https://api.github.com/users/toshish/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toshish/subscriptions", "organizations_url": "https://api.github.com/users/toshish/orgs", "repos_url": "https://api.github.com/users/toshish/repos", "events_url": "https://api.github.com/users/toshish/events{/privacy}", "received_events_url": "https://api.github.com/users/toshish/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-14T22:03:11
2023-08-15T22:33:08
2023-08-15T22:33:08
CONTRIBUTOR
null
- Description: Added improvements in Nebula LLM to perform auto-retry; more generation parameters supported. Conversation is no longer required to be passed in the LLM object. Examples are updated. - Issue: N/A - Dependencies: N/A - Tag maintainer: @baskaryan - Twitter handle: symbldotai
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9226/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9226", "html_url": "https://github.com/langchain-ai/langchain/pull/9226", "diff_url": "https://github.com/langchain-ai/langchain/pull/9226.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9226.patch", "merged_at": "2023-08-15T22:33:08" }
https://api.github.com/repos/langchain-ai/langchain/issues/9225
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9225/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9225/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9225/events
https://github.com/langchain-ai/langchain/pull/9225
1,850,607,529
PR_kwDOIPDwls5X7SxZ
9,225
hub push/pull
{ "login": "efriis", "id": 9557659, "node_id": "MDQ6VXNlcjk1NTc2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/efriis", "html_url": "https://github.com/efriis", "followers_url": "https://api.github.com/users/efriis/followers", "following_url": "https://api.github.com/users/efriis/following{/other_user}", "gists_url": "https://api.github.com/users/efriis/gists{/gist_id}", "starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/efriis/subscriptions", "organizations_url": "https://api.github.com/users/efriis/orgs", "repos_url": "https://api.github.com/users/efriis/repos", "events_url": "https://api.github.com/users/efriis/events{/privacy}", "received_events_url": "https://api.github.com/users/efriis/received_events", "type": "User", "site_admin": false }
[ { "id": 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-14T22:01:22
2023-08-15T21:11:45
2023-08-15T21:11:44
COLLABORATOR
null
Description: Adds push/pull functions to interact with the hub Issue: n/a Dependencies: `langchainhub`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9225/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9225/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9225", "html_url": "https://github.com/langchain-ai/langchain/pull/9225", "diff_url": "https://github.com/langchain-ai/langchain/pull/9225.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9225.patch", "merged_at": "2023-08-15T21:11:44" }
https://api.github.com/repos/langchain-ai/langchain/issues/9223
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9223/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9223/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9223/events
https://github.com/langchain-ai/langchain/pull/9223
1,850,569,978
PR_kwDOIPDwls5X7Kah
9,223
Return feedback with failed response if there's an error
{ "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-14T21:29:45
2023-08-14T22:59:17
2023-08-14T22:59:16
COLLABORATOR
null
in evals
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9223/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9223/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9223", "html_url": "https://github.com/langchain-ai/langchain/pull/9223", "diff_url": "https://github.com/langchain-ai/langchain/pull/9223.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9223.patch", "merged_at": "2023-08-14T22:59:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/9222
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9222/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9222/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9222/events
https://github.com/langchain-ai/langchain/pull/9222
1,850,553,283
PR_kwDOIPDwls5X7GuR
9,222
Improve MultiOn client toolkit prompts
{ "login": "Div99", "id": 22247549, "node_id": "MDQ6VXNlcjIyMjQ3NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/22247549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Div99", "html_url": "https://github.com/Div99", "followers_url": "https://api.github.com/users/Div99/followers", "following_url": "https://api.github.com/users/Div99/following{/other_user}", "gists_url": "https://api.github.com/users/Div99/gists{/gist_id}", "starred_url": "https://api.github.com/users/Div99/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Div99/subscriptions", "organizations_url": "https://api.github.com/users/Div99/orgs", "repos_url": "https://api.github.com/users/Div99/repos", "events_url": "https://api.github.com/users/Div99/events{/privacy}", "received_events_url": "https://api.github.com/users/Div99/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
2
2023-08-14T21:16:53
2023-08-15T00:39:57
2023-08-15T00:39:52
CONTRIBUTOR
null
- Updated prompts for the MultiOn toolkit for better functionality - Non-blocking but good to have it merged to improve the overall performance for the toolkit @hinthornw @hwchase17
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9222/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9222/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9222", "html_url": "https://github.com/langchain-ai/langchain/pull/9222", "diff_url": "https://github.com/langchain-ai/langchain/pull/9222.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9222.patch", "merged_at": "2023-08-15T00:39:52" }
https://api.github.com/repos/langchain-ai/langchain/issues/9221
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9221/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9221/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9221/events
https://github.com/langchain-ai/langchain/pull/9221
1,850,493,316
PR_kwDOIPDwls5X65fm
9,221
Minor formatting on Web Research Use Case
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-14T20:30:09
2023-08-14T23:29:38
2023-08-14T23:29:37
COLLABORATOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9221/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9221/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9221", "html_url": "https://github.com/langchain-ai/langchain/pull/9221", "diff_url": "https://github.com/langchain-ai/langchain/pull/9221.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9221.patch", "merged_at": "2023-08-14T23:29:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/9220
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9220/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9220/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9220/events
https://github.com/langchain-ai/langchain/pull/9220
1,850,458,856
PR_kwDOIPDwls5X6x4F
9,220
Update Ollama docs
{ "login": "rlancemartin", "id": 122662504, "node_id": "U_kgDOB0-uaA", "avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rlancemartin", "html_url": "https://github.com/rlancemartin", "followers_url": "https://api.github.com/users/rlancemartin/followers", "following_url": "https://api.github.com/users/rlancemartin/following{/other_user}", "gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}", "starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions", "organizations_url": "https://api.github.com/users/rlancemartin/orgs", "repos_url": "https://api.github.com/users/rlancemartin/repos", "events_url": "https://api.github.com/users/rlancemartin/events{/privacy}", "received_events_url": "https://api.github.com/users/rlancemartin/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-14T20:05:03
2023-08-14T20:56:17
2023-08-14T20:56:17
COLLABORATOR
null
Based on discussion w/ team.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9220/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9220/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9220", "html_url": "https://github.com/langchain-ai/langchain/pull/9220", "diff_url": "https://github.com/langchain-ai/langchain/pull/9220.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9220.patch", "merged_at": "2023-08-14T20:56:16" }
https://api.github.com/repos/langchain-ai/langchain/issues/9219
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9219/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9219/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9219/events
https://github.com/langchain-ai/langchain/issues/9219
1,850,451,609
I_kwDOIPDwls5uS6aZ
9,219
Kernel dies for SVMRetriever with Huggingface Embeddings Model
{ "login": "AjinkyaBankar", "id": 77496039, "node_id": "MDQ6VXNlcjc3NDk2MDM5", "avatar_url": "https://avatars.githubusercontent.com/u/77496039?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AjinkyaBankar", "html_url": "https://github.com/AjinkyaBankar", "followers_url": "https://api.github.com/users/AjinkyaBankar/followers", "following_url": "https://api.github.com/users/AjinkyaBankar/following{/other_user}", "gists_url": "https://api.github.com/users/AjinkyaBankar/gists{/gist_id}", "starred_url": "https://api.github.com/users/AjinkyaBankar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AjinkyaBankar/subscriptions", "organizations_url": "https://api.github.com/users/AjinkyaBankar/orgs", "repos_url": "https://api.github.com/users/AjinkyaBankar/repos", "events_url": "https://api.github.com/users/AjinkyaBankar/events{/privacy}", "received_events_url": "https://api.github.com/users/AjinkyaBankar/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
16
2023-08-14T19:59:31
2023-12-05T11:32:48
2023-11-23T16:06:29
NONE
null
### System Info langchain==0.0.245 python==3.9 ### Who can help? @hw ### Information - [ ] 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 - [X] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I am trying to use HuggingFace Embeddings model for SVMRetriever method as follows: ``` from langchain.embeddings import HuggingFaceEmbeddings from langchain.retrievers import SVMRetriever embedding = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2") retriever = SVMRetriever.from_texts(["foo", "bar", "world", "hello", "foo bar"], embedding, k=4, relevancy_threshold=.25) ``` Kernel looks busy for a while and then dies when I run above snippet. ### Expected behavior I expect to run this smoothly and upon completion, should be able to retrieve similar documents as: `result = retriever.get_relevant_documents("foo")`
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9219/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9219/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9218
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9218/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9218/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9218/events
https://github.com/langchain-ai/langchain/issues/9218
1,850,424,838
I_kwDOIPDwls5uSz4G
9,218
DOC: <Please write a comprehensive title after the 'DOC: ' prefix>
{ "login": "chuymtz", "id": 11253196, "node_id": "MDQ6VXNlcjExMjUzMTk2", "avatar_url": "https://avatars.githubusercontent.com/u/11253196?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chuymtz", "html_url": "https://github.com/chuymtz", "followers_url": "https://api.github.com/users/chuymtz/followers", "following_url": "https://api.github.com/users/chuymtz/following{/other_user}", "gists_url": "https://api.github.com/users/chuymtz/gists{/gist_id}", "starred_url": "https://api.github.com/users/chuymtz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chuymtz/subscriptions", "organizations_url": "https://api.github.com/users/chuymtz/orgs", "repos_url": "https://api.github.com/users/chuymtz/repos", "events_url": "https://api.github.com/users/chuymtz/events{/privacy}", "received_events_url": "https://api.github.com/users/chuymtz/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-14T19:39:51
2023-11-20T16:04:47
2023-11-20T16:04:46
NONE
null
### Issue with current documentation: In https://python.langchain.com/docs/use_cases/extraction, I can run this example using the ChatOpenAI method. However, within my organization, I want to use AzureChatOpenAI. However, the same example doesnt work here. The error I get is ``` InvalidRequestError: Unrecognized request argument supplied: functions ``` What am I doing wrong? ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9218/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9218/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9217
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9217/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9217/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9217/events
https://github.com/langchain-ai/langchain/pull/9217
1,850,368,036
PR_kwDOIPDwls5X6d86
9,217
Remove packages for pydantic compatibility
{ "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": 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-14T18:59:51
2023-08-15T14:41:26
2023-08-15T14:41:25
COLLABORATOR
null
# Poetry updates This PR updates LangChains poetry file to remove any dependencies that aren't pydantic v2 compatible yet. All packages remain usable under pydantic v1, and can be installed separately. ## Bumping the following packages: * langsmith ## Removing the following packages not used in extended unit-tests: * zep-python, anthropic, jina, spacy, steamship, betabageldb not used at all: * octoai-sdk Cleaning up extras w/ for removed packages. ## Snapshots updated Some snapshots had to be updated due to a change in the data model in langsmith. RunType used to be Union of Enum and string and was changed to be string only.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9217/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9217/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9217", "html_url": "https://github.com/langchain-ai/langchain/pull/9217", "diff_url": "https://github.com/langchain-ai/langchain/pull/9217.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9217.patch", "merged_at": "2023-08-15T14:41:25" }
https://api.github.com/repos/langchain-ai/langchain/issues/9216
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9216/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9216/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9216/events
https://github.com/langchain-ai/langchain/pull/9216
1,850,331,163
PR_kwDOIPDwls5X6VyD
9,216
docstrings: `document_loaders` consistency 3
{ "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
1
2023-08-14T18:34:16
2023-08-14T23:29:16
2023-08-14T23:28:39
COLLABORATOR
null
Updated docstrings into the consistent format (probably, the last update for the `document_loaders`.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9216/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9216/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9216", "html_url": "https://github.com/langchain-ai/langchain/pull/9216", "diff_url": "https://github.com/langchain-ai/langchain/pull/9216.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9216.patch", "merged_at": "2023-08-14T23:28:39" }
https://api.github.com/repos/langchain-ai/langchain/issues/9215
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9215/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9215/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9215/events
https://github.com/langchain-ai/langchain/pull/9215
1,850,320,471
PR_kwDOIPDwls5X6Tb7
9,215
Landonsilla patch 1
{ "login": "landonsilla", "id": 1323337, "node_id": "MDQ6VXNlcjEzMjMzMzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1323337?v=4", "gravatar_id": "", "url": "https://api.github.com/users/landonsilla", "html_url": "https://github.com/landonsilla", "followers_url": "https://api.github.com/users/landonsilla/followers", "following_url": "https://api.github.com/users/landonsilla/following{/other_user}", "gists_url": "https://api.github.com/users/landonsilla/gists{/gist_id}", "starred_url": "https://api.github.com/users/landonsilla/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/landonsilla/subscriptions", "organizations_url": "https://api.github.com/users/landonsilla/orgs", "repos_url": "https://api.github.com/users/landonsilla/repos", "events_url": "https://api.github.com/users/landonsilla/events{/privacy}", "received_events_url": "https://api.github.com/users/landonsilla/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
3
2023-08-14T18:26:32
2023-08-14T23:40:10
2023-08-14T23:29:33
CONTRIBUTOR
null
- Description: there is an on_retry event that gets called. however the common callback handlers don't implement an `on_retry` method. So i added a "do nothing" stub method that gets inherited for all these common callback handlers. - Issue: [the issue # it fixes (if applicable),](https://github.com/langchain-ai/langchain/issues/8542), - Dependencies: none, - 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!
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9215/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/9215/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9215", "html_url": "https://github.com/langchain-ai/langchain/pull/9215", "diff_url": "https://github.com/langchain-ai/langchain/pull/9215.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9215.patch", "merged_at": "2023-08-14T23:29:33" }
https://api.github.com/repos/langchain-ai/langchain/issues/9214
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9214/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9214/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9214/events
https://github.com/langchain-ai/langchain/pull/9214
1,850,296,393
PR_kwDOIPDwls5X6OEY
9,214
Parent Doc Retriever
{ "login": "hinthornw", "id": 13333726, "node_id": "MDQ6VXNlcjEzMzMzNzI2", "avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hinthornw", "html_url": "https://github.com/hinthornw", "followers_url": "https://api.github.com/users/hinthornw/followers", "following_url": "https://api.github.com/users/hinthornw/following{/other_user}", "gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}", "starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions", "organizations_url": "https://api.github.com/users/hinthornw/orgs", "repos_url": "https://api.github.com/users/hinthornw/repos", "events_url": "https://api.github.com/users/hinthornw/events{/privacy}", "received_events_url": "https://api.github.com/users/hinthornw/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 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-14T18:11:53
2023-08-14T22:41:54
2023-08-14T22:41:53
COLLABORATOR
null
2 things: - Implement the private method rather than the public one so callbacks are handled properly - Add search_kwargs (Open to not adding this if we are trying to deprecate this UX but seems like as a user i'd assume similar args to the vector store retriever. In fact some may assume this implements the same interface but I'm not dealing with that here) -
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9214/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9214/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9214", "html_url": "https://github.com/langchain-ai/langchain/pull/9214", "diff_url": "https://github.com/langchain-ai/langchain/pull/9214.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9214.patch", "merged_at": "2023-08-14T22:41:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/9213
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9213/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9213/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9213/events
https://github.com/langchain-ai/langchain/pull/9213
1,850,249,976
PR_kwDOIPDwls5X6EPF
9,213
Refactor api models to clarify structure
{ "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": 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" } ]
open
false
null
[]
null
2
2023-08-14T17:45:18
2023-09-21T21:43:47
null
COLLABORATOR
null
Clarify API structure
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9213/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9213/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9213", "html_url": "https://github.com/langchain-ai/langchain/pull/9213", "diff_url": "https://github.com/langchain-ai/langchain/pull/9213.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9213.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9212
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9212/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9212/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9212/events
https://github.com/langchain-ai/langchain/issues/9212
1,850,200,651
I_kwDOIPDwls5uR9JL
9,212
DOC: Typo in the streaming document with hugging face text inference
{ "login": "WuhanMonkey", "id": 5740295, "node_id": "MDQ6VXNlcjU3NDAyOTU=", "avatar_url": "https://avatars.githubusercontent.com/u/5740295?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WuhanMonkey", "html_url": "https://github.com/WuhanMonkey", "followers_url": "https://api.github.com/users/WuhanMonkey/followers", "following_url": "https://api.github.com/users/WuhanMonkey/following{/other_user}", "gists_url": "https://api.github.com/users/WuhanMonkey/gists{/gist_id}", "starred_url": "https://api.github.com/users/WuhanMonkey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WuhanMonkey/subscriptions", "organizations_url": "https://api.github.com/users/WuhanMonkey/orgs", "repos_url": "https://api.github.com/users/WuhanMonkey/repos", "events_url": "https://api.github.com/users/WuhanMonkey/events{/privacy}", "received_events_url": "https://api.github.com/users/WuhanMonkey/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-14T17:14:38
2023-11-20T16:04:52
2023-11-20T16:04:51
NONE
null
### Issue with current documentation: In document here - https://python.langchain.com/docs/integrations/llms/huggingface_textgen_inference#streaming Streaming section, parameter **stream** should be **streaming**. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9212/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9212/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9209
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9209/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9209/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9209/events
https://github.com/langchain-ai/langchain/issues/9209
1,849,993,920
I_kwDOIPDwls5uRKrA
9,209
Issue: Using custom_id with PGVector store
{ "login": "rahulnyk", "id": 8510571, "node_id": "MDQ6VXNlcjg1MTA1NzE=", "avatar_url": "https://avatars.githubusercontent.com/u/8510571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahulnyk", "html_url": "https://github.com/rahulnyk", "followers_url": "https://api.github.com/users/rahulnyk/followers", "following_url": "https://api.github.com/users/rahulnyk/following{/other_user}", "gists_url": "https://api.github.com/users/rahulnyk/gists{/gist_id}", "starred_url": "https://api.github.com/users/rahulnyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rahulnyk/subscriptions", "organizations_url": "https://api.github.com/users/rahulnyk/orgs", "repos_url": "https://api.github.com/users/rahulnyk/repos", "events_url": "https://api.github.com/users/rahulnyk/events{/privacy}", "received_events_url": "https://api.github.com/users/rahulnyk/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
3
2023-08-14T15:16:18
2023-10-06T12:31:35
2023-08-14T17:47:29
NONE
null
### Issue you'd like to raise. Hi, I have a pandas dataframe with a column name 'chunk_id'. I want to use this chunk_id as the custom_id in the langchain_pg_embedding table. The langchain documentation search bot tells me this is how I can do it. ```python from langchain.vectorstores import PGVectorStore vector_store = PGVectorStore( table_name="documents", conn_str="postgresql://username:password@localhost:5432/database", custom_id="my_custom_id" ) ``` This doesn't seem right to me. For one, there is no PGVectorStore in langchain.vectorstores. Secondly the PGVector from `from langchain.vectorstores.pgvector import PGVector` does not accept the custom_id argument. Is there any way to use my 'chunk_id' as the custom_id? ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9209/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9209/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9208
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9208/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9208/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9208/events
https://github.com/langchain-ai/langchain/pull/9208
1,849,947,395
PR_kwDOIPDwls5X5DyZ
9,208
lite llm lint
{ "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": "" } ]
closed
false
null
[]
null
1
2023-08-14T14:50:52
2023-08-14T15:03:07
2023-08-14T15:03:06
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9208/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9208/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9208", "html_url": "https://github.com/langchain-ai/langchain/pull/9208", "diff_url": "https://github.com/langchain-ai/langchain/pull/9208.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9208.patch", "merged_at": "2023-08-14T15:03:06" }
https://api.github.com/repos/langchain-ai/langchain/issues/9207
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9207/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9207/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9207/events
https://github.com/langchain-ai/langchain/pull/9207
1,849,943,056
PR_kwDOIPDwls5X5C18
9,207
bump lc 246, lce 9
{ "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-14T14:49:12
2023-08-15T14:13:35
2023-08-14T15:14:37
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9207/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9207/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9207", "html_url": "https://github.com/langchain-ai/langchain/pull/9207", "diff_url": "https://github.com/langchain-ai/langchain/pull/9207.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9207.patch", "merged_at": "2023-08-14T15:14:37" }
https://api.github.com/repos/langchain-ai/langchain/issues/9206
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9206/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9206/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9206/events
https://github.com/langchain-ai/langchain/pull/9206
1,849,934,159
PR_kwDOIPDwls5X5BD5
9,206
Update testing workflow to test with both pydantic versions
{ "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": 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-14T14:45:27
2023-08-15T17:21:13
2023-08-15T17:21:11
COLLABORATOR
null
* PR updates test.yml to test with both pydantic versions * Code should be refactored to make it easier to do testing in matrix format w/ packages * Added steps to assert that pydantic version in the environment is as expected
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9206/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9206/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9206", "html_url": "https://github.com/langchain-ai/langchain/pull/9206", "diff_url": "https://github.com/langchain-ai/langchain/pull/9206.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9206.patch", "merged_at": "2023-08-15T17:21:11" }
https://api.github.com/repos/langchain-ai/langchain/issues/9205
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9205/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9205/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9205/events
https://github.com/langchain-ai/langchain/pull/9205
1,849,875,417
PR_kwDOIPDwls5X40-9
9,205
Wrap OpenAPI features in conditionals for pydantic v2 compatibility
{ "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" } ]
closed
false
null
[]
null
1
2023-08-14T14:16:57
2023-08-14T17:41:00
2023-08-14T17:40:59
COLLABORATOR
null
Wrap OpenAPI in conditionals for pydantic v2 compatibility.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9205/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9205/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9205", "html_url": "https://github.com/langchain-ai/langchain/pull/9205", "diff_url": "https://github.com/langchain-ai/langchain/pull/9205.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9205.patch", "merged_at": "2023-08-14T17:40:59" }
https://api.github.com/repos/langchain-ai/langchain/issues/9204
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9204/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9204/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9204/events
https://github.com/langchain-ai/langchain/pull/9204
1,849,805,485
PR_kwDOIPDwls5X4mT7
9,204
add async method in
{ "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": 4899412369, "node_id": "LA_kwDOIPDwls8AAAABJAcZkQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent", "name": "area: agent", "color": "BFD4F2", "default": false, "description": "Related to agents module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-14T13:43:37
2023-08-14T18:04:32
2023-08-14T18:04:31
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9204/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9204/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9204", "html_url": "https://github.com/langchain-ai/langchain/pull/9204", "diff_url": "https://github.com/langchain-ai/langchain/pull/9204.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9204.patch", "merged_at": "2023-08-14T18:04:31" }
https://api.github.com/repos/langchain-ai/langchain/issues/9203
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9203/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9203/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9203/events
https://github.com/langchain-ai/langchain/pull/9203
1,849,803,898
PR_kwDOIPDwls5X4l9d
9,203
Update 2 more pydantic imports
{ "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": 5680700883, "node_id": "LA_kwDOIPDwls8AAAABUpid0w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit", "name": "auto:nit", "color": "FEF2C0", "default": false, "description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-14T13:42:40
2023-08-14T14:11:32
2023-08-14T14:11:30
COLLABORATOR
null
Update two more pydantic imports to use v1 explicitly
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9203/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9203", "html_url": "https://github.com/langchain-ai/langchain/pull/9203", "diff_url": "https://github.com/langchain-ai/langchain/pull/9203.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9203.patch", "merged_at": "2023-08-14T14:11:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/9202
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9202/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9202/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9202/events
https://github.com/langchain-ai/langchain/pull/9202
1,849,799,410
PR_kwDOIPDwls5X4k_f
9,202
Conditionally add pydantic v1 to namespace
{ "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": 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-14T13:39:59
2023-08-14T15:26:46
2023-08-14T15:26:45
COLLABORATOR
null
Conditionally add pydantic_v1 to namespace.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9202/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9202/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9202", "html_url": "https://github.com/langchain-ai/langchain/pull/9202", "diff_url": "https://github.com/langchain-ai/langchain/pull/9202.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9202.patch", "merged_at": "2023-08-14T15:26:45" }
https://api.github.com/repos/langchain-ai/langchain/issues/9201
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9201/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9201/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9201/events
https://github.com/langchain-ai/langchain/issues/9201
1,849,753,783
I_kwDOIPDwls5uQQC3
9,201
DOC: broken url links in QA documentation
{ "login": "Bl4ckEnd", "id": 26367290, "node_id": "MDQ6VXNlcjI2MzY3Mjkw", "avatar_url": "https://avatars.githubusercontent.com/u/26367290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bl4ckEnd", "html_url": "https://github.com/Bl4ckEnd", "followers_url": "https://api.github.com/users/Bl4ckEnd/followers", "following_url": "https://api.github.com/users/Bl4ckEnd/following{/other_user}", "gists_url": "https://api.github.com/users/Bl4ckEnd/gists{/gist_id}", "starred_url": "https://api.github.com/users/Bl4ckEnd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bl4ckEnd/subscriptions", "organizations_url": "https://api.github.com/users/Bl4ckEnd/orgs", "repos_url": "https://api.github.com/users/Bl4ckEnd/repos", "events_url": "https://api.github.com/users/Bl4ckEnd/events{/privacy}", "received_events_url": "https://api.github.com/users/Bl4ckEnd/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-14T13:13:23
2023-11-20T16:04:56
2023-11-20T16:04:56
NONE
null
### Issue with current documentation: In [this](https://python.langchain.com/docs/use_cases/question_answering.html) documentation, there are broken links in the "further reading" section. The urls are not found. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9201/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9201/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9200
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9200/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9200/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9200/events
https://github.com/langchain-ai/langchain/pull/9200
1,849,727,918
PR_kwDOIPDwls5X4Vio
9,200
fix(jinachat): related to #9197
{ "login": "wqj97", "id": 18662395, "node_id": "MDQ6VXNlcjE4NjYyMzk1", "avatar_url": "https://avatars.githubusercontent.com/u/18662395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wqj97", "html_url": "https://github.com/wqj97", "followers_url": "https://api.github.com/users/wqj97/followers", "following_url": "https://api.github.com/users/wqj97/following{/other_user}", "gists_url": "https://api.github.com/users/wqj97/gists{/gist_id}", "starred_url": "https://api.github.com/users/wqj97/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wqj97/subscriptions", "organizations_url": "https://api.github.com/users/wqj97/orgs", "repos_url": "https://api.github.com/users/wqj97/repos", "events_url": "https://api.github.com/users/wqj97/events{/privacy}", "received_events_url": "https://api.github.com/users/wqj97/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": 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-14T12:57:49
2023-08-14T18:04:20
2023-08-14T18:04:20
CONTRIBUTOR
null
related to: https://github.com/langchain-ai/langchain/issues/9197
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9200/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9200", "html_url": "https://github.com/langchain-ai/langchain/pull/9200", "diff_url": "https://github.com/langchain-ai/langchain/pull/9200.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9200.patch", "merged_at": "2023-08-14T18:04:20" }
https://api.github.com/repos/langchain-ai/langchain/issues/9199
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9199/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9199/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9199/events
https://github.com/langchain-ai/langchain/issues/9199
1,849,630,816
I_kwDOIPDwls5uPyBg
9,199
Issue: Amazon Bedrock Jurassic model responses getting truncated
{ "login": "sudipkumarbhattacharya", "id": 50918107, "node_id": "MDQ6VXNlcjUwOTE4MTA3", "avatar_url": "https://avatars.githubusercontent.com/u/50918107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sudipkumarbhattacharya", "html_url": "https://github.com/sudipkumarbhattacharya", "followers_url": "https://api.github.com/users/sudipkumarbhattacharya/followers", "following_url": "https://api.github.com/users/sudipkumarbhattacharya/following{/other_user}", "gists_url": "https://api.github.com/users/sudipkumarbhattacharya/gists{/gist_id}", "starred_url": "https://api.github.com/users/sudipkumarbhattacharya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sudipkumarbhattacharya/subscriptions", "organizations_url": "https://api.github.com/users/sudipkumarbhattacharya/orgs", "repos_url": "https://api.github.com/users/sudipkumarbhattacharya/repos", "events_url": "https://api.github.com/users/sudipkumarbhattacharya/events{/privacy}", "received_events_url": "https://api.github.com/users/sudipkumarbhattacharya/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
null
[]
null
8
2023-08-14T11:53:57
2023-10-27T16:11:04
null
NONE
null
### Issue you'd like to raise. When I create a Bedrock LLM Client for the Jurassic models - "ai21.j2-mid", "ai21.j2-ultra", the llm.invoke(query) methods are not returning with full results. The result seems to be getting truncated after first line. It seems like the LLM Engine is streaming it's output but langchain llm.invoke method is not able to handle the streaming data. Similar issue is coming with the chain.invoke(query) methods as well. However, llm.invoke works well when tried with AWS Bedrock "amazon.titan-tg1-large" model ### Suggestion: I guess the AI21 labs models are streaming output in a way that the LangChain llm.invoke( query) method is not able to handle properly.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9199/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/9199/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9198
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9198/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9198/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9198/events
https://github.com/langchain-ai/langchain/pull/9198
1,849,608,161
PR_kwDOIPDwls5X37FL
9,198
Deeplake docs fixes
{ "login": "adolkhan", "id": 54854336, "node_id": "MDQ6VXNlcjU0ODU0MzM2", "avatar_url": "https://avatars.githubusercontent.com/u/54854336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adolkhan", "html_url": "https://github.com/adolkhan", "followers_url": "https://api.github.com/users/adolkhan/followers", "following_url": "https://api.github.com/users/adolkhan/following{/other_user}", "gists_url": "https://api.github.com/users/adolkhan/gists{/gist_id}", "starred_url": "https://api.github.com/users/adolkhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adolkhan/subscriptions", "organizations_url": "https://api.github.com/users/adolkhan/orgs", "repos_url": "https://api.github.com/users/adolkhan/repos", "events_url": "https://api.github.com/users/adolkhan/events{/privacy}", "received_events_url": "https://api.github.com/users/adolkhan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 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-14T11:39:39
2023-08-15T22:57:03
2023-08-15T22:57:02
CONTRIBUTOR
null
Updated Deep Lake Vector Store's examples to use latest up-to-date API also fixed deprecated embedding_function related warning
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9198/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9198/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9198", "html_url": "https://github.com/langchain-ai/langchain/pull/9198", "diff_url": "https://github.com/langchain-ai/langchain/pull/9198.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9198.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9197
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9197/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9197/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9197/events
https://github.com/langchain-ai/langchain/issues/9197
1,849,585,577
I_kwDOIPDwls5uPm-p
9,197
_convert_message_to_dict doesn't handle FunctionMessage type
{ "login": "wqj97", "id": 18662395, "node_id": "MDQ6VXNlcjE4NjYyMzk1", "avatar_url": "https://avatars.githubusercontent.com/u/18662395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wqj97", "html_url": "https://github.com/wqj97", "followers_url": "https://api.github.com/users/wqj97/followers", "following_url": "https://api.github.com/users/wqj97/following{/other_user}", "gists_url": "https://api.github.com/users/wqj97/gists{/gist_id}", "starred_url": "https://api.github.com/users/wqj97/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wqj97/subscriptions", "organizations_url": "https://api.github.com/users/wqj97/orgs", "repos_url": "https://api.github.com/users/wqj97/repos", "events_url": "https://api.github.com/users/wqj97/events{/privacy}", "received_events_url": "https://api.github.com/users/wqj97/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-14T11:24:44
2023-08-15T08:13:36
2023-08-15T08:12:29
CONTRIBUTOR
null
### System Info langchain 0.0.263 python 3.9 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python from langchain.schema import FunctionMessage from langchain.chat_models.jinachat import _convert_message_to_dict _convert_message_to_dict(FunctionMessage(name='foo', content='bar')) ``` ![image](https://github.com/langchain-ai/langchain/assets/18662395/7040489d-6009-4232-9785-d8bba5fc8332) ### Expected behavior Handle FunctionMessage
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9197/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9197/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9196
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9196/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9196/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9196/events
https://github.com/langchain-ai/langchain/pull/9196
1,849,566,196
PR_kwDOIPDwls5X3xy_
9,196
Docs fix
{ "login": "adolkhan", "id": 54854336, "node_id": "MDQ6VXNlcjU0ODU0MzM2", "avatar_url": "https://avatars.githubusercontent.com/u/54854336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adolkhan", "html_url": "https://github.com/adolkhan", "followers_url": "https://api.github.com/users/adolkhan/followers", "following_url": "https://api.github.com/users/adolkhan/following{/other_user}", "gists_url": "https://api.github.com/users/adolkhan/gists{/gist_id}", "starred_url": "https://api.github.com/users/adolkhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adolkhan/subscriptions", "organizations_url": "https://api.github.com/users/adolkhan/orgs", "repos_url": "https://api.github.com/users/adolkhan/repos", "events_url": "https://api.github.com/users/adolkhan/events{/privacy}", "received_events_url": "https://api.github.com/users/adolkhan/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 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-14T11:11:02
2023-08-14T11:57:45
2023-08-14T11:57:45
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9196/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9196", "html_url": "https://github.com/langchain-ai/langchain/pull/9196", "diff_url": "https://github.com/langchain-ai/langchain/pull/9196.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9196.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9195
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9195/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9195/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9195/events
https://github.com/langchain-ai/langchain/issues/9195
1,849,461,369
I_kwDOIPDwls5uPIp5
9,195
Passing filter through ConversationalRetrievalChain to the underlying vector store
{ "login": "iurshina", "id": 4598815, "node_id": "MDQ6VXNlcjQ1OTg4MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/4598815?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iurshina", "html_url": "https://github.com/iurshina", "followers_url": "https://api.github.com/users/iurshina/followers", "following_url": "https://api.github.com/users/iurshina/following{/other_user}", "gists_url": "https://api.github.com/users/iurshina/gists{/gist_id}", "starred_url": "https://api.github.com/users/iurshina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iurshina/subscriptions", "organizations_url": "https://api.github.com/users/iurshina/orgs", "repos_url": "https://api.github.com/users/iurshina/repos", "events_url": "https://api.github.com/users/iurshina/events{/privacy}", "received_events_url": "https://api.github.com/users/iurshina/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
15
2023-08-14T10:10:40
2023-11-14T18:30:45
null
NONE
null
### Feature request It seems that right now there is no way to pass the filter dynamically on the call of the ConversationalRetrievalChain, the filter can only be specified in the retriever when it's created and used for all the searches. ``` qa = ConversationalRetrievalChainPassArgs.from_llm( OpenAI(..), VectorStoreRetriever(vectorstore=db, search_kwargs={"filter": {"source": "my.pdf"}})) ``` I had to extend in my code both ConversationalRetrievalChain and VectorStoreRetriever just to pass the filter to the vectore store like this: ``` qa = ConversationalRetrievalChainPassArgs.from_llm( OpenAI(...), VectorStoreRetrieverWithFiltering(vectorstore=db), ) result = qa({"question": query, "chat_history": [], "filter": {"source": "my.pdf"}}}) ``` Is it really the case or am I missing something? And if it the case, shouldn't it be fixed? (I could provide a pull request) ### Motivation To be able to filter dynamically in ConversationalRetrievalChain since vector stores allow this. ### Your contribution I can provide a PR if my understanding is confirmed.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9195/reactions", "total_count": 5, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/langchain-ai/langchain/issues/9195/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9194
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9194/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9194/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9194/events
https://github.com/langchain-ai/langchain/issues/9194
1,849,408,199
I_kwDOIPDwls5uO7rH
9,194
Incomplete responses for basic example when used HF with llama and Falcon LLMS
{ "login": "sai-guidizy", "id": 139336853, "node_id": "U_kgDOCE4clQ", "avatar_url": "https://avatars.githubusercontent.com/u/139336853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sai-guidizy", "html_url": "https://github.com/sai-guidizy", "followers_url": "https://api.github.com/users/sai-guidizy/followers", "following_url": "https://api.github.com/users/sai-guidizy/following{/other_user}", "gists_url": "https://api.github.com/users/sai-guidizy/gists{/gist_id}", "starred_url": "https://api.github.com/users/sai-guidizy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sai-guidizy/subscriptions", "organizations_url": "https://api.github.com/users/sai-guidizy/orgs", "repos_url": "https://api.github.com/users/sai-guidizy/repos", "events_url": "https://api.github.com/users/sai-guidizy/events{/privacy}", "received_events_url": "https://api.github.com/users/sai-guidizy/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5680700848, "node_id": "LA_kwDOIPDwls8AAAABUpidsA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question", "name": "auto:question", "color": "BFD4F2", "default": false, "description": "A specific question about the codebase, product, project, or how to use a feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-14T09:40:20
2023-11-20T16:05:02
2023-11-20T16:05:01
NONE
null
### Issue you'd like to raise. I am just testing a very basic code as follows using LangChain ``` from langchain import HuggingFaceHub from langchain import PromptTemplate, LLMChain import asyncio question = "Who won the FIFA World Cup in the year 1994? " template = """Question: {question} Answer: Let's think step by step.""" prompt = PromptTemplate(template=template, input_variables=["question"]) llm: HuggingFaceHub = HuggingFaceHub( #repo_id="tiiuae/falcon-7b", repo_id="meta-llama/Llama-2-7b-hf", huggingfacehub_api_token="MY-TOKEN", model_kwargs={ "temperature": 0.5, "max_length": 64 } ) llm_chain = LLMChain(prompt=prompt, llm=llm) async def run_chain(): result = await llm_chain.arun(question) print('restult with load_qua_chain is....', result) asyncio.run(run_chain()) ``` Output when tested with "meta-llama/Llama--2-7b-hf" is ... ``` We have to find the winner of the FIFA World Cup in the year 199 ``` Output when tested with "tiiue/falcon-7b" is... `restult with load_qua_chain is.... We know that 1994 is a leap year, and the previous year was 1993.` But the expected answer is not what i am getting and it looks like Either the response is NOT fully getting retrieved from LLM or i am doing some thing wrong. I followed the same code as shown in the landchain documentation at [https://python.langchain.com/docs/integrations/llms/huggingface_hub](url), only thing is i used HF with my API key instead of Open AI. Can i request any help / suggestion if i have to make any changes pls ### Expected behavior: To get the full response as mentioned in the Lang chain documentation for these examples
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9194/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9194/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9192
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9192/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9192/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9192/events
https://github.com/langchain-ai/langchain/pull/9192
1,849,313,933
PR_kwDOIPDwls5X25u6
9,192
fix logging to logger
{ "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": 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-14T08:45:46
2023-08-14T15:21:10
2023-08-14T15:21:10
CONTRIBUTOR
null
# What - fix logging to logger <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: fix logging to logger - Issue: None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: @MLOpsj Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9192/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9192", "html_url": "https://github.com/langchain-ai/langchain/pull/9192", "diff_url": "https://github.com/langchain-ai/langchain/pull/9192.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9192.patch", "merged_at": "2023-08-14T15:21:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/9191
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9191/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9191/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9191/events
https://github.com/langchain-ai/langchain/pull/9191
1,849,284,422
PR_kwDOIPDwls5X2zX1
9,191
Azure Cognitive Search - update sdk b8, mod user agent, search with scores
{ "login": "ruoccofabrizio", "id": 22171838, "node_id": "MDQ6VXNlcjIyMTcxODM4", "avatar_url": "https://avatars.githubusercontent.com/u/22171838?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ruoccofabrizio", "html_url": "https://github.com/ruoccofabrizio", "followers_url": "https://api.github.com/users/ruoccofabrizio/followers", "following_url": "https://api.github.com/users/ruoccofabrizio/following{/other_user}", "gists_url": "https://api.github.com/users/ruoccofabrizio/gists{/gist_id}", "starred_url": "https://api.github.com/users/ruoccofabrizio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ruoccofabrizio/subscriptions", "organizations_url": "https://api.github.com/users/ruoccofabrizio/orgs", "repos_url": "https://api.github.com/users/ruoccofabrizio/repos", "events_url": "https://api.github.com/users/ruoccofabrizio/events{/privacy}", "received_events_url": "https://api.github.com/users/ruoccofabrizio/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
5
2023-08-14T08:27:06
2023-08-25T09:34:10
2023-08-25T09:34:10
CONTRIBUTOR
null
Description: Update Azure Cognitive Search SDK to version b8 (breaking change) Customizable User Agent. Implemented Similarity search with scores @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9191/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/9191/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9191", "html_url": "https://github.com/langchain-ai/langchain/pull/9191", "diff_url": "https://github.com/langchain-ai/langchain/pull/9191.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9191.patch", "merged_at": "2023-08-25T09:34:10" }
https://api.github.com/repos/langchain-ai/langchain/issues/9190
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9190/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9190/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9190/events
https://github.com/langchain-ai/langchain/pull/9190
1,849,116,742
PR_kwDOIPDwls5X2OG9
9,190
You can filter based on the paths(or other metadata info) of multiple…
{ "login": "Zzz233", "id": 26499743, "node_id": "MDQ6VXNlcjI2NDk5NzQz", "avatar_url": "https://avatars.githubusercontent.com/u/26499743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zzz233", "html_url": "https://github.com/Zzz233", "followers_url": "https://api.github.com/users/Zzz233/followers", "following_url": "https://api.github.com/users/Zzz233/following{/other_user}", "gists_url": "https://api.github.com/users/Zzz233/gists{/gist_id}", "starred_url": "https://api.github.com/users/Zzz233/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zzz233/subscriptions", "organizations_url": "https://api.github.com/users/Zzz233/orgs", "repos_url": "https://api.github.com/users/Zzz233/repos", "events_url": "https://api.github.com/users/Zzz233/events{/privacy}", "received_events_url": "https://api.github.com/users/Zzz233/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" } ]
closed
false
null
[]
null
1
2023-08-14T06:50:13
2023-09-15T06:07:32
2023-09-15T06:07:32
CONTRIBUTOR
null
You can filter based on the paths(or other metadata info) of multiple files. old: "metadata.file_path.keyword": "/some_file.pdf" new: "metadata.file_path.keyword": ["/some_file1.pdf", "/some_file2.pdf"]
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9190/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9190/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9190", "html_url": "https://github.com/langchain-ai/langchain/pull/9190", "diff_url": "https://github.com/langchain-ai/langchain/pull/9190.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9190.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9189
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9189/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9189/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9189/events
https://github.com/langchain-ai/langchain/issues/9189
1,849,110,211
I_kwDOIPDwls5uNy7D
9,189
ConstitutionalChain may violate earlier principals when given more than one
{ "login": "JamesHutchison", "id": 122519877, "node_id": "U_kgDOB02BRQ", "avatar_url": "https://avatars.githubusercontent.com/u/122519877?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JamesHutchison", "html_url": "https://github.com/JamesHutchison", "followers_url": "https://api.github.com/users/JamesHutchison/followers", "following_url": "https://api.github.com/users/JamesHutchison/following{/other_user}", "gists_url": "https://api.github.com/users/JamesHutchison/gists{/gist_id}", "starred_url": "https://api.github.com/users/JamesHutchison/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JamesHutchison/subscriptions", "organizations_url": "https://api.github.com/users/JamesHutchison/orgs", "repos_url": "https://api.github.com/users/JamesHutchison/repos", "events_url": "https://api.github.com/users/JamesHutchison/events{/privacy}", "received_events_url": "https://api.github.com/users/JamesHutchison/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-14T06:45:10
2023-11-20T16:05:06
2023-11-20T16:05:05
NONE
null
### System Info langchain==0.0.263 python 3.11.4 ### Who can help? @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 - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [X] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction ```python from langchain.llms import OpenAI from langchain.prompts import PromptTemplate from langchain.chains.llm import LLMChain evil_assistant_prompt = PromptTemplate( template=""" You are a evil mentor for students with no morals. Give suggestions that are easiest and fastest to achieve the goal. Goal: {inquiry} Easiest way:""", input_variables=["inquiry"], ) llm = OpenAI(model_name="text-davinci-003", temperature=0) evil_assistant_chain = LLMChain(llm=llm, prompt=evil_assistant_prompt) from langchain.chains.constitutional_ai.base import ConstitutionalChain from langchain.chains.constitutional_ai.models import ConstitutionalPrinciple ethical_principle = ConstitutionalPrinciple( name="Ethical Principle", critique_request="The model should only talk about ethical and fair things.", revision_request="Rewrite the model's output to be both ethical and fair.", ) fun_principle = ConstitutionalPrinciple( name="Be Funny", critique_request="The model responses must be funny and understandable for a 7th grader.", revision_request="Rewrite the model's output to be both funny and understandable for 7th graders.", ) constitutional_chain = ConstitutionalChain.from_llm( chain=evil_assistant_chain, constitutional_principles=[ethical_principle, fun_principle], llm=llm, verbose=True, ) result = constitutional_chain.run(inquiry="Getting full mark on my exams.") print(result) ``` This results in a final answer: `The best way to get full marks on your exams is to study hard, attend classes, and bribe the professor or TA if needed.` The second portion originates from the evil portion `Cheat. Find someone who has already taken the exam and get their answers. Alternatively, bribe the professor or TA to give you full marks.` ### Expected behavior I would expect a result that did not involve bribing someone. The underlying issue is that subsequent constitutions could modify the results in a way that violates earlier constitutions defined in the `constitutional_principals` list. This seems to originate from the fact that the earlier principals aren't check again (from what I can tell). I could see the possibility of an infinite loop if the logic was to keep modifying until all principals are satisfied, so I guess this brings into question whether there's value in having chained principals and not just having a single principal that's a concatenation of all your concerns.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9189/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9188
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9188/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9188/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9188/events
https://github.com/langchain-ai/langchain/pull/9188
1,849,031,361
PR_kwDOIPDwls5X17XQ
9,188
Improvements in Nebula LLM
{ "login": "toshish", "id": 986859, "node_id": "MDQ6VXNlcjk4Njg1OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/986859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/toshish", "html_url": "https://github.com/toshish", "followers_url": "https://api.github.com/users/toshish/followers", "following_url": "https://api.github.com/users/toshish/following{/other_user}", "gists_url": "https://api.github.com/users/toshish/gists{/gist_id}", "starred_url": "https://api.github.com/users/toshish/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toshish/subscriptions", "organizations_url": "https://api.github.com/users/toshish/orgs", "repos_url": "https://api.github.com/users/toshish/repos", "events_url": "https://api.github.com/users/toshish/events{/privacy}", "received_events_url": "https://api.github.com/users/toshish/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-14T05:32:12
2023-08-14T18:10:53
2023-08-14T18:10:53
CONTRIBUTOR
null
Added improvements in Nebula LLM to perform auto-retry, more generation parameters supported, and conversation is no longer required to be passed in the LLM object. Examples in docs are updated. Twitter handle: @symbldotai
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9188/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9188/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9188", "html_url": "https://github.com/langchain-ai/langchain/pull/9188", "diff_url": "https://github.com/langchain-ai/langchain/pull/9188.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9188.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9187
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9187/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9187/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9187/events
https://github.com/langchain-ai/langchain/issues/9187
1,849,004,724
I_kwDOIPDwls5uNZK0
9,187
Error Response payload is not complete
{ "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": 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-14T05:02:23
2023-10-13T06:59:21
null
NONE
null
### Issue you'd like to raise. I am using pusher for streaming purpose. I am getting error as "Response payload is not completed" async def pusher__cal(new_payload, token): # print(token) session_id = new_payload["session_id"] session_id_channel = f"{session_id}_channel" user_id = new_payload["user_id"] message_id = new_payload["message_id"] status = "processing" await asyncio.sleep(0) # Allow other async tasks to run pusher_client.trigger(session_id_channel ,'query_answer_stream', { "user_id": user_id, "session_id": session_id, "message_id": message_id, "answer": token, "status": status }, ) class MyCallbackHandler(AsyncCallbackHandler): def init(self,new_payload : Dict): self.new_payload = new_payload self.user_id = new_payload["user_id"] self.session_id = new_payload["session_id"] self.message_id = new_payload["message_id"] self.session_id_channel = f"{self.session_id}_channel" self.status = "streaming" self.list = [] async def on_llm_new_token(self, token, **kwargs) -> None: if token != "": await pusher__cal(self.new_payload,token) ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9187/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9187/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9186
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9186/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9186/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9186/events
https://github.com/langchain-ai/langchain/pull/9186
1,848,955,188
PR_kwDOIPDwls5X1qkn
9,186
Bagatur/zep python 1.0
{ "login": "baskaryan", "id": 22008038, "node_id": "MDQ6VXNlcjIyMDA4MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baskaryan", "html_url": "https://github.com/baskaryan", "followers_url": "https://api.github.com/users/baskaryan/followers", "following_url": "https://api.github.com/users/baskaryan/following{/other_user}", "gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}", "starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions", "organizations_url": "https://api.github.com/users/baskaryan/orgs", "repos_url": "https://api.github.com/users/baskaryan/repos", "events_url": "https://api.github.com/users/baskaryan/events{/privacy}", "received_events_url": "https://api.github.com/users/baskaryan/received_events", "type": "User", "site_admin": false }
[ { "id": 4899126096, "node_id": "LA_kwDOIPDwls8AAAABJAK7UA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory", "name": "area: memory", "color": "BFDADC", "default": false, "description": "Related to memory module" }, { "id": 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-14T04:03:56
2023-08-14T04:52:54
2023-08-14T04:52:53
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9186/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9186/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9186", "html_url": "https://github.com/langchain-ai/langchain/pull/9186", "diff_url": "https://github.com/langchain-ai/langchain/pull/9186.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9186.patch", "merged_at": "2023-08-14T04:52:53" }
https://api.github.com/repos/langchain-ai/langchain/issues/9185
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9185/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9185/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9185/events
https://github.com/langchain-ai/langchain/issues/9185
1,848,951,353
I_kwDOIPDwls5uNMI5
9,185
Issue for Streaming
{ "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": 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-14T03:59:11
2023-08-14T05:01:21
2023-08-14T05:01:21
NONE
null
### Issue you'd like to raise. This is the code I am using for custom callback async def pusher__cal(new_payload, token): print(token) session_id = new_payload["session_id"] session_id_channel = f"{session_id}_channel" user_id = new_payload["user_id"] message_id = new_payload["message_id"] status = "processing" pusher_client.trigger(session_id_channel ,'query_answer_stream', { "user_id": user_id, "session_id": session_id, "message_id": message_id, "answer": token, "status": status }, ) class MyCallbackHandler(AsyncCallbackHandler): def __init__(self,new_payload : Dict): self.new_payload = new_payload self.user_id = new_payload["user_id"] self.session_id = new_payload["session_id"] self.message_id = new_payload["message_id"] self.session_id_channel = f"{self.session_id}_channel" self.status = "streaming" async def on_llm_new_token(self, token, **kwargs) -> None: if token != "" and token != None: await pusher__cal(self.new_payload,token) This is the error Error in MyCallbackHandler.on_llm_new_token callback: HTTPSConnectionPool(host='api-eu.pusher.com', port-443): Read timed out. (read timeout=5) ### Suggestion: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9185/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9185/timeline
null
completed
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9184
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9184/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9184/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9184/events
https://github.com/langchain-ai/langchain/pull/9184
1,848,812,614
PR_kwDOIPDwls5X1LhN
9,184
Adds DeepSparse as an LLM
{ "login": "mgoin", "id": 3195154, "node_id": "MDQ6VXNlcjMxOTUxNTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3195154?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mgoin", "html_url": "https://github.com/mgoin", "followers_url": "https://api.github.com/users/mgoin/followers", "following_url": "https://api.github.com/users/mgoin/following{/other_user}", "gists_url": "https://api.github.com/users/mgoin/gists{/gist_id}", "starred_url": "https://api.github.com/users/mgoin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mgoin/subscriptions", "organizations_url": "https://api.github.com/users/mgoin/orgs", "repos_url": "https://api.github.com/users/mgoin/repos", "events_url": "https://api.github.com/users/mgoin/events{/privacy}", "received_events_url": "https://api.github.com/users/mgoin/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
2
2023-08-14T00:46:24
2023-08-14T05:35:59
2023-08-14T05:35:59
CONTRIBUTOR
null
Adds [DeepSparse](https://github.com/neuralmagic/deepsparse) as an LLM backend. DeepSparse supports running various open-source sparsified models hosted on [SparseZoo](https://sparsezoo.neuralmagic.com/) for performance gains on CPUs. Twitter handles: @mgoin_ @neuralmagic Thanks for your work and let me know if there are any questions! cc: @hwchase17 @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9184/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9184/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9184", "html_url": "https://github.com/langchain-ai/langchain/pull/9184", "diff_url": "https://github.com/langchain-ai/langchain/pull/9184.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9184.patch", "merged_at": "2023-08-14T05:35:58" }
https://api.github.com/repos/langchain-ai/langchain/issues/9183
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9183/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9183/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9183/events
https://github.com/langchain-ai/langchain/pull/9183
1,848,775,300
PR_kwDOIPDwls5X1Duj
9,183
Fixes typing issues in BaseOpenAI
{ "login": "evanmschultz", "id": 3806601, "node_id": "MDQ6VXNlcjM4MDY2MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3806601?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evanmschultz", "html_url": "https://github.com/evanmschultz", "followers_url": "https://api.github.com/users/evanmschultz/followers", "following_url": "https://api.github.com/users/evanmschultz/following{/other_user}", "gists_url": "https://api.github.com/users/evanmschultz/gists{/gist_id}", "starred_url": "https://api.github.com/users/evanmschultz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/evanmschultz/subscriptions", "organizations_url": "https://api.github.com/users/evanmschultz/orgs", "repos_url": "https://api.github.com/users/evanmschultz/repos", "events_url": "https://api.github.com/users/evanmschultz/events{/privacy}", "received_events_url": "https://api.github.com/users/evanmschultz/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-13T23:02:29
2023-08-14T06:03:29
2023-08-14T06:03:28
CONTRIBUTOR
null
## Description: Sets default values for `client` and `model` attributes in the BaseOpenAI class to fix Pylance Typing issue. - Issue: #9182. - Twitter handle: @evanmschultz
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9183/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9183/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9183", "html_url": "https://github.com/langchain-ai/langchain/pull/9183", "diff_url": "https://github.com/langchain-ai/langchain/pull/9183.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9183.patch", "merged_at": "2023-08-14T06:03:28" }
https://api.github.com/repos/langchain-ai/langchain/issues/9182
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9182/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9182/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9182/events
https://github.com/langchain-ai/langchain/issues/9182
1,848,761,648
I_kwDOIPDwls5uMd0w
9,182
Typing Issue: Client and Model defaults are not defined in OpenAI LLM
{ "login": "evanmschultz", "id": 3806601, "node_id": "MDQ6VXNlcjM4MDY2MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3806601?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evanmschultz", "html_url": "https://github.com/evanmschultz", "followers_url": "https://api.github.com/users/evanmschultz/followers", "following_url": "https://api.github.com/users/evanmschultz/following{/other_user}", "gists_url": "https://api.github.com/users/evanmschultz/gists{/gist_id}", "starred_url": "https://api.github.com/users/evanmschultz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/evanmschultz/subscriptions", "organizations_url": "https://api.github.com/users/evanmschultz/orgs", "repos_url": "https://api.github.com/users/evanmschultz/repos", "events_url": "https://api.github.com/users/evanmschultz/events{/privacy}", "received_events_url": "https://api.github.com/users/evanmschultz/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700839, "node_id": "LA_kwDOIPDwls8AAAABUpidpw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug", "name": "auto:bug", "color": "E99695", "default": false, "description": "Related to a bug, vulnerability, unexpected error with an existing feature" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
1
2023-08-13T22:15:59
2023-11-19T16:04:36
2023-11-19T16:04:36
CONTRIBUTOR
null
### System Info ### Pylance displays missing parameter errors for `client` and `model` ![Pylance_Lanchain_OpenAI_Issue](https://github.com/langchain-ai/langchain/assets/3806601/ce2293b4-e6e9-4cd9-ab46-39da35c3109c) Neither `client` or `model` are required in the documenation. ## Suggested fix Update attributes in BaseOpenAI class in langchain/llms/openai.py ```Python # class definition client: Any = None #: :meta private: # set default to None model_name: str = Field(default="text-davinci-003", alias="model") # add default= ``` python: "^3.11" langchain: "^0.0.262" openai: "^0.27.8" pylance: v2023.8.20 ## Related to issue: Typing issue: Undocumented parameter client #9021 ### 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 1. Install Pylance. 1. Use VSCode to run typecheck. ### Expected behavior It should pass Pylance type checking without missing param errors for non-essential args.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9182/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/9182/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9181
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9181/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9181/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9181/events
https://github.com/langchain-ai/langchain/issues/9181
1,848,753,869
I_kwDOIPDwls5uMb7N
9,181
Add support HuggingFace Inference Endpoint for embeddings
{ "login": "axiom-of-choice", "id": 68973931, "node_id": "MDQ6VXNlcjY4OTczOTMx", "avatar_url": "https://avatars.githubusercontent.com/u/68973931?v=4", "gravatar_id": "", "url": "https://api.github.com/users/axiom-of-choice", "html_url": "https://github.com/axiom-of-choice", "followers_url": "https://api.github.com/users/axiom-of-choice/followers", "following_url": "https://api.github.com/users/axiom-of-choice/following{/other_user}", "gists_url": "https://api.github.com/users/axiom-of-choice/gists{/gist_id}", "starred_url": "https://api.github.com/users/axiom-of-choice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/axiom-of-choice/subscriptions", "organizations_url": "https://api.github.com/users/axiom-of-choice/orgs", "repos_url": "https://api.github.com/users/axiom-of-choice/repos", "events_url": "https://api.github.com/users/axiom-of-choice/events{/privacy}", "received_events_url": "https://api.github.com/users/axiom-of-choice/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" } ]
open
false
null
[]
null
6
2023-08-13T21:56:46
2023-12-01T08:27:15
null
NONE
null
### Feature request https://huggingface.co/inference-endpoints ### Motivation We do not have support for HuggingFace Inference endpoints for tasks like embeddings and must be easy to implement inheriting the class from Embeddings base class `InferenceEndpointHuggingFaceEmbeddings(Embeddings):` with only `self.endpoint_name = endpoint_name self.api_token = api_token` ### Your contribution I could submit a PR to this issue since I've created a class for this
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9181/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/9181/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9179
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9179/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9179/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9179/events
https://github.com/langchain-ai/langchain/pull/9179
1,848,739,578
PR_kwDOIPDwls5X08fp
9,179
feat(llms): support vLLM's OpenAI-compatible server
{ "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": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
closed
false
null
[]
null
6
2023-08-13T21:04:58
2023-08-17T17:25:36
2023-08-14T06:03:05
CONTRIBUTOR
null
This PR aims at supporting [vLLM's OpenAI-compatible server feature](https://vllm.readthedocs.io/en/latest/getting_started/quickstart.html#openai-compatible-server), i.e. allowing to call vLLM's LLMs like if they were OpenAI's. I've also udpated the related notebook providing an example usage. At the moment, vLLM only supports the `Completion` API.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9179/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9179/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9179", "html_url": "https://github.com/langchain-ai/langchain/pull/9179", "diff_url": "https://github.com/langchain-ai/langchain/pull/9179.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9179.patch", "merged_at": "2023-08-14T06:03:05" }
https://api.github.com/repos/langchain-ai/langchain/issues/9178
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9178/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9178/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9178/events
https://github.com/langchain-ai/langchain/issues/9178
1,848,701,107
I_kwDOIPDwls5uMPCz
9,178
Documentation Issue - Page Not Found
{ "login": "yilmazbingo", "id": 47233790, "node_id": "MDQ6VXNlcjQ3MjMzNzkw", "avatar_url": "https://avatars.githubusercontent.com/u/47233790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yilmazbingo", "html_url": "https://github.com/yilmazbingo", "followers_url": "https://api.github.com/users/yilmazbingo/followers", "following_url": "https://api.github.com/users/yilmazbingo/following{/other_user}", "gists_url": "https://api.github.com/users/yilmazbingo/gists{/gist_id}", "starred_url": "https://api.github.com/users/yilmazbingo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yilmazbingo/subscriptions", "organizations_url": "https://api.github.com/users/yilmazbingo/orgs", "repos_url": "https://api.github.com/users/yilmazbingo/repos", "events_url": "https://api.github.com/users/yilmazbingo/events{/privacy}", "received_events_url": "https://api.github.com/users/yilmazbingo/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-13T18:56:34
2023-11-19T16:04:41
2023-11-19T16:04:40
NONE
null
### Issue with current documentation: While navigating the documentation, I came across an issue that I wanted to bring to your attention. It seems that `Python Guide` link on this page [https://docs.langchain.com/docs/components/agents/agent](https://docs.langchain.com/docs/components/agents/agent) is returning `Page Not Found` Thank you for your dedication to creating an exceptional project. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9178/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/9178/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9177
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9177/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9177/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9177/events
https://github.com/langchain-ai/langchain/pull/9177
1,848,684,219
PR_kwDOIPDwls5X0xay
9,177
Add async call for LlamaCpp
{ "login": "ninely", "id": 17775640, "node_id": "MDQ6VXNlcjE3Nzc1NjQw", "avatar_url": "https://avatars.githubusercontent.com/u/17775640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ninely", "html_url": "https://github.com/ninely", "followers_url": "https://api.github.com/users/ninely/followers", "following_url": "https://api.github.com/users/ninely/following{/other_user}", "gists_url": "https://api.github.com/users/ninely/gists{/gist_id}", "starred_url": "https://api.github.com/users/ninely/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ninely/subscriptions", "organizations_url": "https://api.github.com/users/ninely/orgs", "repos_url": "https://api.github.com/users/ninely/repos", "events_url": "https://api.github.com/users/ninely/events{/privacy}", "received_events_url": "https://api.github.com/users/ninely/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700873, "node_id": "LA_kwDOIPDwls8AAAABUpidyQ", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement", "name": "auto:improvement", "color": "FBCA04", "default": false, "description": "Medium size change to existing code to handle new use-cases" }, { "id": 5820539098, "node_id": "LA_kwDOIPDwls8AAAABWu5g2g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models", "name": "area: models", "color": "bfdadc", "default": false, "description": "Related to LLMs or chat model modules" } ]
open
false
{ "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 }
[ { "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 } ]
null
7
2023-08-13T18:06:20
2023-12-13T12:21:56
null
CONTRIBUTOR
null
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: a description of the change, - Issue: the issue # it fixes (if applicable), - Dependencies: any dependencies required for this change, - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. --> **Add async call and async stream for LlamaCpp.** This allows it to use async callback handler to return a stream response. @hwchase17, @rlancemartin
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9177/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9177/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9177", "html_url": "https://github.com/langchain-ai/langchain/pull/9177", "diff_url": "https://github.com/langchain-ai/langchain/pull/9177.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9177.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9176
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9176/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9176/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9176/events
https://github.com/langchain-ai/langchain/issues/9176
1,848,682,080
I_kwDOIPDwls5uMKZg
9,176
Langchain stripping out emojis when using Llama2 via llama_cpp
{ "login": "thomasfowler", "id": 2673527, "node_id": "MDQ6VXNlcjI2NzM1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/2673527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasfowler", "html_url": "https://github.com/thomasfowler", "followers_url": "https://api.github.com/users/thomasfowler/followers", "following_url": "https://api.github.com/users/thomasfowler/following{/other_user}", "gists_url": "https://api.github.com/users/thomasfowler/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasfowler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasfowler/subscriptions", "organizations_url": "https://api.github.com/users/thomasfowler/orgs", "repos_url": "https://api.github.com/users/thomasfowler/repos", "events_url": "https://api.github.com/users/thomasfowler/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasfowler/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
4
2023-08-13T17:59:46
2023-11-27T16:07:36
2023-11-27T16:07:35
NONE
null
### System Info Langchain Version: 0.0.263 (latest at time of writing) llama-cpp-python Version: 0.1.77 (latest at time of writing) Python Version: 3.11.4 Platform: Apple M1 Macbook 16GB Llama2 Model: llama-2-7b-chat.ggmlv3.q4_1.bin via [https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML) ### Who can help? @hwchase17 @ago ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I am trying to use the [Llama.cpp](https://python.langchain.com/docs/integrations/llms/llamacpp) integration to use the Llama2 model. I am battling with how the integration handles the output of emojis, which I assume is some kind of Unicode issue. However, I don't see the _exact_ same issue when using [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) directly (although there does seem to be some kind of issue with how llama-cpp handles emojis as well...). Here are the two simple tests for comparison: ### Langchain Llama-Cpp Integration ```python from langchain.llms import LlamaCpp from langchain.callbacks.manager import CallbackManager from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler prompt = """ [INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. <</SYS>> Tell me a story about a cat. Use as many different emojis as possible.[/INST] """ llm = LlamaCpp( model_path="models/llama-2-7b-chat.ggmlv3.q4_1.bin", n_gpu_layers=1, n_batch=512, n_ctx=2048, f16_kv=True, callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]), verbose=True ) llm(prompt=prompt) ``` Provides the output (truncated for the sake of brevity) > Once upon a time, there was a curious cat named Whiskers. She lived in a cozy house with her loving ️ family. One day, while lounging in the sunny ️ garden, she spotted a fascinating fly buzzing by. This output has a complete lack of emojis, but I expect they were supposed output in the locations where there are double spaces, for example, after the words curious, cozy, loving etc (I have other examples below that are not just white space) ### Llama-cpp-python ```python from llama_cpp import Llama prompt = """ [INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. <</SYS>> Tell me a story about a cat. Use as many different emojis as possible.[/INST] """ llm = Llama( model_path="models/llama-2-7b-chat.ggmlv3.q4_1.bin", n_gpu_layers=1, n_ctx=2048, n_batch=512, f16_kv=True, verbose=True ) llm(prompt=prompt) ``` Provides the output (again, truncated for brevity): > 😺🐱💤 Once upon a time, there was a curious 🐱 named Fluffy 😻. She lived in a cozy 🏠 with her loving owner, Lily 🌹 ### Other Output Examples I have a significantly longer and more complex prompt in our application, that I've not included here, but creates some odd output with regards to emojis. Here is using Langchain (exact same code as above, just a different prompt): > Hey Paddy! Great job meeting your run pledge yesterday! Keep up the good work Your consistency is on point ‍♂️ (There is a problem pasting the text directly, so here is a screenshot to see the odd unicode char being output): ![image](https://github.com/langchain-ai/langchain/assets/2673527/d7d0f73f-f9a2-44bf-b203-c5ab5be605b2) Notice the <0x200d> and male symbol, as well as the double spacing, again, where I suspect there were supposed to be emojis output. By comparison, here is the same prompt with the llama-cpp-python library code from above: > 💪 Yo Paddy! 👍 You killed it today, bro! Met your run pledge 🏃\u200d♂️ The same unicode chars are output, so I suspect that issues is coming from the underlying model and or llama-cpp and may well be a red herring in this context. However, all other emojis are somehow being discarded as part of the output. As a final comparison, here is another simple prompt to try: > How can I travel from London to Johannesburg. Use only emojis to explain the trip. Langchains response is simply an empty string: > '️' Llama-cpp has the following response for the same prompt: > 🇬🇧🛫🌏🚂💨🕰️ ### Expected behavior Expected behaviour here is for langchain to not strip out emojis as part of the response from the underlying model. We can see that when using llama-cpp directly we get a (mostly) well formed response but when using the langchain wrapper, we lose said emojis.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9176/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9176/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9175
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9175/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9175/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9175/events
https://github.com/langchain-ai/langchain/issues/9175
1,848,681,012
I_kwDOIPDwls5uMKI0
9,175
Unable to add PromptTemplate/FewShotPromptTemplate to LangChain Agents
{ "login": "gaushh", "id": 52091771, "node_id": "MDQ6VXNlcjUyMDkxNzcx", "avatar_url": "https://avatars.githubusercontent.com/u/52091771?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaushh", "html_url": "https://github.com/gaushh", "followers_url": "https://api.github.com/users/gaushh/followers", "following_url": "https://api.github.com/users/gaushh/following{/other_user}", "gists_url": "https://api.github.com/users/gaushh/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaushh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaushh/subscriptions", "organizations_url": "https://api.github.com/users/gaushh/orgs", "repos_url": "https://api.github.com/users/gaushh/repos", "events_url": "https://api.github.com/users/gaushh/events{/privacy}", "received_events_url": "https://api.github.com/users/gaushh/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-13T17:55:21
2023-12-25T16:09:25
2023-12-25T16:09:24
NONE
null
### System Info Langchain Version - 0.0.261 Python Version - 3.9.6 OS -MacOS ### Who can help? @hwchase17 @ago ### 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 - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Here is how I am initialising the agent `sys_msg = """ The custom system message of the chatbot goes here. """ tools = [CustomTool()] agent = initialize_agent( agent='chat-conversational-react-description', tools=tools, llm=llm, verbose=True, max_iterations=4, early_stopping_method='generate', memory=conversational_memory, handle_parsing_errors=True, ) new_prompt = agent.agent.create_prompt( system_message=sys_msg, tools=tools ) agent.agent.llm_chain.prompt = new_prompt` ### Expected behavior I want to be able to align the output content and format of the chatbot better with my expectations. Right now I just give those instructions using system message. I believe the Final Output can be aligned better using a few shot examples. How can I possibly do that with an Agent?
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9175/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9175/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9174
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9174/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9174/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9174/events
https://github.com/langchain-ai/langchain/pull/9174
1,848,663,612
PR_kwDOIPDwls5X0tWz
9,174
multiple retreival in parralel
{ "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": 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-13T16:53:56
2023-08-13T17:03:55
2023-08-13T17:03:55
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9174/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9174/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9174", "html_url": "https://github.com/langchain-ai/langchain/pull/9174", "diff_url": "https://github.com/langchain-ai/langchain/pull/9174.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9174.patch", "merged_at": "2023-08-13T17:03:55" }
https://api.github.com/repos/langchain-ai/langchain/issues/9173
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9173/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9173/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9173/events
https://github.com/langchain-ai/langchain/pull/9173
1,848,624,824
PR_kwDOIPDwls5X0lqd
9,173
docs: update LlamaCpp input args
{ "login": "emmanuelgautier", "id": 2765366, "node_id": "MDQ6VXNlcjI3NjUzNjY=", "avatar_url": "https://avatars.githubusercontent.com/u/2765366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/emmanuelgautier", "html_url": "https://github.com/emmanuelgautier", "followers_url": "https://api.github.com/users/emmanuelgautier/followers", "following_url": "https://api.github.com/users/emmanuelgautier/following{/other_user}", "gists_url": "https://api.github.com/users/emmanuelgautier/gists{/gist_id}", "starred_url": "https://api.github.com/users/emmanuelgautier/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/emmanuelgautier/subscriptions", "organizations_url": "https://api.github.com/users/emmanuelgautier/orgs", "repos_url": "https://api.github.com/users/emmanuelgautier/repos", "events_url": "https://api.github.com/users/emmanuelgautier/events{/privacy}", "received_events_url": "https://api.github.com/users/emmanuelgautier/received_events", "type": "User", "site_admin": false }
[ { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
2
2023-08-13T14:51:59
2023-08-14T14:42:03
2023-08-14T14:42:03
CONTRIBUTOR
null
This PR only updates the LlamaCpp args documentation. The input arg has been flattened.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9173/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9173/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9173", "html_url": "https://github.com/langchain-ai/langchain/pull/9173", "diff_url": "https://github.com/langchain-ai/langchain/pull/9173.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9173.patch", "merged_at": "2023-08-14T14:42:03" }
https://api.github.com/repos/langchain-ai/langchain/issues/9171
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9171/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9171/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9171/events
https://github.com/langchain-ai/langchain/issues/9171
1,848,543,653
I_kwDOIPDwls5uLoml
9,171
DOC: Documentation is frustratingly bad
{ "login": "jonnyhoff", "id": 8642945, "node_id": "MDQ6VXNlcjg2NDI5NDU=", "avatar_url": "https://avatars.githubusercontent.com/u/8642945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonnyhoff", "html_url": "https://github.com/jonnyhoff", "followers_url": "https://api.github.com/users/jonnyhoff/followers", "following_url": "https://api.github.com/users/jonnyhoff/following{/other_user}", "gists_url": "https://api.github.com/users/jonnyhoff/gists{/gist_id}", "starred_url": "https://api.github.com/users/jonnyhoff/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jonnyhoff/subscriptions", "organizations_url": "https://api.github.com/users/jonnyhoff/orgs", "repos_url": "https://api.github.com/users/jonnyhoff/repos", "events_url": "https://api.github.com/users/jonnyhoff/events{/privacy}", "received_events_url": "https://api.github.com/users/jonnyhoff/received_events", "type": "User", "site_admin": false }
[ { "id": 5541144676, "node_id": "LA_kwDOIPDwls8AAAABSkcoZA", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader", "name": "area: doc loader", "color": "D4C5F9", "default": false, "description": "Related to document loader module (not documentation)" }, { "id": 5680700918, "node_id": "LA_kwDOIPDwls8AAAABUpid9g", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation", "name": "auto:documentation", "color": "C5DEF5", "default": false, "description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder" } ]
closed
false
null
[]
null
1
2023-08-13T11:05:55
2023-11-19T16:04:46
2023-11-19T16:04:45
NONE
null
### Issue with current documentation: Difficult to find information. Information is incomplete in certain sections. ie. AgentExecutor. ### Idea or request for content: _No response_
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9171/reactions", "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9171/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9168
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9168/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9168/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9168/events
https://github.com/langchain-ai/langchain/issues/9168
1,848,417,866
I_kwDOIPDwls5uLJ5K
9,168
Caching (SQLiteCache/InMemoryCache etc.) is not working with ConversationalRetrievalChain
{ "login": "mail2mhossain", "id": 6905164, "node_id": "MDQ6VXNlcjY5MDUxNjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6905164?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mail2mhossain", "html_url": "https://github.com/mail2mhossain", "followers_url": "https://api.github.com/users/mail2mhossain/followers", "following_url": "https://api.github.com/users/mail2mhossain/following{/other_user}", "gists_url": "https://api.github.com/users/mail2mhossain/gists{/gist_id}", "starred_url": "https://api.github.com/users/mail2mhossain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mail2mhossain/subscriptions", "organizations_url": "https://api.github.com/users/mail2mhossain/orgs", "repos_url": "https://api.github.com/users/mail2mhossain/repos", "events_url": "https://api.github.com/users/mail2mhossain/events{/privacy}", "received_events_url": "https://api.github.com/users/mail2mhossain/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": 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
4
2023-08-13T05:18:56
2023-12-08T16:47:58
2023-11-19T16:04:50
NONE
null
### System Info LangChain Version- 0.0.260, platform- Windows, Python Version-3.9.16 ### 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 - [X] Vector Stores / Retrievers - [X] Memory - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I am trying to use SQLiteCache along with ConversationalRetrievalChain, but never getting results from cache, always executing LLMs. My code is as follows: langchain.llm_cache = SQLiteCache(database_path=".langchain.db") langchain.llm_cache = SQLiteCache(database_path=".langchain.db") from langchain.cache import InMemoryCache langchain.llm_cache = InMemoryCache() # Embeddings embeddings = HuggingFaceEmbeddings( model_name=EMBEDDING_MODEL, model_kwargs=model_kwargs, encode_kwargs=encode_kwargs ) # langchain.llm_cache = RedisSemanticCache( # redis_url="redis://localhost:6379", embedding=embeddings # ) dimension = 768 index = faiss.IndexFlatL2(dimension) vectorstore = FAISS( HuggingFaceEmbeddings().embed_query, index, InMemoryDocstore({}), {} ) history_retriever = vectorstore.as_retriever(search_type="mmr", search_kwargs=dict(k=3)) memory = VectorStoreRetrieverMemory( retriever=history_retriever, memory_key="chat_history", return_docs=False, return_messages=True, ) chroma = Chroma( collection_name="test_db", embedding_function=embeddings, persist_directory=persist_directory, ) llm = ChatOpenAI(temperature=0, model=GPT_MODEL) retriever = MultiQueryRetriever.from_llm( retriever=chroma.as_retriever(search_type="mmr", search_kwargs=dict(k=3)), llm=llm ) qa_chain = ConversationalRetrievalChain.from_llm( llm, retriever=retriever, memory=memory, return_source_documents=True, get_chat_history=lambda h: h, ) responses = qa_chain({"question": user_input}) ### Expected behavior Should be return results from cache if the query is same
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9168/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9168/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9167
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9167/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9167/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9167/events
https://github.com/langchain-ai/langchain/issues/9167
1,848,414,387
I_kwDOIPDwls5uLJCz
9,167
Passing SQL error in QuerySQLCheckerTool
{ "login": "mail2mhossain", "id": 6905164, "node_id": "MDQ6VXNlcjY5MDUxNjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6905164?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mail2mhossain", "html_url": "https://github.com/mail2mhossain", "followers_url": "https://api.github.com/users/mail2mhossain/followers", "following_url": "https://api.github.com/users/mail2mhossain/following{/other_user}", "gists_url": "https://api.github.com/users/mail2mhossain/gists{/gist_id}", "starred_url": "https://api.github.com/users/mail2mhossain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mail2mhossain/subscriptions", "organizations_url": "https://api.github.com/users/mail2mhossain/orgs", "repos_url": "https://api.github.com/users/mail2mhossain/repos", "events_url": "https://api.github.com/users/mail2mhossain/events{/privacy}", "received_events_url": "https://api.github.com/users/mail2mhossain/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
5
2023-08-13T05:08:21
2023-11-19T16:04:56
2023-11-19T16:04:55
NONE
null
### Feature request The SQL Database Agent utilizes the SQLDatabaseToolkit. This toolkit encompasses four distinct tools: 1. InfoSQLDatabaseTool 2. ListSQLDatabaseTool 3. QuerySQLCheckerTool 4. QuerySQLDataBaseTool The QuerySQLCheckerTool is designed to identify and rectify errors within SQL code. It employs the QUERY_CHECKER prompt, which is structured as: ``` QUERY_CHECKER = """ {query} Double check the {dialect} query above for common mistakes, including: - Using NOT IN with NULL values - Using UNION when UNION ALL should have been used - Using BETWEEN for exclusive ranges - Data type mismatch in predicates - Properly quoting identifiers - Using the correct number of arguments for functions - Casting to the correct data type - Using the proper columns for joins If there are any of the above mistakes, rewrite the query. If there are no mistakes, just reproduce the original query. Output the final SQL query only. SQL Query: """ ``` To enhance this, an augmented prompt named CUSTOM_QUERY_CHECKER has been crafted, which incorporates SQL errors returned by the SQLDatabase post-query execution. The revised prompt reads: ``` CUSTOM_QUERY_CHECKER = """ Upon executing {query} on the {dialect} database, the following SQL error was encountered, delineated by triple backticks: ``` {sql_error} ``` Furthermore, please scrutinize the {dialect} query for typical mistakes, such as: - Incorporating NOT IN with NULL values - Preferring UNION over UNION ALL - Using BETWEEN for non-overlapping ranges - Witnessing data type inconsistencies in predicates - Ensuring identifiers are aptly quoted - Validating the precise number of function arguments - Guaranteeing the appropriate data type casting - Employing the correct columns during joins - Abstaining from appending a semi-colon at the query's conclusion for {dialect} - Imposing a restriction to yield a maximum of {top_k} results, employing LIMIT, ROWNUM, or TOP as mandated by the database variety. Note that the database type is {dialect}. Kindly modify the SQL query suited for the {dialect} database. Return only the modified SQL query. """ --- With the implementation of this revised prompt, the SQLDatabase can now flawlessly execute the refined SQL without encountering errors. ### Motivation With the implementation of this revised prompt, the SQLDatabase can now flawlessly execute the refined SQL without encountering errors. ### Your contribution revised prompt
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9167/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/9167/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9166
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9166/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9166/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9166/events
https://github.com/langchain-ai/langchain/pull/9166
1,848,344,185
PR_kwDOIPDwls5Xzrvo
9,166
add multi query test; change run_manager optional for unnecessary args
{ "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": 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-13T01:36:20
2023-11-10T22:18:08
2023-11-10T22:18:07
CONTRIBUTOR
null
# What - add multi query test - change run_manager optional for unnecessary args <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: add multi query test; change run_manager optional for unnecessary args - Issue: None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: @MLOpsj Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9166/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9166/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9166", "html_url": "https://github.com/langchain-ai/langchain/pull/9166", "diff_url": "https://github.com/langchain-ai/langchain/pull/9166.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9166.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9165
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9165/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9165/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9165/events
https://github.com/langchain-ai/langchain/issues/9165
1,848,338,018
I_kwDOIPDwls5uK2Zi
9,165
Langchain bug: Responding to out of context questions when using GPT4 with Vector Database where as when the context is passed directly to the Azure OpenAI completion endpoint, we consistently get the correct response
{ "login": "howtodoml", "id": 103862974, "node_id": "U_kgDOBjDSvg", "avatar_url": "https://avatars.githubusercontent.com/u/103862974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/howtodoml", "html_url": "https://github.com/howtodoml", "followers_url": "https://api.github.com/users/howtodoml/followers", "following_url": "https://api.github.com/users/howtodoml/following{/other_user}", "gists_url": "https://api.github.com/users/howtodoml/gists{/gist_id}", "starred_url": "https://api.github.com/users/howtodoml/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/howtodoml/subscriptions", "organizations_url": "https://api.github.com/users/howtodoml/orgs", "repos_url": "https://api.github.com/users/howtodoml/repos", "events_url": "https://api.github.com/users/howtodoml/events{/privacy}", "received_events_url": "https://api.github.com/users/howtodoml/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
7
2023-08-13T01:21:43
2023-11-19T16:05:01
2023-11-19T16:05:00
NONE
null
### System Info LangChain version used: 0.0.261 Python (this has been observed in older versions of LangChain too) This context (context attached) is passed from the search results retrieved from Azure vector search. Question: what are the legal services in Australia? Response: "Some legal services in Australia include:\n\n1. Legal Aid: Provides legal assistance for low-income people, offering legal representation for eligible clients who appear in court without a lawyer, legal aid applications and information over the phone, legal resources, and referrals to other social assistance agencies.\n\n2. Pro Bono Ontario: Offers up to 30 minutes of free legal advice and assistance for those who can't afford a lawyer through their Free Legal Advice Hotline.\n\n3. Law Society of Upper Canada – Lawyer Referral Service: An online referral service that provides names of either a lawyer or licensed paralegal, offering a free consultation of up to 30 minutes.\n\n4. JusticeNet: A not-for-profit service promoting increased access to justice for low- and moderate-income individuals, connecting members of the public with qualified lawyers, mediators, and paralegals who are registered in the program.\n\nPlease note that these resources are specific to Ontario, Canada, and not Australia. The information provided is based on the available documents and may not cover all legal services in Australia." [context.txt](https://github.com/langchain-ai/langchain/files/12328554/context.txt) Code snippet used: vector_store_address: str = https://guidecognitivesearch.search.windows.net/ vector_store_password: str = "xxxxxx" model: str = "poc-embeddings" embeddings: OpenAIEmbeddings = OpenAIEmbeddings(deployment=model, chunk_size=1) index_name: str = "fss-vector-index" vector_store: AzureSearch = AzureSearch( azure_search_endpoint=vector_store_address, azure_search_key=vector_store_password, index_name=index_name, semantic_configuration_name="fss-semantic-config", embedding_function=embeddings.embed_query, ) results = vector_store.semantic_hybrid_search( query=query, k=5 ) custom_QA_prompt = get_prompt_template() llm = get_llm() qa_chain = load_qa_with_sources_chain(llm, chain_type="stuff", prompt=custom_QA_prompt) openai_results = qa_chain({"input_documents":results,"question": query}) return {"results":openai_results['output_text'], "metadata":{}} When the RetrievalQAWithSourcesChain is used combined with load_qa_with_sources_chain – we do see correct response sometimes (say 1 out of 5 time, but this is not consistent every time) qa_chain = load_qa_with_sources_chain(llm, chain_type="stuff", prompt=custom_QA_prompt) chain = RetrievalQAWithSourcesChain(combine_documents_chain=qa_chain, retriever=vector_store.as_retriever(search_kwargs={'search_type':searchType,'k': 5}), return_source_documents = True, reduce_k_below_max_tokens=True, max_tokens_limit=4000) Sometimes the response returned is accurate. For example, below: I am unable to provide information on legal services in Australia based on the provided documents. The documents provided information on legal services in Ontario, Canada. When the LangChain wrapper is not used and the context is passed directly to the Azure OpenAI completion endpoint, we consistently get the correct response, as mentioned below: Sorry, I cannot provide information about legal services in Australia as the provided documents only pertain to legal services in Ontario, Canada. You might need to search other sources to address your question. ### 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 - [ ] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction Code snippet used: vector_store_address: str = https://guidecognitivesearch.search.windows.net/ vector_store_password: str = "xxxxxx" model: str = "poc-embeddings" embeddings: OpenAIEmbeddings = OpenAIEmbeddings(deployment=model, chunk_size=1) index_name: str = "fss-vector-index" vector_store: AzureSearch = AzureSearch( azure_search_endpoint=vector_store_address, azure_search_key=vector_store_password, index_name=index_name, semantic_configuration_name="fss-semantic-config", embedding_function=embeddings.embed_query, ) results = vector_store.semantic_hybrid_search( query=query, k=5 ) custom_QA_prompt = get_prompt_template() llm = get_llm() qa_chain = load_qa_with_sources_chain(llm, chain_type="stuff", prompt=custom_QA_prompt) openai_results = qa_chain({"input_documents":results,"question": query}) return {"results":openai_results['output_text'], "metadata":{}} The issue is observed when searching against location Australia. Australia is not found in any of our ingested documents. If we try Italy or Cancun (which are also not in the context), we get the expected response: Image When the RetrievalQAWithSourcesChain is used combined with load_qa_with_sources_chain – we do see correct response sometimes (say 1 out of 5 time, but this is not consistent every time) qa_chain = load_qa_with_sources_chain(llm, chain_type="stuff", prompt=custom_QA_prompt) chain = RetrievalQAWithSourcesChain(combine_documents_chain=qa_chain, retriever=vector_store.as_retriever(search_kwargs={'search_type':searchType,'k': 5}), return_source_documents = True, reduce_k_below_max_tokens=True, max_tokens_limit=4000) Sometimes the response returned is accurate. For example, below: I am unable to provide information on legal services in Australia based on the provided documents. The documents provided information on legal services in Ontario, Canada. But most of the time, the response is returned citing sources (which is incorrect) "results": "Some legal services in Australia include Legal Aid, Pro Bono services, and community legal clinics. However, the provided documents primarily focus on legal services in Ontario, Canada. These services include the Law Society of Ontario, Justice Ontario, JusticeNet, the Law Society of Upper Canada-Lawyer Referral Service, and Legal Aid Ontario. Please note that these services are specific to Ontario, Canada, and not Australia. For more information on legal services in Australia, I would recommend conducting further research.\n\nSource: 9610820-Requested Resources.docx, 9169833-Requested Resources.docx, 8877484-Requested Resources.docx" ### Expected behavior I am unable to provide information on legal services in Australia based on the provided documents. The documents provided information on legal services in Ontario, Canada.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9165/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/9165/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9164
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9164/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9164/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9164/events
https://github.com/langchain-ai/langchain/pull/9164
1,848,330,576
PR_kwDOIPDwls5XzovQ
9,164
add missing test for tools
{ "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": 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-13T01:01:44
2023-09-21T21:42:06
null
CONTRIBUTOR
null
# What - add missing test for tools <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: add missing test for tools - Issue: None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: @MLopsj Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9164/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9164/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9164", "html_url": "https://github.com/langchain-ai/langchain/pull/9164", "diff_url": "https://github.com/langchain-ai/langchain/pull/9164.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9164.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9163
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9163/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9163/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9163/events
https://github.com/langchain-ai/langchain/pull/9163
1,848,322,378
PR_kwDOIPDwls5Xzm67
9,163
Add dashvector vectorstore
{ "login": "xiaoyuxee", "id": 2851934, "node_id": "MDQ6VXNlcjI4NTE5MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2851934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaoyuxee", "html_url": "https://github.com/xiaoyuxee", "followers_url": "https://api.github.com/users/xiaoyuxee/followers", "following_url": "https://api.github.com/users/xiaoyuxee/following{/other_user}", "gists_url": "https://api.github.com/users/xiaoyuxee/gists{/gist_id}", "starred_url": "https://api.github.com/users/xiaoyuxee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xiaoyuxee/subscriptions", "organizations_url": "https://api.github.com/users/xiaoyuxee/orgs", "repos_url": "https://api.github.com/users/xiaoyuxee/repos", "events_url": "https://api.github.com/users/xiaoyuxee/events{/privacy}", "received_events_url": "https://api.github.com/users/xiaoyuxee/received_events", "type": "User", "site_admin": false }
[ { "id": 5454193895, "node_id": "LA_kwDOIPDwls8AAAABRRhk5w", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm", "name": "lgtm", "color": "0E8A16", "default": false, "description": "" }, { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
5
2023-08-13T00:41:24
2023-10-19T05:50:04
2023-08-15T23:19:30
CONTRIBUTOR
null
## Description Add `Dashvector` vectorstore for langchain - [dashvector quick start](https://help.aliyun.com/document_detail/2510223.html) - [dashvector package description](https://pypi.org/project/dashvector/) ## How to use ```python from langchain.vectorstores.dashvector import DashVector dashvector = DashVector.from_documents(docs, embeddings) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9163/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9163/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9163", "html_url": "https://github.com/langchain-ai/langchain/pull/9163", "diff_url": "https://github.com/langchain-ai/langchain/pull/9163.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9163.patch", "merged_at": "2023-08-15T23:19:30" }
https://api.github.com/repos/langchain-ai/langchain/issues/9162
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9162/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9162/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9162/events
https://github.com/langchain-ai/langchain/pull/9162
1,848,316,533
PR_kwDOIPDwls5XzlrY
9,162
add maximal_marginal_relevance_with_score
{ "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-13T00:24:36
2023-09-21T21:41:43
null
CONTRIBUTOR
null
# What - add maximal_marginal_relevance_with_score as utility <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: add maximal_marginal_relevance_with_score as utility - Issue: None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: @MLopsj Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9162/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9162/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9162", "html_url": "https://github.com/langchain-ai/langchain/pull/9162", "diff_url": "https://github.com/langchain-ai/langchain/pull/9162.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9162.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9161
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9161/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9161/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9161/events
https://github.com/langchain-ai/langchain/pull/9161
1,848,313,792
PR_kwDOIPDwls5XzlFd
9,161
Add dashvector vectorstore
{ "login": "xiaoyuxee", "id": 2851934, "node_id": "MDQ6VXNlcjI4NTE5MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2851934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaoyuxee", "html_url": "https://github.com/xiaoyuxee", "followers_url": "https://api.github.com/users/xiaoyuxee/followers", "following_url": "https://api.github.com/users/xiaoyuxee/following{/other_user}", "gists_url": "https://api.github.com/users/xiaoyuxee/gists{/gist_id}", "starred_url": "https://api.github.com/users/xiaoyuxee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xiaoyuxee/subscriptions", "organizations_url": "https://api.github.com/users/xiaoyuxee/orgs", "repos_url": "https://api.github.com/users/xiaoyuxee/repos", "events_url": "https://api.github.com/users/xiaoyuxee/events{/privacy}", "received_events_url": "https://api.github.com/users/xiaoyuxee/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
1
2023-08-13T00:18:31
2023-08-13T00:32:56
2023-08-13T00:32:56
CONTRIBUTOR
null
## Description Add `Dashvector` vectorstore for langchain - [dashvector quick start](https://help.aliyun.com/document_detail/2510223.html) - [dashvector package description](https://pypi.org/project/dashvector/) ## How to use ```python from langchain.vectorstores.dashvector import DashVector dashvector = DashVector.from_documents(docs, embeddings) ```
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9161/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9161/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9161", "html_url": "https://github.com/langchain-ai/langchain/pull/9161", "diff_url": "https://github.com/langchain-ai/langchain/pull/9161.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9161.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9160
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9160/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9160/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9160/events
https://github.com/langchain-ai/langchain/pull/9160
1,848,306,484
PR_kwDOIPDwls5XzjgC
9,160
add test for sklearn; add mmr with score for sklearn vector store
{ "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-13T00:01:07
2023-09-21T21:41:21
null
CONTRIBUTOR
null
# What - add test for sklearn - add mmr with score for sklearn vector store <!-- Thank you for contributing to LangChain! Replace this entire comment with: - Description: add test for sklearn; add mmr with score for sklearn vector store - Issue: None - Dependencies: None - Tag maintainer: for a quicker response, tag the relevant maintainer (see below), - Twitter handle: @MLOpsj Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. These live is docs/extras directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17, @rlancemartin. -->
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9160/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9160/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9160", "html_url": "https://github.com/langchain-ai/langchain/pull/9160", "diff_url": "https://github.com/langchain-ai/langchain/pull/9160.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9160.patch", "merged_at": null }
https://api.github.com/repos/langchain-ai/langchain/issues/9159
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9159/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9159/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9159/events
https://github.com/langchain-ai/langchain/pull/9159
1,848,255,983
PR_kwDOIPDwls5XzYqx
9,159
zep/new ZepVectorStore
{ "login": "danielchalef", "id": 131175, "node_id": "MDQ6VXNlcjEzMTE3NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/131175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielchalef", "html_url": "https://github.com/danielchalef", "followers_url": "https://api.github.com/users/danielchalef/followers", "following_url": "https://api.github.com/users/danielchalef/following{/other_user}", "gists_url": "https://api.github.com/users/danielchalef/gists{/gist_id}", "starred_url": "https://api.github.com/users/danielchalef/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielchalef/subscriptions", "organizations_url": "https://api.github.com/users/danielchalef/orgs", "repos_url": "https://api.github.com/users/danielchalef/repos", "events_url": "https://api.github.com/users/danielchalef/events{/privacy}", "received_events_url": "https://api.github.com/users/danielchalef/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 5680700863, "node_id": "LA_kwDOIPDwls8AAAABUpidvw", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement", "name": "auto:enhancement", "color": "C2E0C6", "default": false, "description": "A large net-new component, integration, or chain. Use sparingly. The largest features" } ]
closed
false
null
[]
null
2
2023-08-12T21:44:39
2023-08-16T07:23:08
2023-08-16T07:23:07
CONTRIBUTOR
null
- new ZepVectorStore class - ZepVectorStore unit tests - ZepVectorStore demo notebook - update zep-python to ~1.0.2
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9159/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9159/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9159", "html_url": "https://github.com/langchain-ai/langchain/pull/9159", "diff_url": "https://github.com/langchain-ai/langchain/pull/9159.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9159.patch", "merged_at": "2023-08-16T07:23:07" }
https://api.github.com/repos/langchain-ai/langchain/issues/9157
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9157/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9157/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9157/events
https://github.com/langchain-ai/langchain/issues/9157
1,848,207,782
I_kwDOIPDwls5uKWmm
9,157
llamapi
{ "login": "drewskidang", "id": 120294157, "node_id": "U_kgDOByuLDQ", "avatar_url": "https://avatars.githubusercontent.com/u/120294157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drewskidang", "html_url": "https://github.com/drewskidang", "followers_url": "https://api.github.com/users/drewskidang/followers", "following_url": "https://api.github.com/users/drewskidang/following{/other_user}", "gists_url": "https://api.github.com/users/drewskidang/gists{/gist_id}", "starred_url": "https://api.github.com/users/drewskidang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drewskidang/subscriptions", "organizations_url": "https://api.github.com/users/drewskidang/orgs", "repos_url": "https://api.github.com/users/drewskidang/repos", "events_url": "https://api.github.com/users/drewskidang/events{/privacy}", "received_events_url": "https://api.github.com/users/drewskidang/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-12T19:49:08
2023-11-18T16:04:47
2023-11-18T16:04:47
NONE
null
### Feature request I know that Llamapi is in the experimental phase but can is there way to set the model configurations for the llms. ### Motivation I have my own finetune llama that works the api, and would like to use it ### Your contribution N/A
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9157/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9157/timeline
null
not_planned
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9156
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9156/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9156/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9156/events
https://github.com/langchain-ai/langchain/pull/9156
1,848,195,577
PR_kwDOIPDwls5XzL4a
9,156
bump 263
{ "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-12T19:22:00
2023-08-12T19:36:46
2023-08-12T19:36:45
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9156/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9156/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9156", "html_url": "https://github.com/langchain-ai/langchain/pull/9156", "diff_url": "https://github.com/langchain-ai/langchain/pull/9156.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9156.patch", "merged_at": "2023-08-12T19:36:45" }
https://api.github.com/repos/langchain-ai/langchain/issues/9155
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9155/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9155/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9155/events
https://github.com/langchain-ai/langchain/pull/9155
1,848,057,842
PR_kwDOIPDwls5XyuQB
9,155
expose output key 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": 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-12T14:56:02
2023-08-16T00:09:59
2023-08-16T00:01:32
CONTRIBUTOR
null
I quick change to allow the output key of create_openai_fn_chain to optionally be changed. @baskaryan
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9155/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9155/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9155", "html_url": "https://github.com/langchain-ai/langchain/pull/9155", "diff_url": "https://github.com/langchain-ai/langchain/pull/9155.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9155.patch", "merged_at": "2023-08-16T00:01:32" }
https://api.github.com/repos/langchain-ai/langchain/issues/9154
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9154/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9154/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9154/events
https://github.com/langchain-ai/langchain/issues/9154
1,848,016,732
I_kwDOIPDwls5uJn9c
9,154
ConversationalAgent/CHAT_CONVERSATIONAL_REACT_DESCRIPTION dosen't work well with ChatOpenAI 3.5 and Claude models
{ "login": "junruxiong", "id": 44308338, "node_id": "MDQ6VXNlcjQ0MzA4MzM4", "avatar_url": "https://avatars.githubusercontent.com/u/44308338?v=4", "gravatar_id": "", "url": "https://api.github.com/users/junruxiong", "html_url": "https://github.com/junruxiong", "followers_url": "https://api.github.com/users/junruxiong/followers", "following_url": "https://api.github.com/users/junruxiong/following{/other_user}", "gists_url": "https://api.github.com/users/junruxiong/gists{/gist_id}", "starred_url": "https://api.github.com/users/junruxiong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/junruxiong/subscriptions", "organizations_url": "https://api.github.com/users/junruxiong/orgs", "repos_url": "https://api.github.com/users/junruxiong/repos", "events_url": "https://api.github.com/users/junruxiong/events{/privacy}", "received_events_url": "https://api.github.com/users/junruxiong/received_events", "type": "User", "site_admin": false }
[ { "id": 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
6
2023-08-12T13:32:19
2023-10-05T05:38:22
null
NONE
null
### System Info Python 3.10 ### Who can help? @hw ### 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 - [X] Agents / Agent Executors - [ ] Tools / Toolkits - [ ] Chains - [ ] Callbacks/Tracing - [ ] Async ### Reproduction I tried with 3.5 and Claude models, but it rarely generates a reply to the prompt preset (like below) when I use the conversation agent. GPT 4 works fine. ``` Thought: Do I need to use a tool? Yes Action: the action to take, should be one of [{tool_names}] Action Input: the input to the action Observation: the result of the action ``` When you have a response to say to the Human, or if you do not need to use a tool, you MUST use the format: ``` Thought: Do I need to use a tool? No {ai_prefix}: [your response here] ``` This is my code: ![image](https://github.com/langchain-ai/langchain/assets/44308338/e2ddb385-17f5-4cbc-a681-ad5ccfad27df) Errors: > Entering new AgentExecutor chain... Thought: Do I need to use a tool? Yes Action: Search Action Input: Weather in London today Observation: London, England, United Kingdom 10-Day Weather Forecaststar_ratehome ; Temperature. High. 77 ; Rain/Snow Depth. Precipitation. 0 ; Temperature. High. 80 ... Thought:Traceback (most recent call last): File "/Users/joey/Library/CloudStorage/OneDrive-Personal/Code/GPT/agent081123.py", line 254, in <module> print(agent_chain.run(user_input)) File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/chains/base.py", line 475, in run return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[ File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/chains/base.py", line 282, in __call__ raise e File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/chains/base.py", line 276, in __call__ self._call(inputs, run_manager=run_manager) File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/agents/agent.py", line 1036, in _call next_step_output = self._take_next_step( File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/agents/agent.py", line 844, in _take_next_step raise e File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/agents/agent.py", line 833, in _take_next_step output = self.agent.plan( File "/opt/homebrew/anaconda3/envs/XXX/lib/python3.10/site-packages/langchain/agents/agent.py", line 457, in plan return self.output_parser.parse(full_output) File "/Users/joey/Library/CloudStorage/OneDrive-Personal/Code/GPT/agent081123.py", line 225, in parse raise OutputParserException(f"Could not parse LLM output: `{text}`") langchain.schema.output_parser.OutputParserException: Could not parse LLM output: `Do I need to use a tool? No` (XXX) joey@Joey-MBP GPT% ### Expected behavior Should have no parser error and generate the same format response as the prompt.
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9154/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 3 }
https://api.github.com/repos/langchain-ai/langchain/issues/9154/timeline
null
null
null
null
https://api.github.com/repos/langchain-ai/langchain/issues/9153
https://api.github.com/repos/langchain-ai/langchain
https://api.github.com/repos/langchain-ai/langchain/issues/9153/labels{/name}
https://api.github.com/repos/langchain-ai/langchain/issues/9153/comments
https://api.github.com/repos/langchain-ai/langchain/issues/9153/events
https://github.com/langchain-ai/langchain/pull/9153
1,847,987,652
PR_kwDOIPDwls5XyfNH
9,153
Vectara using standard indexing and updating ipynb examples
{ "login": "ofermend", "id": 1823547, "node_id": "MDQ6VXNlcjE4MjM1NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/1823547?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ofermend", "html_url": "https://github.com/ofermend", "followers_url": "https://api.github.com/users/ofermend/followers", "following_url": "https://api.github.com/users/ofermend/following{/other_user}", "gists_url": "https://api.github.com/users/ofermend/gists{/gist_id}", "starred_url": "https://api.github.com/users/ofermend/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ofermend/subscriptions", "organizations_url": "https://api.github.com/users/ofermend/orgs", "repos_url": "https://api.github.com/users/ofermend/repos", "events_url": "https://api.github.com/users/ofermend/events{/privacy}", "received_events_url": "https://api.github.com/users/ofermend/received_events", "type": "User", "site_admin": false }
[ { "id": 5541432778, "node_id": "LA_kwDOIPDwls8AAAABSkuNyg", "url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store", "name": "area: vector store", "color": "D4C5F9", "default": false, "description": "Related to vector store module" }, { "id": 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-12T12:37:47
2023-08-15T23:20:03
2023-08-15T23:20:02
CONTRIBUTOR
null
- Description: moving Vectara ingest to work with standard (vs core) indexing - Issue: some example ipynb didn't work - Tag maintainer: @rlancemartin - Twitter handle: @ofermend
{ "url": "https://api.github.com/repos/langchain-ai/langchain/issues/9153/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/langchain-ai/langchain/issues/9153/timeline
null
null
false
{ "url": "https://api.github.com/repos/langchain-ai/langchain/pulls/9153", "html_url": "https://github.com/langchain-ai/langchain/pull/9153", "diff_url": "https://github.com/langchain-ai/langchain/pull/9153.diff", "patch_url": "https://github.com/langchain-ai/langchain/pull/9153.patch", "merged_at": null }