Hub
Pricing About
WorkflowWorkflow

Data App Chat Bot on Custom Knowledge Base

LLMChatbotPrompt engineeringPromptsAI
+6
paolotamag profile image
Versionv1Latest, created on 
Jan 24, 2024 2:38 PM
Drag & drop
Like
Download workflow
Workflow preview
This workflow walks you through the following steps. This same steps are probably best taken in separate workflows but they are gathered here for convenience. Step 0: Read a document corpus, in this case documents from politics and facts of 2008 Step 1: Print a PDF with the content of one of the documents. (The PDF is printed automatically in a folder inside the workflow and automatically found by the data app inst Step 5). Step 2: all the other documents can be used to create a FAISS vector store. This will be used by the AI later to answer questions related to these other facts. To create the vector store OpenAI API keys are necessary. You can create them at platform.openai.com/account/api-keys. Step 3 (you can use a different workflow from here for deploying the data app): We use again the credentials selecting the same embedding model, the LLM by OpenAI (in this example GPT 3.5 Turbo) and we read the vector store. Step 4: Provide how the chatbot settings and description of the knowledge base to give more context to the AI for the task at end. Step 5: The component executes and looks for the PDF generated by the Step 1. If it is not found it will only use the input vector store. The user of the component view (locally) and of the data app (when deployed ) can upload a document and ask specific questions.

External resources

  • AI Extension Example Workflows - KNIME Community Hub Space
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.0
  • Go to item
    KNIME AI Extension (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.1

    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime
  • Go to item
    KNIME JavaScript Views (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 5.1.0, 5.2.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.1

    knime
  • Go to item
    KNIME ReportingTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 5.1.1, 5.2.0

    knime
  • Go to item
    KNIME TextprocessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    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