pub struct KnowledgeContext {
pub persona: String,
pub catalog: String,
pub user_profile: Option<String>,
}Expand description
Knowledge placed in the system prompt.
Fields§
§persona: StringThe bot’s persona documents.
catalog: StringThe bundle catalog, as visible to the requester.
user_profile: Option<String>The requester’s profile, if one exists.
Trait Implementations§
Source§impl Clone for KnowledgeContext
impl Clone for KnowledgeContext
Source§impl Debug for KnowledgeContext
impl Debug for KnowledgeContext
Source§impl Default for KnowledgeContext
impl Default for KnowledgeContext
impl Eq for KnowledgeContext
Source§impl PartialEq for KnowledgeContext
impl PartialEq for KnowledgeContext
impl StructuralPartialEq for KnowledgeContext
Auto Trait Implementations§
impl Freeze for KnowledgeContext
impl RefUnwindSafe for KnowledgeContext
impl Send for KnowledgeContext
impl Sync for KnowledgeContext
impl Unpin for KnowledgeContext
impl UnsafeUnpin for KnowledgeContext
impl UnwindSafe for KnowledgeContext
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