Few-Shot Learning Data for Intent Detection
A company is building a chatbot to improve user experience. The company is using a large language model (LLM) from Amazon Bedrock for intent detection. The company wants to use few-shot learning to improve intent detection accuracy. Which additional data does the company need to meet these requirements?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The core concept is mapping input text (user messages) to a specific label (intent). The common trap is confusing intent detection with response generation, leading candidates to select options involving chatbot responses instead of intent labels.
This question tests the understanding of few-shot learning requirements for intent detection using Amazon Bedrock. The community consensus confirms that pairs of user messages and their corresponding correct intents are essential for training the model to generalize classification tasks.
Candidates may incorrectly choose Option A or B because they confuse 'intent detection' (classification) with 'response generation' (completion). Few-shot learning for intent requires input-output pairs where the output is the intent label, not a generated reply.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Few-shot learning involves providing the LLM with a small set of labeled examples to guide its inference without updating weights. For intent detection, the task is classification: given an input, predict a category. Therefore, the examples must consist of the raw input (user message) and the target label (correct user intent). Option C provides exactly this mapping.Why the Other Options Are Wrong
Options A and D involve 'chatbot responses,' which are relevant for conversational flow or response generation, not intent classification. Option B pairs user messages with responses, which teaches the model how to reply, not how to identify what the user wants. Intent detection is a precursor step; the model needs to know the intent before determining the best response.Community Comment Notes
All provided comments correctly identify Option C as the answer. They emphasize that few-shot learning relies on labeled examples where the label is the intent. One comment notes that these pairs help the LLM 'classify new user messages into the correct' categories, reinforcing the classification nature of the task.Official Reference
Exam Strategy
Always distinguish between classification tasks (like intent detection) and generation tasks (like writing a response). For classification in few-shot learning, ensure your examples map inputs directly to their categorical labels, not to generated text outputs.
Related Analysis
Practice All AIF-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AIF-C01 Practice Test →