Skip to content

Commit 70103a3

Browse files
authored
update uml diagrams (#216)
1 parent eac185b commit 70103a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

uml/ch03/llm_class.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ package "llm_agents_from_scratch.base.llm" <<Folder>> {
3636
--
3737
+<<async>> complete(\n\tprompt: str\n): CompleteResult\n
3838
+<<async>> chat(\n\tinput: str,\n\tchat_history: list[ChatMessage],\n\ttools: list[BaseTool | AsyncBaseTool]\n): tuple[ChatMessage, ChatMessage]\n
39-
+<<async>> continue_chat_with_tool_results(\n\ttool_call_results: list[ToolCallResult],\n\tchat_history: list[ChatMessage]\n): tuple[list[ChatMessage], ChatMessage]\n
39+
+<<async>> continue_chat_with_tool_results(\n\ttool_call_results: list[ToolCallResult],\n\tchat_history: list[ChatMessage],\n\ttools: list[BaseTool | AsyncBaseTool]\n): tuple[list[ChatMessage], ChatMessage]\n
4040
+<<async>> structured_output<T>(\n\tprompt:str,\n\tmdl: type[T]\n): T
4141
}
4242
}

uml/ch03/ollama_llm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package "llm_agents_from_scratch.base.llm" <<Folder>> {
77
--
88
+<<async>> complete(\n\tprompt: str\n): CompleteResult\n
99
+<<async>> chat(\n\tinput: str,\n\tchat_history: list[ChatMessage],\n\ttools: list[BaseTool | AsyncBaseTool]\n): tuple[ChatMessage, ChatMessage]\n
10-
+<<async>> continue_chat_with_tool_results(\n\ttool_call_results: list[ToolCallResult],\n\tchat_history: list[ChatMessage]\n): tuple[list[ChatMessage], ChatMessage]\n
10+
+<<async>> continue_chat_with_tool_results(\n\ttool_call_results: list[ToolCallResult],\n\tchat_history: list[ChatMessage],\n\ttools: list[BaseTool | AsyncBaseTool]\n): tuple[list[ChatMessage], ChatMessage]\n
1111
+<<async>> structured_output<T>(\n\tprompt:str,\n\tmdl: type[T]\n): T
1212
}
1313
}

0 commit comments

Comments
 (0)