Constructors
constructor
- new BaseModel(modelName, authToken?, config?): BaseModel
Parameters
- modelName: string
Optional authToken: stringOptional config: Partial<IClientConfig>
Properties
Protected authToken
authToken: string
Protected client
client: DeepInfraClient
Protected Readonly endpoint
endpoint: string
Readonly modelName
modelName: string
Methods
Private getAuthTokenFromEnv
- getAuthTokenFromEnv(): string
Returns string
Private warnAboutMissingApiKey
- warnAboutMissingApiKey(): string
Returns string