xia_actor.job.Mindset

class xia_actor.job.Mindset(**kwargs)

Bases: object

Mindset represents the way to resolve the problem

__init__(**kwargs)

Methods

__init__(**kwargs)

answer(profile, prompt[, context])

Answer the question

Attributes

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