Skip to content

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.