DeepLearning.AI
AI is the new electricity and will transform and improve nearly all areas of human lives.

Quick Guide & Tips

💻   Accessing Utils File and Helper Functions

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Open"

You will be able to see all the notebook files for the lesson, including any helper functions used in the notebook on the left sidebar. See the following image for the steps above.


🔄   Reset User Workspace

If you need to reset your workspace to its original state, follow these quick steps:

1:   Access the Menu: Look for the three-dot menu (⋮) in the top-right corner of the notebook toolbar.

2:   Restore Original Version: Click on "Restore Original Version" from the dropdown menu.

For more detailed instructions, please visit our Reset Workspace Guide.


💻   Downloading Notebooks

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Download as"

3:   Then, click on "Notebook (.ipynb)"


💻   Uploading Your Files

After following the steps shown in the previous section ("File" => "Open"), then click on "Upload" button to upload your files.


📗   See Your Progress

Once you enroll in this course—or any other short course on the DeepLearning.AI platform—and open it, you can click on 'My Learning' at the top right corner of the desktop view. There, you will be able to see all the short courses you have enrolled in and your progress in each one.

Additionally, your progress in each short course is displayed at the bottom-left corner of the learning page for each course (desktop view).


📱   Features to Use

🎞   Adjust Video Speed: Click on the gear icon (⚙) on the video and then from the Speed option, choose your desired video speed.

🗣   Captions (English and Spanish): Click on the gear icon (⚙) on the video and then from the Captions option, choose to see the captions either in English or Spanish.

🔅   Video Quality: If you do not have access to high-speed internet, click on the gear icon (⚙) on the video and then from Quality, choose the quality that works the best for your Internet speed.

🖥   Picture in Picture (PiP): This feature allows you to continue watching the video when you switch to another browser tab or window. Click on the small rectangle shape on the video to go to PiP mode.

√   Hide and Unhide Lesson Navigation Menu: If you do not have a large screen, you may click on the small hamburger icon beside the title of the course to hide the left-side navigation menu. You can then unhide it by clicking on the same icon again.


🧑   Efficient Learning Tips

The following tips can help you have an efficient learning experience with this short course and other courses.

🧑   Create a Dedicated Study Space: Establish a quiet, organized workspace free from distractions. A dedicated learning environment can significantly improve concentration and overall learning efficiency.

📅   Develop a Consistent Learning Schedule: Consistency is key to learning. Set out specific times in your day for study and make it a routine. Consistent study times help build a habit and improve information retention.

Tip: Set a recurring event and reminder in your calendar, with clear action items, to get regular notifications about your study plans and goals.

☕   Take Regular Breaks: Include short breaks in your study sessions. The Pomodoro Technique, which involves studying for 25 minutes followed by a 5-minute break, can be particularly effective.

💬   Engage with the Community: Participate in forums, discussions, and group activities. Engaging with peers can provide additional insights, create a sense of community, and make learning more enjoyable.

✍   Practice Active Learning: Don't just read or run notebooks or watch the material. Engage actively by taking notes, summarizing what you learn, teaching the concept to someone else, or applying the knowledge in your practical projects.


📚   Enroll in Other Short Courses

Keep learning by enrolling in other short courses. We add new short courses regularly. Visit DeepLearning.AI Short Courses page to see our latest courses and begin learning new topics. 👇

👉👉 🔗 DeepLearning.AI – All Short Courses [+]


🙂   Let Us Know What You Think

Your feedback helps us know what you liked and didn't like about the course. We read all your feedback and use them to improve this course and future courses. Please submit your feedback by clicking on "Course Feedback" option at the bottom of the lessons list menu (desktop view).

Also, you are more than welcome to join our community 👉👉 🔗 DeepLearning.AI Forum


Sign in

Or, sign in with your email
Email
Password
Forgot password?
Don't have an account? Create account
By signing up, you agree to our Terms Of Use and Privacy Policy

Create Your Account

Or, sign up with your email
Email Address

Already have an account? Sign in here!

By signing up, you agree to our Terms Of Use and Privacy Policy

Choose Your Plan

Planning for more users?
Learn More

What best describes you?

This helps us tune the catalog to suit you best.

Join Team Success

You have successfully joined undefined

You now have access to all Pro features. Click below to start learning!

Session Expired

Session expired — please return to Cornerstone to restart the session and complete the course.

DeepLearning.AI
/
Building and Evaluating Data Agents
  • All Courses
DeepLearning.AI
/
Building and Evaluating Data Agents
  • All Courses
DeepLearning.AIAll Courses
Building and Evaluating Data Agents
DeepLearning.AI
Building and Evaluating Data Agents

Course Syllabus

Elevate Your Career with Full Learning Experience

Unlock Plus AI learning and gain exclusive insights from industry leaders

Access exclusive features like graded notebooks and quizzes
Earn unlimited certificates to enhance your resume
Starting at $1 USD/mo after a free trial – cancel anytime
Welcome to Building and Evaluating Data Agents, built in partnership with Snowflake. In this course, you'll implement a data agent that can perform web searches and connect to data sources to collect data, analyze it, and visualize results and provide insights, even more importantly, you apply offline evaluation or offline evals to improve and iterate on your agent's design, as well as real-time, also called inline evals. that the agent can use to adjust its strategy even while it's running. I'm delighted that the instructors for this course are Anupam Datta, who is AI research lead, as well as Josh Reini, who is developer advocate at Snowflake. Anupam was formerly a professor at Carnegie Mellon University and founder of AI observability startup Truera, that was acquired by Snowflake. Josh also previously worked at Truera and continues to build and maintain TruLens, which is an open source library for agent tracing and evaluation. Thanks Andrew. We are excited to work with you on this course. Building evals is a really important skill for building agentic workflows. This course will show you some important best practices. In fact, I learned quite a bit from Anupam's last short course with us and I think you'll learn a lot from this one as well. And specifically, you start by assessing your agent's answer quality. So you use an LLM as a judge to measure the end-to-end performance of the agent and evaluate that the final answer is relevant to the user's query, as well as whether the data retrieved for the analysis is relevant to the user's query. And finally, if the final answer is grounded in the list of all the retrieved data. You can use these offline evaluation metrics to improve your agent's logic or update its prompts or maybe try out different LLM models. Additionally, you also use LLM as judge to evaluate the process by which the agent used to arrive at that final answer. This technique can also interestingly, be used not offline, but instead at runtime to give feedback to the agent even as it's running, to help the agent adjust its data retrieval and analysis strategy. You'll implement your agent using a multi-agent workflow that consists of a planner. a plan executor and specialized agents such as web and data researchers, a data visualizer and response synthesizers. The planner takes the user's query and generates a plan. And the plan executor directs the plan's execution and determines which specialized agent should proceed based on the plan. Each agent shares the output of its execution step and the plan executor through the agent state. After each retrieval step, the plan executor reflects on the plan and decides whether to update it. You will evaluate both the quality of retrievals and the quality of the plan. Was the plan aligned with the user's request? Were the agent's actions aligned with the plan and executed efficiently and logically? You will then improve this agent by adjusting its prompts and implementing in-line or runtime evaluations. The inline evaluations will provide the plan executor with real-time scores for context relevance immediately after any retrieval step. This will inform the plan executor whether the retrieval step lacked context relevance. And if so, the plan executor will ask the planner to adjust. After you implement these improvements to the agent's design, You will compare the offline evaluation metrics and both offline and real-time evaluations rely on tracing the agent that you will also learn about in this course. Many people have worked to create this course. I'd like to thank from Snowflake, Allison Jia, David Kurokawa, Daniel Huang, Nikhil Vytla, and Shayak Sen. From DeepLearning.AI, Hawraa Salami also contributed to this course. In the next video, you'll learn about the three dimensions of evaluation for an agent. It's goal, plan, and action, or GPA. Let's go on to the next video.
course detail
Building and Evaluating Data Agents
  • Building and Evaluating Data Agents
    Video
    ・
    4m
  • What is a Data Agent?
    Video
    ・
    13m
  • Construct a Multi-Agent Workflow
    Video with Code Example
    ・
    22m
  • Expand Data Agent Capabilities
    Video with Code Example
    ・
    12m
  • Observe Agent Performance
    Video with Code Example
    ・
    16m
  • Measure Agent’s GPA
    Video with Code Example
    ・
    29m
  • Improve Agent's GPA
    Video with Code Example
    ・
    9m
  • Conclusion
    Video
    ・
    1m
  • Quiz

    Graded・Quiz

    ・
    10m
    Course Details