Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Info aws_s3.Info
)
Functions ¶
func DownLoadFile ¶
func HelloWorld ¶
func HelloWorldPost ¶
Types ¶
type MyResponse ¶
type RequestBody ¶
type RequestBody struct {
Messages []MsgsUser `json:"messages" gorm:"column:messages"`
MaxTokens int `json:"max_tokens" gorm:"column:max_tokens"`
Temperature float32 `json:"temperature" gorm:"column:temperature"`
FrequencyPenalty int `json:"frequency_penalty" gorm:"column:frequency_penalty"`
PresencePenalty int `json:"presence_penalty" gorm:"column:presence_penalty"`
TopP float32 `json:"top_p" gorm:"column:top_p"`
Stop []string `json:"stop" gorm:"column:stop"`
}
type RespBody ¶
type RespBody struct {
Id string `json:"id" gorm:"column:id"`
Object string `json:"object" gorm:"column:object"`
Created int64 `json:"created" gorm:"column:created"`
Model string `json:"model" gorm:"column:model"`
Choices []Choice `json:"choices" gorm:"column:choices"`
UsAge Usage `json:"usage" gorm:"column:usage"`
}
响应
Click to show internal directories.
Click to hide internal directories.