Generative AI Leader · Free Practice Question Medium
Question 2
A generative AI agent is designed to help users plan trips. To provide accurate flight information and book accommodations, the agent needs to interact with external airline and hotel booking systems via their APIs.
In the context of gen AI agent tooling, what capability allows the agent to connect to and utilize these external services?
-
A
Prompt engineering templates
-
B
Internal data stores
-
C
Extensions or Functions (for calling external APIs)
-
D
Core model fine-tuning
Reveal correct answer
Correct answer: C
Explanation
Extensions or functions are common tooling components that enable generative AI agents to interact with external systems, such as calling APIs.
INCORRECT: Internal data stores
Internal data stores would hold information managed by the agent itself (e.g., user preferences), not facilitate interaction with external booking systems.INCORRECT: Core model fine-tuning
Fine-tuning adapts the model's internal knowledge but doesn't directly provide the mechanism for real-time interaction with external APIs.CORRECT: Extensions or Functions (for calling external APIs)
Tooling for gen AI agents often includes the ability to define extensions, functions, or plugins that allow the agent to call external APIs (like those for airlines or hotels) to fetch real-time data or perform actions in other systems. This extends the agent's capabilities beyond its base model.INCORRECT: Prompt engineering templates
Prompt engineering helps guide the model's generation, but it doesn't provide the actual mechanism for the agent to execute calls to external services.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
