Skip to content

UpdateCustomModelRequestBody

The fields to update in the custom model configuration

Example Usage

typescript
import { UpdateCustomModelRequestBody } from "@meetkai/mka1/models/operations";

let value: UpdateCustomModelRequestBody = {};

Fields

FieldTypeRequiredDescription
baseUrlstringUpdate the base URL of the custom model API endpoint
apiKeystringUpdate the API key for authentication
supportsChatbooleanUpdate whether the model supports chat completions
supportsCompletionbooleanUpdate whether the model supports text completions
supportsEmbeddingbooleanUpdate whether the model supports embeddings
supportsImagebooleanUpdate whether the model supports image operations
supportsTranscriptionbooleanUpdate whether the model supports audio transcription
supportsSpeechbooleanUpdate whether the model supports speech synthesis
maxTokensnumberUpdate the default maximum tokens for generation
contextWindownumberUpdate the context window size
temperaturenumberUpdate the default temperature setting
topPnumberUpdate the default nucleus sampling parameter
frequencyPenaltynumberUpdate the default frequency penalty
presencePenaltynumberUpdate the default presence penalty
rpmnumberUpdate the rate limit in requests per minute