INNER CODE UNIT · Python
FinderResponseLLM
instavm/clickclickclick · clickclickclick/finder/__init__.py:16
class FinderResponseLLM(BaseModel):
ymin: int
ymax: int
xmin: int
xmax: int
class BaseFinder(ABC):
IMAGE_WIDTH = None
IMAGE_HEIGHT = None
OUTPUT_WIDTH = None
OUTPUT_HEIGHT = None
def __init__(self, api_key, model_name, generation_config, system_prompt, executor: Executor):
self.model_name = model_name
self.generation_config = generation_config
self.system_prompt = system_prompt
self.executor = executor