first skeleton

This commit is contained in:
2026-09-29 06:46:33 +02:00
parent 51122d3a38
commit 97795214b1
4 changed files with 42 additions and 1 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ authors = [
{ name = "Mathias", email = "mathias2784@web.de" } { name = "Mathias", email = "mathias2784@web.de" }
] ]
requires-python = ">=3.14" requires-python = ">=3.14"
dependencies = [] dependencies = [
"pydantic>=2.13.5",
]
[project.scripts] [project.scripts]
photools3 = "photools3:main" photools3 = "photools3:main"
+13
View File
@@ -0,0 +1,13 @@
from photools3.models import LlmRequest, LlmResponse
class LlmSession:
def __init__(self):
...
def prompt(self, request: LlmRequest) -> LlmResponse:
...
def close(self):
...
+8
View File
@@ -0,0 +1,8 @@
from pydantic import BaseModel
class LlmRequest(BaseModel):
...
class LlmResponse(BaseModel):
...
+18
View File
@@ -0,0 +1,18 @@
from pathlib import Path
class Photo:
def __init__(self):
...
@classmethod
def from_file(cls, path: Path) -> Photo:
# TODO
return cls()
def resize(self) -> Photo:
# TODO
return self