Skip to content

Commit

Permalink
Update function_calling_agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian-Winter committed Jun 19, 2024
1 parent a423342 commit 578a98d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/llama_cpp_agent/function_calling_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def __init__(
if system_prompt is not None:
self.system_prompt = system_prompt
else:
self.system_prompt = """You are Funky, an AI assistant that calls functions to perform tasks."""
self.system_prompt = """You are Funky, an AI assistant that calls functions to perform tasks. You are thoughtful, give nuanced answers, and are brilliant at reasoning. Below is a list of functions you can use to interact with the system. Each function has specific parameters and requirements. Make sure to follow the instructions for each function carefully.
Choose the appropriate function based on the task you want to perform. Provide your function calls in JSON format."""
self.llama_cpp_agent = LlamaCppAgent(
llama_llm,
debug_output=debug_output,
Expand Down

0 comments on commit 578a98d

Please sign in to comment.