// <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, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric, float passThreshold) : base(InternalGraderType.TextSimilarity)
        {
            Name = name;
            Input = input;
            Reference = reference;
            EvaluationMetric = evaluationMetric;
            PassThreshold = passThreshold;
        }

        internal InternalEvalGraderTextSimilarityResource(InternalGraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric 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; }

        internal InternalEvalGraderTextSimilarityResourceEvaluationMetric EvaluationMetric { get; }

        public float PassThreshold { get; }
    }
}
