first commit

This commit is contained in:
Stefano Rossi 2025-07-10 01:43:01 +02:00
parent 5c5d88c92f
commit eb4f62c56d
Signed by: chadmin
GPG key ID: 9EFA2130646BC893
41 changed files with 3851 additions and 19 deletions

View file

@ -0,0 +1,14 @@
from typing import List, Optional, Literal
from pydantic import BaseModel, Field
class ChatMessage(BaseModel):
role: Literal["user", "coach"]
content: str
class ChatRequest(BaseModel):
messages: List[ChatMessage]
language: str = "auto"
temperature: float = 0.7
reasoning: bool = False
stream: bool = True
personality: str = "supportive"