Improve AI analysis with prompt engineering
Enhance AI-powered troubleshooting with better context and structured prompts:
Features to implement
- Create specialized prompts for different types of issues (pod crashes, network failures, etc.)
- Add more context including cluster state, resource relationships, and historical data
- Improve parsing of AI responses for structured output
- Add support for alternative LLM providers beyond Ollama
Implementation details
- Enhance lib/ai/ollama.sh module
- Add context collection utilities
- Create specific prompt templates for different issues
- Add structured response parsing