summaryrefslogtreecommitdiffstats
path: root/openai_rev/forefront/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'openai_rev/forefront/models.py')
-rw-r--r--openai_rev/forefront/models.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/openai_rev/forefront/models.py b/openai_rev/forefront/models.py
deleted file mode 100644
index 23e90903..00000000
--- a/openai_rev/forefront/models.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from typing import Any, List
-
-from pydantic import BaseModel
-
-
-class Choice(BaseModel):
- text: str
- index: int
- logprobs: Any
- finish_reason: str
-
-
-class Usage(BaseModel):
- prompt_tokens: int
- completion_tokens: int
- total_tokens: int
-
-
-class ForeFrontResponse(BaseModel):
- id: str
- object: str
- created: int
- model: str
- choices: List[Choice]
- usage: Usage
- text: str