pub struct ReadModelBackendConfig {
pub semantic_mode: ReadModelBackendMode,
pub vector_mode: ReadModelBackendMode,
pub semantic_model: ReadModelMetadata,
pub vector_model: ReadModelMetadata,
pub image_model: ReadModelMetadata,
pub remote_embedding: Option<RemoteEmbeddingConfig>,
pub rerank: RerankConfig,
}Expand description
Runtime read model configuration shared by refresh and retrieval status.
Fields§
§semantic_mode: ReadModelBackendMode§vector_mode: ReadModelBackendMode§semantic_model: ReadModelMetadata§vector_model: ReadModelMetadata§image_model: ReadModelMetadata§remote_embedding: Option<RemoteEmbeddingConfig>§rerank: RerankConfigImplementations§
Source§impl ReadModelBackendConfig
impl ReadModelBackendConfig
Sourcepub fn refreshes_index(&self, kind: IndexKind) -> bool
pub fn refreshes_index(&self, kind: IndexKind) -> bool
Returns whether local index refresh should maintain an index family.
Sourcepub fn disabled_retriever_sources(&self) -> Vec<RetrieverSource>
pub fn disabled_retriever_sources(&self) -> Vec<RetrieverSource>
Returns read-model retrievers that must not execute for a request.
Trait Implementations§
Source§impl Clone for ReadModelBackendConfig
impl Clone for ReadModelBackendConfig
Source§fn clone(&self) -> ReadModelBackendConfig
fn clone(&self) -> ReadModelBackendConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadModelBackendConfig
impl Debug for ReadModelBackendConfig
impl Eq for ReadModelBackendConfig
Source§impl PartialEq for ReadModelBackendConfig
impl PartialEq for ReadModelBackendConfig
impl StructuralPartialEq for ReadModelBackendConfig
Auto Trait Implementations§
impl Freeze for ReadModelBackendConfig
impl RefUnwindSafe for ReadModelBackendConfig
impl Send for ReadModelBackendConfig
impl Sync for ReadModelBackendConfig
impl Unpin for ReadModelBackendConfig
impl UnsafeUnpin for ReadModelBackendConfig
impl UnwindSafe for ReadModelBackendConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.