Translate

Usage Instructions

Integrate Translate into the workflow. Can translate text to any language.

Actions

LLM Chat

Send a chat completion request to any supported LLM provider

Input

ParameterTypeRequiredDescription
modelstringYesThe model to use (e.g., gpt-4o, claude-sonnet-4-5, gemini-2.0-flash)
systemPromptstringNoSystem prompt to set the behavior of the assistant
contextstringYesThe user message or context to send to the model
apiKeystringNoAPI key for the provider (uses platform key if not provided for hosted models)
temperaturenumberNoTemperature for response generation (0-2)
maxTokensnumberNoMaximum tokens in the response
azureEndpointstringNoAzure OpenAI endpoint URL
azureApiVersionstringNoAzure OpenAI API version
vertexProjectstringNoGoogle Cloud project ID for Vertex AI
vertexLocationstringNoGoogle Cloud location for Vertex AI (defaults to us-central1)
vertexCredentialstringNoGoogle Cloud OAuth credential ID for Vertex AI
bedrockAccessKeyIdstringNoAWS Access Key ID for Bedrock
bedrockSecretKeystringNoAWS Secret Access Key for Bedrock
bedrockRegionstringNoAWS region for Bedrock (defaults to us-east-1)

Output

ParameterTypeDescription
contentstringThe generated response content
modelstringThe model used for generation
tokensobjectToken usage information
costobjectModel cost for this call in dollars