pub enum AgentContextStrategy {
Compaction,
Summarize,
Truncate,
SlidingWindow,
Other(String),
}Expand description
AgentContextStrategy enumeration.
Variants§
Compaction
Summarize
Truncate
SlidingWindow
Other(String)
A value the API introduced after this SDK was generated.
Implementations§
Trait Implementations§
Source§impl Clone for AgentContextStrategy
impl Clone for AgentContextStrategy
Source§fn clone(&self) -> AgentContextStrategy
fn clone(&self) -> AgentContextStrategy
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 AgentContextStrategy
impl Debug for AgentContextStrategy
Source§impl Default for AgentContextStrategy
impl Default for AgentContextStrategy
Source§fn default() -> AgentContextStrategy
fn default() -> AgentContextStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentContextStrategy
impl<'de> Deserialize<'de> for AgentContextStrategy
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 Display for AgentContextStrategy
impl Display for AgentContextStrategy
impl Eq for AgentContextStrategy
Source§impl From<&str> for AgentContextStrategy
impl From<&str> for AgentContextStrategy
Source§impl Hash for AgentContextStrategy
impl Hash for AgentContextStrategy
Source§impl PartialEq for AgentContextStrategy
impl PartialEq for AgentContextStrategy
Source§impl Serialize for AgentContextStrategy
impl Serialize for AgentContextStrategy
impl StructuralPartialEq for AgentContextStrategy
Auto Trait Implementations§
impl Freeze for AgentContextStrategy
impl RefUnwindSafe for AgentContextStrategy
impl Send for AgentContextStrategy
impl Sync for AgentContextStrategy
impl Unpin for AgentContextStrategy
impl UnsafeUnpin for AgentContextStrategy
impl UnwindSafe for AgentContextStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.