NAVA AI Institute for Research and Innovations

Software and AI Engineering · NAVA-AIDA-05

LLM APIs, Function Calling and Structured Outputs

Provider-neutral patterns for calling language models: requests, tool calling, JSON outputs, validation, retries and cost control.

StatusOpen now
LevelL2–L3 – Intermediate/Advanced
Guided learning time14 h, in 5 modules and 15 topics
FieldSoftware and AI Engineering
Before you startPython or JavaScript basics (Python for AI Development or JavaScript and TypeScript for AI Applications, or equivalent)
CertificateNAVA Practitioner certificate, with an ID anyone can check. It does not expire.
ExamMarked by the AI examiner. The pass mark is 50 per cent.
FeeFree at present

Sign up free, then choose this course on the learning site. No card is needed to begin.

What you will learn

  • Integrate hosted LLM APIs.
  • Use structured responses and tool/function calling.
  • Apply secure credentials, retries and cost controls.

Course structure

5 modules and 15 topics. Open a module to see its topics.

Module 1. API and authentication patterns 2 h 50 min · 3 topics
  1. How LLM APIs work
  2. API keys and secrets
  3. Making a request safely
Module 2. Messages and conversation state 2 h 50 min · 3 topics
  1. Roles and message lists
  2. Maintaining conversation state
  3. Controlling context size
Module 3. Structured output schemas 2 h 50 min · 3 topics
  1. Defining a schema
  2. Requesting structured output
  3. Validating and repairing output
Module 4. Tools and function calling 2 h 50 min · 3 topics
  1. Describing tools and functions
  2. Executing calls requested by the model
  3. Returning results to the model
Module 5. Reliability, security and cost 2 h 40 min · 3 topics
  1. Retries and timeouts
  2. Security of inputs and tools
  3. Tracking and capping cost

Practical work

Build an API-backed tool-using assistant.

How you learn, are assessed and certified

An AI teacher teaches each topic, with a smart board, and answers your questions. Quizzes and practice follow, then an exam marked by the AI examiner. The pass mark is 50 per cent. Grades run from O (Outstanding, 90 to 100) through A+, A and B+ to B (50 to 59). When you pass, NAVA issues a Practitioner certificate with an ID that anyone can check on the Verify page. Read how it works.

Independent course. This is a NAVA-designed course. It is not a course or certification of any technology company named in it, and none of them endorses NAVA. A NAVA certificate is an institute-issued certificate of course completion, not a university degree, statutory diploma, government qualification or professional licence.

More in this field

Practitioner · 8 h

Prompt Engineering for Developers

Designing prompts as part of software: templates, variables, structured outputs, testing, versioning and regression checks.

Foundations · 16 h

Python for AI Development

Python from the beginning, for AI work: syntax, data structures, files, packages, APIs and small projects.

See all courses · Learning roadmap