Skip to content

Graded Quiz: Foundations of Tool Calling and Chaining :Fundamentals of Building AI Agents (BM RAG and Agentic AI Professional Certificate) Aanswers 2025

Question 1

Primary role of LangChain in AI agent development:

❌ Standalone AI model
Provide a platform for creating flexible, composable chains
❌ Replace all frameworks
❌ Serve as a database

Explanation:
LangChain helps you build pipelines (chains) and agents using LLMs + tools.


Question 2

Purpose of the pipe operator in LangChain:

❌ Replace prompts
❌ Compress data
Connect components and streamline workflows
❌ Encrypt data

Explanation:
The pipe operator (|) links prompts, models, and output parsers into a clear LCEL chain.


Question 3

Why understand tools when building agents?

❌ Eliminate human intervention
❌ LLMs work without training
Improve accuracy and reliability of responses
❌ Make LLMs autonomous

Explanation:
Tools let agents query APIs, run code, search, and retrieve real data—making results more accurate.


Question 4

What is a structured tool?

A tool with complex inputs and outputs for specific tasks
❌ A standalone AI model
❌ Raw-output-only tool
❌ Tool without input

Explanation:
Structured tools define expected input schema + output schema for precise actions.


Question 5

For retrieving + calculating data, what is crucial?

Integrating tools that retrieve AND calculate
❌ Avoiding calculations
❌ Static input
❌ Pre-defined responses

Explanation:
Agents need the right mix of retrieval + computation tools to solve real tasks.


Question 6

Benefit of guiding an agent with a custom prompt:

❌ Makes agent dependent on static data
❌ Eliminates tools
Allows complex queries via invoke
❌ Restricts tasks

Explanation:
A tailored prompt helps the agent understand its role and execute sophisticated tool-driven workflows.


Question 7

How do tools improve precision?

Enable LLMs to interact with real-world data & perform complex tasks
❌ Remove need for training data
❌ Reduce task complexity
❌ Make LLMs autonomous

Explanation:
Tools extend LLM abilities—retrieving facts, running code, doing math—leading to more precise answers.


🧾 Summary Table

Q No. Correct Answer Key Concept
1 Composable chains Role of LangChain
2 Connect workflow components Pipe operator
3 Tools improve accuracy Agent tool use
4 Structured, schema-based tool What a structured tool is
5 Retrieval + calculation tools Agent capability
6 Custom prompt enables complex queries Prompt-guided agents
7 Tools enable real-world interaction Precision improvement