Agent Exercise Flashcards

(10 cards)

1
Q

What was the goal of the Base64 exercise?

A

To control the LLM’s output format by instructing it to respond only in Base64, not natural language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Base64?

A

A text encoding method that converts data into ASCII characters for safe storage or transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why does Base64 matter for Agentic AI?

A

It trains you to enforce strict format rules for LLM outputs — critical for structured actions in agent loops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What message role should set the formatting rules?

A

The “system” message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What message role gives the instruction or question?

A

The “user” message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What library function sends prompts to the LLM?

A

completion() from the LiteLLM library.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you verify that a response is Base64?

A

Decode it using Python’s base64.b64decode() function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does decoding the Base64 string reveal?

A

The original English message encoded by the AI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is this exercise important?

A

It builds confidence in controlling AI behavior using clear, rule-based prompting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What concept does this practice connect to in Agentic AI?

A

Reliable communication between reasoning (LLM) and execution (Python) layers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly