pub enum ScopeType {
Agent,
Function,
Tool,
Llm,
Retriever,
Embedder,
Reranker,
Guardrail,
Evaluator,
Custom,
Unknown,
}Expand description
Semantic category attached to a scope lifecycle span.
Variants§
Agent
A top-level agent or workflow scope.
Function
A generic function or application step.
Tool
A tool lifecycle scope.
Llm
An LLM lifecycle scope.
Retriever
A retrieval step such as document search.
Embedder
An embedding generation step.
Reranker
A reranking step.
Guardrail
A guardrail or validation step.
Evaluator
An evaluation or scoring step.
Custom
A caller-defined custom scope category.
Unknown
A fallback for unknown or unsupported scope categories.
Implementations§
Trait Implementations§
impl Copy for ScopeType
Source§impl<'de> Deserialize<'de> for ScopeType
impl<'de> Deserialize<'de> for ScopeType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScopeType
Source§impl From<&EventCategory> for ScopeType
impl From<&EventCategory> for ScopeType
Source§fn from(value: &EventCategory) -> ScopeType
fn from(value: &EventCategory) -> ScopeType
Converts to this type from the input type.
Source§impl From<ScopeType> for EventCategory
impl From<ScopeType> for EventCategory
Source§fn from(value: ScopeType) -> EventCategory
fn from(value: ScopeType) -> EventCategory
Converts to this type from the input type.
Source§impl From<ScopeType> for NemoRelayNativeScopeType
impl From<ScopeType> for NemoRelayNativeScopeType
Source§impl Serialize for ScopeType
impl Serialize for ScopeType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ScopeType
Auto Trait Implementations§
impl Freeze for ScopeType
impl RefUnwindSafe for ScopeType
impl Send for ScopeType
impl Sync for ScopeType
impl Unpin for ScopeType
impl UnsafeUnpin for ScopeType
impl UnwindSafe for ScopeType
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