Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

E103

For the complete documentation index optimized for AI agents, see llms.txt.

Unknown Vector Type

Erroneous Code Example

This error occurs when you try to reference a vector type that is not defined in your schema.

QUERY search(query: String) =>
    results <- SearchV<Document>(Embed(query), 10)
    RETURN results
// no types defined

Solution

Define the vector type Document in your schema.

V::Document {
    // fields
}