// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.Graders
{
    internal partial class InternalGraderTextSimilarity : InternalGrader
    {
        internal InternalGraderTextSimilarity(string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric) : base(InternalGraderType.TextSimilarity)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(input, nameof(input));
            Argument.AssertNotNull(reference, nameof(reference));

            Name = name;
            Input = input;
            Reference = reference;
            EvaluationMetric = evaluationMetric;
        }

        internal InternalGraderTextSimilarity(InternalGraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric) : base(kind, additionalBinaryDataProperties)
        {
            Name = name;
            Input = input;
            Reference = reference;
            EvaluationMetric = evaluationMetric;
        }

        public string Name { get; set; }

        public string Input { get; set; }

        public string Reference { get; set; }

        internal InternalEvalGraderTextSimilarityResourceEvaluationMetric EvaluationMetric { get; set; }
    }
}
