19 lines
552 B
C#
19 lines
552 B
C#
namespace NexusReader.Infrastructure.Configuration;
|
|
|
|
public class AiSettings
|
|
{
|
|
public const string SectionName = "Ai:Google";
|
|
|
|
public string ApiKey { get; set; } = string.Empty;
|
|
public string Model { get; set; } = "gemini-1.5-flash";
|
|
|
|
/// <summary>
|
|
/// Maximum number of tokens allowed for input.
|
|
/// </summary>
|
|
public int MaxInputTokens { get; set; } = 15000;
|
|
|
|
public int MaxOutputTokens { get; set; } = 1000;
|
|
public int RetryAttempts { get; set; } = 3;
|
|
public double Temperature { get; set; } = 0.1;
|
|
}
|