← Back to docs
Recipe
Text → API actions executor
Parse natural language into structured API calls with Meridian routing.
Overview
This recipe wires a text input to an action router that maps intents to API endpoints. Type a command, Meridian resolves the intent, fires the request, and streams the result back.
Ingredients
- •Meridian route with intent classifier
- •Text input component
- •Action map (intent → endpoint + method)
- •Streaming response handler
Steps
- Define your action map with intents and API targets.
- Create a Meridian route that accepts text and returns matched actions.
- Wire the text input to the route with a streaming fetch call.
- Render the streamed response tokens in real time.
Result
Users type plain English and Meridian executes the correct API call. No dropdowns, no forms — just intent-to-action in one flow.
Need the full source? Browse all recipes