File size: 424 Bytes
b88c922
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import json
from typing import Any
from fastapi import APIRouter
from app.api.api_v1.endpoints import openai
from app.core.config import settings

api_router = APIRouter()
api_router.include_router(openai.router, prefix="/openai", tags=["OpenAI"])

@api_router.get("/", include_in_schema=False)
def read() -> Any:
    return {
        "project_name": settings.PROJECT_NAME,
        "description": settings.DESCRIPTION
    }