document

fun document(text: String, model: String, options: Map<String, JsonElement>? = null)

Store text and let the server embed it with model, instead of sending a vector.

Kdrant computes nothing here: the point carries the text and the model name, and the embedding happens in Qdrant, which needs an inference provider configured. See InferenceInput.