SDK reference / Models / Support

SupportDraft

Kind: class

Namespace: Egulu.Sdk.Models.Support

A reply drafted by the support drafter for a human to check, edit and post (W100; ADR-0807). Visible to support staff only; never sent by itself.

Properties

NameTypeJSON nameDescription
Bodystring?bodyThe draft, with a [n] citation marker after every sentence. Untrusted model output.
CitationsList<string>?citationsThe cited sources' references, in marker order.
CreateTimeDateTimeOffset?createTimeThe createTime property
DecidedBystring?decidedByThe human who posted it.
DraftIdstring?draftIdDraft identifier, passed as draftId when posting it.
DraftMillislong?draftMillisDrafting time in milliseconds.
EditRatiodouble?editRatioHow much the human changed it before posting: 0 none, 1 a rewrite (word-level).
FlagsList<Models.Support.SupportDraftFlag>?flagsWhy the draft was flagged.
Modelstring?modelThe model that drafted it.
ModelDigeststring?modelDigestThe model's pinned digest.
Namestring?nameResource name: .../supportCases/{supportCase}/drafts/{draft}.
ReadyTimeDateTimeOffset?readyTimeThe readyTime property
SourcesList<Models.Support.SupportDraftSource>?sourcesThe sources the drafter retrieved.
Statusstring?statusDRAFTING, READY (every sentence passed the citation check), FLAGGED (one or more did not; write the reply yourself), FAILED or USED.