AI-102 Question 430
Select 2You are building a content generation feature for a marketing application using Azure OpenAI Service. The application should generate product descriptions based on provided inputs, and the content must adhere to specific tone and style guidelines provided by the client. Which steps should you take to implement this solution effectively?
- A
Use the Azure OpenAI Service Completion API and pass the tone and style guidelines as part of the prompt.
- B
Train a custom model in Azure Machine Learning to enforce tone and style guidelines.
- C
Leverage the temperature parameter in the Completion API to control the creativity of the generated content.
- D
Store the generated product descriptions in Azure Blob Storage for further processing.
- E
Enable the Content Filter feature in Azure OpenAI Service to ensure the generated content adheres to ethical standards.
Show answer and explanation
Correct answers: A, C
Explanation
To generate content using Azure OpenAI Service, you should leverage the Completion API and specify the tone and style guidelines in the prompt to guide the output. Additionally, using the temperature parameter helps control the creativity of the generated content, ensuring it meets the client's requirements. Training a custom model, storing content in Blob Storage, or enabling the Content Filter feature are not essential for this specific scenario.
- A. Correct.
This is correct because the Completion API allows you to provide specific instructions, such as tone and style, directly in the prompt to guide the content generation.
- B. Incorrect.
This is incorrect because training a custom model is unnecessary when the Azure OpenAI Service can generate high-quality text with input prompts.
- C. Correct.
This is correct because adjusting the temperature parameter allows you to control how creative or deterministic the generated content is, which is important for aligning with the client's requirements.
- D. Incorrect.
This is incorrect because storing the generated content in Azure Blob Storage is a post-processing step and not directly related to implementing the content generation feature.
- E. Incorrect.
This is incorrect because the Content Filter feature is designed to prevent inappropriate or harmful content generation, not to enforce specific tone or style guidelines.