pub struct KnowledgeBase {Show 14 fields
pub id: String,
pub tenant_id: String,
pub name: String,
pub description: Option<String>,
pub embedding_model: Option<String>,
pub chunk_size: Option<i64>,
pub chunk_overlap: Option<i64>,
pub document_count: Option<i64>,
pub total_chunks: Option<i64>,
pub status: Option<String>,
pub attached_agents: Option<Vec<KnowledgeBaseAttachedAgent>>,
pub attached_agent_count: Option<i64>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
KnowledgeBase model.
Fields§
§id: String§tenant_id: String§name: String§description: Option<String>§embedding_model: Option<String>§chunk_size: Option<i64>§chunk_overlap: Option<i64>§document_count: Option<i64>§total_chunks: Option<i64>§status: Option<String>Deliberately not an enum. The routes write several values for different notions of
readiness, and publishing a guessed list is how a client comes to reject a state the server
legitimately sends. ready is the one observed on a healthy base.
attached_agents: Option<Vec<KnowledgeBaseAttachedAgent>>§attached_agent_count: Option<i64>§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for KnowledgeBase
impl Clone for KnowledgeBase
Source§fn clone(&self) -> KnowledgeBase
fn clone(&self) -> KnowledgeBase
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 KnowledgeBase
impl Debug for KnowledgeBase
Source§impl Default for KnowledgeBase
impl Default for KnowledgeBase
Source§fn default() -> KnowledgeBase
fn default() -> KnowledgeBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KnowledgeBase
impl<'de> Deserialize<'de> for KnowledgeBase
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KnowledgeBase
impl PartialEq for KnowledgeBase
Source§impl Serialize for KnowledgeBase
impl Serialize for KnowledgeBase
impl StructuralPartialEq for KnowledgeBase
Auto Trait Implementations§
impl Freeze for KnowledgeBase
impl RefUnwindSafe for KnowledgeBase
impl Send for KnowledgeBase
impl Sync for KnowledgeBase
impl Unpin for KnowledgeBase
impl UnsafeUnpin for KnowledgeBase
impl UnwindSafe for KnowledgeBase
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