Documentation ¶
Index ¶
- Variables
- func GetFunctionDefinitions(genres []string) []openai.FunctionDefinition
- func SetAcousticness(acousticness *utils.Info[float64], value float64)
- func SetDanceability(danceabilityInfo *utils.Info[float64], value float64)
- func SetEnergy(energy *utils.Info[float64], value float64)
- func SetGenres(genresInfo *utils.Info[[]string], value []string)
- func SetInstrumentalness(instrumentalness *utils.Info[float64], value float64)
- func SetLiveness(liveness *utils.Info[float64], value float64)
- func SetPopularity(popularity *utils.Info[int], value int)
- func SetSpeechiness(speechiness *utils.Info[float64], value float64)
- func SetValence(valence *utils.Info[float64], value float64)
- type Call
- type FunctionName
- type Parameters
- type Property
- type QualitativeProperty
- type QuantitativeProperty
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetFunctionDefinitions ¶
func GetFunctionDefinitions(genres []string) []openai.FunctionDefinition
func SetInstrumentalness ¶
Types ¶
type FunctionName ¶
type FunctionName string
const ( SetGenresFunctionName FunctionName = "setGenres" SetDanceabilityFunctionName FunctionName = "setDanceability" SetValenceFunctionName FunctionName = "setValence" SetPopularityFunctionName FunctionName = "setPopularity" SetAcousticnessFunctionName FunctionName = "setAcousticness" SetEnergyFunctionName FunctionName = "setEnergy" SetInstrumentalnessFunctionName FunctionName = "setInstrumentalness" SetLivenessFunctionaName FunctionName = "setLiveness" SetSpeechinessFunctionName FunctionName = "setSpeechiness" ObjectType = "object" StringType = "string" NumberType = "number" )
type Parameters ¶
type QualitativeProperty ¶
type QualitativeProperty struct {
QualitativeValue Property `json:"qualitative_value,omitempty"`
}
type QuantitativeProperty ¶
type QuantitativeProperty struct {
QuantitativeValue Property `json:"quantitative_value,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.