Skip to content

hornet-platform/ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hornet platform AI service

Contains all of the endpoints used for AI requests in the platform

Getting Started

Prerequisites

  • Python 3.10 or higher

Installing

  1. Clone the repo
    git clone https://github.com/hornet-platform/ai
  2. Create your python virtual environment (optional)
    python -m venv <virtualenv_name>
  3. Activate your virtual environment (optional)
    source ./<virtualenv_name>/bin/activate
  4. Install required modules
    pip install -r requirements.txt

Starting the service

  1. Run the service
    uvicorn main:app --reload

As soon as the service starts, head to your browser with the host and the port that was shown on the terminal to see the full documentation of the endpoints.

Hint: you can change the port using PORT environment variable

INFO:     Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [20155] using WatchFiles
INFO:     Started server process [20157]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

About

This service is responsible for providing APIs to handle platform AI requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages