We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f456c3a commit 6167e74Copy full SHA for 6167e74
1 file changed
examples/zero-code-examples/llama-index/run.py
@@ -74,7 +74,7 @@ async def main():
74
agent = FunctionAgent(
75
tools=[FunctionTool.from_defaults(fn=roll_die), FunctionTool.from_defaults(fn=check_prime)],
76
llm=llm,
77
- system_prompt="You are a helpful assistant. You can roll dice and check if numbers are prime.",
+ system_prompt="Use roll_die when asked to roll dice. Use check_prime when asked about prime numbers.",
78
)
79
80
test_queries = [
0 commit comments