Brainstorm chat (AI)
Multi-turn conversational endpoint that helps refine a vague tap idea into a clear instruction. The AI asks one focused clarifying question at a time, suggests data sources, recognizes Datris platform tables, and returns an updated instruction draft on every turn.
Authorizations
Optional API key for authentication (enabled via application.yaml)
Body
Current draft instruction (optional context for the AI)
Selects the system prompt. document keeps the brainstorm focused on document discovery (where files live, how to enumerate) and stops it asking about chunking, embedding, or vector-store choices.
structured, document Response
Updated chat reply, instruction draft, and suggested env vars
