23 lines
499 B
C#
23 lines
499 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace VectorStoreRAG.Options;
|
|
|
|
/// <summary>
|
|
/// Qdrant service settings.
|
|
/// </summary>
|
|
internal sealed class QdrantConfig
|
|
{
|
|
public const string ConfigSectionName = "Qdrant";
|
|
|
|
[Required]
|
|
public string Host { get; set; } = string.Empty;
|
|
|
|
public int Port { get; set; } = 6334;
|
|
|
|
public bool Https { get; set; } = false;
|
|
|
|
public string ApiKey { get; set; } = string.Empty;
|
|
}
|