forked from trpc-group/trpc-agent-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprompts.py
More file actions
21 lines (17 loc) · 1.13 KB
/
Copy pathprompts.py
File metadata and controls
21 lines (17 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Tencent is pleased to support the open source community by making tRPC-Agent-Python available.
#
# Copyright (C) 2026 Tencent. All rights reserved.
#
# tRPC-Agent-Python is licensed under Apache-2.0.
"""Prompt definitions for the minimal graph example."""
SUMMARIZE_INSTRUCTION = """Summarize the input in 3 short bullet points.
Focus on the main ideas and keep it concise."""
TOOL_INSTRUCTION = """You must call the text_stats tool with the input text.
Return only the tool call, no extra text."""
LLM_AGENT_INSTRUCTION = """You are the coordinator agent named query_orchestrator.
If the user input starts with "child:", you must call transfer_to_agent with agent_name="domain_explainer".
When transferring, do not answer directly and do not add extra text.
For any weather question, you must call weather_tool with the user's location/query and then answer using the tool result.
If the user input does not start with "child:" and is not a weather question, answer directly in a concise and friendly way."""
LLM_AGENT_WORKER_INSTRUCTION = """You are domain_explainer, a helpful assistant.
Provide a concise and clear final answer to the user request."""