fabric/common/domain.go
Jonathan Dunn 7399d84446 initial
2024-08-16 15:43:27 -04:00

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
}