Analysis of LLM Context Modification
An AI assistant is solving the problem: 'A company has 4 departments, and each department needs 10 new computers. If each computer costs $950, what is the total cost?' The assistant's internal reasoning process is captured at two sequential points in time. Analyze the change between 'Context Before' and 'Context After' and explain the specific mechanism responsible for this transformation.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
An AI assistant is tasked with solving a multi-step problem: 'Calculate the area of a rectangle with a width of 10 and a length of 4, and then multiply the result by 2.' The assistant's internal process is as follows:
- It first generates the string:
{tool: calculator, expression: '10 * 4'}. - An external system intercepts this string, computes the expression, and obtains the result '40'.
- The system then updates the assistant's working context before the assistant generates its next thought.
Based on the standard mechanism for this process, what is the most likely subsequent action the assistant will take to complete the problem?
- It first generates the string:
Analysis of LLM Context Modification
A large language model needs to answer the question, 'What is 5 times 12?'. To do this, it uses an external calculation tool. Arrange the following steps in the correct chronological order to show how the model generates the final answer.