xia_actor_openai.graphist.DalleMindset

class xia_actor_openai.graphist.DalleMindset(**kwargs)

Bases: Mindset

__init__(**kwargs)

Methods

__init__(**kwargs)

answer(profile, prompt[, context])

Answer the question

extract_size(prompt)

Attributes

cost_map

sign_for_help

async answer(profile: str, prompt: str, context: Optional[list] = None, **kwargs)

Answer the question

Parameters
  • profile – profile context of the question

  • prompt – Asked question

  • context – Conversation context

  • **kwargs – other parameters