/** * 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 ConversationModelSchema */ export interface ConversationModelSchema { /** * An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. * @type {string} * @memberof ConversationModelSchema */ id: string; /** * Name of the LLM model offered by OpenAI, Cloudflare or vLLM * @type {string} * @memberof ConversationModelSchema */ modelName: string; /** * The LLM service's API Key * @type {string} * @memberof ConversationModelSchema */ apiKey?: string; /** * Typesense collection that stores the historical conversations * @type {string} * @memberof ConversationModelSchema */ historyCollection: string; /** * LLM service's account ID (only applicable for Cloudflare) * @type {string} * @memberof ConversationModelSchema */ accountId?: string; /** * The system prompt that contains special instructions to the LLM * @type {string} * @memberof ConversationModelSchema */ systemPrompt?: string; /** * Time interval in seconds after which the messages would be deleted. Default: 86400 (24 hours) * * @type {number} * @memberof ConversationModelSchema */ 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 ConversationModelSchema */ maxBytes: number; /** * URL of vLLM service * @type {string} * @memberof ConversationModelSchema */ vllmUrl?: string; } /** * Check if a given object implements the ConversationModelSchema interface. */ export declare function instanceOfConversationModelSchema(value: object): value is ConversationModelSchema; export declare function ConversationModelSchemaFromJSON(json: any): ConversationModelSchema; export declare function ConversationModelSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationModelSchema; export declare function ConversationModelSchemaToJSON(json: any): ConversationModelSchema; export declare function ConversationModelSchemaToJSONTyped(value?: ConversationModelSchema | null, ignoreDiscriminator?: boolean): any;