GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #38
A Generative AI Engineer is experimenting with using parameters to configure an agent in Mosaic Agent Framework. However, they are struggling to get the agent to respond with relevant information…
The correct answer is A. The prompt does not parse the user's input vars. The prompt template references "user_input" as a variable, but the configuration does not properly parse or inject the user's input variable into the prompt. This causes the agent to fail to incorporate the user's input when generating a response, leading to irrelevant outputs…
Question
A Generative AI Engineer is experimenting with using parameters to configure an agent in Mosaic Agent Framework. However, they are struggling to get the agent to respond with relevant information with this configuration:
Which error is causing the problem?
Exhibit
Options
- AThe prompt does not parse the user's input vars
- BThe prompt does not set the retriever schema
- CThe prompt does not list available agents for the LLM to call
- DThe prompt is not wrapped in ChatModel
How the community answered
(21 responses)- A71% (15)
- B5% (1)
- C10% (2)
- D14% (3)
Explanation
The prompt template references "user_input" as a variable, but the configuration does not properly parse or inject the user's input variable into the prompt. This causes the agent to fail to incorporate the user's input when generating a response, leading to irrelevant outputs. Proper parsing and passing of input variables is required for relevance.
Topics
Community Discussion
No community discussion yet for this question.
