blob: f59ffa8d77780a96e3a6265a172c278a3811a0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
namespace ChatADX.Web.Services
{
public sealed class LlmOptions
{
// If using Azure OpenAI, set IsAzure = true and Endpoint = full chat completions URL (with api-version query).
// If using OpenAI, set IsAzure = false and Endpoint = https://api.openai.com/v1/chat/completions
public bool IsAzure { get; set; } = false;
public string Endpoint { get; set; } = string.Empty;
public string ApiKey { get; set; } = string.Empty;
public string Model { get; set; } = "gpt-4o-mini"; // or your Azure deployment name
public double Temperature { get; set; } = 0.2;
public string AnswererAssistantId { get; set; } = string.Empty; // NEW
public string DocsAssistantId { get; set; } = string.Empty; // NEW
}
public sealed class AdxOptions
{
public string ClusterUri { get; set; } = string.Empty;
public string Database { get; set; } = string.Empty;
public string TenantId { get; set; } = string.Empty;
public string ClientId { get; set; } = string.Empty;
public string ClientSecret { get; set; } = string.Empty;
}
}
|