openai-cookbook
openai-cookbook copied to clipboard
[SUPPORT]what's wrong when i run How to call functions with chat models ipynb
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}}