Heisenware Docs
Go to websiteGet a demo
  • 👋Welcome
  • Getting started
  • Release Notes
    • v84 - Get in the flow
    • v83 - Beauty treatment
    • v82 — Fully distributed
    • v81 — Removing old cruft
    • v80 — Chicks on fire
    • v79 — Nothing is forever
    • v78 — Keep moving
    • v77 — More intelligence
    • v76 — Well cooked
  • Build & Deploy Apps
    • Overview
    • Flow Builder
      • Nodes (Functions)
        • Inputs
        • Trigger
        • Output
      • Flows
      • Function Extensions
        • Modifier
        • Filter
        • Error handler
        • Memorizer
      • Objects & Instances
      • Utilities
        • Basic Functions
        • PDF functions
        • Circular buffer
        • Timer
        • Counter
    • Integrations
      • Protocol Connectors
        • GraphQL
        • HTTP/REST
        • MQTT
        • OPC UA
          • Heidenhain PLCs with OPC UA
        • RS-232/485
        • Siemens S7
      • Data Connectors
        • File
        • Relational Database
        • Time Series Database (WIP)
      • API Connectors
        • OGC SensorThings API
        • Operating System
        • Zebra RFID IoT Connector
      • Agent / (Edge Connector)
      • Calling Custom Code
    • UI Builder
      • Input Widgets
        • Form
        • File Upload
        • Photo
        • Signature
        • Barcode / QR-Code (WIP)
        • Document Scan (WIP)
      • Display Widgets
        • Chart
        • Chat
        • Circular Gauge
        • Data Grid
        • Linear Gauge
        • Map
        • Media View
        • Progress Bar
        • Sparkline
        • Status Lamp
        • Toast
        • Value Box
        • Kanban Board
        • Data Tiles
        • Pie Chart
        • Sankey
      • Buttons
      • Text Box
      • Images
      • Icons
    • Communication Interfaces
      • Email Notifications
      • OPC UA Server
    • Data & File Storage
      • Internal InfluxDB
      • Internal PostgreSQL
      • File Server
    • App Appearance
      • Pages
      • In-App Navigation
      • Screens & Devices
      • Theming
    • Simulation & Testing
      • Simulating Events
      • Simulating Data
    • PDF Templates
    • RAG-based Chatbot
    • Deployment
  • Manage Apps
    • Overview
    • Manage Apps
      • General Settings
      • Users and Access
      • Distribution & Versioning
    • Manage Integrations
    • Manage Account
      • Account Structure
      • Members
      • Workspaces
  • TUTORIALS
    • Build Your First Heisenware App
  • Connect Heidenhain CNC with OPC UA Support
  • Related links
    • Website
    • Privacy policy
    • Imprint
Powered by GitBook
On this page
  • What is RAG?
  • Key Components
  • Getting started
  1. Build & Deploy Apps

RAG-based Chatbot

Last updated 8 months ago

With Heisenware, you can create apps that allow app users to interact with previously provided knowledge — e.g., PDF documents or specific websites — via chat. For this purpose, RAG is used.

What is RAG?

RAG stands for Retrieval Augmented Generation. It is an architectural approach that enhances large language models (LLMs) by incorporating relevant external data into their responses.

Key Components

  1. Retrieval: RAG retrieves pertinent information from external data sources based on the user's query.

  2. Augmentation: The retrieved data is used to augment or supplement the LLM's knowledge.

  3. Generation: The LLM then generates a response using both its pre-trained knowledge and the retrieved information.

RAG effectively bridges the gap between an LLM's broad knowledge and the need for precise, contextual, and current information, making it valuable for applications like question-answering systems and chatbots.

Getting started

To build a RAG-based chatbot as part of an app, there are two things required:

  1. Knowledge base: The documents and other knowledge your chatbot should be able to make statements about and give answers to.

  2. Chat instance: The connection to an LLM (by OpenAI) that you like to use to generate response.

This is currently a beta feature.

Please to make it work. We'll support you with this.

get in touch