gpt classes (original) (raw)


vector-database

Class, gpt package

A structure-class defined by defstruct with slots for the vector database's name, properties, embedder function, property-vectors and embedding-vectors.

The accessors vector-database-name, vector-database-embedding-vectors and vector-database-property-vectors are exported from the :llm package. The remaining accessors are named by unexported symbols, but the corresponding values may be set with the constructor make-vector-database.

See the description the nearest-neighbor function nn for an example using a vector-database.

See <llm-api.html> for general information on support for large language models in Allegro CL.



Copyright (c) Franz Inc. Lafayette, CA., USA. All rights reserved.