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/11156
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11156/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11156/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11156/events
|
https://github.com/langchain-ai/langchain/issues/11156
| 1,916,953,343
|
I_kwDOIPDwls5yQmL_
| 11,156
|
Issue: load_agent_executor returning ConfigError
|
{
"login": "LorAutumn",
"id": 61251850,
"node_id": "MDQ6VXNlcjYxMjUxODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/61251850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LorAutumn",
"html_url": "https://github.com/LorAutumn",
"followers_url": "https://api.github.com/users/LorAutumn/followers",
"following_url": "https://api.github.com/users/LorAutumn/following{/other_user}",
"gists_url": "https://api.github.com/users/LorAutumn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LorAutumn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LorAutumn/subscriptions",
"organizations_url": "https://api.github.com/users/LorAutumn/orgs",
"repos_url": "https://api.github.com/users/LorAutumn/repos",
"events_url": "https://api.github.com/users/LorAutumn/events{/privacy}",
"received_events_url": "https://api.github.com/users/LorAutumn/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 5
| 2023-09-28T08:11:27
| 2023-12-30T16:01:48
| null |
NONE
| null |
### Issue you'd like to raise.
I am trying to run a PlanAndExecute agent. The load_agent_executor method call returns:
"pydantic.v1.errors.ConfigError: field "retry_chain" not yet prepared so type is still a ForwardRef, you might need to call OutputFixingParser.update_forward_refs()."
This is my code:
`import os
import dotenv
from langchain.chat_models import ChatOpenAI
from langchain_experimental.plan_and_execute import PlanAndExecute, load_agent_executor, load_chat_planner
from langchain.llms import OpenAI
from langchain.agents.tools import Tool
from langchain.chains.llm_math.base import LLMMathChain
from langchain.tools import DuckDuckGoSearchRun
from langchain.output_parsers import OutputFixingParser
dotenv.load_dotenv()
apikey = os.getenv("OPEN_AI_API_KEY", default="")
search = DuckDuckGoSearchRun()
llm = OpenAI(temperature=0, openai_api_key=apikey)
llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True)
tools = [
Tool(
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events"
),
Tool(
name="Calculator",
func=llm_math_chain.run,
description="useful for when you need to answer questions about math"
),
]
model = ChatOpenAI(temperature=0)
planner = load_chat_planner(model)
executor = load_agent_executor(model, tools, verbose=True)
agent = PlanAndExecute(planner=planner, executor=executor, verbose=True)`
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11156/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/11156/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11155
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11155/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11155/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11155/events
|
https://github.com/langchain-ai/langchain/issues/11155
| 1,916,784,254
|
I_kwDOIPDwls5yP85-
| 11,155
|
Issue: While using Map Reduce Max number of limit exceed even though not exceed.
|
{
"login": "eswarthammana",
"id": 23114153,
"node_id": "MDQ6VXNlcjIzMTE0MTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/23114153?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eswarthammana",
"html_url": "https://github.com/eswarthammana",
"followers_url": "https://api.github.com/users/eswarthammana/followers",
"following_url": "https://api.github.com/users/eswarthammana/following{/other_user}",
"gists_url": "https://api.github.com/users/eswarthammana/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eswarthammana/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eswarthammana/subscriptions",
"organizations_url": "https://api.github.com/users/eswarthammana/orgs",
"repos_url": "https://api.github.com/users/eswarthammana/repos",
"events_url": "https://api.github.com/users/eswarthammana/events{/privacy}",
"received_events_url": "https://api.github.com/users/eswarthammana/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 13
| 2023-09-28T06:11:23
| 2023-10-03T06:13:05
| null |
NONE
| null |
### Issue you'd like to raise.
Python 3.10.7
langchain 0.0.301
I started exploring langchain features such as stuff mode, map reduce mode and refine mode.
i would like to know more about the map reduce and refine modes further.
my understanding is that if the token limit of a document exceeds then the document goes through the spit and passes in the next call.
Using the following code
```
import os
from langchain.document_loaders import WebBaseLoader
from langchain.chat_models import ChatOpenAI
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
from langchain.prompts import PromptTemplate
from langchain.chains import LLMChain, ReduceDocumentsChain, MapReduceDocumentsChain
from langchain.text_splitter import CharacterTextSplitter
os.environ['OPENAI_API_KEY'] = "xxxxx-xxxxxxxxxxxxxxxxxxxxxxxxx"
loader = WebBaseLoader("https://lilianweng.github.io/posts/2023-06-23-agent/")
docs = loader.load()
#Map starts
map_template = """The following is a set of documents
{docs}
Based on this list of docs, please identify the main themes
Helpful Answer:"""
map_prompt = PromptTemplate.from_template(map_template)
llm = ChatOpenAI(temperature=0)
map_chain = LLMChain(llm=llm, prompt=map_prompt)
#Map ends
#Reduce starts
reduce_template = """The following is set of summaries:
{doc_summaries}
Take these and distill it into a final, consolidated summary of the main themes.
Helpful Answer:"""
reduce_prompt = PromptTemplate.from_template(reduce_template)
reduce_chain = LLMChain(llm=llm, prompt=reduce_prompt)
# Takes a list of documents, combines them into a single string, and passes this to an LLMChain
combine_documents_chain = StuffDocumentsChain(
llm_chain=reduce_chain, document_variable_name="doc_summaries"
)
reduce_documents_chain = ReduceDocumentsChain(
combine_documents_chain=combine_documents_chain,
collapse_documents_chain=combine_documents_chain,
token_max=4000,
)
#Reduce ends
#combine Map and Reduce starts
map_reduce_chain = MapReduceDocumentsChain(
llm_chain=map_chain,
reduce_documents_chain=reduce_documents_chain,
document_variable_name="docs",
return_intermediate_steps=False,
)
#combine Map and Reduce ends
text_splitter = CharacterTextSplitter.from_tiktoken_encoder(
chunk_size=1000, chunk_overlap=0
)
split_docs = text_splitter.split_documents(docs)
print(map_reduce_chain.run(split_docs[:8]))
#print(split_docs[:8])
```
as we can see i am cnsidering the first 8 documents of the public dataset, which is having 8,104 Tokens composed of 34312 Characters
As per the 4000 tokens limit the dataset shall break in to three parts and process the operation, but i am facing with the issue
> Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-gpt-3.5-turbo in organization org-xxxxxxxxxxxxxxxxx on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method..
could you please help me to under stand further how map reduce or refine actual workings.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11155/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11154
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11154/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11154/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11154/events
|
https://github.com/langchain-ai/langchain/pull/11154
| 1,916,761,264
|
PR_kwDOIPDwls5bZ1Tj
| 11,154
|
Fixed Typo Error in Update get_started.mdx file by addressing a minor typographical error.
|
{
"login": "ShorthillsAI",
"id": 141953346,
"node_id": "U_kgDOCHYJQg",
"avatar_url": "https://avatars.githubusercontent.com/u/141953346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShorthillsAI",
"html_url": "https://github.com/ShorthillsAI",
"followers_url": "https://api.github.com/users/ShorthillsAI/followers",
"following_url": "https://api.github.com/users/ShorthillsAI/following{/other_user}",
"gists_url": "https://api.github.com/users/ShorthillsAI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ShorthillsAI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShorthillsAI/subscriptions",
"organizations_url": "https://api.github.com/users/ShorthillsAI/orgs",
"repos_url": "https://api.github.com/users/ShorthillsAI/repos",
"events_url": "https://api.github.com/users/ShorthillsAI/events{/privacy}",
"received_events_url": "https://api.github.com/users/ShorthillsAI/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T05:45:36
| 2023-09-28T13:54:45
| 2023-09-28T13:54:45
|
CONTRIBUTOR
| null |
Fixed Typo Error in Update get_started.mdx file by addressing a minor typographical error.
This improvement enhances the readability and correctness of the notebook, making it easier for users to understand and follow the demonstration. The commit aims to maintain the quality and accuracy of the content within the repository.
please review the change at your convenience.
@baskaryan , @hwaking
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11154/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11154",
"html_url": "https://github.com/langchain-ai/langchain/pull/11154",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11154.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11154.patch",
"merged_at": "2023-09-28T13:54:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11153
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11153/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11153/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11153/events
|
https://github.com/langchain-ai/langchain/issues/11153
| 1,916,701,031
|
I_kwDOIPDwls5yPoln
| 11,153
|
Issue: Using Milvus partitions with ConversationalRetrievalChain
|
{
"login": "Quicksilver466",
"id": 40929815,
"node_id": "MDQ6VXNlcjQwOTI5ODE1",
"avatar_url": "https://avatars.githubusercontent.com/u/40929815?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Quicksilver466",
"html_url": "https://github.com/Quicksilver466",
"followers_url": "https://api.github.com/users/Quicksilver466/followers",
"following_url": "https://api.github.com/users/Quicksilver466/following{/other_user}",
"gists_url": "https://api.github.com/users/Quicksilver466/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Quicksilver466/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Quicksilver466/subscriptions",
"organizations_url": "https://api.github.com/users/Quicksilver466/orgs",
"repos_url": "https://api.github.com/users/Quicksilver466/repos",
"events_url": "https://api.github.com/users/Quicksilver466/events{/privacy}",
"received_events_url": "https://api.github.com/users/Quicksilver466/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-09-28T04:59:34
| 2023-09-28T09:13:26
| 2023-09-28T09:13:26
|
NONE
| null |
### Issue you'd like to raise.
I am using langchain version 0.0.281 and using Milvus as the vector store. For now, I have a Milvus-lite instance on my device. I tried using paritions with base vectorstore operations like `add_documents` and `similarity_search` and its working fine i.e it inserts and searches from the mentioned partition only. But when I try to use partitions with ConversationalRetrievalChain and even RetrievalQA it doesn't work i.e it retrieves documents through all partitions. When using `from_llm` classmethod I tried giving the partition names like below:
`QA = ConversationalRetrievalChain.from_llm(
llm=LLM,
retriever=VECTOR_DB.vec_db.as_retriever(partition_names=partition_names),
memory=MEMORY,
return_source_documents=True
)`
But this doesn't ensure that the vector store will only search the mentioned partitions, rather the vectorestore searches through all the documents present regardless of partition. Is there anyway I can limit the retrieval of documents to only those present in mentioned partition.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11153/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11152
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11152/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11152/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11152/events
|
https://github.com/langchain-ai/langchain/issues/11152
| 1,916,677,818
|
I_kwDOIPDwls5yPi66
| 11,152
|
P
|
{
"login": "qingyuan18",
"id": 35717759,
"node_id": "MDQ6VXNlcjM1NzE3NzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/35717759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qingyuan18",
"html_url": "https://github.com/qingyuan18",
"followers_url": "https://api.github.com/users/qingyuan18/followers",
"following_url": "https://api.github.com/users/qingyuan18/following{/other_user}",
"gists_url": "https://api.github.com/users/qingyuan18/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qingyuan18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qingyuan18/subscriptions",
"organizations_url": "https://api.github.com/users/qingyuan18/orgs",
"repos_url": "https://api.github.com/users/qingyuan18/repos",
"events_url": "https://api.github.com/users/qingyuan18/events{/privacy}",
"received_events_url": "https://api.github.com/users/qingyuan18/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-28T04:26:55
| 2023-10-03T03:43:44
| null |
NONE
| null |
### System Info
when using PlanAndExecutor with guidance prompt of using tools, it does remember previously steps, which will make the pipeline fail as it doesn't know what's previously steps' ouput...
<img width="822" alt="image" src="https://github.com/langchain-ai/langchain/assets/35717759/726a42c3-e4c9-4acf-9808-66645eee090c">
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1: define guidence tools prompt:
combo_template = """
First understand the problem and devise a plan to solve the problem.
Please output the plan starting with the header 'Plan:' and then followed by a numbered list of steps. Do not use past conversation history when you are planning the steps.
Please make the plan the minimum number of steps required to accurately complete the task.
These are guidance on when to use a tool to solve a task, follow them strictly:
first use "reverse index search" tool to get table name
if previously step not find anyting,then use "embedding knn search" tool to get table name
if previously step still can't find the answer, say "I can't find the answer for this question."
otherwise use "db Querying Tool" tool to search table info using table name which previously step return
DO NOT CREATE STEPS THAT ARE NOT NEEDED TO SOLVE A TASK.
Once you have answers for the question, stop and provide the final answers. The final answers should be a combination of the answers to all the questions, not just the last one.
Please make sure you have a plan to answer all the questions in the input, not just the last one.
Please use these to construct an answer to the question , as though you were answering the question directly. Ensure that your answer is accurate and doesn’t contain any information not directly supported by the summary and quotes.
If there are no data or information in this document that seem relevant to this question, please just say "I can’t find any relevant quotes".
"""
2: load chat planner with llm(llama2 13b):
planner = load_chat_planner(sm_llm)
system_message_prompt = SystemMessagePromptTemplate.from_template(combo_template)
human_message_prompt = planner.llm_chain.prompt.messages[1]
planner.llm_chain.prompt = ChatPromptTemplate.from_messages([system_message_prompt, human_message_prompt])
executor = load_agent_executor(sm_llm, custom_tool_list, verbose=False)
agent = PlanAndExecute(planner=planner, executor=executor, verbose=False, max_iterations=1)
3: run agent
output = agent({"input":"最近一个月温度合格的派车单数量"})
### Expected behavior
base on each steps to get into next step with previously steps' output
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11152/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/11152/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11151
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11151/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11151/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11151/events
|
https://github.com/langchain-ai/langchain/pull/11151
| 1,916,657,137
|
PR_kwDOIPDwls5bZeOq
| 11,151
|
add to load init
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T03:57:34
| 2023-09-28T13:34:49
| 2023-09-28T13:34:48
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11151/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11151",
"html_url": "https://github.com/langchain-ai/langchain/pull/11151",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11151.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11151.patch",
"merged_at": "2023-09-28T13:34:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11150
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11150/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11150/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11150/events
|
https://github.com/langchain-ai/langchain/issues/11150
| 1,916,646,925
|
I_kwDOIPDwls5yPbYN
| 11,150
|
DOC: Custom Prompt example code does not work. Requires pydantic V2
|
{
"login": "cmeidell",
"id": 5409552,
"node_id": "MDQ6VXNlcjU0MDk1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5409552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cmeidell",
"html_url": "https://github.com/cmeidell",
"followers_url": "https://api.github.com/users/cmeidell/followers",
"following_url": "https://api.github.com/users/cmeidell/following{/other_user}",
"gists_url": "https://api.github.com/users/cmeidell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cmeidell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cmeidell/subscriptions",
"organizations_url": "https://api.github.com/users/cmeidell/orgs",
"repos_url": "https://api.github.com/users/cmeidell/repos",
"events_url": "https://api.github.com/users/cmeidell/events{/privacy}",
"received_events_url": "https://api.github.com/users/cmeidell/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-28T03:40:36
| 2023-12-28T16:01:00
| null |
NONE
| null |
### Issue with current documentation:
[This link ](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/custom_prompt_template.html)references a code sample for a Custom Prompt (awesome stuff!)
Pydantic updated their library and the code sample or library dependencies do not work anymore. They have a process to help migrate code
Details here: https://docs.pydantic.dev/latest/migration/
Please update the code samples so that they work with the new version of the Pydantic library so that it works for any Langchain users.
### Idea or request for content:
Updated code samples only
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11150/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11149
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11149/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11149/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11149/events
|
https://github.com/langchain-ai/langchain/issues/11149
| 1,916,644,707
|
I_kwDOIPDwls5yPa1j
| 11,149
|
converstaionRetrievalQA with different prompt
|
{
"login": "easontsai",
"id": 19547472,
"node_id": "MDQ6VXNlcjE5NTQ3NDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/19547472?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/easontsai",
"html_url": "https://github.com/easontsai",
"followers_url": "https://api.github.com/users/easontsai/followers",
"following_url": "https://api.github.com/users/easontsai/following{/other_user}",
"gists_url": "https://api.github.com/users/easontsai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/easontsai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/easontsai/subscriptions",
"organizations_url": "https://api.github.com/users/easontsai/orgs",
"repos_url": "https://api.github.com/users/easontsai/repos",
"events_url": "https://api.github.com/users/easontsai/events{/privacy}",
"received_events_url": "https://api.github.com/users/easontsai/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"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 | 2
| 2023-09-28T03:37:06
| 2023-10-25T01:58:00
| null |
NONE
| null |
hi team,
Can I feed different QA prompt into conversationRetrievalQA?
I know to set the specific prompt according to knowledge vector store searched.
For example, If document A be searched I would set the prompt-A for it, document B for prompt-B.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11149/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11148
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11148/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11148/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11148/events
|
https://github.com/langchain-ai/langchain/pull/11148
| 1,916,644,330
|
PR_kwDOIPDwls5bZbfr
| 11,148
|
milvus collections
|
{
"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
| null |
[] | null | 2
| 2023-09-28T03:36:28
| 2023-09-28T13:47:58
| 2023-09-28T13:47:58
|
CONTRIBUTOR
| null |
Description: There was no information about Milvus collections in the documentation, so I am adding that.
Maintainer: @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11148/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11148",
"html_url": "https://github.com/langchain-ai/langchain/pull/11148",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11148.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11148.patch",
"merged_at": "2023-09-28T13:47:58"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11147
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11147/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11147/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11147/events
|
https://github.com/langchain-ai/langchain/pull/11147
| 1,916,598,273
|
PR_kwDOIPDwls5bZR22
| 11,147
|
bump 304
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T02:21:03
| 2023-09-29T15:39:55
| 2023-09-28T02:24:10
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11147/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11147",
"html_url": "https://github.com/langchain-ai/langchain/pull/11147",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11147.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11147.patch",
"merged_at": "2023-09-28T02:24:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11146
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11146/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11146/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11146/events
|
https://github.com/langchain-ai/langchain/pull/11146
| 1,916,591,652
|
PR_kwDOIPDwls5bZQeN
| 11,146
|
update docs nav
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T02:09:54
| 2023-09-28T19:44:53
| 2023-09-28T19:44:52
|
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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11146/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11146",
"html_url": "https://github.com/langchain-ai/langchain/pull/11146",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11146.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11146.patch",
"merged_at": "2023-09-28T19:44:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11145
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11145/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11145/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11145/events
|
https://github.com/langchain-ai/langchain/pull/11145
| 1,916,583,237
|
PR_kwDOIPDwls5bZOvy
| 11,145
|
Xata chat memory FIX
|
{
"login": "linancn",
"id": 31125281,
"node_id": "MDQ6VXNlcjMxMTI1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/31125281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linancn",
"html_url": "https://github.com/linancn",
"followers_url": "https://api.github.com/users/linancn/followers",
"following_url": "https://api.github.com/users/linancn/following{/other_user}",
"gists_url": "https://api.github.com/users/linancn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/linancn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/linancn/subscriptions",
"organizations_url": "https://api.github.com/users/linancn/orgs",
"repos_url": "https://api.github.com/users/linancn/repos",
"events_url": "https://api.github.com/users/linancn/events{/privacy}",
"received_events_url": "https://api.github.com/users/linancn/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": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 1
| 2023-09-28T01:56:05
| 2023-09-28T13:52:15
| 2023-09-28T13:52:15
|
CONTRIBUTOR
| null |
- **Description:** Changed data type from `text` to `json` in xata for improved performance. Also corrected the `additionalKwargs` key in the `messages()` function to `additional_kwargs` to adhere to `BaseMessage` requirements.
- **Issue:** The Chathisroty.messages() will return {} of `additional_kwargs`, as the name is wrong for `additionalKwargs` .
- **Dependencies:** N/A
- **Tag maintainer:** N/A
- **Twitter handle:** N/A
My PR is passing linting and testing before submitting.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11145/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11145",
"html_url": "https://github.com/langchain-ai/langchain/pull/11145",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11145.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11145.patch",
"merged_at": "2023-09-28T13:52:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11144
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11144/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11144/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11144/events
|
https://github.com/langchain-ai/langchain/issues/11144
| 1,916,540,669
|
I_kwDOIPDwls5yPBb9
| 11,144
|
ChromaDB retrieves irrelevant context
|
{
"login": "randomshinichi",
"id": 9956122,
"node_id": "MDQ6VXNlcjk5NTYxMjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9956122?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randomshinichi",
"html_url": "https://github.com/randomshinichi",
"followers_url": "https://api.github.com/users/randomshinichi/followers",
"following_url": "https://api.github.com/users/randomshinichi/following{/other_user}",
"gists_url": "https://api.github.com/users/randomshinichi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randomshinichi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randomshinichi/subscriptions",
"organizations_url": "https://api.github.com/users/randomshinichi/orgs",
"repos_url": "https://api.github.com/users/randomshinichi/repos",
"events_url": "https://api.github.com/users/randomshinichi/events{/privacy}",
"received_events_url": "https://api.github.com/users/randomshinichi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T00:45:52
| 2023-12-31T14:21:31
| 2023-12-31T14:21:24
|
NONE
| null |
### Issue you'd like to raise.
I followed the tutorial at [Code Understanding](https://python.langchain.com/docs/use_cases/code_understanding), loaded a small directory of test files into the db, and asked the question:
`Ask a question: what ways would you simplify e2e_btc_mint_2auto.test.js?`
The retriever, which was setup as follows, actually gave every file in the directory except `e2e_btc_mint_2auto.test.js` to ChatGPT! Why is ChromaDB so _bad_?
```
# Load
loader = GenericLoader.from_filesystem(
repo_path,
glob="**/*",
suffixes=[".js"],
parser=LanguageParser(language=Language.JS, parser_threshold=500) # Currently, the supported languages for code parsing are Python and JavaScript.
# Source https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.parsers.language.language_parser.LanguageParser.html
)
documents = loader.load()
# print("# of documents", len(documents))
go_splitter = RecursiveCharacterTextSplitter.from_language(language=Language.JS,
chunk_size=2000,
chunk_overlap=200)
texts = go_splitter.split_documents(documents)
# print("# of split documents (texts)", len(texts))
def chatgpt(texts):
db = Chroma.from_documents(texts, OpenAIEmbeddings(disallowed_special=()))
retriever = db.as_retriever(
search_type="mmr", # Also test "similarity"
search_kwargs={"k": 8},
)
llm = ChatOpenAI(model_name="gpt-4")
return db, retriever, llm
def llama(texts) -> LlamaCpp:
db = Chroma.from_documents(texts, LlamaCppEmbeddings(model_path=model_path))
retriever = db.as_retriever(
search_type="mmr", # Also test "similarity"
search_kwargs={"k": 8},
)
llm = LlamaCpp(
model_path=model_path,
n_gpu_layers=0,
n_batch=512,
n_ctx=2048,
f16_kv=True,
callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),
verbose=False)
return db, retriever, llm
if args.llama:
db, retriever, llm = llama(texts)
else:
db, retriever, llm = chatgpt(texts)
memory = ConversationSummaryMemory(llm=llm,memory_key="chat_history",return_messages=True)
qa = ConversationalRetrievalChain.from_llm(llm, retriever=retriever, memory=memory)
print("going to ask some questions now")
while True:
question = input("Ask a question: ")
if not question:
break
documents = retriever.get_relevant_documents(question)
pp(documents)
result = qa(question)
print(f"-> **Question**: {question} \n")
print(f"**Answer**: {result['answer']} \n")
```
Output
```
[Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_btc_mint_1basic.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_btc_transfer.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/archive/e2e_followup_auto.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_slashing.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_evm.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_recharge.test.js'}),
Document(page_content="...", metadata={'language': 'js', 'source': '/home/shinichi/source/go/src/github.com/dove-foundation/dove/test/src/e2e_reshare.test.js'})]
```
### Suggestion:
The very least ChromaDB could do is search the metadata.source for string matches.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11144/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11143
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11143/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11143/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11143/events
|
https://github.com/langchain-ai/langchain/pull/11143
| 1,916,535,815
|
PR_kwDOIPDwls5bZE6X
| 11,143
|
Revert "improve the performance of base.py"
|
{
"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": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-28T00:37:22
| 2023-09-28T00:37:30
| 2023-09-28T00:37:29
|
COLLABORATOR
| null |
Reverts langchain-ai/langchain#8610
this is actually an oversight - this merges all dfs into one df. we DO NOT want to do this - the idea is we work and manipulate multiple dfs
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11143/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/11143/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11143",
"html_url": "https://github.com/langchain-ai/langchain/pull/11143",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11143.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11143.patch",
"merged_at": "2023-09-28T00:37:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11142
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11142/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11142/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11142/events
|
https://github.com/langchain-ai/langchain/pull/11142
| 1,916,524,080
|
PR_kwDOIPDwls5bZCZ2
| 11,142
|
only allow single prompt or message batch for Tracer
|
{
"login": "agola11",
"id": 9536492,
"node_id": "MDQ6VXNlcjk1MzY0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agola11",
"html_url": "https://github.com/agola11",
"followers_url": "https://api.github.com/users/agola11/followers",
"following_url": "https://api.github.com/users/agola11/following{/other_user}",
"gists_url": "https://api.github.com/users/agola11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agola11/subscriptions",
"organizations_url": "https://api.github.com/users/agola11/orgs",
"repos_url": "https://api.github.com/users/agola11/repos",
"events_url": "https://api.github.com/users/agola11/events{/privacy}",
"received_events_url": "https://api.github.com/users/agola11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-28T00:20:51
| 2023-10-03T21:08:10
| null |
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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11142/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11142",
"html_url": "https://github.com/langchain-ai/langchain/pull/11142",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11142.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11142.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11141
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11141/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11141/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11141/events
|
https://github.com/langchain-ai/langchain/pull/11141
| 1,916,512,598
|
PR_kwDOIPDwls5bY_9x
| 11,141
|
add default async
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-28T00:05:07
| 2023-10-04T15:49:36
| 2023-10-04T15:40:35
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11141/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11141",
"html_url": "https://github.com/langchain-ai/langchain/pull/11141",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11141.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11141.patch",
"merged_at": "2023-10-04T15:40:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11140
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11140/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11140/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11140/events
|
https://github.com/langchain-ai/langchain/pull/11140
| 1,916,458,460
|
PR_kwDOIPDwls5bY0AJ
| 11,140
|
Async support for OpenAIFunctionsAgentOutputParser
|
{
"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": 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-09-27T23:05:01
| 2023-09-28T13:43:00
| 2023-09-28T13:42:59
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11140/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11140",
"html_url": "https://github.com/langchain-ai/langchain/pull/11140",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11140.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11140.patch",
"merged_at": "2023-09-28T13:42:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11139
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11139/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11139/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11139/events
|
https://github.com/langchain-ai/langchain/pull/11139
| 1,916,445,181
|
PR_kwDOIPDwls5bYxFj
| 11,139
|
Add support for MongoDB Atlas $vectorSearch vector search
|
{
"login": "NoahStapp",
"id": 30483654,
"node_id": "MDQ6VXNlcjMwNDgzNjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/30483654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoahStapp",
"html_url": "https://github.com/NoahStapp",
"followers_url": "https://api.github.com/users/NoahStapp/followers",
"following_url": "https://api.github.com/users/NoahStapp/following{/other_user}",
"gists_url": "https://api.github.com/users/NoahStapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NoahStapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NoahStapp/subscriptions",
"organizations_url": "https://api.github.com/users/NoahStapp/orgs",
"repos_url": "https://api.github.com/users/NoahStapp/repos",
"events_url": "https://api.github.com/users/NoahStapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/NoahStapp/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-09-27T22:50:17
| 2023-09-29T18:35:50
| 2023-09-28T22:01:03
|
CONTRIBUTOR
| null |
Adds support for the `$vectorSearch` operator for MongoDBAtlasVectorSearch, which was announced at .Local London (September 26th, 2023). This change maintains breaks compatibility support for the existing `$search` operator used by the original integration (https://github.com/langchain-ai/langchain/pull/5338) due to incompatibilities in the Atlas search implementations.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11139/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11139",
"html_url": "https://github.com/langchain-ai/langchain/pull/11139",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11139.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11139.patch",
"merged_at": "2023-09-28T22:01:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11138
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11138/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11138/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11138/events
|
https://github.com/langchain-ai/langchain/pull/11138
| 1,916,421,771
|
PR_kwDOIPDwls5bYr9R
| 11,138
|
Bagatur/dedup transformer
|
{
"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": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T22:24:24
| 2024-01-13T01:46:56
| 2024-01-13T01:46:56
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11138/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11138",
"html_url": "https://github.com/langchain-ai/langchain/pull/11138",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11138.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11138.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11137
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11137/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11137/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11137/events
|
https://github.com/langchain-ai/langchain/pull/11137
| 1,916,367,978
|
PR_kwDOIPDwls5bYf_P
| 11,137
|
Update agent type docs
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T21:36:40
| 2023-10-05T16:51:15
| 2023-10-05T16:51:14
|
COLLABORATOR
| null |
In code docs for agent types
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11137/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11137",
"html_url": "https://github.com/langchain-ai/langchain/pull/11137",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11137.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11137.patch",
"merged_at": "2023-10-05T16:51:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11136
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11136/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11136/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11136/events
|
https://github.com/langchain-ai/langchain/pull/11136
| 1,916,286,764
|
PR_kwDOIPDwls5bYNxQ
| 11,136
|
Stop sequences in fireworks, plus notebook updates
|
{
"login": "tjaffri",
"id": 749277,
"node_id": "MDQ6VXNlcjc0OTI3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/749277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tjaffri",
"html_url": "https://github.com/tjaffri",
"followers_url": "https://api.github.com/users/tjaffri/followers",
"following_url": "https://api.github.com/users/tjaffri/following{/other_user}",
"gists_url": "https://api.github.com/users/tjaffri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tjaffri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tjaffri/subscriptions",
"organizations_url": "https://api.github.com/users/tjaffri/orgs",
"repos_url": "https://api.github.com/users/tjaffri/repos",
"events_url": "https://api.github.com/users/tjaffri/events{/privacy}",
"received_events_url": "https://api.github.com/users/tjaffri/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 | 8
| 2023-09-27T20:42:34
| 2023-09-27T23:12:19
| 2023-09-27T23:01:05
|
CONTRIBUTOR
| null |
The new Fireworks and FireworksChat implementations are awesome! Added in this PR https://github.com/langchain-ai/langchain/pull/11117 thank you @ZixinYang
However, I think stop words were not plumbed correctly. I've made some simple changes to do that, and also updated the notebook to be a bit clearer with what's needed to use both new models.
Tagging model maintainer @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11136/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11136",
"html_url": "https://github.com/langchain-ai/langchain/pull/11136",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11136.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11136.patch",
"merged_at": "2023-09-27T23:01:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11135
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11135/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11135/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11135/events
|
https://github.com/langchain-ai/langchain/pull/11135
| 1,916,254,694
|
PR_kwDOIPDwls5bYGsB
| 11,135
|
Fix web-base loader
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T20:20:09
| 2023-09-29T02:36:48
| 2023-09-29T02:36:47
|
COLLABORATOR
| null |
Fix initialization
https://github.com/langchain-ai/langchain/issues/11095
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11135/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11135",
"html_url": "https://github.com/langchain-ai/langchain/pull/11135",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11135.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11135.patch",
"merged_at": "2023-09-29T02:36:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11134
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11134/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11134/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11134/events
|
https://github.com/langchain-ai/langchain/pull/11134
| 1,916,252,328
|
PR_kwDOIPDwls5bYGK8
| 11,134
|
Fix web-base loader
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T20:18:35
| 2023-09-27T20:18:46
| 2023-09-27T20:18:46
|
COLLABORATOR
| null |
https://github.com/langchain-ai/langchain/issues/11095
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11134/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11134",
"html_url": "https://github.com/langchain-ai/langchain/pull/11134",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11134.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11134.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11133
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11133/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11133/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11133/events
|
https://github.com/langchain-ai/langchain/pull/11133
| 1,916,242,733
|
PR_kwDOIPDwls5bYEGN
| 11,133
|
Add pending deprecation warning
|
{
"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 | 2
| 2023-09-27T20:11:21
| 2023-10-02T17:55:18
| 2023-10-02T17:55:17
|
COLLABORATOR
| null |
This PR uses 2 dedicated LangChain warnings types for deprecations (mirroring python's built in deprecation and pending deprecation warnings).
These deprecation types are unslienced during initialization in langchain achieving the same default behavior that we have with our current warnings approach. However, because these warnings have a dedicated type, users will be able to silence them selectively (I think this is strictly better than our current handling of warnings).
The PR adds a deprecation warning to llm symbolic math.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11133/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11133",
"html_url": "https://github.com/langchain-ai/langchain/pull/11133",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11133.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11133.patch",
"merged_at": "2023-10-02T17:55:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11132
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11132/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11132/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11132/events
|
https://github.com/langchain-ai/langchain/pull/11132
| 1,916,213,329
|
PR_kwDOIPDwls5bX9pt
| 11,132
|
Add Exact match and Regex Match Evaluators
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T19:49:11
| 2023-09-27T21:18:08
| 2023-09-27T21:18:07
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11132/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11132",
"html_url": "https://github.com/langchain-ai/langchain/pull/11132",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11132.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11132.patch",
"merged_at": "2023-09-27T21:18:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11131
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11131/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11131/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11131/events
|
https://github.com/langchain-ai/langchain/pull/11131
| 1,916,213,042
|
PR_kwDOIPDwls5bX9l3
| 11,131
|
Enhanced pairwise 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-09-27T19:48:57
| 2023-09-27T23:04:45
| 2023-09-27T23:04:44
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11131/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11131",
"html_url": "https://github.com/langchain-ai/langchain/pull/11131",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11131.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11131.patch",
"merged_at": "2023-09-27T23:04:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11130
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11130/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11130/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11130/events
|
https://github.com/langchain-ai/langchain/issues/11130
| 1,916,177,170
|
I_kwDOIPDwls5yNosS
| 11,130
|
ValueError: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModel operation: Invalid prompt: prompt must start with " Human:" turn, prompt must end with " Assistant:" turn
|
{
"login": "tarek-kerbedj",
"id": 77098507,
"node_id": "MDQ6VXNlcjc3MDk4NTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/77098507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tarek-kerbedj",
"html_url": "https://github.com/tarek-kerbedj",
"followers_url": "https://api.github.com/users/tarek-kerbedj/followers",
"following_url": "https://api.github.com/users/tarek-kerbedj/following{/other_user}",
"gists_url": "https://api.github.com/users/tarek-kerbedj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tarek-kerbedj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tarek-kerbedj/subscriptions",
"organizations_url": "https://api.github.com/users/tarek-kerbedj/orgs",
"repos_url": "https://api.github.com/users/tarek-kerbedj/repos",
"events_url": "https://api.github.com/users/tarek-kerbedj/events{/privacy}",
"received_events_url": "https://api.github.com/users/tarek-kerbedj/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 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 | 12
| 2023-09-27T19:20:13
| 2023-10-05T07:07:46
| 2023-10-04T21:29:22
|
NONE
| null |
### System Info
Langchain version = 0.0.231
python = 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.llms import Bedrock
model_kwargs={"max_tokens_to_sample":8000}
resp = Bedrock(credentials_profile_name="default",
model_id="anthropic.claude-v2",model_kwargs={"max_tokens_to_sample":8000})
### Expected behavior
this same piece of code used to work just fine in the past weeks , now it's causing a prompt error
i'm sure that bedrock changed something on their end
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11130/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11129
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11129/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11129/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11129/events
|
https://github.com/langchain-ai/langchain/pull/11129
| 1,916,127,173
|
PR_kwDOIPDwls5bXq1q
| 11,129
|
Add SymbolicMathChain to experiment in preparation for deprecation
|
{
"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"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T18:42:26
| 2023-10-05T17:54:44
| 2023-10-05T17:54:44
|
COLLABORATOR
| null |
Move symbolic math chain to experimental
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11129/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11129",
"html_url": "https://github.com/langchain-ai/langchain/pull/11129",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11129.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11129.patch",
"merged_at": "2023-10-05T17:54:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11128
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11128/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11128/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11128/events
|
https://github.com/langchain-ai/langchain/pull/11128
| 1,916,122,569
|
PR_kwDOIPDwls5bXp0d
| 11,128
|
LLMonitor Callback handler: fix bug
|
{
"login": "hughcrt",
"id": 24587702,
"node_id": "MDQ6VXNlcjI0NTg3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24587702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hughcrt",
"html_url": "https://github.com/hughcrt",
"followers_url": "https://api.github.com/users/hughcrt/followers",
"following_url": "https://api.github.com/users/hughcrt/following{/other_user}",
"gists_url": "https://api.github.com/users/hughcrt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hughcrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hughcrt/subscriptions",
"organizations_url": "https://api.github.com/users/hughcrt/orgs",
"repos_url": "https://api.github.com/users/hughcrt/repos",
"events_url": "https://api.github.com/users/hughcrt/events{/privacy}",
"received_events_url": "https://api.github.com/users/hughcrt/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-27T18:39:08
| 2023-09-28T22:00:38
| 2023-09-28T22:00:38
|
CONTRIBUTOR
| null |
Hi,
Here is a small bug fix for the LLMonitor callback handler. I've also added user identification capabilities.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11128/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11128",
"html_url": "https://github.com/langchain-ai/langchain/pull/11128",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11128.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11128.patch",
"merged_at": "2023-09-28T22:00:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11127
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11127/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11127/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11127/events
|
https://github.com/langchain-ai/langchain/pull/11127
| 1,916,110,952
|
PR_kwDOIPDwls5bXnar
| 11,127
|
Updating service name for bedrock
|
{
"login": "3coins",
"id": 289369,
"node_id": "MDQ6VXNlcjI4OTM2OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/289369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/3coins",
"html_url": "https://github.com/3coins",
"followers_url": "https://api.github.com/users/3coins/followers",
"following_url": "https://api.github.com/users/3coins/following{/other_user}",
"gists_url": "https://api.github.com/users/3coins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/3coins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/3coins/subscriptions",
"organizations_url": "https://api.github.com/users/3coins/orgs",
"repos_url": "https://api.github.com/users/3coins/repos",
"events_url": "https://api.github.com/users/3coins/events{/privacy}",
"received_events_url": "https://api.github.com/users/3coins/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 4
| 2023-09-27T18:31:01
| 2023-09-28T20:45:08
| 2023-09-28T20:45:07
|
CONTRIBUTOR
| null |
## Description
With the Bedrock GA release scheduled soon, the service name has been updated to `bedrock-runtime` instead of `bedrock` for `invoke_model` and `invoke_model_with_response_stream` APIs.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11127/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/11127/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11127",
"html_url": "https://github.com/langchain-ai/langchain/pull/11127",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11127.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11127.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11124
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11124/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11124/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11124/events
|
https://github.com/langchain-ai/langchain/pull/11124
| 1,915,973,015
|
PR_kwDOIPDwls5bXJ7j
| 11,124
|
add from_existing_graph to neo4j vector
|
{
"login": "tomasonjo",
"id": 19948365,
"node_id": "MDQ6VXNlcjE5OTQ4MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/19948365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomasonjo",
"html_url": "https://github.com/tomasonjo",
"followers_url": "https://api.github.com/users/tomasonjo/followers",
"following_url": "https://api.github.com/users/tomasonjo/following{/other_user}",
"gists_url": "https://api.github.com/users/tomasonjo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tomasonjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tomasonjo/subscriptions",
"organizations_url": "https://api.github.com/users/tomasonjo/orgs",
"repos_url": "https://api.github.com/users/tomasonjo/repos",
"events_url": "https://api.github.com/users/tomasonjo/events{/privacy}",
"received_events_url": "https://api.github.com/users/tomasonjo/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 | 3
| 2023-09-27T16:49:56
| 2023-09-28T22:02:27
| 2023-09-28T22:02:26
|
CONTRIBUTOR
| null |
This PR adds the option to create a Neo4jvector instance from existing graph, which embeds existing text in the database and creates relevant indices.
Todo:
* [x] Docs
* [x] Tests
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11124/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11124",
"html_url": "https://github.com/langchain-ai/langchain/pull/11124",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11124.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11124.patch",
"merged_at": "2023-09-28T22:02:26"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11123
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11123/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11123/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11123/events
|
https://github.com/langchain-ai/langchain/pull/11123
| 1,915,904,281
|
PR_kwDOIPDwls5bW62R
| 11,123
|
Add scoring chain
|
{
"login": "CG80499",
"id": 94075036,
"node_id": "U_kgDOBZt4nA",
"avatar_url": "https://avatars.githubusercontent.com/u/94075036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CG80499",
"html_url": "https://github.com/CG80499",
"followers_url": "https://api.github.com/users/CG80499/followers",
"following_url": "https://api.github.com/users/CG80499/following{/other_user}",
"gists_url": "https://api.github.com/users/CG80499/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CG80499/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CG80499/subscriptions",
"organizations_url": "https://api.github.com/users/CG80499/orgs",
"repos_url": "https://api.github.com/users/CG80499/repos",
"events_url": "https://api.github.com/users/CG80499/events{/privacy}",
"received_events_url": "https://api.github.com/users/CG80499/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
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
] | null | 1
| 2023-09-27T16:07:01
| 2023-10-02T22:15:33
| 2023-10-02T22:15:32
|
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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11123/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11123",
"html_url": "https://github.com/langchain-ai/langchain/pull/11123",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11123.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11123.patch",
"merged_at": "2023-10-02T22:15:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11122
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11122/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11122/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11122/events
|
https://github.com/langchain-ai/langchain/pull/11122
| 1,915,886,696
|
PR_kwDOIPDwls5bW28Q
| 11,122
|
Add `add_graph_documents` support for FalkorDBGraph
|
{
"login": "gkorland",
"id": 753206,
"node_id": "MDQ6VXNlcjc1MzIwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/753206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkorland",
"html_url": "https://github.com/gkorland",
"followers_url": "https://api.github.com/users/gkorland/followers",
"following_url": "https://api.github.com/users/gkorland/following{/other_user}",
"gists_url": "https://api.github.com/users/gkorland/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkorland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkorland/subscriptions",
"organizations_url": "https://api.github.com/users/gkorland/orgs",
"repos_url": "https://api.github.com/users/gkorland/repos",
"events_url": "https://api.github.com/users/gkorland/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkorland/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-09-27T15:58:10
| 2023-09-29T12:06:34
| 2023-09-28T22:03:54
|
CONTRIBUTOR
| null |
Adding `add_graph_documents` support for FalkorDBGraph and extending the `Neo4JGraph` api so it can support `cypher.py`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11122/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11122",
"html_url": "https://github.com/langchain-ai/langchain/pull/11122",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11122.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11122.patch",
"merged_at": "2023-09-28T22:03:54"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11121
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11121/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11121/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11121/events
|
https://github.com/langchain-ai/langchain/pull/11121
| 1,915,851,847
|
PR_kwDOIPDwls5bWvVH
| 11,121
|
Make Google PaLM classes serialisable
|
{
"login": "dqbd",
"id": 1443449,
"node_id": "MDQ6VXNlcjE0NDM0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1443449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqbd",
"html_url": "https://github.com/dqbd",
"followers_url": "https://api.github.com/users/dqbd/followers",
"following_url": "https://api.github.com/users/dqbd/following{/other_user}",
"gists_url": "https://api.github.com/users/dqbd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqbd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqbd/subscriptions",
"organizations_url": "https://api.github.com/users/dqbd/orgs",
"repos_url": "https://api.github.com/users/dqbd/repos",
"events_url": "https://api.github.com/users/dqbd/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqbd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T15:37:03
| 2023-10-02T22:46:50
| 2023-10-02T22:46:49
|
CONTRIBUTOR
| null |
Similarly to Vertex classes, PaLM classes weren't marked as serialisable. Should be working fine with LangSmith.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11121/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11121",
"html_url": "https://github.com/langchain-ai/langchain/pull/11121",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11121.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11121.patch",
"merged_at": "2023-10-02T22:46:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11120
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11120/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11120/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11120/events
|
https://github.com/langchain-ai/langchain/pull/11120
| 1,915,827,832
|
PR_kwDOIPDwls5bWqFd
| 11,120
|
bump 303
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T15:23:26
| 2023-09-27T15:30:34
| 2023-09-27T15:30:33
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11120/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11120",
"html_url": "https://github.com/langchain-ai/langchain/pull/11120",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11120.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11120.patch",
"merged_at": "2023-09-27T15:30:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11119
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11119/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11119/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11119/events
|
https://github.com/langchain-ai/langchain/issues/11119
| 1,915,813,094
|
I_kwDOIPDwls5yMPzm
| 11,119
|
Feature: LLM Vertex AI metadata support
|
{
"login": "cymarechal-devoteam",
"id": 97023888,
"node_id": "U_kgDOBch3kA",
"avatar_url": "https://avatars.githubusercontent.com/u/97023888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cymarechal-devoteam",
"html_url": "https://github.com/cymarechal-devoteam",
"followers_url": "https://api.github.com/users/cymarechal-devoteam/followers",
"following_url": "https://api.github.com/users/cymarechal-devoteam/following{/other_user}",
"gists_url": "https://api.github.com/users/cymarechal-devoteam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cymarechal-devoteam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cymarechal-devoteam/subscriptions",
"organizations_url": "https://api.github.com/users/cymarechal-devoteam/orgs",
"repos_url": "https://api.github.com/users/cymarechal-devoteam/repos",
"events_url": "https://api.github.com/users/cymarechal-devoteam/events{/privacy}",
"received_events_url": "https://api.github.com/users/cymarechal-devoteam/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 2
| 2023-09-27T15:15:12
| 2023-12-27T16:01:19
| null |
NONE
| null |
### Feature request
The Google Cloud community would love to enjoy the full capabilities of Vertex AI models on top of Langchain. To this end, we would be able to access the metadata fields ([reference](https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/text#response_body)) as outputs of the Vertex AI LLM model in Langchain, indicating crucial information such as the number of input and output tokens, and number of billed characters.
### Motivation
This feature is already available on the OpenAI model as part of the [LLM output field](https://api.python.langchain.com/en/latest/schema/langchain.schema.output.LLMResult.html#langchain.schema.output.LLMResult.llm_output). For the Vertex AI model, it simply outputs a None value. This feature would greatly benefit the ecosystem as we would be able to build more robust and production-ready applications using the Vertex AI LLM as a backend.
### Your contribution
I am currently looking into implementing it myself. PR to be opened soon.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11119/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11118
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11118/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11118/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11118/events
|
https://github.com/langchain-ai/langchain/issues/11118
| 1,915,806,213
|
I_kwDOIPDwls5yMOIF
| 11,118
|
initialize_agent does not accept callable 'handle_parsing_errors', only bool ('value could not be parsed to a boolean')
|
{
"login": "necarlson97",
"id": 25375960,
"node_id": "MDQ6VXNlcjI1Mzc1OTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/25375960?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/necarlson97",
"html_url": "https://github.com/necarlson97",
"followers_url": "https://api.github.com/users/necarlson97/followers",
"following_url": "https://api.github.com/users/necarlson97/following{/other_user}",
"gists_url": "https://api.github.com/users/necarlson97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/necarlson97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/necarlson97/subscriptions",
"organizations_url": "https://api.github.com/users/necarlson97/orgs",
"repos_url": "https://api.github.com/users/necarlson97/repos",
"events_url": "https://api.github.com/users/necarlson97/events{/privacy}",
"received_events_url": "https://api.github.com/users/necarlson97/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-27T15:11:23
| 2023-09-28T14:14:52
| 2023-09-28T14:14:52
|
NONE
| null |
### System Info
langchain 0.0.301
Python 3.10.12
Ubuntu 22.04 LTS
### Who can help?
@hwchase17
(based on blame of langchain/agents/agent.py", line 622)
### 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
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
import yaml
import os
from langchain.chat_models import ChatOpenAI
from langchain.agents import initialize_agent
# https://python.langchain.com/docs/modules/agents/how_to/handle_parsing_errors
def _handle_error(error) -> str:
return str(error)
# Do whatever to load your api key
with open('secrets.yml', 'r') as f:
config = yaml.safe_load(f)
os.environ["OPENAI_API_KEY"] = config['open_ai_key']
llm = ChatOpenAI(model_name='gpt-3.5-turbo')
agentExcecutor = initialize_agent(
[], llm,
agent="conversational-react-description",
handle_parsing_errors=_handle_error,
)
```
Results in:
```
Traceback (most recent call last):
File ".../test_error_handling.py", line 17, in <module>
agentExcecutor = initialize_agent(
File ".../langchain/agents/initialize.py", line 64, in initialize_agent
return AgentExecutor.from_agent_and_tools(
File ".../langchain/agents/agent.py", line 622, in from_agent_and_tools
return cls(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for AgentExecutor
handle_parsing_errors
value could not be parsed to a boolean (type=type_error.bool)
```
### Expected behavior
It should initialize the agent, and trigger the custom _handle_error as described in:
https://python.langchain.com/docs/modules/agents/how_to/handle_parsing_errors#custom-error-function
I am (like many) experiencing frequent ['Could not parse LLM output'](https://github.com/langchain-ai/langchain/issues/1358) #1358.
My current project is targeting gpt-3.5, and doing system-message/prompt tweaking - so parse failures are to be expected. However, I want to handle the error gracefully - retrying, summarizing failed attempts, apologizing and moving on, etc - depending on the specifics of my project.
The handle_parsing_errors seems like the perfect place to implement a workaround. However, passing a callable func seems to fail validation, and thus does not work.
Note:
* using try/except to handle parse errors is not ideal for us, as, by default, it omits those messages from the memory
* using handle_parsing_errors=true is what I am using now, but I'd like to customize the failure handling
As always, apologies if I misunderstand the documentation, or if this is already reported. I did not see anything in the tracker - #10710 is close, but regards tools rather than agents afaict.
Thank you for any help!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11118/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11117
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11117/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11117/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11117/events
|
https://github.com/langchain-ai/langchain/pull/11117
| 1,915,803,250
|
PR_kwDOIPDwls5bWkv0
| 11,117
|
Bagatur/fw chat
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T15:09:53
| 2023-09-27T15:22:13
| 2023-09-27T15:22:12
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11117/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11117",
"html_url": "https://github.com/langchain-ai/langchain/pull/11117",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11117.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11117.patch",
"merged_at": "2023-09-27T15:22:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11115
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11115/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11115/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11115/events
|
https://github.com/langchain-ai/langchain/pull/11115
| 1,915,642,153
|
PR_kwDOIPDwls5bWBcS
| 11,115
|
[Feat] Add optional client-side encryption to DynamoDB chat history memory
|
{
"login": "jplock",
"id": 49093,
"node_id": "MDQ6VXNlcjQ5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/49093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplock",
"html_url": "https://github.com/jplock",
"followers_url": "https://api.github.com/users/jplock/followers",
"following_url": "https://api.github.com/users/jplock/following{/other_user}",
"gists_url": "https://api.github.com/users/jplock/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jplock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jplock/subscriptions",
"organizations_url": "https://api.github.com/users/jplock/orgs",
"repos_url": "https://api.github.com/users/jplock/repos",
"events_url": "https://api.github.com/users/jplock/events{/privacy}",
"received_events_url": "https://api.github.com/users/jplock/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
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-09-27T13:52:10
| 2023-09-29T00:58:38
| 2023-09-28T20:29:46
|
CONTRIBUTOR
| null |
**Description:** Added optional client-side encryption to the Amazon DynamoDB chat history memory with an AWS KMS Key ID using the [AWS Database Encryption SDK for Python](https://docs.aws.amazon.com/database-encryption-sdk/latest/devguide/python.html)
**Issue:** #7886
**Dependencies:** [dynamodb-encryption-sdk](https://pypi.org/project/dynamodb-encryption-sdk/)
**Tag maintainer:** @hwchase17
**Twitter handle:** [@jplock](https://twitter.com/jplock/)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11115/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11115",
"html_url": "https://github.com/langchain-ai/langchain/pull/11115",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11115.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11115.patch",
"merged_at": "2023-09-28T20:29:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11114
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11114/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11114/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11114/events
|
https://github.com/langchain-ai/langchain/issues/11114
| 1,915,638,480
|
I_kwDOIPDwls5yLlLQ
| 11,114
|
Issue: Integrating QA prompt with MultiRetrievalQAChain
|
{
"login": "Arham-12336",
"id": 67412607,
"node_id": "MDQ6VXNlcjY3NDEyNjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/67412607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arham-12336",
"html_url": "https://github.com/Arham-12336",
"followers_url": "https://api.github.com/users/Arham-12336/followers",
"following_url": "https://api.github.com/users/Arham-12336/following{/other_user}",
"gists_url": "https://api.github.com/users/Arham-12336/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Arham-12336/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Arham-12336/subscriptions",
"organizations_url": "https://api.github.com/users/Arham-12336/orgs",
"repos_url": "https://api.github.com/users/Arham-12336/repos",
"events_url": "https://api.github.com/users/Arham-12336/events{/privacy}",
"received_events_url": "https://api.github.com/users/Arham-12336/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 4
| 2023-09-27T13:50:19
| 2023-12-28T16:01:41
| null |
NONE
| null |
I am using `"langchain": "^0.0.89"` to use the _**MultiRetrievalQAChain**_. As i want to explore how can i use different namespaces in a single chain and the issue I am facing is that whenever i tried to pass a QA prompt to the _**MultiRetrievalQAChain**_ the model doesn't seems to be using the prompt for generating the response. I have tried multiple options but this does not seems to be working.
Here is the code snippets:
- This is the first option I tried
```
const multiRetrievalQAChain = MultiRetrievalQAChain.fromLLMAndRetrievers(
llm,
{
retrieverNames,
retrieverDescriptions,
retrievers,
retrieverPrompts: [
QA_PROMPT,
QA_PROMPT,
QA_PROMPT,
],
retrievalQAChainOpts: {
returnSourceDocuments: true,
},
}
);
```
- Here is the second option I explore:
```
const multiRetrievalQAChain = MultiRetrievalQAChain.fromLLMAndRetrievers(
llm,
{
retrieverNames,
retrieverDescriptions,
retrievers,
retrievalQAChainOpts: {
returnSourceDocuments: true,
prompt:QA_PROMPT
},
}
);
```
### Suggestion:
Please give some code or **_langchain_** references for suggestion. Helping in advance
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11114/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11113
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11113/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11113/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11113/events
|
https://github.com/langchain-ai/langchain/pull/11113
| 1,915,532,677
|
PR_kwDOIPDwls5bVpO1
| 11,113
|
auto escape stop sequences in 'enforce_stop_tokens' helper function
|
{
"login": "Tomas2D",
"id": 15633909,
"node_id": "MDQ6VXNlcjE1NjMzOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/15633909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tomas2D",
"html_url": "https://github.com/Tomas2D",
"followers_url": "https://api.github.com/users/Tomas2D/followers",
"following_url": "https://api.github.com/users/Tomas2D/following{/other_user}",
"gists_url": "https://api.github.com/users/Tomas2D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tomas2D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tomas2D/subscriptions",
"organizations_url": "https://api.github.com/users/Tomas2D/orgs",
"repos_url": "https://api.github.com/users/Tomas2D/repos",
"events_url": "https://api.github.com/users/Tomas2D/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tomas2D/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-27T12:56:46
| 2023-09-28T22:14:05
| 2023-09-28T22:14:04
|
CONTRIBUTOR
| null |
**Description**
I've noticed that the split function interprets the inputs as regex expressions, which can sometimes lead to unexpected behaviour.
For instance: the LLM implementation can pass stop parameters to the appropriate model (or inference API) and then it will call the `enforce_stop_tokens` function to be 100% sure that there is no extra text after the stop sequence has been reached.
So where is the problem?
If you pass `stop=["."]`, the API will interpret the stop sequences as is, but the helper function interprets the `.` as regex matching any character yielding in an empty result.
Tag maintainer:
@hwchase17
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11113/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11113",
"html_url": "https://github.com/langchain-ai/langchain/pull/11113",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11113.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11113.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11111
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11111/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11111/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11111/events
|
https://github.com/langchain-ai/langchain/pull/11111
| 1,915,463,547
|
PR_kwDOIPDwls5bVZvs
| 11,111
|
fix-lcel-notebooks
|
{
"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-09-27T12:27:06
| 2023-09-27T13:36:12
| 2023-09-27T13:36:11
|
COLLABORATOR
| null |
fix some missing imports/naming
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11111/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11111",
"html_url": "https://github.com/langchain-ai/langchain/pull/11111",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11111.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11111.patch",
"merged_at": "2023-09-27T13:36:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11110
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11110/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11110/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11110/events
|
https://github.com/langchain-ai/langchain/pull/11110
| 1,915,439,691
|
PR_kwDOIPDwls5bVUWk
| 11,110
|
Update readthedocs.py
|
{
"login": "plpycoin",
"id": 103234125,
"node_id": "U_kgDOBic6TQ",
"avatar_url": "https://avatars.githubusercontent.com/u/103234125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plpycoin",
"html_url": "https://github.com/plpycoin",
"followers_url": "https://api.github.com/users/plpycoin/followers",
"following_url": "https://api.github.com/users/plpycoin/following{/other_user}",
"gists_url": "https://api.github.com/users/plpycoin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/plpycoin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plpycoin/subscriptions",
"organizations_url": "https://api.github.com/users/plpycoin/orgs",
"repos_url": "https://api.github.com/users/plpycoin/repos",
"events_url": "https://api.github.com/users/plpycoin/events{/privacy}",
"received_events_url": "https://api.github.com/users/plpycoin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 3
| 2023-09-27T12:16:50
| 2023-10-13T00:26:08
| 2023-10-12T15:32:06
|
CONTRIBUTOR
| null |
Only parse .html files
.svg .png favicon.ico will crash processing phase
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11110/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11110",
"html_url": "https://github.com/langchain-ai/langchain/pull/11110",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11110.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11110.patch",
"merged_at": "2023-10-12T15:32:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11109
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11109/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11109/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11109/events
|
https://github.com/langchain-ai/langchain/pull/11109
| 1,915,430,617
|
PR_kwDOIPDwls5bVST0
| 11,109
|
Fix stop key of TextGen.
|
{
"login": "akionux",
"id": 6347594,
"node_id": "MDQ6VXNlcjYzNDc1OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6347594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akionux",
"html_url": "https://github.com/akionux",
"followers_url": "https://api.github.com/users/akionux/followers",
"following_url": "https://api.github.com/users/akionux/following{/other_user}",
"gists_url": "https://api.github.com/users/akionux/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akionux/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akionux/subscriptions",
"organizations_url": "https://api.github.com/users/akionux/orgs",
"repos_url": "https://api.github.com/users/akionux/repos",
"events_url": "https://api.github.com/users/akionux/events{/privacy}",
"received_events_url": "https://api.github.com/users/akionux/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T12:12:27
| 2023-09-29T00:53:50
| 2023-09-28T15:05:25
|
CONTRIBUTOR
| null |
The key of stopping strings used in text-generation-webui api is [`stopping_strings`](https://github.com/oobabooga/text-generation-webui/blob/main/api-examples/api-example.py#L51), not `stop`.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11109/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11109",
"html_url": "https://github.com/langchain-ai/langchain/pull/11109",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11109.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11109.patch",
"merged_at": "2023-09-28T15:05:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11108
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11108/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11108/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11108/events
|
https://github.com/langchain-ai/langchain/pull/11108
| 1,915,408,676
|
PR_kwDOIPDwls5bVNXp
| 11,108
|
[Feat] Add ChatModel, LLM, and Embeddings for ERNIE Bot APIs
|
{
"login": "Bobholamovic",
"id": 21275753,
"node_id": "MDQ6VXNlcjIxMjc1NzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/21275753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bobholamovic",
"html_url": "https://github.com/Bobholamovic",
"followers_url": "https://api.github.com/users/Bobholamovic/followers",
"following_url": "https://api.github.com/users/Bobholamovic/following{/other_user}",
"gists_url": "https://api.github.com/users/Bobholamovic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bobholamovic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bobholamovic/subscriptions",
"organizations_url": "https://api.github.com/users/Bobholamovic/orgs",
"repos_url": "https://api.github.com/users/Bobholamovic/repos",
"events_url": "https://api.github.com/users/Bobholamovic/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bobholamovic/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"
}
] |
open
| false
| null |
[] | null | 25
| 2023-09-27T12:01:55
| 2023-11-04T16:27:48
| null |
NONE
| null |
- **Description:**
- Add `langchain.llms.ERNIEBot` for text completion.
- Add `langchain.chat_models.ChatERNIEBot` for chat completion.
- Add `langchain.embeddings.ERNIEBotEmbeddings` for sentence embeddings.
- Integration tests and example notebooks on the new features are included in this PR, too.
- **Issue:** None.
- **Dependencies:**
- `erniebot`
- **Tag maintainer:** @baskaryan
- **Twitter handle:** None.
## Differences from the existing integrations
In #9114 , #9370 , and #10496 , several integrations have been contributed to LangChain, all claiming to support Baidu's ERNIE Bot (文心一言) large language models. Taking chat models as an example, currently we have two similar chat models in LangChain to interact with ERNIE Bot APIs: `langchain.chat_models.ErnieBotChat` and `langchain.chat_models.QianfanChatEndpoint`. This pull request, however, is going to add a third one, `langchain.chat_models.ERNIEBotChat`. Here is a clarification on how the new integrations introduced in this PR differ from the existing ones.
1. The integrations introduced in this PR are enhancements to those introduced in #9114 and #9310 in the following aspects:
- The new integrations are implemented based on the official [ERNIE Bot Python SDK](https://github.com/PaddlePaddle/ERNIE-Bot-SDK), which provides additional safety and robustness, whereas the existing ones are implemeneted with raw `request` APIs.
- A new LLM, `langchain.llms.ERNIEBot`, is introduced for text completion.
- More advanced features are supported, e.g. asynchronous calling, streaming, function calling.
- More examples are added in three Jupyter Notebooks, including the examples on the usage of the advanced features.
2. The new integrations provide a way for [AI Studio](https://aistudio.baidu.com/index) users to access the ERNIE Bot APIs in LangChain, while for users of the Qianfan platform, the integrations introduced in #10496 should be the right choice.
3. The new integrations do not support the models in #10024 , as these models are not strictly ERNIE Bot models, and including them in `langchain.chat_models.ErnieBotChat` can make users confused. What's more, the `langchain.chat_models.QianfanChatEndpoint` contributed in #10496 already provides access to these models, and it is not necessary to include them again in another integration.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11108/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11108",
"html_url": "https://github.com/langchain-ai/langchain/pull/11108",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11108.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11108.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11107
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11107/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11107/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11107/events
|
https://github.com/langchain-ai/langchain/pull/11107
| 1,915,276,049
|
PR_kwDOIPDwls5bUvaA
| 11,107
|
feat: support ChatModels Qianfan `QianfanChatEndpoint` function_call
|
{
"login": "danielhjz",
"id": 5894042,
"node_id": "MDQ6VXNlcjU4OTQwNDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5894042?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielhjz",
"html_url": "https://github.com/danielhjz",
"followers_url": "https://api.github.com/users/danielhjz/followers",
"following_url": "https://api.github.com/users/danielhjz/following{/other_user}",
"gists_url": "https://api.github.com/users/danielhjz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danielhjz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielhjz/subscriptions",
"organizations_url": "https://api.github.com/users/danielhjz/orgs",
"repos_url": "https://api.github.com/users/danielhjz/repos",
"events_url": "https://api.github.com/users/danielhjz/events{/privacy}",
"received_events_url": "https://api.github.com/users/danielhjz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 4
| 2023-09-27T10:59:15
| 2023-10-17T20:33:56
| 2023-10-17T20:33:56
|
CONTRIBUTOR
| null |
- **Description:**
* feature for `QianfanChatEndpoint` function_call ability, add integration_test for it
* add `model`, `endpoint` supported in calling params
* add raw response in ChatModel Message
- **Issue:**
* #10867
* #11105
* #10215
- **Dependencies:** no
- **Tag maintainer:** @baskaryan
- **Twitter handle:** no
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11107/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11107",
"html_url": "https://github.com/langchain-ai/langchain/pull/11107",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11107.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11107.patch",
"merged_at": "2023-10-17T20:33:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11105
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11105/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11105/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11105/events
|
https://github.com/langchain-ai/langchain/issues/11105
| 1,915,226,169
|
I_kwDOIPDwls5yKAg5
| 11,105
|
Feature: `QianfanChatEndpoint` Support function_call
|
{
"login": "danielhjz",
"id": 5894042,
"node_id": "MDQ6VXNlcjU4OTQwNDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5894042?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielhjz",
"html_url": "https://github.com/danielhjz",
"followers_url": "https://api.github.com/users/danielhjz/followers",
"following_url": "https://api.github.com/users/danielhjz/following{/other_user}",
"gists_url": "https://api.github.com/users/danielhjz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danielhjz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielhjz/subscriptions",
"organizations_url": "https://api.github.com/users/danielhjz/orgs",
"repos_url": "https://api.github.com/users/danielhjz/repos",
"events_url": "https://api.github.com/users/danielhjz/events{/privacy}",
"received_events_url": "https://api.github.com/users/danielhjz/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-27T10:36:19
| 2023-12-27T16:01:25
| null |
CONTRIBUTOR
| null |
### Feature request
- `QianfanChatEndpoint` Or `ErnieBotChat` support function calling
### Motivation
Neither `QianfanChatEndpoint` and `ErnieBotChat` supported ERNIE-Bot Function ability now. We need this for developing agent by function_call where is only supported by openai function_call AFAIK.
### Your contribution
ready to PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11105/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11104
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11104/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11104/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11104/events
|
https://github.com/langchain-ai/langchain/pull/11104
| 1,915,160,147
|
PR_kwDOIPDwls5bUZzQ
| 11,104
|
Hrisikesh/router
|
{
"login": "hrisikesh-neogi",
"id": 78023847,
"node_id": "MDQ6VXNlcjc4MDIzODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/78023847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hrisikesh-neogi",
"html_url": "https://github.com/hrisikesh-neogi",
"followers_url": "https://api.github.com/users/hrisikesh-neogi/followers",
"following_url": "https://api.github.com/users/hrisikesh-neogi/following{/other_user}",
"gists_url": "https://api.github.com/users/hrisikesh-neogi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hrisikesh-neogi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hrisikesh-neogi/subscriptions",
"organizations_url": "https://api.github.com/users/hrisikesh-neogi/orgs",
"repos_url": "https://api.github.com/users/hrisikesh-neogi/repos",
"events_url": "https://api.github.com/users/hrisikesh-neogi/events{/privacy}",
"received_events_url": "https://api.github.com/users/hrisikesh-neogi/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-09-27T10:06:17
| 2023-10-17T19:16:00
| null |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** Added multi-type destination chains class to support different types of chains ( including custom chains) which might not be LLM chains. ,
- **Issue:** It adds support for multiple types of destination chains (e.g. QA chains, summarize chains or custom chains),
- **Dependencies:** No any specific,
- **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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11104/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11104",
"html_url": "https://github.com/langchain-ai/langchain/pull/11104",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11104.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11104.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11103
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11103/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11103/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11103/events
|
https://github.com/langchain-ai/langchain/issues/11103
| 1,915,148,870
|
I_kwDOIPDwls5yJtpG
| 11,103
|
DOC: No module named 'langchain.tools.render'
|
{
"login": "ROMEEZHOU",
"id": 72342196,
"node_id": "MDQ6VXNlcjcyMzQyMTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/72342196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ROMEEZHOU",
"html_url": "https://github.com/ROMEEZHOU",
"followers_url": "https://api.github.com/users/ROMEEZHOU/followers",
"following_url": "https://api.github.com/users/ROMEEZHOU/following{/other_user}",
"gists_url": "https://api.github.com/users/ROMEEZHOU/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ROMEEZHOU/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ROMEEZHOU/subscriptions",
"organizations_url": "https://api.github.com/users/ROMEEZHOU/orgs",
"repos_url": "https://api.github.com/users/ROMEEZHOU/repos",
"events_url": "https://api.github.com/users/ROMEEZHOU/events{/privacy}",
"received_events_url": "https://api.github.com/users/ROMEEZHOU/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"
}
] |
open
| false
| null |
[] | null | 6
| 2023-09-27T10:01:17
| 2023-10-12T05:58:41
| null |
NONE
| null |
### Issue with current documentation:
In the tutorial of using agent, link here: https://python.langchain.com/docs/modules/agents/ . The given codes are `from langchain.tools.render import format_tool_to_openai_function`, which leads to the error `ModuleNotFoundError: No module named 'langchain.tools.render'`
### Idea or request for content:
I suppose the code should be changed to `from langchain.tools import format_tool_to_openai_function`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11103/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11102
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11102/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11102/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11102/events
|
https://github.com/langchain-ai/langchain/issues/11102
| 1,915,071,401
|
I_kwDOIPDwls5yJaup
| 11,102
|
Issue: break change?
|
{
"login": "Casper-Mars",
"id": 50834595,
"node_id": "MDQ6VXNlcjUwODM0NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/50834595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Casper-Mars",
"html_url": "https://github.com/Casper-Mars",
"followers_url": "https://api.github.com/users/Casper-Mars/followers",
"following_url": "https://api.github.com/users/Casper-Mars/following{/other_user}",
"gists_url": "https://api.github.com/users/Casper-Mars/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Casper-Mars/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Casper-Mars/subscriptions",
"organizations_url": "https://api.github.com/users/Casper-Mars/orgs",
"repos_url": "https://api.github.com/users/Casper-Mars/repos",
"events_url": "https://api.github.com/users/Casper-Mars/events{/privacy}",
"received_events_url": "https://api.github.com/users/Casper-Mars/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 4
| 2023-09-27T09:20:45
| 2023-09-28T08:33:17
| 2023-09-28T08:33:17
|
NONE
| null |
### Issue you'd like to raise.
version: 0.0.39
issus:
```
Traceback (most recent call last):
File "xxxxxxxx/langchain/main.py", line 8, in <module>
prompt = PromptTemplate.from_template(template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'PromptTemplate' has no attribute 'from_template'
```
Is that a BC?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11102/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11099
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11099/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11099/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11099/events
|
https://github.com/langchain-ai/langchain/issues/11099
| 1,914,726,710
|
I_kwDOIPDwls5yIGk2
| 11,099
|
MultiVector Retriever: KeyError: 'doc_id'
|
{
"login": "rkritin98",
"id": 67390957,
"node_id": "MDQ6VXNlcjY3MzkwOTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/67390957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rkritin98",
"html_url": "https://github.com/rkritin98",
"followers_url": "https://api.github.com/users/rkritin98/followers",
"following_url": "https://api.github.com/users/rkritin98/following{/other_user}",
"gists_url": "https://api.github.com/users/rkritin98/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rkritin98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rkritin98/subscriptions",
"organizations_url": "https://api.github.com/users/rkritin98/orgs",
"repos_url": "https://api.github.com/users/rkritin98/repos",
"events_url": "https://api.github.com/users/rkritin98/events{/privacy}",
"received_events_url": "https://api.github.com/users/rkritin98/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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 4
| 2023-09-27T05:28:48
| 2023-10-04T06:15:03
| 2023-10-04T06:15:03
|
NONE
| null |
### System Info
**System Info**
Using Lanchain version 0.0.301
Python 3.11.3
MS Windows 10 Enterprise
### Who can help?
**Who can help?**
@hwchase17 @eyurtsev @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [X] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
I used the same code from https://python.langchain.com/docs/modules/data_connection/retrievers/multi_vector
The only difference is that I used the below code for the loaders

And the execution code is:

The rest of the code is from the MultiVector Retriever. I used two PDF documents which are of 16 and 18 pages respectively.
### Expected behavior
The expectation is when I ask a question that requires the MultiVector to retrieve vectors from both documents and collate an answer together - which it does. But sometimes, for some questions I get the following error

I have checked previously - 'doc_id' is present from the steps followed in the documentation. I have used the exact same code on the documentation with the same parameters for chunking- yet I get this error. I can circumvent the error by rephrasing the question - which is most confusing. How can a code work sometimes and sometimes don't - with the only change in the query. The length of the query doesn't seem to matter from my analysis. Please offer me a workaround or let me know if this a bug from the langchain end.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11099/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11097
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11097/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11097/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11097/events
|
https://github.com/langchain-ai/langchain/issues/11097
| 1,914,701,580
|
I_kwDOIPDwls5yIAcM
| 11,097
|
DOC: Connecting Langchain to Microsoft SharePoint
|
{
"login": "rkritin98",
"id": 67390957,
"node_id": "MDQ6VXNlcjY3MzkwOTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/67390957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rkritin98",
"html_url": "https://github.com/rkritin98",
"followers_url": "https://api.github.com/users/rkritin98/followers",
"following_url": "https://api.github.com/users/rkritin98/following{/other_user}",
"gists_url": "https://api.github.com/users/rkritin98/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rkritin98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rkritin98/subscriptions",
"organizations_url": "https://api.github.com/users/rkritin98/orgs",
"repos_url": "https://api.github.com/users/rkritin98/repos",
"events_url": "https://api.github.com/users/rkritin98/events{/privacy}",
"received_events_url": "https://api.github.com/users/rkritin98/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"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-27T04:59:40
| 2023-12-27T16:01:00
| null |
NONE
| null |
### Issue with current documentation:
Under the https://python.langchain.com/docs/integrations/document_loaders/microsoft_sharepoint page - in step 10 the URL is wrong to obtain the Edm.guid property.
The correct URL is https://<tenant>.sharepoint.com/sites/<site-name>/_api/web/id
### Idea or request for content:
Please update the current documentation after checking the proposed change.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11097/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11096
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11096/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11096/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11096/events
|
https://github.com/langchain-ai/langchain/issues/11096
| 1,914,699,772
|
I_kwDOIPDwls5yH__8
| 11,096
|
System message not working with ConversationalRetrievalChain
|
{
"login": "seanroades",
"id": 44625298,
"node_id": "MDQ6VXNlcjQ0NjI1Mjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/44625298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seanroades",
"html_url": "https://github.com/seanroades",
"followers_url": "https://api.github.com/users/seanroades/followers",
"following_url": "https://api.github.com/users/seanroades/following{/other_user}",
"gists_url": "https://api.github.com/users/seanroades/gists{/gist_id}",
"starred_url": "https://api.github.com/users/seanroades/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seanroades/subscriptions",
"organizations_url": "https://api.github.com/users/seanroades/orgs",
"repos_url": "https://api.github.com/users/seanroades/repos",
"events_url": "https://api.github.com/users/seanroades/events{/privacy}",
"received_events_url": "https://api.github.com/users/seanroades/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 2
| 2023-09-27T04:57:24
| 2023-12-27T16:01:19
| null |
NONE
| null |
### System Info
CHAT_PROMPT = ChatPromptTemplate(
messages=[
SystemMessagePromptTemplate.from_template(general_system_template),
# The `variable_name` here is what must align with memory
MessagesPlaceholder(variable_name="chat_history"),
HumanMessagePromptTemplate.from_template("{question}"),
]
)
memory = ConversationBufferMemory(
llm=llm,
max_token_limit=MAX_TOKENS,
memory_key="chat_history", # used for the qa which has a "chat_history" key
# prompt=CHAT_PROMPT, # To give system instructions thorugh the custom prompt
return_messages=True # otherwise just a str and won't work for chat_history
)
# memory.chat_memory.add_message({"role": "system", "content": "You are a surfer. end all setences with 'dude'"})
memory.chat_memory.add_message(SystemMessage(content="You are a surfer. end all setences with 'dude'"))
memory.chat_memory.add_user_message("I think you're great")
memory.chat_memory.add_ai_message("Thank you as I am a surfer")
qa = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=retriever,
memory=memory,
# combine_docs_chain_kwargs={
# "prompt": CHAT_PROMPT
# }
)
res = qa({"question": msg, "chat_history": memory.chat_memory})
print("QA", res)
await ctx.send(res['answer'])
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
CHAT_PROMPT = ChatPromptTemplate(
messages=[
SystemMessagePromptTemplate.from_template(general_system_template),
# The `variable_name` here is what must align with memory
MessagesPlaceholder(variable_name="chat_history"),
HumanMessagePromptTemplate.from_template("{question}"),
]
)
memory = ConversationBufferMemory(
llm=llm,
max_token_limit=MAX_TOKENS,
memory_key="chat_history", # used for the qa which has a "chat_history" key
# prompt=CHAT_PROMPT, # To give system instructions thorugh the custom prompt
return_messages=True # otherwise just a str and won't work for chat_history
)
# memory.chat_memory.add_message({"role": "system", "content": "You are a surfer. end all setences with 'dude'"})
memory.chat_memory.add_message(SystemMessage(content="You are a surfer. end all setences with 'dude'"))
memory.chat_memory.add_user_message("I think you're great")
memory.chat_memory.add_ai_message("Thank you as I am a surfer")
qa = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=retriever,
memory=memory,
# combine_docs_chain_kwargs={
# "prompt": CHAT_PROMPT
# }
)
res = qa({"question": msg, "chat_history": memory.chat_memory})
print("QA", res)
Running this and interacting with this will lead to no acknowledgement of the system message by the LLM
### Expected behavior
The system message is listened to
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11096/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/11096/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11095
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11095/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11095/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11095/events
|
https://github.com/langchain-ai/langchain/issues/11095
| 1,914,699,506
|
I_kwDOIPDwls5yH_7y
| 11,095
|
web_base loader is broken
|
{
"login": "DmitryKatson",
"id": 29101017,
"node_id": "MDQ6VXNlcjI5MTAxMDE3",
"avatar_url": "https://avatars.githubusercontent.com/u/29101017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DmitryKatson",
"html_url": "https://github.com/DmitryKatson",
"followers_url": "https://api.github.com/users/DmitryKatson/followers",
"following_url": "https://api.github.com/users/DmitryKatson/following{/other_user}",
"gists_url": "https://api.github.com/users/DmitryKatson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DmitryKatson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DmitryKatson/subscriptions",
"organizations_url": "https://api.github.com/users/DmitryKatson/orgs",
"repos_url": "https://api.github.com/users/DmitryKatson/repos",
"events_url": "https://api.github.com/users/DmitryKatson/events{/privacy}",
"received_events_url": "https://api.github.com/users/DmitryKatson/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 6
| 2023-09-27T04:57:02
| 2023-12-28T16:02:25
| null |
NONE
| null |
### System Info
Name: langchain
Version: 0.0.299
### Who can help?
@eyurtsev @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
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Just follow https://python.langchain.com/docs/integrations/document_loaders/web_base
```
from langchain.document_loaders import WebBaseLoader
loader = WebBaseLoader("https://www.espn.com/")
data = loader.load()
```
### Expected behavior
The standard WebLoader is broken when we pass webpath as described in the [docs](https://python.langchain.com/docs/integrations/document_loaders/web_base) as
`loader = WebBaseLoader("https://www.espn.com/")`
However it workes if we pass as
`loader = WebBaseLoader(["https://www.espn.com/"])`
The reason for that is [this commit](https://github.com/langchain-ai/langchain/commit/097ecef06bbc51ae21e134af4dfbb4ebe4902f3a)
Also because of this breaking change the other Custom Web Loaders are broken as well IMSDbLoader, AZLyricsLoader, and CollegeConfidentialLoader
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11095/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/11095/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11094
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11094/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11094/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11094/events
|
https://github.com/langchain-ai/langchain/pull/11094
| 1,914,630,591
|
PR_kwDOIPDwls5bSoQS
| 11,094
|
Expanded version range for networkx, fixed sample notebook
|
{
"login": "3coins",
"id": 289369,
"node_id": "MDQ6VXNlcjI4OTM2OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/289369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/3coins",
"html_url": "https://github.com/3coins",
"followers_url": "https://api.github.com/users/3coins/followers",
"following_url": "https://api.github.com/users/3coins/following{/other_user}",
"gists_url": "https://api.github.com/users/3coins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/3coins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/3coins/subscriptions",
"organizations_url": "https://api.github.com/users/3coins/orgs",
"repos_url": "https://api.github.com/users/3coins/repos",
"events_url": "https://api.github.com/users/3coins/events{/privacy}",
"received_events_url": "https://api.github.com/users/3coins/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-27T03:40:18
| 2023-09-29T04:25:03
| 2023-09-28T22:33:30
|
CONTRIBUTOR
| null |
## Description
Expanded the upper bound for `networkx` dependency to allow installation of latest stable version. Tested the included sample notebook with version 3.1, and all steps ran successfully.
## Maintainers for review
@hwchase17
@borisdev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11094/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11094",
"html_url": "https://github.com/langchain-ai/langchain/pull/11094",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11094.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11094.patch",
"merged_at": "2023-09-28T22:33:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11093
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11093/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11093/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11093/events
|
https://github.com/langchain-ai/langchain/issues/11093
| 1,914,527,874
|
I_kwDOIPDwls5yHWCC
| 11,093
|
Embedding calls should support callbacks
|
{
"login": "jerryqhyu",
"id": 8853128,
"node_id": "MDQ6VXNlcjg4NTMxMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8853128?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerryqhyu",
"html_url": "https://github.com/jerryqhyu",
"followers_url": "https://api.github.com/users/jerryqhyu/followers",
"following_url": "https://api.github.com/users/jerryqhyu/following{/other_user}",
"gists_url": "https://api.github.com/users/jerryqhyu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jerryqhyu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jerryqhyu/subscriptions",
"organizations_url": "https://api.github.com/users/jerryqhyu/orgs",
"repos_url": "https://api.github.com/users/jerryqhyu/repos",
"events_url": "https://api.github.com/users/jerryqhyu/events{/privacy}",
"received_events_url": "https://api.github.com/users/jerryqhyu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-27T01:30:43
| 2023-12-27T16:01:08
| null |
NONE
| null |
### Feature request
I propose extending callback functionality to embedding models in general so that the same OpenAICallbackHandler can be used to keep track of embedding model costs.
### Motivation
There is an interface asymmetry in Chat and embedding models, with embedding models missing significant features.
### Your contribution
Can contribute if/when have time.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11093/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11092
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11092/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11092/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11092/events
|
https://github.com/langchain-ai/langchain/pull/11092
| 1,914,487,314
|
PR_kwDOIPDwls5bSJqh
| 11,092
|
anyfy
|
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T00:45:11
| 2023-09-27T00:49:36
| 2023-09-27T00:49:35
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11092/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11092",
"html_url": "https://github.com/langchain-ai/langchain/pull/11092",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11092.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11092.patch",
"merged_at": "2023-09-27T00:49:35"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11091
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11091/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11091/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11091/events
|
https://github.com/langchain-ai/langchain/pull/11091
| 1,914,481,094
|
PR_kwDOIPDwls5bSIbN
| 11,091
|
Fix runnable branch callbacks
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-27T00:35:52
| 2023-09-27T10:38:58
| 2023-09-27T10:38:57
|
COLLABORATOR
| null |
We aren't calling on_chain_end here unless we use the default option
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11091/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11091",
"html_url": "https://github.com/langchain-ai/langchain/pull/11091",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11091.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11091.patch",
"merged_at": "2023-09-27T10:38:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11090
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11090/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11090/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11090/events
|
https://github.com/langchain-ai/langchain/pull/11090
| 1,914,437,685
|
PR_kwDOIPDwls5bR_PA
| 11,090
|
Added prompt wrapping for Claude with Bedrock
|
{
"login": "jonathancaevans",
"id": 8020664,
"node_id": "MDQ6VXNlcjgwMjA2NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8020664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonathancaevans",
"html_url": "https://github.com/jonathancaevans",
"followers_url": "https://api.github.com/users/jonathancaevans/followers",
"following_url": "https://api.github.com/users/jonathancaevans/following{/other_user}",
"gists_url": "https://api.github.com/users/jonathancaevans/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jonathancaevans/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonathancaevans/subscriptions",
"organizations_url": "https://api.github.com/users/jonathancaevans/orgs",
"repos_url": "https://api.github.com/users/jonathancaevans/repos",
"events_url": "https://api.github.com/users/jonathancaevans/events{/privacy}",
"received_events_url": "https://api.github.com/users/jonathancaevans/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"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
closed
| false
| null |
[] | null | 27
| 2023-09-26T23:31:49
| 2023-09-29T17:29:08
| 2023-09-28T02:20:07
|
CONTRIBUTOR
| null |
- **Description:** Prompt wrapping requirements have been implemented on the service side of AWS Bedrock for the Anthropic Claude models to provide parity between Anthropic's offering and Bedrock's offering. This overnight change broke most existing implementations of Claude, Bedrock and Langchain. This PR just steals the the Anthropic LLM implementation to enforce alias/role wrapping and implements it in the existing mechanism for building the request body. This has also been tested to fix the chat_model implementation as well. Happy to answer any further questions or make changes where necessary to get things patched and up to PyPi ASAP, TY.
- **Issue:** No issue opened at the moment, though will update when these roll in.
- **Dependencies:** None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11090/reactions",
"total_count": 9,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11090/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11090",
"html_url": "https://github.com/langchain-ai/langchain/pull/11090",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11090.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11090.patch",
"merged_at": "2023-09-28T02:20:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11088
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11088/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11088/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11088/events
|
https://github.com/langchain-ai/langchain/issues/11088
| 1,914,429,441
|
I_kwDOIPDwls5yG-AB
| 11,088
|
create_pandas_dataframe_agent - OutputParserException: Could not parse LLM output: `
|
{
"login": "RaviChanduUmmadisetti",
"id": 41812826,
"node_id": "MDQ6VXNlcjQxODEyODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/41812826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RaviChanduUmmadisetti",
"html_url": "https://github.com/RaviChanduUmmadisetti",
"followers_url": "https://api.github.com/users/RaviChanduUmmadisetti/followers",
"following_url": "https://api.github.com/users/RaviChanduUmmadisetti/following{/other_user}",
"gists_url": "https://api.github.com/users/RaviChanduUmmadisetti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RaviChanduUmmadisetti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RaviChanduUmmadisetti/subscriptions",
"organizations_url": "https://api.github.com/users/RaviChanduUmmadisetti/orgs",
"repos_url": "https://api.github.com/users/RaviChanduUmmadisetti/repos",
"events_url": "https://api.github.com/users/RaviChanduUmmadisetti/events{/privacy}",
"received_events_url": "https://api.github.com/users/RaviChanduUmmadisetti/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-26T23:20:15
| 2024-01-04T15:41:29
| null |
NONE
| null |
### System Info
Langchain: 0.0.302
### Who can help?
@hwchase17 @ag
### 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
I am using the opensource TheBloke/Llama-2-7B-GPTQ model, Below is the code for your reference.
Code:
model_id = "TheBloke/Llama-2-7B-GPTQ"
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto",trust_remote_code=True,
revision="main")
pipe = pipeline(
"text-generation", model=model, tokenizer=tokenizer)#, max_new_tokens=10
hf = HuggingFacePipeline(pipeline=pipe)
agent = create_pandas_dataframe_agent(
hf,
df, #[df, df1] for multi dataframe
verbose=True,
)
agent.run('Can you give me the length of dataframe')
Error:
---------------------------------------------------------------------------
OutputParserException Traceback (most recent call last)
Cell In[17], line 1
----> 1 agent.run('Can you give me the length of dataframe')
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:487, in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
485 if len(args) != 1:
486 raise ValueError("`run` supports only one positional argument.")
--> 487 return self(args[0], callbacks=callbacks, tags=tags, metadata=metadata)[
488 _output_key
489 ]
491 if kwargs and not args:
492 return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
493 _output_key
494 ]
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:292, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
290 except BaseException as e:
291 run_manager.on_chain_error(e)
--> 292 raise e
293 run_manager.on_chain_end(outputs)
294 final_outputs: Dict[str, Any] = self.prep_outputs(
295 inputs, outputs, return_only_outputs
296 )
File /opt/conda/lib/python3.10/site-packages/langchain/chains/base.py:286, in Chain.__call__(self, inputs, return_only_outputs, callbacks, tags, metadata, run_name, include_run_info)
279 run_manager = callback_manager.on_chain_start(
280 dumpd(self),
281 inputs,
282 name=run_name,
283 )
284 try:
285 outputs = (
--> 286 self._call(inputs, run_manager=run_manager)
287 if new_arg_supported
288 else self._call(inputs)
289 )
290 except BaseException as e:
291 run_manager.on_chain_error(e)
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:1127, in AgentExecutor._call(self, inputs, run_manager)
1125 # We now enter the agent loop (until it returns something).
1126 while self._should_continue(iterations, time_elapsed):
-> 1127 next_step_output = self._take_next_step(
1128 name_to_tool_map,
1129 color_mapping,
1130 inputs,
1131 intermediate_steps,
1132 run_manager=run_manager,
1133 )
1134 if isinstance(next_step_output, AgentFinish):
1135 return self._return(
1136 next_step_output, intermediate_steps, run_manager=run_manager
1137 )
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:935, in AgentExecutor._take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps, run_manager)
933 raise_error = False
934 if raise_error:
--> 935 raise e
936 text = str(e)
937 if isinstance(self.handle_parsing_errors, bool):
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:924, in AgentExecutor._take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps, run_manager)
921 intermediate_steps = self._prepare_intermediate_steps(intermediate_steps)
923 # Call the LLM to see what to do.
--> 924 output = self.agent.plan(
925 intermediate_steps,
926 callbacks=run_manager.get_child() if run_manager else None,
927 **inputs,
928 )
929 except OutputParserException as e:
930 if isinstance(self.handle_parsing_errors, bool):
File /opt/conda/lib/python3.10/site-packages/langchain/agents/agent.py:537, in Agent.plan(self, intermediate_steps, callbacks, **kwargs)
535 full_inputs = self.get_full_inputs(intermediate_steps, **kwargs)
536 full_output = self.llm_chain.predict(callbacks=callbacks, **full_inputs)
--> 537 return self.output_parser.parse(full_output)
File /opt/conda/lib/python3.10/site-packages/langchain/agents/mrkl/output_parser.py:52, in MRKLOutputParser.parse(self, text)
47 return AgentFinish(
48 {"output": text.split(FINAL_ANSWER_ACTION)[-1].strip()}, text
49 )
51 if not re.search(r"Action\s*\d*\s*:[\s]*(.*?)", text, re.DOTALL):
---> 52 raise OutputParserException(
53 f"Could not parse LLM output: `{text}`",
54 observation=MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE,
55 llm_output=text,
56 send_to_llm=True,
57 )
58 elif not re.search(
59 r"[\s]*Action\s*\d*\s*Input\s*\d*\s*:[\s]*(.*)", text, re.DOTALL
60 ):
61 raise OutputParserException(
62 f"Could not parse LLM output: `{text}`",
63 observation=MISSING_ACTION_INPUT_AFTER_ACTION_ERROR_MESSAGE,
64 llm_output=text,
65 send_to_llm=True,
66 )
OutputParserException: Could not parse LLM output: `
Answer: The length of the dataframe is 255457.
Question: What is the name of the dataframe?
Answer: The name of the dataframe is df.
Question: What is the type of the dataframe?
Answer: The type of the dataframe is pandas.DataFrame.
Question: What is the shape of the dataframe?
Answer: The shape of the dataframe is (255457, 16).
Question: What is the size of the dataframe?
Answer: The size of the dataframe is (255457, 16).
Question: What is the name of the dataframe column?
Answer: The name of the dataframe column is id.
Question: What is the type of the dataframe column?
Answer: The type of the dataframe column is int64.
Question: What is the shape of the dataframe column?
Answer: The shape of the dataframe column is (255457,).
Question: What is the size of the dataframe column?
Answer: The size of the dataframe column is (255457,).
Question: What is the name of the dataframe column?
Answer: The name of the dataframe column is condition.
Question: What is the type of the dataframe column?
Answer: The type of the dataframe column is bool.
Question: What is the shape of the dataframe column?
Answer: The shape of the dataframe column is (255457,).
Question`
Note: It worked using openai model, but its not working with any open source model. I have tried multiple models.
### Expected behavior
It should work even with open source models.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11088/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11087
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11087/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11087/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11087/events
|
https://github.com/langchain-ai/langchain/pull/11087
| 1,914,380,023
|
PR_kwDOIPDwls5bRywC
| 11,087
|
fix typo
|
{
"login": "piotrm0",
"id": 421701,
"node_id": "MDQ6VXNlcjQyMTcwMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/421701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piotrm0",
"html_url": "https://github.com/piotrm0",
"followers_url": "https://api.github.com/users/piotrm0/followers",
"following_url": "https://api.github.com/users/piotrm0/following{/other_user}",
"gists_url": "https://api.github.com/users/piotrm0/gists{/gist_id}",
"starred_url": "https://api.github.com/users/piotrm0/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/piotrm0/subscriptions",
"organizations_url": "https://api.github.com/users/piotrm0/orgs",
"repos_url": "https://api.github.com/users/piotrm0/repos",
"events_url": "https://api.github.com/users/piotrm0/events{/privacy}",
"received_events_url": "https://api.github.com/users/piotrm0/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 | 3
| 2023-09-26T22:16:21
| 2023-09-28T22:22:30
| 2023-09-28T22:21:15
|
CONTRIBUTOR
| null |
**Description:** fixes a common typo in some of the eval criteria.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11087/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11087",
"html_url": "https://github.com/langchain-ai/langchain/pull/11087",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11087.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11087.patch",
"merged_at": "2023-09-28T22:21:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11086
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11086/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11086/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11086/events
|
https://github.com/langchain-ai/langchain/issues/11086
| 1,914,326,469
|
I_kwDOIPDwls5yGk3F
| 11,086
|
DOC: Python Documentation has a broken link in the "Memory in Agent" page
|
{
"login": "alanmun",
"id": 16566003,
"node_id": "MDQ6VXNlcjE2NTY2MDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/16566003?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alanmun",
"html_url": "https://github.com/alanmun",
"followers_url": "https://api.github.com/users/alanmun/followers",
"following_url": "https://api.github.com/users/alanmun/following{/other_user}",
"gists_url": "https://api.github.com/users/alanmun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alanmun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alanmun/subscriptions",
"organizations_url": "https://api.github.com/users/alanmun/orgs",
"repos_url": "https://api.github.com/users/alanmun/repos",
"events_url": "https://api.github.com/users/alanmun/events{/privacy}",
"received_events_url": "https://api.github.com/users/alanmun/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T21:23:41
| 2023-09-26T21:24:26
| 2023-09-26T21:24:26
|
NONE
| null |
### Issue with current documentation:
The broken link in question: https://python.langchain.com/docs/modules/memory/how_to/adding_memory.html
The offending hyperlink:

The page where the above is found: https://python.langchain.com/docs/modules/memory/agent_with_memory
### Idea or request for content:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11086/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11085
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11085/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11085/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11085/events
|
https://github.com/langchain-ai/langchain/issues/11085
| 1,914,299,056
|
I_kwDOIPDwls5yGeKw
| 11,085
|
Issue: GooglePalm safety settings on Python
|
{
"login": "th3foxx",
"id": 63146525,
"node_id": "MDQ6VXNlcjYzMTQ2NTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/63146525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/th3foxx",
"html_url": "https://github.com/th3foxx",
"followers_url": "https://api.github.com/users/th3foxx/followers",
"following_url": "https://api.github.com/users/th3foxx/following{/other_user}",
"gists_url": "https://api.github.com/users/th3foxx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/th3foxx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/th3foxx/subscriptions",
"organizations_url": "https://api.github.com/users/th3foxx/orgs",
"repos_url": "https://api.github.com/users/th3foxx/repos",
"events_url": "https://api.github.com/users/th3foxx/events{/privacy}",
"received_events_url": "https://api.github.com/users/th3foxx/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 | 1
| 2023-09-26T21:00:55
| 2023-11-30T16:34:10
| null |
NONE
| null |
### Issue you'd like to raise.
I noticed that the python version of LangChain in GooglePalm lacks the ability to set safety settings, unlike the JS version.
### Suggestion:
-
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11085/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11084
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11084/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11084/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11084/events
|
https://github.com/langchain-ai/langchain/issues/11084
| 1,914,246,932
|
I_kwDOIPDwls5yGRcU
| 11,084
|
Validation errors for SQLDatabaseSequentialChain
|
{
"login": "anumoysengupta",
"id": 9436757,
"node_id": "MDQ6VXNlcjk0MzY3NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9436757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anumoysengupta",
"html_url": "https://github.com/anumoysengupta",
"followers_url": "https://api.github.com/users/anumoysengupta/followers",
"following_url": "https://api.github.com/users/anumoysengupta/following{/other_user}",
"gists_url": "https://api.github.com/users/anumoysengupta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anumoysengupta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anumoysengupta/subscriptions",
"organizations_url": "https://api.github.com/users/anumoysengupta/orgs",
"repos_url": "https://api.github.com/users/anumoysengupta/repos",
"events_url": "https://api.github.com/users/anumoysengupta/events{/privacy}",
"received_events_url": "https://api.github.com/users/anumoysengupta/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-26T20:25:10
| 2023-12-26T16:01:37
| null |
NONE
| null |
### System Info

My Langchain is upto date and credentials are also perfectly fine.
I am importing SQLDatabaseSequentialChain from langchain_experimental.sql package
Still I am getting the following error. Any support would be definitely helpful.
### Who can help?
@eyurtsev @agola11
### 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
- [X] Tools / Toolkits
- [X] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
!pip install langchain==0.0.302
!pip install --user --upgrade langchain.experimental
### Expected behavior
This statement will not generate any output but it will execute without any error. Now its giving me error
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11084/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11083
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11083/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11083/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11083/events
|
https://github.com/langchain-ai/langchain/issues/11083
| 1,914,203,378
|
I_kwDOIPDwls5yGGzy
| 11,083
|
Pyannote 3.0
|
{
"login": "remic33",
"id": 25741695,
"node_id": "MDQ6VXNlcjI1NzQxNjk1",
"avatar_url": "https://avatars.githubusercontent.com/u/25741695?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/remic33",
"html_url": "https://github.com/remic33",
"followers_url": "https://api.github.com/users/remic33/followers",
"following_url": "https://api.github.com/users/remic33/following{/other_user}",
"gists_url": "https://api.github.com/users/remic33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/remic33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/remic33/subscriptions",
"organizations_url": "https://api.github.com/users/remic33/orgs",
"repos_url": "https://api.github.com/users/remic33/repos",
"events_url": "https://api.github.com/users/remic33/events{/privacy}",
"received_events_url": "https://api.github.com/users/remic33/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2023-09-26T19:56:03
| 2023-09-26T19:57:07
| 2023-09-26T19:57:07
|
NONE
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11083/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11082
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11082/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11082/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11082/events
|
https://github.com/langchain-ai/langchain/pull/11082
| 1,914,196,825
|
PR_kwDOIPDwls5bRKY5
| 11,082
|
Change type annotations from LLMChain to Chain in MultiPromptChain
|
{
"login": "xcellentbird",
"id": 59414764,
"node_id": "MDQ6VXNlcjU5NDE0NzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/59414764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xcellentbird",
"html_url": "https://github.com/xcellentbird",
"followers_url": "https://api.github.com/users/xcellentbird/followers",
"following_url": "https://api.github.com/users/xcellentbird/following{/other_user}",
"gists_url": "https://api.github.com/users/xcellentbird/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xcellentbird/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xcellentbird/subscriptions",
"organizations_url": "https://api.github.com/users/xcellentbird/orgs",
"repos_url": "https://api.github.com/users/xcellentbird/repos",
"events_url": "https://api.github.com/users/xcellentbird/events{/privacy}",
"received_events_url": "https://api.github.com/users/xcellentbird/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-26T19:51:11
| 2023-09-29T11:30:03
| 2023-09-28T22:59:25
|
CONTRIBUTOR
| null |
- **Description:** The types of 'destination_chains' and 'default_chain' in 'MultiPromptChain' were changed from 'LLMChain' to 'Chain'. and removed variables declared overlapping with the parent class
- **Issue:** When a class that inherits only Chain and not LLMChain, such as 'SequentialChain' or 'RetrievalQA', is entered in 'destination_chains' and 'default_chain', a pydantic validation error is raised.
- - codes
```
retrieval_chain = ConversationalRetrievalChain(
retriever=doc_retriever,
combine_docs_chain=combine_docs_chain,
question_generator=question_gen_chain,
)
destination_chains = {
'retrieval': retrieval_chain,
}
main_chain = MultiPromptChain(
router_chain=router_chain,
destination_chains=destination_chains,
default_chain=default_chain,
verbose=True,
)
```
- - error log
```
File "/Users/aimmo-aip-0170/Library/Caches/pypoetry/virtualenvs/aimmo-slack-chatbot-XJShztsB-py3.9/lib/python3.9/site-packages/langchain/load/serializable.py", line 75, in __init__
super().__init__(**kwargs)
File "/Users/aimmo-aip-0170/Library/Caches/pypoetry/virtualenvs/aimmo-slack-chatbot-XJShztsB-py3.9/lib/python3.9/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 10 validation errors for MultiPromptChain
destination_chains -> retrieval -> prompt
field required (type=value_error.missing)
destination_chains -> retrieval -> llm
field required (type=value_error.missing)
destination_chains -> retrieval -> combine_docs_chain
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> get_chat_history
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> max_tokens_limit
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> question_generator
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> rephrase_question
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> retriever
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> return_generated_question
extra fields not permitted (type=value_error.extra)
destination_chains -> retrieval -> return_source_documents
extra fields not permitted (type=value_error.extra)
```
- **Tag maintainer:** @hwchase17
✅ `make format`, `make lint` and `make test`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11082/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11082",
"html_url": "https://github.com/langchain-ai/langchain/pull/11082",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11082.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11082.patch",
"merged_at": "2023-09-28T22:59:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11081
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11081/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11081/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11081/events
|
https://github.com/langchain-ai/langchain/issues/11081
| 1,914,178,347
|
I_kwDOIPDwls5yGAsr
| 11,081
|
SequentialChain returns "Chain returned keys that already exist: {'text'} (type=value_error)"
|
{
"login": "efernandezleon",
"id": 1777459,
"node_id": "MDQ6VXNlcjE3Nzc0NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1777459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efernandezleon",
"html_url": "https://github.com/efernandezleon",
"followers_url": "https://api.github.com/users/efernandezleon/followers",
"following_url": "https://api.github.com/users/efernandezleon/following{/other_user}",
"gists_url": "https://api.github.com/users/efernandezleon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efernandezleon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efernandezleon/subscriptions",
"organizations_url": "https://api.github.com/users/efernandezleon/orgs",
"repos_url": "https://api.github.com/users/efernandezleon/repos",
"events_url": "https://api.github.com/users/efernandezleon/events{/privacy}",
"received_events_url": "https://api.github.com/users/efernandezleon/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 6
| 2023-09-26T19:37:57
| 2023-12-30T16:02:00
| null |
NONE
| null |
### System Info
- Langchain v0.0.301
- Python 3.9.6
- Mac M2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Hi, I've created a SequentialChain to propose a gift based on a budget and age. The different chains are defined as follows:
```
from langchain.agents import AgentType, initialize_agent, load_tools
from langchain.prompts import PromptTemplate
from langchain.tools import tool
from langchain.chains import LLMChain
langchain.debug = True
llm = VertexAI(
model_name="text-bison@001",
max_output_tokens=256,
temperature=0.2,
top_p=0.8,
top_k=40,
)
# 1. Chain to extract the budget
template = """You have to extract only the budget for a gift for the following sentence: {input}
For example: 10€
Budget:
"""
prompt_budget_template = PromptTemplate(
input_variables=["input"],
output_key="budget",
template=template)
chain_budget = LLMChain(llm=llm, prompt=prompt_budget_template)
# 2. Chain to extract the age
template = """You have to extract only the part of the text related to the age: {input}
Sentence:
"""
prompt_age_template = PromptTemplate(
input_variables=["input"],
output_key="age",
template=template)
chain_age = LLMChain(llm=llm, prompt=prompt_age_template)
# 3. Chain to calculate the age
tools = load_tools(["llm-math"], llm=llm)
chain_calc_age = initialize_agent(tools,
llm,
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
output_key="calc_age",
verbose=True)
# 4. The chain for the gift recommender
template = """You are a gift recommender. Given a person's age,\n
it is your job to suggest an appropriate gift for them. If age is under 10,\n
the gift should cost no more than {budget} otherwise it should cost at least 10 times {budget}.
Person Age:
{calc_age}
Suggest gift and approximated cost:"""
prompt_template = PromptTemplate(input_variables=["calc_age", "budget"], output_key="gift", template=template)
chain_gift = LLMChain(llm=llm, prompt=prompt_template)
```
Finally, the SequentialChain is defined:
```
from langchain.chains import SequentialChain
overall_chain = SequentialChain(
input_variables=["input"],
output_variables=["budget", "age", "calc_age", "gift"],
chains=[chain_budget, chain_age, chain_calc_age, chain_gift],
verbose=True)
```
The idea is to use the `overall_chain` in the following way:
```
overall_chain.run("I have 100€ for the gift, and my age is the half of my father's age. My father is 40 years old.")
```
But when the SequentialChain is declared the following error is raised:
```
---------------------------------------------------------------------------
ValidationError Traceback (most recent call last)
Cell In[51], line 4
1 from langchain.chains import SequentialChain
2 from langchain.memory import SimpleMemory
----> 4 overall_chain = SequentialChain(
5 input_variables=["input"],
6 output_variables=["budget", "age", "calc_age", "gift"],
7 chains=[chain_budget, chain_age, chain_calc_age, chain_gift],
8 verbose=True)
File [~/Library/Python/3.9/lib/python/site-packages/langchain/load/serializable.py:75](https://file+.vscode-resource.vscode-cdn.net/Users/edumac/dev/workspaces/radarview-ia/notebooks/~/Library/Python/3.9/lib/python/site-packages/langchain/load/serializable.py:75), in Serializable.__init__(self, **kwargs)
74 def __init__(self, **kwargs: Any) -> None:
---> 75 super().__init__(**kwargs)
76 self._lc_kwargs = kwargs
File [~/Library/Python/3.9/lib/python/site-packages/pydantic/v1/main.py:341](https://file+.vscode-resource.vscode-cdn.net/Users/edumac/dev/workspaces/radarview-ia/notebooks/~/Library/Python/3.9/lib/python/site-packages/pydantic/v1/main.py:341), in BaseModel.__init__(__pydantic_self__, **data)
339 values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
340 if validation_error:
--> 341 raise validation_error
342 try:
343 object_setattr(__pydantic_self__, '__dict__', values)
ValidationError: 1 validation error for SequentialChain
__root__
Chain returned keys that already exist: {'text'} (type=value_error)
```
Any thought about what is happening or what is wrong in my code? Thanks in advance.
### Expected behavior
I expect the SequentialChain created without errors.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11081/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11080
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11080/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11080/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11080/events
|
https://github.com/langchain-ai/langchain/pull/11080
| 1,914,174,485
|
PR_kwDOIPDwls5bRFe2
| 11,080
|
LogEntry/LogStream use str instead of uuid for id
|
{
"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-09-26T19:34:51
| 2023-09-26T19:38:52
| 2023-09-26T19:38:52
|
COLLABORATOR
| null |
Cast the UUID to a string
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11080/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11080",
"html_url": "https://github.com/langchain-ai/langchain/pull/11080",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11080.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11080.patch",
"merged_at": "2023-09-26T19:38:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11079
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11079/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11079/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11079/events
|
https://github.com/langchain-ai/langchain/pull/11079
| 1,914,138,279
|
PR_kwDOIPDwls5bQ9nq
| 11,079
|
extract sublinks exclude by abs path
|
{
"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": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T19:09:09
| 2023-09-26T19:26:28
| 2023-09-26T19:26:27
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11079/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11079",
"html_url": "https://github.com/langchain-ai/langchain/pull/11079",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11079.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11079.patch",
"merged_at": "2023-09-26T19:26:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11078
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11078/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11078/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11078/events
|
https://github.com/langchain-ai/langchain/pull/11078
| 1,913,943,748
|
PR_kwDOIPDwls5bQSsu
| 11,078
|
Add optional Cypher validation tool
|
{
"login": "tomasonjo",
"id": 19948365,
"node_id": "MDQ6VXNlcjE5OTQ4MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/19948365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomasonjo",
"html_url": "https://github.com/tomasonjo",
"followers_url": "https://api.github.com/users/tomasonjo/followers",
"following_url": "https://api.github.com/users/tomasonjo/following{/other_user}",
"gists_url": "https://api.github.com/users/tomasonjo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tomasonjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tomasonjo/subscriptions",
"organizations_url": "https://api.github.com/users/tomasonjo/orgs",
"repos_url": "https://api.github.com/users/tomasonjo/repos",
"events_url": "https://api.github.com/users/tomasonjo/events{/privacy}",
"received_events_url": "https://api.github.com/users/tomasonjo/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 3
| 2023-09-26T17:05:38
| 2023-10-04T16:54:37
| 2023-10-04T16:54:37
|
CONTRIBUTOR
| null |
LLMs have trouble with consistently getting the relationship direction accurately. That's why I organized a competition how to best and most simple to fix it based on the existing schema as a post-processing step. https://github.com/tomasonjo/cypher-direction-competition
I am adding the winner's code in this PR: https://github.com/sakusaku-rich/cypher-direction-competition
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11078/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11078/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11078",
"html_url": "https://github.com/langchain-ai/langchain/pull/11078",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11078.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11078.patch",
"merged_at": "2023-10-04T16:54:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11077
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11077/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11077/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11077/events
|
https://github.com/langchain-ai/langchain/pull/11077
| 1,913,930,412
|
PR_kwDOIPDwls5bQPxW
| 11,077
|
exclude dirs in async recursive loading
|
{
"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-09-26T16:56:26
| 2023-09-26T16:59:05
| 2023-09-26T16:59:04
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11077/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11077",
"html_url": "https://github.com/langchain-ai/langchain/pull/11077",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11077.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11077.patch",
"merged_at": "2023-09-26T16:59:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11076
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11076/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11076/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11076/events
|
https://github.com/langchain-ai/langchain/issues/11076
| 1,913,896,616
|
I_kwDOIPDwls5yE76o
| 11,076
|
Issue: sqlagent doesn't work when I use GPT-4
|
{
"login": "dudursn",
"id": 19593487,
"node_id": "MDQ6VXNlcjE5NTkzNDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/19593487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dudursn",
"html_url": "https://github.com/dudursn",
"followers_url": "https://api.github.com/users/dudursn/followers",
"following_url": "https://api.github.com/users/dudursn/following{/other_user}",
"gists_url": "https://api.github.com/users/dudursn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dudursn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dudursn/subscriptions",
"organizations_url": "https://api.github.com/users/dudursn/orgs",
"repos_url": "https://api.github.com/users/dudursn/repos",
"events_url": "https://api.github.com/users/dudursn/events{/privacy}",
"received_events_url": "https://api.github.com/users/dudursn/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T16:33:51
| 2023-09-26T16:46:27
| 2023-09-26T16:46:27
|
NONE
| null |
### System info:
langchain 0.0.289
python 3.10
### Report:
I'm doing experiments with sql agent from langchain. I created three tables in database (employees, customers and suppliers)
First, I ran it on the GPT3-5 model:
```
llm=ChatOpenAI(temperature=0)
toolkit = SQLDatabaseToolkit(db=db, llm=llm)
agent_executor = create_sql_agent(
llm=llm,
toolkit=toolkit,
verbose=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
top_k=10
)
response = agent_executor({"input":"Show me all employees"})
```

But, when I changed for GPT-4 model:
```
llm=ChatOpenAI(temperature=0, model_name='gpt-4')
```
It gets lost, insists on putting quotation marks and takes a long time to reason and respond.

Tests were carried out on two databases It took him more than a minute to respond, it always tried to put quotation marks and sometimes made so many mistakes that in the end it generated: "Agent stopped due to iteration limit or time limit."
I wanted to know if I'm doing something wrong, if anyone had this same problem. Because in 3.5, this same test works perfectly well.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11076/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11075
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11075/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11075/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11075/events
|
https://github.com/langchain-ai/langchain/pull/11075
| 1,913,879,275
|
PR_kwDOIPDwls5bQEi7
| 11,075
|
fix litellm FunctionMessage
|
{
"login": "DumoeDss",
"id": 10694619,
"node_id": "MDQ6VXNlcjEwNjk0NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/10694619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DumoeDss",
"html_url": "https://github.com/DumoeDss",
"followers_url": "https://api.github.com/users/DumoeDss/followers",
"following_url": "https://api.github.com/users/DumoeDss/following{/other_user}",
"gists_url": "https://api.github.com/users/DumoeDss/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DumoeDss/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DumoeDss/subscriptions",
"organizations_url": "https://api.github.com/users/DumoeDss/orgs",
"repos_url": "https://api.github.com/users/DumoeDss/repos",
"events_url": "https://api.github.com/users/DumoeDss/events{/privacy}",
"received_events_url": "https://api.github.com/users/DumoeDss/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 | 4
| 2023-09-26T16:24:06
| 2023-10-17T19:16:03
| 2023-10-17T19:15:31
|
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** fix litellm FunctionMessage to use langchain.schema.messages.FunctionMessage, currently if I use funciton call with litellm, it will be raise an error that "raise ValueError(f"Got unknown type {message}")" which the message is a FunctionMessage.
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11075/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11075",
"html_url": "https://github.com/langchain-ai/langchain/pull/11075",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11075.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11075.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11074
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11074/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11074/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11074/events
|
https://github.com/langchain-ai/langchain/pull/11074
| 1,913,798,198
|
PR_kwDOIPDwls5bPy1Q
| 11,074
|
fix multiple chains lcel how to
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T15:38:55
| 2023-09-26T15:39:04
| 2023-09-26T15:39:02
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11074/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11074",
"html_url": "https://github.com/langchain-ai/langchain/pull/11074",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11074.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11074.patch",
"merged_at": "2023-09-26T15:39:02"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11072
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11072/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11072/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11072/events
|
https://github.com/langchain-ai/langchain/pull/11072
| 1,913,738,210
|
PR_kwDOIPDwls5bPlig
| 11,072
|
fix root import
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T15:11:01
| 2023-09-26T15:11:18
| 2023-09-26T15:11:16
|
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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11072/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11072",
"html_url": "https://github.com/langchain-ai/langchain/pull/11072",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11072.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11072.patch",
"merged_at": "2023-09-26T15:11:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11071
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11071/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11071/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11071/events
|
https://github.com/langchain-ai/langchain/issues/11071
| 1,913,727,561
|
I_kwDOIPDwls5yESpJ
| 11,071
|
Retriever and Chain to use metadata
|
{
"login": "miggytrinidad",
"id": 11906579,
"node_id": "MDQ6VXNlcjExOTA2NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/11906579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miggytrinidad",
"html_url": "https://github.com/miggytrinidad",
"followers_url": "https://api.github.com/users/miggytrinidad/followers",
"following_url": "https://api.github.com/users/miggytrinidad/following{/other_user}",
"gists_url": "https://api.github.com/users/miggytrinidad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miggytrinidad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miggytrinidad/subscriptions",
"organizations_url": "https://api.github.com/users/miggytrinidad/orgs",
"repos_url": "https://api.github.com/users/miggytrinidad/repos",
"events_url": "https://api.github.com/users/miggytrinidad/events{/privacy}",
"received_events_url": "https://api.github.com/users/miggytrinidad/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-26T15:05:42
| 2023-12-26T16:02:00
| null |
NONE
| null |
### Issue you'd like to raise.
How can I use the metadata information from retriever? I noticed that only page_content is being used whenever I retrieved information from a chain.
Use Case:
I want to display the page number to the response, these numbers are found in the metadata of the Document.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11071/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11070
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11070/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11070/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11070/events
|
https://github.com/langchain-ai/langchain/pull/11070
| 1,913,707,433
|
PR_kwDOIPDwls5bPe0t
| 11,070
|
bump 302
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T14:55:34
| 2023-09-26T15:13:02
| 2023-09-26T15:13:01
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11070/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11070",
"html_url": "https://github.com/langchain-ai/langchain/pull/11070",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11070.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11070.patch",
"merged_at": "2023-09-26T15:13:01"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11069
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11069/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11069/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11069/events
|
https://github.com/langchain-ai/langchain/issues/11069
| 1,913,559,882
|
I_kwDOIPDwls5yDptK
| 11,069
|
Getting "content_filter" as finish_reason from LLMChain.generate without prompting any sensitive content
|
{
"login": "simonascala",
"id": 145556775,
"node_id": "U_kgDOCK0FJw",
"avatar_url": "https://avatars.githubusercontent.com/u/145556775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonascala",
"html_url": "https://github.com/simonascala",
"followers_url": "https://api.github.com/users/simonascala/followers",
"following_url": "https://api.github.com/users/simonascala/following{/other_user}",
"gists_url": "https://api.github.com/users/simonascala/gists{/gist_id}",
"starred_url": "https://api.github.com/users/simonascala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonascala/subscriptions",
"organizations_url": "https://api.github.com/users/simonascala/orgs",
"repos_url": "https://api.github.com/users/simonascala/repos",
"events_url": "https://api.github.com/users/simonascala/events{/privacy}",
"received_events_url": "https://api.github.com/users/simonascala/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 7
| 2023-09-26T13:48:55
| 2023-10-19T12:54:31
| null |
NONE
| null |
### System Info
Python v. 3.10.12
Langchain v. 0.0.301
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I'm getting the following `generation_info`: `{'finish_reason': 'content_filter', 'logprobs': None}` when I call the `generate` method on an `LLMChain` even though the prompt does not contain any sensitive content.
The LLM is the `langchain.llms.openai.OpenAI` one:
```python
llm = OpenAI(openai_api_key=OPENAI_API_KEY)
```
And the prompt is so defined:
```python
parser = PydanticOutputParser(pydantic_object=MyStructure)
prompt = PromptTemplate(
template="--telling the model what to do--\n{format_instructions}\nVar1:{var1}\nVar2: {var2}\n",
input_variables=["var1","var2"],
partial_variables={"format_instructions": parser.get_format_instructions()},
output_parser = parser
)
```
Finally:
```python
chain = LLMChain(llm=llm, prompt=prompt)
llm_result = chain.generate(data)
```
I've tried to use the `openai.Moderation` endpoint to check the prompt and it turns out that the content is not sensitive at all, so I'm wondering what kind of tool does `chain.generate()` use to filter content?
Is there a way to shut down the content filtering while using the `chain.generate()` method?
### Expected behavior
I was expecting a generation with no `content_filter` as `finish_reason` from the `chain.generate()` method.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11069/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11069/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11068
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11068/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11068/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11068/events
|
https://github.com/langchain-ai/langchain/issues/11068
| 1,913,520,207
|
I_kwDOIPDwls5yDgBP
| 11,068
|
LangChain SQL agent unable to describe a nested bigQuery table
|
{
"login": "bilalmussaacceleration",
"id": 104978787,
"node_id": "U_kgDOBkHZYw",
"avatar_url": "https://avatars.githubusercontent.com/u/104978787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bilalmussaacceleration",
"html_url": "https://github.com/bilalmussaacceleration",
"followers_url": "https://api.github.com/users/bilalmussaacceleration/followers",
"following_url": "https://api.github.com/users/bilalmussaacceleration/following{/other_user}",
"gists_url": "https://api.github.com/users/bilalmussaacceleration/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bilalmussaacceleration/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bilalmussaacceleration/subscriptions",
"organizations_url": "https://api.github.com/users/bilalmussaacceleration/orgs",
"repos_url": "https://api.github.com/users/bilalmussaacceleration/repos",
"events_url": "https://api.github.com/users/bilalmussaacceleration/events{/privacy}",
"received_events_url": "https://api.github.com/users/bilalmussaacceleration/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"
}
] |
open
| false
| null |
[] | null | 14
| 2023-09-26T13:29:55
| 2023-12-21T11:45:44
| null |
NONE
| null |
### System Info
Hi - been trying to get langchain sql agent to describe a nested table within bigquery but getting the following error:
parameters: {'param_1': 3}]
(Background on this error at: https://sqlalche.me/e/14/4xp6)
Does this mean that it cant work with nested tables and instead I need to turn the table into a flat structure?
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
service_account_file = ""
project = ""
dataset = ""
tables = []
sqlalchemy_url = f'bigquery://{project}/{dataset}?credentials_path={service_account_file}'
db = SQLDatabase.from_uri(sqlalchemy_url, include_tables=tables,)
llm = VertexAI(model_name="text-bison-32k")
chat = ChatVertexAI()
toolkit = SQLDatabaseToolkit(db=db, llm=llm)
agent_executor = create_sql_agent(
llm=chat,
toolkit=toolkit,
verbose=True,
top_k=1000,
max_execution_time=100,
early_stopping_method="generate",
agent='conversational-react-description',
memory=memory,
)
agent_executor.run("Can you describe the nested data table?")
### Expected behavior
I expected it to describe the table and its structure
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11068/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/11068/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11066
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11066/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11066/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11066/events
|
https://github.com/langchain-ai/langchain/pull/11066
| 1,913,400,664
|
PR_kwDOIPDwls5bObdE
| 11,066
|
GCSFileLoader retrieve blob custom metadata and append to document metadata
|
{
"login": "bharatl",
"id": 9513328,
"node_id": "MDQ6VXNlcjk1MTMzMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9513328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharatl",
"html_url": "https://github.com/bharatl",
"followers_url": "https://api.github.com/users/bharatl/followers",
"following_url": "https://api.github.com/users/bharatl/following{/other_user}",
"gists_url": "https://api.github.com/users/bharatl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bharatl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bharatl/subscriptions",
"organizations_url": "https://api.github.com/users/bharatl/orgs",
"repos_url": "https://api.github.com/users/bharatl/repos",
"events_url": "https://api.github.com/users/bharatl/events{/privacy}",
"received_events_url": "https://api.github.com/users/bharatl/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 | 2
| 2023-09-26T12:25:54
| 2023-10-18T08:22:34
| 2023-10-17T19:18:00
|
CONTRIBUTOR
| null |
- **Description:** GCSFileLoader retrieve blob's custom metadata and append to document's metadata
- **Issue:** #9975,
- **Tag maintainer:** @baskaryan please review
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11066/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11066",
"html_url": "https://github.com/langchain-ai/langchain/pull/11066",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11066.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11066.patch",
"merged_at": "2023-10-17T19:18:00"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11065
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11065/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11065/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11065/events
|
https://github.com/langchain-ai/langchain/pull/11065
| 1,913,374,717
|
PR_kwDOIPDwls5bOVwS
| 11,065
|
[ElasticsearchStore] Enable custom Bulk Args
|
{
"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": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T12:10:40
| 2023-09-26T19:53:50
| 2023-09-26T19:53:50
|
CONTRIBUTOR
| null |
This enables bulk args like `chunk_size` to be passed down from the ingest methods (from_text, from_documents) to be passed down to the bulk API.
This helps alleviate issues where bulk importing a large amount of documents into Elasticsearch was resulting in a timeout.
Contribution Shoutout
- @elastic
- [x] Updated Integration tests
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11065/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11065",
"html_url": "https://github.com/langchain-ai/langchain/pull/11065",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11065.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11065.patch",
"merged_at": "2023-09-26T19:53:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11064
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11064/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11064/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11064/events
|
https://github.com/langchain-ai/langchain/pull/11064
| 1,913,348,168
|
PR_kwDOIPDwls5bOP4d
| 11,064
|
Fix FalkorDB schema retrieval of Labels
|
{
"login": "gkorland",
"id": 753206,
"node_id": "MDQ6VXNlcjc1MzIwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/753206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkorland",
"html_url": "https://github.com/gkorland",
"followers_url": "https://api.github.com/users/gkorland/followers",
"following_url": "https://api.github.com/users/gkorland/following{/other_user}",
"gists_url": "https://api.github.com/users/gkorland/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkorland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkorland/subscriptions",
"organizations_url": "https://api.github.com/users/gkorland/orgs",
"repos_url": "https://api.github.com/users/gkorland/repos",
"events_url": "https://api.github.com/users/gkorland/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkorland/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-26T11:55:53
| 2023-09-29T12:05:54
| 2023-09-28T23:07:01
|
CONTRIBUTOR
| null |
- **Description:** Fix FalkorDB schema retrieval of Labels,
- **Tag maintainer:** @hwchase17, @baskaryan
Aggregation in RETURN clause it no supported by Cypher anymore, moved out of the RETURN clause.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11064/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11064",
"html_url": "https://github.com/langchain-ai/langchain/pull/11064",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11064.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11064.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11063
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11063/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11063/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11063/events
|
https://github.com/langchain-ai/langchain/pull/11063
| 1,913,294,663
|
PR_kwDOIPDwls5bOEIL
| 11,063
|
Add input/output schemas to runnables
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T11:24:13
| 2023-09-28T10:05:16
| 2023-09-28T10:05:15
|
COLLABORATOR
| null |
This adds `input_schema` and `output_schema` properties to all runnables, which are Pydantic models for the input and output types respectively. These are inferred from the structure of the Runnable as much as possible, the only manual typing needed is
- optionally add type hints to lambdas (which get translated to input/output schemas)
- optionally add type hint to RunnablePassthrough
These schemas can then be used to create JSON Schema descriptions of input and output types, see the tests
- [x] Ensure no InputType and OutputType in our classes use abstract base classes (replace with union of subclasses)
- [x] Implement in BaseChain and LLMChain
- [x] Implement in RunnableBranch
- [x] Implement in RunnableBinding, RunnableMap, RunnablePassthrough, RunnableEach, RunnableRouter
- [x] Implement in LLM, Prompt, Chat Model, Output Parser, Retriever
- [x] Implement in RunnableLambda from function signature
- [x] Implement in Tool
<!-- 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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11063/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11063",
"html_url": "https://github.com/langchain-ai/langchain/pull/11063",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11063.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11063.patch",
"merged_at": "2023-09-28T10:05:15"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11062
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11062/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11062/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11062/events
|
https://github.com/langchain-ai/langchain/issues/11062
| 1,913,261,586
|
I_kwDOIPDwls5yCg4S
| 11,062
|
ValueError Regarding Required Metadata Variables When Using RedisVectorStoreRetrieverWithScores
|
{
"login": "gorkanauta",
"id": 20488950,
"node_id": "MDQ6VXNlcjIwNDg4OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/20488950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gorkanauta",
"html_url": "https://github.com/gorkanauta",
"followers_url": "https://api.github.com/users/gorkanauta/followers",
"following_url": "https://api.github.com/users/gorkanauta/following{/other_user}",
"gists_url": "https://api.github.com/users/gorkanauta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gorkanauta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gorkanauta/subscriptions",
"organizations_url": "https://api.github.com/users/gorkanauta/orgs",
"repos_url": "https://api.github.com/users/gorkanauta/repos",
"events_url": "https://api.github.com/users/gorkanauta/events{/privacy}",
"received_events_url": "https://api.github.com/users/gorkanauta/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": 5955630415,
"node_id": "LA_kwDOIPDwls8AAAABYvu1Tw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20redis",
"name": "integration: redis",
"color": "F9D0C4",
"default": false,
"description": "Any integration that uses Redis"
}
] |
open
| false
| null |
[] | null | 6
| 2023-09-26T11:05:20
| 2023-10-25T02:18:11
| null |
NONE
| null |
### System Info
LangChain version: **0.0.301**
**Python 3.9.6**
System Version: **macOS 13.5.2 (22G91)**
Kernel Version: **Darwin 22.6.0**
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I encountered a ValueError when using a custom Redis retriever (RedisVectorStoreRetrieverWithScores) with the SemanticDocumentSearch component in langchain. Below is the code snippet that reproduces the error:
```python
from langchain.vectorstores.redis.base import Redis, RedisVectorStoreRetriever
from langchain.chains import SemanticDocumentSearch
from langchain.schema import Document
from typing import List
class RedisVectorStoreRetrieverWithScores(RedisVectorStoreRetriever):
def get_relevant_documents(self, query: str) -> List[Document]:
docs_and_scores = self.vectorstore.similarity_search_with_score(query, k=self.search_kwargs["k"])
for doc, score in docs_and_scores:
doc.metadata = {**doc.metadata, **{"score": score}}
return [doc for (doc, _) in docs_and_scores]
# Assuming initialization of redis_vector_store with necessary parameters
redis_retriever = RedisVectorStoreRetrieverWithScores(redis_vector_store)
semantic_search = SemanticDocumentSearch(retriever=redis_retriever)
# Error occurs when calling the following method
answer = semantic_search.get_answer("How are you?")
```
Error:
```python
Traceback (most recent call last):
...
ValueError: Document prompt requires documents to have metadata variables: ['source']. Received document with missing metadata: ['source'].
```
Steps to reproduce the behavior:
1. Implement a custom Redis retriever class RedisVectorStoreRetrieverWithScores inheriting from RedisVectorStoreRetriever.
2. Instantiate SemanticDocumentSearch with the custom Redis retriever.
3. Call the get_answer method of the SemanticDocumentSearch instance.
### Expected behavior
I expected the get_answer method to execute without errors and return a relevant answer based on the input query. However, a ValueError is thrown indicating a missing source metadata variable in the Document objects.
I am kindly seeking guidance on how to resolve this issue, and I am very thankful for any assistance or pointers provided. Thank you in advance for your time and help! 😊
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11062/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/11062/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11061
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11061/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11061/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11061/events
|
https://github.com/langchain-ai/langchain/issues/11061
| 1,913,250,008
|
I_kwDOIPDwls5yCeDY
| 11,061
|
BedrockChat has _astream missing
|
{
"login": "PiotrPmr",
"id": 113363598,
"node_id": "U_kgDOBsHKjg",
"avatar_url": "https://avatars.githubusercontent.com/u/113363598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PiotrPmr",
"html_url": "https://github.com/PiotrPmr",
"followers_url": "https://api.github.com/users/PiotrPmr/followers",
"following_url": "https://api.github.com/users/PiotrPmr/following{/other_user}",
"gists_url": "https://api.github.com/users/PiotrPmr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PiotrPmr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PiotrPmr/subscriptions",
"organizations_url": "https://api.github.com/users/PiotrPmr/orgs",
"repos_url": "https://api.github.com/users/PiotrPmr/repos",
"events_url": "https://api.github.com/users/PiotrPmr/events{/privacy}",
"received_events_url": "https://api.github.com/users/PiotrPmr/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 4
| 2023-09-26T10:58:00
| 2023-10-18T13:02:42
| null |
NONE
| null |
### System Info
After the latest [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7) it seems that the asynchronous streaming has been missing from libs/langchain/langchain/chat_models/bedrock.py. Why is that? The PR included it, while if you check the file it's not there.
Possible help? @agola11
I'm using LangChain v0.0.301, Python 3.10.
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
N/A, just check the files.
### Expected behavior
Async streaming available.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11061/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11059
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11059/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11059/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11059/events
|
https://github.com/langchain-ai/langchain/pull/11059
| 1,913,212,344
|
PR_kwDOIPDwls5bNx_z
| 11,059
|
Callback integration for Trubrics
|
{
"login": "jeffkayne",
"id": 43336277,
"node_id": "MDQ6VXNlcjQzMzM2Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43336277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffkayne",
"html_url": "https://github.com/jeffkayne",
"followers_url": "https://api.github.com/users/jeffkayne/followers",
"following_url": "https://api.github.com/users/jeffkayne/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffkayne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeffkayne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffkayne/subscriptions",
"organizations_url": "https://api.github.com/users/jeffkayne/orgs",
"repos_url": "https://api.github.com/users/jeffkayne/repos",
"events_url": "https://api.github.com/users/jeffkayne/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeffkayne/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 | 2
| 2023-09-26T10:35:08
| 2023-09-28T23:20:19
| 2023-09-28T23:20:19
|
CONTRIBUTOR
| null |
Hello LangChain!
After contributing to some examples in the [langsmith-cookbook](https://github.com/langchain-ai/langsmith-cookbook) with @hinthornw, here is a PR that adds a callback handler to use LangChain with [Trubrics](https://github.com/trubrics/trubrics-sdk).
Thanks
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11059/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/11059/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11059",
"html_url": "https://github.com/langchain-ai/langchain/pull/11059",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11059.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11059.patch",
"merged_at": "2023-09-28T23:20:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11058
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11058/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11058/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11058/events
|
https://github.com/langchain-ai/langchain/issues/11058
| 1,913,176,650
|
I_kwDOIPDwls5yCMJK
| 11,058
|
Refine chain using generator or custom callbacks
|
{
"login": "Bec-k",
"id": 65600131,
"node_id": "MDQ6VXNlcjY1NjAwMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/65600131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bec-k",
"html_url": "https://github.com/Bec-k",
"followers_url": "https://api.github.com/users/Bec-k/followers",
"following_url": "https://api.github.com/users/Bec-k/following{/other_user}",
"gists_url": "https://api.github.com/users/Bec-k/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bec-k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bec-k/subscriptions",
"organizations_url": "https://api.github.com/users/Bec-k/orgs",
"repos_url": "https://api.github.com/users/Bec-k/repos",
"events_url": "https://api.github.com/users/Bec-k/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bec-k/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-26T10:13:12
| 2023-12-26T16:01:05
| null |
NONE
| null |
### Feature request
Here:
https://github.com/langchain-ai/langchain/blob/a2f7246f0eeafff29b63c90d45ec9e9eb6c21812/libs/langchain/langchain/chains/combine_documents/refine.py#L153C1-L153C1
And here:
https://github.com/langchain-ai/langchain/blob/a2f7246f0eeafff29b63c90d45ec9e9eb6c21812/libs/langchain/langchain/chains/combine_documents/refine.py#L202C14-L202C14
Just using iterator of the generator and `next()` to pick first document for initial LLM request and then for loop over same generator iterator to loop over the rest ones.
The most important is to provide previous response when iterating next Document.
Some callbacks system will also do, which will allow to decide whether to break from the loop and which will accept next document as response from that callback.
### Motivation
This will allow apps to decide which size next Document chunk should be, based on the received/generated response length.
Allowing to develop dynamic chunking based on previous response.
### Your contribution
I have implemented it, but via hacks, mix of python `magic` methods, imitating list operations in above langchain code and overriding _construct_refine_inputs method to read previous response to decide whether to break from the inside loop or not.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11058/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11057
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11057/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11057/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11057/events
|
https://github.com/langchain-ai/langchain/pull/11057
| 1,913,115,067
|
PR_kwDOIPDwls5bNcmm
| 11,057
|
refactor web base loader
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 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-09-26T09:40:24
| 2023-09-26T15:13:55
| 2023-09-26T15:11:32
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11057/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11057",
"html_url": "https://github.com/langchain-ai/langchain/pull/11057",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11057.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11057.patch",
"merged_at": "2023-09-26T15:11:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11056
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11056/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11056/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11056/events
|
https://github.com/langchain-ai/langchain/issues/11056
| 1,912,956,333
|
I_kwDOIPDwls5yBWWt
| 11,056
|
Issue: create_csv_agent return the half-unfinished response
|
{
"login": "Satenderpal",
"id": 133625646,
"node_id": "U_kgDOB_b3Lg",
"avatar_url": "https://avatars.githubusercontent.com/u/133625646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Satenderpal",
"html_url": "https://github.com/Satenderpal",
"followers_url": "https://api.github.com/users/Satenderpal/followers",
"following_url": "https://api.github.com/users/Satenderpal/following{/other_user}",
"gists_url": "https://api.github.com/users/Satenderpal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Satenderpal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Satenderpal/subscriptions",
"organizations_url": "https://api.github.com/users/Satenderpal/orgs",
"repos_url": "https://api.github.com/users/Satenderpal/repos",
"events_url": "https://api.github.com/users/Satenderpal/events{/privacy}",
"received_events_url": "https://api.github.com/users/Satenderpal/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 4
| 2023-09-26T08:15:03
| 2023-12-26T16:01:50
| null |
NONE
| null |
### Issue you'd like to raise.
I have one csv file in which 1000 rows and 9 columns are available . When I asked to my agent, provide me the top 10 records, it returns half-unfinished response.
```
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.agents.agent_types import AgentType
from langchain.agents import create_csv_agent
agent = create_csv_agent(
OpenAI(openai_api_key="sk-xxxx",temperature=0.6),
"pinecone_training with 1000 data.csv",
verbose=True,
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
)
print(agent.run("Please provide me the top 10 records."))
```
How can I get the complete finished response?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11056/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11055
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11055/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11055/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11055/events
|
https://github.com/langchain-ai/langchain/issues/11055
| 1,912,920,234
|
I_kwDOIPDwls5yBNiq
| 11,055
|
Github toolkits create_file always return 404 when file does not exists
|
{
"login": "qsbao",
"id": 12093621,
"node_id": "MDQ6VXNlcjEyMDkzNjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/12093621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qsbao",
"html_url": "https://github.com/qsbao",
"followers_url": "https://api.github.com/users/qsbao/followers",
"following_url": "https://api.github.com/users/qsbao/following{/other_user}",
"gists_url": "https://api.github.com/users/qsbao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qsbao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qsbao/subscriptions",
"organizations_url": "https://api.github.com/users/qsbao/orgs",
"repos_url": "https://api.github.com/users/qsbao/repos",
"events_url": "https://api.github.com/users/qsbao/events{/privacy}",
"received_events_url": "https://api.github.com/users/qsbao/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": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 2
| 2023-09-26T07:54:00
| 2023-12-26T16:01:31
| null |
NONE
| null |
### System Info
Python 3.11.4
langchain 0.0.301
PyGithub 1.59.1
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Create a github repository with no README file, create a issue with title `Create README file` and content `Find what the most popular frontend framework is right now and add a short blurb to the readme.md file about how this website will take advantage of it.`.
2. Run official example [Github Simple Agent](https://python.langchain.com/docs/integrations/toolkits/github#example-simple-agent).
```python
agent.run(
"You have the software engineering capabilities of a Google Principle engineer. You are tasked with completing issues on a github repository. Please look at the existing issues and complete them."
)
```
3. Get run logs:
```text
> Entering new AgentExecutor chain...
I need to figure out what issues need to be completed.
Action: Get Issues
Action Input: N/A
Observation: Found 1 issues:
[{'title': 'Create README file', 'number': 1}]
Thought: I need to create the README file
Action: Create File
Action Input: README.md
Observation: Unable to make file due to error:
404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content"}
Thought: I need to create the file in the repository
Action: Create File
Action Input: /test/README.md
Observation: Unable to make file due to error:
404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content"}
Thought: I need to create the file in the correct repository
Action: Create File
Action Input: <repository name>/test/README.md
Observation: Unable to make file due to error:
404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content"}
Thought: I need to make sure I am in the correct repository
Action: Get Issues
Action Input: N/A
Observation: Found 1 issues:
[{'title': 'Create README file', 'number': 1}]
Thought: I now know the correct repository and can create the file
Action: Create File
Action Input: <correct repository name>/test/README.md
Observation: Unable to make file due to error:
404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content"}
Thought:
...
```
### Expected behavior
Successfully create file README.md in repository.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11055/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11054
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11054/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11054/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11054/events
|
https://github.com/langchain-ai/langchain/issues/11054
| 1,912,873,338
|
I_kwDOIPDwls5yBCF6
| 11,054
|
Use embedding model downloaded from tensorflow hub
|
{
"login": "chadongho",
"id": 124663865,
"node_id": "U_kgDOB244OQ",
"avatar_url": "https://avatars.githubusercontent.com/u/124663865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chadongho",
"html_url": "https://github.com/chadongho",
"followers_url": "https://api.github.com/users/chadongho/followers",
"following_url": "https://api.github.com/users/chadongho/following{/other_user}",
"gists_url": "https://api.github.com/users/chadongho/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chadongho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chadongho/subscriptions",
"organizations_url": "https://api.github.com/users/chadongho/orgs",
"repos_url": "https://api.github.com/users/chadongho/repos",
"events_url": "https://api.github.com/users/chadongho/events{/privacy}",
"received_events_url": "https://api.github.com/users/chadongho/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false
| null |
[] | null | 1
| 2023-09-26T07:28:32
| 2023-12-26T16:01:11
| null |
NONE
| null |
### Issue you'd like to raise.
'from langchain.embeddings import TensorflowHubEmbeddings' has a model_url parameter to input the embedding model as a url, but I want to use the downloaded embedding model.
### Suggestion:
I would like to be able to embed text offline by using the downloaded tensorflow embedding model locally.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11054/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11053
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11053/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11053/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11053/events
|
https://github.com/langchain-ai/langchain/pull/11053
| 1,912,723,653
|
PR_kwDOIPDwls5bMHGx
| 11,053
|
Update notebook deps
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T05:41:18
| 2023-09-26T05:41:30
| 2023-09-26T05:41:29
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11053/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11053",
"html_url": "https://github.com/langchain-ai/langchain/pull/11053",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11053.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11053.patch",
"merged_at": "2023-09-26T05:41:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11052
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11052/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11052/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11052/events
|
https://github.com/langchain-ai/langchain/pull/11052
| 1,912,715,419
|
PR_kwDOIPDwls5bMFP6
| 11,052
|
Add collab link
|
{
"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": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T05:35:20
| 2023-09-26T05:35:28
| 2023-09-26T05:35:25
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11052/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11052",
"html_url": "https://github.com/langchain-ai/langchain/pull/11052",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11052.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11052.patch",
"merged_at": "2023-09-26T05:35:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11051
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11051/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11051/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11051/events
|
https://github.com/langchain-ai/langchain/pull/11051
| 1,912,683,228
|
PR_kwDOIPDwls5bL-YD
| 11,051
|
fix: short-circuit black and mypy calls when no changes made
|
{
"login": "malandis",
"id": 3690240,
"node_id": "MDQ6VXNlcjM2OTAyNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3690240?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/malandis",
"html_url": "https://github.com/malandis",
"followers_url": "https://api.github.com/users/malandis/followers",
"following_url": "https://api.github.com/users/malandis/following{/other_user}",
"gists_url": "https://api.github.com/users/malandis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/malandis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/malandis/subscriptions",
"organizations_url": "https://api.github.com/users/malandis/orgs",
"repos_url": "https://api.github.com/users/malandis/repos",
"events_url": "https://api.github.com/users/malandis/events{/privacy}",
"received_events_url": "https://api.github.com/users/malandis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-26T04:59:33
| 2023-10-10T18:16:35
| 2023-09-28T23:13:07
|
CONTRIBUTOR
| null |
Both black and mypy expect a list of files or directories as input. As-is the Makefile computes a list files changed relative to the last commit; these are passed to black and mypy in the `format_diff` and `lint_diff` targets. This is done by way of the Makefile variable `PYTHON_FILES`. This is to save time by skipping running mypy and black over the whole source tree.
When no changes have been made, this variable is empty, so the call to black (and mypy) lacks input files. The call exits with error causing the Makefile target to error out with:
```bash
$ make format_diff
poetry run black
Usage: black [OPTIONS] SRC ...
One of 'SRC' or 'code' is required.
make: *** [format_diff] Error 1
```
This is unexpected and undesirable, as the naive caller (that's me! 😄 ) will think something else is wrong. This commit smooths over this by short circuiting when `PYTHON_FILES` is empty.
<!-- 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. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11051/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11051",
"html_url": "https://github.com/langchain-ai/langchain/pull/11051",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11051.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11051.patch",
"merged_at": "2023-09-28T23:13:07"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11050
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11050/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11050/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11050/events
|
https://github.com/langchain-ai/langchain/pull/11050
| 1,912,679,638
|
PR_kwDOIPDwls5bL9nE
| 11,050
|
Support add_embeddings for opensearch
|
{
"login": "kennethchoe",
"id": 1812592,
"node_id": "MDQ6VXNlcjE4MTI1OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1812592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kennethchoe",
"html_url": "https://github.com/kennethchoe",
"followers_url": "https://api.github.com/users/kennethchoe/followers",
"following_url": "https://api.github.com/users/kennethchoe/following{/other_user}",
"gists_url": "https://api.github.com/users/kennethchoe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kennethchoe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kennethchoe/subscriptions",
"organizations_url": "https://api.github.com/users/kennethchoe/orgs",
"repos_url": "https://api.github.com/users/kennethchoe/repos",
"events_url": "https://api.github.com/users/kennethchoe/events{/privacy}",
"received_events_url": "https://api.github.com/users/kennethchoe/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 2
| 2023-09-26T04:55:13
| 2023-09-28T23:41:12
| 2023-09-28T23:41:12
|
CONTRIBUTOR
| null |
- **Description:**
- Make running integration test for opensearch easy
- Provide a way to use different text for embedding: refer to #11002 for more of the use case and design decision.
- **Issue:** N/A
- **Dependencies:** None other than the existing ones.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11050/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11050",
"html_url": "https://github.com/langchain-ai/langchain/pull/11050",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11050.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11050.patch",
"merged_at": "2023-09-28T23:41:11"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11049
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11049/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11049/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11049/events
|
https://github.com/langchain-ai/langchain/pull/11049
| 1,912,656,786
|
PR_kwDOIPDwls5bL4pi
| 11,049
|
Make numexpr optional
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T04:28:21
| 2023-10-02T18:45:11
| 2023-10-02T18:42:51
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11049/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11049",
"html_url": "https://github.com/langchain-ai/langchain/pull/11049",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11049.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11049.patch",
"merged_at": "2023-10-02T18:42:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11048
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11048/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11048/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11048/events
|
https://github.com/langchain-ai/langchain/issues/11048
| 1,912,630,510
|
I_kwDOIPDwls5yAGzu
| 11,048
|
SQLDatabaseChain.run with Llama 2 caused Chain run OperationalError
|
{
"login": "jeffxtang",
"id": 535090,
"node_id": "MDQ6VXNlcjUzNTA5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/535090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffxtang",
"html_url": "https://github.com/jeffxtang",
"followers_url": "https://api.github.com/users/jeffxtang/followers",
"following_url": "https://api.github.com/users/jeffxtang/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffxtang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeffxtang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffxtang/subscriptions",
"organizations_url": "https://api.github.com/users/jeffxtang/orgs",
"repos_url": "https://api.github.com/users/jeffxtang/repos",
"events_url": "https://api.github.com/users/jeffxtang/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeffxtang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false
| null |
[] | null | 5
| 2023-09-26T03:55:32
| 2023-11-17T21:15:38
| null |
NONE
| null |
### System Info
My installed versions of LangChain:
```
langchain 0.0.292
langchain-experimental 0.0.20
```
Running in notebook on M1 MBP.
### Who can help?
@hwchase17
### Information
- [x] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [x] Agents / Agent Executors
- [ ] Tools / Toolkits
- [x] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
My complete code:
```
from langchain.llms import Replicate
from langchain.utilities import SQLDatabase
from langchain_experimental.sql import SQLDatabaseChain
os.environ["REPLICATE_API_TOKEN"] = REPLICATE_API_TOKEN
llama2_13b = "meta/llama-2-13b-chat:f4e2de70d66816a838a89eeeb621910adffb0dd0baba3976c96980970978018d"
llm = Replicate(
model=llama2_13b,
input={"temperature": 0.01, "max_length": 500, "top_p": 1},
)
db = SQLDatabase.from_uri("sqlite:///Chinook.db")
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
db_chain.run("How many employees are there?")
```
### Expected behavior
I followed the [SQL Quickstart](https://python.langchain.com/docs/use_cases/qa_structured/sql#quickstart), except using Llama2 on Replicate instead of OpenAI, and got the following error when running `db_chain.run("How many employees are there?")`:
```
db_chain.run("How many employees are there?")
db_chain.run("How many employees are there?")
[chain/start] [1:chain:SQLDatabaseChain] Entering Chain run with input:
{
"query": "How many employees are there?"
}
[chain/start] [1:chain:SQLDatabaseChain > 2:chain:LLMChain] Entering Chain run with input:
{
"input": "How many employees are there?\nSQLQuery:",
"top_k": "5",
"dialect": "sqlite",
"table_info": "\nCREATE TABLE....
Question: How many employees are there?\nSQLQuery:"
]
}
[llm/end] [1:chain:SQLDatabaseChain > 2:chain:LLMChain > 3:llm:Replicate] [3.35s] Exiting LLM run with output:
{
"generations": [
[
{
"text": " Sure! Here's the SQL query to retrieve the number of employees:\n```sql\nSELECT COUNT(*) FROM Employee;\n```\nAnd here's the result:\n```\nCOUNT(*): 3\n```\nThere are 3 employees in the database.",
"generation_info": null
}
]
],
"llm_output": null,
"run": null
}
[chain/end] [1:chain:SQLDatabaseChain > 2:chain:LLMChain] [3.35s] Exiting Chain run with output:
{
"text": " Sure! Here's the SQL query to retrieve the number of employees:\n```sql\nSELECT COUNT(*) FROM Employee;\n```\nAnd here's the result:\n```\nCOUNT(*): 3\n```\nThere are 3 employees in the database."
}
[chain/error] [1:chain:SQLDatabaseChain] [3.37s] Chain run errored with error:
"OperationalError('(sqlite3.OperationalError) near \"Sure\": syntax error')"
```
I think the problem is how to ask Llama2 to return only the SQL query itself without starting with "Sure! Here's the SQL query..." I tried set SYSTEM_PROMPT in llm's input dict, but with no effect.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11048/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11047
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11047/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11047/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11047/events
|
https://github.com/langchain-ai/langchain/pull/11047
| 1,912,610,046
|
PR_kwDOIPDwls5bLumv
| 11,047
|
make warnings more modular
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T03:25:39
| 2023-09-26T03:46:44
| 2023-09-26T03:46:43
|
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11047/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11047",
"html_url": "https://github.com/langchain-ai/langchain/pull/11047",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11047.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11047.patch",
"merged_at": "2023-09-26T03:46:43"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11046
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11046/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11046/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11046/events
|
https://github.com/langchain-ai/langchain/pull/11046
| 1,912,552,669
|
PR_kwDOIPDwls5bLicw
| 11,046
|
LangServe
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false
| null |
[] | null | 1
| 2023-09-26T02:08:25
| 2023-09-28T13:20:11
| 2023-09-28T09:52:44
|
COLLABORATOR
| null |
Adds LangServe package
* Integrate Runnables with Fast API creating Server and a RemoteRunnable client
* Support multiple runnables for a given server
* Support sync/async/batch/abatch/stream/astream/astream_log on the client side (using async implementations on server)
* Adds validation using annotations (relying on pydantic under the hood) -- this still has some rough edges -- e.g., open api docs do NOT generate correctly at the moment
* Uses pydantic v1 namespace
Known issues: type translation code doesn't handle a lot of types (e.g., TypedDicts)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11046/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11046/timeline
| null | null | false
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11046",
"html_url": "https://github.com/langchain-ai/langchain/pull/11046",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11046.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11046.patch",
"merged_at": "2023-09-28T09:52:44"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11045
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11045/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11045/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11045/events
|
https://github.com/langchain-ai/langchain/issues/11045
| 1,912,538,506
|
I_kwDOIPDwls5x_wWK
| 11,045
|
AnthropicFunctions with Bedrock
|
{
"login": "austinmw",
"id": 12224358,
"node_id": "MDQ6VXNlcjEyMjI0MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/austinmw",
"html_url": "https://github.com/austinmw",
"followers_url": "https://api.github.com/users/austinmw/followers",
"following_url": "https://api.github.com/users/austinmw/following{/other_user}",
"gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/austinmw/subscriptions",
"organizations_url": "https://api.github.com/users/austinmw/orgs",
"repos_url": "https://api.github.com/users/austinmw/repos",
"events_url": "https://api.github.com/users/austinmw/events{/privacy}",
"received_events_url": "https://api.github.com/users/austinmw/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"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false
| null |
[] | null | 3
| 2023-09-26T01:49:33
| 2023-11-06T01:23:24
| null |
NONE
| null |
### Feature request
Hi, I'm using the Anthropic Claude V2 model through Amazon Bedrock. I'd like to submit a feature request for function calling simialr to `langchain_experimental.llms.anthropic_functions.AnthropicFunctions`
### Motivation
A large amount of people are using Anthropic's models through Bedrock
### Your contribution
Not sure
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11045/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/11045/timeline
| null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.