Overview

Learn how to provide content for your slots.

This interface abstracts the source of a slot’s content, so an implementation can serve it from wherever you keep it.

When a request to the Croct API fails, the SDK serves content from a provider instead, so your application keeps rendering. By default, it auto-discovers the content downloaded by the CLI and builds a provider from it, with no extra setup.

For tests, serve a fixed set of content from an in-memory map.