QuestionQ124

VerifiedImplement generative AI and agentic solutions

You are developing an app that will give users definitions of common AI terms.

You create the following Python code.

Question Image

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Yes or No
StatementsYesNo
The response will contain an explanation of large language models (LLMs) that has a high degree of certainty.
Changing "What is an LLM?" to "What is an LLM in the context of AI models?" will produce the intended response.
Changing "You are a helpful assistant." to "You must answer only within the context of AI language models." will give a higher likelihood of producing the intended response.
Explanation

Language-model output is probabilistic, so a broad prompt cannot ensure a certain explanation. Making the user prompt more specific supplies clearer context, while a system message that limits the answer’s domain steers the model toward the intended subject and increases the likelihood of the desired response.

Learn more

Community Discussion

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