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>)
| 87 | /// Use [`super::SHERPA_PROFILE`] for Sherpa-structured graphs. Omit for generic |
| 88 | /// agent graphs — `profile` defaults to `None` if not set. |
| 89 | pub fn profile(mut self, profile: impl Into<String>) -> Self { |
| 90 | self.profile = Some(profile.into()); |
| 91 | self |
| 92 | } |
| 93 | |
| 94 | /// Add a node to the graph. |
| 95 | pub fn add_node(mut self, node: ProvenanceNode) -> Self { |
no outgoing calls