Skip to main content

SET

Insert raw input (text or an image) into a store — Ahnlich AI embeds it for you. Add metadata as key–value pairs.

Syntax

SET <key> "<raw input>" WITH {"<meta_key>":"<meta_value>"} IN <store>SET <key> "<raw input>" WITH { ... } IN <store> SCHEMA media

Example

SET doc1 "The future of AI in healthcare" WITH {"category":"news"} IN article_store

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