capabilities.work

Voice Assistant Answer

A 2-step recipe with Wolfram|Alpha. We can help you get access.

Recipe · 2 steps

Voice Assistant Answer

Prefer a spoken-word answer, falling back to a short text answer on a 501.

  1. Ask the Spoken Results API for an answer phrased for text-to-speech. A 200 yields a spoken-ready sentence; a 501 means no spoken result is available.
  2. When no spoken result exists, fall back to the Short Answers API for a concise plain-text answer the assistant can read.
What you'll need to have ready
  • appid: Wolfram|Alpha AppID used to authenticate every request.
  • input: The natural language query to voice (e.g. "How tall is Mount Everest?").
  • units: Measurement system preference, either metric or imperial.
  • timeout: Maximum processing time in seconds for each query.
For your developer

Arazzo workflow wolframalpha:voice-assistant-answer, 2 operations: querySpokenResults → queryShortAnswer. Specs on APIs.io.