pub enum KnowledgeKind {
VectorIndex,
DocumentCorpus,
IndexedDataset,
Feed,
EmbeddingStore,
Other,
}Expand description
What kind of knowledge resource this is. Drives the suggested
params schema and lets the discovery surface filter by purpose.
Variants§
VectorIndex
Vector index — semantic similarity search over an embedded
corpus. Params: { query: string, top_k: u32, filter?: object }.
DocumentCorpus
Full-text document corpus (BM25 / Tantivy / Lucene). Params:
{ query: string, top_k: u32, filter?: object }.
IndexedDataset
Pre-indexed historical dataset queryable by structured filter (SQL-ish / GraphQL / REST). Params: caller-defined.
Feed
Real-time data feed (price feed, oracle, market data, news
stream). Params: { subject: string, window?: object }.
EmbeddingStore
Embedding store for retrieval-augmented generation. Params:
{ query: string | embedding: [f32], top_k: u32 }.
Other
Catch-all for resource shapes not yet captured. The discovery surface still routes by capability_tags; the kind is advisory.
Implementations§
Trait Implementations§
Source§impl Clone for KnowledgeKind
impl Clone for KnowledgeKind
Source§fn clone(&self) -> KnowledgeKind
fn clone(&self) -> KnowledgeKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for KnowledgeKind
Source§impl Debug for KnowledgeKind
impl Debug for KnowledgeKind
Source§impl<'de> Deserialize<'de> for KnowledgeKind
impl<'de> Deserialize<'de> for KnowledgeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for KnowledgeKind
Source§impl PartialEq for KnowledgeKind
impl PartialEq for KnowledgeKind
Source§fn eq(&self, other: &KnowledgeKind) -> bool
fn eq(&self, other: &KnowledgeKind) -> bool
self and other values to be equal, and is used by ==.