Skip to main content
Loom can process multiple input formats, automatically converting them into text suitable for the CM agent.

Auto-Detection

The simplest approach — auto_convert() handles format detection:

Available Converters

Chat History

Convert OpenAI-compatible message arrays:

RAG Chunks

Convert retrieval-augmented generation chunks with metadata:

Custom Converters

Subclass InputConverter and implement convert():