MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / profile

Method profile

atomic-core/src/change/provenance_graph/builder.rs:114–117  ·  view source on GitHub ↗

Set the schema profile identifier. Use [`super::SHERPA_PROFILE`] for Sherpa-structured graphs. Omit for generic agent graphs — `profile` defaults to `None` if not set.

(mut self, profile: impl Into<String>)

Source from the content-addressed store, hash-verified

112 /// Use [`super::SHERPA_PROFILE`] for Sherpa-structured graphs. Omit for generic
113 /// agent graphs — `profile` defaults to `None` if not set.
114 pub fn profile(mut self, profile: impl Into<String>) -> Self {
115 self.profile = Some(profile.into());
116 self
117 }
118
119 /// Add a node to the graph.
120 pub fn add_node(mut self, node: ProvenanceNode) -> Self {

Calls

no outgoing calls