UNPKG

genkitx-patientseek

Version:

A community plugin for Firebase Genkit to integrate DeepSeek medical models.

36 lines 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SUPPORTED_DEEPSEEK_MODELS = exports.PatientSeekChat = exports.DeepSeekConfigSchema = exports.MODELS_SUPPORTING_OPENAI_RESPONSE_FORMAT = void 0; const genkit_1 = require("genkit"); const model_1 = require("genkit/model"); const zod_1 = require("zod"); exports.MODELS_SUPPORTING_OPENAI_RESPONSE_FORMAT = [ "whyhow-ai/PatientSeek", ]; exports.DeepSeekConfigSchema = genkit_1.GenerationCommonConfigSchema.extend({ frequencyPenalty: zod_1.z.number().min(-2).max(2).optional(), logitBias: zod_1.z.record(zod_1.z.string(), zod_1.z.number().min(-100).max(100)).optional(), logProbs: zod_1.z.boolean().optional(), presencePenalty: zod_1.z.number().min(-2).max(2).optional(), seed: zod_1.z.number().int().optional(), topLogProbs: zod_1.z.number().int().min(0).max(20).optional(), user: zod_1.z.string().optional(), }); exports.PatientSeekChat = (0, model_1.modelRef)({ name: "deepseek/whyhow-ai/PatientSeek", info: { label: "Whyhow - PatientSeek", supports: { media: false, output: ["text"], multiturn: true, systemRole: true, tools: false, }, }, configSchema: exports.DeepSeekConfigSchema, }); exports.SUPPORTED_DEEPSEEK_MODELS = { "whyhow-ai/PatientSeek": exports.PatientSeekChat, }; //# sourceMappingURL=models.js.map