def generate_structured(self, guidance_structure, **kwargs):
        """
        Generate a response using a provided guidance structure.
        
        :param guidance_structure: A guidance-decorated function defining the structure
        :param kwargs: Additional keyword arguments to pass to the guidance structure
        """
        # TODO: Check if the provided function is decorated with guidance.
        self.client += guidance_structure(**kwargs)
        output_variables = self.client._variables
        self.client.reset()
        return output_variables

        Generate a response using a provided guidance structure.
        
        :param guidance_structure: A guidance-decorated function defining the structure
        :param kwargs: Additional keyword arguments to pass to the guidance structure
        
textgrad/engine/guidance.py