SupportFlowAI runs entirely on your own infrastructure โ .NET 10, a local Ollama service, and a SQLite database are all you need.
.NET 10 SDK as well as Ollama โ runs locally, no cloud connection required. After installation, pull the appropriate models:
CPU mode (default, smaller model, runs without a GPU):
ollama pull phi3.5:3.8b-mini-instruct-q4_0ollama pull all-minilmGPU mode (larger model, better answer quality, requires a compatible GPU on the Ollama host):
ollama pull llama3.1:8b-instruct-q4_K_Mollama pull bge-m3Ollama must already be running when SupportFlowAI starts (default address:
http://localhost:11434).
In the project directory:
dotnet restore SupportFlowAI.slnxdotnet build SupportFlowAI.slnxdotnet run --project src/SupportFlowAI.ApiOn first start, the app automatically creates:
data/supportflowai.db โ SQLite database, created via EF Core migrationdata/dataprotection-keys/ โ key ring for encrypted credentials & auth cookies
Then open the address in your browser (see the console output, typically
https://localhost:56657 or http://localhost:56658 in dev mode).
In src/SupportFlowAI.Api/appsettings.json, VectorIndex:Mode controls
the RAM/speed trade-off of the knowledge search โ a change requires an
application restart:
| Mode | Behavior | Recommendation |
|---|---|---|
| Performance (default) | Entire dataset held in memory, maximum throughput | Sufficient RAM available |
| Balanced | Vectors read from disk per search, with a bounded cache (size via VectorIndex:Balanced:MaxCacheSizeMb, default 128 MB) | Mid-range hardware |
| Lean | Minimal RAM usage, every search reads entirely from disk | Low-spec test hardware |
src/SupportFlowAI.Api/appsettings.json
Database:ConnectionString โ path to the SQLite databaseVectorIndex:Mode โ see above, restart requireddata/model-settings.json (created automatically by the initial setup)
Ollama:ChatModel / Ollama:EmbeddingModel โ takes effect immediately, no restart neededdata/mailsync-settings.json (written via /Admin/MailSync)
MailSync:Enabled โ on/off switch for automatic background synchronizationMailSync:IntervalMinutes โ interval between two automatic runs, takes effect immediatelydata/supportflowai.db
data/dataprotection-keys/), then restart โ the
initial setup will appear again.