code: def __init__(self, dictionary):
      self.__dict__.update(dictionary)
  
file_path: pandas-ai/tests/helpers/test_openai_info.py
imports: import pytest
  from pandasai import SmartDataframe
  from pandasai.helpers import OpenAICallbackHandler, get_openai_callback
  import pandas
  from pandasai.llm.openai import OpenAI
label_desc: Use image node_id 1 to create a new OpenAIObject object  with example: obj = OpenAIObject(dictionary)