GraphRAGDocument
Example Usage
typescript
import { GraphRAGDocument } from "@meetkai/mka1/models/components";
let value: GraphRAGDocument = {
documentId: "doc_001",
text: "Atlas Infrastructure Group owns Rivera Logistics.",
metadata: {
"source": "benchmark",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
documentId | string | ✔️ | N/A |
text | string | ✔️ | N/A |
metadata | Record<string, any> | ➖ | N/A |