// <auto-generated/>

#nullable disable

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

namespace OpenAI.Evals
{
    internal partial class InternalEvalGraderTextSimilarityResource : InternalEvalGraderResource
    {
        internal InternalEvalGraderTextSimilarityResource(string name, string input, string reference, GraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(GraderType.TextSimilarity)
        {
            Name = name;
            Input = input;
            Reference = reference;
            EvaluationMetric = evaluationMetric;
            PassThreshold = passThreshold;
        }

        internal InternalEvalGraderTextSimilarityResource(GraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string input, string reference, GraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(kind, additionalBinaryDataProperties)
        {
            Name = name;
            Input = input;
            Reference = reference;
            EvaluationMetric = evaluationMetric;
            PassThreshold = passThreshold;
        }

        public string Name { get; }

        public string Input { get; }

        public string Reference { get; }

        public GraderTextSimilarityEvaluationMetric EvaluationMetric { get; }

        public float PassThreshold { get; }
    }
}
