A Flask application hosting endpoints for AI TA backend.
👉 See the main app for details: https://github.com/UIUC-Chatbot/ai-teaching-assistant-uiuc
Hosted (mostly for free) on Railway. Architecture diagram of Flask + Next.js & React hosted on Vercel.
Automatic API Reference
- Install Python requirements
pip install -r requirements.txt
- Start the server for development (with live reloads)
cd ai_ta_backend
thenflask --app ai_ta_backend.main:app --debug run --port 8000
The docs are auto-built and deployed to our docs website on every push. Or you can build the docs locally when writing:
mkdocs serve
'text': doc.page_content,
'readable_filename': doc.metadata['readable_filename'],
'course_name ': doc.metadata['course_name'],
's3_path': doc.metadata['s3_path'],
'pagenumber': doc.metadata['pagenumber_or_timestamp'], # this is the recent breaking change!!
# OPTIONAL properties
'url': doc.metadata.get('url'), # wouldn't this error out?
'base_url': doc.metadata.get('base_url'),