openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

[SUPPORT]what's wrong when i run How to call functions with chat models ipynb

Open younggggger opened this issue 2 years ago • 0 comments
trafficstars

chat_response = chat_completion_request( conversation.conversation_history, functions=functions ) print(chat_response.json())

result is :{'error': {'message': "Invalid value for 'content': expected a string, got null.", 'type': 'invalid_request_error', 'param': 'messages.[1].content', 'code': None}}

younggggger avatar Jun 14 '23 08:06 younggggger