1. Prompt well
  2. Use function calling
  3. Use Pydantic validator