Chuyển đến nội dung chính

Khóa học

Google: Manage Agent Memory and State

Trung cấp1 giờ 30 phút

Build stateful AI agents that maintain context and remember user preferences using session state, memory management, and personalization.

R1 giờ 30 phút16 bài tập800 XP130Bản xác nhận thành tích

Tạo tài khoản miễn phí của bạn

Tiếp tục với Google
hoặc
Bằng cách tiếp tục, bạn chấp nhận Điều khoản sử dụng, Chính sách quyền riêng tư và việc dữ liệu của bạn được lưu trữ tại Hoa Kỳ.

Được yêu thích bởi người học tại hàng nghìn công ty

Đào tạo một nhóm?

Dùng thử cho Doanh nghiệp

Mô tả khóa học

You've built basic LLM agents that respond to queries—now let's make them stateful. Use session state to build agents that maintain context, remember user preferences, and provide personalized experiences. Transform agents from stateless responders to intelligent assistants.

Yêu cầu tiên quyết

Khóa học này không có yêu cầu tiên quyết nào

Chương trình học

Đề cương khóa học

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.
Bắt đầu chương
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.
Bắt đầu chương
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.
Bắt đầu chương
4

Reading List

Reading List
Bắt đầu chương
R

Google: Manage Agent Memory and State

Hoàn
thành khóa học

Nhận Giấy Chứng Nhận Hoàn Thành

Đăng ký ngay

Phát triển kỹ năng dữ liệu của bạn với DataCamp for Mobile

Tiến bộ mọi lúc mọi nơi với các khóa học di động và thử thách lập trình 5 phút mỗi ngày của chúng tôi.