Giter VIP home page Giter VIP logo

ai-ta-backend's Introduction

AI TA Backend for UIUC's Course Assistant Chatbot

A Flask application hosting endpoints for AI TA backend.

๐Ÿ‘‰ See the main app for details: https://github.com/UIUC-Chatbot/ai-teaching-assistant-uiuc

๐Ÿ› ๏ธ Technical Architecture

Hosted (mostly for free) on Railway. Architecture diagram of Flask + Next.js & React hosted on Vercel. Architecture diagram

Documentation

Automatic API Reference

๐Ÿ“ฃ Development

  • Install Python requirements pip install -r requirements.txt
  • Start the server for development (with live reloads) cd ai_ta_backend then flask --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

Course metadata structure

'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'),

ai-ta-backend's People

Contributors

kastanday avatar jkmin3 avatar star-nox avatar dependabot[bot] avatar rohan-uiuc avatar coffee-cup avatar nehasheth2 avatar railway-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.