nip.utils.hyper_params.check_use_supervisor_message#
- nip.utils.hyper_params.check_use_supervisor_message(agent_params: PureTextAgentParameters, round_id: int) bool[source]#
- Check if we should include the supervisor message in chat history. - The supervisor message is a message that is appended to the chat history before being sent to the model. Whether to include it or not is determined by the agent’s parameters and the round ID. - Parameters:
- agent_params (PureTextAgentParameters) – The parameters of the agent. 
- round_id (int) – The current round number. 
 
- Returns:
- use_supervisor_message (bool) – Whether to include the supervisor message in the chat history.