/** * Typesense API * An open source search engine for building delightful search experiences. * * The version of the OpenAPI document: 30.0 * * * 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 ConversationModelUpdateSchema */ export interface ConversationModelUpdateSchema { /** * An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. * @type {string} * @memberof ConversationModelUpdateSchema */ id?: string; /** * Name of the LLM model offered by OpenAI, Cloudflare or vLLM * @type {string} * @memberof ConversationModelUpdateSchema */ modelName?: string; /** * The LLM service's API Key * @type {string} * @memberof ConversationModelUpdateSchema */ apiKey?: string; /** * Typesense collection that stores the historical conversations * @type {string} * @memberof ConversationModelUpdateSchema */ historyCollection?: string; /** * LLM service's account ID (only applicable for Cloudflare) * @type {string} * @memberof ConversationModelUpdateSchema */ accountId?: string; /** * The system prompt that contains special instructions to the LLM * @type {string} * @memberof ConversationModelUpdateSchema */ systemPrompt?: string; /** * Time interval in seconds after which the messages would be deleted. Default: 86400 (24 hours) * * @type {number} * @memberof ConversationModelUpdateSchema */ ttl?: number; /** * The maximum number of bytes to send to the LLM in every API call. Consult the LLM's documentation on the number of bytes supported in the context window. * * @type {number} * @memberof ConversationModelUpdateSchema */ maxBytes?: number; /** * URL of vLLM service * @type {string} * @memberof ConversationModelUpdateSchema */ vllmUrl?: string; } /** * Check if a given object implements the ConversationModelUpdateSchema interface. */ export declare function instanceOfConversationModelUpdateSchema(value: object): value is ConversationModelUpdateSchema; export declare function ConversationModelUpdateSchemaFromJSON(json: any): ConversationModelUpdateSchema; export declare function ConversationModelUpdateSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationModelUpdateSchema; export declare function ConversationModelUpdateSchemaToJSON(json: any): ConversationModelUpdateSchema; export declare function ConversationModelUpdateSchemaToJSONTyped(value?: ConversationModelUpdateSchema | null, ignoreDiscriminator?: boolean): any;