From ab86bff35fe9febaf41d720165fa4589146102dc Mon Sep 17 00:00:00 2001 From: John Costa Date: Sat, 12 Apr 2025 14:44:16 +0100 Subject: [PATCH] chore: removing unused files --- backend/ai_response.json | 108 --------------------------------------- backend/tools.json | 75 --------------------------- 2 files changed, 183 deletions(-) delete mode 100644 backend/ai_response.json delete mode 100644 backend/tools.json diff --git a/backend/ai_response.json b/backend/ai_response.json deleted file mode 100644 index 986efa6..0000000 --- a/backend/ai_response.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "name": "image_info", - "strict": true, - "schema": { - "type": "object", - "title": "image", - "required": ["tags", "text", "links"], - "additionalProperties": false, - "properties": { - "tags": { - "type": "array", - "title": "tags", - "description": "A list of tags you think the image is relevant to.", - "items": { - "type": "string" - } - }, - "text": { - "type": "array", - "title": "text", - "description": "A list of sentences the image contains.", - "items": { - "type": "string" - } - }, - "links": { - "type": "array", - "title": "links", - "description": "A list of all the links you can find in the image.", - "items": { - "type": "string" - } - }, - "locations": { - "title": "locations", - "type": "array", - "description": "A list of locations you can find on the image, if any", - "items": { - "type": "object", - "required": ["name"], - "additionalProperties": false, - "properties": { - "name": { - "title": "name", - "type": "string" - }, - "coordinates": { - "title": "coordinates", - "type": "string" - }, - "address": { - "title": "address", - "type": "string" - }, - "description": { - "title": "description", - "type": "string" - } - } - } - }, - "events": { - "title": "events", - "type": "array", - "description": "A list of events you find on the image, if any", - "items": { - "type": "object", - "required": ["name"], - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "title": "name" - }, - "locations": { - "title": "locations", - "type": "array", - "description": "A list of locations on this event, if any", - "items": { - "type": "object", - "required": ["name"], - "additionalProperties": false, - "properties": { - "name": { - "title": "name", - "type": "string" - }, - "coordinates": { - "title": "coordinates", - "type": "string" - }, - "address": { - "title": "address", - "type": "string" - }, - "description": { - "title": "description", - "type": "string" - } - } - } - } - } - } - } - } - } -} diff --git a/backend/tools.json b/backend/tools.json deleted file mode 100644 index 6867057..0000000 --- a/backend/tools.json +++ /dev/null @@ -1,75 +0,0 @@ -[ - { - "type": "function", - "function": { - "name": "createLocation", - "description": "Creates a location. No not use if you think an existing location is suitable!", - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "address": { - "type": "string" - } - }, - "required": ["name"] - } - } - }, - { - "type": "function", - "function": { - "name": "listLocations", - "description": "Lists the locations available", - "parameters": { - "type": "object", - "properties": {} - } - } - }, - { - "type": "function", - "function": { - "name": "createEvent", - "description": "Creates a new event", - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "startDateTime": { - "type": "string", - "description": "The start time as an ISO string" - }, - "endDateTime": { - "type": "string", - "description": "The end time as an ISO string" - }, - "locationId": { - "type": "string", - "description": "The ID of the location, available by listLocations" - }, - "organizerName": { - "type": "string", - "description": "The name of the organizer" - } - }, - "required": ["name"] - } - } - }, - { - "type": "function", - "function": { - "name": "finish", - "description": "Nothing else to do, call this function.", - "parameters": { - "type": "object", - "properties": {} - } - } - } -]