ComeçarComece de graça

Maintaining state across agent runs

Este exercício faz parte do curso

Building Agentic Workflows with LlamaIndex

Ver curso

Instruções do exercício

Teach your agent to remember information between messages by storing values in the workflow context.

  • Configure a Context to maintain state within your workflow.
  • Check the memory for the name by retrieving the state.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício