capabilities.work

LLM Conversational Query

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

Recipe · 2 steps

LLM Conversational Query

Recognize a chat turn, then answer accepted turns with the LLM API.

  1. Classify the conversational turn with the Fast Query Recognizer to decide whether Wolfram|Alpha can usefully answer it before calling the LLM API.
  2. Send the accepted turn to the LLM API to get a chat-ready structured answer with interpretation, result, and a link to full results.
What you'll need to have ready
  • appid: Wolfram|Alpha AppID used to authenticate every request.
  • input: The conversational query / chat turn to answer.
  • mode: Recognizer mode, either Default for typed turns or Voice for spoken turns.
  • maxchars: Maximum number of characters in the LLM API response.
  • units: Measurement system preference, either metric or imperial.
For your developer

Arazzo workflow wolframalpha:llm-conversational-query, 2 operations: recognizeQuery → queryLlmApi. Specs on APIs.io.