Behaviour for a vector store backing local-mode Guava.DocumentQA.
Implementations handle embedding internally: callers pass plain text and get plain text back. The store is any term (typically a struct) passed as the first argument to each callback.
Summary
Callbacks
@callback clear(store :: term()) :: :ok
@callback count(store :: term()) :: non_neg_integer()
@callback search(store :: term(), query :: String.t(), k :: pos_integer()) :: [String.t()]