xia_actor_openai.actor.GptMindset

class xia_actor_openai.actor.GptMindset(model: str, **kwargs)

Bases: Mindset

__init__(model: str, **kwargs)

Methods

__init__(model, **kwargs)

answer(profile, prompt[, context])

Answer the question with given parameters

Attributes

model_table

sign_for_help

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

Answer the question with given parameters

Parameters
  • profile – System Roles

  • prompt – message to be sent

  • context – chat context

  • **kwargs – other parameters