Created
October 19, 2023 11:52
-
-
Save hansvdam/3783bfc35e19e96849187e634272b366 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"model": "gpt-3.5-turbo", | |
"messages": [ | |
{ | |
"role": "system", | |
"content": "You are a helpful AI assistant. The current date and time is 2023-10-19T13:49:26." | |
}, | |
{ | |
"role": "user", | |
"content": "creditcard to 10000" | |
}, | |
{ | |
"role": "assistant", | |
"content": "", | |
"function_call": { | |
"name": "creditcard", | |
"arguments": "{\"limit\":10000}" | |
} | |
}, | |
{ | |
"role": "user", | |
"content": "transfer 40 to john for his birthday" | |
} | |
], | |
"functions": [ | |
{ | |
"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": [] | |
} | |
}, | |
{ | |
"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": [] | |
} | |
}, | |
{ | |
"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" | |
] | |
} | |
}, | |
{ | |
"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" | |
] | |
} | |
}, | |
{ | |
"name": "accounts", | |
"description": "Show all accounts", | |
"parameters": { | |
"type": "object", | |
"properties": {}, | |
"required": [] | |
} | |
}, | |
{ | |
"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": [] | |
} | |
}, | |
{ | |
"name": "map", | |
"description": "Show ATMs or Bank offices on map, nearest to user's current location", | |
"parameters": { | |
"type": "object", | |
"properties": { | |
"atmOrOffice": { | |
"description": "show atms or offices", | |
"type": "string", | |
"enum": [ | |
"atms", | |
"offices" | |
] | |
} | |
}, | |
"required": [] | |
} | |
}, | |
{ | |
"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": [] | |
} | |
}, | |
{ | |
"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": [] | |
} | |
} | |
], | |
"temperature": 0.0, | |
"top_p": 1.0, | |
"n": 1, | |
"presence_penalty": 0.0, | |
"frequency_penalty": 0.0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment