LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ai::Config Struct Reference

#include <Config.hpp>

Collaboration diagram for ai::Config:
Collaboration graph

Public Member Functions

void ApplyJson (const nlohmann::json &j)
 
nlohmann::json ToJson () const
 

Public Attributes

std::string aiProvider = "ollama"
 
std::string ollamaBaseUrl = "http://localhost:11434"
 
std::string openaiApiKey
 
std::string anthropicApiKey
 
std::string googleApiKey
 
std::string xaiApiKey
 
std::string ollamaDefaultModel
 
int aiTimeoutSeconds = 30
 

Member Function Documentation

◆ ApplyJson()

void ai::Config::ApplyJson ( const nlohmann::json &  j)
inline
Here is the caller graph for this function:

◆ ToJson()

nlohmann::json ai::Config::ToJson ( ) const
inline

Member Data Documentation

◆ aiProvider

std::string ai::Config::aiProvider = "ollama"

◆ aiTimeoutSeconds

int ai::Config::aiTimeoutSeconds = 30

◆ anthropicApiKey

std::string ai::Config::anthropicApiKey

◆ googleApiKey

std::string ai::Config::googleApiKey

◆ ollamaBaseUrl

std::string ai::Config::ollamaBaseUrl = "http://localhost:11434"

◆ ollamaDefaultModel

std::string ai::Config::ollamaDefaultModel

◆ openaiApiKey

std::string ai::Config::openaiApiKey

◆ xaiApiKey

std::string ai::Config::xaiApiKey

The documentation for this struct was generated from the following file: