"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetModelTypeDto = void 0;
const swagger_1 = require("@nestjs/swagger");
class SetModelTypeDto {
}
__decorate([
    (0, swagger_1.ApiProperty)({ example: 1, description: 'model id', required: false }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "id", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 1, description: '模型类型', required: true }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "keyType", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: '文心一言普通模型', description: '模型中文名称', required: true }),
    __metadata("design:type", String)
], SetModelTypeDto.prototype, "modelName", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '是否开启当前key对应的模型', required: true }),
    __metadata("design:type", Boolean)
], SetModelTypeDto.prototype, "status", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 'gpt-3.5', description: '当前key绑定的模型是多少 需要调用的模型', required: true }),
    __metadata("design:type", String)
], SetModelTypeDto.prototype, "model", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 1, description: '温度' }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "temperature", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '扣费类型 1： 普通 2： 高级余额', required: false }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "deductType", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '单次扣除金额', required: false }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "deduct", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '排序id 越大越靠前', default: 100 }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "order", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 4000, description: '模型允许用户使用的最大token设置过高意味着单次的上下文会很高控制模型上下文控制使用token数量', required: true }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "maxTokens", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 1000, description: '模型支持的最大回复TOken数量', required: true }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "maxResponseTokens", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '最大上下文轮次', required: false }),
    __metadata("design:type", Number)
], SetModelTypeDto.prototype, "maxRounds", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '是否设置为Dall-E3绘画Key', required: false }),
    __metadata("design:type", Boolean)
], SetModelTypeDto.prototype, "isDallE3", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: true, description: '是否设置为工具key', required: false }),
    __metadata("design:type", Boolean)
], SetModelTypeDto.prototype, "isUseTool", void 0);
exports.SetModelTypeDto = SetModelTypeDto;
