add space
This commit is contained in:
@@ -64,7 +64,7 @@ class State(TypedDict):
|
|||||||
inp: Tuple[Dict[str, List[SystemMessage | HumanMessage]],
|
inp: Tuple[Dict[str, List[SystemMessage | HumanMessage]],
|
||||||
Dict[str, Dict[str, str|int]]]
|
Dict[str, Dict[str, str|int]]]
|
||||||
messages: List[SystemMessage | HumanMessage]
|
messages: List[SystemMessage | HumanMessage]
|
||||||
decision:str
|
decision: str
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
nargs = {
|
nargs = {
|
||||||
"messages": [SystemMessage("you are a helpful bot named jarvis"),
|
"messages": [SystemMessage("you are a helpful bot named jarvis"),
|
||||||
HumanMessage("use the calculator tool to calculate 92*55 and say the answer")]
|
HumanMessage("what is your name")]
|
||||||
},{"configurable": {"thread_id": "3"}}
|
},{"configurable": {"thread_id": "3"}}
|
||||||
|
|
||||||
for chunk, metadata in graph.stream({"inp": nargs}, stream_mode="messages"):
|
for chunk, metadata in graph.stream({"inp": nargs}, stream_mode="messages"):
|
||||||
|
|||||||
Reference in New Issue
Block a user