MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / validate_output

Method validate_output

core/src/agents.rs:250–252  ·  view source on GitHub ↗
(&self, output: &str, schema: &serde_json::Value)

Source from the content-addressed store, hash-verified

248 }
249
250 async fn validate_output(&self, output: &str, schema: &serde_json::Value) -> ValidationResult {
251 self.validator.validate_against_schema(output, schema)
252 }
253
254 fn llm_provider(&self) -> &LlmProvider {
255 &self.llm_provider

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected