#[non_exhaustive]pub struct MemoryRecallInput {Show 18 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 query: Option<String>,
pub since: Option<Option<String>>,
pub until: Option<Option<String>>,
pub thread: Option<String>,
pub role: Option<MemoryRecallInputRole>,
pub match: Option<MemoryRecallInputMatch>,
pub order: Option<MemoryRecallInputOrder>,
pub top_k: Option<Integer>,
pub cursor: Option<String>,
pub offset: Option<Integer>,
pub max_chars: Option<Integer>,
pub read_scope: Option<MemoryRecallInputReadScope>,
}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>§query: Option<String>§since: Option<Option<String>>§until: Option<Option<String>>§thread: Option<String>§role: Option<MemoryRecallInputRole>§match: Option<MemoryRecallInputMatch>§order: Option<MemoryRecallInputOrder>§top_k: Option<Integer>§cursor: Option<String>§offset: Option<Integer>§max_chars: Option<Integer>§read_scope: Option<MemoryRecallInputReadScope>Implementations§
Source§impl MemoryRecallInput
impl MemoryRecallInput
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 query(self, query: impl Into<String>) -> Self
pub fn since(self, since: impl Into<String>) -> Self
pub fn since_null(self) -> Self
pub fn until(self, until: impl Into<String>) -> Self
pub fn until_null(self) -> Self
pub fn thread(self, thread: impl Into<String>) -> Self
pub fn role(self, role: MemoryRecallInputRole) -> Self
pub fn match(self, match: MemoryRecallInputMatch) -> Self
pub fn order(self, order: MemoryRecallInputOrder) -> Self
pub fn top_k(self, top_k: impl Into<Integer>) -> Self
pub fn cursor(self, cursor: impl Into<String>) -> Self
pub fn offset(self, offset: impl Into<Integer>) -> Self
pub fn max_chars(self, max_chars: impl Into<Integer>) -> Self
pub fn read_scope(self, read_scope: MemoryRecallInputReadScope) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryRecallOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryRecallInput
impl Clone for MemoryRecallInput
Source§impl Debug for MemoryRecallInput
impl Debug for MemoryRecallInput
Source§impl Default for MemoryRecallInput
impl Default for MemoryRecallInput
Source§impl<'de> Deserialize<'de> for MemoryRecallInput
impl<'de> Deserialize<'de> for MemoryRecallInput
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 MemoryRecallInput
impl PartialEq for MemoryRecallInput
Source§impl Serialize for MemoryRecallInput
impl Serialize for MemoryRecallInput
impl StructuralPartialEq for MemoryRecallInput
Auto Trait Implementations§
impl Forget for MemoryRecallInput
impl Freeze for MemoryRecallInput
impl Move for MemoryRecallInput
impl RefUnwindSafe for MemoryRecallInput
impl Send for MemoryRecallInput
impl Sync for MemoryRecallInput
impl Unpin for MemoryRecallInput
impl UnsafeUnpin for MemoryRecallInput
impl UnwindSafe for MemoryRecallInput
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