Add fastapi deployment

Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
Andras Schmelczer 2022-04-06 19:01:34 +02:00
commit 57cccac722

View file

@ -0,0 +1,14 @@
from typing import Any, List
from pydantic import BaseModel
from .model import Model
class Trace(BaseModel):
created: str
execution_time_ms: float
input: Any
models: List[Model]
output: Any
evaluation: Any = None