SemanticStore

constructor(store: Store, embeddings: EmbeddingModel, minScore: Double = -1.0, scope: Int = Store.SEARCH_SCOPE)

Parameters

store

where the items and their vectors are kept.

embeddings

makes the vectors.

minScore

the lowest cosine, from -1 to 1, of an item that a search returns. The default returns every item, the best first. What a good limit is depends on the model.

scope

how many items a search looks at.