|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Namespaces | |
| namespace | anonymous_namespace{AnthropicClient.cpp} |
| namespace | anonymous_namespace{GeminiClient.cpp} |
| namespace | anonymous_namespace{LLMClient.cpp} |
| namespace | anonymous_namespace{OllamaClient.cpp} |
| namespace | anonymous_namespace{OpenAIClient.cpp} |
Classes | |
| class | AIServiceFactory |
| Factory for creating AI service clients based on provider. More... | |
| class | AIServiceWrapper |
| class | AnthropicClient |
| Client for Anthropic API (Claude) More... | |
| struct | Config |
| struct | DirectionPattern |
| Direction pattern detected in logs. More... | |
| class | GeminiClient |
| Client for Google Gemini API. More... | |
| struct | GemmaActorResult |
| Result from Gemma inference for actor extraction. More... | |
| struct | GemmaDirectionResult |
| Result from direction discovery. More... | |
| class | GemmaInferenceEngine |
| class | IAIService |
| Interface for AI service communication. More... | |
| class | LLMClient |
| Generic client for communicating with LLM services. More... | |
| class | LogAnalyzer |
| Analyzes logs using AI to provide insights. More... | |
| struct | ModelInfo |
| Information about an installed model. More... | |
| class | OllamaClient |
| Client for communicating with local Ollama LLM server. More... | |
| class | OpenAIClient |
| Client for OpenAI-compatible APIs (OpenAI, xAI Grok, etc.) More... | |
Enumerations | |
| enum class | LLMProvider { Ollama , LMStudio , OpenAI , Custom } |
| Type of LLM service provider. More... | |
Functions | |
| Config & | GetConfig () |
| if (contentEnd >=response.length()) | |
| while ((pos=result.find("\\n", pos)) !=std::string::npos) | |
| while ((pos=result.find("\\\"", pos)) !=std::string::npos) | |
| if (callback) callback(result) | |
| PLUGIN_LOG (PLUGIN_LOG_DEBUG, "Received response from Ollama (length: {})", result.length()) | |
Variables | |
| constexpr const char * | GEMMA_MODEL_NAME = "gemma-2b.gguf" |
| constexpr const char * | GEMMA_MODELS_DIR = "models" |
| std::string | result = response.substr(contentStart, contentEnd - contentStart) |
| size_t | pos = 0 |
|
strong |
|
inline |

| ai::if | ( | callback | ) |
| ai::if | ( | contentEnd >=response. | length() | ) |
| ai::PLUGIN_LOG | ( | PLUGIN_LOG_DEBUG | , |
| "Received response from Ollama (length: {})" | , | ||
| result. | length() | ||
| ) |
|
constexpr |
|
constexpr |
| ai::pos = 0 |
| return ai::result = response.substr(contentStart, contentEnd - contentStart) |