Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ArtificialIntelligenceSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.ArtificialIntelligence;

/// 
/// Artificial intelligence settings
/// 
public partial class ArtificialIntelligenceSettings : ISettings
{
    /// 
    /// Gets or sets a value indicating whether we should use AI
    /// 
    public bool Enabled { get; set; }

    /// 
    /// Gets or sets the AI provider type
    /// 
    public ArtificialIntelligenceProviderType ProviderType { get; set; }

    /// 
    /// Gets or sets the Gemini API key
    /// 
    public string GeminiApiKey { get; set; }

    /// 
    /// Gets or sets the ChatGPT API key
    /// 
    public string ChatGptApiKey { get; set; }

    /// 
    /// Gets or sets the DeepSeek API key
    /// 
    public string DeepSeekApiKey { get; set; }

    /// 
    /// Gets or sets a period (in seconds) before the request times out
    /// 
    public int? RequestTimeout { get; set; }

    /// 
    /// Gets or sets a value indicating whether generation of product descriptions with AI is allowed
    /// 
    public bool AllowProductDescriptionGeneration { get; set; }

    /// 
    /// Gets or sets a query format string to generate product description with AI
    /// 
    public string ProductDescriptionQuery { get; set; }

    /// 
    /// Gets or sets a value indicating whether generation of meta keywords with AI is allowed
    /// 
    public bool AllowMetaKeywordsGeneration { get; set; }

    /// 
    /// Gets or sets a query format string to generate meta keywords with AI
    /// 
    public string MetaKeywordsQuery { get; set; }

    /// 
    /// Gets or sets a value indicating whether generation of meta descriptions with AI is allowed
    /// 
    public bool AllowMetaDescriptionGeneration { get; set; }

    /// 
    /// Gets or sets a query format string to generate meta description with AI
    /// 
    public string MetaDescriptionQuery { get; set; }

    /// 
    /// Gets or sets a value indicating whether generation of meta title with AI is allowed
    /// 
    public bool AllowMetaTitleGeneration { get; set; }

    /// 
    /// Gets or sets a query format string to generate meta title with AI
    /// 
    public string MetaTitleQuery { get; set; }
}