1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Databricks with the Python SDK

Connected

Bài tập

Query a Foundation Model

Let's use what we learned about the difference between "SYSTEM" and "USER" Chat Message Roles to send different prompts to the AI agent based on the Chat Message role.

Hướng dẫn

100 XP
  • Tell the AI Agent to act like a high school computer science teacher when answering queries using the prompt ai_agent_context.
  • Ask the AI agent when to use For loops using the user_prompt.