Skip to content

[GenAI] Enhance Course Generation API: Confirmation, Chat, and Crawling #68

@mahdibayouli

Description

@mahdibayouli

Task:
Expand the GenAI service’s API to support user confirmation/enrollment for generated courses, add endpoints for general chat functionality, and expose crawling endpoints. This will enable users to confirm their interest in generated courses, interact with the GenAI service through normal chat (not just course generation), and trigger or manage crawling jobs directly from the client.

✅ Checklist

  • Add an endpoint to allow users to confirm/enroll in a generated course
    • Should persist the enrollment/confirmation status for the user and course
    • Return appropriate success/error responses
  • Implement endpoints for normal chat functionality (not tied to course generation)
    • Accepts arbitrary user prompts and returns LLM responses
    • Handles conversational context if available
  • Expose endpoints for crawling functionality
    • Allow users to trigger crawling jobs (e.g., crawl a website or resource)
    • Return job status and results
  • Ensure endpoints handle authentication and permissions as needed

🎯 Acceptance Criteria

  • Users can confirm/enroll in generated courses via the API
  • Users can send chat prompts and receive LLM responses
  • Users can trigger and monitor crawling jobs through the API
  • All new endpoints are documented and tested
  • Changes are integrated with the frontend as needed

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions