Repository navigation
Configuration
فایل appsettings.json کنار VPet-Simulator.Windows.exe قرار میگیرد.
{
"Cognition": {
"Enabled": true,
"Llm": {
"Provider": "local",
"Model": "qwen2.5-3b-instruct-q4_k_m",
"ModelsDirectory": "models",
"GpuLayerCount": 0,
"ContextSize": 4096,
"EnableVision": false,
"MaxTokens": 1024,
"Temperature": 0.7,
"Endpoint": "http://localhost:11434",
"ApiKey": ""
},
"Memory": {
"DbPath": "data/cognition.db"
},
"Voice": {
"Enabled": false,
"Stt": {
"Provider": "whisper",
"ExecutablePath": "whisper-cli.exe",
"ModelPath": "models/ggml-base.bin",
"Language": "auto",
"Threads": 4
},
"Tts": {
"Provider": "piper",
"ExecutablePath": "piper.exe",
"ModelPath": "models/en_US-amy-medium.onnx"
}
}
}
}-
true— AI فعال است (پلاگین cognition بارگذاری میشود) -
false— فقط pet بدون AI
-
"local"— LLamaSharp (آفلاین، GGUF model) -
"online"— Ollama یا OpenAI-compatible endpoint
نام مدل GGUF (بدون پسوند .gguf). مثال: qwen2.5-3b-instruct-q4_k_m
-
0— CPU-only (کندتر ولی بدون GPU نیاز) -
20یا بالاتر — GPU acceleration (نیاز به CUDA)
بازهی context (token). بالاتر = حافظهی بیشتر ولی RAM بیشتر. پیشفرض: 4096
خلاقیت پاسخ. 0.0 = دقیق، 1.0 = خلاقانه. پیشفرض: 0.7
-
true— پشتیبانی از vision (LLaVA/SmolVLM). RAM بیشتر نیاز است. -
false— text-only (پیشفرض)
مسیر فایل SQLite برای memory. پیشفرض: data/cognition.db
-
true— STT + TTS فعال -
false— بدون voice (پیشفرض)
{
"Cognition": {
"Enabled": true,
"Llm": {
"Provider": "online",
"Endpoint": "http://localhost:11434",
"Model": "qwen2.5:3b"
}
}
}{
"Cognition": {
"Enabled": true,
"Llm": {
"Provider": "online",
"Endpoint": "https://api.openai.com/v1",
"ApiKey": "sk-...",
"Model": "gpt-4o-mini"
}
}
}هشدار: API key در فایل
appsettings.jsonبهصورت plaintext ذخیره میشود. این فایل را در git commit نکنید.
Full documentation for VPet-Ultra — available in the wiki/ folder of the repository.
To activate the GitHub Wiki tab: Create the first page at https://github.com/Amirwopi/VPet-Ultra/wiki/new — then all pages from the
wiki/folder can be copied there.
Home · Architecture · Build Guide · Configuration · AI Models · Live2D Setup · Mod System · Steam Removal · Troubleshooting · FAQ