/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Optional metadata attached to the user message. Used by learning session chats to bind an answer to its inline question (`inlineQuestionId` + `questionType` + `structuredAnswer`) and to mark client-auto-fired kickoff turns (`synthetic`). All fields are optional; callers supply whichever subset applies to the message being sent. * @export * @interface ChatRequestMessageMetadata */ export interface ChatRequestMessageMetadata { /** * Identifier of the inline question this user message is answering. Omitted on synthetic kickoff messages (see `synthetic`). * @type {string} * @memberof ChatRequestMessageMetadata */ inlineQuestionId?: string; /** * Widget shape the inline question used (free-text, fill-blank, teach-back, spot-error). * @type {string} * @memberof ChatRequestMessageMetadata */ questionType?: string; /** * Raw typed answer shape from the widget (e.g. string[] of fill-blank answers). Server passes it through to the evaluator. * @type {any} * @memberof ChatRequestMessageMetadata */ structuredAnswer?: any | null; /** * True when the user message is auto-fired by the client on behalf of the learner (daily-quiz opener, level-up-initiate / quick-practice-initiate kickoff). Informational only — server-side code paths do not branch on it. Persisted on the user message's first text part so clients can suppress the turn from the rendered transcript on rehydration. Absence is equivalent to `false`. * @type {boolean} * @memberof ChatRequestMessageMetadata */ synthetic?: boolean; } /** * Check if a given object implements the ChatRequestMessageMetadata interface. */ export declare function instanceOfChatRequestMessageMetadata(value: object): value is ChatRequestMessageMetadata; export declare function ChatRequestMessageMetadataFromJSON(json: any): ChatRequestMessageMetadata; export declare function ChatRequestMessageMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRequestMessageMetadata; export declare function ChatRequestMessageMetadataToJSON(json: any): ChatRequestMessageMetadata; export declare function ChatRequestMessageMetadataToJSONTyped(value?: ChatRequestMessageMetadata | null, ignoreDiscriminator?: boolean): any;