Expand description
§Semantic Search Library
semantic-search
is a library for searching semantically similar documents.
To be specific, it helps you get embeddings of texts and search for top-k similar texts, where similarity is defined by cosine similarity of embeddings.
Re-exports§
pub use embedding::Embedding;
Modules§
- embedding
- Embedding module
Structs§
- ApiClient
- A client for the Silicon Flow API.
Enums§
- Model
- Available models.
- Sense
Error - Possible errors.