diff --git a/backend/agents/location_agent.go b/backend/agents/location_agent.go index b219449..7cf5241 100644 --- a/backend/agents/location_agent.go +++ b/backend/agents/location_agent.go @@ -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": { diff --git a/backend/main.go b/backend/main.go index f460bc2..ae050be 100644 --- a/backend/main.go +++ b/backend/main.go @@ -145,8 +145,6 @@ func main() { } } - fmt.Println("DataTypes: ", dataTypes) - jsonImages, err := json.Marshal(dataTypes) if err != nil { log.Println(err)