# 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.external_inference import ExternalInference

class TestExternalInference(unittest.TestCase):
    """ExternalInference unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ExternalInference:
        """Test ExternalInference
            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 `ExternalInference`
        """
        model = ExternalInference()
        if include_optional:
            return ExternalInference(
                id = '',
                result = 'Pass',
                created_at = 56,
                updated_at = 56,
                task_id = '',
                task_name = '',
                conversation_id = '',
                inference_prompt = _generated.models.external_inference_prompt.ExternalInferencePrompt(
                    id = '', 
                    inference_id = '', 
                    result = 'Pass', 
                    created_at = 56, 
                    updated_at = 56, 
                    message = '', 
                    prompt_rule_results = [
                        {id=90f18c69-d793-4913-9bde-a0c7f3643de0, name=PII Rule, result=Pass}
                        ], 
                    tokens = 56, ),
                inference_response = _generated.models.external_inference_response.ExternalInferenceResponse(
                    id = '', 
                    inference_id = '', 
                    result = 'Pass', 
                    created_at = 56, 
                    updated_at = 56, 
                    message = '', 
                    context = '', 
                    response_rule_results = [
                        {id=90f18c69-d793-4913-9bde-a0c7f3643de0, name=PII Rule, result=Pass}
                        ], 
                    tokens = 56, 
                    model_name = '', ),
                inference_feedback = [
                    _generated.models.inference_feedback_response.InferenceFeedbackResponse(
                        id = '', 
                        inference_id = '', 
                        target = 'context', 
                        score = 56, 
                        reason = '', 
                        user_id = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                user_id = '',
                model_name = ''
            )
        else:
            return ExternalInference(
                id = '',
                result = 'Pass',
                created_at = 56,
                updated_at = 56,
                inference_prompt = _generated.models.external_inference_prompt.ExternalInferencePrompt(
                    id = '', 
                    inference_id = '', 
                    result = 'Pass', 
                    created_at = 56, 
                    updated_at = 56, 
                    message = '', 
                    prompt_rule_results = [
                        {id=90f18c69-d793-4913-9bde-a0c7f3643de0, name=PII Rule, result=Pass}
                        ], 
                    tokens = 56, ),
                inference_feedback = [
                    _generated.models.inference_feedback_response.InferenceFeedbackResponse(
                        id = '', 
                        inference_id = '', 
                        target = 'context', 
                        score = 56, 
                        reason = '', 
                        user_id = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
        )
        """

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

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