def _hydrate_options(self, query_options: QnAMakerOptions) -> QnAMakerOptions:
        """
        Combines QnAMakerOptions passed into the QnAMaker constructor with the options passed as arguments into get_answers().
        
        :return: QnAMakerOptions with options passed into constructor overwritten by new options passed into get_answers()

        :rtype: QnAMakerOptions
        """

        hydrated_options = copy(self._options)

        if query_options:
            if (
                query_options.score_threshold != hydrated_options.score_threshold 
                and query_options.score_threshold
            ):
                hydrated_options.score_threshold = query_options.score_threshold
            
            if (query_options.top != hydrated_options.top and query_options.top != 0):
                hydrated_options.top = query_options.top
            
            if (len(query_options.strict_filters) > 0):
                hydrated_options.strict_filters = query_options.strict_filters

        return hydrated_options
def _hydrate_options(self, query_options: QnAMakerOptions) -> QnAMakerOptions:
        """
        Combines QnAMakerOptions passed into the QnAMaker constructor with the options passed as arguments into get_answers().
        
        :return: QnAMakerOptions with options passed into constructor overwritten by new options passed into get_answers()

        :rtype: QnAMakerOptions
        """

        hydrated_options = copy(self._options)

        if query_options:
            if (
                query_options.score_threshold != hydrated_options.score_threshold 
                and query_options.score_threshold
            ):
                hydrated_options.score_threshold = query_options.score_threshold
            
            if (query_options.top != hydrated_options.top and query_options.top != 0):
                hydrated_options.top = query_options.top
            
            if (len(query_options.strict_filters) > 0):
                hydrated_options.strict_filters = query_options.strict_filters

        return hydrated_options
def _hydrate_options ( self , query_options : QnAMakerOptions ) -> QnAMakerOptions : hydrated_options = copy ( self . _options ) if query_options : if ( query_options . score_threshold != hydrated_options . score_threshold and query_options . score_threshold ) : hydrated_options . score_threshold = query_options . score_threshold if ( query_options . top != hydrated_options . top and query_options . top != 0 ) : hydrated_options . top = query_options . top if ( len ( query_options . strict_filters ) > 0 ) : hydrated_options . strict_filters = query_options . strict_filters return hydrated_options
Combines QnAMakerOptions passed into the QnAMaker constructor with the options passed as arguments into get_answers().
        
        :return: QnAMakerOptions with options passed into constructor overwritten by new options passed into get_answers()

        :rtype: QnAMakerOptions
Combines QnAMakerOptions passed into the QnAMaker constructor with the options passed as arguments into get_answers () . : return : QnAMakerOptions with options passed into constructor overwritten by new options passed into get_answers ()