Skip to content

Python Taste Calibration Functions

Akshay B edited this page Mar 16, 2026 · 1 revision

Python Taste Calibration Functions (Azure Functions)

This document details taste calibration quiz routes in PluckIt.Processor.

Documentation metadata

  • Audience: external contributors
  • Last reviewed: 2026-03-16
  • Scope: taste calibration contract only

Endpoint inventory

TasteCalibrationFunctions

  • GET /api/taste/quiz
    • Returns a quiz session payload for taste calibration.
    • Creates or resumes a quiz session in the authenticated context.
  • POST /api/taste/quiz/{session_id}/respond
    • Captures a user response for an active quiz session.
    • Persists response signal progressively as users answer.
  • POST /api/taste/quiz/{session_id}/complete
    • Finalizes quiz session and persists calibration state.
    • Emits completion signal for downstream taste-profile processing.

Notes

  • Routes are authenticated via the shared Python user context and support the downstream digest/mood analytics pipeline.
  • The session lifecycle is expected to be short and incremental: start, collect responses, complete.

Clone this wiki locally