docstr: Return acts of any utterances to "seed" the conversation with.
docstr_tok: ["Return","acts","of","any","utterances","to","``","seed","''","the","conversation","with","."]
code: def _get_seed_utt_acts(
      self, episode_num: int, agents: List[Agent]
  ) -> List[Dict[str, Any]]:
      """
      Return acts of any utterances to "seed" the conversation with.
      """
  
      def make_agent_action(
          utterance: str, agent: Agent
      ) -> Dict[str, Any]:
          return {
              "text": utterance,
              "episode_done": False,
              "id": agent.id,
          }
  
      if self.turn_cnt == 0:
          # Create the seed utterances from any openers
          openers = self.get_openers(episode_num)
          if not openers:
              return []
          return list(map(make_agent_action, openers, agents))
      else:
          # Just return the existing seed utterances, if any exist
          return self.seed_utterances
  
imports: import copy
  import random
  from typing import Any, Dict, List, Optional
  from parlai.agents.fixed_response.fixed_response import FixedResponseAgent
  from parlai.core.agents import Agent
  from parlai.core.worlds import create_task, DialogPartnerWorld, validate
  from parlai.core.message import Message
label_desc: Use image node_id 8 for calling the SelfChatWorld obj's underlying member method code with example usage: obj._get_seed_utt_acts(episode_num, agents) and returns: dict, list, self, list