Cargo Features
ENDPOINTS has no features set by default.
[dependencies]
endpoints = { version = "0.24.1", features = ["full", "rag", "whisper", "logging", "index"] }
- full = index, logging, rag, whisper
- rag full?
-
Affects
chat::ChatCompletionRequest.context_window
,chat::ChatCompletionRequest.vdb_server_url
,chat::ChatCompletionRequest.vdb_collection_name
,chat::ChatCompletionRequest.limit
,chat::ChatCompletionRequest.score_threshold
,chat::ChatCompletionRequest.vdb_api_key
,embeddings::EmbeddingRequest.vdb_server_url
,embeddings::EmbeddingRequest.vdb_collection_name
,embeddings::EmbeddingRequest.vdb_api_key
,endpoints::rag
,chat::ChatCompletionRequest.kw_search_url
,chat::ChatCompletionRequest.kw_index_name
,chat::ChatCompletionRequest.kw_top_k
… - whisper full?
-
Affects
audio::transcription
,audio::translation
… - logging full? = log
- index full?
-
Affects
endpoints::keyword_search
,rag::CreateRagResponse.index_response
,chat::ChatCompletionRequest.kw_search_url
,chat::ChatCompletionRequest.kw_index_name
,chat::ChatCompletionRequest.kw_top_k
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.