fix promts
This commit is contained in:
25
ChatBot/Models/Configuration/AISettings.cs
Normal file
25
ChatBot/Models/Configuration/AISettings.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace ChatBot.Models.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration settings for AI service
|
||||
/// </summary>
|
||||
public class AISettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Temperature for AI response generation (0.0 to 2.0)
|
||||
/// Lower values make responses more focused and deterministic
|
||||
/// Higher values make responses more random and creative
|
||||
/// </summary>
|
||||
public double Temperature { get; set; } = 0.7;
|
||||
|
||||
/// <summary>
|
||||
/// Path to the system prompt file
|
||||
/// </summary>
|
||||
public string SystemPromptPath { get; set; } = "Prompts/system-prompt.txt";
|
||||
|
||||
/// <summary>
|
||||
/// System prompt content (loaded from file)
|
||||
/// </summary>
|
||||
public string SystemPrompt { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user