def _wrap_prompt(prompt: str) -> str:
  """Wraps a prompt with the default conditioning.

  Args:
    prompt: the prompt to wrap

  Returns:
    the prompt wrapped with the default conditioning
  """
  turns = []
  turns.append(
      "<start_of_turn>system You always continue sentences provided by the "
      "user and you never repeat what the user already said.<end_of_turn>"
  )
  turns.append(
      "<start_of_turn>user Question: Is Jake a turtle?\n"
      "Answer: Jake is <end_of_turn>"
  )
  turns.append(
      "<start_of_turn>model not a turtle.<end_of_turn>"
  )
  turns.append(
      "<start_of_turn>user Question: What is Priya doing right now?\n"
      "Answer: Priya is currently <end_of_turn>"
  )
  turns.append(
      "<start_of_turn>model sleeping.<end_of_turn>"
  )
  turns.append(
      "<start_of_turn>user Question:\n"
      + prompt
      + "<end_of_turn>"
  )
  turns.append(
      "<start_of_turn>model "
  )
  return "\n".join(turns)
Wraps a prompt with the default conditioning.

  Args:
    prompt: the prompt to wrap

  Returns:
    the prompt wrapped with the default conditioning
  
concordia/language_model/google_cloud_custom_model.py