A module for defining base classes for each completion type.
BaseCompletion
Bases: BaseModel
Completion model for defining what model was used and number of tokens.
Source code in spark_instructor/completions/base.py
| class BaseCompletion(BaseModel):
"""Completion model for defining what model was used and number of tokens."""
id: str
model: str
|