You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fabric/common/domain.go

22 lines
370 B
Go

package common
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
}
type ChatRequest struct {
ContextName string
SessionName string
PatternName string
Message string
}
type ChatOptions struct {
Model string
Temperature float64
TopP float64
PresencePenalty float64
FrequencyPenalty float64
}