def from_context(cls, context: str) -> "ReActChatFormatter":
        """
        Create ReActChatFormatter from context.

        NOTE: deprecated

        """
        logger.warning(
            "ReActChatFormatter.from_context is deprecated, please use `from_defaults` instead."
        )
        return ReActChatFormatter.from_defaults(
            system_header=CONTEXT_REACT_CHAT_SYSTEM_HEADER, context=context
        )

        Create ReActChatFormatter from context.

        NOTE: deprecated

        
llama-index-core/llama_index/core/agent/react/formatter.py