mega commit
This commit is contained in:
18
libs/classes.py
Normal file
18
libs/classes.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import Callable
|
||||
|
||||
@dataclass
|
||||
class Test:
|
||||
name: str
|
||||
runnable: Callable
|
||||
runnable_input: dict
|
||||
validator: Callable
|
||||
validation_input: dict
|
||||
|
||||
@dataclass
|
||||
class Model:
|
||||
display_name: str
|
||||
identifier: str
|
||||
supports_tools: bool
|
||||
parameter_count_in_b: float
|
||||
|
||||
Reference in New Issue
Block a user