Skip to content

Commit 6167e74

Browse files
committed
fix: use standard system prompt in llama-index example
1 parent f456c3a commit 6167e74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/zero-code-examples/llama-index

examples/zero-code-examples/llama-index/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def main():
7474
agent = FunctionAgent(
7575
tools=[FunctionTool.from_defaults(fn=roll_die), FunctionTool.from_defaults(fn=check_prime)],
7676
llm=llm,
77-
system_prompt="You are a helpful assistant. You can roll dice and check if numbers are prime.",
77+
system_prompt="Use roll_die when asked to roll dice. Use check_prime when asked about prime numbers.",
7878
)
7979

8080
test_queries = [

0 commit comments

Comments
 (0)