mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
LLM planner, not perfect but ok
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
from dataclasses import dataclass, field
|
||||
from typing import List, Dict, Any
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -19,3 +19,14 @@ class ToolDefinition:
|
||||
@dataclass
|
||||
class ToolsData:
|
||||
tools: List[ToolDefinition]
|
||||
|
||||
|
||||
@dataclass
|
||||
class ToolInvocation:
|
||||
tool: str
|
||||
args: Dict[str, Any]
|
||||
|
||||
|
||||
@dataclass
|
||||
class MultiToolSequence:
|
||||
tool_invocations: List[ToolInvocation] = field(default_factory=list)
|
||||
|
||||
Reference in New Issue
Block a user