mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
* improve openai anthropic gemini * moved to dynamic form v2 * fix: Not able to add V2 plugins * fix the overflowing of test connection error --------- Co-authored-by: Siddharthpl <siddharthpundir73@gmail.com> Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com> Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
1350 lines
40 KiB
JSON
1350 lines
40 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "OpenAI Datasource",
|
|
"description": "A schema defining OpenAI datasource",
|
|
"type": "api",
|
|
"defaults": {
|
|
"encoding_format_M1": "float",
|
|
"encoding_format_M2": "float",
|
|
"encoding_format_M3": "float"
|
|
},
|
|
"properties": {
|
|
"operation": {
|
|
"label": "Operation",
|
|
"key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for operation",
|
|
"list": [
|
|
{ "value": "chat", "name": "Chat" },
|
|
{ "value": "image_generation", "name": "Generate AI Image(s)" },
|
|
{ "value": "generate_embedding", "name": "Generate embedding" }
|
|
]
|
|
},
|
|
"chat": {
|
|
"model": {
|
|
"label": "Model",
|
|
"key": "model",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Select OpenAI Model",
|
|
"list": [
|
|
{ "value": "gpt-5.2", "name": "GPT-5.2" },
|
|
{ "value": "gpt-5.1", "name": "GPT-5.1" },
|
|
{ "value": "gpt-5", "name": "GPT-5" },
|
|
{ "value": "gpt-5-mini", "name": "GPT-5 Mini" },
|
|
{ "value": "gpt-5-nano", "name": "GPT-5 Nano" },
|
|
{ "value": "o4-mini", "name": "o4 Mini" },
|
|
{ "value": "o3", "name": "o3" },
|
|
{ "value": "o3-mini", "name": "o3 Mini" },
|
|
{ "value": "o1", "name": "o1" },
|
|
{ "value": "gpt-4.1", "name": "GPT-4.1" },
|
|
{ "value": "gpt-4.1-mini", "name": "GPT-4.1 Mini" },
|
|
{ "value": "gpt-4.1-nano", "name": "GPT-4.1 Nano" },
|
|
{ "value": "gpt-4", "name": "GPT-4" },
|
|
{ "value": "gpt-4-turbo", "name": "GPT-4 Turbo" },
|
|
{ "value": "gpt-4o", "name": "GPT-4o" },
|
|
{ "value": "gpt-4o-mini", "name": "GPT-4o Mini" },
|
|
{ "value": "gpt-3.5-turbo-0125", "name": "GPT-3.5 Turbo" }
|
|
]
|
|
},
|
|
"gpt-5.2": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"mandatory": false
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"description": "Enter stop sequence",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-5.1": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"description": "Enter stop sequence",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-5": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"description": "Enter stop sequence",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-5-mini": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"description": "Enter stop sequence",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-5-nano": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"mandatory": false,
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"o4-mini": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"o3": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"o3-mini": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"o1": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4.1": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"mandatory": false,
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4.1-mini": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4.1-nano": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"mandatory": false,
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4-turbo": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4o": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"description": "Enter from 1 to 2048",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"description": "Enter stop sequence",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"description": "Enter suffix",
|
|
"mandatory": false,
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-4o-mini": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"mandatory": false,
|
|
"type": "codehinter",
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"gpt-3.5-turbo-0125": {
|
|
"system_prompt": {
|
|
"label": "System Prompt",
|
|
"key": "system_prompt",
|
|
"type": "codehinter",
|
|
"description": "Defines role, context, and behavior of the model",
|
|
"placeholder": "You are a helpful assistant.",
|
|
"height": "100px",
|
|
"mandatory": false,
|
|
"tooltip": "Instructions to guide the behavior of the model"
|
|
},
|
|
"message_history": {
|
|
"label": "Message History",
|
|
"key": "message_history",
|
|
"type": "codehinter",
|
|
"description": "Record of previous conversation context",
|
|
"placeholder": "[\n { \"role\": \"user\", \"content\": \"Hello\" },\n { \"role\": \"assistant\", \"content\": \"Hi! How can I help?\" }\n]",
|
|
"height": "150px",
|
|
"mandatory": false,
|
|
"tooltip": "Provide an array of previous message objects for context. (Optional)"
|
|
},
|
|
"prompt": {
|
|
"label": "User message",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter message",
|
|
"placeholder": "Draft an email or other piece of writing",
|
|
"height": "150px"
|
|
},
|
|
"max_tokens": {
|
|
"label": "Max Tokens",
|
|
"key": "max_tokens",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 1 to 2048",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"temperature": {
|
|
"label": "Temperature",
|
|
"key": "temperature",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter from 0 to 1",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"stop_sequence": {
|
|
"label": "Stop Sequence",
|
|
"key": "stop_sequence",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter stop sequence",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
},
|
|
"suffix": {
|
|
"label": "Suffix",
|
|
"key": "suffix",
|
|
"type": "codehinter",
|
|
"mandatory": false,
|
|
"description": "Enter suffix",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
}
|
|
},
|
|
"image_generation": {
|
|
"model": {
|
|
"label": "Model",
|
|
"key": "model",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Select OpenAI Model",
|
|
"list": [
|
|
{ "value": "gpt-image-1", "name": "GPT Image 1" },
|
|
{ "value": "dall-e-3", "name": "DALL-E 3" },
|
|
{ "value": "dall-e-2", "name": "DALL-E 2" }
|
|
],
|
|
"disabled": true,
|
|
"default": "dall-e-3"
|
|
},
|
|
"gpt-image-1": {
|
|
"prompt": {
|
|
"label": "Prompt",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter prompt for image generation",
|
|
"height": "150px"
|
|
},
|
|
"size": {
|
|
"label": "Size (in pixels)",
|
|
"key": "size",
|
|
"type": "codehinter",
|
|
"description": "Enter image size in pixels (e.g., 1024x1024)",
|
|
"placeholder": "1024x1024, 1792x1024 or 1024x1792. By default 1024x1024 sized image is generated",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"dall-e-3": {
|
|
"prompt": {
|
|
"label": "Prompt",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter prompt for image generation",
|
|
"height": "150px"
|
|
},
|
|
"size": {
|
|
"label": "Size (in pixels)",
|
|
"key": "size",
|
|
"type": "codehinter",
|
|
"description": "Enter image size in pixels (e.g., 1024x1024)",
|
|
"placeholder": "1024x1024, 1792x1024 or 1024x1792. By default 1024x1024 sized image is generated",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
},
|
|
"dall-e-2": {
|
|
"prompt": {
|
|
"label": "Prompt",
|
|
"key": "prompt",
|
|
"type": "codehinter",
|
|
"description": "Enter prompt for image generation",
|
|
"height": "150px"
|
|
},
|
|
"size": {
|
|
"label": "Size (in pixels)",
|
|
"key": "size",
|
|
"type": "codehinter",
|
|
"description": "Enter image size in pixels (e.g., 1024x1024)",
|
|
"placeholder": "256x256, 512x512 or 1024x1024. By default 1024x1024 sized image is generated",
|
|
"width": "320px",
|
|
"height": "36px"
|
|
}
|
|
}
|
|
},
|
|
"generate_embedding": {
|
|
"model_embedding": {
|
|
"label": "Model",
|
|
"key": "model_embedding",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Select embedding model",
|
|
"list": [
|
|
{ "value": "text-embedding-3-small", "name": "text-embedding-3-small" },
|
|
{ "value": "text-embedding-3-large", "name": "text-embedding-3-large" },
|
|
{ "value": "text-embedding-ada-002", "name": "text-embedding-ada-002" }
|
|
]
|
|
},
|
|
"text-embedding-3-small": {
|
|
"input_M1": {
|
|
"label": "Input",
|
|
"key": "input_M1",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"placeholder": "The food was delicious and the waiter...",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"tooltip": "This inputs accepts string or array of strings"
|
|
},
|
|
"encoding_format_M1": {
|
|
"label": "Encoding format",
|
|
"key": "encoding_format_M1",
|
|
"type": "dropdown",
|
|
"description": "Select encoding format",
|
|
"list": [
|
|
{ "value": "float", "name": "Float" },
|
|
{ "value": "base64", "name": "Base64" }
|
|
],
|
|
"tooltip": "Format of the embeddings"
|
|
},
|
|
"dimensions_M1": {
|
|
"label": "Dimensions",
|
|
"key": "dimensions_M1",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"placeholder": "2",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"tooltip": "Number of dimensions the resulting output embeddings should have"
|
|
}
|
|
},
|
|
"text-embedding-3-large": {
|
|
"input_M2": {
|
|
"label": "Input",
|
|
"key": "input_M2",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"placeholder": "The food was delicious and the waiter...",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"tooltip": "This inputs accepts string or array of strings"
|
|
},
|
|
"encoding_format_M2": {
|
|
"label": "Encoding format",
|
|
"key": "encoding_format_M2",
|
|
"type": "dropdown",
|
|
"description": "Select encoding format",
|
|
"list": [
|
|
{ "value": "float", "name": "Float" },
|
|
{ "value": "base64", "name": "Base64" }
|
|
],
|
|
"tooltip": "Format of the embeddings"
|
|
},
|
|
"dimensions_M2": {
|
|
"label": "Dimensions",
|
|
"key": "dimensions_M2",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"placeholder": "2",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"tooltip": "Number of dimensions the resulting output embeddings should have"
|
|
}
|
|
},
|
|
"text-embedding-ada-002": {
|
|
"input_M3": {
|
|
"label": "Input",
|
|
"key": "input_M3",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"placeholder": "The food was delicious and the waiter...",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"tooltip": "This inputs accepts string or array of strings"
|
|
},
|
|
"encoding_format_M3": {
|
|
"label": "Encoding format",
|
|
"key": "encoding_format_M3",
|
|
"type": "dropdown",
|
|
"description": "Select encoding format",
|
|
"list": [
|
|
{ "value": "float", "name": "Float" },
|
|
{ "value": "base64", "name": "Base64" }
|
|
],
|
|
"tooltip": "Format of the embeddings"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|