// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    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;
        }
    }
}
