Class Config

Config class

Represents all the settings for Cells AI

public class Config

Constructors

NameDescription
Config()The default constructor.

Properties

NameDescription
static Model { get; set; }The AI Model to use

Fields

NameDescription
static ContentChunkSizeThe content chunk size in the message list for the AI per request
static InitialFailRetryDelayThe initial delay time (ms) for start a new request after a fail call
static LocaleThe preferred language for the user locale “ar”, for: “Arabic (العربية)” “bg”, for: “Bulgarian (Български)” “ca”, for: “Catalan (Català)” “cs”, for: “Czech (Čeština)” “da”, for: “Danish (Dansk)” “de”, for: “German (Deutsch)” “el”, for: “Greek (Ελληνικά)” “en”, for: “English (English)” “es”, for: “Spanish (Español)” “fa”, for: “Persian (فارسی)” “fr”, for: “French (Français)” “he”, for: “Hebrew (עִبرִית)” “hi”, for: “Hindi (हिन्दी)” “hr”, for: “Croatian (Hrvatski)” “hu”, for: “Hungarian (Magyar)” “id”, for: “Indonesian (Indonesia)” “it”, for: “Italian (Italiano)” “ja”, for: “Japanese (日本語)” “ka”, for: “Georgian (ქართული)” “ko”, for: “Korean (한국어)” “lt”, for: “Lithuanian (Lietuvis)” “ms”, for: “Malay (Bahasa Melayu)” “nl”, for: “Dutch (Nederlands)” “pl”, for: “Polish (Polskie)” “pt”, for: “Portuguese (Português)” “ro”, for: “Romanian (Română)” “ru”, for: “Russian (Русский)” “sk”, for: “Slovak (Slovák)” “th”, for: “Thai (ภาษาไทย)” “tr”, for: “Turkish (Türk)” “uk”, for: “Ukrainian (Український)” “vi”, for: “Vietnamese (Tiếng Việt)” “zh”, for: “Simplified Chinese (简体中文)” “zh-hant”, for: “Traditional Chinese (繁體中文)”
static LogDirectoryThe log file directory
static LogLevelwhether to add log
static MaxRetryTimesThe maximum retry times for getting a response from AI ,if fail will start a new request.
static MaxTokensThe max token number for the AI per request
static TemperatureThe default AI Temperature to use, When Temperature approaches 0, the model’s choices become very deterministic, almost always selecting the output with the highest probability. When Temperature approaches 1 or higher, the model’s outputs become more random and diversified.
static TimeOutSecondsThe time out seconds for the AI to respond

See Also