Source document ID: {{ .SourceID }} {{ if .HasChunk }} Chunk ID: {{ .ChunkID }} Chunk index: {{ .ChunkIndex }} {{ end }} Source units: {{ range .Units }} - Unit ID: {{ .ID }} Text: {{ .Text }} {{ if .Metadata }} Metadata: {{ range .Metadata }} - {{ .Key }}: {{ .Value }} {{ end }} {{ end }} {{ end }} {{ if hasreference "roster" }} Roster reference material: {{ reference "roster" }} {{ end }} {{ if hasreference "glossary" }} Glossary reference material: {{ reference "glossary" }} {{ end }} Return only D&D spell-cast artifacts. For each spell cast, identify the in-world caster, spell name, effect, narrative description, and source references using source_id, start_unit_id, and end_unit_id. Use roster and glossary reference material only to clarify source text. Do not return spells, casters, or effects that are mentioned only in reference material.