Skip to content

rootcodelabs/RAG-Module

 
 

Repository files navigation

BYK-RAG (Retrieval-Augmented Generation Module)

The BYK-RAG Module is part of the Burokratt ecosystem, designed to provide retrieval-augmented generation (RAG) capabilities for Estonian government digital services. It ensures reliable, multilingual, and compliant AI-powered responses by integrating with multiple LLM providers, syncing with knowledge bases, and exposing flexible configuration and monitoring features for administrators.


Features

  • Configurable LLM Providers

    • Support for AWS Bedrock, Azure AI, Google Cloud, OpenAI, Anthropic, and self-hosted open-source LLMs.
    • Admins can create "connections" and switch providers/models without downtime.
    • Models searchable via dropdown with cache-enabled indicators.
  • Knowledge Base Integration

    • Continuous sync with central knowledge base (CKB).
    • Last sync timestamp displayed in UI.
    • LLMs restricted to answering only from CKB content.
    • “I don’t know” payload returned when confidence is low.
  • Citations & Transparency

    • All responses are accompanied with clear citations.
  • Analytics & Monitoring

    • External Langfuse dashboard for API usage, inference trends, cost analysis, and performance logs.
    • Agencies can configure cost alerts and view alerts via LLM Alerts UI.
    • Logs integrated with Grafana Loki.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%