/pgs-ai-api

Primary LanguagePython

PSG AI API

This is the AI API for the Personal Study Guide (PSG), it has api endpoints for all AI needs of the PSG.

Setup

Follow the steps below to setup the project on your system

Create and activate the virtual environment

$ python -m vemv venv

# activate virtual env
$ venv\Scripts\activate (windows)
$ source venv/bin/activate (Linux or Mac)

Install requirements

(venv) $ pip install -r requirements.txt

Create .env

Create a new file named .env then copy the content of example.env

You should get the api key from google

Run the application

(venv) $ python main.py

The auutomatic swagger docs is on http://localhost:8000

Available AI Endpoints

Endpoint Method Description

|