Skip to main content

Book

The Book resource (mod_book) presents multi-chapter content in a book-like format. The AI generates the book's name, description, and its full chapter structure with developed content.

AI-generated settings

This resource type emits no form settings: all Book form settings keep their Moodle defaults. What the teacher influences from the prompt is the generated content — the chapters, their titles, order, and structure.

Generated content

  • A book with a title, a description, and a complete chapter structure, each chapter with its title and its content fully developed and directly related to the topic.
  • The book supports two levels only: chapter and subchapter. Each subchapter hangs from the chapter that precedes it.
  • When the teacher requests an explicit structure (specific chapter titles, order, and subchapters), the book contains exactly those chapters, with those titles, in that order, with subchapters indented under the indicated chapter — no extra chapters, no orphan titles, and no subchapters hanging from a different chapter.
  • Chapter content is clean HTML: no <pre> tags, no raw markdown marks, and no literal bracketed placeholders such as [Nombre del Curso] or [Título del Capítulo].

Rules and behavior

  • Chapter titles carry no manual numbering: Moodle displays the numbering automatically (1., 1.1, 2., and so on). For example, two subchapters under the fourth chapter show as 4.1 and 4.2.
  • The book's visible name must not carry resource-type labels such as "Libro" unless explicitly requested.

Example prompts

Without syllabus

A minimal request that produces a book with a complete chapter structure and clean HTML content:

I need a book for the Microbiology course with the content of the bacteria unit: morphology, structure, metabolism, and classification.

An explicit structure with five chapters in a fixed order and two subchapters under the Leadership chapter (shown by Moodle as 4.1 and 4.2):

Create a book for the Organizational Psychology course with these five chapters, with those titles and in that order: Organizational climate, Organizational culture, Work motivation, Leadership, and Change management, and inside the Leadership chapter include two subchapters: Leadership styles and Situational leadership.

With syllabus

A book that covers the whole source document with an explicit chapter and subchapter structure, each chapter traceable to its unit:

Create a book that covers the whole syllabus I uploaded, with these five chapters, with those titles and in that order: The digital leader, Digital culture in organizations, Change management in digital environments, Data governance, and Digital strategies for organizations, and inside the Data governance chapter include two subchapters: Ethics in digital culture and Cybersecurity and risk management.