Skip to main content

CREATESTORE

Create an AI store with an index model (embeds stored data) and a query model (embeds searches) — usually the same model.

Syntax

CREATESTORE <store> QUERYMODEL <model> INDEXMODEL <model>CREATESTORE <store> QUERYMODEL <model> INDEXMODEL <model> SCHEMA media

Parameters

  • The bundled model is all-minilm-l6-v2 (text).

Example

CREATESTORE my_store QUERYMODEL all-minilm-l6-v2 INDEXMODEL all-minilm-l6-v2

See SDK examples (choose the AI proxy tab) for Python, Node, Go, and Rust.