课程
Google: Manage Agent Memory and State
基础技能水平
更新时间 2026年6月
Google CloudCloud1 小时 30 分钟16 练习800 经验值成就声明
创建你的免费账户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
Training a Team?
Try for Business课程描述
先决条件
本课程无先修要求1
Session State Fundamentals
Session state is a dictionary where your agent stores data it needs to remember and access programmatically. Unlike conversation history (which only the LLM can read), session state gives you code-level access to exact values.
2
Dynamic Instructions with State
In Part 1, you learned that session state is a dictionary you can access programmatically. Now you'll learn to inject state values into agent instructions using {var} templating, enabling dynamic agent behavior.
3
State Namespaces and Persistence
You've learned to use state for programmatic control and data passing. Now you'll master state namespaces—controlling how long state values persist and who can access them.
4
Reading List
Google: Manage Agent Memory and State
课程完成 加入超过19百万学习者,今天就开始Google: Manage Agent Memory and State!
创建你的免费账户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。