Skip to content

Commit c7d8721

Browse files
committed
fix: align system prompt with other zero-code examples
1 parent 406d139 commit c7d8721

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="Use roll_die when asked to roll dice. Use check_prime when asked about prime numbers.",
77+
system_prompt="You are a helpful assistant. You can roll dice and check if numbers are prime.",
7878
)
7979

8080
test_queries = [

0 commit comments

Comments
 (0)