rollback: not using link functions as they are very problematic

This commit is contained in:
2025-04-14 10:59:08 +01:00
parent 885f877ef0
commit 63201280bb
3 changed files with 1 additions and 61 deletions

View File

@ -22,10 +22,6 @@ You should use listContacts to make sure that you don't create duplicate contact
Call createContact when you see there is a new contact on this image.
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.
`
@ -69,23 +65,6 @@ const contactTools = `
"required": ["name"]
}
}
},
{
"type": "function",
"function": {
"name": "linkContact",
"description": "Links an existing contact with this image",
"parameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"description": "The UUID of the existing contact"
}
},
"required": ["contactId"]
}
}
},
{
"type": "function",

View File

@ -27,10 +27,6 @@ Lists the users already existing events.
createEvent
Use this to create a new events.
linkEvent
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.
`
@ -72,22 +68,6 @@ const eventTools = `
"required": ["name"]
}
}
},
{
"type": "function",
"function": {
"name": "linkEvent",
"description": "Use to link an already existing events to the image you were sent",
"parameters": {
"type": "object",
"properties": {
"eventId": {
"type": "string"
}
},
"required": ["eventsId"]
}
}
},
{
"type": "function",

View File

@ -25,10 +25,7 @@ listLocations
Lists the users already existing locations.
createLocation
Use this to create a new location, when you don't see a mtching one from listLocations call.
linkLocation
Use when an image contains a duplicate location the user already has from listLocations.
Use this to create a new location, when you don't see a matching one from listLocations call.
finish
Call when there is nothing else to do.
@ -66,22 +63,6 @@ const locationTools = `
"required": ["name"]
}
}
},
{
"type": "function",
"function": {
"name": "linkLocation",
"description": "Use only when you are sure listLocation returned the location in the image. This is used to avoid duplicates.",
"parameters": {
"type": "object",
"properties": {
"locationId": {
"type": "string"
}
},
"required": ["locationId"]
}
}
},
{
"type": "function",