def metadata(self) -> LLMMetadata:
        """
        Return the metadata of the LLM.

        Returns:
            LLMMetadata: The metadata of the LLM.

        """
        return LLMMetadata(
            context_window=self.context_window,
            num_output=self.max_tokens or -1,
            is_chat_model=self.is_chat_model,
            is_function_calling_model=self.is_function_calling_model,
            model_name=self.model,
        )

        Return the metadata of the LLM.

        Returns:
            LLMMetadata: The metadata of the LLM.

        
llama-index-integrations/llms/llama-index-llms-oci-data-science/llama_index/llms/oci_data_science/base.py