Run Straico Prompt Completion V1
Description
Connection
Name
Description
Required
Category
Input Schema
{
"description": "Run Straico prompt completion node input.",
"properties": {
"models": {
"description": "An array of 1-4 unique model identifiers",
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"title": "Models",
"type": "array"
},
"message": {
"description": "The prompt text for which completions are requested",
"title": "Message",
"type": "string"
},
"file_urls": {
"anyOf": [
{
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 0,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "An array of up to 4 file URLs, previously uploaded via the File Upload endpoint",
"title": "File URLs"
},
"images": {
"default": [],
"description": "An array of image URLs.",
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 0,
"title": "Images",
"type": "array"
},
"youtube_urls": {
"anyOf": [
{
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 0,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "An array of up to 4 YouTube video URLs",
"title": "YouTube URLs"
},
"display_transcripts": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "If true, returns transcripts of the files. Default: false",
"title": "Display Transcripts"
},
"temperature": {
"default": 0,
"description": "This setting influences the variety in the model's responses (0-2)",
"maximum": 2,
"minimum": 0,
"title": "Temperature",
"type": "number"
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Set the limit for the number of tokens the model can generate in response",
"title": "Max Tokens"
}
},
"required": [
"models",
"message"
],
"title": "StraicoPromptCompletionInput",
"type": "object"
}Output Schema
How It Works
Usage Examples
Example 1: Simple Text Prompt with Single Model
Example 2: Multi-Model Comparison with Image Analysis
Example 3: Document Analysis with YouTube Transcript
Common Use Cases
Error Handling
Error Type
Cause
Solution
Notes
Last updated