xia_gpt_prompts.actor.Actor
- class xia_gpt_prompts.actor.Actor(name: Optional[str] = None, **kwargs)
Bases:
object
- __init__(name: Optional[str] = None, **kwargs)
Methods
__init__
([name])evaluate_mission
(profile, request[, budget])Evaluate work to see we could take the mission or not
- evaluate_mission(profile: str, request: str, budget: Optional[float] = None) bool
Evaluate work to see we could take the mission or not
- Parameters
profile – The profile needed
request – request to be done
budget – whether the budget could cover the cost
- Returns
True if accept mission