def _generate_test_prompts(
        self,
        test_category: str,
        test_depth: int,
        examples: Optional[list] = None,
    ) -> str:
        """
        Generate raw test prompts for a given category, optionally using few shot examples.

        Args:
            test_category (str): The category for which to generate test prompts.
            test_depth (int): The depth of the test prompts.
            examples (Optional[list]): An optional list of examples to guide the style of the questions.

        Returns:
            str: A string containing test prompts.
        """
        logger.info("Generating test prompts...")
        if examples:
            logger.info("Using fewshot examples...")
            formatted_examples = json.dumps(examples)
            prompt = (
                f"on the topic of '{test_category} provide {test_depth} questions "
                f"matching the tone and manner of the examples below:\n\n"
                f"{formatted_examples}\n\n"
            )
        else:
            prompt = f"Provide {test_depth} questions on the topic of '{test_category}' that are answerable by the provided context."
        raw_test_prompts = self.app_callable(prompt)
        raw_test_prompts = (
            raw_test_prompts.response
            if hasattr(raw_test_prompts, "response")
            else raw_test_prompts
        )
        return raw_test_prompts

        Generate raw test prompts for a given category, optionally using few shot examples.

        Args:
            test_category (str): The category for which to generate test prompts.
            test_depth (int): The depth of the test prompts.
            examples (Optional[list]): An optional list of examples to guide the style of the questions.

        Returns:
            str: A string containing test prompts.
        
src/benchmark/trulens/benchmark/generate/generate_test_set.py