IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo module

types

This module contains the types for the key-value cache APIs.

The module includes structs implementing several different types of KV caches.

This module defines two traits that define the roles of the different structs

  • KVCacheT: Defines the interface for a single (key or value) cache.
  • KVCollectionT: Defines the interface for a pair of caches (keys and values).

Structs​

Traits​

Functions​