# coding: utf-8

"""
    Arthur GenAI Engine

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 2.1.294
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from _generated.models.rag_result import RagResult

class TestRagResult(unittest.TestCase):
    """RagResult unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> RagResult:
        """Test RagResult
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `RagResult`
        """
        model = RagResult()
        if include_optional:
            return RagResult(
                evals = [
                    _generated.models.eval_execution.EvalExecution(
                        eval_name = '', 
                        eval_version = '', 
                        eval_input_variables = [
                            _generated.models.input_variable.InputVariable(
                                variable_name = '', 
                                value = '', )
                            ], 
                        eval_results = _generated.models.eval_execution_result.EvalExecutionResult(
                            score = 1.337, 
                            explanation = '', 
                            cost = '', ), )
                    ],
                rag_config_key = '',
                rag_config_type = '',
                setting_configuration_id = '',
                setting_configuration_version = 56,
                query_text = '',
                output = _generated.models.rag_search_output.RagSearchOutput(
                    response = _generated.models.rag_provider_query_response.RagProviderQueryResponse(
                        response = _generated.models.weaviate_query_results.WeaviateQueryResults(
                            rag_provider = 'weaviate', 
                            objects = [
                                _generated.models.weaviate_query_result.WeaviateQueryResult(
                                    uuid = '', 
                                    metadata = _generated.models.weaviate_query_result_metadata.WeaviateQueryResultMetadata(
                                        creation_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                                        last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                                        distance = 1.337, 
                                        certainty = 1.337, 
                                        score = 1.337, 
                                        explain_score = '', 
                                        is_consistent = True, ), 
                                    properties = _generated.models.properties.Properties(), 
                                    vector = {
                                        'key' : null
                                        }, )
                                ], ), ), )
            )
        else:
            return RagResult(
                evals = [
                    _generated.models.eval_execution.EvalExecution(
                        eval_name = '', 
                        eval_version = '', 
                        eval_input_variables = [
                            _generated.models.input_variable.InputVariable(
                                variable_name = '', 
                                value = '', )
                            ], 
                        eval_results = _generated.models.eval_execution_result.EvalExecutionResult(
                            score = 1.337, 
                            explanation = '', 
                            cost = '', ), )
                    ],
                rag_config_key = '',
                rag_config_type = '',
                query_text = '',
        )
        """

    def testRagResult(self):
        """Test RagResult"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
