feat: add typical_p to model parameters

Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
mudler 2023-06-14 19:13:12 +02:00
parent 10ddd72b58
commit d380071e3d
3 changed files with 7 additions and 0 deletions

View file

@ -133,6 +133,8 @@ type OpenAIRequest struct {
// Image (not supported by OpenAI)
Mode int `json:"mode"`
Step int `json:"step"`
TypicalP float64 `json:"typical_p" yaml:"typical_p"`
}
func defaultRequest(modelFile string) OpenAIRequest {