summaryrefslogtreecommitdiffstats
path: root/gpt4free/forefront/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpt4free/forefront/typing.py')
-rw-r--r--gpt4free/forefront/typing.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/gpt4free/forefront/typing.py b/gpt4free/forefront/typing.py
deleted file mode 100644
index 23e90903..00000000
--- a/gpt4free/forefront/typing.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