UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

54 lines 1.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assistantRLC = exports.modelRLC = void 0; const modelRLC = (searchListMethod = 'modelSearch') => ({ displayName: 'Model', name: 'modelId', type: 'resourceLocator', default: { mode: 'list', value: '' }, required: true, modes: [ { displayName: 'From List', name: 'list', type: 'list', typeOptions: { searchListMethod, searchable: true, }, }, { displayName: 'ID', name: 'id', type: 'string', placeholder: 'e.g. gpt-4', }, ], }); exports.modelRLC = modelRLC; exports.assistantRLC = { displayName: 'Assistant', name: 'assistantId', type: 'resourceLocator', description: 'Assistant to respond to the message. You can add, modify or remove assistants in the <a href="https://platform.openai.com/playground?mode=assistant" target="_blank">playground</a>.', default: { mode: 'list', value: '' }, required: true, modes: [ { displayName: 'From List', name: 'list', type: 'list', typeOptions: { searchListMethod: 'assistantSearch', searchable: true, }, }, { displayName: 'ID', name: 'id', type: 'string', placeholder: 'e.g. asst_abc123', }, ], }; //# sourceMappingURL=descriptions.js.map