Kind-Gestures-Tech / gaia

Chat interface
GNU General Public License v3.0
0 stars 0 forks source link

Gaia API

Gaia backend

Features

Installation

    • Clone the repo to your local system
      git clone https://gitlab.niveussolutions.com/niv-hack/niv-hack-2023/t3-tribe/vertexai-api.git
      cd vertexai-api
  1. Create a virtual environment and activate it

    python3 -m venv venv
    source venv/bin/activate
  2. Install the dependencies

    pip3 install -r requirements.txt
  3. Generate a Google Service Account config file and save it in a file named CREDENTIALS in env.

  4. Then, run the development server:

    python3 main.py

Installation using Docker

  1. Build the Docker image using the following command:

    docker build -t gaia .
  2. Run the Docker container using the following command:

    docker run -p 8080:8080 -e .env gaia