openai-cookbook
openai-cookbook copied to clipboard
[PROBLEM] Error if not issubclass(cls, BaseModel):
Identify the file to be fixed Using_GPT4_Vision_With_Function_Calling Describe the problem assert function throws a TypeError: issubclass() arg 1 must be a class
print("\n===================== Simulating user message 1 =====================") assert delivery_exception_support_handler("damaged_package").action == "refund_order"
Describe a solution A working version of code to generate the desired output as shown in the notebook
Screenshots