Hub
Pricing About
WorkflowWorkflow

2.5 - Retrieval Augmented Generation ChatApp

knime profile image
Versionv1.1Latest, created on 
Feb 9, 2024 11:01 AM
Drag & drop
Like
Download workflow
Workflow preview
You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. Retrieval Augmented Generation (RAG) is a way to expose large language models to up-to-date information. This can provide additional context for an LLM to use this new content to generate informed output. This workflow shows how to create a vector store from Wikipedia articles, query the vector store using the Vector Store Retriever to retrieve similar documents and perform RAG using similar documents as context. To run the workflow with Azure nodes, you need a Microsoft Azure account, an OpenAI API key and access to Microsoft's OpenAI services. More information is available at https://azure.microsoft.com/en-us/products/ai-services/openai-service. For demonstration purposes, in the metanode "Retrieve Data" we are fetching data from some Wikipedia articles. Ideally, you can substitute and inject your data. Execute and open the view of the RAG Chat App component by hovering over the component and clicking the lens icon to chat with the AI.

External resources

  • OpenAI API Keys
  • Microsoft Azure OpenAI Service
  • What is retrieval-augmented generation?
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.1 Note: Not all extensions may be displayed.
  • Go to item
    KNIME AI Extension (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.2

    knime profile image
    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME Math Expression (JEP)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.2

    knime profile image
    knime
  • Go to item
    KNIME Web Interaction (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.2

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits