QuestionQ1

VerifiedEvaluation and Monitoring

A Generative AI Engineer is testing parameters to configure an agent in Mosaic Agent Framework. However, they are having difficulty getting the agent to return relevant information with the following configuration:

Question Image

Which error is responsible for the issue?

Explanation

A declared prompt input variable must also be interpolated in the prompt template for its value to be sent as context to the model. Although user_input is declared in prompt_template_input_vars, the template contains no {user_input} placeholder, so the agent cannot use the user’s input to generate a relevant trivia question.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!