Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.61 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.61 KB

LeapfrogAI Python API

A Python API that exposes AI backends, via FastAPI and gRPC, in the OpenAI API specification.

Usage

Pre-Requisites

See the LeapfrogAI documentation website for system requirements and dependencies.

Dependent Components

Deployment

To build and deploy the API Zarf package into an existing UDS Kubernetes cluster:

Important

Execute the following commands from the root of the LeapfrogAI repository

make build-api LOCAL_VERSION=dev FLAVOR=upstream
uds zarf package deploy packages/api/zarf-package-leapfrogai-api-*-dev.tar.zst --confirm

For other package flavors, use the following example:

make build-api FLAVOR=registry1
uds zarf package deploy packages/api/zarf-package-leapfrogai-api-*-dev.tar.zst --confirm

Local Development

See the source code documentation for running the API from the source code for local Python environment development.