Add files
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
commit
d79a75d352
102 changed files with 24317 additions and 0 deletions
1
example/models/__init__.py
Normal file
1
example/models/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
from .domain_prediction import DomainPrediction
|
||||
8
example/models/domain_prediction.py
Normal file
8
example/models/domain_prediction.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from pydantic import BaseModel
|
||||
from typing import List
|
||||
|
||||
|
||||
class DomainPrediction(BaseModel):
|
||||
domain: str
|
||||
probability: float
|
||||
explanation: List[str]
|
||||
Loading…
Add table
Add a link
Reference in a new issue