mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-06 17:23:42 +08:00
feat: support gpt-4-turbo-2014-04-09 vision function
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"chatplus/utils"
|
||||
"fmt"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func main() {
|
||||
text := 1
|
||||
bytes := reflect.ValueOf(text).Bytes()
|
||||
fmt.Println(bytes)
|
||||
text := "https://nk.img.r9it.com/chatgpt-plus/1712709360012445.png 请简单描述一下这幅图上的内容 "
|
||||
imgURL := utils.ExtractImgURL(text)
|
||||
fmt.Println(imgURL)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user