Overview
Otoroshi provides a powerful workflow engine that lets you describe and execute sequences of logic using a JSON-based pseudo-language. Workflows allow you to orchestrate actions, transform data, trigger functions, and control flow based on conditional logic, all in a low-code fashion.
LLM Call
The llm_call function allows you to call any LLM provider configured in Otoroshi from a workflow.
Text to Speech
The audio_tts function converts text to audio using an audio model provider.
Speech to Text
The audio_stt function converts audio to text using an audio model provider.
Compute Embedding
The compute_embedding function computes embeddings for text using an embedding model provider.
Generate Image
The generate_image function generates images from text using an image generation model.
Generate Video
The generate_video function generates videos from text using a video generation model.
Tool Function Call
The toolfunctioncall function calls a tool function registered in the LLM extension.
MCP Function Call
The mcpfunctioncall function calls a function exposed by an MCP (Model Context Protocol) connector.
Moderation Call
The moderation_call function calls a moderation model to check content for inappropriate material.
Guardrail Call
The guardrail_call function validates input using a guardrail. This allows you to check content against various safety rules directly within a workflow.
Add to Vector Store
The vectorstoreadd function adds a document entry to a vector store (embedding store).
Remove from Vector Store
The vectorstoreremove function removes a document entry from a vector store (embedding store).
Search in Vector Store
The vectorstoresearch function searches for similar documents in a vector store (embedding store) using a vector query.
Memory Add Messages
The memoryaddmessages function adds messages to a persistent memory store for a given session.
Memory Get Messages
The memorygetmessages function retrieves messages from a persistent memory store for a given session.
Memory Clear Messages
The memoryclearmessages function clears all messages from a persistent memory store for a given session.
OCR
The ocr_call function extracts text from an image or PDF document using an OCR Model provider.
Web Search
The searchenginesearch function runs a web search through a Search Engine provider and returns a normalized list of results.
Decision Call
The decision_call function asks typed questions about a state to a decision model, and gets probabilities back. It is the function to branch a workflow on: a yes/no probability, an option among several or a score, instead of a sentence to parse.
Decision Router
The Decision Router node sends a workflow down one of its paths, chosen by a decision model. Each path is an option of a question about a state: the decision model names the option that fits, the node runs the path, and you know how sure the model was.
Rampart Redact
The rampart_redact function detects and redacts Personally Identifiable Information (PII)