This commit is contained in:
2025-04-14 11:41:11 +02:00
2 changed files with 3 additions and 6 deletions

View File

@ -25,11 +25,10 @@ listLocations
Lists the users already existing locations.
createLocation
Use this to create a new location.
Use this to create a new location, when you don't see a mtching one from listLocations call.
linkLocation
Links an image to a location. Only call this when you know theres a very close match from listLocation.
Otherwise create a new location.
Use when an image contains a duplicate location the user already has from listLocations.
finish
Call when there is nothing else to do.
@ -72,7 +71,7 @@ const locationTools = `
"type": "function",
"function": {
"name": "linkLocation",
"description": "Use to link an already existing location to the image you were sent",
"description": "Use only when you are sure listLocation returned the location in the image. This is used to avoid duplicates.",
"parameters": {
"type": "object",
"properties": {

View File

@ -145,8 +145,6 @@ func main() {
}
}
fmt.Println("DataTypes: ", dataTypes)
jsonImages, err := json.Marshal(dataTypes)
if err != nil {
log.Println(err)