Struct Agent Instruction Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct AgentInstructionConfig {
    pub content: String,
    pub mode: InstructionMode,
    pub extensions: BTreeMap<String, Value>,
}

One normalized instruction value projected to an adapter target.

Fields

content: String

Instruction text.

mode: InstructionMode

How the instruction is applied.

extensions: BTreeMap<String, Value>

Adapter-owned instruction fields.

Trait Implementations

impl Clone for AgentInstructionConfig

impl Clone for AgentInstructionConfig

clone

fn clone(&self) -> AgentInstructionConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AgentInstructionConfig

impl Debug for AgentInstructionConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for AgentInstructionConfig

impl<'de> Deserialize<'de> for AgentInstructionConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for AgentInstructionConfig

impl JsonSchema for AgentInstructionConfig

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for AgentInstructionConfig

impl PartialEq for AgentInstructionConfig

eq

fn eq(&self, other: &AgentInstructionConfig) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AgentInstructionConfig

impl Serialize for AgentInstructionConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for AgentInstructionConfig

impl StructuralPartialEq for AgentInstructionConfig