// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Assistants
{
    [Experimental("OPENAI001")]
    public partial class FileSearchRankingOptions
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public FileSearchRankingOptions(float scoreThreshold)
        {
            ScoreThreshold = scoreThreshold;
        }

        internal FileSearchRankingOptions(FileSearchRanker? ranker, float scoreThreshold, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Ranker = ranker;
            ScoreThreshold = scoreThreshold;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public FileSearchRanker? Ranker { get; set; }

        public float ScoreThreshold { get; set; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
