init
This commit is contained in:
14
backend/python-ai/README.md
Normal file
14
backend/python-ai/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Python AI Placeholder
|
||||
|
||||
This service is the placeholder for OCR, grading and speech evaluation capabilities.
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
uvicorn app.main:app --reload --port 9000
|
||||
```
|
||||
|
||||
## Endpoints
|
||||
|
||||
- `GET /health`
|
||||
13
backend/python-ai/app/main.py
Normal file
13
backend/python-ai/app/main.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
app = FastAPI(title="K12Study Python AI", version="0.1.0")
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {
|
||||
"name": "python-ai",
|
||||
"status": "UP",
|
||||
"version": "0.1.0",
|
||||
}
|
||||
2
backend/python-ai/requirements.txt
Normal file
2
backend/python-ai/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
fastapi==0.115.12
|
||||
uvicorn==0.34.0
|
||||
Reference in New Issue
Block a user