An open API service indexing awesome lists of open source software.

https://github.com/podmortem/ai-interface

Backend service to interface with AI APis in the podmortem operator.
https://github.com/podmortem/ai-interface

ai devops failure-analysis incident-response kubernetes log-analysis mlops observability ollama openai operator pattern-matching pattern-recognition quarkus troubleshooting vllm

Last synced: 3 months ago
JSON representation

Backend service to interface with AI APis in the podmortem operator.

Awesome Lists containing this project

README

          

# ai-interface
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=podmortem_ai-interface&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=podmortem_ai-interface)

> A Quarkus-based REST API service providing AI pod failure analysis for the Podmortem operator.

## Overview

This service acts as the primary interface for AI analysis operations, orchestrating interactions between the log parser results and various AI providers. It provides fault-tolerant endpoints for generating human-readable explanations of Kubernetes pod failures.

## REST Endpoints

- `POST /api/v1/analysis/analyze` - Analyze pod failures using AI providers
- `POST /api/v1/analysis/validate` - Validate AI provider configurations
- `GET /api/v1/analysis/providers` - List available AI providers
- `POST /api/v1/analysis/prompts/reload` - Reload prompt templates
- `GET /api/v1/analysis/prompts/status` - Get prompt template status

## Dependencies

- `common-lib` - Shared models and interfaces
- `ai-provider-lib` - AI provider implementations

## Building

```bash
./mvnw package
```

For native compilation:
```bash
./mvnw package -Dnative
```