Professional Machine Learning Engineer
You deployed a conversational application that uses Gemini. You recently collected thousands of rows of user feedback about the verbosity and accuracy of the model’s responses. The feedback indicated that the responses are factually correct but users want different levels of verbosity depending on the type of question. You need to adjust the model to return responses that are more consistent with users’ expectations. You want to use a scalable solution and minimize application maintenance. What should you do?
- A. Experiment with other models in Model Garden. Perform A/B testing by setting each model as your application’s default model. Choose a model based on the results.
- B. Ask users to indicate all scenarios where they expect concise responses versus verbose responses. Modify the application’s prompt to include these scenarios and their respective verbosity levels. Re-evaluate the verbosity of responses with updated prompts.
- C. Implement a keyword-based routing layer. If the user’s input contains the words “detailed” or “description,” return a verbose response. If the user’s input contains the word “fact,” re-prompt Gemini to summarize the response and return a concise response.
- D. Ask users to provide examples of responses with the appropriate verbosity as a list of question and answer pairs. Use this dataset to perform supervised fine-tuning (SFT) in Agent Platform. Re-evaluate the verbosity of responses with the tuned version.