Skip to main content

Interface: IFilePart

Defined in: contracts/types.ts:96

Reference to a stored file (image, PDF) in a user turn. The bytes live in the FileStore.

The TurnBuilder writes one per entry of IGatewayAskInput.files; the LLMClient loads the bytes and inlines them for the model (EPartKind.INLINE_FILE, never stored).

Properties​

file​

file: IFileRef

Defined in: contracts/types.ts:100

The file pointer; the bytes are read from the FileStore when the model needs them.


kind​

kind: FILE

Defined in: contracts/types.ts:98

The discriminant of TTurnPart.