Skip to content

podmortem/ai-provider-lib

Repository files navigation

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

./mvnw package

For native compilation:

./mvnw package -Dnative

About

A library of AI providers to use in podmortem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •  

Languages