Skip to content

Commit

Permalink
Add an ilab API module for InstructLab
Browse files Browse the repository at this point in the history
This builds on the `crucible_svc` layer in #122 to add a backend API.
  • Loading branch information
dbutenhof committed Oct 17, 2024
1 parent b6c179b commit d17c831
Show file tree
Hide file tree
Showing 2 changed files with 769 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/app/api/api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from fastapi import APIRouter

from app.api.v1.endpoints.ocp import results
Expand All @@ -11,6 +12,7 @@
from app.api.v1.endpoints.telco import telcoJobs
from app.api.v1.endpoints.telco import telcoGraphs
from app.api.v1.endpoints.ocm import ocmJobs
from app.api.v1.endpoints.ilab import ilab


router = APIRouter()
Expand Down Expand Up @@ -39,3 +41,6 @@

# OCM endpoint
router.include_router(ocmJobs.router, tags=['ocm'])

# InstructLab endpoint
router.include_router(router=ilab.router, tags=['ilab'])
Loading

0 comments on commit d17c831

Please sign in to comment.