chore: import upstream snapshot with attribution
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ChatWithAgent.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Contains settings to control the RAG experience.
|
||||
/// </summary>
|
||||
public sealed class RagConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration section name.
|
||||
/// </summary>
|
||||
public const string ConfigSectionName = "RagConfig";
|
||||
|
||||
/// <summary>
|
||||
/// The AI embeddings service to use.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string AIEmbeddingService { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Type of the vector store.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string VectorStoreType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The name of the collection.
|
||||
/// </summary>
|
||||
public string? CollectionName { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user