mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-29 15:04:59 +00:00
Small fixups
This commit is contained in:
parent
78ef045bb3
commit
5ce57206e3
3 changed files with 14 additions and 10 deletions
|
@ -56,9 +56,13 @@ type Choice struct {
|
|||
}
|
||||
|
||||
type Content struct {
|
||||
Type string `json:"type" yaml:"type"`
|
||||
Text string `json:"text" yaml:"text"`
|
||||
ImageURL string `json:"image_url" yaml:"image_url"`
|
||||
Type string `json:"type" yaml:"type"`
|
||||
Text string `json:"text" yaml:"text"`
|
||||
ImageURL ContentURL `json:"image_url" yaml:"image_url"`
|
||||
}
|
||||
|
||||
type ContentURL struct {
|
||||
URL string `json:"url" yaml:"url"`
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue