Initial commit

This commit is contained in:
2026-08-24 12:52:52 +12:00
commit 0cc0b814fa
12 changed files with 460 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
from enum import StrEnum
class LLMParam(StrEnum):
MESSAGES = "messages"
TEMPERATURE = "temperature"
MAX_TOKENS = "max_tokens"
STREAM = "stream"
class Chat(StrEnum):
ROLE = "role"
CONTENT = "content"
class Who(StrEnum):
SYSTEM = "system"
USER = "user"
ASSISTANT = "assistant"
class LlamaAPI(StrEnum):
CHAT_COMPLETIONS = "/v1/chat/completions"
class LanguageModelError(StrEnum):
GENERIC_EXCEPTION = "Language model server could not be contacted!"