UpdateCustomModelRequestBody
The fields to update in the custom model configuration
Example Usage
typescript
import { UpdateCustomModelRequestBody } from "@meetkai/mka1/models/operations";
let value: UpdateCustomModelRequestBody = {};Fields
| Field | Type | Required | Description |
|---|---|---|---|
baseUrl | string | ➖ | Update the base URL of the custom model API endpoint |
apiKey | string | ➖ | Update the API key for authentication |
supportsChat | boolean | ➖ | Update whether the model supports chat completions |
supportsCompletion | boolean | ➖ | Update whether the model supports text completions |
supportsEmbedding | boolean | ➖ | Update whether the model supports embeddings |
supportsImage | boolean | ➖ | Update whether the model supports image operations |
supportsTranscription | boolean | ➖ | Update whether the model supports audio transcription |
supportsSpeech | boolean | ➖ | Update whether the model supports speech synthesis |
maxTokens | number | ➖ | Update the default maximum tokens for generation |
contextWindow | number | ➖ | Update the context window size |
temperature | number | ➖ | Update the default temperature setting |
topP | number | ➖ | Update the default nucleus sampling parameter |
frequencyPenalty | number | ➖ | Update the default frequency penalty |
presencePenalty | number | ➖ | Update the default presence penalty |
rpm | number | ➖ | Update the rate limit in requests per minute |