mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 15:49:29 +00:00
feat: Add promt generation from webserver
Refs: OPS-22
This commit is contained in:
parent
91e4567bf6
commit
7e5d61663a
6 changed files with 250 additions and 9 deletions
|
|
@ -1,6 +1,10 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
import json
|
||||
|
||||
@dataclass
|
||||
class Haiku:
|
||||
lines: list[str]
|
||||
|
||||
def get_json(self):
|
||||
return json.dumps(self.lines)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue