In order for the AI to act properly, system messages are set and defined to define a given task context, tone, or role and follow these responses after a specific prompt. Utilize a system message before providing main prompts to set out specific instructions.
Example:

This setup directs the AI to focus on accurate, concise answers relevant to geography.
Agentic AI enables AI systems to act autonomously. Learn Agentic AI Online to build intelligent, self-directed AI models.