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

FieldTypeNotes
contentstringrequired — Text content to extract from
namestring | undefinedoptional — Name for the persisted instance, if saving.
sourceIdstring | undefinedoptional — Source entity ID to record for provenance.
sourceType"file" | "manual" | "run" | undefinedoptional — Kind of source entity the content came from.
persistboolean | undefinedoptional — Persist the extracted graph as an instance