Import and export use old OpenAI json schema with "functions" and not "tools"
P
Pavel O.
Hi, when I tried to import entire chat request with tools it errored out (Application error). Then I realised that it seems to use old OpenAI schema
"frequency_penalty": 1,
"function_call": "auto",
"functions": [
{
"name": "get_current_weather",
"description": "Get the current weather",
as opposed to
"frequency_penalty": 0,
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
and it worked when I updated it to be the latter.
Is it going to be fixed soon?
Thanks
Pavel