IPublisherAiTextSourceV1
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Text generated by AI at document-build time.
export interface IPublisherAiTextSourceV1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) (Optional) Materialized generation result (markdown), stored so the document renders deterministically without re-invoking AI. Absent until first generation. | ||
string | (ALPHA) (Optional) ISO 8601 timestamp of the stored generation. | ||
string | (ALPHA) Instruction for the generator. Supports | ||
“ai” | (ALPHA) |
Property details
IPublisherAiTextSourceV1.contentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Materialized generation result (markdown), stored so the document renders deterministically without re-invoking AI. Absent until first generation.
content?: string;
IPublisherAiTextSourceV1.generatedAtpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
ISO 8601 timestamp of the stored generation.
generatedAt?: string;
IPublisherAiTextSourceV1.promptpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Instruction for the generator. Supports {variables}.
prompt: string;
IPublisherAiTextSourceV1.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
type: "ai";