more prompt

This commit is contained in:
2025-04-14 10:36:21 +01:00
parent ecc2da5f86
commit 51d36bf15b
5 changed files with 9 additions and 12 deletions

View File

@ -21,10 +21,12 @@ You can use tools to achieve your task.
You should use listContacts to make sure that you don't create duplicate contacts. You should use listContacts to make sure that you don't create duplicate contacts.
Call createContact when you see there is a new contact on this image. Call createContact when you see there is a new contact on this image.
Call linkContact when you think this image contains an existing contact.
Call finish if you dont think theres anything else to do.
You should not use linkContact if you are not sure the image contains a contact found in listContacts. Call linkContact when you think this image contains an existing contact.
Links an image to a contact. Only call this when you know theres a very close match from listContacts.
Otherwise create a new contact.
Call finish if you dont think theres anything else to do.
` `
const contactTools = ` const contactTools = `

View File

@ -28,12 +28,11 @@ createEvent
Use this to create a new events. Use this to create a new events.
linkEvent linkEvent
Links an image to a events. Links an image to an event. Only call this when you know theres a very close match from listEvents.
Otherwise create a new event.
finish finish
Call when there is nothing else to do. Call when there is nothing else to do.
You should not use linkEvent if you are not sure the image contains an event found in listEvents.
` `
const eventTools = ` const eventTools = `

View File

@ -28,12 +28,11 @@ createLocation
Use this to create a new location. Use this to create a new location.
linkLocation linkLocation
Links an image to a location, Links an image to a location. Only call this when you know theres a very close match from listLocation.
Otherwise create a new location.
finish finish
Call when there is nothing else to do. Call when there is nothing else to do.
You should not use linkLocation if you are not sure the image contains a location found in linkLocation.
` `
const locationTools = ` const locationTools = `

View File

@ -85,8 +85,6 @@ func main() {
return return
} }
fmt.Printf("Returned from DB: %+x\n", images)
type DataType struct { type DataType struct {
Type string `json:"type"` Type string `json:"type"`
Data any `json:"data"` Data any `json:"data"`

View File

@ -88,7 +88,6 @@ func (m UserModel) ListWithProperties(ctx context.Context, userId uuid.UUID) ([]
WHERE(UserImages.UserID.EQ(UUID(userId))) WHERE(UserImages.UserID.EQ(UUID(userId)))
images := []ImageWithProperties{} images := []ImageWithProperties{}
err := listWithPropertiesStmt.QueryContext(ctx, m.dbPool, &images) err := listWithPropertiesStmt.QueryContext(ctx, m.dbPool, &images)
if err != nil { if err != nil {