UNPKG

n8n-nodes-deepseek-new

Version:

A user-friendly DeepSeek AI node, similar to OpenAI, designed to enhance your workflow. npm link: https://www.npmjs.com/package/n8n-nodes-deepseek

58 lines 1.96 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeepSeek = void 0; const ChatDescription_1 = require("./ChatDescription"); const FIMDescription_1 = require("./FIMDescription"); class DeepSeek { constructor() { this.description = { displayName: 'DeepSeek', name: 'deepSeek', icon: { light: 'file:DeepSeek.svg', dark: 'file:DeepSeek-dark.svg' }, group: ['transform'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', description: 'Consume DeepSeek AI', defaults: { name: 'DeepSeek', }, inputs: ['main'], outputs: ['main'], credentials: [ { name: 'deepSeekApi', required: true, }, ], requestDefaults: { ignoreHttpStatusErrors: true, baseURL: 'http://host.docker.internal:1234/v1', }, properties: [ { displayName: 'Resource', name: 'resource', type: 'options', noDataExpression: true, options: [ { name: 'Chat', value: 'chat' }, { name: 'FIM', value: 'fim' } ], default: 'chat', }, ...ChatDescription_1.chatOperations, ...FIMDescription_1.fimOperations, ...ChatDescription_1.chatFields, ...FIMDescription_1.FIMFields ], }; } } exports.DeepSeek = DeepSeek; //# sourceMappingURL=DeepSeek.node.js.map