def __init__(
        self,
        app_id: str,
        chat_session: bool = True,
        workspace: str = None,
        api_key: str = None,
        verbose: bool = False,
    ) -> None:
        """
        Init params.

        Args:
            app_id (str): id of Alibaba cloud bailian application
            chat_session (bool): When need to keep chat session, defaults to True.
            workspace(str, `optional`): Workspace of Alibaba cloud bailian
            api_key (str, optional): The api api_key, can be None,
                if None, will get from ENV DASHSCOPE_API_KEY.
            verbose: Output verbose info or not.

        """
        self.app_id = app_id
        self.chat_session = chat_session
        self.workspace = workspace
        self.api_key = api_key
        self._verbose = verbose
        self._session_id = None

        Init params.

        Args:
            app_id (str): id of Alibaba cloud bailian application
            chat_session (bool): When need to keep chat session, defaults to True.
            workspace(str, `optional`): Workspace of Alibaba cloud bailian
            api_key (str, optional): The api api_key, can be None,
                if None, will get from ENV DASHSCOPE_API_KEY.
            verbose: Output verbose info or not.

        
llama-index-integrations/agent/llama-index-agent-dashscope/llama_index/agent/dashscope/base.py