model flexibility

This commit is contained in:
Roy Han
2024-08-06 10:53:29 -07:00
parent e4d35198a2
commit 2a9feb0707
4 changed files with 31 additions and 14 deletions

View File

@@ -81,6 +81,8 @@ type GenerateRequest struct {
// set through this field, if the model supports it.
Options map[string]interface{} `json:"options"`
WhisperModel string `json:"whisper_model,omitempty"`
Audio string `json:"audio,omitempty"`
Transcribe bool `json:"transcribe,omitempty"`