first commit
This commit is contained in:
parent
5c5d88c92f
commit
eb4f62c56d
41 changed files with 3851 additions and 19 deletions
14
docker_svc/agent/app/libs/models.py
Normal file
14
docker_svc/agent/app/libs/models.py
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue