def no_functionality_response(spoke_id, functionality_request):
        """
        Create a no functionality response message indicating the requested functionality was not found.

        Args:
            spoke_id (str): The ID of the spoke sending the response.
            functionality_request (str): The functionality request that was not found.

        Returns:
            bytes: The JSON-encoded no functionality response message.

        """
        message = {}
        message["message_type"] = "no_functionality_response"
        message["spoke_id"] = spoke_id
        message["response"] = functionality_request + " not found"
        return json.dumps(message).encode("utf-8")

        Create a no functionality response message indicating the requested functionality was not found.

        Args:
            spoke_id (str): The ID of the spoke sending the response.
            functionality_request (str): The functionality request that was not found.

        Returns:
            bytes: The JSON-encoded no functionality response message.

        
llama-index-packs/llama-index-packs-secgpt/llama_index/packs/secgpt/message.py