n8n-nodes-aimlapi
Version:
Custom n8n node for integrating with the AI/ML API platform (AIMLAPI) to interact with LLMs and multimodal AI models such as chat completion endpoints.
87 lines • 2.51 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.embeddingGenerationProperties = void 0;
exports.embeddingGenerationProperties = [
{
displayName: 'Input Text',
name: 'embeddingInput',
type: 'string',
typeOptions: {
rows: 4,
},
displayOptions: {
show: {
operation: ['embeddingGeneration'],
},
},
default: '',
required: true,
description: 'Text that should be converted into a numeric embedding',
},
{
displayName: 'Extract From Response',
name: 'embeddingExtract',
type: 'options',
displayOptions: {
show: {
operation: ['embeddingGeneration'],
},
},
default: 'vector',
description: 'Choose what part of the embedding response to return',
options: [
{
name: 'First Embedding Vector',
value: 'vector',
},
{
name: 'All Embedding Vectors',
value: 'vectors',
},
{
name: 'Full Raw JSON',
value: 'raw',
},
],
},
{
displayName: 'Embedding Options',
name: 'embeddingOptions',
type: 'collection',
placeholder: 'Add Option',
displayOptions: {
show: {
operation: ['embeddingGeneration'],
},
},
default: {},
description: 'Fine-tune the embedding request',
options: [
{
displayName: 'Encoding Format',
name: 'encodingFormat',
type: 'options',
options: [
{
name: 'Float',
value: 'float',
},
{
name: 'Base64',
value: 'base64',
},
],
default: 'float',
description: 'Embedding output encoding',
},
{
displayName: 'User Identifier',
name: 'user',
type: 'string',
default: '',
description: 'Arbitrary identifier for tracking usage (if supported)',
},
],
},
];
//# sourceMappingURL=embeddingGeneration.description.js.map