UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
53 lines (52 loc) 1.73 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 CreateChatCompletionRequestMessage1 */ export interface CreateChatCompletionRequestMessage1 { /** * * @type {string} * @memberof CreateChatCompletionRequestMessage1 */ role: string; /** * * @type {string} * @memberof CreateChatCompletionRequestMessage1 */ content: string; /** * * @type {string} * @memberof CreateChatCompletionRequestMessage1 */ name?: string | null; /** * * @type {{ [key: string]: any; }} * @memberof CreateChatCompletionRequestMessage1 */ functionCall?: { [key: string]: any; } | null; } /** * Check if a given object implements the CreateChatCompletionRequestMessage1 interface. */ export declare function instanceOfCreateChatCompletionRequestMessage1(value: object): value is CreateChatCompletionRequestMessage1; export declare function CreateChatCompletionRequestMessage1FromJSON(json: any): CreateChatCompletionRequestMessage1; export declare function CreateChatCompletionRequestMessage1FromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateChatCompletionRequestMessage1; export declare function CreateChatCompletionRequestMessage1ToJSON(json: any): CreateChatCompletionRequestMessage1; export declare function CreateChatCompletionRequestMessage1ToJSONTyped(value?: CreateChatCompletionRequestMessage1 | null, ignoreDiscriminator?: boolean): any;