MCPcopy Create free account
hub / github.com/YiTangMJ/GraphRAG-Example / extractJsonObject

Function extractJsonObject

src/services/llmExtractor.js:139–177  ·  view source on GitHub ↗

* Extract the outermost balanced JSON object from a string. * Finds the first { and tracks brace depth to find matching }.

(text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseExtractionResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected