https://github.com/podmortem/ai-provider-lib
A library of AI providers to use in podmortem
https://github.com/podmortem/ai-provider-lib
Last synced: 3 months ago
JSON representation
A library of AI providers to use in podmortem
- Host: GitHub
- URL: https://github.com/podmortem/ai-provider-lib
- Owner: podmortem
- License: apache-2.0
- Created: 2025-06-25T05:33:10.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T16:19:29.000Z (11 months ago)
- Last Synced: 2025-08-08T17:42:36.887Z (11 months ago)
- Language: Java
- Size: 90.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ai-provider-lib
A Quarkus-based library providing AI integrations for generating explanations of Kubernetes pod failure analysis results.
## Overview
This library abstracts different AI providers behind a common interface, allowing the Podmortem system to generate human-readable explanations for pod failures using various AI services.
## Supported Providers
- **OpenAI** - OpenAI's completion API framework, useable with many providers (vLLM, Gemini, ect.)
- **Ollama** - Local AI models
## Configuration
External prompts can be configured via:
- `podmortem.prompts.external.enabled` - Enable external prompt loading
- `podmortem.prompts.external.path` - Path to external prompt files (default: `/etc/podmortem/prompts`)
## Building
```bash
./mvnw package
```
For native compilation:
```bash
./mvnw package -Dnative
```