RVF LLM icon

RVF LLM

Generate text, images, audio, or video using RVF LLM API

Actions4

Text → Generate

AI-generated

Summary

Generate text using a selected provider and model based on provided messages and options.

Inputs

  • provider (required) — AI provider loaded from RVF LLM API; only providers supporting the selected resource are shown.
  • model (required) — Model loaded from RVF LLM API, filtered by the chosen provider and resource type.
  • messages (required) — Fixed collection of messages with role and content; at least one user message is required.
  • options — Collection of generation options including temperature, maxTokens, topP, simplifyOutput, stream, frequencyPenalty, presencePenalty.
  • builtInTools — Collection of enabled built‑in tools such as web search, file search, or code interpreter.

Output shape

a list of execution records containing a formatted JSON payload

Each record includes the formatted response; if simplifyOutput is true only the main message text is returned, otherwise the full raw response is included. Errors are reported as records with an error field.

Examples

Example 1: Generate a short poem using GPT‑4

provider=GPT-4, model=gpt-4-turbo, messages=[{role:'user', content:'Write a haiku about sunrise'}], options={temperature:0.8, maxTokens:100, simplifyOutput:true}

Example 2: Translate text with web search enabled

provider=WebSearch, model=default, messages=[{role:'user', content:'Translate the following to French: Hello'}], options={stream:false, builtInTools={'webSearch':true}}

Discussion