mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 01:37:07 +02:00
24 lines
536 B
TypeScript
24 lines
536 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const modelServingOperations: INodeProperties = {
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['modelServing'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Query Endpoint',
|
|
value: 'queryEndpoint',
|
|
description:
|
|
'Query a serving endpoint. The input format is automatically detected from the endpoint schema.',
|
|
action: 'Query a serving endpoint',
|
|
},
|
|
],
|
|
default: 'queryEndpoint',
|
|
};
|