SearchSimilar performs a semantic similarity search. The plugin is responsible for embedding the query text and searching its vector store. Returns up to topK results sorted by similarity score (descending).
(ctx context.Context, query string, topK int)
| 100 | // The plugin is responsible for embedding the query text and searching its vector store. |
| 101 | // Returns up to topK results sorted by similarity score (descending). |
| 102 | SearchSimilar(ctx context.Context, query string, topK int) ([]VectorSearchResult, error) |
| 103 | |
| 104 | // UpdateContent upserts a single document in the vector store. |
| 105 | // Called by the core on incremental content changes. |
no outgoing calls
no test coverage detected