UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
53 lines (52 loc) 1.71 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.21.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CreateChatCompletionRequestMessage */ export interface CreateChatCompletionRequestMessage { /** * * @type {string} * @memberof CreateChatCompletionRequestMessage */ role: string; /** * * @type {string} * @memberof CreateChatCompletionRequestMessage */ content: string; /** * * @type {string} * @memberof CreateChatCompletionRequestMessage */ name?: string | null; /** * * @type {{ [key: string]: any; }} * @memberof CreateChatCompletionRequestMessage */ functionCall?: { [key: string]: any; } | null; } /** * Check if a given object implements the CreateChatCompletionRequestMessage interface. */ export declare function instanceOfCreateChatCompletionRequestMessage(value: object): value is CreateChatCompletionRequestMessage; export declare function CreateChatCompletionRequestMessageFromJSON(json: any): CreateChatCompletionRequestMessage; export declare function CreateChatCompletionRequestMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateChatCompletionRequestMessage; export declare function CreateChatCompletionRequestMessageToJSON(json: any): CreateChatCompletionRequestMessage; export declare function CreateChatCompletionRequestMessageToJSONTyped(value?: CreateChatCompletionRequestMessage | null, ignoreDiscriminator?: boolean): any;