nerdexam
Databricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #72

A Generative AI Engineer interfaces with an LLM with prompt/response behavior that has been trained on customer calls inquiring about product availability. The LLM is designed to output "In Stock"…

The correct answer is B. You will be given a customer call transcript where the customer asks about product availability. Option B is correct because the LLM has already been fine-tuned on customer call transcripts and trained to classify them as 'In Stock' or 'Out of Stock'. The prompt only needs to frame the input correctly-telling the model it will receive a customer call transcript about…

Prompt Engineering

Question

A Generative AI Engineer interfaces with an LLM with prompt/response behavior that has been trained on customer calls inquiring about product availability. The LLM is designed to output “In Stock” if the product is available or only the term “Out of Stock” if not. Which prompt will work to allow the engineer to respond to call classification labels correctly?

Options

  • ARespond with "In Stock" if the customer asks for a product.
  • BYou will be given a customer call transcript where the customer asks about product availability.
  • CRespond with "Out of Stock" if the customer asks for a product.
  • DYou will be given a customer call transcript where the customer inquires about product

How the community answered

(29 responses)
  • B
    93% (27)
  • C
    3% (1)
  • D
    3% (1)

Explanation

Option B is correct because the LLM has already been fine-tuned on customer call transcripts and trained to classify them as 'In Stock' or 'Out of Stock'. The prompt only needs to frame the input correctly-telling the model it will receive a customer call transcript about product availability-so the model's trained behavior takes over. Options A and C try to override the model's learned classification behavior with new instructions, which conflicts with its fine-tuning. Option D is incomplete and truncated.

Topics

#Prompt Engineering#LLM Interaction#System Prompts#Text Classification

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-ENGINEER-ASSOCIATE Practice