ExtractGraphBody
Request body for a Graph operation.
Definition
TypeScript
interface ExtractGraphBody {
content: string;
name?: string | undefined;
sourceId?: string | undefined;
sourceType?: "file" | "manual" | "run" | undefined;
persist?: boolean | undefined;
}Fields
| Field | Type | Notes |
|---|---|---|
content | string | required — Text content to extract from |
name | string | undefined | optional — Name for the persisted instance, if saving. |
sourceId | string | undefined | optional — Source entity ID to record for provenance. |
sourceType | "file" | "manual" | "run" | undefined | optional — Kind of source entity the content came from. |
persist | boolean | undefined | optional — Persist the extracted graph as an instance |