using global::Nop.Core.Configuration;
namespace Nop.Plugin.Misc.FruitBankPlugin
{
public class FruitBankSettings : ISettings
{
///
/// Gets or sets the AI API key
///
public string ApiKey { get; set; } = string.Empty;
///
/// Gets or sets the AI API model name
///
public string ModelName { get; set; } = "gpt-3.5-turbo";
///
/// Gets or sets the AI API key
///
public string OpenAIApiKey { get; set; } = string.Empty;
///
/// Gets or sets the AI API model name
///
public string OpenAIModelName { get; set; } = "gpt-3.5-turbo";
///
/// Gets or sets a value indicating whether the AI plugin is enabled
///
public bool IsEnabled { get; set; } = false;
///
/// Gets or sets the API base URL (useful for different AI providers)
///
public string ApiBaseUrl { get; set; } = "https://api.openai.com/v1";
///
/// Gets or sets the API base URL (useful for different AI providers)
///
public string OpenAIApiBaseUrl { get; set; } = "https://api.openai.com/v1";
///
/// Gets or sets the maximum number of tokens for AI responses
///
public int MaxTokens { get; set; } = 1000;
///
/// Gets or sets the temperature for AI responses (0.0 to 1.0)
///
public decimal Temperature { get; set; } = 0.7m;
///
/// Gets or sets the timeout for API requests in seconds
///
public int RequestTimeoutSeconds { get; set; } = 30;
}
}