Menu
CoddyTech

Several Questions at Once

Part of the AI Decisions section of Coddy's AI Prompts journey. Lesson 16 of 22.

Apps usually need more than one fact about the same text. Put several questions in one decision. Each has its own id, its own type and its own answer.

A festival reads sign-up emails with a choice ticket and a yes or no veggie. For Two weekend tickets please, and we're both vegetarian.:

ticket
day      ░░░░░░░░░░░░░░░░░░░░   0%
weekend  ████████████████████ 100%
veggie
yes  ████████████████████ 100%
no   ░░░░░░░░░░░░░░░░░░░░   0%

The app books two weekend tickets and orders vegetarian meals, all from one decision. Mix choices, yes or no questions and scores freely: each question is answered on its own.

challenge icon

Challenge

Medium

The support router already picks a team. Finance also wants to know which messages ask for money back.

Add a choice question wants with the options money_back, information and a_fix, each with a description, so the router answers both.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in AI Decisions