Skip to content

Instantly share code, notes, and snippets.

@hansvdam
Created February 18, 2024 12:30
Show Gist options
  • Select an option

  • Save hansvdam/24f4bf6281a7177d7390d59ee169cb04 to your computer and use it in GitHub Desktop.

Select an option

Save hansvdam/24f4bf6281a7177d7390d59ee169cb04 to your computer and use it in GitHub Desktop.

Revisions

  1. hansvdam created this gist Feb 18, 2024.
    205 changes: 205 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,205 @@
    [
    {
    "type": "function",
    "function": {
    "name": "creditcard",
    "description": "Show your credit card and maybe perform an action on it",
    "parameters": {
    "type": "object",
    "properties": {
    "limit": {
    "description": "New limit for the card",
    "type": "integer"
    },
    "action": {
    "description": "action to perform on the card",
    "type": "string",
    "enum": [
    "replace",
    "cancel"
    ]
    }
    },
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "debitcard",
    "description": "Show your debit card and maybe perform an action on it",
    "parameters": {
    "type": "object",
    "properties": {
    "limit": {
    "description": "New limit for the card",
    "type": "integer"
    },
    "action": {
    "description": "action to perform on the card",
    "type": "string",
    "enum": [
    "replace",
    "cancel"
    ]
    }
    },
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "forecast",
    "description": "get weather forecast information for a place on earth",
    "parameters": {
    "type": "object",
    "properties": {
    "place": {
    "description": "place on earth",
    "type": "string"
    },
    "numDays": {
    "description": "The number of days to forecast",
    "type": "integer"
    }
    },
    "required": [
    "place"
    ]
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "routeplanner",
    "description": "Plan a public transport trip from A to B in the Netherlands.",
    "parameters": {
    "type": "object",
    "properties": {
    "origin": {
    "description": "origin address, train station or postal code.",
    "type": "string"
    },
    "destination": {
    "description": "destination address, train station or postal code.",
    "type": "string"
    },
    "trip_date_time": {
    "description": "Requested DateTime for the departure or arrival of the trip in 'YYYY-MM-DDTHH:MM:SS+02:00' format. The user will use a time in a 12 hour system, make an intelligent guess about what the user is most likely to mean in terms of a 24 hour system, e.g. not planning for the past.",
    "type": "string"
    },
    "departure": {
    "description": "True to depart at the given time, False to arrive at the given time.",
    "type": "string"
    },
    "language": {
    "description": "Language of the input text",
    "type": "string"
    }
    },
    "required": [
    "origin",
    "destination",
    "departure",
    "language"
    ]
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "accounts",
    "description": "Show all accounts",
    "parameters": {
    "type": "object",
    "properties": {},
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "transactions",
    "description": "Show transactions of an account, and maybe filter them",
    "parameters": {
    "type": "object",
    "properties": {
    "filterString": {
    "description": "filter string for the list",
    "type": "string"
    }
    },
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "map",
    "description": "Show ATMs or Bank offices on map, nearest to the current location of the user.",
    "parameters": {
    "type": "object",
    "properties": {
    "atmOrOffice": {
    "description": "show atms or offices",
    "type": "string",
    "enum": [
    "atms",
    "offices"
    ]
    }
    },
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "transfer",
    "description": "Make a bank transfer",
    "parameters": {
    "type": "object",
    "properties": {
    "amount": {
    "description": "amount to transfer",
    "type": "number"
    },
    "destinationName": {
    "description": "destination account name to transfer money to",
    "type": "string"
    },
    "description": {
    "description": "description of the transfer",
    "type": "string"
    }
    },
    "required": []
    }
    }
    },
    {
    "type": "function",
    "function": {
    "name": "contacts",
    "description": "Show address book of contacts and maybe filter them",
    "parameters": {
    "type": "object",
    "properties": {
    "filterString": {
    "description": "string for filtering the list",
    "type": "string"
    }
    },
    "required": []
    }
    }
    }
    ]