Sunbird AI Assistant
  • Overview
  • Functional Overview
    • The Problem
    • The Solution
    • Use Cases
      • e-Jaadui Pitara
    • Capabilities
  • Technical Overview
    • Architecture
    • Technology Stack
  • Get Started with AI Assistant
    • Key Steps to role out an AI Assistant Solution
    • Pre-requisites
    • Installation
    • Data Ingestion Process
    • Configuration
    • APIs
    • Bot Creation 101
  • Components
    • Sakhi API Service
      • Environment Variables
      • Pluggability of LLM Chat Model
      • Pluggability of Cloud Storage
      • Pluggability of Transaltion service
      • Pluggability of Vector Store
  • Release Notes
    • Release Convention
    • 3.0.0 (Latest)
    • 2.0.0
    • 1.0.0
  • Roadmap
  • Contribution Guide
  • FAQs
  • Knowledge Base
    • Best Practices
    • Indexing CSV Data
  • Contact us
Powered by GitBook
On this page
  1. Technical Overview

Architecture

PreviousTechnical OverviewNextTechnology Stack

Last updated 1 year ago

Below is a high-level diagram of the various components powering the AI Assistant.

Components

sakhi-api-service

This is the backend service that takes a question and generates a relevant answer using the RAG mechanism. The answers are based on the information in a set of ingested documents. The service has to be configured with the specific marqo indexes to retrieve the sections of relevant documents and the GenAI prompts to generate a response in the required form.

Code:

Ingest-Documents Script

Document ingestion into the Marqo vector database is done through the below standalone python script.

Details on how to run is available under “To ingest data to marqo” section in the below readme file:

sakhi-telegram-unified-service

This is a webhook service that registers with Telegram Service to oer the bot flow in the Telegram client. This doesn’t have any APIs exposed to the consumers. The calls to this service are delegated through the Telegram Service.

Code:

whatsapp-bot

This is a webhook service that registers with WhatsApp Gupshup Service to oer the bot flow in the WhatsApp client. This doesn’t have any APIs exposed to the consumers. The calls to this service are delegated through the WhatsApp Gupshup Service.

Code:

GitHub - Sunbird-AIAssistant/sakhi-api-serviceGitHub
sakhi-api-service/index_documents.py at main · Sunbird-AIAssistant/sakhi-api-serviceGitHub
sakhi-api-service/README.md at main · Sunbird-AIAssistant/sakhi-api-serviceGitHub
https://github.com/Sunbird-AIAssistant/sakhi-telegram-unified-servicewhatsapp-botgithub.com
Logo
GitHub - Sunbird-AIAssistant/whatsapp-botGitHub
Logo
Logo
Logo