def initialize(self, args=None):
        """
        Initializes the database results and dialogue state.

        :param args:
        :return:
        """

        if isinstance(self.database, SQLDataBase):
            cursor = self.database.SQL_connection.cursor()
            cursor.execute("SELECT * FROM " + self.db_table_name)
            tmp = cursor.fetchall()
            self.DB_ITEMS = len(tmp)

            if self.DB_ITEMS <= 0:
                print('Warning! DST could not get number of DB items.')
                self.DB_ITEMS = 110  # Default for CamRestaurants

            self.DState.initialize(args)
            # No constraints have been expressed yet
            self.DState.db_matches_ratio = 1.0

            self.DState.turn = 0

        else:
            raise NotImplementedError('JSONDataBase not supported yet.')

        Initializes the database results and dialogue state.

        :param args:
        :return:
        
plato/agent/component/dialogue_state_tracker/slot_filling_dst.py