Adds num_ctx param for Ollama Channel

This commit is contained in:
MotorBottle
2024-07-26 06:23:44 -04:00
committed by GitHub
parent d6033eb906
commit eaf350009f

View File

@@ -29,6 +29,7 @@ type GeneralOpenAIRequest struct {
Dimensions int `json:"dimensions,omitempty"`
Instruction string `json:"instruction,omitempty"`
Size string `json:"size,omitempty"`
NumCtx int `json:"num_ctx,omitempty"`
}
func (r GeneralOpenAIRequest) ParseInput() []string {