mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 22:48:09 +01:00
cleanup
This commit is contained in:
@@ -19,14 +19,3 @@ class ToolDefinition:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ToolsData:
|
class ToolsData:
|
||||||
tools: List[ToolDefinition]
|
tools: List[ToolDefinition]
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
|
||||||
class ToolInvocation:
|
|
||||||
tool: str
|
|
||||||
args: Dict[str, Any]
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
|
||||||
class MultiToolSequence:
|
|
||||||
tool_invocations: List[ToolInvocation] = field(default_factory=list)
|
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ def generate_genai_prompt(
|
|||||||
)
|
)
|
||||||
prompt_lines.append(
|
prompt_lines.append(
|
||||||
"""
|
"""
|
||||||
Example JSON:
|
Example JSON for question:
|
||||||
{
|
{
|
||||||
"args": {
|
"args": {
|
||||||
"dateDepart": "2025-03-26",
|
"dateDepart": "2025-03-26",
|
||||||
|
|||||||
Reference in New Issue
Block a user