/** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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. */ import type { AssistantMessageAllOfContext } from './AssistantMessageAllOfContext'; import type { AssistantMessagePart } from './AssistantMessagePart'; import type { ChatbotModel } from './ChatbotModel'; /** * * @export * @interface AssistantMessage */ export interface AssistantMessage { /** * * @type {string} * @memberof AssistantMessage */ 'role': AssistantMessageRoleEnum; /** * * @type {Array} * @memberof AssistantMessage */ 'parts'?: Array | null; /** * * @type {string} * @memberof AssistantMessage */ 'content'?: string | null; /** * * @type {string} * @memberof AssistantMessage */ 'id': string; /** * * @type {string} * @memberof AssistantMessage */ 'assistantChatId': string; /** * * @type {ChatbotModel} * @memberof AssistantMessage */ 'model': ChatbotModel | null; /** * * @type {AssistantMessageAllOfContext} * @memberof AssistantMessage */ 'context': AssistantMessageAllOfContext | null; /** * * @type {string} * @memberof AssistantMessage */ 'createdAt': string; /** * * @type {string} * @memberof AssistantMessage */ 'modifiedAt': string; } /** * @export */ export declare const AssistantMessageRoleEnum: { readonly User: "user"; readonly Assistant: "assistant"; }; export type AssistantMessageRoleEnum = typeof AssistantMessageRoleEnum[keyof typeof AssistantMessageRoleEnum]; /** * Check if a given object implements the AssistantMessage interface. */ export declare function instanceOfAssistantMessage(value: object): value is AssistantMessage; export declare function AssistantMessageFromJSON(json: any): AssistantMessage; export declare function AssistantMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssistantMessage; export declare function AssistantMessageToJSON(json: any): AssistantMessage; export declare function AssistantMessageToJSONTyped(value?: AssistantMessage | null, ignoreDiscriminator?: boolean): any;