Expand description
Shared utility functions for the graph subsystem.
Functions§
- extract_
json_ object - Extract the first balanced JSON object from a string.
- merge_
json_ objects - Merge two JSON objects, with
overlaykeys taking precedence. - parse_
datetime - Parse a SurrealDB datetime value (serde_json::Value) into a chrono DateTime.
- strip_
markdown_ fencing - Strip markdown code fencing (
json ...) from LLM responses.