feat: add hosted moderation (#1158)

This commit is contained in:
takatost 2023-09-12 10:26:12 +08:00 committed by GitHub
commit f9082104ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 240 additions and 69 deletions

View file

@ -6,4 +6,3 @@ class LLMMessage(BaseModel):
prompt_tokens: int = 0
completion: str = ''
completion_tokens: int = 0
latency: float = 0.0