#[non_exhaustive]pub struct MemoryStackInput {Show 13 fields
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub session_id: Option<String>,
pub run_id: Option<String>,
pub token_budget: Option<Integer>,
pub pinned_limit: Option<Integer>,
pub recent_limit: Option<Integer>,
pub include_knowledge: Option<bool>,
pub knowledge_top_k: Option<Integer>,
pub seed_query: Option<String>,
pub procedure_limit: Option<Integer>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§agent: Option<String>§user_id: Option<String>§session_id: Option<String>§run_id: Option<String>§token_budget: Option<Integer>§pinned_limit: Option<Integer>§recent_limit: Option<Integer>§include_knowledge: Option<bool>§knowledge_top_k: Option<Integer>§seed_query: Option<String>§procedure_limit: Option<Integer>Implementations§
Source§impl MemoryStackInput
impl MemoryStackInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn session_id(self, session_id: impl Into<String>) -> Self
pub fn run_id(self, run_id: impl Into<String>) -> Self
pub fn token_budget(self, token_budget: impl Into<Integer>) -> Self
pub fn pinned_limit(self, pinned_limit: impl Into<Integer>) -> Self
pub fn recent_limit(self, recent_limit: impl Into<Integer>) -> Self
pub fn include_knowledge(self, include_knowledge: bool) -> Self
pub fn knowledge_top_k(self, knowledge_top_k: impl Into<Integer>) -> Self
pub fn seed_query(self, seed_query: impl Into<String>) -> Self
pub fn procedure_limit(self, procedure_limit: impl Into<Integer>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryStackOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryStackInput
impl Clone for MemoryStackInput
Source§impl Debug for MemoryStackInput
impl Debug for MemoryStackInput
Source§impl Default for MemoryStackInput
impl Default for MemoryStackInput
Source§impl<'de> Deserialize<'de> for MemoryStackInput
impl<'de> Deserialize<'de> for MemoryStackInput
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 MemoryStackInput
impl PartialEq for MemoryStackInput
Source§impl Serialize for MemoryStackInput
impl Serialize for MemoryStackInput
impl StructuralPartialEq for MemoryStackInput
Auto Trait Implementations§
impl Forget for MemoryStackInput
impl Freeze for MemoryStackInput
impl Move for MemoryStackInput
impl RefUnwindSafe for MemoryStackInput
impl Send for MemoryStackInput
impl Sync for MemoryStackInput
impl Unpin for MemoryStackInput
impl UnsafeUnpin for MemoryStackInput
impl UnwindSafe for MemoryStackInput
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