more prompt

This commit is contained in:
2025-04-14 10:36:21 +01:00
parent 60273c5782
commit 2e092e5fe4
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.
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 = `

View File

@ -28,12 +28,11 @@ createEvent
Use this to create a new events.
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
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 = `

View File

@ -28,12 +28,11 @@ createLocation
Use this to create a new location.
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
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 = `

View File

@ -85,8 +85,6 @@ func main() {
return
}
fmt.Printf("Returned from DB: %+x\n", images)
type DataType struct {
Type string `json:"type"`
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)))
images := []ImageWithProperties{}
err := listWithPropertiesStmt.QueryContext(ctx, m.dbPool, &images)
if err != nil {