Skip to content

[OpenAI] Add optional AI-assisted study drafting in the private admin app #25

Description

@troyscott

Outcome

Use the OpenAI Responses API to create unpublished candidate explanations, recall questions, and change summaries from approved source material.

Acceptance criteria

  • AsyncOpenAI is created and closed through FastAPI lifespan.
  • API key and model configuration remain server-side and out of Git.
  • The public reader exposes no generic prompt endpoint.
  • Output is always a draft requiring human review.
  • Prompts require source-grounded output and preserve exact source references.
  • The MVP remains usable when OpenAI is not configured.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: adminPrivate administration and publishingopenaiOptional OpenAI API integrationtype: featureA user-visible capability

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions