Skip to content

IngestGraphRAGDocumentsRequest

Example Usage

typescript
import { IngestGraphRAGDocumentsRequest } from "@meetkai/mka1/models/operations";

let value: IngestGraphRAGDocumentsRequest = {
  storeName: "<value>",
  ingestGraphRAGDocumentsRequest: {
    documents: [
      {
        documentId: "doc_001",
        text: "Atlas Infrastructure Group owns Rivera Logistics.",
        metadata: {
          "source": "benchmark",
        },
      },
    ],
  },
};

Fields

FieldTypeRequiredDescriptionExample
storeNamestring✔️N/A
xOnBehalfOfstringOptional external end-user identifier forwarded by the API gateway.
ingestGraphRAGDocumentsRequestcomponents.IngestGraphRAGDocumentsRequest✔️N/A{
"documents": [
{
"document_id": "doc_001",
"metadata": {
"source": "benchmark"
},
"text": "Atlas Infrastructure Group owns Rivera Logistics."
}
]
}